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 Microsoft.DotNet.PlatformAbstractions;
using System.IO;
namespace ChocoPacker.MSI.Windows.Tests
{
internal static class TestUtils
{
public static string GetTestFilePath(this string name)
=> Path.Combine(ApplicationEnvironment.ApplicationBasePath,
"TestFiles",
... | ChocoPacker/ChocoPacker.Clr | tests/ChocoPacker.MSI.Windows.Tests/TestUtils.cs | https://github.com/ChocoPacker/ChocoPacker.Clr/blob/HEAD/tests/ChocoPacker.MSI.Windows.Tests/TestUtils.cs | ghcode:00003:ffcbdcf0c588 | mit | codeparrot/github-code | ffcbdcf0c5888446efc5be6276ecd87b5efc8bfe568544c0c1e6d66aac832d2e | 0.75 | testing_debugging_repair_refactoring | 66 | false | 2026-07-17 |
using Markdown.MAML.Model.MAML;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Markdown.MAML.Model.YAML;
using Markdown.MAML.Renderer;
using Xunit;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
using Markdown... | PowerShell/platyPS | test/Markdown.MAML.Test/Renderer/YamlRendererTests.cs | https://github.com/PowerShell/platyPS/blob/HEAD/test/Markdown.MAML.Test/Renderer/YamlRendererTests.cs | ghcode:00003:2beee3037664 | mit | codeparrot/github-code | 2beee3037664aa18366c88e098abddec02cfa93a0bd563ef480faa5636f5bebc | 0.75 | testing_debugging_repair_refactoring | 1,798 | false | 2026-07-17 |
using System.Collections.Generic;
using FluentAssertions;
using Jaco.Notes;
using Jaco.Scales;
using Xunit;
namespace JacoTests.Scales
{
public class KeyShould
{
public static TheoryData<Key, IEnumerable<Note>> KeyNotes
=> new TheoryData<Key, IEnumerable<Note>>
{
... | pedromsantos/Jaco | JacoTests/Scales/KeyShould.cs | https://github.com/pedromsantos/Jaco/blob/HEAD/JacoTests/Scales/KeyShould.cs | ghcode:00003:c1e503686b96 | mit | codeparrot/github-code | c1e503686b961ebf2b924533e07876ee419792388fb94db38f0f420aba050563 | 0.6 | testing_debugging_repair_refactoring | 746 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BitcoinUtilities;
using BitcoinUtilities.Node.Modules.Outputs;
using BitcoinUtilities.P2P.Primitives;
using NUnit.Framework;
namespace Test.BitcoinUtilities.Node.Modules.Outputs
{
[TestFixture]
public class TestUpdatableOutputSet
... | yu-kopylov/bitcoin-utilities | Test.BitcoinUtilities.Node/Modules/Outputs/TestUpdatableOutputSet.cs | https://github.com/yu-kopylov/bitcoin-utilities/blob/HEAD/Test.BitcoinUtilities.Node/Modules/Outputs/TestUpdatableOutputSet.cs | ghcode:00003:cb9fd25d4994 | mit | codeparrot/github-code | cb9fd25d49945bfe7b8d1b7373e297b77aedcc710a1d2a4a73102ff6ef6fc152 | 0.85 | testing_debugging_repair_refactoring | 2,625 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using System.Data.SQLite;
namespace Model
{
[TestFixture]
public class NodeDataTest
{
public NodeDataTest ()
{
}
[SetUp]
public void Init ()
{
}
[TearDown]
public void Dest ()
{
}
[Test]
public void MinusTest ()
{
Node node1 = new Node(1, "1",... | mtoloo/phone-network | tests/model/node_data_test.cs | https://github.com/mtoloo/phone-network/blob/HEAD/tests/model/node_data_test.cs | ghcode:00003:a8149ec50931 | unlicense | codeparrot/github-code | a8149ec5093181fab3a20424cf8b84a484806dc9f12f7918c315ce35fad69585 | 0.53 | testing_debugging_repair_refactoring | 164 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Blocks.Tridion.LessSupport.Compiler;
using dotless.Core.Loggers;
namespace Blocks.Tridion.LessSupport.Tests
{
public class TestLogger : IErrorLogger
{
private readonly List<string> _errors;
public TestLogger()
{
... | jimmah/tridion-less-tbb | Blocks.Tridion.LessSupport.Tests/TestLogger.cs | https://github.com/jimmah/tridion-less-tbb/blob/HEAD/Blocks.Tridion.LessSupport.Tests/TestLogger.cs | ghcode:00003:5c115e17d68e | unlicense | codeparrot/github-code | 5c115e17d68e82f85b1ccf09064a14b73874a83e0bb39223fa218cf7371c9355 | 0.68 | testing_debugging_repair_refactoring | 381 | false | 2026-07-17 |
using IngameScript;
using NUnit.Framework;
namespace Script.RefineryBalance.v2
{
[TestFixture]
public class ConfigurationReaderTests
{
[Test]
public void CanEnableIngot()
{
var configuration = new RequestedConfiguration();
new ConfigurationReader... | alex-davidson/SEScriptDev | Script.RefineryBalance.v2.UnitTests/ConfigurationReaderTests.cs | https://github.com/alex-davidson/SEScriptDev/blob/HEAD/Script.RefineryBalance.v2.UnitTests/ConfigurationReaderTests.cs | ghcode:00003:618bc9efc605 | unlicense | codeparrot/github-code | 618bc9efc605ead514fb97767e0918173582e32d808a55e9669c273793063e75 | 0.68 | testing_debugging_repair_refactoring | 1,170 | 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... | dream-x/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Cache/CreateCacheTest.cs | https://github.com/dream-x/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Cache/CreateCacheTest.cs | ghcode:00003:e6328b564657 | apache-2.0 | codeparrot/github-code | e6328b564657cf3c6f1fb4e3a35bc232813ebd857f3ba79b6c632dae4b14fc85 | 0.7 | testing_debugging_repair_refactoring | 1,479 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace br.com.devdream.util.teste
{
[TestFixture]
public static class ExtensaoString
{
[Test]
public static void AumentarUm()
{
string caractereEsperado = "b"... | oscarcasagrande/encurtadordeurl | br.com.devdream.util.teste/ExtensaoString.cs | https://github.com/oscarcasagrande/encurtadordeurl/blob/HEAD/br.com.devdream.util.teste/ExtensaoString.cs | ghcode:00003:6dcfbe0484d8 | apache-2.0 | codeparrot/github-code | 6dcfbe0484d8802ede41c8daf256b2415ddb5a158e98ef693cc4b4da11f1506f | 0.6 | testing_debugging_repair_refactoring | 138 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace TypeProviderInCSharp
{
class ArtificalEventInfo : EventInfo
{
string _Name;
Type _DeclaringType;
pu... | chkn/fsharp | tests/fsharpqa/Source/TypeProviders/Events/TestTP/ArtificalEventInfo.cs | https://github.com/chkn/fsharp/blob/HEAD/tests/fsharpqa/Source/TypeProviders/Events/TestTP/ArtificalEventInfo.cs | ghcode:00003:43fdbace8628 | apache-2.0 | codeparrot/github-code | 43fdbace8628280a318b9aef1d900dcf1c8f947408c14f14b3062b75eeedb44c | 0.6 | testing_debugging_repair_refactoring | 516 | 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.Collections.Immutable;
using System.Diagnostics;
using System.Global... | brettfo/roslyn | src/Features/Core/Portable/Diagnostics/EngineV2/DiagnosticIncrementalAnalyzer_BuildSynchronization.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/Features/Core/Portable/Diagnostics/EngineV2/DiagnosticIncrementalAnalyzer_BuildSynchronization.cs | ghcode:00003:cadcf473ac4e | apache-2.0 | codeparrot/github-code | cadcf473ac4e50292f56f7de65f3852fd1c1942327dfbbaae186af02fc1ebda0 | 0.85 | testing_debugging_repair_refactoring | 1,741 | false | 2026-07-17 |
namespace Selenium.WebDriver.Extensions.IntegrationTests.ChromeTests
{
using System.Diagnostics.CodeAnalysis;
using Selenium.WebDriver.Extensions.IntegrationTests.Fixtures;
using Xunit;
using static By;
using static Tests.Shared.Trait;
[Trait(CATEGORY, INTEGRATION)]
[Trait(BROWSER, CHROME)]... | Softlr/selenium-webdriver-extensions | test/Selenium.WebDriver.Extensions.IntegrationTests/ChromeTests/WebDriverExtensionsSizzleLoadedSelectorChromeTests.cs | https://github.com/Softlr/selenium-webdriver-extensions/blob/HEAD/test/Selenium.WebDriver.Extensions.IntegrationTests/ChromeTests/WebDriverExtensionsSizzleLoadedSelectorChromeTests.cs | ghcode:00003:d1350d72c4f2 | apache-2.0 | codeparrot/github-code | d1350d72c4f2ed800b8890dfb1206e69ec7458829dd1c87be1a35ec27e778d6b | 0.75 | testing_debugging_repair_refactoring | 137 | 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.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.AspNetCore.Routing.Template;
namespace Microsoft.AspNetCore.Routing.Tree... | aspnet/AspNetCore | src/Http/Routing/src/Tree/UrlMatchingTree.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Http/Routing/src/Tree/UrlMatchingTree.cs | ghcode:00003:fb215786dcea | apache-2.0 | codeparrot/github-code | fb215786dcea0349bb20c76468da92f3b899634f1f3de7281ea4ae5d34ea4360 | 0.95 | testing_debugging_repair_refactoring | 1,471 | 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.Collections.Immutable;
using System.Linq;
using System.Diagnostics;
... | reaction1989/roslyn | src/Compilers/CSharp/Portable/FlowAnalysis/FlowAnalysisPass.cs | https://github.com/reaction1989/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/FlowAnalysis/FlowAnalysisPass.cs | ghcode:00003:fddd5f719be0 | apache-2.0 | codeparrot/github-code | fddd5f719be04de61ea22a8e9419280f759b680bba8da8f9e6de9bffc3d7a2e6 | 0.85 | testing_debugging_repair_refactoring | 1,290 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ImageCheckRequestTests.cs" company="VML">
// Copyright VML 2014. All rights reserved.
// </copyright>
// <created>02/10/2014 4:04 PM</created>
// <updated>02/10/2014 4:19 PM... | VML/WebPurify.NET | src/VML.WebPurify.Tests/RequestTests/ImageCheckRequestTests.cs | https://github.com/VML/WebPurify.NET/blob/HEAD/src/VML.WebPurify.Tests/RequestTests/ImageCheckRequestTests.cs | ghcode:00003:a7b82094aed5 | apache-2.0 | codeparrot/github-code | a7b82094aed5c3a18bad24ce524457343262d15068ef7eb7df226a463aa2e691 | 0.85 | testing_debugging_repair_refactoring | 338 | 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;
using System.Collections.Generic;
using System.Collections.Immutable;
using System... | brettfo/roslyn | src/EditorFeatures/TestUtilities/Squiggles/TestDiagnosticTagProducer.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/EditorFeatures/TestUtilities/Squiggles/TestDiagnosticTagProducer.cs | ghcode:00003:e4f4c5441e13 | apache-2.0 | codeparrot/github-code | e4f4c5441e13c01cd84b9e07aa691c80cb66c3187ae6cdf812d6097a4c7377c5 | 0.85 | testing_debugging_repair_refactoring | 724 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using NBi.Core;
using NBi.Core.Analysis.Request;
using NUnit.Framework.Constraints;
using NUnitCtr = NUnit.Framework.Constraints;
using NBi.Core.Query;
using NBi.Extensibility.Resolving;
namespace NBi.NUnit.Member
{
... | Seddryck/NBi | NBi.NUnit/Member/EquivalentToConstraint.cs | https://github.com/Seddryck/NBi/blob/HEAD/NBi.NUnit/Member/EquivalentToConstraint.cs | ghcode:00003:31507e86bf9c | apache-2.0 | codeparrot/github-code | 31507e86bf9c2cbfd567eec9e7d8a34fa456b8b17b980a74aa3787785124cc34 | 0.7 | testing_debugging_repair_refactoring | 413 | false | 2026-07-17 |
#region Copyright & License
//
// Copyright 2006 The Apache Software Foundation
//
// 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... | babaru/log4net | tests/src/Core/StringFormatTest.cs | https://github.com/babaru/log4net/blob/HEAD/tests/src/Core/StringFormatTest.cs | ghcode:00003:97276d898ffe | apache-2.0 | codeparrot/github-code | 97276d898ffe2e43dee382f41dfd1f55f41d02afc5ab82f49d47e1bf4236bbdc | 0.8 | testing_debugging_repair_refactoring | 6,565 | 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp... | KiloBravoLima/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/DeconstructionTests.cs | https://github.com/KiloBravoLima/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/DeconstructionTests.cs | ghcode:00003:25dda30809e4 | apache-2.0 | codeparrot/github-code | 25dda30809e4ba2a1567f3cc34d749a0829bc8c46ba63e2e28046c4a2975a508 | 0.82 | testing_debugging_repair_refactoring | 23,451 | false | 2026-07-17 |
// Copyright © 2017 - 2018 Chocolatey Software, Inc
// Copyright © 2011 - 2017 RealDimensions Software, LLC
//
// 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://ww... | jberezanski/choco | src/chocolatey.tests/infrastructure.app/attributes/CommandForAttributeSpecs.cs | https://github.com/jberezanski/choco/blob/HEAD/src/chocolatey.tests/infrastructure.app/attributes/CommandForAttributeSpecs.cs | ghcode:00003:dbaea1fe2d11 | apache-2.0 | codeparrot/github-code | dbaea1fe2d11a0ab874e129228f0feccb2c09e08bff186a7101eedc56eb58551 | 0.7 | testing_debugging_repair_refactoring | 318 | false | 2026-07-17 |
/*
* Forge SDK
*
* The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
*
* OpenAPI spec version: 0.1.0
* Contact: forge.help@autodesk.com
* Ge... | Autodesk-Forge/forge-api-dotnet-client | src/Autodesk.Forge.Test/Model/PostBucketsPayloadAllowTests.cs | https://github.com/Autodesk-Forge/forge-api-dotnet-client/blob/HEAD/src/Autodesk.Forge.Test/Model/PostBucketsPayloadAllowTests.cs | ghcode:00003:06fce1f64045 | apache-2.0 | codeparrot/github-code | 06fce1f64045e1679ef00b317e70adc1362738ede816580939aed64669ca18ed | 0.85 | testing_debugging_repair_refactoring | 621 | false | 2026-07-17 |
using IdentityServer4.Models;
using IdentityServer4.Stores;
using System;
using System.Collections.Generic;
using Xunit;
using FluentAssertions;
namespace IdentityServer.UnitTests.Stores
{
public class InMemoryResourcesStoreTests
{
[Fact]
public void InMemoryResourcesStore_should_throw_if_cont... | IdentityServer/IdentityServer4 | src/IdentityServer4/test/IdentityServer.UnitTests/Stores/InMemoryResourcesStoreTests.cs | https://github.com/IdentityServer/IdentityServer4/blob/HEAD/src/IdentityServer4/test/IdentityServer.UnitTests/Stores/InMemoryResourcesStoreTests.cs | ghcode:00003:fdb30d01d10a | apache-2.0 | codeparrot/github-code | fdb30d01d10a466685cd2bd0ef052f76f678666d285f0dcd8c30c0d04395cf09 | 0.85 | testing_debugging_repair_refactoring | 527 | 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... | kelltrick/roslyn | src/Features/Core/Portable/Completion/CompletionServiceWithProviders.cs | https://github.com/kelltrick/roslyn/blob/HEAD/src/Features/Core/Portable/Completion/CompletionServiceWithProviders.cs | ghcode:00003:46d765d46657 | apache-2.0 | codeparrot/github-code | 46d765d4665715aca860b758b5ea7368862fd1ca514a9ac6a931f1734a1ab7ba | 0.85 | testing_debugging_repair_refactoring | 3,773 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using BuildAProject.BuildManagement.NuGet.Configurations;
using BuildAProject.BuildManagement.Test.TestSupport;
using BuildAProject.BuildManagement.Test.TestSupport.Settings;
using NUnit.Framework;
namespace BuildAProject.BuildManagem... | kristianhald/BuildAProject | BuildManagement.Test/NuGet/Configurations/HierachicalNuGetConfigFileReaderTests.cs | https://github.com/kristianhald/BuildAProject/blob/HEAD/BuildManagement.Test/NuGet/Configurations/HierachicalNuGetConfigFileReaderTests.cs | ghcode:00003:77fbf17a0bc2 | apache-2.0 | codeparrot/github-code | 77fbf17a0bc209284b3d67427f480c87e119094689a34c5776a343777e6a5eb5 | 0.85 | testing_debugging_repair_refactoring | 1,287 | false | 2026-07-17 |
using System;
using System.Data;
using NUnit.Framework;
using StructureMap.DataAccess.DataSetMapping;
using StructureMap.DataAccess.Tools;
namespace StructureMap.Testing.DataAccess.DataSetMapping
{
[TestFixture]
public class ReaderToTableMapperTester
{
private DataTable _sourceTable;
private DataTable _destinat... | hp4711/structuremap | Source/StructureMap.Testing.DataAccess/DataSetMapping/ReaderToTableMapperTester.cs | https://github.com/hp4711/structuremap/blob/HEAD/Source/StructureMap.Testing.DataAccess/DataSetMapping/ReaderToTableMapperTester.cs | ghcode:00003:ca9cfe620fad | apache-2.0 | codeparrot/github-code | ca9cfe620fad1c5d8cb2607feca23b8415196786d8d4adb76470ec06ea752b6e | 0.6 | testing_debugging_repair_refactoring | 651 | false | 2026-07-17 |
// Copyright 2009 Björn Rochel - http://www.bjro.de/
//
// 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 ... | BjRo/xunitbddextensions | Source/xUnit.BDDExtensions.Reporting.Specs/Internal/ObservationSpecs.cs | https://github.com/BjRo/xunitbddextensions/blob/HEAD/Source/xUnit.BDDExtensions.Reporting.Specs/Internal/ObservationSpecs.cs | ghcode:00003:40e83acf6ed8 | apache-2.0 | codeparrot/github-code | 40e83acf6ed81e2ef58c2f9dc13031be85316a0eb1fe42de98b1aa4678f965b7 | 0.7 | testing_debugging_repair_refactoring | 741 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using BackendlessAPI.Exception;
using BackendlessAPI.Geo;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BackendlessAPI.Test.GeoService.SyncTests
{
[TestClass]
public class CategoryTest: TestsFrame
{
[TestMethod]
... | Backendless/.NET-SDK | Projects/Backendless.Test/GeoService/SyncTests/CategoryTest.cs | https://github.com/Backendless/.NET-SDK/blob/HEAD/Projects/Backendless.Test/GeoService/SyncTests/CategoryTest.cs | ghcode:00003:9d97a4591ba7 | apache-2.0 | codeparrot/github-code | 9d97a4591ba7c993d15dc4a8dd067f041754e8586dcfa33ec8820c0a75e8e054 | 0.6 | testing_debugging_repair_refactoring | 818 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataExplorer.Application.Core.Commands;
using DataExplorer.Application.Core.Events;
using DataExplorer.Application.Core.Messages;
using DataExplorer.Application.Core.Queries;
using DataExplorer.App... | dataexplorer/dataexplorer | Application.Tests/Core/Messages/MessageBusTests.cs | https://github.com/dataexplorer/dataexplorer/blob/HEAD/Application.Tests/Core/Messages/MessageBusTests.cs | ghcode:00003:1b477c258038 | bsd-3-clause | codeparrot/github-code | 1b477c2580383a62a26f133098a927b5e18a905dda4bc68d9d583afc639219de | 0.75 | testing_debugging_repair_refactoring | 417 | false | 2026-07-17 |
using System;
using Xunit;
namespace RSG.FluentStateMachineTests
{
public class StateBuilderTests
{
private class TestState : AbstractState { }
private class TestEventArgs : EventArgs
{
public string TestString { get; set; }
}
private class SecondTestEvent... | Real-Serious-Games/Fluent-State-Machine | Tests/StateBuilderTests.cs | https://github.com/Real-Serious-Games/Fluent-State-Machine/blob/HEAD/Tests/StateBuilderTests.cs | ghcode:00003:589d945b907c | mit | codeparrot/github-code | 589d945b907c5a2ce471d19d6cff19aada6fd735d5f4823ee3ae8368934cb255 | 0.75 | testing_debugging_repair_refactoring | 1,173 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestLib.TextParser;
using System.IO;
using System.Reflection;
namespace TestLibTests
{
[TestClass]
public class TextParserTest
{
[TestMethod... | modulexcite/coding.abel.nu | TestLibTests/TextParserTest.cs | https://github.com/modulexcite/coding.abel.nu/blob/HEAD/TestLibTests/TextParserTest.cs | ghcode:00003:471076e4453d | mit | codeparrot/github-code | 471076e4453db571e093b58200fcfb4f2ec5f4e677c4cbf404ea07fe0458f3bf | 0.6 | testing_debugging_repair_refactoring | 219 | 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.
namespace ContainerRegistry.Tests
{
using Microsoft.Azure.ContainerRegistry;
using Microsoft.Azure.ContainerRegistry.Models;
using Microsoft.Rest.... | shahabhijeet/azure-sdk-for-net | src/SDKs/ContainerRegistry/dataplane/ContainerRegistry.Tests/Tests/ManifestTests.cs | https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/SDKs/ContainerRegistry/dataplane/ContainerRegistry.Tests/Tests/ManifestTests.cs | ghcode:00003:9be0481c5f3f | mit | codeparrot/github-code | 9be0481c5f3fe1e2af9a73cda4bf092f76d5f98b707948e4e7871aca98477a48 | 0.95 | testing_debugging_repair_refactoring | 2,109 | false | 2026-07-17 |
using System;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using JetBrains.Annotations;
namespace BenchmarkDotNet.Attributes
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] // users must not be able to define given mutator attribute more than once per type
public class JobMutat... | alinasmirnova/BenchmarkDotNet | src/BenchmarkDotNet/Attributes/Mutators/JobMutatorConfigBaseAttribute.cs | https://github.com/alinasmirnova/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Attributes/Mutators/JobMutatorConfigBaseAttribute.cs | ghcode:00003:07e13f3bd022 | mit | codeparrot/github-code | 07e13f3bd022ac33af71b41ca8f8f938fc5aa370d0ae4e544ac803d800d87463 | 0.6 | testing_debugging_repair_refactoring | 158 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Threading;
using Jarvis.Framework.Kernel.Events;
using Jarvis.Framework.Kernel.ProjectionEngine;
using Jarvis.Framework.Shared.IdentitySupport;
using Jarvis.Framework.Shared.Messages;
using Jarvis.Frame... | ProximoSrl/Jarvis.Framework | Jarvis.Framework.Tests/ProjectionEngineTests/V2/ProjectionEnginePriorityTests.cs | https://github.com/ProximoSrl/Jarvis.Framework/blob/HEAD/Jarvis.Framework.Tests/ProjectionEngineTests/V2/ProjectionEnginePriorityTests.cs | ghcode:00003:82b6d43c71e1 | mit | codeparrot/github-code | 82b6d43c71e122b4f4dc3301490bd93c37d27c07368f88d5cab0ef048b6847e0 | 0.75 | testing_debugging_repair_refactoring | 429 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using FluentAssertions;
using JSONAPI.Core;
using JSONAPI.Documents.Builders;
using JSONAPI.QueryableTransformers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace JSONAPI.Tests.ActionFilters
{
[TestClass]
p... | danshapir/JSONAPI.NET | JSONAPI.Tests/ActionFilters/DefaultSortingTransformerTests.cs | https://github.com/danshapir/JSONAPI.NET/blob/HEAD/JSONAPI.Tests/ActionFilters/DefaultSortingTransformerTests.cs | ghcode:00003:9017f98a18ec | mit | codeparrot/github-code | 9017f98a18ecd8bafa53109b8b2f7e0546f930f6685108eeddd1c741b08f1fd4 | 0.85 | testing_debugging_repair_refactoring | 1,604 | 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;
using System.ComponentModel.Composition;
using System.Diagnostics;
using System.Th... | panopticoncentral/roslyn | src/EditorFeatures/CSharp/CompleteStatement/CompleteStatementCommandHandler.cs | https://github.com/panopticoncentral/roslyn/blob/HEAD/src/EditorFeatures/CSharp/CompleteStatement/CompleteStatementCommandHandler.cs | ghcode:00003:21b9919cf4db | mit | codeparrot/github-code | 21b9919cf4db88e7c20eccf01198ecae94c8d0fe6b4a2efdec5d94ac0ad78454 | 0.7 | testing_debugging_repair_refactoring | 4,865 | false | 2026-07-17 |
namespace BullOak.Test.EndToEnd.StepDefinitions
{
using System.Reflection;
using BoDi;
using BullOak.Repositories;
using BullOak.Repositories.Config;
using TechTalk.SpecFlow;
[Binding]
public class ConfigurationSetup
{
private readonly IHoldAllConfiguration configuration;
... | BullOak/BullOak | src/BullOak.Test.EndToEnd/StepDefinitions/Context.cs | https://github.com/BullOak/BullOak/blob/HEAD/src/BullOak.Test.EndToEnd/StepDefinitions/Context.cs | ghcode:00003:ef57bfcfce7e | mit | codeparrot/github-code | ef57bfcfce7e24ed7cb55014b524eb05edfc92f0041c120b78cc2158336b234e | 0.75 | testing_debugging_repair_refactoring | 189 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Azure.ApplicationInsights.Query;
using Microsoft.Azure.ApplicationInsights.Query.Models;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using Xunit;
using System;
namespace Data.ApplicationInsights.Tests.Metrics
{
public clas... | shahabhijeet/azure-sdk-for-net | src/SDKs/ApplicationInsights/DataPlane/Data.ApplicationInsights.Tests/ScenarioTests/Metrics/IntervaledMetricsTests.cs | https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/SDKs/ApplicationInsights/DataPlane/Data.ApplicationInsights.Tests/ScenarioTests/Metrics/IntervaledMetricsTests.cs | ghcode:00003:f3fc7387970d | mit | codeparrot/github-code | f3fc7387970d4d7d952d3dc6aa809b0216620e79fbb177f113b2a0b0f6019f00 | 0.75 | testing_debugging_repair_refactoring | 470 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. 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.IO;
using FluentAssertions;
using Microsoft.DotNet.ToolManifest;
using Microsoft.Dot... | johnbeisner/cli | test/dotnet.Tests/CommandTests/ToolManifestEditorTests.cs | https://github.com/johnbeisner/cli/blob/HEAD/test/dotnet.Tests/CommandTests/ToolManifestEditorTests.cs | ghcode:00003:044e026c47c5 | mit | codeparrot/github-code | 044e026c47c5d7453e3803d8d428c51e8a4770639c5caaf2b8737d4ca9c8c13e | 0.75 | testing_debugging_repair_refactoring | 2,508 | false | 2026-07-17 |
#region Copyright Preamble
//
// Copyright © 2015 NCode Group
//
// 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
//
/... | polewskm/NCode.Scanners | src/NCode.Scanners.Test/ImmutableTests.cs | https://github.com/polewskm/NCode.Scanners/blob/HEAD/src/NCode.Scanners.Test/ImmutableTests.cs | ghcode:00003:ede743263396 | apache-2.0 | codeparrot/github-code | ede743263396c00e46c43c1a86f48fdd2c735804447e49d8e2a714d8e7dc8436 | 0.85 | testing_debugging_repair_refactoring | 424 | 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.Linq;
using System.Text;
using Microsoft.CodeAnalysis.CSharp... | khyperia/roslyn | src/Compilers/CSharp/Test/Semantic/Diagnostics/DiagnosticAnalyzerTests.cs | https://github.com/khyperia/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Diagnostics/DiagnosticAnalyzerTests.cs | ghcode:00003:d0e472a04562 | apache-2.0 | codeparrot/github-code | d0e472a045621c8d8d62338c6f6321d197526c240a2769570fd1d5375db86a61 | 0.82 | testing_debugging_repair_refactoring | 24,965 | false | 2026-07-17 |
using CBApi.Models;
using NUnit.Framework;
using Moq;
using RestSharp;
using System;
using Tests.CBApi.models.requests;
namespace Tests.CBApi.framework.requests
{
[TestFixture]
public class JobRequestTest
{
[Test]
public void Constructor_ThrowsException_WhenPassedBlankJobDID()
{
... | usbsnowcrash/Careerbuilder.Net | CBApi.Tests/CBApi/framework/Requests/JobRequestTest.cs | https://github.com/usbsnowcrash/Careerbuilder.Net/blob/HEAD/CBApi.Tests/CBApi/framework/Requests/JobRequestTest.cs | ghcode:00003:71f25a910486 | bsd-2-clause | codeparrot/github-code | 71f25a910486b8ce4bf9d5d46924326c381ef75ab57f6e930ee3339207466fe7 | 0.63 | testing_debugging_repair_refactoring | 881 | 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 cond... | msbahrul/EventStore | src/EventStore/EventStore.Core.Tests/ClientAPI/soft_delete.cs | https://github.com/msbahrul/EventStore/blob/HEAD/src/EventStore/EventStore.Core.Tests/ClientAPI/soft_delete.cs | ghcode:00003:aed5649ab0ed | bsd-3-clause | codeparrot/github-code | aed5649ab0edaab135b8627a8c03c762e4c620d28b96097ca876a30881723f6c | 0.7 | testing_debugging_repair_refactoring | 3,962 | false | 2026-07-17 |
using System.IO;
using NUnit.Framework;
using Rock.KeyValueStores;
namespace Rock.Core.IntegrationTests.KeyValueStores
{
public class FileBucketItemTestBase : DirectoryBucketTestBase
{
protected const string Key = "bar";
protected static readonly string BucketItemPath = Path.Combine(BucketPath... | bfriesen/Rock.Core | Rock.Core.IntegrationTests/KeyValueStores/File/FileBucketItemTestBase.cs | https://github.com/bfriesen/Rock.Core/blob/HEAD/Rock.Core.IntegrationTests/KeyValueStores/File/FileBucketItemTestBase.cs | ghcode:00003:11427125de4f | mit | codeparrot/github-code | 11427125de4f0760cdbc74bef9b544632ef246e57a492c967555337524633c92 | 0.6 | testing_debugging_repair_refactoring | 202 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Rally.RestApi.Test
{
[TestClass]
public class QueryTest
{
[TestMethod]
public void TestNullValue()
{
var q = new Query("Actuals ", Query.Operator.Equals, null);
Assert.AreEqual("(Actuals = null)", q.QueryClause);
}
[TestM... | ebsco/RallyRestToolkitFor.NET | Rally.RestApi.Test/QueryTest.cs | https://github.com/ebsco/RallyRestToolkitFor.NET/blob/HEAD/Rally.RestApi.Test/QueryTest.cs | ghcode:00003:64930395ab3c | mit | codeparrot/github-code | 64930395ab3c7c60e5f7ad7965bbdab2e31bdfe837d6f61324121f0ce3322fa1 | 0.6 | testing_debugging_repair_refactoring | 768 | false | 2026-07-17 |
/*
* Copyright 2015 Tomi Valkeinen
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
using System;
using System.Collections.Generic;
using System.Diagnostics... | EsWork/Es.Serializer | src/Es.Serializer.NetSerializer/NS/TypeDictionary.cs | https://github.com/EsWork/Es.Serializer/blob/HEAD/src/Es.Serializer.NetSerializer/NS/TypeDictionary.cs | ghcode:00003:6caf5851b5f6 | mit | codeparrot/github-code | 6caf5851b5f601f85b412014067f1c051a7a8fb5c4722ab8d9a5d0ed3f024096 | 0.7 | testing_debugging_repair_refactoring | 1,193 | 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.Runtime
{
internal static class AssertHelper
{
internal ... | mconnew/wcf | src/Common/src/Internals/System/Runtime/AssertHelper.cs | https://github.com/mconnew/wcf/blob/HEAD/src/Common/src/Internals/System/Runtime/AssertHelper.cs | ghcode:00003:2a070720a1f7 | mit | codeparrot/github-code | 2a070720a1f76466cf432e03b2df8ca66740847207a3480ac81cc030db317920 | 0.8 | testing_debugging_repair_refactoring | 82 | false | 2026-07-17 |
using GraphQL.Types;
using Xunit;
namespace GraphQL.Tests.Execution
{
public class EnumAsInputsTests : QueryTestBase<EnumMutationSchema>
{
[Fact]
public void mutation_input()
{
AssertQuerySuccess(
@"
mutation createUser {
c... | plecong/graphql-dotnet | src/GraphQL.Tests/Execution/EnumAsInputsTests.cs | https://github.com/plecong/graphql-dotnet/blob/HEAD/src/GraphQL.Tests/Execution/EnumAsInputsTests.cs | ghcode:00003:b28ab2d2d2c7 | mit | codeparrot/github-code | b28ab2d2d2c78251e705efbe2e579109275566445ac8e974860a40f4c398e765 | 0.75 | testing_debugging_repair_refactoring | 1,441 | 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;
using System.Collections.Generic;
using System.Reflection;
using System.Threading;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace Microsoft.UnitT... | AlexanderSher/RTVS | src/UnitTests/Core/Impl/XUnit/TestInvoker.cs | https://github.com/AlexanderSher/RTVS/blob/HEAD/src/UnitTests/Core/Impl/XUnit/TestInvoker.cs | ghcode:00003:d95bf2a4337c | mit | codeparrot/github-code | d95bf2a4337ce63e120606aab3721cee3df34db8ce94daf5a9c36d2b6545bbee | 0.75 | testing_debugging_repair_refactoring | 159 | false | 2026-07-17 |
{caret}namespace N
{
class Program
{
static void Main(string[] args)
{
string query1 = Program.CreateStr("x", "y");
Program.ExecuteImmediate(query1);
}
static string CreateStr(string x, string y)
{
if (x.IsNormalized())
... | Albiglittle/YaccConstructor | src/SELApproximator/SELApproximator.Tests/test/data/CSharpRecursiveFsa/TailRecMethodWithTwoArgs.cs | https://github.com/Albiglittle/YaccConstructor/blob/HEAD/src/SELApproximator/SELApproximator.Tests/test/data/CSharpRecursiveFsa/TailRecMethodWithTwoArgs.cs | ghcode:00003:526526b6ddb1 | apache-2.0 | codeparrot/github-code | 526526b6ddb1c7d54a0b375d8afcffb64ff9236466880385a6634f4ca84b1559 | 0.85 | testing_debugging_repair_refactoring | 149 | false | 2026-07-17 |
using Lucene.Net.Documents;
using Lucene.Net.Index.Extensions;
using Lucene.Net.Support.IO;
using NUnit.Framework;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Assert = Lucene.Net.TestFramework.Assert;
using Console = Lucene.Net.Util.SystemConsole;
namespace Lucene.Net.Index
{
/*
... | jeme/lucenenet | src/Lucene.Net.Tests/Index/TestCheckIndex.cs | https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Index/TestCheckIndex.cs | ghcode:00003:db4ebfe77df1 | apache-2.0 | codeparrot/github-code | db4ebfe77df140fcd274755662dc995d9fcbb3ed0f8bff6eb0119384bb2edd5a | 0.85 | testing_debugging_repair_refactoring | 1,083 | false | 2026-07-17 |
/*
* Copyright (c) 2015, InWorldz Halcyon Developers
* 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
*... | emperorstarfinder/halcyon | OpenSim/Region/FrameworkTests/SurroundingRegionManagerTests.cs | https://github.com/emperorstarfinder/halcyon/blob/HEAD/OpenSim/Region/FrameworkTests/SurroundingRegionManagerTests.cs | ghcode:00003:a0e3cc871c3f | bsd-3-clause | codeparrot/github-code | a0e3cc871c3f9e5ad049191623ed117e0fb76483a098b07a94badc12f1847496 | 0.85 | testing_debugging_repair_refactoring | 4,708 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Build.Construction;
using Microsoft.DotNet.ProjectJsonMigration;
using System.Linq;
using System.Collections.Generic;
namespace... | AbhitejJohn/cli | test/Msbuild.Tests.Utilities/ProjectRootElementExtensions.cs | https://github.com/AbhitejJohn/cli/blob/HEAD/test/Msbuild.Tests.Utilities/ProjectRootElementExtensions.cs | ghcode:00003:a47e589329f8 | mit | codeparrot/github-code | a47e589329f86835b1ea63a972b806b8fa965fb1ccd6d9df31b0582de56afa07 | 0.75 | testing_debugging_repair_refactoring | 431 | 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.Linq.Tests
{
public class AverageTests : Enumer... | Priya91/corefx-1 | src/System.Linq/tests/AverageTests.cs | https://github.com/Priya91/corefx-1/blob/HEAD/src/System.Linq/tests/AverageTests.cs | ghcode:00003:8eeacc0d9ab5 | mit | codeparrot/github-code | 8eeacc0d9ab5b4835de96bcf73d6689630e406765dbc602fb2d9810a7a44ebb2 | 0.95 | testing_debugging_repair_refactoring | 5,205 | false | 2026-07-17 |
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System.Diagnostics;
using NPoco;
using NUnit.Framework;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Persistence.Querying;
using Umbraco.Cms.Infrastructure.Persistence;
using Umbraco.Cms.Infrastructure.Persistence.Dtos;
using Umbraco.Cms.Infrast... | umbraco/Umbraco-CMS | tests/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Querying/QueryBuilderTests.cs | https://github.com/umbraco/Umbraco-CMS/blob/HEAD/tests/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Querying/QueryBuilderTests.cs | ghcode:00003:154fb554784f | mit | codeparrot/github-code | 154fb554784f4fc62099a6b287c936a3c8db58f869872b610de807456773d409 | 0.85 | testing_debugging_repair_refactoring | 917 | false | 2026-07-17 |
using System.Diagnostics;
namespace Jasily.ComponentModel.Editor
{
internal class ViewModelEditor : BaseEditor
{
public ViewModelEditor(string name, EditableViewModelAttribute attribute)
: base(name, attribute)
{
}
public override void WriteToObject(object vm, objec... | Jasily/jasily-csharp | Jasily/ComponentModel/Editor/ViewModelEditor.cs | https://github.com/Jasily/jasily-csharp/blob/HEAD/Jasily/ComponentModel/Editor/ViewModelEditor.cs | ghcode:00003:4397a00bb6fa | mit | codeparrot/github-code | 4397a00bb6fa4811580c77fb6824f682561146717b3f1319cfd9fceae109a794 | 0.6 | testing_debugging_repair_refactoring | 176 | 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.Net.Sockets;
using System.Net.Test.Common;
using System.Security.Cryptography.X509Certificates;
using ... | iamjasonp/corefx | src/System.Net.Security/tests/FunctionalTests/SslStreamSchSendAuxRecordTest.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Net.Security/tests/FunctionalTests/SslStreamSchSendAuxRecordTest.cs | ghcode:00003:52495a87794e | mit | codeparrot/github-code | 52495a87794e5636120193cabc3af75cac31b1dffd71e2c7c48e077a4387c760 | 0.95 | testing_debugging_repair_refactoring | 847 | 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.Reflection;
using System.Reflectio... | bbarry/roslyn | src/Compilers/Core/Portable/PEWriter/Members.cs | https://github.com/bbarry/roslyn/blob/HEAD/src/Compilers/Core/Portable/PEWriter/Members.cs | ghcode:00003:0edc5b688c0a | apache-2.0 | codeparrot/github-code | 0edc5b688c0aa99ca2bda1d2d964f5f7bd3593cb6616a272e09cc8cb728daf88 | 0.85 | testing_debugging_repair_refactoring | 7,828 | false | 2026-07-17 |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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:... | Gallio/mbunit-v3 | src/Gallio/Gallio.Tests/Reports/XsltReportFormatterTest.cs | https://github.com/Gallio/mbunit-v3/blob/HEAD/src/Gallio/Gallio.Tests/Reports/XsltReportFormatterTest.cs | ghcode:00003:ea32a4d5f6fb | apache-2.0 | codeparrot/github-code | ea32a4d5f6fbf82fea57177fe195c145fae806f30a42c0b71b7d72d7f931a476 | 0.7 | testing_debugging_repair_refactoring | 1,237 | false | 2026-07-17 |
using Xunit;
using System.Xml;
namespace XmlDocumentTests.XmlDocumentTests
{
public class CreateDocumentFragment
{
[Fact]
public static void CheckNodeType()
{
var xmlDocument = new XmlDocument();
var documentFragment=xmlDocument.CreateDocumentFragment();
... | 0xMF/corefx | src/System.Xml.XmlDocument/tests/XmlDocumentTests/CreateDocumentFragment.cs | https://github.com/0xMF/corefx/blob/HEAD/src/System.Xml.XmlDocument/tests/XmlDocumentTests/CreateDocumentFragment.cs | ghcode:00003:4b133f1beeb0 | mit | codeparrot/github-code | 4b133f1beeb009c78c9338c40f7490684d162a1684813e858f0f91aaff5da1c1 | 0.85 | testing_debugging_repair_refactoring | 74 | 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;
namespace System.Text.Json.Serialization.Tests
{
public static partial class CustomConverterTests... | BrennanConroy/corefx | src/System.Text.Json/tests/Serialization/CustomConverterTests.Attribute.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Text.Json/tests/Serialization/CustomConverterTests.Attribute.cs | ghcode:00003:3e16699d5218 | mit | codeparrot/github-code | 3e16699d52185c98eff04bf2d994d23c74acac7b8c5ef95fa651842c2dbf45d2 | 0.95 | testing_debugging_repair_refactoring | 1,532 | false | 2026-07-17 |
using Should;
namespace Fixie.Tests
{
public class OptionsTests
{
public void ShouldBeEmptyUponConstruction()
{
var empty = new Options();
empty.Count.ShouldEqual(0);
empty.Keys.ShouldBeEmpty();
}
public void ShouldAllowLookupOfAllAddedValu... | Duohong/fixie | src/Fixie.Tests/OptionsTests.cs | https://github.com/Duohong/fixie/blob/HEAD/src/Fixie.Tests/OptionsTests.cs | ghcode:00003:3bbb072105fa | mit | codeparrot/github-code | 3bbb072105fa94210380b34b0af6c9876354a225fe1c8c4493ab211c4bff3cbf | 0.75 | testing_debugging_repair_refactoring | 229 | 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.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
... | mono/roslyn | src/Compilers/Core/Desktop/CommandLine/CommonCommandLineParser.cs | https://github.com/mono/roslyn/blob/HEAD/src/Compilers/Core/Desktop/CommandLine/CommonCommandLineParser.cs | ghcode:00003:65f751ab50d7 | apache-2.0 | codeparrot/github-code | 65f751ab50d7a86407a0b7cf1514465701aa80ecb11abbb7c2bba717f1d10780 | 0.7 | testing_debugging_repair_refactoring | 5,725 | false | 2026-07-17 |
namespace Rhino.Mocks.Tests.Model
{
internal class Internal
{
internal virtual string Bar()
{
return "abc";
}
internal virtual string Foo()
{
return Bar();
}
}
} | brumschlag/rhino-tools | rhino-mocks/Rhino.Mocks.Tests.Model/Internal.cs | https://github.com/brumschlag/rhino-tools/blob/HEAD/rhino-mocks/Rhino.Mocks.Tests.Model/Internal.cs | ghcode:00003:8ddc21a36c31 | bsd-3-clause | codeparrot/github-code | 8ddc21a36c3186329a16c691f3b5e80d3730dc027cfec7a3cf847a886f4d62b7 | 0.5 | testing_debugging_repair_refactoring | 50 | 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... | ascherbakoff/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Dataload/DataStreamerTestTopologyChange.cs | https://github.com/ascherbakoff/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Dataload/DataStreamerTestTopologyChange.cs | ghcode:00003:9303f0ed77c9 | apache-2.0 | codeparrot/github-code | 9303f0ed77c9f4fb756ed7e506d0d7e9a6861531f0f9322424a90b8ebff54adf | 0.7 | testing_debugging_repair_refactoring | 524 | 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 System.Threading;
using Microsoft.Win32.SafeHandles;
using Interna... | shahid-pk/corefx | src/Common/src/System/Security/Cryptography/RSAOpenSsl.cs | https://github.com/shahid-pk/corefx/blob/HEAD/src/Common/src/System/Security/Cryptography/RSAOpenSsl.cs | ghcode:00003:2a24b1933c54 | mit | codeparrot/github-code | 2a24b1933c547d48079039d7901a83574526c29f8c5e289c6f06b334be66a0ec | 0.95 | testing_debugging_repair_refactoring | 3,078 | 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.Diagnostics;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Co... | balazssimon/meta-cs | src/Main/MetaDslx.CodeAnalysis.CSharp/Symbols/SymbolCompletionState.cs | https://github.com/balazssimon/meta-cs/blob/HEAD/src/Main/MetaDslx.CodeAnalysis.CSharp/Symbols/SymbolCompletionState.cs | ghcode:00003:93e6796d08d4 | apache-2.0 | codeparrot/github-code | 93e6796d08d47ead353630a98a5ff9a7245c9a55cd6b3f7dcc668dcba7fc8ef2 | 0.7 | testing_debugging_repair_refactoring | 1,306 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
using Ploeh.AutoFixture;
using System.Collections;
using Ploeh.AutoFixture.Kernel;
namespace Ploeh.AutoFixtureUnitTest.AbstractRecursionIssue
{
public class Repro
{
/// <summary>
/// This test re... | olegsych/AutoFixture | Src/AutoFixtureUnitTest/AbstractRecursionIssue/Repro.cs | https://github.com/olegsych/AutoFixture/blob/HEAD/Src/AutoFixtureUnitTest/AbstractRecursionIssue/Repro.cs | ghcode:00003:807926f0972d | mit | codeparrot/github-code | 807926f0972d47b7ddd85d64c0bfe311fce7c637efbeff589ec04d946ee8fed0 | 0.7 | testing_debugging_repair_refactoring | 492 | 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 ... | afinka77/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinarySelfTestFullFooter.cs | https://github.com/afinka77/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinarySelfTestFullFooter.cs | ghcode:00003:e0a667716580 | apache-2.0 | codeparrot/github-code | e0a667716580b0802b1142d1071ffe7265a216ab51989f3e822610b501bd5d82 | 0.7 | testing_debugging_repair_refactoring | 263 | false | 2026-07-17 |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.Owin.Hosting.Utilities;
using Xunit;
namespace Microsoft.Owin.Hosting.Tests
{
public class SettingsTests
{
... | HongJunRen/katanaproject | tests/Microsoft.Owin.Hosting.Tests/SettingsTests.cs | https://github.com/HongJunRen/katanaproject/blob/HEAD/tests/Microsoft.Owin.Hosting.Tests/SettingsTests.cs | ghcode:00003:f59db84fe37b | apache-2.0 | codeparrot/github-code | f59db84fe37b4454ae372bf5d5f21539c289b1010b73c663fbf7043f4216ea81 | 0.75 | testing_debugging_repair_refactoring | 446 | 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 Xunit;
namespace System.Time.Tests
{
public class TimeOfDayMathTests
{
[Fact]
public void CanCalculateDuration_Normal()
{
... | livarcocc/corefxlab | tests/System.Time.Tests/TimeOfDayMathTests.cs | https://github.com/livarcocc/corefxlab/blob/HEAD/tests/System.Time.Tests/TimeOfDayMathTests.cs | ghcode:00003:bbd5977e47b6 | mit | codeparrot/github-code | bbd5977e47b6f7bfd06ee12414037fbdce85b34f8f5b1162f92d5a6b76c76688 | 0.75 | testing_debugging_repair_refactoring | 384 | 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.Structure;
using Microsoft.CodeAnalysis.CSharp.Structure.MetadataAsSource;
using Microsoft.... | weltkante/roslyn | src/EditorFeatures/CSharpTest/Structure/MetadataAsSource/DelegateDeclarationStructureTests.cs | https://github.com/weltkante/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Structure/MetadataAsSource/DelegateDeclarationStructureTests.cs | ghcode:00003:49f2ff8b9412 | apache-2.0 | codeparrot/github-code | 49f2ff8b9412508c8668d107001b2760815278365fcc0c06193d2dea2dac39c2 | 0.85 | testing_debugging_repair_refactoring | 518 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="RowTypePropertyElement.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// @owner [....]
// @backupOwner [....]
//---------------------------------------------... | sekcheong/referencesource | System.Data.Entity/System/Data/EntityModel/SchemaObjectModel/RowTypePropertyElement.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Data.Entity/System/Data/EntityModel/SchemaObjectModel/RowTypePropertyElement.cs | ghcode:00003:644240af529f | mit | codeparrot/github-code | 644240af529fe56dad9d7ba182a5f7609eb8deeb463a7154d1d9a57d4e3e9fdc | 0.7 | testing_debugging_repair_refactoring | 1,600 | 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.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.UseCollectionI... | mmitche/roslyn | src/EditorFeatures/CSharpTest/UseCollectionInitializer/UseCollectionInitializerTests.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/UseCollectionInitializer/UseCollectionInitializerTests.cs | ghcode:00003:018a9a2fef54 | apache-2.0 | codeparrot/github-code | 018a9a2fef54740f24fdd1b3e1b771b5d99a9a047196f5223ce9e3c4fb0a0301 | 0.85 | testing_debugging_repair_refactoring | 5,071 | 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 Microsoft.CodeAnalysis.CSharp.Symbols;
using System.Collections.Immutable;
using System.Di... | physhi/roslyn | src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/Symbols/EEDisplayClassFieldLocalSymbol.cs | https://github.com/physhi/roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/Symbols/EEDisplayClassFieldLocalSymbol.cs | ghcode:00003:26b909c30cb6 | apache-2.0 | codeparrot/github-code | 26b909c30cb6f21e5c0ba6446c959c35ccd2611979ce2961c7d0f50e861e5c27 | 0.85 | testing_debugging_repair_refactoring | 460 | 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 Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.Editor.UnitTests
{
internal sealed clas... | AmadeusW/roslyn | src/EditorFeatures/TestUtilities/Utilities/TestFixtureHelper`1.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/EditorFeatures/TestUtilities/Utilities/TestFixtureHelper`1.cs | ghcode:00003:b521ff618584 | apache-2.0 | codeparrot/github-code | b521ff618584902bd0a44b041c8b81035c952fd51ab3e87a06a68d8f6a6abf05 | 0.85 | testing_debugging_repair_refactoring | 462 | 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.Dynamic.Utils;
using System.Reflection;
using System.Reflection.Emit;
using s... | ViktorHofer/corefx | src/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/ILGen.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/ILGen.cs | ghcode:00003:94710678add6 | mit | codeparrot/github-code | 94710678add68c1cc40ba72959c8c5c4608d10b03e8b8a26d747ce1bc6750c13 | 0.95 | testing_debugging_repair_refactoring | 7,890 | 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.Runtime.CompilerServices;
namespace System.Net.Sockets
{
// Allow hiding... | shimingsg/corefx | src/System.Net.Sockets/src/System/Net/Sockets/IOControlKeepAlive.Windows.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Net.Sockets/src/System/Net/Sockets/IOControlKeepAlive.Windows.cs | ghcode:00003:4d3311e7ba5f | mit | codeparrot/github-code | 4d3311e7ba5f972520e8b35e34987efdf5b0aad3f824971dc5b7de21e467b19b | 0.95 | testing_debugging_repair_refactoring | 1,080 | 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 Microsoft.CodeAnalysis.Completion;
using Microsoft.CodeAnalysis.CSharp.Completion.Providers;
using Roslyn.Test.Utilities;
using Xunit;
namespace Micro... | KevinRansom/roslyn | src/EditorFeatures/CSharpTest/Completion/CompletionProviders/ExplicitInterfaceCompletionProviderTests.cs | https://github.com/KevinRansom/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Completion/CompletionProviders/ExplicitInterfaceCompletionProviderTests.cs | ghcode:00003:890f54ddddeb | apache-2.0 | codeparrot/github-code | 890f54ddddebae11d1ad3cbf309ae2b3e0abb2415b915571c743f2611bcc4137 | 0.75 | testing_debugging_repair_refactoring | 442 | 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.Security.Cryptography.X509Certificates;
usi... | BrennanConroy/corefx | src/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/CertCollectionLoader.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/CertCollectionLoader.cs | ghcode:00003:6feb2ba238e4 | mit | codeparrot/github-code | 6feb2ba238e49a693695028a5726eb1b9459c7bbf4cb1ab1bfa27e28e4ffc54a | 0.95 | testing_debugging_repair_refactoring | 237 | false | 2026-07-17 |
using Shouldly;
using Xunit;
namespace Valit.Tests.Byte
{
public class Byte_IsEqualTo_Tests
{
[Fact]
public void Byte_IsEqualTo_For_Not_Nullable_Values_Throws_When_Null_Rule_Is_Given()
{
var exception = Record.Exception(() =>
{
((IValitRule<Model,... | valit-stack/Valit | tests/Valit.Tests/Byte/Byte_IsEqual_To_Tests.cs | https://github.com/valit-stack/Valit/blob/HEAD/tests/Valit.Tests/Byte/Byte_IsEqual_To_Tests.cs | ghcode:00003:1457bf5abedf | mit | codeparrot/github-code | 1457bf5abedf2c8e1ab4f5ebebf072f4f4ee15c3fd0abdcd1fd6aef40f27c866 | 0.75 | testing_debugging_repair_refactoring | 940 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Tweetinvi;
using Tweetinvi.AspNet;
using Tweetinvi.Exceptions;
using Tweetinvi.Models;
using Xunit;
using Xunit.Abstractions;
using xUnitinvi.TestHelpers;
namespace xUnitinvi.EndToEnd
{
public class RunAccountActivityTestConfig
{
publ... | linvi/tweetinvi | Tests/xUnitinvi/EndToEnd/AccountActivityEndToEndTests.cs | https://github.com/linvi/tweetinvi/blob/HEAD/Tests/xUnitinvi/EndToEnd/AccountActivityEndToEndTests.cs | ghcode:00003:f83dfb57bd6a | mit | codeparrot/github-code | f83dfb57bd6ac12ab041a676876cd81a6ab6bc514e4b76214fbf538e24f5c8dd | 0.85 | testing_debugging_repair_refactoring | 1,371 | false | 2026-07-17 |
namespace Santhos.DocumentDb.Repository.IntegrationTest
{
using System.Threading.Tasks;
using Microsoft.Azure.Documents.Client;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class MainTest
{
[TestMethod]
public async Task Main()
{
u... | San7hos/DocumentDbRepository | DocumentDbRepository.IntegrationTest/MainTest.cs | https://github.com/San7hos/DocumentDbRepository/blob/HEAD/DocumentDbRepository.IntegrationTest/MainTest.cs | ghcode:00003:fbff796859ac | mit | codeparrot/github-code | fbff796859ac3595b7884168e88a652efd60bfbef30e03ee4baa097119636da1 | 0.6 | testing_debugging_repair_refactoring | 153 | false | 2026-07-17 |
using JetBrains.ReSharper.Psi.CSharp.Tree;
using MockMetrics.Eating.Expression;
using MockMetrics.Eating.Statement;
using NUnit.Framework;
using Moq;
namespace MockMetrics.Eating.Tests.Statement
{
[TestFixture]
public class LockStatementEaterTests
{
[Test]
public void EatBodyTest()
... | KozhevnikovDmitry/MockMetrics | MockMetrics/MockMetrics.Eating.Tests/Statement/LockStatementEaterTests.cs | https://github.com/KozhevnikovDmitry/MockMetrics/blob/HEAD/MockMetrics/MockMetrics.Eating.Tests/Statement/LockStatementEaterTests.cs | ghcode:00003:1e70202defc7 | mit | codeparrot/github-code | 1e70202defc73753202eed89fb9d0de776a74e1b94ec94547a5404c07cb97317 | 0.85 | testing_debugging_repair_refactoring | 440 | false | 2026-07-17 |
// Copyright © 2013, 2015 Oracle and/or its affiliates. All rights reserved.
//
// MySQL Connector/NET is licensed under the terms of the GPLv2
// <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
// MySQL Connectors. There are special exceptions to the terms and
// conditions of the GPLv2 as it is ... | chenlianwd/MES | Reference_Projects/MySql/Tests/MySql.Data.Tests/BlobTestsSharedMemoryCompressed.cs | https://github.com/chenlianwd/MES/blob/HEAD/Reference_Projects/MySql/Tests/MySql.Data.Tests/BlobTestsSharedMemoryCompressed.cs | ghcode:00003:3e7ebfd4075d | mit | codeparrot/github-code | 3e7ebfd4075d1a362abd11e509bae5eb7006953fbc190eed2b981d48fff7e8d0 | 0.95 | testing_debugging_repair_refactoring | 398 | false | 2026-07-17 |
using CharacterGen.Domain.Tables;
using CharacterGen.Feats;
using CharacterGen.Skills;
using NUnit.Framework;
namespace CharacterGen.Tests.Integration.Tables.Feats.Requirements.Skills
{
[TestFixture]
public class MountedCombatSkillRankRequirementsTests : AdjustmentsTests
{
protected override strin... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/Feats/Requirements/Skills/MountedCombatSkillRankRequirementsTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/Feats/Requirements/Skills/MountedCombatSkillRankRequirementsTests.cs | ghcode:00003:b6a5e7f83a25 | mit | codeparrot/github-code | b6a5e7f83a250ed5a99a371a4aec509cf6af60f7d674058793dc52544363574c | 0.75 | testing_debugging_repair_refactoring | 173 | false | 2026-07-17 |
using NUnit.Framework;
using NUnit.Framework.SyntaxHelpers;
namespace Chess.Domain
{
[TestFixture]
public class When_creating_a_chess_board
{
private ChessBoard _chessBoard;
[SetUp]
public void SetUp()
{
_chessBoard = new ChessBoard();
}
[Test]... | BillSkiCO/ChessCodingExercise | PawnSpecs.cs | https://github.com/BillSkiCO/ChessCodingExercise/blob/HEAD/PawnSpecs.cs | ghcode:00003:ef3842bbc68d | mit | codeparrot/github-code | ef3842bbc68d5b91a3dd5581136eebae2d8ad6f33275dd28f47b773fba60558c | 0.6 | testing_debugging_repair_refactoring | 1,657 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
// Done
namespace FileHelpers.Examples.QuickStart.WriteRecordByRecord
{
//-> Name:Write Delimited File
//-> Description:Example of how to write a delimited file
public class WriteFile : OutputBase
{
... | MarcosMeli/FileHelpers | FileHelpers.Examples/Examples/QuickStart/WriteRecordByRecord/WriteRecordByRecord.cs | https://github.com/MarcosMeli/FileHelpers/blob/HEAD/FileHelpers.Examples/Examples/QuickStart/WriteRecordByRecord/WriteRecordByRecord.cs | ghcode:00003:dc481b31efa0 | mit | codeparrot/github-code | dc481b31efa070e7f6407d947a1f86f417e4a21e730df0a6cc8e4d26657896c4 | 0.7 | testing_debugging_repair_refactoring | 418 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeBruijn.Tests
{
class TestOutput
{
const long magic = 0x022fdd63cc95386d; // the 4061955
static readonly int[] magictable =
{
0,1,2,53,3,7,54,27,
... | zbrad/Chess | DeBruijn/Tests/TestOutput.cs | https://github.com/zbrad/Chess/blob/HEAD/DeBruijn/Tests/TestOutput.cs | ghcode:00003:fda380c67e44 | mit | codeparrot/github-code | fda380c67e4476a39f06db7978a868d026965e6cd5cb75edfabaf47d4097a74b | 0.85 | testing_debugging_repair_refactoring | 350 | false | 2026-07-17 |
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... | AzureAD/azure-activedirectory-library-for-dotnet | tests/Test.ADAL.NET.Unit.netcore/AdalHttpClientTests.cs | https://github.com/AzureAD/azure-activedirectory-library-for-dotnet/blob/HEAD/tests/Test.ADAL.NET.Unit.netcore/AdalHttpClientTests.cs | ghcode:00003:a4722aded88c | mit | codeparrot/github-code | a4722aded88c3e8f2449595630f958c25595bf52cc1a1c205d459340cd04aeb0 | 0.85 | testing_debugging_repair_refactoring | 770 | false | 2026-07-17 |
namespace Jasper.Http.Testing.Routing
{
public class SegmentTests
{
}
}
| JasperFx/jasper | src/Jasper.Http.Testing/Routing/SegmentTests.cs | https://github.com/JasperFx/jasper/blob/HEAD/src/Jasper.Http.Testing/Routing/SegmentTests.cs | ghcode:00003:d74817150759 | mit | codeparrot/github-code | d74817150759e262b7b66712c8b1dbfca66d94f5a5f9152bccf7abcb4b284823 | 0.35 | testing_debugging_repair_refactoring | 20 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Azure.Core.Pipeline;
using Azure.Core.Tests;
using Azure.Messaging.S... | AsrOneSdk/azure-sdk-for-net | sdk/servicebus/Azure.Messaging.ServiceBus/tests/Diagnostics/DiagnosticScopeLiveTests.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Diagnostics/DiagnosticScopeLiveTests.cs | ghcode:00003:3090abee2c82 | mit | codeparrot/github-code | 3090abee2c82d4231a17135c9eecc8077156f90370b73814c31f102899f9a979 | 0.95 | testing_debugging_repair_refactoring | 2,646 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DynamoBaseTests
{
public class Class1
{
public Class1()
{
}
}
}
| awscore/dynamobase | DynamoBase/test/DynamoBaseTests/Class1.cs | https://github.com/awscore/dynamobase/blob/HEAD/DynamoBase/test/DynamoBaseTests/Class1.cs | ghcode:00003:77499d0b5093 | mit | codeparrot/github-code | 77499d0b5093d04a3b9699b33edb37e1bf629798d37955540da0499e662ed6cd | 0.85 | testing_debugging_repair_refactoring | 43 | false | 2026-07-17 |
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using Phantom.PubSub;
//using Entities;
//namespace BusinessLogic
//{
// public class TestMessagePubSubChannelGeneric : PublishSubscribeChannel<Message>
// {
// public TestMessagePubSubChannelGeneri... | nanderto/PubSub | src/BusinessLogic/Deprecated/TestMessagePubSubChannelGeneric.cs | https://github.com/nanderto/PubSub/blob/HEAD/src/BusinessLogic/Deprecated/TestMessagePubSubChannelGeneric.cs | ghcode:00003:55b116b859f3 | mit | codeparrot/github-code | 55b116b859f343306af068dd888ec9144706454ad1cec87d847415c39106b63d | 0.85 | testing_debugging_repair_refactoring | 770 | false | 2026-07-17 |
/*
* Copyright (c) 2017-2018 Håkan Edling
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* http://github.com/piranhacms/piranha
*
*/
using Microsoft.Extensions.DependencyInjection;
using Piranha.AttributeBuilder;
using... | filipjansson/piranha.core | test/Piranha.Tests/Repositories/Posts.cs | https://github.com/filipjansson/piranha.core/blob/HEAD/test/Piranha.Tests/Repositories/Posts.cs | ghcode:00003:b19b5f1d43f1 | mit | codeparrot/github-code | b19b5f1d43f1d4f3847531e19d19f984da9d10951ea5be25e343175dd41884fd | 0.7 | testing_debugging_repair_refactoring | 5,220 | false | 2026-07-17 |
using System;
using System.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MultiSafepay.Model;
namespace MultiSafepay.IntegrationTests.Orders
{
[TestClass]
public class RedirectOrder
{
[TestMethod]
public void Orders_CreateRedirect()
{
// Arrang... | MultiSafepay/.Net | Tests/MultiSafepay.IntegrationTests/Orders/RedirectOrder.cs | https://github.com/MultiSafepay/.Net/blob/HEAD/Tests/MultiSafepay.IntegrationTests/Orders/RedirectOrder.cs | ghcode:00003:edc084d6f2e3 | mit | codeparrot/github-code | edc084d6f2e3cdeef96344e4ddcae7f75a9ebf84d94685e92dc2907a24d59fc9 | 0.7 | testing_debugging_repair_refactoring | 803 | false | 2026-07-17 |
using CircuitSimulation.Library.Elements;
using NUnit.Framework;
namespace CircuitSimulation.Library.Tests
{
[TestFixture]
public class AndGateTests
{
[TestCase(0, 0, 0)]
[TestCase(0, 1, 0)]
[TestCase(1, 0, 0)]
[TestCase(1, 1, 1)]
public void TestOutput(int input1, ... | mszczepaniak/circuitsimulation | CircuitSimulation.Library.Tests/AndGateTests.cs | https://github.com/mszczepaniak/circuitsimulation/blob/HEAD/CircuitSimulation.Library.Tests/AndGateTests.cs | ghcode:00003:920ee9058db5 | mit | codeparrot/github-code | 920ee9058db537ebfd8cd421e8037a4a8f7a32c02e716dd07d9214af38ffb752 | 0.75 | testing_debugging_repair_refactoring | 128 | false | 2026-07-17 |
using KenticoInspector.Core.Constants;
using KenticoInspector.Reports.ApplicationRestartAnalysis;
using KenticoInspector.Reports.ApplicationRestartAnalysis.Models;
using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace KenticoInspector.Reports.Tests
{
[TestFixture(10)]
[TestFixture(11... | ChristopherJennings/KInspector | KenticoInspector.Reports.Tests/ApplicationRestartAnalysisTests.cs | https://github.com/ChristopherJennings/KInspector/blob/HEAD/KenticoInspector.Reports.Tests/ApplicationRestartAnalysisTests.cs | ghcode:00003:886e2d22cf3e | mit | codeparrot/github-code | 886e2d22cf3e7b575f357bbefa76b7ed10c17c912337ebd5e32fa324484eee58 | 0.85 | testing_debugging_repair_refactoring | 542 | false | 2026-07-17 |
using System;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using MockMetrics.Eating.Expression;
using MockMetrics.Eating.Tests.StubTypes;
using Moq;
using NUnit.Framework;
namespace MockMetrics.Eating.Tests.Expression
{
[TestFixture]
public class ReferenceExpressionEaterTests
... | KozhevnikovDmitry/MockMetrics | MockMetrics/MockMetrics.Eating.Tests/Expression/ReferenceExpressionEaterTests.cs | https://github.com/KozhevnikovDmitry/MockMetrics/blob/HEAD/MockMetrics/MockMetrics.Eating.Tests/Expression/ReferenceExpressionEaterTests.cs | ghcode:00003:9365d4a527dd | mit | codeparrot/github-code | 9365d4a527dd4ac129bb9fbbbf3ce0d6283defece2a86fe08430d00da804e494 | 0.85 | testing_debugging_repair_refactoring | 1,483 | false | 2026-07-17 |
using CarsSystem.Data.Models;
using NUnit.Framework;
namespace CarsSystem.Tests.Data.CarsSystem.Data.Models.CarTests
{
[TestFixture]
public class Should
{
[Test]
public void CreateInstanceOfClassCorrectly()
{
// Arrange
var car = new Car();
// A... | todor-enikov/Cars-System-ASP.NET-MVC-Project | Source/Tests/CarsSystem.Tests/Data/CarsSystem.Data.Models/CarTests/Should.cs | https://github.com/todor-enikov/Cars-System-ASP.NET-MVC-Project/blob/HEAD/Source/Tests/CarsSystem.Tests/Data/CarsSystem.Data.Models/CarTests/Should.cs | ghcode:00003:43c188ae841b | mit | codeparrot/github-code | 43c188ae841b81b273c370496918ac92b2efd60924d8eb95fe25a1a61b7f1d32 | 0.95 | testing_debugging_repair_refactoring | 1,927 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using DBlog.Data;
using NHibernate;
using NHibernate.Cfg;
using System.Collections;
namespace DBlog.Data.Hibernate.UnitTests
{
public abstract class NHibernateCrudTest : NHibernateTest
{
private ArrayList m_DependentObjects = new ArrayList();
p... | dblock/dblog | Data.Hibernate.UnitTests/NHibernateCrudTest.cs | https://github.com/dblock/dblog/blob/HEAD/Data.Hibernate.UnitTests/NHibernateCrudTest.cs | ghcode:00003:b878fd447bec | mit | codeparrot/github-code | b878fd447bec3342ada3f34ca7b48749f2cde1ab7a6ae0283c6cf8d05c7a9d5a | 0.6 | testing_debugging_repair_refactoring | 563 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.