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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace Telegram.Bot.Tests.Integ.Framework.XunitExtensions
{
public class XunitTestCollectionRunnerWithAssemblyFixture : XunitTestCollectionRunner
{
readon... | MrRoundRobin/telegram.bot | test/Telegram.Bot.Tests.Integ/Framework/XunitExtensions/XunitTestCollectionRunnerWithAssemblyFixture.cs | https://github.com/MrRoundRobin/telegram.bot/blob/HEAD/test/Telegram.Bot.Tests.Integ/Framework/XunitExtensions/XunitTestCollectionRunnerWithAssemblyFixture.cs | ghcode:00167:5c8aff35df48 | mit | codeparrot/github-code | 5c8aff35df4892c1036e76849929b7d0f797f4cfaae473923f7e598df4cbb9d2 | 0.85 | testing_debugging_repair_refactoring | 422 | false | 2026-07-17 |
using Sniper.Common;
using Sniper.TargetProcess.Routes;
using Xunit;
namespace Sniper.Tests.CRUD.Create.Common.TestPlans
{
public class CreateTestPlanTests
{
[Fact]
public void CreateTestPlanThrowsError()
{
var client = CommonMethods.GetClientByRoute(TargetProcessRoutes.Rout... | bluetread/sniper | Sniper.Tests/CRUD/Create/Common/TestPlans/CreateTestPlanTests.cs | https://github.com/bluetread/sniper/blob/HEAD/Sniper.Tests/CRUD/Create/Common/TestPlans/CreateTestPlanTests.cs | ghcode:00167:5c629bc5e369 | mit | codeparrot/github-code | 5c629bc5e369d2eb30036a520cf58dcc71c47d25425536230bf6a59720c2f658 | 0.75 | testing_debugging_repair_refactoring | 85 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using ConcurrentPriorityQueue;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ConcurrentPriorityQueueTests.PerformanceTests
{
[TestClass]
public class ConcurrentFixedS... | dshulepov/ConcurrentPriorityQueue | Tests/ConcurrentPriorityQueueTests/PerformanceTests/ConcurrentFixedSizePriorityQueueTests.cs | https://github.com/dshulepov/ConcurrentPriorityQueue/blob/HEAD/Tests/ConcurrentPriorityQueueTests/PerformanceTests/ConcurrentFixedSizePriorityQueueTests.cs | ghcode:00167:769083b87048 | mit | codeparrot/github-code | 769083b8704845e5526ff0f0c0778dadbd09122ae562bcc544678d530cba8096 | 0.85 | testing_debugging_repair_refactoring | 1,276 | false | 2026-07-17 |
using CharacterGen.Domain.Tables;
using CharacterGen.Feats;
using CharacterGen.Races;
using NUnit.Framework;
using System;
namespace CharacterGen.Tests.Integration.Tables.Feats.Data.Racial.Metaraces.Species
{
[TestFixture]
public class RedFeatDataTests : RacialFeatDataTests
{
protected override st... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/Feats/Data/Racial/Metaraces/Species/RedFeatDataTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/Feats/Data/Racial/Metaraces/Species/RedFeatDataTests.cs | ghcode:00167:4745c5ec718f | mit | codeparrot/github-code | 4745c5ec718f06461d9d8f713b55f3a2d9d18cd91ffffb3892696b41fde60391 | 0.75 | testing_debugging_repair_refactoring | 393 | false | 2026-07-17 |
using System.Linq;
using Benchmark.Abstracts;
using BenchmarkDotNet.Attributes;
using SimpleSamples;
using SwiftHelper.Experimental;
namespace Benchmark.MinByMaxBy
{
public class MinByMaxByBenchmarksCustom : BenchmarksBase
{
[Params(100, 10000)]
public override int DataSize { get; set; }
... | mkarpusiewicz/SwiftHelper | src/Benchmark/MinByMaxBy/MinByMaxByBenchmarksCustom.cs | https://github.com/mkarpusiewicz/SwiftHelper/blob/HEAD/src/Benchmark/MinByMaxBy/MinByMaxByBenchmarksCustom.cs | ghcode:00167:0b6263e7e331 | mit | codeparrot/github-code | 0b6263e7e33110935bc36a6e9d45e458d05e250fc0bb5ba3b6ba6559aff296c2 | 0.75 | testing_debugging_repair_refactoring | 260 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Neo.Cryptography.ECC;
using Neo.SmartContract;
using Neo.SmartContract.Manifest;
using System;
namespace Neo.UnitTests.SmartContract.Manifest
{
[TestClass]
public class UT_ContractPermission
{
[TestMethod]
public void TestIsAllowed()... | AntShares/AntShares | tests/neo.UnitTests/SmartContract/Manifest/UT_ContractPermission.cs | https://github.com/AntShares/AntShares/blob/HEAD/tests/neo.UnitTests/SmartContract/Manifest/UT_ContractPermission.cs | ghcode:00167:aae4a3aa69ad | mit | codeparrot/github-code | aae4a3aa69add93ab58615c22d9f130e297ac551e56be6bbb981db1683a88dd1 | 0.6 | testing_debugging_repair_refactoring | 630 | false | 2026-07-17 |
namespace GitVersionCore.Tests.VersionCalculation
{
using System;
using System.Collections.Generic;
using GitTools.Testing;
using GitVersion;
using GitVersion.VersionCalculation;
using GitVersion.VersionCalculation.BaseVersionCalculators;
using GitVersion.VersionFilters;
using LibGit2Sh... | pascalberger/GitVersion | src/GitVersionCore.Tests/VersionCalculation/BaseVersionCalculatorTests.cs | https://github.com/pascalberger/GitVersion/blob/HEAD/src/GitVersionCore.Tests/VersionCalculation/BaseVersionCalculatorTests.cs | ghcode:00167:f08b5e7e09c1 | mit | codeparrot/github-code | f08b5e7e09c1ab96e9b290d2fbed28f2c78dcd35f5f58880f67c59b00952d5a9 | 0.75 | testing_debugging_repair_refactoring | 1,161 | false | 2026-07-17 |
using System;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PlexHelper.Yts.Entities;
namespace PlexHelper.Test
{
[TestClass]
public class YtsApiTest
{
[TestMethod]
public void YtsGetTest()
... | HeartHtml/Utils | PlexHelper/PlexHelper.Test/YtsApiTest.cs | https://github.com/HeartHtml/Utils/blob/HEAD/PlexHelper/PlexHelper.Test/YtsApiTest.cs | ghcode:00167:24ba8cd640a6 | mit | codeparrot/github-code | 24ba8cd640a6b7fe0e43590e4ba340a4d662ffd4284116c6ef78403244ddf3d5 | 0.7 | testing_debugging_repair_refactoring | 166 | false | 2026-07-17 |
//
// TestRunner.cs
//
// Author:
// Gabor Nemeth (gabor.nemeth.dev@gmail.hu)
//
// Copyright (C) 2015, Gabor Nemeth
//
// Test runner for mobile platforms
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace NUnit.XForms
{
/// <summary>
/// Test runner
... | gabornemeth/NUnit.XForms | NUnit.XForms/TestRunner.cs | https://github.com/gabornemeth/NUnit.XForms/blob/HEAD/NUnit.XForms/TestRunner.cs | ghcode:00167:dfe8f536c670 | mit | codeparrot/github-code | dfe8f536c6709fda7ac407d749c22f90c28f79cfb8053e76aa0c1f498a9c7674 | 0.85 | testing_debugging_repair_refactoring | 545 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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,
// copy,... | asd1355215911/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Converters/DataSetConverterTests.cs | https://github.com/asd1355215911/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Converters/DataSetConverterTests.cs | ghcode:00167:7c69e90c4544 | mit | codeparrot/github-code | 7c69e90c45443a9c1230608ecc431e8c6aa3f3322170c9e225dac02a1e7dd5cc | 0.85 | testing_debugging_repair_refactoring | 3,918 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FunctionalWeapon.Monads;
namespace FunctionalWeapon.Tests.MonadsTests
{
[TestClass]
public class MaybeTests
{
[TestMethod]
public void ToMaybe_should_not_thrown_exception_on_null_reference()
{
string nullStr = nu... | AntyaDev/FunctionalWeapon | FunctionalWeapon/FunctionalWeapon.Tests/MonadsTests/MaybeTests.cs | https://github.com/AntyaDev/FunctionalWeapon/blob/HEAD/FunctionalWeapon/FunctionalWeapon.Tests/MonadsTests/MaybeTests.cs | ghcode:00167:44389d685260 | mit | codeparrot/github-code | 44389d685260576f0cd430861a6cf3f2425c1337a3d682ab7d678e2167717d86 | 0.75 | testing_debugging_repair_refactoring | 470 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using NUnit.Framework;
using Azure.Core;
using System.Threading;
using System.Threading.Tasks;
using Azure.Identity.Tests.Mock;
namespace Azure.Identity.Tests
{
public class ChainedTokenCredentialTests
... | brjohnstmsft/azure-sdk-for-net | sdk/identity/Azure.Identity/tests/ChainedTokenCredentialTests.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/identity/Azure.Identity/tests/ChainedTokenCredentialTests.cs | ghcode:00167:319e925ee24f | mit | codeparrot/github-code | 319e925ee24f46c65cb3eb5d15e4e4ad282186a1dba30ad564e8960fe83c1576 | 0.85 | testing_debugging_repair_refactoring | 1,052 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Azure.ResourceManager.Resources;
using Azure.ResourceManager.Cdn.Tests.Helper;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.ResourceManager.Cdn.T... | Azure/azure-sdk-for-net | sdk/cdn/Azure.ResourceManager.Cdn/tests/Scenario/CdnCustomDomainCollectionTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/cdn/Azure.ResourceManager.Cdn/tests/Scenario/CdnCustomDomainCollectionTests.cs | ghcode:00167:0d6fd5b5f04f | mit | codeparrot/github-code | 0d6fd5b5f04f4a7ea9be4531f2b003617e7ab59bcf072a501b1a28164b6f1542 | 0.95 | testing_debugging_repair_refactoring | 883 | false | 2026-07-17 |
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.MathUtils;
using osu.Game.Graphics;
using OpenTK;
usin... | Damnae/osu | osu.Desktop.Tests/Visual/TestCaseTextAwesome.cs | https://github.com/Damnae/osu/blob/HEAD/osu.Desktop.Tests/Visual/TestCaseTextAwesome.cs | ghcode:00167:f788f9fa36f0 | mit | codeparrot/github-code | f788f9fa36f0ca94d9c6bd09ff9bcfb132c5a4667c2b3bd174e85070a05b1850 | 0.85 | testing_debugging_repair_refactoring | 302 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2021 Henk-Jan Lebbink
//
// 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 us... | HJLebbink/asm-dude | VS/CSHARP/unit-tests-asm-dude/test_AsmDudeTools.cs | https://github.com/HJLebbink/asm-dude/blob/HEAD/VS/CSHARP/unit-tests-asm-dude/test_AsmDudeTools.cs | ghcode:00167:9684a56476bc | mit | codeparrot/github-code | 9684a56476bccaca9b2859989d2ee1231593978f213512816c8a605067b78e44 | 0.85 | testing_debugging_repair_refactoring | 293 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Reactive.Linq;
using System.Threading;
using FluentAssertions;
using LiveLinq.List;
using Xunit;
namespace LiveLinq.Tests
{
public class SelectObservableCollectionTests
{
public SelectObservableCollectionTests()
... | ApocalypticOctopus/Apocalyptic.Utilities.Net | LiveLinq.Tests/SelectObservableCollectionTests.cs | https://github.com/ApocalypticOctopus/Apocalyptic.Utilities.Net/blob/HEAD/LiveLinq.Tests/SelectObservableCollectionTests.cs | ghcode:00167:f0904f0d1f3d | mit | codeparrot/github-code | f0904f0d1f3dd8a86c51d01d719f2d04008007ff8f53f5cc9c2a48d93635c9b3 | 0.75 | testing_debugging_repair_refactoring | 1,246 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using ... | naoey/osu | osu.Game.Tests/Visual/TestCaseMatchSettingsOverlay.cs | https://github.com/naoey/osu/blob/HEAD/osu.Game.Tests/Visual/TestCaseMatchSettingsOverlay.cs | ghcode:00167:c85f6a20eefd | mit | codeparrot/github-code | c85f6a20eefdec34feab799ffe553f315b110f60ca140a17aa28c27dc250ec15 | 0.75 | testing_debugging_repair_refactoring | 988 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using LinqToDB.Mapping;
using NUnit.Framework;
namespace Tests.UserTests
{
using Model;
[TestFixture]
public class LetTests : TestBase
{
class Table1
{
public int Field3;
public int? Field5;
[Association(ThisKey="Field5", Ot... | LinqToDB4iSeries/Linq2DB4iSeries | Tests/Linq/UserTests/LetTests.cs | https://github.com/LinqToDB4iSeries/Linq2DB4iSeries/blob/HEAD/Tests/Linq/UserTests/LetTests.cs | ghcode:00167:641819dce562 | mit | codeparrot/github-code | 641819dce56217664721da0c1a9f75e35e2fedf39d08e374a0b5773a6d0c7739 | 0.75 | testing_debugging_repair_refactoring | 622 | false | 2026-07-17 |
using Dufry.Comissoes.Domain.Interfaces.Validation;
namespace Dufry.Comissoes.Domain.Entities.Specifications.CategoriaPercentualSpecs
{
public class CategoriaPercentualPercentualShouldBeLowerThanOneSpec : ISpecification<CategoriaPercentual>
{
public bool IsSatisfiedBy(CategoriaPercentual categoriaperc... | robertohermes/Comissoes | Dufry.Comissoes.Domain/Entities/Specifications/CategoriaPercentualSpecs/CategoriaPercentualPercentualShouldBeLowerThanOneSpec.cs | https://github.com/robertohermes/Comissoes/blob/HEAD/Dufry.Comissoes.Domain/Entities/Specifications/CategoriaPercentualSpecs/CategoriaPercentualPercentualShouldBeLowerThanOneSpec.cs | ghcode:00167:893794092a57 | mit | codeparrot/github-code | 893794092a5730e57f1acd37a8a7ec89f528bd1fc205821ab33583d2d18d083a | 0.75 | testing_debugging_repair_refactoring | 96 | false | 2026-07-17 |
namespace RangeIt.Tests.Iterators.Interfaces
{
using FluentAssertions;
using RangeIt.Iterators.Interfaces;
using System;
using System.Collections.Generic;
using System.Reflection;
using Traits;
using Xunit;
[Category("Iterators.Interfaces.IIterator<T, U>")]
public class IIterator_2... | henrikfroehling/RangeIt | Source/Tests/RangeIt.Tests/Iterators/Interfaces/IIterator'2_Tests.cs | https://github.com/henrikfroehling/RangeIt/blob/HEAD/Source/Tests/RangeIt.Tests/Iterators/Interfaces/IIterator'2_Tests.cs | ghcode:00167:5f11aebd10a5 | mit | codeparrot/github-code | 5f11aebd10a5f847b1ac715f0d5bb184f5afca6a6ef9196e20fee62900680f74 | 0.85 | testing_debugging_repair_refactoring | 444 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace RockSolidIoc.Tests
{
[TestClass]
public class ResolverConfigurationElementTests
{
[TestMethod]
public void TestTypeName()
{
string s =... | hanson-andrew/RockSolidIoc | RockSolidIoc.Tests/Configuration/ResolverConfigurationElementTests.cs | https://github.com/hanson-andrew/RockSolidIoc/blob/HEAD/RockSolidIoc.Tests/Configuration/ResolverConfigurationElementTests.cs | ghcode:00167:1f8b1aab08fc | mit | codeparrot/github-code | 1f8b1aab08fc4b19e933172d463f155decac4cf33e91167d86fc44b37de8a59b | 0.75 | testing_debugging_repair_refactoring | 197 | false | 2026-07-17 |
using FluentAssertions;
using Neutronium.Core.WebBrowserEngine.JavascriptObject;
using Xunit;
namespace Neutronium.Core.Test.WebBrowserEngine.JavascriptObject
{
public class JavascriptNamerTest
{
[Theory]
[InlineData("a", "'a'")]
[InlineData("cat", "'cat'")]
[InlineData(@"\", @... | David-Desmaisons/Neutronium | Tests/Neutronium.Core.Test/WebBrowserEngine/JavascriptObject/JavascriptNamerTest.cs | https://github.com/David-Desmaisons/Neutronium/blob/HEAD/Tests/Neutronium.Core.Test/WebBrowserEngine/JavascriptObject/JavascriptNamerTest.cs | ghcode:00167:b5cbb4bb8d72 | mit | codeparrot/github-code | b5cbb4bb8d721f5ea953174a8404d1513729674397536819fb86e2c41078419e | 0.75 | testing_debugging_repair_refactoring | 206 | false | 2026-07-17 |
namespace SafeMapper.Profiler
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
public class Profiler
{
public static long Profile(Action action, int iterations = 100000, long warmUpTimeMs = 1200)
{
... | unger/SafeMapper | SafeMapper.Tests.Model/Profiler.cs | https://github.com/unger/SafeMapper/blob/HEAD/SafeMapper.Tests.Model/Profiler.cs | ghcode:00167:73223c34c57b | mit | codeparrot/github-code | 73223c34c57bf603ce2daa1c37236c0b86b93a3ce5a70f7ec3668df4c38bce4b | 0.85 | testing_debugging_repair_refactoring | 484 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
#nullable enable
using System;
namespace NUnit.Framework
{
using Interfaces;
/// <summary>
/// Thrown when a test executes inconclusively.
/// </summary>
[Serializable]
public class InconclusiveExcepti... | nunit/nunit | src/NUnitFramework/framework/Exceptions/InconclusiveException.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/framework/Exceptions/InconclusiveException.cs | ghcode:00167:fd1e4ca56da5 | mit | codeparrot/github-code | fd1e4ca56da526fb3d4e44ec2fcf8f1456a7d9390ecff0827c4adce404ea002b | 0.85 | testing_debugging_repair_refactoring | 284 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using DotSlashZero;
using DotSlashZero.DotNetFrameworkLib;
namespace DotSlashZero.DotNetFrameworkLib.Test
{
internal static class Program
{
internal sealed class MyGenerator : IGenerator
{
public MyGenerator()
{
... | vycasas/language.bindings | dotnet/framework/test/Program.cs | https://github.com/vycasas/language.bindings/blob/HEAD/dotnet/framework/test/Program.cs | ghcode:00167:98c2ebafa47e | mit | codeparrot/github-code | 98c2ebafa47e019f2979a8818f5e66f2e861107bf177b760055eb2b41f8ea96b | 0.85 | testing_debugging_repair_refactoring | 492 | false | 2026-07-17 |
using NUnit.Framework;
namespace NUnit.VisualStudio.TestAdapter.Tests.Acceptance
{
// https://github.com/nunit/nunit/issues/3166
[SetUpFixture]
public sealed class AcceptanceTestsTeardownFixture
{
[OneTimeTearDown]
public static void OneTimeTearDown()
{
AcceptanceTe... | nunit/nunit3-vs-adapter | src/NUnit.TestAdapter.Tests.Acceptance/AcceptanceTestsTeardownFixture.cs | https://github.com/nunit/nunit3-vs-adapter/blob/HEAD/src/NUnit.TestAdapter.Tests.Acceptance/AcceptanceTestsTeardownFixture.cs | ghcode:00167:1cba9bcd8463 | mit | codeparrot/github-code | 1cba9bcd8463e5d8b9dce03b22430b799895d0f38c4e8390e7dbd551ebfc4ef6 | 0.75 | testing_debugging_repair_refactoring | 83 | 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.Tasks;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.Core.TestFramework;
using Azure.Security.KeyVault.Secrets;
using NUnit... | AsrOneSdk/azure-sdk-for-net | sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialArcLiveTests.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialArcLiveTests.cs | ghcode:00167:e32152bce7c5 | mit | codeparrot/github-code | e32152bce7c524477c984a8cb62e960e845b6982a2488b992fad795b0bcf0d7d | 0.95 | testing_debugging_repair_refactoring | 741 | 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.ReadabilityRules
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.C... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1120UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1120UnitTests.cs | ghcode:00167:b26729e24749 | mit | codeparrot/github-code | b26729e2474933ec731190af3d818a860d4510c4f65422cba8d51846214a915b | 0.85 | testing_debugging_repair_refactoring | 2,230 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading;
using Csla.Core;
namespace Csla.Test.AppContext
{
public class TestContext : IContextManager
{
[ThreadStatic]
private static ... | rockfordlhotka/csla | Source/Csla.test/AppContext/TestContext.cs | https://github.com/rockfordlhotka/csla/blob/HEAD/Source/Csla.test/AppContext/TestContext.cs | ghcode:00167:e92683ec5f19 | mit | codeparrot/github-code | e92683ec5f191b7dccd3d1c7d10c877b619fcc4e7ed198d25580e1e980eb2ac8 | 0.85 | testing_debugging_repair_refactoring | 660 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MvpFramework.Menu;
using MvpFramework.Binding;
using JohnLambe.Util;
namespace MvpFrameworkTest.Menu
{
[TestClass]
public class OptionC... | JohnLambe/JLCSUtils | JLCSUtils/MvpFrameworkTest/Menu/OptionCollectionBuilderTest.cs | https://github.com/JohnLambe/JLCSUtils/blob/HEAD/JLCSUtils/MvpFrameworkTest/Menu/OptionCollectionBuilderTest.cs | ghcode:00167:d602053da33e | mit | codeparrot/github-code | d602053da33ebbeebd33e7d42307b780f0f65f28cd2fcb27a23c8302d3e5bd81 | 0.85 | testing_debugging_repair_refactoring | 1,024 | false | 2026-07-17 |
using Framework.Browser;
using Framework.UnitTests.PageObjects;
using NUnit.Framework;
using System;
using System.IO;
using System.Linq;
namespace Framework.UnitTests
{
public class TestBase
{
protected static readonly log4net.ILog Log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCur... | jbaranda/web-test-framework | dotnet/WebTestFramework/Framework.UnitTests/UnitTests/TestBase.cs | https://github.com/jbaranda/web-test-framework/blob/HEAD/dotnet/WebTestFramework/Framework.UnitTests/UnitTests/TestBase.cs | ghcode:00167:780be4df57bd | mit | codeparrot/github-code | 780be4df57bd352bf3da8b5f8827a1f7e32e5059790db1a68c7d16e5ff7151f5 | 0.75 | testing_debugging_repair_refactoring | 675 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.Index3
{
public partial class Index3YamlTests
{
[NCrunch.Framework.ExclusivelyUses("Elast... | amitstefen/elasticsearch-net | src/Tests/Elasticsearch.Net.Integration.Yaml/index/20_optype.yaml.cs | https://github.com/amitstefen/elasticsearch-net/blob/HEAD/src/Tests/Elasticsearch.Net.Integration.Yaml/index/20_optype.yaml.cs | ghcode:00167:fee3d19f9555 | mit | codeparrot/github-code | fee3d19f9555ee00358b35cfc9c27d1353f6202d178e42bc0d2631e6bdfa00ab | 0.95 | testing_debugging_repair_refactoring | 322 | false | 2026-07-17 |
using System;
using BCLExtensions.Tests.TestHelpers;
using Xunit;
using Xunit.Extensions;
namespace BCLExtensions.Tests.IntExtensions
{
public class IsBetweenExclusiveTests
{
[Theory]
[InlineData(0,-1,1)]
[InlineData(0,int.MinValue,int.MaxValue)]
[InlineData(42, 30, 60)]
... | csMACnz/BCLExtensions | src/BCLExtensions.Tests/IntExtensions/IsBetweenExclusiveTests.cs | https://github.com/csMACnz/BCLExtensions/blob/HEAD/src/BCLExtensions.Tests/IntExtensions/IsBetweenExclusiveTests.cs | ghcode:00167:043678f52a03 | mit | codeparrot/github-code | 043678f52a038f3b82df88690082ad086a27c72f39b2da7a1e4f26ce35a427a4 | 0.75 | testing_debugging_repair_refactoring | 386 | false | 2026-07-17 |
/*
* Copyright 2012-2016 The Pkcs11Interop Project
*
* 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 ap... | thearkhelist/Pkcs11Interop | src/Pkcs11Interop/Pkcs11InteropTests/LowLevelAPI81/_28b_Pkcs11UriUtilsTest.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/Pkcs11InteropTests/LowLevelAPI81/_28b_Pkcs11UriUtilsTest.cs | ghcode:00167:8d249217743d | apache-2.0 | codeparrot/github-code | 8d249217743d8a174f1c972f49e3c553c74ca48ae8a18b93408d0ea9269682f5 | 0.85 | testing_debugging_repair_refactoring | 6,511 | false | 2026-07-17 |
using System;
using System.IO;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading;
namespace Salient.ReliableHttpClient.Tests
{
public class TestWebRequest : WebRequest
{
public static TestWebRequest CreateTestRequest(Regex requestUriRegex, string response, TimeSpan latency... | bitpusher/Salient.ReliableHttpClient | src/Salient.ReliableHttpClient.Tests/Mocks/TestWebRequest.cs | https://github.com/bitpusher/Salient.ReliableHttpClient/blob/HEAD/src/Salient.ReliableHttpClient.Tests/Mocks/TestWebRequest.cs | ghcode:00167:f66a1e1e6411 | apache-2.0 | codeparrot/github-code | f66a1e1e6411d87ffcc7cfb7381849166215c4bb8a057cbd609531f600e88c47 | 0.85 | testing_debugging_repair_refactoring | 1,382 | 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 You under the Apache License, Version 2.0
* (the "License"); you may ... | mhansonp/geode-native | clicache/integration-test/ThinClientDeltaTestN.cs | https://github.com/mhansonp/geode-native/blob/HEAD/clicache/integration-test/ThinClientDeltaTestN.cs | ghcode:00167:11d38d900e10 | apache-2.0 | codeparrot/github-code | 11d38d900e10fe96604df1884f110c6b0818f0cc13ce804682ff8b3f9990902e | 0.85 | testing_debugging_repair_refactoring | 7,302 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using MongoDB.Driver;
using NUnit.Framework;
namespace NServiceBus.Persistence.MognoDb.Tests.SagaPersistence
{
public class When_updating_a_saga_with_unique_properties : MongoFixture
{
[Test]
public async Task It_should_persist_successfully()
... | tekmaven/NServiceBus.Persistence.MongoDb | src/NServiceBus.Persistence.MognoDb.Tests/SagaPersistence/When_updating_a_saga_with_unique_properties.cs | https://github.com/tekmaven/NServiceBus.Persistence.MongoDb/blob/HEAD/src/NServiceBus.Persistence.MognoDb.Tests/SagaPersistence/When_updating_a_saga_with_unique_properties.cs | ghcode:00167:b0171e11e133 | apache-2.0 | codeparrot/github-code | b0171e11e13391b325ca61f56ec2523643e623739f0d883e929813058812fe20 | 0.7 | testing_debugging_repair_refactoring | 324 | false | 2026-07-17 |
using Cube.XRM.Framework.Core;
using Cube.XRM.Framework.Interfaces;
using FakeItEasy;
using FakeXrmEasy;
using Microsoft.Xrm.Sdk;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Cube.XRM.Framework.Tests
{
public class Actio... | bkanlica/CubeXrmFramework | Cube.XRM.Framework.Tests/ActionTests.cs | https://github.com/bkanlica/CubeXrmFramework/blob/HEAD/Cube.XRM.Framework.Tests/ActionTests.cs | ghcode:00167:95dac0d8efc9 | apache-2.0 | codeparrot/github-code | 95dac0d8efc9395052944329a49810310efd8e754d9f299aedabfc8f2573b597 | 0.85 | testing_debugging_repair_refactoring | 547 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Exporters;
namespace MicroBenchmarks.Linq
{
[Config(typeof(Config))]
public clas... | danielmarbach/MicroBenchmarks | MicroBenchmarks/Linq/EnumerableVsList.cs | https://github.com/danielmarbach/MicroBenchmarks/blob/HEAD/MicroBenchmarks/Linq/EnumerableVsList.cs | ghcode:00167:f541c56f12a7 | apache-2.0 | codeparrot/github-code | f541c56f12a74f42c770cbaad1bf5ac556d5d90998aa45756d3df92a471014cf | 0.6 | testing_debugging_repair_refactoring | 317 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using FtpServer;
using NUnit.Framework;
namespace FtpServerTest{
public class CurrentDirTest{
[Test]
public void ContentTypeTest(){
//....\\FtpServerTest\\TestDir
var startup = Directory.GetCurrentDirectory();
... | furuya02/bjd5 | FtpServerTest/CurrentDirTest.cs | https://github.com/furuya02/bjd5/blob/HEAD/FtpServerTest/CurrentDirTest.cs | ghcode:00167:d4a1d35b92dc | apache-2.0 | codeparrot/github-code | d4a1d35b92dc63d3cb89d1af817c111a873ada6c819d6f27b1dab53d3c040544 | 0.7 | testing_debugging_repair_refactoring | 2,035 | 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 Microsoft.AspNetCore.Mvc.RazorPages;
namespace Microsoft.AspNetCore.Mvc.Api.Analyzers
{
public class Home : PageModel
{
#pragma warning disable MVC1001
[Produ... | aspnet/AspNetCore | src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForRazorPageModels.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForRazorPageModels.cs | ghcode:00167:7a09ef4eeb0e | apache-2.0 | codeparrot/github-code | 7a09ef4eeb0e02abee476d83a553edc31737dad55a9f15522c8870bcd8a1e8d4 | 0.85 | testing_debugging_repair_refactoring | 117 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EConnectApi.Definitions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EConnectApiUnitTests
{
[TestClass]
public class StatusesTests
{
[TestMethod]
public void DeserializationTest()
... | everbinding/eConnect-API | EConnectApiUnitTests/Statuses.cs | https://github.com/everbinding/eConnect-API/blob/HEAD/EConnectApiUnitTests/Statuses.cs | ghcode:00167:edb270a2a3c2 | apache-2.0 | codeparrot/github-code | edb270a2a3c2965b29300b13d42f85dcfb2111f500fd7fea9bcd74df9cb54814 | 0.75 | testing_debugging_repair_refactoring | 688 | false | 2026-07-17 |
using MaxMind.MinFraud.Response;
using System.Text.Json;
using Xunit;
namespace MaxMind.MinFraud.UnitTest.Response
{
public class GeoIP2LocationTest
{
[Fact]
public void TestGetLocalTime()
{
var time = "2015-04-19T12:59:23-01:00";
var location = JsonSerializer.D... | maxmind/minfraud-api-dotnet | MaxMind.MinFraud.UnitTest/Response/GeoIP2LocationTest.cs | https://github.com/maxmind/minfraud-api-dotnet/blob/HEAD/MaxMind.MinFraud.UnitTest/Response/GeoIP2LocationTest.cs | ghcode:00167:2723a28d9d7c | apache-2.0 | codeparrot/github-code | 2723a28d9d7c7a3b990d9049702c342637569aa7891901eda21e36959a0db1d4 | 0.6 | testing_debugging_repair_refactoring | 137 | false | 2026-07-17 |
// -----------------------------------------------------------------------------------------
// <copyright file="CloudQueueTest.cs" company="Microsoft">
// Copyright 2012 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complia... | takekazuomi/azure-sdk-for-net | microsoft-azure-api/Services/Storage/Test/Unit/RT/Queue/CloudQueueTest.cs | https://github.com/takekazuomi/azure-sdk-for-net/blob/HEAD/microsoft-azure-api/Services/Storage/Test/Unit/RT/Queue/CloudQueueTest.cs | ghcode:00167:644f6ec05012 | apache-2.0 | codeparrot/github-code | 644f6ec0501281495f7cb9ac8b471dce7cd404b159014de0dbf8114ab6ccc7f7 | 0.95 | testing_debugging_repair_refactoring | 2,433 | 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.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests
... | aspnet/AspNetCore | src/Servers/Kestrel/shared/test/TransportTestHelpers/DiagnosticMemoryPoolFactory.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Servers/Kestrel/shared/test/TransportTestHelpers/DiagnosticMemoryPoolFactory.cs | ghcode:00167:dd1bf0bf0698 | apache-2.0 | codeparrot/github-code | dd1bf0bf069846168f74dbc21af0f1b7434e08558aeab64b3bf8aa9f1986e5ae | 0.85 | testing_debugging_repair_refactoring | 258 | false | 2026-07-17 |
using Nest;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tests.Framework;
using static Tests.Framework.RoundTripper;
using static Nest.Static;
using System.Reflection;
namespace Tests.ClientConcepts.HighLevel.Mapping
{
/** # Auto mapping pr... | jonyadamit/elasticsearch-net | src/Tests/ClientConcepts/HighLevel/Mapping/AutoMap.doc.cs | https://github.com/jonyadamit/elasticsearch-net/blob/HEAD/src/Tests/ClientConcepts/HighLevel/Mapping/AutoMap.doc.cs | ghcode:00167:34ca877387e6 | apache-2.0 | codeparrot/github-code | 34ca877387e6cc8c22c248394205d7e5e1ff65bde10cc539309cfd9acf6873ec | 0.95 | testing_debugging_repair_refactoring | 4,850 | false | 2026-07-17 |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution... | juanyaw/PTVS | Python/Tests/Analysis/ParserTests.cs | https://github.com/juanyaw/PTVS/blob/HEAD/Python/Tests/Analysis/ParserTests.cs | ghcode:00167:814022fe473f | apache-2.0 | codeparrot/github-code | 814022fe473ff077faefe55f1a2c6a40bf4d5e59c5c2db0d89a6d47ae5e28fea | 0.75 | testing_debugging_repair_refactoring | 46,729 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Collections;
namespace Noesis.Javascript.Tests
{
[TestClass]
public class AccessorInterceptorTests
{
private JavascriptContext _context;
[TestInitialize... | JavascriptNet/Javascript.Net | Tests/Noesis.Javascript.Tests/AccessorInterceptorTests.cs | https://github.com/JavascriptNet/Javascript.Net/blob/HEAD/Tests/Noesis.Javascript.Tests/AccessorInterceptorTests.cs | ghcode:00167:e8ebb1763c08 | bsd-2-clause | codeparrot/github-code | e8ebb1763c08e9a3c08f963ea6ab26014bce8a0581bbb6ec7c6623795a77eb2c | 0.68 | testing_debugging_repair_refactoring | 3,880 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using ThScoreFileConverter.Helpers;
using ThScoreFileConverter.Models;
using ThScoreFileConverter.Models.Th12;
using ThScoreFileConverterTests.UnitTesting;
using Chapter = ThScoreFileCon... | y-iihoshi/ThScoreFileConverter | ThScoreFileConverterTests/Models/Th12/ClearDataTests.cs | https://github.com/y-iihoshi/ThScoreFileConverter/blob/HEAD/ThScoreFileConverterTests/Models/Th12/ClearDataTests.cs | ghcode:00167:30cdc869cf63 | bsd-2-clause | codeparrot/github-code | 30cdc869cf630c50b4289619c2fa9b4902be24e36933cba9a5bc09b57a23c4cc | 0.68 | testing_debugging_repair_refactoring | 1,539 | false | 2026-07-17 |
using FasterTests.Core.Interfaces.Integration;
using NUnit.Core;
namespace FasterTests.Core.Integration.Nunit
{
public class TestFrameworkInitializer : ITestFrameworkInitializer
{
public void EnsureInitialized()
{
if (!CoreExtensions.Host.Initialized)
{
C... | devoyster/FasterTests | Source/Core/Integration/Nunit/TestFrameworkInitializer.cs | https://github.com/devoyster/FasterTests/blob/HEAD/Source/Core/Integration/Nunit/TestFrameworkInitializer.cs | ghcode:00167:4dbe3e5d06a5 | bsd-3-clause | codeparrot/github-code | 4dbe3e5d06a53064e33a37be19b27d60ca2c21de0d8046e86e5a682bbd2d094a | 0.75 | testing_debugging_repair_refactoring | 90 | 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 i... | TangibleCryptography/BitSharper | src/Test/ScriptTest.cs | https://github.com/TangibleCryptography/BitSharper/blob/HEAD/src/Test/ScriptTest.cs | ghcode:00167:f3a7d08dce3f | bsd-3-clause | codeparrot/github-code | f3a7d08dce3fb378d6ae97d9025466f2ce698eef0150105ebf495890e1f34dbe | 0.95 | testing_debugging_repair_refactoring | 961 | false | 2026-07-17 |
namespace BullOak.Repositories.Test.Acceptance.Contexts
{
using System;
using BullOak.Repositories.Appliers;
public class StateApplier : IApplyEvent<IHoldHigherOrder, MyEvent>,
IApplyEvent<IHoldHigherOrder, BuyerFullNameSetEvent>,
IApplyEvent<IHoldHigherOrder, BalanceSetEvent>,
IAp... | BullOak/BullOak | src/BullOak.Repositories.Test.Acceptance/Contexts/StateApplier.cs | https://github.com/BullOak/BullOak/blob/HEAD/src/BullOak.Repositories.Test.Acceptance/Contexts/StateApplier.cs | ghcode:00167:f619b7f0b70e | mit | codeparrot/github-code | f619b7f0b70e36fc86761f872d6d1b6103f259ef0edf98dfc231cbbefc77a638 | 0.75 | testing_debugging_repair_refactoring | 250 | 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 System;
using System.Security.Cryptography;
using System.Threading;
using KeyVault.TestFramework;
using Microsoft.Azure.KeyVault.WebKey;
using Microsoft... | Azure/azure-sdk-for-net | sdk/keyvault/Microsoft.Azure.KeyVault.Extensions/tests/Tests/KeyVaultKeyResolverTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/keyvault/Microsoft.Azure.KeyVault.Extensions/tests/Tests/KeyVaultKeyResolverTests.cs | ghcode:00167:4c9a250c9443 | mit | codeparrot/github-code | 4c9a250c9443b4240c3780008ea1a6df80af7026f9700b352c1df35dfcf9aed0 | 0.95 | testing_debugging_repair_refactoring | 1,671 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace ReduxRxNET.Store.Tests
{
//[TestClass]
public class PerformanceTests
{
private int iterations = 50000000;
public PerformanceTests()
{
}
... | LanderVe/ReduxRxNET.Store | ReduxRxNET.Store.Tests/PerformanceTests.cs | https://github.com/LanderVe/ReduxRxNET.Store/blob/HEAD/ReduxRxNET.Store.Tests/PerformanceTests.cs | ghcode:00167:442da2d3e5d2 | mit | codeparrot/github-code | 442da2d3e5d20154ec3622c993ca26d58bca47a2072a263d557963004f486453 | 0.85 | testing_debugging_repair_refactoring | 1,218 | false | 2026-07-17 |
using System.Collections.Generic;
using GraphQL.Execution;
using Shouldly;
using Xunit;
namespace GraphQL.Tests.Bugs
{
public class Bug1626
{
[Fact]
public void GetArgument_Should_Not_Throw_AmbiguousMatchException()
{
var context = new ResolveFieldContext
{
... | graphql-dotnet/graphql-dotnet | src/GraphQL.Tests/Bugs/Bug1626.cs | https://github.com/graphql-dotnet/graphql-dotnet/blob/HEAD/src/GraphQL.Tests/Bugs/Bug1626.cs | ghcode:00167:913d1a727715 | mit | codeparrot/github-code | 913d1a727715e6e30901286e126efef77f7017691570b5a9503bd249e3997dd1 | 0.75 | testing_debugging_repair_refactoring | 307 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2007, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org.
// ****************************************************************
using System;
using Sy... | acken/AutoTest.Net | lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/tests/Syntax/TestCompiler.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/tests/Syntax/TestCompiler.cs | ghcode:00167:d9234847b66b | mit | codeparrot/github-code | d9234847b66b4181eca6f4e933685b94fcde4228a7ce9792b391f360c9722bbd | 0.95 | testing_debugging_repair_refactoring | 359 | false | 2026-07-17 |
namespace Sitecore.FakeDb.Tests.Data.Engines.DataCommands.Prototypes
{
using FluentAssertions;
using Sitecore.FakeDb.Data.Engines;
using Sitecore.FakeDb.Data.Engines.DataCommands;
using Sitecore.FakeDb.Data.Engines.DataCommands.Prototypes;
using Sitecore.Reflection;
using Xunit;
public class SetBlobStrea... | pveller/Sitecore.FakeDb | test/Sitecore.FakeDb.Tests/Data/Engines/DataCommands/Prototypes/SetBlobStreamCommandPrototypeTest.cs | https://github.com/pveller/Sitecore.FakeDb/blob/HEAD/test/Sitecore.FakeDb.Tests/Data/Engines/DataCommands/Prototypes/SetBlobStreamCommandPrototypeTest.cs | ghcode:00167:ab22fcd927f4 | mit | codeparrot/github-code | ab22fcd927f4372deccf9dfdb2f066e6d0c76138744d44ef3eac251940636fc0 | 0.6 | testing_debugging_repair_refactoring | 143 | false | 2026-07-17 |
using BenchmarkDotNet.Characteristics;
using JetBrains.Annotations;
using System;
using System.Diagnostics.CodeAnalysis;
namespace BenchmarkDotNet.Jobs
{
[SuppressMessage("ReSharper", "UnassignedReadonlyField")]
public sealed class Job : JobMode<Job>
{
[PublicAPI] public static readonly Characteri... | Ky7m/BenchmarkDotNet | src/BenchmarkDotNet/Jobs/Job.cs | https://github.com/Ky7m/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Jobs/Job.cs | ghcode:00167:e42d167991a4 | mit | codeparrot/github-code | e42d167991a4a2dec1bf772d114d6c976f01528d26fcb08d5ac2b2f170882804 | 0.85 | testing_debugging_repair_refactoring | 1,053 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using newtelligence.DasBlog.Web.Core;
namespace newtelligence.DasBlog.Web.Core.Test
{
[TestFixture]
public class UtilitiesTests
{
[Test]
public void ApplyContentFilters_NoReplacements()
{
string content = "Smile";
string expectedContent = "Smile";
SiteConfig sit... | poppastring/dasblog | source/newtelligence.DasBlog.Web.Core/Test/UtilitiesTests.cs | https://github.com/poppastring/dasblog/blob/HEAD/source/newtelligence.DasBlog.Web.Core/Test/UtilitiesTests.cs | ghcode:00167:bc2df717c998 | mit | codeparrot/github-code | bc2df717c998900617fd7eedb6da3f0a5abae11d39a3036bda076495024cf876 | 0.95 | testing_debugging_repair_refactoring | 2,104 | false | 2026-07-17 |
using TestCommon;
using TestCommon.Mocks;
using Xunit;
namespace GenFx.Tests
{
/// <summary>
/// Contains unit tests for the <see cref="Plugin"/> class.
/// </summary>
public class PluginTest
{
/// <summary>
/// Tests that the <see cref="Plugin.OnAlgorithmCompleted"/> method is cal... | mthalman/GenFx | src/GenFx.Tests/PluginTest.cs | https://github.com/mthalman/GenFx/blob/HEAD/src/GenFx.Tests/PluginTest.cs | ghcode:00167:74ede2bb31ba | mit | codeparrot/github-code | 74ede2bb31baca18ea7a034a5a0f2d24c1747a9b4c040758c6f586c2c8c17efd | 0.7 | testing_debugging_repair_refactoring | 535 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Messaging.ServiceBus;
using Microsoft.Azure.WebJobs.Extensions.ServiceBus.Config;
using Microsoft.Azure.WebJobs.ServiceBus.Tests;
using Microsoft.Extensions.Azure;
using Microsoft.Extensions.Configuration;
usin... | Azure/azure-sdk-for-net | sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/tests/Config/ServiceBusClientFactoryTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/tests/Config/ServiceBusClientFactoryTests.cs | ghcode:00167:09f332a0c6a1 | mit | codeparrot/github-code | 09f332a0c6a18a7fa7ca06509aaf7a9470fb9984a5de0425b4498ad4aa45fdf9 | 0.85 | testing_debugging_repair_refactoring | 410 | false | 2026-07-17 |
// Code generated by Microsoft (R) AutoRest Code Generator 1.2.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace ApplicationGateway.Models
{
/// <summary>
/// Defines values for AuthorizationUseStatus.
/// </summary>
public static class Authorization... | lmazuel/autorest | Samples/test/end-to-end/network/Client/Models/AuthorizationUseStatus.cs | https://github.com/lmazuel/autorest/blob/HEAD/Samples/test/end-to-end/network/Client/Models/AuthorizationUseStatus.cs | ghcode:00167:5b3358472841 | mit | codeparrot/github-code | 5b33584728418062738efc45db86b9b92dcb88534ce73c2af0f47575120982f2 | 0.95 | testing_debugging_repair_refactoring | 97 | false | 2026-07-17 |
// DotNetNuke® - http://www.dnnsoftware.com
// Copyright (c) 2002-2015, DNN Corp.
// All Rights Reserved
using System;
using System.Globalization;
using System.IO;
namespace DotNetNuke.Tests.Integration.Framework.Helpers
{
public static class FolderHelper
{
private const int ByteOffset = 255;
... | JoshuaBradley/Dnn.Platform | DNN Platform/Tests/DotNetNuke.Tests.Integration/Framework/Helpers/FolderHelper.cs | https://github.com/JoshuaBradley/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DotNetNuke.Tests.Integration/Framework/Helpers/FolderHelper.cs | ghcode:00167:1d4a403aea5d | mit | codeparrot/github-code | 1d4a403aea5daea32468c21bd92767ec8b68999783ecaaaa62d36a90b99990ee | 0.95 | testing_debugging_repair_refactoring | 243 | false | 2026-07-17 |
// Copyright 2015-2016 Google Inc. All Rights Reserved.
// Licensed under the Apache License Version 2.0.
using Google.PowerShell.Provider;
using NUnit.Framework;
using System.Collections;
using System.Linq;
using System;
using System.Threading;
namespace Google.PowerShell.Tests.Common
{
[TestFixture]
public... | chrsmith/google-cloud-powershell | Google.PowerShell.Tests/Provider/CacheItemTest.cs | https://github.com/chrsmith/google-cloud-powershell/blob/HEAD/Google.PowerShell.Tests/Provider/CacheItemTest.cs | ghcode:00167:764717211080 | apache-2.0 | codeparrot/github-code | 76471721108082c355653a7c8ad2c4985034ffc61f5758656578e42e5c002dff | 0.85 | testing_debugging_repair_refactoring | 588 | false | 2026-07-17 |
using kafka_tests.Fakes;
using KafkaNet;
using KafkaNet.Model;
using KafkaNet.Protocol;
using Moq;
using Ninject.MockingKernel.Moq;
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
namespace kafka_tests
{
public class BrokerRouterProxy
{
... | BDeus/KafkaNetClient | src/kafka-tests/Fakes/BrokerRouterProxy.cs | https://github.com/BDeus/KafkaNetClient/blob/HEAD/src/kafka-tests/Fakes/BrokerRouterProxy.cs | ghcode:00167:48a4d9f1d1f9 | apache-2.0 | codeparrot/github-code | 48a4d9f1d1f91364c9b14110d3783780500d732fd6bd90a18f37795bbbbfdda0 | 0.85 | testing_debugging_repair_refactoring | 1,075 | false | 2026-07-17 |
// Copyright 2010 Chris Patterson
//
// 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 ... | murador/Stact | src/Stact.ForNHibernate.Specs/Auditing/Complete/Audit_Specs.cs | https://github.com/murador/Stact/blob/HEAD/src/Stact.ForNHibernate.Specs/Auditing/Complete/Audit_Specs.cs | ghcode:00167:4f6487d5427e | apache-2.0 | codeparrot/github-code | 4f6487d5427ee8fc5c54469a8f810f137a3b184d1735e0b516bea1b1062fd8e8 | 0.7 | testing_debugging_repair_refactoring | 745 | false | 2026-07-17 |
#region license
// Copyright (c) 2007-2010 Mauricio Scheffer
//
// 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 requir... | mausch/SolrNet | SolrNet.DSL.Tests/DSLTests.cs | https://github.com/mausch/SolrNet/blob/HEAD/SolrNet.DSL.Tests/DSLTests.cs | ghcode:00167:1711331890f8 | apache-2.0 | codeparrot/github-code | 1711331890f8ac38cb3cd2f9ebd7766e2b833dd4e18efc74de86341a4b2d4fe4 | 0.85 | testing_debugging_repair_refactoring | 3,596 | 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.... | Azure/durabletask | test/DurableTask.Test.Orchestrations/Stress/TestTask.cs | https://github.com/Azure/durabletask/blob/HEAD/test/DurableTask.Test.Orchestrations/Stress/TestTask.cs | ghcode:00167:be20d44e1e3c | apache-2.0 | codeparrot/github-code | be20d44e1e3cb5f3088b4fe9bffa1fe645c36fa96c9d1c8ffd1c33ad1b4cb61f | 0.85 | testing_debugging_repair_refactoring | 336 | false | 2026-07-17 |
// 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.Collections.Generic;
using System.Text;
using System.Diagnostics;
using Microsoft.Build.Shared;
using Microsoft.Build.Internal;
using Micros... | Microsoft/msbuild | src/Build/Definition/BuiltInMetadata.cs | https://github.com/Microsoft/msbuild/blob/HEAD/src/Build/Definition/BuiltInMetadata.cs | ghcode:00167:9a5ee36c6029 | mit | codeparrot/github-code | 9a5ee36c6029b457f3bf48ddb1cdcad27cc03fcf6d1b7b7f79d92092c690860a | 0.85 | testing_debugging_repair_refactoring | 1,145 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Diagnostics.CodeAnalysis;
using Microsoft.R.Core.Test.Utility;
using Microsoft.UnitTests.Core.XUnit;
namespace Microsoft.R.Core.Test.Parser {
[Excl... | AlexanderSher/RTVS | src/R/Core/Test/Parser/ParseMultilineExpressionsTest.cs | https://github.com/AlexanderSher/RTVS/blob/HEAD/src/R/Core/Test/Parser/ParseMultilineExpressionsTest.cs | ghcode:00167:f9b3fb330b0f | mit | codeparrot/github-code | f9b3fb330b0f7d3a480ddb4a8b9fdc53462bac94704d9cc1f3a2ad4ec98eee00 | 0.85 | testing_debugging_repair_refactoring | 1,317 | false | 2026-07-17 |
using System;
using Moq;
using Sogeti.Academy.Application.Presentations.Commands.Add;
using Sogeti.Academy.Application.Presentations.Factories;
using Sogeti.Academy.Application.Presentations.Models;
using Xunit;
namespace Sogeti.Academy.Application.Test.Presentations.Factories
{
public class PresentationFactoryTe... | dsm-sogeti-usa-llc/dotnet-sogeti-academy | test/Application.Test/Presentations/Factories/PresentationFactoryTest.cs | https://github.com/dsm-sogeti-usa-llc/dotnet-sogeti-academy/blob/HEAD/test/Application.Test/Presentations/Factories/PresentationFactoryTest.cs | ghcode:00167:f5e9313a7641 | mit | codeparrot/github-code | f5e9313a764186f9f0fa22b014db16675753480397523cdea0182b49332e6f32 | 0.6 | testing_debugging_repair_refactoring | 497 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Octokit;
using Octokit.Tests.Integration;
using Octokit.Tests.Integration.Helpers;
using Xunit;
public class TeamsClientTests
{
public class TheCreateMethod
{
[OrganizationTest]
public async Task CreatesTeam... | shiftkey/octokit.net | Octokit.Tests.Integration/Clients/TeamsClientTests.cs | https://github.com/shiftkey/octokit.net/blob/HEAD/Octokit.Tests.Integration/Clients/TeamsClientTests.cs | ghcode:00167:301687e6377b | mit | codeparrot/github-code | 301687e6377bd1eb82850d08ec73436073bc35ea582d976236387411ab55a03d | 0.85 | testing_debugging_repair_refactoring | 3,420 | false | 2026-07-17 |
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Exporters;
using BenchmarkDotNet.Attributes.Jobs;
using Marten.Testing;
namespace MartenBenchmarks
{
[SimpleJob(warmupCount: 2)]
public class DocumentActions
{
public static Target[] Docs = Target.GenerateRandomD... | jokokko/marten | src/MartenBenchmarks/DocumentActions.cs | https://github.com/jokokko/marten/blob/HEAD/src/MartenBenchmarks/DocumentActions.cs | ghcode:00167:e0e9efd0c4e9 | mit | codeparrot/github-code | e0e9efd0c4e99245654dbe9e6268d44d02ad2516fb3abc52ad88593b66aeecca | 0.75 | testing_debugging_repair_refactoring | 156 | 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.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immut... | physhi/roslyn | src/Workspaces/Core/Portable/Workspace/Solution/ProjectState.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Workspaces/Core/Portable/Workspace/Solution/ProjectState.cs | ghcode:00167:80ac941f7fcf | apache-2.0 | codeparrot/github-code | 80ac941f7fcfeb7d3cf4608ec657ddc3d0f8533cb63b0739731767d4f2fad8ae | 0.85 | testing_debugging_repair_refactoring | 6,662 | false | 2026-07-17 |
// ****************************************************************
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org/?p=license&r=2.4.
// ****************************************************... | vimaier/conqat | org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitFramework/framework/OldTestCase.cs | https://github.com/vimaier/conqat/blob/HEAD/org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitFramework/framework/OldTestCase.cs | ghcode:00167:d24ed7503cc1 | apache-2.0 | codeparrot/github-code | d24ed7503cc1a6fa98718104fa79494a346a81a545e0347266aa6802cea33d8f | 0.85 | testing_debugging_repair_refactoring | 252 | false | 2026-07-17 |
//
// Copyright (c) Microsoft and contributors. 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 of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requ... | pinwang81/azure-sdk-for-net | src/ResourceManagement/DataFactory/DataFactory.Tests/UnitTests/PipelineTypeRegistrationTests.cs | https://github.com/pinwang81/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/DataFactory/DataFactory.Tests/UnitTests/PipelineTypeRegistrationTests.cs | ghcode:00167:1de49ef8ae70 | apache-2.0 | codeparrot/github-code | 1de49ef8ae7007f899c9c71e89929cecdaaf4e057d46e2c0a04c9cef91ccc180 | 0.85 | testing_debugging_repair_refactoring | 690 | false | 2026-07-17 |
//
// Manager.cs
//
// Author:
// Pasin Suriyentrakorn <pasin@couchbase.com>
//
// Copyright (c) 2014 Couchbase Inc
// Copyright (c) 2014 .NET Foundation
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), t... | JiboStore/couchbase-lite-net | src/Couchbase.Lite.Tests.Shared/BatcherTest.cs | https://github.com/JiboStore/couchbase-lite-net/blob/HEAD/src/Couchbase.Lite.Tests.Shared/BatcherTest.cs | ghcode:00167:3938a2c20d00 | apache-2.0 | codeparrot/github-code | 3938a2c20d00e8097bc59b9cc4472553ff1ac3c0f7f6150bafc4ed3f5e65682d | 0.85 | testing_debugging_repair_refactoring | 1,393 | false | 2026-07-17 |
using System.Collections.Generic;
using Proto.Mailbox;
using Xunit;
namespace Proto.Tests
{
public class EventStreamTests
{
[Fact]
public void EventStream_CanSubscribeToSpecificEventTypes()
{
var received = "";
var eventStream = new EventStream();
ev... | raskolnikoov/protoactor-dotnet | tests/Proto.Actor.Tests/EventStreamTests.cs | https://github.com/raskolnikoov/protoactor-dotnet/blob/HEAD/tests/Proto.Actor.Tests/EventStreamTests.cs | ghcode:00167:f7124901c0ec | apache-2.0 | codeparrot/github-code | f7124901c0ecdd1b6dad8b93bc7ecefc8e9821acb9a725bea27ec67a2a308808 | 0.75 | testing_debugging_repair_refactoring | 414 | false | 2026-07-17 |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// 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 of the
// License at http://www.apache.org/licenses/LICENSE-2.0
/... | Microsoft/PTVS | Common/Tests/Utilities/Mocks/Undo/MockTextUndoHistoryRegistry.cs | https://github.com/Microsoft/PTVS/blob/HEAD/Common/Tests/Utilities/Mocks/Undo/MockTextUndoHistoryRegistry.cs | ghcode:00167:f6b45be2e15b | apache-2.0 | codeparrot/github-code | f6b45be2e15b35cb1ce33ef171b285f3cf7c29d9cd6e54e4e71a806721d0a82b | 0.95 | testing_debugging_repair_refactoring | 1,348 | false | 2026-07-17 |
using System.Diagnostics;
namespace Lucene.Net.Util.Packed
{
using Lucene.Net.Support;
/*
* 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 cop... | jpsullivan/lucenenet | src/Lucene.Net.Core/Util/Packed/PackedWriter.cs | https://github.com/jpsullivan/lucenenet/blob/HEAD/src/Lucene.Net.Core/Util/Packed/PackedWriter.cs | ghcode:00167:8be8ceaf65a4 | apache-2.0 | codeparrot/github-code | 8be8ceaf65a40068ace77a2be717d9ed257c27bb09b98438cc06751b5ab98e8d | 0.85 | testing_debugging_repair_refactoring | 739 | false | 2026-07-17 |
// bsn GoldParser .NET Engine
// --------------------------
//
// Copyright 2009, 2010 by Arsène von Wyss - avw@gmx.ch
//
// Development has been supported by Sirius Technologies AG, Basel
//
// Source:
//
// https://bsn-goldparser.googlecode.com/hg/
//
// License:
//
// The library is distributed under the GNU ... | RH-Code/GAPP | GoldParser/Semantic/SemanticTerminalTypeFactory.cs | https://github.com/RH-Code/GAPP/blob/HEAD/GoldParser/Semantic/SemanticTerminalTypeFactory.cs | ghcode:00167:013d8ee2aed0 | mit | codeparrot/github-code | 013d8ee2aed09184f9b42c508f6fa8dc74d920d93fbbbaca74491b9af99ee271 | 0.7 | testing_debugging_repair_refactoring | 567 | 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 Microsoft.CodeAnalysis.CSharp.Symbols;
using Mi... | CyrusNajmabadi/roslyn | src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_AsOperator.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_AsOperator.cs | ghcode:00167:40670baea2c3 | mit | codeparrot/github-code | 40670baea2c3d91fa38d6e8c27052357396fa4d9abecc1304c1c68f3f96e560a | 0.85 | testing_debugging_repair_refactoring | 691 | 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 enable
using System.Diagnostics;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.PooledObject... | abock/roslyn | src/Compilers/CSharp/Portable/Symbols/SpecializedSymbolCollections.cs | https://github.com/abock/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/SpecializedSymbolCollections.cs | ghcode:00167:0f3ebceff23e | mit | codeparrot/github-code | 0f3ebceff23e7b7f3c5dff0a350b8b554b19b7ba6461e4f1ebc0adebe4601fc8 | 0.85 | testing_debugging_repair_refactoring | 314 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using EmpleoDotNet.Helpers;
using FluentAssertions;
using NUnit.Framework;
// ReSharper disable ExpressionIsAlwaysNull
// ReSharper disable InvokeAsExtensionMethod
// ReSharper disable RedundantArgumentDefaultValue
namespace EmpleoDotNet.Tests.Helpers
{
[TestF... | eatskolnikov/empleo-dot-net | EmpleoDotNet.Tests/Helpers/EnumerableExtensionsTest.cs | https://github.com/eatskolnikov/empleo-dot-net/blob/HEAD/EmpleoDotNet.Tests/Helpers/EnumerableExtensionsTest.cs | ghcode:00167:19e773dcab5d | unlicense | codeparrot/github-code | 19e773dcab5d229a58d041fe94d086a4e7b37af97c25a106088500aac2936307 | 0.63 | testing_debugging_repair_refactoring | 568 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="TestUrlResolver.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-------------------------------------... | abkmr/odata.net | test/FunctionalTests/Tests/DataOData/Common/OData/Common/TestUrlResolver.cs | https://github.com/abkmr/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Common/OData/Common/TestUrlResolver.cs | ghcode:00167:9e4355ad0d46 | mit | codeparrot/github-code | 9e4355ad0d46f9b1de969d78b68aab02d122ca55301eadd443db2c6e67608d79 | 0.95 | testing_debugging_repair_refactoring | 556 | 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 Xunit;
using Xunit.Abstractions;
using System.Collections;
using System.IO;
using System.Xml.XPath;
using Syst... | ViktorHofer/corefx | src/System.Private.Xml/tests/Xslt/XslTransformApi/CXslTransform.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Private.Xml/tests/Xslt/XslTransformApi/CXslTransform.cs | ghcode:00167:16bcffcd8822 | mit | codeparrot/github-code | 16bcffcd8822df334e135352637d3f4472adfb53baa15f3b5ec38c3bdfc37711 | 0.82 | testing_debugging_repair_refactoring | 27,784 | false | 2026-07-17 |
using System;
using System.IO;
using Microsoft.Extensions.Configuration;
namespace Qotd
{
public static class Program
{
public static void Main(string[] args)
{
var configuration = new ConfigurationBuilder()
.SetBasePath(Directory.GetCurrentDirectory())
.AddJsonFile("appsettings.json")
.Build()... | robzelt/DotNetCoreContainer | _1.0/test/qotd/Program.cs | https://github.com/robzelt/DotNetCoreContainer/blob/HEAD/_1.0/test/qotd/Program.cs | ghcode:00167:0568cab5e83c | apache-2.0 | codeparrot/github-code | 0568cab5e83c69bb373eb5e1cdc489fce9f0cd82d98995a65b38c1416a2bf99e | 0.85 | testing_debugging_repair_refactoring | 170 | false | 2026-07-17 |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Globalization;
using System.Threading.Tasks;... | paulbatum/azure-mobile-services | sdk/Managed/src/Microsoft.WindowsAzure.MobileServices.WindowsPhone81/Authentication/AuthenticationBroker.cs | https://github.com/paulbatum/azure-mobile-services/blob/HEAD/sdk/Managed/src/Microsoft.WindowsAzure.MobileServices.WindowsPhone81/Authentication/AuthenticationBroker.cs | ghcode:00167:baf309fe0fb6 | apache-2.0 | codeparrot/github-code | baf309fe0fb640886effd8008fc187874bab6763a0d51ec93b174331473bcc52 | 0.95 | testing_debugging_repair_refactoring | 2,010 | 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.Syntax;
using Microsoft.CodeAnalysis.Editor.CSharp.Outlining;
using Microsoft.CodeAnalysis.... | MatthieuMEZIL/roslyn | src/EditorFeatures/CSharpTest/Outlining/MetadataAsSource/ConstructorDeclarationOutlinerTests.cs | https://github.com/MatthieuMEZIL/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Outlining/MetadataAsSource/ConstructorDeclarationOutlinerTests.cs | ghcode:00167:e7d31cfa7d66 | apache-2.0 | codeparrot/github-code | e7d31cfa7d66855aa3d96aabb2e5ee4e2c43bc8627f37aec5731d0db711b42cf | 0.85 | testing_debugging_repair_refactoring | 503 | 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.Linq.Expressions;
using Xunit;
namespace System.Linq.Tests
{
public class FirstOrDef... | iamjasonp/corefx | src/System.Linq.Queryable/tests/FirstOrDefaultTests.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Linq.Queryable/tests/FirstOrDefaultTests.cs | ghcode:00167:f59522fb6516 | mit | codeparrot/github-code | f59522fb6516495ace55609ff5e61195cddb7e224d41bf2fc9b53c4ba43783a9 | 0.95 | testing_debugging_repair_refactoring | 634 | 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.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Syst... | poizan42/coreclr | tests/src/GC/Stress/Tests/573277.cs | https://github.com/poizan42/coreclr/blob/HEAD/tests/src/GC/Stress/Tests/573277.cs | ghcode:00167:e2266ba58385 | mit | codeparrot/github-code | e2266ba5838567664c54aef505d38d5ad532d949db2669a0713c3bf67fda9dad | 0.95 | testing_debugging_repair_refactoring | 362 | 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 Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis... | mmitche/roslyn | src/Compilers/CSharp/Test/Symbol/Symbols/MockAssemblySymbol.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Symbols/MockAssemblySymbol.cs | ghcode:00167:140a10c394ea | apache-2.0 | codeparrot/github-code | 140a10c394eaefa97f4278e975cbbd864c2290d3e1f6ba550ce3e6dc35d41df6 | 0.85 | testing_debugging_repair_refactoring | 562 | 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;
namespace System.Globalization
{
/// <summary>
/// This class represents settings... | krk/coreclr | src/System.Private.CoreLib/shared/System/Globalization/RegionInfo.cs | https://github.com/krk/coreclr/blob/HEAD/src/System.Private.CoreLib/shared/System/Globalization/RegionInfo.cs | ghcode:00167:2979d1f1ae10 | mit | codeparrot/github-code | 2979d1f1ae106a18a06ccfbe3188fa92935a4c037f18b67a6658b39ce5bb86e0 | 0.85 | testing_debugging_repair_refactoring | 1,434 | 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 Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
us... | droyad/roslyn | src/Compilers/CSharp/Test/Syntax/IncrementalParsing/ChangingAsync.cs | https://github.com/droyad/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/IncrementalParsing/ChangingAsync.cs | ghcode:00167:e6b9b1f36afc | apache-2.0 | codeparrot/github-code | e6b9b1f36afca763c122161d7ab28bedd2466b111c5ae41d61a013db6c6d11a7 | 0.85 | testing_debugging_repair_refactoring | 468 | false | 2026-07-17 |
using Core.Interfaces;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace Core.UnitTest
{
[TestClass]
public class UserRepositoryTests
{
UserRepository _repoUser = UserRepository.Instance;
List<IUser> _userList;
IUser _st... | jona8690/Project-Exam | _handin/1/OEADM16EIC-Group1/OEADM16EIC-Group1 RoomReservationSystem/Core.UnitTest/UserRepositoryTests.cs | https://github.com/jona8690/Project-Exam/blob/HEAD/_handin/1/OEADM16EIC-Group1/OEADM16EIC-Group1 RoomReservationSystem/Core.UnitTest/UserRepositoryTests.cs | ghcode:00167:49fb8155333e | mit | codeparrot/github-code | 49fb8155333e649299992acaa9d7150e5a9b1dc97fee70eef618f98335cfb358 | 0.75 | testing_debugging_repair_refactoring | 959 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using System.Text;
using LibGit2Sharp.Tests.TestHelpers;
using Xunit;
namespace LibGit2Sharp.Tests
{
public class RepositoryOptionsFixture : BaseFixture
{
private readonly string newWorkdir;
private readonly string newIndex;
//TODO: Ad... | sharad4u/testrepo | LibGit2Sharp.Tests/RepositoryOptionsFixture.cs | https://github.com/sharad4u/testrepo/blob/HEAD/LibGit2Sharp.Tests/RepositoryOptionsFixture.cs | ghcode:00167:c2dd10081bef | mit | codeparrot/github-code | c2dd10081bef22061cbe40bad7f681d51816108ab2a8de71a28f5021f6cdf4fb | 0.85 | testing_debugging_repair_refactoring | 1,607 | false | 2026-07-17 |
using System;
class Patterns
{
void IsPatterns()
{
object o = new MyStruct { X = 2 };
if (o is MyStruct ms1)
{
}
if (o is MyStruct { X: int x } s && x<4 && s.Y<2)
{
}
if (o is {} p)
{
}
// A sub-pattern match
... | github/codeql | csharp/ql/test/library-tests/csharp8/patterns.cs | https://github.com/github/codeql/blob/HEAD/csharp/ql/test/library-tests/csharp8/patterns.cs | ghcode:00167:68351a523530 | mit | codeparrot/github-code | 68351a52353004c90c27b94a6845eff6169818620907568c7f75b079cf99fefe | 0.95 | testing_debugging_repair_refactoring | 927 | false | 2026-07-17 |
using GameTimer;
using NUnit.Framework;
using Shouldly;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CameraBuddy.Tests
{
public class TestScaler : Scaler
{
public float TestPrevScale
{
get => PrevScale;
set => PrevScale = va... | dmanning23/CameraBuddy | CameraBuddy/CameraBuddy.Tests/ScalerTests.cs | https://github.com/dmanning23/CameraBuddy/blob/HEAD/CameraBuddy/CameraBuddy.Tests/ScalerTests.cs | ghcode:00167:ae69581fa488 | mit | codeparrot/github-code | ae69581fa48844dbba97d0e4651e08f094dda91323b0610d9bcbcbc57353c66f | 0.75 | testing_debugging_repair_refactoring | 2,008 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using TD.Test.Common;
using static TD.Core;
namespace TD.Test
{
[TestClass]
public class ComposingTests
{
[TestMethod]
public void TakingDoubleDigit()
{
Verify.SequenceEquivalent(
Enu... | AndrewGaspar/TD.Net | Tests/TD.Core.Test/Composing.cs | https://github.com/AndrewGaspar/TD.Net/blob/HEAD/Tests/TD.Core.Test/Composing.cs | ghcode:00167:ccb93ebe65db | mit | codeparrot/github-code | ccb93ebe65db4c78ff06e67b5f5073d227bc6976f9acb68201ce470153260cf8 | 0.6 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
namespace ygo.tests.core
{
public static class TestType
{
public const string Unit = "Unit";
}
}
| fablecode/ygo-api | tests/ygo.tests.core/TestType.cs | https://github.com/fablecode/ygo-api/blob/HEAD/tests/ygo.tests.core/TestType.cs | ghcode:00167:6be62ef0cdc9 | mit | codeparrot/github-code | 6be62ef0cdc9caaea72bbf1c252a28f2e9da072ff84bf3b5611540a2a7ec0e17 | 0.35 | testing_debugging_repair_refactoring | 28 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.