text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using System.Runtime.Serialization... | cdmihai/msbuild | src/Deprecated/Engine.UnitTests/Compatibility/InvalidToolsetDefinitionException_Tests.cs | https://github.com/cdmihai/msbuild/blob/HEAD/src/Deprecated/Engine.UnitTests/Compatibility/InvalidToolsetDefinitionException_Tests.cs | ghcode:00169:6402c9c1c3f0 | mit | codeparrot/github-code | 6402c9c1c3f006a06f35983e3f0fced60e0b49298b91889b539fa9929edf3fde | 0.85 | testing_debugging_repair_refactoring | 1,354 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
namespace Azure.Data.AppCon... | ayeletshpigelman/azure-sdk-for-net | sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient_private.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient_private.cs | ghcode:00169:73a0dbb7b141 | mit | codeparrot/github-code | 73a0dbb7b141972fc3b288994c8e36702f30475253f0206096f0f710266ef543 | 0.95 | testing_debugging_repair_refactoring | 1,127 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.IO;
using Internal.Cryptography;
using Microsoft.Win32.SafeHandles;
namespa... | BrennanConroy/corefx | src/Common/src/System/Security/Cryptography/DSAOpenSsl.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/Common/src/System/Security/Cryptography/DSAOpenSsl.cs | ghcode:00169:b6bc2e4873ec | mit | codeparrot/github-code | b6bc2e4873ecaf6def1b0358cd0976c19e90bcd13da02271356b6b88e4cddc02 | 0.95 | testing_debugging_repair_refactoring | 2,412 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="XElementAnnotationTest.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataEdmLib/FunctionalTests/XElementAnnotationTest.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataEdmLib/FunctionalTests/XElementAnnotationTest.cs | ghcode:00169:9df57e35d66c | mit | codeparrot/github-code | 9df57e35d66cce6c4dcfa11fe52ed09a25a3577ffa0220dfd48cf85009fe4e83 | 0.95 | testing_debugging_repair_refactoring | 7,694 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Threading;
usin... | leppie/roslyn | src/Compilers/Core/Portable/DiagnosticAnalyzer/CompilationWithAnalyzers.cs | https://github.com/leppie/roslyn/blob/HEAD/src/Compilers/Core/Portable/DiagnosticAnalyzer/CompilationWithAnalyzers.cs | ghcode:00169:e05ae943e887 | apache-2.0 | codeparrot/github-code | e05ae943e887b637f8183e0e21aa12cad21026983f4dece15b23a0e97c78f2f9 | 0.85 | testing_debugging_repair_refactoring | 9,817 | false | 2026-07-17 |
using NSubstitute.Core;
using NSubstitute.Core.Arguments;
using NSubstitute.Specs.Infrastructure;
using NUnit.Framework;
namespace NSubstitute.Specs.Arguments
{
public class ArgumentSpecificationFactorySpecs
{
public abstract class BaseConcern : ConcernFor<ArgumentSpecificationFactory>
{
... | huoxudong125/NSubstitute | Source/NSubstitute.Specs/Arguments/ArgumentSpecificationFactorySpecs.cs | https://github.com/huoxudong125/NSubstitute/blob/HEAD/Source/NSubstitute.Specs/Arguments/ArgumentSpecificationFactorySpecs.cs | ghcode:00169:f6944ef439e9 | bsd-3-clause | codeparrot/github-code | f6944ef439e9e7bcf14d6fda93e5433ad06807f89a2bbbc49e9d5e69fcb43cf5 | 0.6 | testing_debugging_repair_refactoring | 523 | false | 2026-07-17 |
using System;
using BenchmarkDotNet.Attributes;
using Umbraco.Core;
using Umbraco.Tests.Benchmarks.Config;
namespace Umbraco.Tests.Benchmarks
{
[QuickRunWithMemoryDiagnoserConfig]
public class CombineGuidBenchmarks
{
private static readonly Guid _a = Guid.NewGuid();
private static readonly... | lars-erik/Umbraco-CMS | src/Umbraco.Tests.Benchmarks/CombineGuidBenchmarks.cs | https://github.com/lars-erik/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests.Benchmarks/CombineGuidBenchmarks.cs | ghcode:00169:fe8b9cc98a26 | mit | codeparrot/github-code | fe8b9cc98a26710411baf6e0fea2b9283f95f5c17cb2bfaeb330257dee87e549 | 0.85 | testing_debugging_repair_refactoring | 628 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.IO.Tests
{
public class Directory_Create_Tests... | iamjasonp/corefx | src/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Create.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Create.cs | ghcode:00169:71d50c756735 | mit | codeparrot/github-code | 71d50c7567359d8c176559bdb5a5e9779716fab589ccf00be89bab50a1c780bc | 0.95 | testing_debugging_repair_refactoring | 794 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Compute;
using Microsoft.Azure.Management.Compute.Models;
using Microsoft.Azure.Management.ResourceManager;
using Microsoft.Azur... | SiddharthChatrolaMs/azure-sdk-for-net | src/SDKs/Compute/Compute.Tests/ContainerServiceTests/ContainerServiceTestsBase.cs | https://github.com/SiddharthChatrolaMs/azure-sdk-for-net/blob/HEAD/src/SDKs/Compute/Compute.Tests/ContainerServiceTests/ContainerServiceTestsBase.cs | ghcode:00169:5ac4ebf78977 | apache-2.0 | codeparrot/github-code | 5ac4ebf78977e9ecd8b9cd0183a328ec380c765006d2ea55aebc2de95007e685 | 0.85 | testing_debugging_repair_refactoring | 1,812 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | zhencui/azure-powershell | src/ResourceManager/Resources/Commands.Resources.Test/Providers/GetAzureProviderCmdletTests.cs | https://github.com/zhencui/azure-powershell/blob/HEAD/src/ResourceManager/Resources/Commands.Resources.Test/Providers/GetAzureProviderCmdletTests.cs | ghcode:00169:eeb28eb58859 | apache-2.0 | codeparrot/github-code | eeb28eb5885905ef9b332136e9faed9b55884773c3236973b04ab64aa3c00470 | 0.85 | testing_debugging_repair_refactoring | 2,424 | false | 2026-07-17 |
using Xunit;
namespace Jint.Tests.Ecma
{
public class Test_8_12_8 : EcmaTest
{
[Fact]
[Trait("Category", "8.12.8")]
public void ThisShouldGenerateATypeerrorCauseWeOverloadTostringMethodSoItReturnNonPrimitiveValueSeeEcmaReferenceAtHttpBugzillaMozillaOrgShowBugCgiId167325()
{
R... | mgentile/jint | Jint.Tests.Ecma/Ecma/8.12.8.cs | https://github.com/mgentile/jint/blob/HEAD/Jint.Tests.Ecma/Ecma/8.12.8.cs | ghcode:00169:869c697ab68d | bsd-2-clause | codeparrot/github-code | 869c697ab68df5b7475ffc23892071cc4d47bbc3305ae729f65126c7bfaeff72 | 0.68 | testing_debugging_repair_refactoring | 412 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Globalization;
using Microsoft.Xunit.Performance;
using Xunit;
name... | ptoonen/corefx | src/System.Runtime/tests/Performance/Perf.Double.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Runtime/tests/Performance/Perf.Double.cs | ghcode:00169:d5623f693b4f | mit | codeparrot/github-code | d5623f693b4f9dfa83bef2f6875d5f19f6b8f15ffba8e62978ce646c078275f3 | 0.95 | testing_debugging_repair_refactoring | 3,008 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Xml.XPath;
using StackNav = MS.Internal.Xml.XPath.ClonableStack<System.Xml.XP... | ViktorHofer/corefx | src/System.Private.Xml/src/System/Xml/XPath/Internal/PrecedingQuery.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/XPath/Internal/PrecedingQuery.cs | ghcode:00169:571f40161a7a | mit | codeparrot/github-code | 571f40161a7a8ed97f69e033c063128cd9cb58e4ed42c0a831a2cdd998a10775 | 0.95 | testing_debugging_repair_refactoring | 786 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
// A class that ... | krk/coreclr | src/System.Private.CoreLib/shared/System/Threading/ThreadLocal.cs | https://github.com/krk/coreclr/blob/HEAD/src/System.Private.CoreLib/shared/System/Threading/ThreadLocal.cs | ghcode:00169:0e725cc012e8 | mit | codeparrot/github-code | 0e725cc012e843fa611a4deb9e4657f1db9e3c8a59df222de338085fd3765082 | 0.85 | testing_debugging_repair_refactoring | 6,687 | false | 2026-07-17 |
using System;
using System.Reflection;
using System.Threading.Tasks;
using VerifyXunit;
using Xunit;
[UsesVerify]
public class RewritingConstructors
{
[Fact]
public Task RequiresNonNullArgument()
{
var type = AssemblyWeaver.Assembly.GetType("SimpleClass");
var exception = Assert.Throws<Tar... | Fody/NullGuard | Tests/RewritingConstructors.cs | https://github.com/Fody/NullGuard/blob/HEAD/Tests/RewritingConstructors.cs | ghcode:00169:935b1737669e | mit | codeparrot/github-code | 935b1737669e7ea9822e5005bb1a6475b8da62a0571240197dd937d2fe7c7fe5 | 0.6 | testing_debugging_repair_refactoring | 240 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace AutoFilter.UnitTests
{
[TestFixture()]
public class StringContainsIgnoreCaseAutoFilterStrategyTest
{
[Test()]
public void CanFilter_DiffPropertyName_False()
{
var target = new StringContainsIgnoreCaseAutoFilterStrategy("Nam... | giacomelli/AutoFilter | src/AutoFilter.UnitTests/StringContainsIgnoreCaseAutoFilterStrategyTest.cs | https://github.com/giacomelli/AutoFilter/blob/HEAD/src/AutoFilter.UnitTests/StringContainsIgnoreCaseAutoFilterStrategyTest.cs | ghcode:00169:b61664768550 | mit | codeparrot/github-code | b61664768550c7a0bc147f48521d7a0ab3844e2266655c69de8dccd93e3b71f2 | 0.6 | testing_debugging_repair_refactoring | 211 | false | 2026-07-17 |
#region License
// The MIT License
//
// Copyright (c) 2011 Julien Blin, julien.blin@gmail.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without ... | julienblin/Colombo | src/Colombo.Tests/Interceptors/RequiredInContextHandleInterceptorTest.cs | https://github.com/julienblin/Colombo/blob/HEAD/src/Colombo.Tests/Interceptors/RequiredInContextHandleInterceptorTest.cs | ghcode:00169:726d5580a820 | mit | codeparrot/github-code | 726d5580a820f8702371edf3a5da388a4d8d26db2f07560115871803d90c60fc | 0.85 | testing_debugging_repair_refactoring | 972 | false | 2026-07-17 |
namespace Matrix_Tests
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class WalkInMatrixTests
{
[TestMethod]
public void TestWalkInMatrixWithSizeThree()
{
int matrixSize = 3;
var matrix = Matrix.WalkInMatrix.Fi... | clangelov/TelerikAcademyHomework | 08_High-QualityCode/Refactoring-Homework/Matrix-Tests/WalkInMatrixTests.cs | https://github.com/clangelov/TelerikAcademyHomework/blob/HEAD/08_High-QualityCode/Refactoring-Homework/Matrix-Tests/WalkInMatrixTests.cs | ghcode:00169:43de2f9ed981 | mit | codeparrot/github-code | 43de2f9ed98198f5db631340de1621f9be56c04dca41160aa6937d9eb226319b | 0.75 | testing_debugging_repair_refactoring | 472 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using FireworksNet.Model;
namespace FireworksNet.Problems
{
/// <summary>
/// Describes a problem that is to be solved.
/// </summary>
public class Problem
{
private readonly Func<IDictionary<Dimension, double>, doub... | tsimafei-markhel/Fireworks.NET | src/FireworksNet/Problems/Problem.cs | https://github.com/tsimafei-markhel/Fireworks.NET/blob/HEAD/src/FireworksNet/Problems/Problem.cs | ghcode:00169:ebfa4134f53b | mit | codeparrot/github-code | ebfa4134f53b6b0eb826f6e6164d6757d62436c51d82f47b53393c2597de6346 | 0.85 | testing_debugging_repair_refactoring | 1,615 | false | 2026-07-17 |
using System;
namespace AutoMapper.UnitTests.Projection
{
using QueryableExtensions;
using Shouldly;
using System.Linq;
using Xunit;
public class ProjectEnumTest
{
private MapperConfiguration _config;
public ProjectEnumTest()
{
_config = new MapperConfigur... | AutoMapper/AutoMapper | src/UnitTests/Projection/ProjectEnumTest.cs | https://github.com/AutoMapper/AutoMapper/blob/HEAD/src/UnitTests/Projection/ProjectEnumTest.cs | ghcode:00169:25444fad8686 | mit | codeparrot/github-code | 25444fad868601bff0183df5ba19cb73d0d4227a1a4260fc01ce904fc55bfa85 | 0.75 | testing_debugging_repair_refactoring | 370 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System.Threading.Tasks.Dataflow;
using System.Threading.Tasks;
namespace FluentDataflow.Tests.UnitTests
{
[TestClass]
public class DataflowWrapperTests
{
[TestMethod]
public async Task TestDataflowWrapper()
... | teddymacn/FluentDataflow | FluentDataflow.Tests.UnitTests/DataflowWrapperTests.cs | https://github.com/teddymacn/FluentDataflow/blob/HEAD/FluentDataflow.Tests.UnitTests/DataflowWrapperTests.cs | ghcode:00169:3f322cd77e5c | mit | codeparrot/github-code | 3f322cd77e5cca7c4297d5685ed31d00e11f71271ad75fc799e3aca71356acce | 0.85 | testing_debugging_repair_refactoring | 476 | false | 2026-07-17 |
/*
Copyright (c) 2012 <a href="http://www.gutgames.com">James Craig</a>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, ... | khellang/Craig-s-Utility-Library | UnitTests/SQL/SQLHelper.cs | https://github.com/khellang/Craig-s-Utility-Library/blob/HEAD/UnitTests/SQL/SQLHelper.cs | ghcode:00169:5bbc6a0a9e84 | mit | codeparrot/github-code | 5bbc6a0a9e842a30cec169996f839a2be5a56a0d4967cf4eb1495b373de21731 | 0.75 | testing_debugging_repair_refactoring | 7,819 | false | 2026-07-17 |
using Nimbus.MessageContracts;
namespace Nimbus.Tests.Integration.Tests.SimpleCommandSendingTests.MessageContracts
{
public class SomeOtherCommand : IBusCommand
{
}
} | NimbusAPI/Nimbus | src/Nimbus.Tests.Integration/Tests/SimpleCommandSendingTests/MessageContracts/SomeOtherCommand.cs | https://github.com/NimbusAPI/Nimbus/blob/HEAD/src/Nimbus.Tests.Integration/Tests/SimpleCommandSendingTests/MessageContracts/SomeOtherCommand.cs | ghcode:00169:bdb84d44d63f | mit | codeparrot/github-code | bdb84d44d63fed0a31dca3ff63031a35614cb0128a5c10e86296cf29c33dc30f | 0.6 | testing_debugging_repair_refactoring | 35 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Contentful.Core.Models;
using FluentAssertions;
using StockportContentApi.ContentfulModels;
using Xunit;
namespace StockportContentApiTests.Unit.Model
{
public class ContentfulNewsTest
{
[Fact]
public void ShouldSetDefaultsOnModel()
... | smbc-digital/iag-contentapi | test/StockportContentApiTests/Unit/Model/ContentfulNewsTest.cs | https://github.com/smbc-digital/iag-contentapi/blob/HEAD/test/StockportContentApiTests/Unit/Model/ContentfulNewsTest.cs | ghcode:00169:466c1239163e | mit | codeparrot/github-code | 466c1239163e37b368e01e12770cfb2be19e5b4f995dd5c14184a72fc2134a0d | 0.75 | testing_debugging_repair_refactoring | 208 | false | 2026-07-17 |
using System.Linq;
using System.Xml.Linq;
using NUnit.Framework;
using Is = SIL.TestUtilities.NUnitExtensions.Is;
using SIL.Keyboarding;
using SIL.WritingSystems;
namespace SIL.Lexicon.Tests
{
[TestFixture]
public class UserLexiconSettingsWritingSystemDataMapperTests
{
[Test]
public void Read_ValidXml_SetsAllPr... | gmartin7/libpalaso | SIL.Lexicon.Tests/UserLexiconSettingsWritingSystemDataMapperTests.cs | https://github.com/gmartin7/libpalaso/blob/HEAD/SIL.Lexicon.Tests/UserLexiconSettingsWritingSystemDataMapperTests.cs | ghcode:00169:59c7867315f3 | mit | codeparrot/github-code | 59c7867315f33f3529f7d1f511f4f0ee7ceddfdd118013f70a48a9ad56f4193a | 0.75 | testing_debugging_repair_refactoring | 1,736 | false | 2026-07-17 |
using BenchmarkDotNet.Analysers;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Reports;
using Perfolizer.Horology;
namespace LazyCache.Benchmarks
{
public class BenchmarkConfig: Manua... | alastairtree/LazyCache | LazyCache.Benchmarks/BenchmarkConfig.cs | https://github.com/alastairtree/LazyCache/blob/HEAD/LazyCache.Benchmarks/BenchmarkConfig.cs | ghcode:00169:d1bc81bd9ae2 | mit | codeparrot/github-code | d1bc81bd9ae246627d3142dd7bfaecf16bbf6876418e21aa3bf741966666bde3 | 0.75 | testing_debugging_repair_refactoring | 155 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using PackageManager.Commands;
using PackageManager.Core.Contracts;
using PackageManager.Enums;
using PackageManager.Models.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PackageManager.Tests.Co... | iliyaST/TelerikAcademy | High-Quality-Code-Unit-Testing/3-Exams/FinalExam/Skeleton/AcademyPackageManager/PackageManager.Tests/Commands/InstallCommandTests/PropertiesTests.cs | https://github.com/iliyaST/TelerikAcademy/blob/HEAD/High-Quality-Code-Unit-Testing/3-Exams/FinalExam/Skeleton/AcademyPackageManager/PackageManager.Tests/Commands/InstallCommandTests/PropertiesTests.cs | ghcode:00169:0a60b52b75c5 | mit | codeparrot/github-code | 0a60b52b75c5cb39ab35d676b8568ca43121f6c9f912ab9d3d3e99fbe5615916 | 0.75 | testing_debugging_repair_refactoring | 170 | false | 2026-07-17 |
using Xunit;
using SolrExpress.Core.Search.ParameterValue;
namespace SolrExpress.Core.UnitTests.Search.ParameterValue
{
public class QueryAllTests
{
/// <summary>
/// Where Using a QueryAll instance
/// When Create the instance
/// What Get "*:*" value
/// </sum... | ca0abinary/solr-express | test/SolrExpress.Core.UnitTests/Search/ParameterValue/QueryAllTests.cs | https://github.com/ca0abinary/solr-express/blob/HEAD/test/SolrExpress.Core.UnitTests/Search/ParameterValue/QueryAllTests.cs | ghcode:00169:91acbc4bec58 | mit | codeparrot/github-code | 91acbc4bec589e316fa59f35f5f5b7f6cb97da0fda08d6c72cf4d074df565aa3 | 0.85 | testing_debugging_repair_refactoring | 137 | false | 2026-07-17 |
// Author(s): Sébastien Lorion
using NLight.Reactive;
using NUnit.Framework;
using System;
using System.Reactive.Linq;
using System.Threading.Tasks;
namespace NLight.Tests.Unit.Reactive
{
public static class ObservableExtensionsTests
{
[Test]
public static async Task IgnoreElementsWhileConvertingTest()
{
... | slorion/nlight | src/NLight.Tests.Unit/Reactive/ObservableExtensionsTests.cs | https://github.com/slorion/nlight/blob/HEAD/src/NLight.Tests.Unit/Reactive/ObservableExtensionsTests.cs | ghcode:00169:1b43e5c3615f | mit | codeparrot/github-code | 1b43e5c3615f7dade22428858e54df128fe89d60c1d578991d39ac85bc88b907 | 0.75 | testing_debugging_repair_refactoring | 397 | false | 2026-07-17 |
namespace Cosmetics.MyTests.Engine
{
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Cosmetics.Engine;
[TestFixture]
public class CommandTests
{
//Parse should return new Command, when the "input" string is in the required valid format.
[Test]... | shakuu/Homework | [C#]-04-Unit-Testing/05. Workshop(Students)/Solution/Cosmetics.MyTests/Engine/CommandTests.cs | https://github.com/shakuu/Homework/blob/HEAD/[C#]-04-Unit-Testing/05. Workshop(Students)/Solution/Cosmetics.MyTests/Engine/CommandTests.cs | ghcode:00169:e38728e12e30 | mit | codeparrot/github-code | e38728e12e30e5d2ab05ccf95d3e3fc0e77b3768af206b8e493cf0b83b3d177e | 0.85 | testing_debugging_repair_refactoring | 558 | false | 2026-07-17 |
// <copyright file="WorksWithCustomConverters.cs" company="Matt Lacey">
// Copyright (c) Matt Lacey. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the solution root for license information.
// </copyright>
using System.Collections.Generic;
using System.Linq;
using ApiAnalysis.UnitTests.Extras... | APIAnalysis/SimpleJsonAnalyzer | ApiAnalysis.SimpleJsonAnalyzer.UnitTests/WorksWithCustomConverters.cs | https://github.com/APIAnalysis/SimpleJsonAnalyzer/blob/HEAD/ApiAnalysis.SimpleJsonAnalyzer.UnitTests/WorksWithCustomConverters.cs | ghcode:00169:751f69bb2261 | mit | codeparrot/github-code | 751f69bb2261cfd727f4295a37f495f3ad1cb76954d7a7c9ac29447a6f6c950c | 0.7 | testing_debugging_repair_refactoring | 445 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace FluentMethods.UnitTests
{
public partial class EnumerableFixture
{
#if NetCore
[Xunit.Fact]
#else
[NUnit.Framework.Test]
#endif
public async Task Int32MinAsync()
{
... | edwardmeng/FluentMethods | test/Core/System.Collections.Generic.IEnumerable[T]/MinAsync.cs | https://github.com/edwardmeng/FluentMethods/blob/HEAD/test/Core/System.Collections.Generic.IEnumerable[T]/MinAsync.cs | ghcode:00169:bc35186a19f9 | mit | codeparrot/github-code | bc35186a19f942d397ae0fe7279a061e40aea5b9cab928897273d7700445804a | 0.6 | testing_debugging_repair_refactoring | 668 | false | 2026-07-17 |
using System.Net.Http;
using MinaGlosor.Web.Models;
using MinaGlosor.Web.Models.AdminCommands;
using MinaGlosor.Web.Models.Commands.Handlers;
using Newtonsoft.Json;
using NUnit.Framework;
namespace MinaGlosor.Test.Api
{
[TestFixture]
public class Migrate_WordUserId : MigrationTest
{
[Test]
... | dlidstrom/MinaGlosor | MinaGlosor.Test/Api/Migrate_WordUserId.cs | https://github.com/dlidstrom/MinaGlosor/blob/HEAD/MinaGlosor.Test/Api/Migrate_WordUserId.cs | ghcode:00169:7b14ecd0257c | mit | codeparrot/github-code | 7b14ecd0257c42b4701eebbb12029e0d8430856bd7215f502445fff9fa04ca06 | 0.7 | testing_debugging_repair_refactoring | 388 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using System.Threading.Tasks;
namespace System.IO.Channels.Tests
{
internal static clas... | VSadov/corefxlab | tests/System.Threading.Tasks.Channels.Tests/TestExtensions.cs | https://github.com/VSadov/corefxlab/blob/HEAD/tests/System.Threading.Tasks.Channels.Tests/TestExtensions.cs | ghcode:00169:e1855bad4e5e | mit | codeparrot/github-code | e1855bad4e5e3ffc5eb08cffc1a3d4ccf4ce6dfa97900df42735ec1a7b3a3e37 | 0.85 | testing_debugging_repair_refactoring | 188 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using RandomExtended;
namespace RandomExtensions.Tests
{
[TestFixture]
public class ArgumentTests
{
private static readonly Random Random = new();
[Test]
public void Two_Arguments_Is_Deterministic_With_Seed()
{
Assertion.IsDe... | inputfalken/Sharpy | tests/RandomExtended.Tests/ArgumentTests.cs | https://github.com/inputfalken/Sharpy/blob/HEAD/tests/RandomExtended.Tests/ArgumentTests.cs | ghcode:00169:24b61c1d6a5c | mit | codeparrot/github-code | 24b61c1d6a5c5087b72164ff5f39484abc969e5a131451dd6da67bc8788a6579 | 0.75 | testing_debugging_repair_refactoring | 905 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace TunnelVisionLabs.Collections.Trees.Test.List
{
using System.Collections;
using System.Collections.Generic;
using Xunit;
/// <sum... | tunnelvisionlabs/dotnet-trees | TunnelVisionLabs.Collections.Trees.Test/List/TreeListIListIndexOf.cs | https://github.com/tunnelvisionlabs/dotnet-trees/blob/HEAD/TunnelVisionLabs.Collections.Trees.Test/List/TreeListIListIndexOf.cs | ghcode:00169:c2fe3cd451da | mit | codeparrot/github-code | c2fe3cd451da97291e7f08018af1316c2e8aa3d22e5311e94c52e810472c543e | 0.7 | testing_debugging_repair_refactoring | 645 | false | 2026-07-17 |
namespace EnergyTrading.MDM.Test
{
using System;
using System.Linq;
using System.Runtime.Serialization;
using Microsoft.Http;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class when_a_request_is_made_for_a_partyrole_and_they_exist : IntegrationTestBase
{
... | RWE-Nexus/EnergyTrading-MDM-Sample | Code/Service/MDM.IntegrationTest.Sample/PartyRole/get_entity/successful.cs | https://github.com/RWE-Nexus/EnergyTrading-MDM-Sample/blob/HEAD/Code/Service/MDM.IntegrationTest.Sample/PartyRole/get_entity/successful.cs | ghcode:00169:2ba7b79fb496 | mit | codeparrot/github-code | 2ba7b79fb496c21ee4461ecf7bb5ad5b1aa59a57c10bfa683345761556785744 | 0.75 | testing_debugging_repair_refactoring | 495 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
using Rhino.Mocks;
using Rhino.Mocks.Interfaces;
namespace StakHappy.Core.UnitTest.Logic.ClientLogic
{
[Collection("Logic")]
public class SearchFixture : TestBase
{
[Fact]
public void CriteriaNull()
{
... | aarce77/StakeHappy-Core | StakHappy.Core.UnitTest/Logic/ClientLogic/SearchFixture.cs | https://github.com/aarce77/StakeHappy-Core/blob/HEAD/StakHappy.Core.UnitTest/Logic/ClientLogic/SearchFixture.cs | ghcode:00169:3816c750d687 | mit | codeparrot/github-code | 3816c750d687b000fb7aaf0e8b0f4fba1a80cda334b2458d51fe2213fed12ff2 | 0.85 | testing_debugging_repair_refactoring | 405 | false | 2026-07-17 |
// <copyright file="HandleMessagesTests.cs" company="nett">
// Copyright (c) 2015 All Right Reserved, http://q.nett.gr
// Please see the License.txt file for more information. All other rights reserved.
// </copyright>
// <author>James Kavakopoulos</author>
// <email>ofthetimelords@gmail.com</email>
// <date... | ofthetimelords/CloudTools | Testing/TheQ.Utilities.CloudTools.Tests.Integration.Azure/ConcurrencyTests/ExtendedQueueTests.cs | https://github.com/ofthetimelords/CloudTools/blob/HEAD/Testing/TheQ.Utilities.CloudTools.Tests.Integration.Azure/ConcurrencyTests/ExtendedQueueTests.cs | ghcode:00169:96a8b2a36341 | mit | codeparrot/github-code | 96a8b2a3634114a8c3cfdca3c68cb0b306f015988f4f3c1677b5d06fab25a196 | 0.85 | testing_debugging_repair_refactoring | 6,681 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Medidata.RWS.Core.DataBuilders;
using Medidata.RWS;
using System.Linq;
using Medidata.RWS.Schema;
namespace Medidata.RWS.Tests
{
[TestClass]
public class ODMTests
{
[TestMethod]
public void default_odm_version_is_1_dot... | mskcc/Medidata.RWS.NET | Medidata.RWS.Tests/ODMTests.cs | https://github.com/mskcc/Medidata.RWS.NET/blob/HEAD/Medidata.RWS.Tests/ODMTests.cs | ghcode:00169:cb7405b35429 | mit | codeparrot/github-code | cb7405b354297675ae82e08d949e54cd6d0492417d28fbbc4ff53424684c2e53 | 0.75 | testing_debugging_repair_refactoring | 571 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules
{
using StyleCop.Analyzers.Test.DocumentationRules;
public class S... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1617CSharp7UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1617CSharp7UnitTests.cs | ghcode:00169:e02d389b974b | mit | codeparrot/github-code | e02d389b974b89c30151eabe7cbbeb3161ec6b1f86969dd01b38ef0f817c4981 | 0.75 | testing_debugging_repair_refactoring | 90 | false | 2026-07-17 |
namespace Santase.Logic.Tests.PlayerActionValidate
{
using Moq;
using Santase.Logic.PlayerActionValidate;
using Santase.Logic.RoundStates;
using Xunit;
public class CloseGameActionValidatorTests
{
[Fact]
public void CanCloseGameShouldReturnFalseWhenThePlayerIsNotFirstButTheSt... | NikolayIT/SantaseGameEngine | src/Tests/Santase.Logic.Tests/PlayerActionValidate/CloseGameActionValidatorTests.cs | https://github.com/NikolayIT/SantaseGameEngine/blob/HEAD/src/Tests/Santase.Logic.Tests/PlayerActionValidate/CloseGameActionValidatorTests.cs | ghcode:00169:d4390e37bf3a | mit | codeparrot/github-code | d4390e37bf3a803035974841c9e9e9b8ce85d25a9332ced5d963b08581308022 | 0.85 | testing_debugging_repair_refactoring | 387 | false | 2026-07-17 |
using MvcMonitor.Models;
using NHibernate.Cfg;
using NHibernate.Tool.hbm2ddl;
using NUnit.Framework;
namespace MvcMonitor.Tests.Repositories.NHibernateRepositoryTests
{
[TestFixture]
[Ignore("Run if using NHibernate repository")]
public class GenerateSchemaTests
{
[Test]
public void Ca... | tommy-ly/MVC-Monitor | MvcMonitor.Tests/Repositories/NHibernateRepositoryTests/GenerateSchemaTests.cs | https://github.com/tommy-ly/MVC-Monitor/blob/HEAD/MvcMonitor.Tests/Repositories/NHibernateRepositoryTests/GenerateSchemaTests.cs | ghcode:00169:e68fe289d65a | mit | codeparrot/github-code | e68fe289d65a7d2ab6632498b04f2c78846052159f0ea615815a2c03171ac0ce | 0.75 | testing_debugging_repair_refactoring | 111 | false | 2026-07-17 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by Brian Nelson 2016. *
* See license in repo for more information *
* https://github.com/sharpHDF/sharpHDF *
* ... | sharpHDF/sharpHDF | src/sharpHDFTests/Objects/Hdf5TypeTests.cs | https://github.com/sharpHDF/sharpHDF/blob/HEAD/src/sharpHDFTests/Objects/Hdf5TypeTests.cs | ghcode:00169:0b1f7a67dac0 | mit | codeparrot/github-code | 0b1f7a67dac0ea411e577dbbbe3e902f465eec39f2324b011e4a54cb79684efb | 0.75 | testing_debugging_repair_refactoring | 308 | false | 2026-07-17 |
using Xunit;
namespace Elementary.Hierarchy.Reflection.Test
{
public class DeepEqualsTest
{
[Fact]
public void Instances_are_equal()
{
// ARRANGE
var left = new
{
a = "a"
};
var right = new
{
... | wgross/Elementary.Hierarchy | samples/Reflection/Elementary.Hierarchy.Reflection.Test/DeepEqualsTest.cs | https://github.com/wgross/Elementary.Hierarchy/blob/HEAD/samples/Reflection/Elementary.Hierarchy.Reflection.Test/DeepEqualsTest.cs | ghcode:00169:f45b4e59fa34 | mit | codeparrot/github-code | f45b4e59fa34ff867ac06122b2f694d435dbfb1cdfaebd82b2e36067b20991e6 | 0.7 | testing_debugging_repair_refactoring | 417 | false | 2026-07-17 |
using FluentAssertions;
using OpenTK.Mathematics;
namespace Bearded.Utilities.Tests.Assertions;
sealed class Vector2Assertions
{
private readonly Vector2 subject;
public Vector2Assertions(Vector2 subject)
{
this.subject = subject;
}
[CustomAssertion]
public AndConstraint<Vector2Asser... | beardgame/utilities | Bearded.Utilities.Tests/Assertions/Vector2Assertions.cs | https://github.com/beardgame/utilities/blob/HEAD/Bearded.Utilities.Tests/Assertions/Vector2Assertions.cs | ghcode:00169:2b5fdabd3d56 | mit | codeparrot/github-code | 2b5fdabd3d564b74227c6b049f66ad3cbfdabe3a2a9b04ba3c785f5233e92ca2 | 0.75 | testing_debugging_repair_refactoring | 143 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="OrderManagerTests.cs" company="James Dibble">
// Copyright 2012 James Dibble
// </copyright>
// --------------------------------------------------------------------------------... | james-dibble/Ketchup | Ketchup.UnitTests/Core/Api/OrderManagerTests.cs | https://github.com/james-dibble/Ketchup/blob/HEAD/Ketchup.UnitTests/Core/Api/OrderManagerTests.cs | ghcode:00169:715b2278c835 | mit | codeparrot/github-code | 715b2278c8358d09c7668fbdd46a66d29d98458a2388a47b5985c3ad50c9f5e2 | 0.85 | testing_debugging_repair_refactoring | 1,005 | false | 2026-07-17 |
using System.Collections.Generic;
using Xunit;
namespace WmcSoft.Collections.Generic
{
public class CopyOnWriteCollectionTests
{
[Fact]
public void CanAddToCopyOnWriteCollection()
{
var collection = new List<int>() { 1, 2, 3, 4, 5 };
var cow = new CopyOnWriteCol... | vjacquet/WmcSoft | WmcSoft.Core.Tests/Collections/Generic/CopyOnWriteCollectionTests.cs | https://github.com/vjacquet/WmcSoft/blob/HEAD/WmcSoft.Core.Tests/Collections/Generic/CopyOnWriteCollectionTests.cs | ghcode:00169:bad677ee0059 | mit | codeparrot/github-code | bad677ee0059c85eee180582185bfd7a2d4f1494cfcebaaf7bf341f43daaa2fc | 0.75 | testing_debugging_repair_refactoring | 418 | false | 2026-07-17 |
using NUnit.Framework;
using System.Threading.Tasks;
using System.Net.WebSockets;
using System.Threading;
using System.Text;
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Unium.Test
{
[TestFixture]
public class Test03_WebSockets
{
[Test]
public async Task IsTut... | gwaredd/unium | Examples/nunit/Test03_WebSockets.cs | https://github.com/gwaredd/unium/blob/HEAD/Examples/nunit/Test03_WebSockets.cs | ghcode:00169:1d07b5cc9c84 | mit | codeparrot/github-code | 1d07b5cc9c849fd66aca751cbf5b7211bd7efae1c9723f4094302662a2857ed6 | 0.85 | testing_debugging_repair_refactoring | 439 | false | 2026-07-17 |
using System;
using BencodeNET.Exceptions;
using BencodeNET.IO;
using BencodeNET.Objects;
using BencodeNET.Parsing;
using FluentAssertions;
using NSubstitute;
using Xunit;
namespace BencodeNET.Tests.Parsing
{
public partial class BListParserTests
{
[Theory]
[AutoMockedData("l-something-e")]
... | Krusen/BencodeNET | BencodeNET.Tests/Parsing/BListParserTests.cs | https://github.com/Krusen/BencodeNET/blob/HEAD/BencodeNET.Tests/Parsing/BListParserTests.cs | ghcode:00169:c5d0ce5e516b | unlicense | codeparrot/github-code | c5d0ce5e516b3a8d1c8f4133fbac5722e0b061cae4cf0e02f24ea4b42a2fd0be | 0.78 | testing_debugging_repair_refactoring | 851 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Xml;
using Charm.Logging.Log4net.Appenders;
using log4net;
using Moq;
using NUnit.Framework;
using log4net.Appender;
using log4net.Config;
using log4net.Core;
using log4net.Repository.Hierarchy;
namespace Charm.Loggi... | carmbrester/Charm.Logging | Charm.Logging.Log4net/Charm.Logging.Log4net.Tests/Appenders/AsyncRolloverAppenderTests.cs | https://github.com/carmbrester/Charm.Logging/blob/HEAD/Charm.Logging.Log4net/Charm.Logging.Log4net.Tests/Appenders/AsyncRolloverAppenderTests.cs | ghcode:00169:18c7c6b2efd8 | apache-2.0 | codeparrot/github-code | 18c7c6b2efd88ab78d54cffc3e241ee231bea3c3bf5f467fd7912bdd9890ab8c | 0.85 | testing_debugging_repair_refactoring | 2,048 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Alfred.Dal.Implementation.Fake.EntityDtos;
using Alfred.Dal.Implementation.Fake.Mappers;
using Alfred.Shared.Enums;
using FluentAssertions;
using NUnit.Framework;
using Ploeh.AutoFixture;
namespace Alfred.Dal.Implementation.Fake.Tests
{
[TestFixture]
... | mseknibilel/Alfred | Alfred.Dal.Implementation.Fake.Tests/EntityFactoryTests.cs | https://github.com/mseknibilel/Alfred/blob/HEAD/Alfred.Dal.Implementation.Fake.Tests/EntityFactoryTests.cs | ghcode:00169:f57a07382ad4 | apache-2.0 | codeparrot/github-code | f57a07382ad4be9f780b1a50e1a91132723623cd569004d3ff1a18a767b375f3 | 0.75 | testing_debugging_repair_refactoring | 519 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using Microsof... | tannergooding/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/SourceCustomEventSymbol.cs | https://github.com/tannergooding/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/SourceCustomEventSymbol.cs | ghcode:00169:9d95f3412559 | apache-2.0 | codeparrot/github-code | 9d95f3412559a2b87956f918c6a5ae33bdc331d93f451359585417d58c22d3c5 | 0.85 | testing_debugging_repair_refactoring | 2,006 | false | 2026-07-17 |
using System;
using System.Diagnostics;
namespace Lucene.Net.Util
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* Th... | NikolayXHD/Lucene.Net.Contrib | Lucene.Net/Util/InfoStream.cs | https://github.com/NikolayXHD/Lucene.Net.Contrib/blob/HEAD/Lucene.Net/Util/InfoStream.cs | ghcode:00169:8a9f1d4a3073 | apache-2.0 | codeparrot/github-code | 8a9f1d4a307339ed3323c86beefbb19f756b3cc897851ff3c6a33ccf9830b8e6 | 0.7 | testing_debugging_repair_refactoring | 792 | false | 2026-07-17 |
using NUnit.Framework;
using Sendwithus;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using System.Threading.Tasks;
namespace SendwithusTest
{
/// <summary>
/// Unit testing class for the Email API calls
/// </summary>
[TestFixture]
public class EmailT... | sendwithus/sendwithus_csharp | Sendwithus/SendwithusTest/Tests/EmailTest.cs | https://github.com/sendwithus/sendwithus_csharp/blob/HEAD/Sendwithus/SendwithusTest/Tests/EmailTest.cs | ghcode:00169:d344f4958692 | apache-2.0 | codeparrot/github-code | d344f4958692b20fa19dde1b0cf88863c83d82bc402e04620a002344e4269198 | 0.95 | testing_debugging_repair_refactoring | 1,917 | false | 2026-07-17 |
#region License and Terms
// CustomExtensions - Custom Extension Methods For C#
// Copyright (c) 2011 - 2012 Jonathan Comtois. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy... | jcomtois/CustomExtensions | CustomExtensions/ForIEnumerable/IsEmpty.cs | https://github.com/jcomtois/CustomExtensions/blob/HEAD/CustomExtensions/ForIEnumerable/IsEmpty.cs | ghcode:00169:bcd3d49f163c | apache-2.0 | codeparrot/github-code | bcd3d49f163c8d2ae39213da9e8a3ab36904bb797ca2759ac14e6683e71e4c1c | 0.85 | testing_debugging_repair_refactoring | 964 | false | 2026-07-17 |
using System;
using Competition.Timer.StateDomain.States;
using Competition.Timer.StateDomain.Time;
using FluentAssertions;
namespace Competition.Timer.StateDomain
{
public abstract class TimerState
{
protected TimerState(MainWindow mainWindow, TimeProvider timeProvider, State state)
{
... | MiroslavJelaska/timer-for-competition | src/Competition.Timer/StateDomain/TimerState.cs | https://github.com/MiroslavJelaska/timer-for-competition/blob/HEAD/src/Competition.Timer/StateDomain/TimerState.cs | ghcode:00169:77986c0f044c | apache-2.0 | codeparrot/github-code | 77986c0f044ce0c6320d08d14eb828ff6163925a9269e316681f5f5cfcb6857a | 0.6 | testing_debugging_repair_refactoring | 483 | false | 2026-07-17 |
/*
* Copyright 2014 Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | kave-cc/csharp-commons | KaVE.Commons.Tests/Model/Naming/Impl/v0/CodeElements/LocalVariableNameTest.cs | https://github.com/kave-cc/csharp-commons/blob/HEAD/KaVE.Commons.Tests/Model/Naming/Impl/v0/CodeElements/LocalVariableNameTest.cs | ghcode:00169:b24219534ccf | apache-2.0 | codeparrot/github-code | b24219534ccfc7b397b2f5d39283459c05449dbb5170972420388dd6fc7c2d1a | 0.85 | testing_debugging_repair_refactoring | 572 | false | 2026-07-17 |
#region License
/*
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | jgoz/netcommon-logging | test/Common.Logging.NLog20.Tests/Logger/NLog20/CommonLoggingTargetTests.cs | https://github.com/jgoz/netcommon-logging/blob/HEAD/test/Common.Logging.NLog20.Tests/Logger/NLog20/CommonLoggingTargetTests.cs | ghcode:00169:24822e87a3d1 | apache-2.0 | codeparrot/github-code | 24822e87a3d101ac3f3c15435761bf6a8fd0f894fd73f40de2cff6e6587ee06f | 0.85 | testing_debugging_repair_refactoring | 430 | false | 2026-07-17 |
using System;
using System.Linq.Expressions;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Qactive.Tests.Tcp.Queries
{
[TestClass]
public class TcpNestedQueryTests : TestBase
{
[TestMethod]
public async Task Primitive()
{
... | RxDave/Qactive | Testing/Qactive.Tests/Tcp/Queries/TcpNestedQueryTests.cs | https://github.com/RxDave/Qactive/blob/HEAD/Testing/Qactive.Tests/Tcp/Queries/TcpNestedQueryTests.cs | ghcode:00169:a5fbf6ca0114 | apache-2.0 | codeparrot/github-code | a5fbf6ca011404cca033f176056799b3610f9c9620e1514fb60e9e73fb88af24 | 0.75 | testing_debugging_repair_refactoring | 713 | false | 2026-07-17 |
// Copyright (c) 2002-2019 "Neo4j,"
// Neo4j Sweden AB [http://neo4j.com]
//
// This file is part of Neo4j.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.... | ali-ince/neo4j-dotnet-driver | Neo4j.Driver/Neo4j.Driver.Tests/TestUtil/SocketClientTestHarness.cs | https://github.com/ali-ince/neo4j-dotnet-driver/blob/HEAD/Neo4j.Driver/Neo4j.Driver.Tests/TestUtil/SocketClientTestHarness.cs | ghcode:00169:e0e0936d910e | apache-2.0 | codeparrot/github-code | e0e0936d910e802239ad916b57645188af1e0aac44afd4efd3a63b9ac7b1982f | 0.85 | testing_debugging_repair_refactoring | 448 | false | 2026-07-17 |
/* Copyright 2009 dotless project, http://www.dotlesscss.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | chrisjowen/nLess | src/dotless.Test/Unit/engine/AltEngineFixture.cs | https://github.com/chrisjowen/nLess/blob/HEAD/src/dotless.Test/Unit/engine/AltEngineFixture.cs | ghcode:00169:cd01219d38ce | apache-2.0 | codeparrot/github-code | cd01219d38ce8602f2d2005bbe1077434584cdd81dac4796500fbfd84341bbde | 0.7 | testing_debugging_repair_refactoring | 628 | false | 2026-07-17 |
/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using System.Collections.Generic;
using System.Diagnostics;
usin... | joshcomley/openiddict-core | samples/Mvc.Server/Controllers/AuthorizationController.cs | https://github.com/joshcomley/openiddict-core/blob/HEAD/samples/Mvc.Server/Controllers/AuthorizationController.cs | ghcode:00169:eb2344b1fc50 | apache-2.0 | codeparrot/github-code | eb2344b1fc50f7031979c49127ef3436f92f5d4061046b8e2be759301105ce82 | 0.7 | testing_debugging_repair_refactoring | 2,576 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using Castle.DynamicProxy.Generators.Emitters.SimpleAST;
using NUnit.Framework;
// ReSharper disable ObjectCreationAsStatement
namespace Cassandra.Tests
{
[TestFixture]
pub... | mintsoft/csharp-driver | src/Cassandra.Tests/LocalTimeTests.cs | https://github.com/mintsoft/csharp-driver/blob/HEAD/src/Cassandra.Tests/LocalTimeTests.cs | ghcode:00169:b48863c55ac2 | apache-2.0 | codeparrot/github-code | b48863c55ac25e4440e93fb5fddedf70869904436a99fe551dc9c14c8df42a3e | 0.75 | testing_debugging_repair_refactoring | 1,518 | false | 2026-07-17 |
using IdmNet.SoapModels;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
namespace IdmApi.Tests.Spikes
{
[TestClass]
public class JsonSpikes
{
[TestMethod]
public void ChangesJsonSpike()
{
var changes1 = new[]
{
new... | dseelinger/ms-idm-api | IdmApi/IdmApi.Tests/Spikes/JsonSpikes.cs | https://github.com/dseelinger/ms-idm-api/blob/HEAD/IdmApi/IdmApi.Tests/Spikes/JsonSpikes.cs | ghcode:00169:1bc7e7d69eed | apache-2.0 | codeparrot/github-code | 1bc7e7d69eed5ffec15ae00b9d78e3f65744cedb66e59427ad8a74de6e71825a | 0.6 | testing_debugging_repair_refactoring | 151 | false | 2026-07-17 |
using Lix.Commons.Repositories;
using Lix.Commons.Specifications;
using Lix.Commons.Tests.Examples;
using Lix.Commons.Tests.Examples.Specifications;
using Lix.Commons.Tests.HelperExtensions;
using MbUnit.Framework;
namespace Lix.Commons.Tests.Repositories
{
public abstract class when_checking_an_entity_exists_in_a... | lukesmith/lix | src/Lix.Commons.Tests/Repositories/when_checking_an_entity_exists_in_a_repository.cs | https://github.com/lukesmith/lix/blob/HEAD/src/Lix.Commons.Tests/Repositories/when_checking_an_entity_exists_in_a_repository.cs | ghcode:00169:c57337eb1205 | bsd-3-clause | codeparrot/github-code | c57337eb12059adc76b3ebe924d8d3831be7cacfb0ae4811f48d3e4e707092a4 | 0.75 | testing_debugging_repair_refactoring | 273 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Platinum.Core.Tests.ExceptionFwk
{
[TestClass]
public class ExceptionTests
{
[TestMethod]
public void Count0()
{
var ex = new TestException( ER.Count0 );
Assert.AreEqual( nameof( ER.Count0 ), ex.... | filipetoscano/Platinum | tests/Platinum.Core.Tests/ExceptionFwk/ExceptionTests.cs | https://github.com/filipetoscano/Platinum/blob/HEAD/tests/Platinum.Core.Tests/ExceptionFwk/ExceptionTests.cs | ghcode:00169:5ea8b5d5fce3 | bsd-3-clause | codeparrot/github-code | 5ea8b5d5fce3605130c5ffeaf091fd8359315ef5003ae4c22357663bba5bbbc7 | 0.75 | testing_debugging_repair_refactoring | 719 | false | 2026-07-17 |
using System;
using Xunit;
using static JPopadak.CoreMatchers.Matchers.Matchers;
namespace JPopadak.CoreMatchers.Matchers
{
public class StringContainsFacts
{
private const string EXCERPT = "EXCERPT";
private const string EXCERPT_RANDOM_CASE = "ExCeRpT";
[Fact]
public void Exc... | jpopadak/CoreMatchers | test/CoreMatchers.Tests/Matchers/StringContainsFacts.cs | https://github.com/jpopadak/CoreMatchers/blob/HEAD/test/CoreMatchers.Tests/Matchers/StringContainsFacts.cs | ghcode:00169:0f63141322ba | bsd-3-clause | codeparrot/github-code | 0f63141322ba9917125f0b50930351f609042c2798c334fd0de2ad22aca3709f | 0.7 | testing_debugging_repair_refactoring | 1,332 | false | 2026-07-17 |
using System.Collections.Generic;
using FluentAssertions;
using NUnit.Framework;
using Tailviewer.Api;
namespace Tailviewer.Core.Tests.Entries
{
[TestFixture]
public sealed class ReadOnlyLogEntryTest
: AbstractReadOnlyLogEntryTest
{
protected override IReadOnlyLogEntry CreateDefault()
{
return new ReadOnl... | Kittyfisto/Tailviewer | src/Tailviewer.Core.Tests/Entries/ReadOnlyLogEntryTest.cs | https://github.com/Kittyfisto/Tailviewer/blob/HEAD/src/Tailviewer.Core.Tests/Entries/ReadOnlyLogEntryTest.cs | ghcode:00169:c0b665e7a92e | mit | codeparrot/github-code | c0b665e7a92e70307a3f8554b7db04640d850449233b856b8dde97728e300470 | 0.6 | testing_debugging_repair_refactoring | 525 | false | 2026-07-17 |
#pragma warning disable CS1720 // Expression will always cause a System.NullReferenceException because the type's default value is null
#pragma warning disable xUnit1013 // Public method should be marked as test
using Xunit;
using MonoMod.RuntimeDetour;
using System;
using System.Reflection;
using System.Runtime.Comp... | 0x0ade/MonoMod | MonoMod.UnitTest/HookGen/HookGenRunTest.cs | https://github.com/0x0ade/MonoMod/blob/HEAD/MonoMod.UnitTest/HookGen/HookGenRunTest.cs | ghcode:00169:3207ba63fb9c | mit | codeparrot/github-code | 3207ba63fb9c76e52146b102749e92afc5753bad6c1dc9d7e1048161b9d52902 | 0.7 | testing_debugging_repair_refactoring | 582 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Composition.Hosting.Core;
using System.Threading.Tasks;
using OmniSharp.Mef;
using OmniSharp.MSBuild.Notification;
using TestUtility;
using Xunit;
using Xunit.Abstractions;
namespace OmniSharp.MSBuild.Tests
{
public class NotificationTests : AbstractMSB... | OmniSharp/omnisharp-roslyn | tests/OmniSharp.MSBuild.Tests/NotificationTests.cs | https://github.com/OmniSharp/omnisharp-roslyn/blob/HEAD/tests/OmniSharp.MSBuild.Tests/NotificationTests.cs | ghcode:00169:8caf20b135fb | mit | codeparrot/github-code | 8caf20b135fb255acde2ca1576bcbb9666e5288f645e58bc58cf8955aef73616 | 0.75 | testing_debugging_repair_refactoring | 331 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Messaging.EventHubs.Consumer;
using Azure.Messaging.EventHubs.Primitives;
using Moq;
using... | hyonholee/azure-sdk-for-net | sdk/eventhub/Azure.Messaging.EventHubs/tests/Primitives/EventProcessorTests.Infrastructure.cs | https://github.com/hyonholee/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Azure.Messaging.EventHubs/tests/Primitives/EventProcessorTests.Infrastructure.cs | ghcode:00169:b60b6df4aa37 | mit | codeparrot/github-code | b60b6df4aa37163209d8b3acce6ff46456e90b18579f82309e4041cb950c307b | 0.95 | testing_debugging_repair_refactoring | 2,596 | false | 2026-07-17 |
using System.Threading.Tasks;
using AutoFixture.NUnit3;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using Nybus;
namespace Tests
{
[TestFixture]
public class RegisteredHandlerBareSetupTests
{
[Test, AutoMoqData]
publi... | Kralizek/Nybus | tests/integration/Tests.Integration.Nybus.Engine.InMemory/RegisteredHandlerBareSetupTests.cs | https://github.com/Kralizek/Nybus/blob/HEAD/tests/integration/Tests.Integration.Nybus.Engine.InMemory/RegisteredHandlerBareSetupTests.cs | ghcode:00169:2f2c041885eb | mit | codeparrot/github-code | 2f2c041885ebd712dec516f6892c0f502185a6dc629f8d4a5995800b3042d705 | 0.75 | testing_debugging_repair_refactoring | 442 | false | 2026-07-17 |
using Xunit;
namespace Main.Test
{
public class MainTest
{
[Fact]
public void Test()
{
Assert.True(true);
}
[Theory]
[InlineData(0)]
[InlineData(1)]
public void DataDrivenTest(int i)
{
Assert.True(i > 0);
... | jtbm37/omnisharp-roslyn | tests/TestSamples/BasicTestProjectSample01/TestProgram.cs | https://github.com/jtbm37/omnisharp-roslyn/blob/HEAD/tests/TestSamples/BasicTestProjectSample01/TestProgram.cs | ghcode:00169:89ccd247eff1 | mit | codeparrot/github-code | 89ccd247eff1e491838b451747aec681939e416dec0e776c9fd71e4117d1fa73 | 0.75 | testing_debugging_repair_refactoring | 87 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Buffers;
using System.Diagnostics;
using System.IO;
using System.IO.Pipelines;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.A... | aspnet/AspNetCore | src/Hosting/TestHost/src/ResponseBodyReaderStream.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Hosting/TestHost/src/ResponseBodyReaderStream.cs | ghcode:00169:b8df8c06b524 | apache-2.0 | codeparrot/github-code | b8df8c06b524bf561e9185b48e27661a45fe684fc37a98dcd6b7b71a777e250f | 0.95 | testing_debugging_repair_refactoring | 883 | false | 2026-07-17 |
//-------------------------------------------------------------------------------
// <copyright file="StateMachineBuildHierarchyTest.cs" company="Appccelerate">
// Copyright (c) 2008-2015
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance w... | yonglehou/statemachine | source/Appccelerate.StateMachine.Facts/Machine/StateMachineBuildHierarchyTest.cs | https://github.com/yonglehou/statemachine/blob/HEAD/source/Appccelerate.StateMachine.Facts/Machine/StateMachineBuildHierarchyTest.cs | ghcode:00169:20893423baf9 | apache-2.0 | codeparrot/github-code | 20893423baf9cf450615cb270727c771b09079442727117e58a6af9149f5578f | 0.7 | testing_debugging_repair_refactoring | 461 | false | 2026-07-17 |
// Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of source code must retain the above copyright notice,
// this list of conditi... | msbahrul/EventStore | src/EventStore/EventStore.Projections.Core.Tests/Services/core_projection/when_starting_a_new_projection.cs | https://github.com/msbahrul/EventStore/blob/HEAD/src/EventStore/EventStore.Projections.Core.Tests/Services/core_projection/when_starting_a_new_projection.cs | ghcode:00169:338a836c000b | bsd-3-clause | codeparrot/github-code | 338a836c000b206dc0d5c3a2f3d931e1324399fb0d1240d09f59d30442f8d6de | 0.85 | testing_debugging_repair_refactoring | 580 | false | 2026-07-17 |
//
// Copyright (c) 2004-2020 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of s... | BrutalCode/NLog | tests/NLog.UnitTests/Filters/ConditionBasedFilterTests.cs | https://github.com/BrutalCode/NLog/blob/HEAD/tests/NLog.UnitTests/Filters/ConditionBasedFilterTests.cs | ghcode:00169:be1c8566a409 | bsd-3-clause | codeparrot/github-code | be1c8566a409f4fa199162676b877b83ea56c1e668116dc3d28fa672e3c6a32f | 0.85 | testing_debugging_repair_refactoring | 589 | false | 2026-07-17 |
namespace Volante
{
using System;
public class TestIndexDateTime : ITest
{
public class Record : Persistent
{
public DateTime nval; // native value
public Record(DateTime v)
{
nval = v;
}
public Record(... | kjk/volante | tests/Tests/TestIndexDateTime.cs | https://github.com/kjk/volante/blob/HEAD/tests/Tests/TestIndexDateTime.cs | ghcode:00169:6136eaca3aa3 | mit | codeparrot/github-code | 6136eaca3aa3e790248d10ea8092c4fc63169ab7ef67d1fbdb06102b92d4c077 | 0.85 | testing_debugging_repair_refactoring | 894 | false | 2026-07-17 |
// Copyright 2011 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | BrightstarDB/odata-sparql | ODataLib/OData/Silverlight/Microsoft/Data/OData/Atom/ODataAtomEntryAndFeedSerializer.cs | https://github.com/BrightstarDB/odata-sparql/blob/HEAD/ODataLib/OData/Silverlight/Microsoft/Data/OData/Atom/ODataAtomEntryAndFeedSerializer.cs | ghcode:00169:346704f5776a | mit | codeparrot/github-code | 346704f5776af80686dc7efa2d5020366dba2b7ab330033df065425119cee086 | 0.85 | testing_debugging_repair_refactoring | 4,194 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2014 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | modulexcite/nunit | src/NUnitFramework/framework/Attributes/TheoryAttribute.cs | https://github.com/modulexcite/nunit/blob/HEAD/src/NUnitFramework/framework/Attributes/TheoryAttribute.cs | ghcode:00169:44cf552ef213 | mit | codeparrot/github-code | 44cf552ef213b04d0c2551bb769f12dc593091e4d093f162afe5beab43442f6f | 0.85 | testing_debugging_repair_refactoring | 728 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Lucy.Core.Contracts;
using Lucy.Core;
namespace Lucy.Tests
{
[TestClass]
public class ChatRoomFixtures
{
/*[TestMethod]
public void IfRoomIsNotAvailableThenThrowException()
{
}*/
priv... | tavisca-jkarde/LucyBot | Lucy.Tests/ChatRoomFixtures.cs | https://github.com/tavisca-jkarde/LucyBot/blob/HEAD/Lucy.Tests/ChatRoomFixtures.cs | ghcode:00169:7a4f09460d66 | mit | codeparrot/github-code | 7a4f09460d664b0dc7457a1c3d42e912322d84b48fe4096a6a56b28914b351ae | 0.6 | testing_debugging_repair_refactoring | 347 | false | 2026-07-17 |
using System;
using System.Linq;
using NUnit.Framework;
using Shouldly;
using StructureMap.Building;
using StructureMap.Building.Interception;
using StructureMap.Graph;
using StructureMap.Pipeline;
using StructureMap.Testing.Widget;
using StructureMap.Testing.Widget3;
namespace StructureMap.Testing.Pipeline... | NightOwl888/structuremap | src/StructureMap.Testing/Pipeline/ConstructorInstanceTester.cs | https://github.com/NightOwl888/structuremap/blob/HEAD/src/StructureMap.Testing/Pipeline/ConstructorInstanceTester.cs | ghcode:00169:9fe0b540e8a8 | apache-2.0 | codeparrot/github-code | 9fe0b540e8a85a8e0a8e0db2f3d5cfa5ce36c8052d0e3c6d939b14b8f46da779 | 0.75 | testing_debugging_repair_refactoring | 813 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Desktop.CSharp.Analyzers;
using Desktop.VisualBasic.Analyzers;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.CSharp;
using Test... | qinxgit/roslyn-analyzers | src/Desktop.Analyzers/UnitTests/DoNotUseInsecureXSLTScriptExecutionXslCompiledTransformLoadInsecureConstructedSettingsTests.cs | https://github.com/qinxgit/roslyn-analyzers/blob/HEAD/src/Desktop.Analyzers/UnitTests/DoNotUseInsecureXSLTScriptExecutionXslCompiledTransformLoadInsecureConstructedSettingsTests.cs | ghcode:00169:31055c0909eb | apache-2.0 | codeparrot/github-code | 31055c0909eb733cd713316e757cba5d3c2154e90b74b55259a5723b154252fb | 0.75 | testing_debugging_repair_refactoring | 6,953 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using static Elasticsearch.Net.AuditEvent;
using Tests.Framework;
namespace Tests.ClientConcepts.ConnectionPooling.RequestOverrides
{
public class RequestTimeoutsOverrides
{
/** == Request Timeouts
* While you can specify Request time out globally you can override th... | azubanov/elasticsearch-net | src/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/RequestTimeoutsOverrides.cs | https://github.com/azubanov/elasticsearch-net/blob/HEAD/src/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/RequestTimeoutsOverrides.cs | ghcode:00169:dee769945071 | apache-2.0 | codeparrot/github-code | dee76994507140a84513d6066f296af400e64443e92a74da1ecaeafa69a3f92f | 0.95 | testing_debugging_repair_refactoring | 865 | false | 2026-07-17 |
/*
Copyright 2011 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | michael-jia-sage/google-apis | src/Externals/google-api-dotnet-client/Src/GoogleApis.Tools.CodeGen.Tests/Decorator/ResourceDecorator/SubresourceClassDecoratorTest.cs | https://github.com/michael-jia-sage/google-apis/blob/HEAD/src/Externals/google-api-dotnet-client/Src/GoogleApis.Tools.CodeGen.Tests/Decorator/ResourceDecorator/SubresourceClassDecoratorTest.cs | ghcode:00169:a155c5a1d749 | apache-2.0 | codeparrot/github-code | a155c5a1d74955235c8cc9c1b3519fdb9a4f7040036500a90bfd852bda8f18fc | 0.95 | testing_debugging_repair_refactoring | 1,390 | false | 2026-07-17 |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
usin... | xamarin/azure-mobile-services | sdk/windowsphone/src/Microsoft.Azure.Zumo.WindowsPhone8.Managed/Table/Query/FilterBuildingExpressionVisitor.cs | https://github.com/xamarin/azure-mobile-services/blob/HEAD/sdk/windowsphone/src/Microsoft.Azure.Zumo.WindowsPhone8.Managed/Table/Query/FilterBuildingExpressionVisitor.cs | ghcode:00169:6ab0694f01da | apache-2.0 | codeparrot/github-code | 6ab0694f01da08e9230f32c1b8cfcba95bb6ada8b12653f7ee58b87c520ffe92 | 0.95 | testing_debugging_repair_refactoring | 3,994 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.Storage.Blobs.Models;
using Azure.Storage.Internal.Avro;
us... | ayeletshpigelman/azure-sdk-for-net | sdk/storage/Azure.Storage.Blobs.ChangeFeed/tests/ChunkTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/storage/Azure.Storage.Blobs.ChangeFeed/tests/ChunkTests.cs | ghcode:00169:05689e1f31a2 | mit | codeparrot/github-code | 05689e1f31a209398315bfd7c416c2666e500b126e7cd9f1968abe6a722386ad | 0.95 | testing_debugging_repair_refactoring | 2,573 | false | 2026-07-17 |
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.Events;
using System.Collections;
public class ClientTest : MonoBehaviour {
#region pulic member
#endregion
#region private member
#endregion
#region mono
// Use this for initialization
void Start () {
//UnityEngine.UI.Button bt... | dafei2015/hugula | Client/Assets/Script/Test/ClientTest.cs | https://github.com/dafei2015/hugula/blob/HEAD/Client/Assets/Script/Test/ClientTest.cs | ghcode:00169:d161b7d58614 | mit | codeparrot/github-code | d161b7d58614300ef1dd2e7b24177800171bddd6e9c2a8dae7dd047fedd998d1 | 0.95 | testing_debugging_repair_refactoring | 557 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// *******************************************************************************************************
// Product: DotSpatial.Tools.RasterToPolygon.cs
// Description: Convert a raster dataset to a polygon featureset.
// *************... | swsglobal/DotSpatial | Source/DotSpatial.Tools/RasterToPolygon.cs | https://github.com/swsglobal/DotSpatial/blob/HEAD/Source/DotSpatial.Tools/RasterToPolygon.cs | ghcode:00169:0ff0b252c906 | mit | codeparrot/github-code | 0ff0b252c9067f7104f73942ece183bcbe7568ec6cbd1e5e5b516fb2c4ebd4b3 | 0.85 | testing_debugging_repair_refactoring | 5,077 | false | 2026-07-17 |
// <copyright file="FloaterHormannRationalTest.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining ... | albertp007/mathnet-numerics | src/UnitTests/InterpolationTests/FloaterHormannRationalTest.cs | https://github.com/albertp007/mathnet-numerics/blob/HEAD/src/UnitTests/InterpolationTests/FloaterHormannRationalTest.cs | ghcode:00169:c8a0473bd418 | mit | codeparrot/github-code | c8a0473bd418c022155a97b518a1ccd7cb2ff2ccad74ac021f57425df33069da | 0.85 | testing_debugging_repair_refactoring | 1,437 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Elasticsearch.Net;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
using Xunit;
namespace Tests.Document.Single.Delete
{
[Collection(IntegrationContext.Indexing)]
public class DeleteApiTests : ApiIntegrationT... | UdiBen/elasticsearch-net | src/Tests/Document/Single/Delete/DeleteApiTests.cs | https://github.com/UdiBen/elasticsearch-net/blob/HEAD/src/Tests/Document/Single/Delete/DeleteApiTests.cs | ghcode:00169:14deefa18a8c | apache-2.0 | codeparrot/github-code | 14deefa18a8c932edc21b33d2195928d77f2a4bbd9c133de5fc5c76e91deab21 | 0.85 | testing_debugging_repair_refactoring | 331 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using System.Thr... | CyrusNajmabadi/roslyn | src/EditorFeatures/CSharpTest/CodeActions/EnableNullable/EnableNullableTests.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/CodeActions/EnableNullable/EnableNullableTests.cs | ghcode:00169:18e9678a0199 | mit | codeparrot/github-code | 18e9678a0199813ceecd399235bbfc387ad502279f00de1bfc342f394cbbc88d | 0.85 | testing_debugging_repair_refactoring | 3,459 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... | yonglehou/spring-net | test/Spring/Spring.Core.Tests/Objects/Factory/Config/ObjectReferenceFactoryObjectTests.cs | https://github.com/yonglehou/spring-net/blob/HEAD/test/Spring/Spring.Core.Tests/Objects/Factory/Config/ObjectReferenceFactoryObjectTests.cs | ghcode:00169:c1b935b38213 | apache-2.0 | codeparrot/github-code | c1b935b38213f337e18ec9193f101883a619ab7ad6da121e209fdf14419a51b3 | 0.85 | testing_debugging_repair_refactoring | 847 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Umbraco.Tests.TestHelpers;
using Umbraco.Web.Routing;
using umbraco.cms.businesslogic.web;
using umbraco.cms.businesslogic.language;
using System.Configuration;
namespace Umbraco.Tests.Routing... | dampee/Umbraco-CMS | src/Umbraco.Tests/Routing/ContentFinderByNiceUrlWithDomainsTests.cs | https://github.com/dampee/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Routing/ContentFinderByNiceUrlWithDomainsTests.cs | ghcode:00169:db1b3843f49c | mit | codeparrot/github-code | db1b3843f49c73557e6913819b9ff04ca9251221d5d62e7a234e49d83ce32dcb | 0.85 | testing_debugging_repair_refactoring | 5,556 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.CodeFixes.ImplementAbstractClass;
using Roslyn.Test.Utilities;
using Xunit;
namespace Micr... | KevinH-MS/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/ImplementAbstractClass/ImplementAbstractClassTests_FixAllTests.cs | https://github.com/KevinH-MS/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/ImplementAbstractClass/ImplementAbstractClassTests_FixAllTests.cs | ghcode:00169:4d58c78689ce | apache-2.0 | codeparrot/github-code | 4d58c78689ce190374d6e60ff7ba1e483647bfd2e428216a0889e9418bf0b1ce | 0.75 | testing_debugging_repair_refactoring | 2,338 | false | 2026-07-17 |
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for Additional information regarding copyright ownership.
The ASF licenses this file to Y... | vinod1988/npoi | testcases/main/HSSF/UserModel/TestHSSFDataFormatter.cs | https://github.com/vinod1988/npoi/blob/HEAD/testcases/main/HSSF/UserModel/TestHSSFDataFormatter.cs | ghcode:00169:a0764c2699d5 | apache-2.0 | codeparrot/github-code | a0764c2699d5b7de995f087c0fda81e36dfa7c8e897b02a5218d6bab4cb8751a | 0.85 | testing_debugging_repair_refactoring | 4,691 | false | 2026-07-17 |
#region License
/*
* Copyright © 2010-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... | dreamofei/spring-net | test/Spring/Spring.Core.Tests/Context/Support/CodeConfigApplicationContextTests.cs | https://github.com/dreamofei/spring-net/blob/HEAD/test/Spring/Spring.Core.Tests/Context/Support/CodeConfigApplicationContextTests.cs | ghcode:00169:9cfe7ab6eda9 | apache-2.0 | codeparrot/github-code | 9cfe7ab6eda9777cdabee71557f84e17aef0b1796a66d99a85587218c8a42a7f | 0.85 | testing_debugging_repair_refactoring | 883 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | atpham256/azure-powershell | src/ServiceManagement/Common/Commands.ServiceManagement.Common/RPRegistrationAction.cs | https://github.com/atpham256/azure-powershell/blob/HEAD/src/ServiceManagement/Common/Commands.ServiceManagement.Common/RPRegistrationAction.cs | ghcode:00169:7df22621f36e | apache-2.0 | codeparrot/github-code | 7df22621f36e108e89c4f568eb9ba5b076f2047eedc61190abfd3fa1450a5dce | 0.85 | testing_debugging_repair_refactoring | 1,130 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.... | sharwell/roslyn | src/Compilers/CSharp/Portable/Emitter/Model/SpecializedGenericMethodInstanceReference.cs | https://github.com/sharwell/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Emitter/Model/SpecializedGenericMethodInstanceReference.cs | ghcode:00169:1303a189bfe4 | mit | codeparrot/github-code | 1303a189bfe4c3a09cf0eb9f7a7173de97370394b9bc945097e236e9d71be1cb | 0.85 | testing_debugging_repair_refactoring | 428 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.