text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
using System.IO;
namespace Microsoft.CodeAnalysis.Scripting.Hosting
{
internal class ConsoleIO
{
pub... | pdelvo/roslyn | src/Scripting/Core/Hosting/CommandLine/ConsoleIO.cs | https://github.com/pdelvo/roslyn/blob/HEAD/src/Scripting/Core/Hosting/CommandLine/ConsoleIO.cs | ghcode:00000:62d9a969a299 | apache-2.0 | codeparrot/github-code | 62d9a969a299e36808c63e55d56d2cf61fe522e6544dc44e21f9b7425d924195 | 0.6 | testing_debugging_repair_refactoring | 199 | 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.Linq;
using System.Net.Sockets;
using Xunit;
namespace System.Net.Primitives.PalTests
{
public class ... | heXelium/corefx | src/System.Net.Primitives/tests/PalTests/SocketAddressPalTest.cs | https://github.com/heXelium/corefx/blob/HEAD/src/System.Net.Primitives/tests/PalTests/SocketAddressPalTest.cs | ghcode:00000:540fa752c4c6 | mit | codeparrot/github-code | 540fa752c4c6380b8991bd7c0b17be99412a5e5f56b75a2a85b2c29a63c948dc | 0.85 | testing_debugging_repair_refactoring | 1,874 | 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;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
using System.Threading.Ta... | Yanjing123/corefx | src/System.Threading.Tasks/tests/System.Runtime.CompilerServices/YieldAwaitableTests.cs | https://github.com/Yanjing123/corefx/blob/HEAD/src/System.Threading.Tasks/tests/System.Runtime.CompilerServices/YieldAwaitableTests.cs | ghcode:00000:4d3682720d29 | mit | codeparrot/github-code | 4d3682720d2900ec59e9ddd06cc3649f09f73442125ccb04a4be16d43949d9c0 | 0.95 | testing_debugging_repair_refactoring | 1,542 | 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.Diagnostics;
using System.Dynamic.Utils;
using System.Globalization;
using System.Reflection;
using System.... | vs-team/corefx | src/System.Linq.Expressions/src/System/Linq/Expressions/ExpressionStringBuilder.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Linq.Expressions/src/System/Linq/Expressions/ExpressionStringBuilder.cs | ghcode:00000:a7ad0c054832 | mit | codeparrot/github-code | a7ad0c0548327c2ae27be9295af5ddc2fad21caf00ae0472ab83d8c6c18836eb | 0.8 | testing_debugging_repair_refactoring | 4,558 | 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... | droyad/roslyn | src/EditorFeatures/CSharpTest/Completion/CompletionProviders/SpeculativeTCompletionProviderTests.cs | https://github.com/droyad/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Completion/CompletionProviders/SpeculativeTCompletionProviderTests.cs | ghcode:00000:8fcda56cadad | apache-2.0 | codeparrot/github-code | 8fcda56cadad2b4e9ce7ccfdda558c93a6e2a7532592d4ea63a5900c15298023 | 0.85 | testing_debugging_repair_refactoring | 1,722 | 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.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeRefac... | DanielRosenwasser/roslyn | src/EditorFeatures/CSharpTest/CodeActions/Preview/PreviewExceptionTests.cs | https://github.com/DanielRosenwasser/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/CodeActions/Preview/PreviewExceptionTests.cs | ghcode:00000:5b697f59c26e | apache-2.0 | codeparrot/github-code | 5b697f59c26e3850dc943e3238e72cddb17edac3591a3dc0043474baa322fa72 | 0.75 | testing_debugging_repair_refactoring | 903 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// See the LICENSE file in the project root for more information.
// (C) Ameya Gargesh
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and a... | jlin177/corefx | src/System.Data.Common/tests/System/Data/Common/DataColumnMappingCollectionTest.cs | https://github.com/jlin177/corefx/blob/HEAD/src/System.Data.Common/tests/System/Data/Common/DataColumnMappingCollectionTest.cs | ghcode:00000:f1043bc3e86d | mit | codeparrot/github-code | f1043bc3e86dcf50f98ed35d52a669b78585d385d8c6967b681458357d9d8ff8 | 0.95 | testing_debugging_repair_refactoring | 4,715 | false | 2026-07-17 |
using System.Xml.Linq;
using FluentAssertions;
using Nerdle.AutoConfig.Mapping.Mappers;
using NUnit.Framework;
using System.Collections.ObjectModel;
using System;
using Nerdle.AutoConfig.Exceptions;
namespace Nerdle.AutoConfig.Tests.Unit.Mappers.DictionaryMapperTests
{
[TestFixture]
public class When_mapping_... | edpollitt/Nerdle.AutoConfig | Nerdle.AutoConfig.Tests.Unit/Mappers/KeyedCollectionMapperTests/When_mapping_a_keyed_collection.cs | https://github.com/edpollitt/Nerdle.AutoConfig/blob/HEAD/Nerdle.AutoConfig.Tests.Unit/Mappers/KeyedCollectionMapperTests/When_mapping_a_keyed_collection.cs | ghcode:00000:3dce2b6a4914 | mit | codeparrot/github-code | 3dce2b6a4914d4b53aa4ef0afb5ee36f2d8304e0725a75e8fb246d84e7e94afd | 0.75 | testing_debugging_repair_refactoring | 588 | false | 2026-07-17 |
using System;
using System.Linq;
using NSlice;
using NSliceTests.TestData;
using Xunit;
using Xunit.Extensions;
namespace NSliceTests.Tests.StringTests
{
public class StringAtTests
{
[Theory, ClassData(typeof(AtOrDefaultTestCaseSource))]
public void At_FromStringExtensions_ReturnsCorrectValues... | nabuk/NSlice | Src/NSliceTests/Tests/StringTests/StringAtTests.cs | https://github.com/nabuk/NSlice/blob/HEAD/Src/NSliceTests/Tests/StringTests/StringAtTests.cs | ghcode:00000:4cf8b5bda67d | mit | codeparrot/github-code | 4cf8b5bda67d66c90b5978824956654ebc64739037c87537c28dd33cbae8724f | 0.85 | testing_debugging_repair_refactoring | 283 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using KoduStore;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using Newtonsoft.Json;
using Newtonsoft.Json.Bson;
namespace CRUDTests
{
[TestClass]
public class CustomSerializersTest
{
private stat... | maxpert/KoduStore | CRUDTests/CustomSerializersTest.cs | https://github.com/maxpert/KoduStore/blob/HEAD/CRUDTests/CustomSerializersTest.cs | ghcode:00000:f1a8ea7651f5 | mit | codeparrot/github-code | f1a8ea7651f582c437be03dd6403546d257bab582b48ddfb9d753cfef9ae645c | 0.6 | testing_debugging_repair_refactoring | 498 | false | 2026-07-17 |
using NUnit.Framework;
using Umbraco.Core.Persistence.Mappers;
using Umbraco.Core.Persistence.SqlSyntax;
namespace Umbraco.Tests.Persistence.Mappers
{
[TestFixture]
public class LanguageMapperTest
{
[Test]
public void Can_Map_Id_Property()
{
// Act
string c... | lars-erik/Umbraco-CMS | src/Umbraco.Tests/Persistence/Mappers/LanguageMapperTest.cs | https://github.com/lars-erik/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Persistence/Mappers/LanguageMapperTest.cs | ghcode:00000:c23fb304c6f0 | mit | codeparrot/github-code | c23fb304c6f04161f69e2eb78b150a1ef5055240f4db34c611213d610474600e | 0.7 | testing_debugging_repair_refactoring | 226 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Should;
namespace Configurator.Tests
{
public class GetTests : BaseTest
{
[Test]
[ExpectedException(typeof(ConfigurationKeyNotFoundException))]
public void Should_Validate_Key()
{
Config.Get<int>("test-int2");
}
... | luisrudge/configurator | src/Configurator.Tests/GetTests.cs | https://github.com/luisrudge/configurator/blob/HEAD/src/Configurator.Tests/GetTests.cs | ghcode:00000:1003b448432a | mit | codeparrot/github-code | 1003b448432ad6ff791fc2dbe82bfd622ce63e6b358c5eb32764a044655a83c5 | 0.75 | testing_debugging_repair_refactoring | 521 | false | 2026-07-17 |
namespace P03_AnimalFarm
{
using System;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using AnimalFarm.Models;
public class Program
{
public static void Main()
{
Type chickenType = typeof(Chicken);
FieldInfo[] fields = chicke... | KristiyanVasilev/OOP-Basics | Encapsulation/AnimalFarm/AnimalFarm/AnimalFarm/Program.cs | https://github.com/KristiyanVasilev/OOP-Basics/blob/HEAD/Encapsulation/AnimalFarm/AnimalFarm/AnimalFarm/Program.cs | ghcode:00000:9b9f091c3fca | mit | codeparrot/github-code | 9b9f091c3fca22776b93e142732fa5c53d9e743c132a4d70b8c9eeea54e973ab | 0.6 | testing_debugging_repair_refactoring | 224 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Isidos.CodeMash.ServiceContracts.Api;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CodeMash.Core.Tests
{
[TestClass]
public class CodeTests : CodeTestBase
{
private Guid _functionId;
[TestInitialize]
public ... | codemash-io/CodeMash.Net | src/CodeMash.Core.Tests/CodeTests/CodeTests.cs | https://github.com/codemash-io/CodeMash.Net/blob/HEAD/src/CodeMash.Core.Tests/CodeTests/CodeTests.cs | ghcode:00000:63e53cb9f654 | mit | codeparrot/github-code | 63e53cb9f654ddc153c55d8293660e4aa12ae5c666a4668857a81f50be90cd99 | 0.75 | testing_debugging_repair_refactoring | 208 | false | 2026-07-17 |
using System;
using Agiil.Domain.Tickets;
using Agiil.Tests.Attributes;
using Ext = Agiil.Web.Rendering.MarkdownExtensions;
using Markdig.Helpers;
using Moq;
using NUnit.Framework;
using AutoFixture.NUnit3;
namespace Agiil.Tests.Web.Rendering.MarkdownExtensions
{
public class TicketReferenceParserTests
{
[Tes... | csf-dev/agiil | Tests/Agiil.Tests.Web/Rendering/MarkdownExtensions/TicketReferenceParserTests.cs | https://github.com/csf-dev/agiil/blob/HEAD/Tests/Agiil.Tests.Web/Rendering/MarkdownExtensions/TicketReferenceParserTests.cs | ghcode:00000:8fc32d0fac40 | mit | codeparrot/github-code | 8fc32d0fac40c7c171b1731e35b98d90c614295e6603df03a8b9176d76249069 | 0.85 | testing_debugging_repair_refactoring | 1,640 | false | 2026-07-17 |
namespace NServiceBus.AcceptanceTests.Routing
{
using System.Threading.Tasks;
using AcceptanceTesting;
using EndpointTemplates;
using NUnit.Framework;
using Conventions = AcceptanceTesting.Customization.Conventions;
public class When_replying_to_message : NServiceBusAcceptanceTest
... | sbmako/NServiceBus.MongoDB | src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.6.0.0/Routing/When_replying_to_message.cs | https://github.com/sbmako/NServiceBus.MongoDB/blob/HEAD/src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.6.0.0/Routing/When_replying_to_message.cs | ghcode:00000:a6b537b88178 | mit | codeparrot/github-code | a6b537b88178d0b04340a768eb793122cf95e77c4806fde1bc597a13f03696c0 | 0.6 | testing_debugging_repair_refactoring | 638 | false | 2026-07-17 |
namespace DependencyTest
{
using System;
using Farmhand;
using Farmhand.API.Debug;
using Farmhand.Events;
using Farmhand.Registries;
/// <summary>
/// A dependency test mod.
/// </summary>
public class DependencyMod : Mod
{
/// <summary>
/// The mod entry method... | ClxS/Stardew-Farmhand | Mods/DependencyTest/DependencyValidator/Mod.cs | https://github.com/ClxS/Stardew-Farmhand/blob/HEAD/Mods/DependencyTest/DependencyValidator/Mod.cs | ghcode:00000:c85acecaa241 | mit | codeparrot/github-code | c85acecaa241269295386f87c60ed77ab937f41f98bbe97361bb6628dd1cce71 | 0.7 | testing_debugging_repair_refactoring | 519 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JohnLambe.Util.MathUtilities;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace JohnLambe.Tests.JLUtilsTest.MathUtilities
{
[TestClass]
public class MathUtilTest
{
... | JohnLambe/JLCSUtils | JLCSUtils/JLUtilsTest/MathUtilities/MathUtilTest.cs | https://github.com/JohnLambe/JLCSUtils/blob/HEAD/JLCSUtils/JLUtilsTest/MathUtilities/MathUtilTest.cs | ghcode:00000:5615102613f3 | mit | codeparrot/github-code | 5615102613f3d7ffcb68ee2b8c0952dac4d0144e048cbe46815d7fe54a5d4aa0 | 0.6 | testing_debugging_repair_refactoring | 265 | false | 2026-07-17 |
using NUnit.Framework;
namespace Rocks.Tests;
public static class HelpUrlBuilderTests
{
[Test]
public static void Create() =>
Assert.That(HelpUrlBuilder.Build("a", "b"),
Is.EqualTo("https://github.com/JasonBock/Rocks/tree/main/docs/a-b.md"));
} | JasonBock/Rocks | src/Rocks.Tests/HelpUrlBuilderTests.cs | https://github.com/JasonBock/Rocks/blob/HEAD/src/Rocks.Tests/HelpUrlBuilderTests.cs | ghcode:00000:944bbc8003da | mit | codeparrot/github-code | 944bbc8003da651e3857c9453af3781c44d7be1f4d785e101b78db07f6e3295b | 0.75 | testing_debugging_repair_refactoring | 63 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PayTrace.Integration;
using PayTrace.Integration.API;
namespace PayTrace.Integration.Test
{
[TestClass]
public class APIServicesTestHarness
{
[TestMethod... | PayTrace/paytrace_dotnet | PayTrace.Integration.Test/APIServicesTestHarness.cs | https://github.com/PayTrace/paytrace_dotnet/blob/HEAD/PayTrace.Integration.Test/APIServicesTestHarness.cs | ghcode:00000:1ce25ff35da2 | mit | codeparrot/github-code | 1ce25ff35da24a4b9fa0722691d659d9e1f17e6cef4b608529d09de22527d930 | 0.6 | testing_debugging_repair_refactoring | 947 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Communist.Search;
using Xunit;
namespace Communist.Tests
{
public class SearchTests
{
[Fact]
public void SearchCriteria_IsOrdering_False_WhenOrderByAndOrderDirectionNotSet()
{
var criteria = new TestSearchCriteria();
Assert.... | bsheldrick/communist | test/Communist.Tests/SearchTests.cs | https://github.com/bsheldrick/communist/blob/HEAD/test/Communist.Tests/SearchTests.cs | ghcode:00000:ec1505587798 | mit | codeparrot/github-code | ec15055877988cb355734dd9899894728eb511d4de7c60d39bc76b6e872082c0 | 0.75 | testing_debugging_repair_refactoring | 2,202 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Mechanical3.Core;
using Mechanical3.Misc;
using NUnit.Framework;
namespace Mechanical3.Tests.Misc
{
[TestFixture(Category = "Misc")]
public static class StringFormatterTests
{
#region Test helpers
... | MechanicalMen/Mechanical3 | source/Mechanical3.Tests/Misc/StringFormatterTests.cs | https://github.com/MechanicalMen/Mechanical3/blob/HEAD/source/Mechanical3.Tests/Misc/StringFormatterTests.cs | ghcode:00000:efc9054d9e9b | mit | codeparrot/github-code | efc9054d9e9ba3beec74a10363fd2a1de5b8274e0d190481542f19c0e5ece4aa | 0.85 | testing_debugging_repair_refactoring | 3,705 | false | 2026-07-17 |
using System;
namespace FluentMethods.UnitTests
{
public partial class DateTimeFixture
{
#if NetCore
[Xunit.Fact]
#else
[NUnit.Framework.Test]
#endif
public void IsPast()
{
DateTime @this = DateTime.Now.AddDays(1);
bool value1 = @this.IsPas... | edwardmeng/FluentMethods | test/Core/System.DateTime/IsPast.cs | https://github.com/edwardmeng/FluentMethods/blob/HEAD/test/Core/System.DateTime/IsPast.cs | ghcode:00000:fe8d3177bc9f | mit | codeparrot/github-code | fe8d3177bc9f326cb62dcb9eb8527c715fb58e2baf922ae92db656dc0469d7b4 | 0.6 | testing_debugging_repair_refactoring | 110 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Xom.Core;
using Xom.Core.Models;
namespace Xom.Tests
{
[TestClass]
public class XomAttributeTypeGeneratorTests
{
[TestMethod... | KallDrexx/Xom | Xom.Tests/XomAttributeTypeGeneratorTests.cs | https://github.com/KallDrexx/Xom/blob/HEAD/Xom.Tests/XomAttributeTypeGeneratorTests.cs | ghcode:00000:0745aded710b | mit | codeparrot/github-code | 0745aded710b767922db65a9b4052938242bec3285a2b119428d46fd3f87c657 | 0.75 | testing_debugging_repair_refactoring | 653 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ScratchNet.Test
{
[TestClass]
public class SensorUpdateParserTest
{
[TestMethod]
public void Parse()
{
var value = SensorUpdateParser.Parse( "sensor-update \"piyo\" 76 " );
... | kaorun55/ScratchNet | ScratchNet/ScratchNet.Test/SensorUpdateParserTest.cs | https://github.com/kaorun55/ScratchNet/blob/HEAD/ScratchNet/ScratchNet.Test/SensorUpdateParserTest.cs | ghcode:00000:19b590fcac7f | mit | codeparrot/github-code | 19b590fcac7f87efe786392f9e68018dd87b0ef451f63c8259194df05e85b38d | 0.6 | testing_debugging_repair_refactoring | 289 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace BenchmarkDotNet.Disassembler
{
public class Code
{
public string TextRepresentation { get; set; }
public string Comment { get; set; }
}
public class Sharp : Code
{
public string FileP... | Teknikaali/BenchmarkDotNet | src/BenchmarkDotNet.Disassembler.x64/DataContracts.cs | https://github.com/Teknikaali/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet.Disassembler.x64/DataContracts.cs | ghcode:00000:b9a8323c24d9 | mit | codeparrot/github-code | b9a8323c24d931f0409a1458d6a0f3ef034013309518ac86566040375ccdd0d2 | 0.85 | testing_debugging_repair_refactoring | 396 | false | 2026-07-17 |
using MbDotNet.Exceptions;
using MbDotNet.Models.Imposters;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System.Threading.Tasks;
namespace MbDotNet.Tests.Client
{
[TestClass, TestCategory("Unit")]
public class GetTcpImposterTests : MountebankClientTestBase
{
[TestMethod]
... | mattherman/MbDotNet | MbDotNet.Tests/Client/GetTcpImposterTests.cs | https://github.com/mattherman/MbDotNet/blob/HEAD/MbDotNet.Tests/Client/GetTcpImposterTests.cs | ghcode:00000:5cd95dff0793 | mit | codeparrot/github-code | 5cd95dff0793fed013f2a8b17278859f279ff6f02f7905c7d456c6e6739588be | 0.75 | testing_debugging_repair_refactoring | 266 | 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 Microsoft.Build.Construction;
using Microsoft.DotNet.Tools.Test.Utilities;... | blackdwarf/cli | test/dotnet-restore.Tests/GivenThatIWantToRestoreApp.cs | https://github.com/blackdwarf/cli/blob/HEAD/test/dotnet-restore.Tests/GivenThatIWantToRestoreApp.cs | ghcode:00000:4b217ecbdce3 | mit | codeparrot/github-code | 4b217ecbdce32b8b47cc3085fd11f8fad2cafaf4c505b62cf8a8121dd7f27032 | 0.6 | testing_debugging_repair_refactoring | 683 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using Ionic.Zlib;
namespace VermintideBundleTool.Bundle
{
public class BundleDecompressionStream : Stream
{
public BundleDecompressionStream(Stream innerStream)
{
_reader = new BinaryReader(innerStream, Enc... | Atvaark/VermintideBundleTool | VermintideBundleTool/Bundle/BundleDecompressionStream.cs | https://github.com/Atvaark/VermintideBundleTool/blob/HEAD/VermintideBundleTool/Bundle/BundleDecompressionStream.cs | ghcode:00000:4472d4ffb076 | mit | codeparrot/github-code | 4472d4ffb076f1349017b6815825de9b363fe2b9e224aec1c66463d48c52863e | 0.6 | testing_debugging_repair_refactoring | 850 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using System.Text;
namespace Configuration.Tests
{
[TestClass]
public class Test_ConfigFileWriter : TestBase
{
static readonly string cfgContent = "Option0 = Value0\nOption1 = Value1\n\nSection0:\n Inner0 = Value2\n\n ... | ConfigIO/ConfigIO_Net | source/ConfigIO_UnitTests/Test_ConfigFileWriter.cs | https://github.com/ConfigIO/ConfigIO_Net/blob/HEAD/source/ConfigIO_UnitTests/Test_ConfigFileWriter.cs | ghcode:00000:1bd06c57dce9 | mit | codeparrot/github-code | 1bd06c57dce985ffc1012890ec4189adcad06b5858c7e940c9a76f99c13d1480 | 0.75 | testing_debugging_repair_refactoring | 615 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Diagnostics;
using i18n.Helpers;
namespace i18n
{
/// <summary>
/// Helper class for parsing and manipulatin... | VladMukhitdinovLic/i18n | src/i18n.Domain/Concrete/LanguageTag.cs | https://github.com/VladMukhitdinovLic/i18n/blob/HEAD/src/i18n.Domain/Concrete/LanguageTag.cs | ghcode:00000:e5f843e659eb | mit | codeparrot/github-code | e5f843e659eb5c28e173a5b0e4d02c2a6a59fa0be789efffe557dfe27b5cb1cc | 0.7 | testing_debugging_repair_refactoring | 8,128 | false | 2026-07-17 |
namespace Sitecore.FakeDb.Tests.Data.Engines.DataCommands
{
using System;
using FluentAssertions;
using NSubstitute;
using Sitecore.Data.Items;
using Sitecore.Data.Managers;
using Sitecore.FakeDb.Data.Engines.DataCommands;
using Sitecore.Reflection;
using Xunit;
using Version = Site... | sergeyshushlyapin/Sitecore.FakeDb | test/Sitecore.FakeDb.Tests/Data/Engines/DataCommands/GetRootItemCommandTest.cs | https://github.com/sergeyshushlyapin/Sitecore.FakeDb/blob/HEAD/test/Sitecore.FakeDb.Tests/Data/Engines/DataCommands/GetRootItemCommandTest.cs | ghcode:00000:a0f80894ef84 | mit | codeparrot/github-code | a0f80894ef848e30e63431152d556a53a0373eab828a3881511ff0fec16234ea | 0.7 | testing_debugging_repair_refactoring | 193 | false | 2026-07-17 |
using DnDGen.Core.Mappers.Percentiles;
using Ninject;
using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
namespace CharacterGen.Tests.Integration.Tables
{
[TestFixture]
public abstract class PercentileTests : TableTests
{
[Inject]
public PercentileMapper Percentile... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/PercentileTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/PercentileTests.cs | ghcode:00000:f353c51aec01 | mit | codeparrot/github-code | f353c51aec0175a30d20dddafb956b308af224feda86f471c8030ce7700ac5e5 | 0.75 | testing_debugging_repair_refactoring | 291 | false | 2026-07-17 |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
namespace FluentAssertions.Analyzers
{
[Diag... | fluentassertions/fluentassertions.analyzers | src/FluentAssertions.Analyzers/Tips/Strings/StringShouldBeNullOrWhiteSpace.cs | https://github.com/fluentassertions/fluentassertions.analyzers/blob/HEAD/src/FluentAssertions.Analyzers/Tips/Strings/StringShouldBeNullOrWhiteSpace.cs | ghcode:00000:69c95b1fbd50 | mit | codeparrot/github-code | 69c95b1fbd505bfe3e9415e12d283ae16c55f2f42bc705cc287585e21ec68f27 | 0.6 | testing_debugging_repair_refactoring | 441 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using NRules.Fluent.Dsl;
using NRules.IntegrationTests.TestAssets;
using Xunit;
namespace NRules.IntegrationTests
{
public class NodeSharingNonEquivalentExpressionsTest : BaseRuleTestFixture
{
[Fact]
public void Fire_FirstRuleMatchesFacts_On... | NRules/NRules | src/NRules/Tests/NRules.IntegrationTests/NodeSharingNonEquivalentExpressionsTest.cs | https://github.com/NRules/NRules/blob/HEAD/src/NRules/Tests/NRules.IntegrationTests/NodeSharingNonEquivalentExpressionsTest.cs | ghcode:00000:78334ad18d8f | mit | codeparrot/github-code | 78334ad18d8f87398e2256d20f38c3f7037b8e949a6a3730b15ee4172286845b | 0.95 | testing_debugging_repair_refactoring | 1,213 | false | 2026-07-17 |
using Kekiri.IoC.Autofac;
using NUnit.Framework;
namespace Kekiri.UnitTests.IoC
{
[TestFixture]
public class When_creating_contexts
{
[Test]
public void If_class_has_default_constructor_then_use_it()
{
Assert.IsNotNull(new AutofacFluentTest<WithDefaultConstructor>().Con... | jorbor/Kekiri | src/Tests/UnitTests/IoC/When_creating_contexts.cs | https://github.com/jorbor/Kekiri/blob/HEAD/src/Tests/UnitTests/IoC/When_creating_contexts.cs | ghcode:00000:9cc288dcfb41 | mit | codeparrot/github-code | 9cc288dcfb41e1710c0f57ac38e022fb0af636814ea4029f7cd227abc6bbf1b0 | 0.85 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using JSONAPI.Core;
using JSONAPI.Tests.Models;
using System.Reflection;
using System.Collections.Generic;
using System.Collections;
namespace JSONAPI.Tests.Core
{
[TestClass]
public class ModelManagerTests
{
private class InvalidMo... | xotahal/JSONAPI.NET | JSONAPI.Tests/Core/ModelManagerTests.cs | https://github.com/xotahal/JSONAPI.NET/blob/HEAD/JSONAPI.Tests/Core/ModelManagerTests.cs | ghcode:00000:fe0acbf67468 | mit | codeparrot/github-code | fe0acbf6746863e05e9b2e4ff6807abfa0455ea6f4740845df2b0b4862efc744 | 0.85 | testing_debugging_repair_refactoring | 985 | false | 2026-07-17 |
namespace OmniXaml.Tests.Common.DotNetFx
{
using Common;
public class GivenARuntimeTypeSourceWithNodeBuildersNetCore : GivenARuntimeTypeSourceWithNodeBuilders
{
public GivenARuntimeTypeSourceWithNodeBuildersNetCore() : base()
{
}
}
} | jrodrigv/OmniXAML | Tests/OmniXaml.Tests.Common.DotNetFx/GivenAWiringContextWithNodeBuildersNetCore.cs | https://github.com/jrodrigv/OmniXAML/blob/HEAD/Tests/OmniXaml.Tests.Common.DotNetFx/GivenAWiringContextWithNodeBuildersNetCore.cs | ghcode:00000:6673e5741e20 | mit | codeparrot/github-code | 6673e5741e20dc661ce87eddd480ea40fd74dcaeb66feaaa7f58565d0c0877f3 | 0.75 | testing_debugging_repair_refactoring | 63 | false | 2026-07-17 |
using System.Diagnostics;
using System.Linq;
using CommandLine;
using IOPriorityGuard.Model;
using NUnit.Framework;
namespace IOPriorityGuard.Tests
{
[TestFixture]
public class AppOptionsTest
{
[SetUp]
public void SetUp()
{
_options = new AppOptions();
}
... | rhargreaves/IOPriorityGuard | src/IOPriorityGuard.Tests/AppOptionsTest.cs | https://github.com/rhargreaves/IOPriorityGuard/blob/HEAD/src/IOPriorityGuard.Tests/AppOptionsTest.cs | ghcode:00000:a3a576a148c5 | mit | codeparrot/github-code | a3a576a148c5574fcdbb89001e3c7615d864ed70c0ab32a3030b1f585873475f | 0.7 | testing_debugging_repair_refactoring | 466 | false | 2026-07-17 |
using System;
using System.Linq;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Exporters;
using Xunit;
namespace BenchmarkDotNet.Tests
{
public class ConfigParserTests
{
[Theory]
[InlineData("--jobs=dry", "exporters=html,rplot")]
[InlineData("--jobs=d... | Teknikaali/BenchmarkDotNet | tests/BenchmarkDotNet.Tests/ConfigParserTests.cs | https://github.com/Teknikaali/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.Tests/ConfigParserTests.cs | ghcode:00000:fa4be37c3801 | mit | codeparrot/github-code | fa4be37c38011566819c4b7828f049c2ed279bfdb06f64bdf3cf076d0c81964f | 0.85 | testing_debugging_repair_refactoring | 402 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Orders.com.BLL.Domain;
using Orders.com.BLL.Extensions;
using Orders.com.BLL.Rules;
using Shouldly;
using System.Threading.Tasks;
namespace Orders.com.BLL.Tests.Rules
{
[TestClass]
public class ValidOrderItemStatusForUpdateRuleTests
{
[Test... | peasy/Samples | Orders.com.BLL.Tests/Rules/ValidOrderItemStatusForUpdateRuleTests.cs | https://github.com/peasy/Samples/blob/HEAD/Orders.com.BLL.Tests/Rules/ValidOrderItemStatusForUpdateRuleTests.cs | ghcode:00000:01e80f1b0407 | mit | codeparrot/github-code | 01e80f1b0407f30d7682af041c9428c2b6834c5169dd5e4f7c6f5d5b82c11595 | 0.85 | testing_debugging_repair_refactoring | 846 | false | 2026-07-17 |
using System;
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
using SFA.DAS.EmployerAccounts.Messages.Events;
using SFA.DAS.EmployerAccounts.Models.Account;
using SFA.DAS.EmployerAccounts.Models.TransferConnections;
using SFA.DAS.EmployerAccounts.Models.UserProfile;
using SFA.DAS.EmployerAccounts.Uni... | SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.UnitTests/Models/TransferConnectionInvitationTests.cs | https://github.com/SkillsFundingAgency/das-employerapprenticeshipsservice/blob/HEAD/src/SFA.DAS.EmployerAccounts.UnitTests/Models/TransferConnectionInvitationTests.cs | ghcode:00000:e3e53e5de75a | mit | codeparrot/github-code | e3e53e5de75af854602e807dee8cf363a0c73af193d419ec3d0470fb18bc5163 | 0.75 | testing_debugging_repair_refactoring | 1,050 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using uWebshop.Domain;
namespace uWebshop.Test.Domain.IoCContainerTests
{
[TestFixture]
public class ResolveTests
{
private IoCContainer _container;
[SetUp]
public void Setup()
{
_container = ne... | uWebshop/uWebshop-Releases | Tests/uWebshop.Test/Domain/IoCContainerTests/ResolveTests.cs | https://github.com/uWebshop/uWebshop-Releases/blob/HEAD/Tests/uWebshop.Test/Domain/IoCContainerTests/ResolveTests.cs | ghcode:00000:fe0f026b4fa7 | mit | codeparrot/github-code | fe0f026b4fa70970b2bc9925aa936fb43a1bc5b121f7e739d455638272397386 | 0.75 | testing_debugging_repair_refactoring | 372 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using GraphShine.DataStructures;
using GraphShine.GeometricPrimitives;
namespace GraphShine.Tests
{
public class SegmentTreeTest
{
public static void SegmentTreeDataStructureTest()
{
HInterval[] h = new HInterval[9];
h[0] ... | DebajyotiMondal/GraphShine | GraphShine/Tests/SegmentTreeTest.cs | https://github.com/DebajyotiMondal/GraphShine/blob/HEAD/GraphShine/Tests/SegmentTreeTest.cs | ghcode:00000:ac946c520ac1 | mit | codeparrot/github-code | ac946c520ac1258404c0c968d9e55001b7dc2ff36b92eecfc29f87f207a0c721 | 0.95 | testing_debugging_repair_refactoring | 1,100 | false | 2026-07-17 |
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Gateways
{
[TestClass]
public class check_settings
{
[TestMethod]
public void check()
{
var gate = new Gateways.EfawateerGateway();
gate.Initialize(File.ReadAllText("initialize.x... | maxole/experiments | gateway/efawateer/tests/check_settings.cs | https://github.com/maxole/experiments/blob/HEAD/gateway/efawateer/tests/check_settings.cs | ghcode:00001:2120f786ee1f | unlicense | codeparrot/github-code | 2120f786ee1fa1933793d5af3e7549a869bac6878e7eb25949100ba65a264cbc | 0.78 | testing_debugging_repair_refactoring | 88 | false | 2026-07-17 |
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using Xunit;
namespace SixLabors.Fonts.Tests
{
public class Accents
{
[Theory]
[InlineData('á')]
[InlineData('é')]
[InlineData('í')]
[InlineData('ó')]
[InlineData('ú')]
[Inli... | SixLabors/Fonts | tests/SixLabors.Fonts.Tests/Accents.cs | https://github.com/SixLabors/Fonts/blob/HEAD/tests/SixLabors.Fonts.Tests/Accents.cs | ghcode:00001:e79d3ca966a0 | apache-2.0 | codeparrot/github-code | e79d3ca966a05a356f08be0bab76d2bcfeea3c024c3f8af5a329443d65c705ab | 0.6 | testing_debugging_repair_refactoring | 291 | false | 2026-07-17 |
using System.Threading;
namespace MediatR.Tests.Pipeline;
using System.Threading.Tasks;
using MediatR.Pipeline;
using Shouldly;
using StructureMap;
using Xunit;
public class RequestPreProcessorTests
{
public class Ping : IRequest<Pong>
{
public string Message { get; set; }
}
public class Pon... | jbogard/MediatR | test/MediatR.Tests/Pipeline/RequestPreProcessorTests.cs | https://github.com/jbogard/MediatR/blob/HEAD/test/MediatR.Tests/Pipeline/RequestPreProcessorTests.cs | ghcode:00001:fe8792480379 | apache-2.0 | codeparrot/github-code | fe8792480379bded54355d58e442f933fcdcfcdc6c5f4da8a2dc6cbd7e2ea870 | 0.75 | testing_debugging_repair_refactoring | 363 | false | 2026-07-17 |
using WorkingWithVisualStudio.Models;
using Xunit;
namespace WorkingWithVisualStudio.Tests
{
public class ProductTests
{
[Fact]
public void CanChangeProductName()
{
// Arrange
var p = new Product { Name = "Test", Price = 100M };
// Act
p... | Azuredrop/Pro-ASP.NET-Core-MVC | WorkingWithVisualStudio/test/WorkingWithVisualStudio.Tests/ProductTests.cs | https://github.com/Azuredrop/Pro-ASP.NET-Core-MVC/blob/HEAD/WorkingWithVisualStudio/test/WorkingWithVisualStudio.Tests/ProductTests.cs | ghcode:00001:2acd13faa90c | apache-2.0 | codeparrot/github-code | 2acd13faa90c2ad22d90dc30522a6b162bc75ecbf1e60fa427da54d8ff74ee94 | 0.95 | testing_debugging_repair_refactoring | 164 | false | 2026-07-17 |
using System.Threading.Tasks;
using JetBrains.Annotations;
using Xunit;
using YouTrackSharp.Management;
using YouTrackSharp.Tests.Infrastructure;
namespace YouTrackSharp.Tests.Integration.Management.TimeTracking
{
[UsedImplicitly]
public partial class TimeTrackingServiceTests
{
public class TimeTra... | JetBrains/YouTrackSharp | tests/YouTrackSharp.Tests/Integration/Management/TimeTracking/UpdateTimeTrackingSettingsForProject.cs | https://github.com/JetBrains/YouTrackSharp/blob/HEAD/tests/YouTrackSharp.Tests/Integration/Management/TimeTracking/UpdateTimeTrackingSettingsForProject.cs | ghcode:00001:d05215d719c5 | apache-2.0 | codeparrot/github-code | d05215d719c51d73bd6a02611d5e101ab8bce071dafd43679d8dc2707578d0e5 | 0.7 | testing_debugging_repair_refactoring | 171 | 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;
using Microsoft.CodeAnalysis.Testing;
using Xunit;
using VerifyCS = Test.Utilities.CSharpCodeFixV... | pakdev/roslyn-analyzers | src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/IdentifiersShouldNotMatchKeywordsMemberParameterRuleTests.cs | https://github.com/pakdev/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/IdentifiersShouldNotMatchKeywordsMemberParameterRuleTests.cs | ghcode:00001:2e5919655a4d | apache-2.0 | codeparrot/github-code | 2e5919655a4dd31bfc92d0f8886aaccbcabcbf55c5cc36c557a32b4c27529665 | 0.85 | testing_debugging_repair_refactoring | 3,900 | false | 2026-07-17 |
namespace Amazon.SQS.ExtendedClient.Tests
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Model;
using Moq;
using NUnit.Framework;
[TestFixture]
public class When_Extended_Client_Deletes : ExtendedClientTestBase
{
#if NET45
[Test]
public... | raol/amazon-sqs-net-extended-client-lib | src/Amazon.SQS.ExtendedClient.Tests/When_Extended_Client_Deletes.cs | https://github.com/raol/amazon-sqs-net-extended-client-lib/blob/HEAD/src/Amazon.SQS.ExtendedClient.Tests/When_Extended_Client_Deletes.cs | ghcode:00001:ed2387cfd648 | apache-2.0 | codeparrot/github-code | ed2387cfd64805cefc89bf919564cd7da4c00d902776d6bcd863b3ed006e3b1a | 0.6 | testing_debugging_repair_refactoring | 1,030 | false | 2026-07-17 |
// Copyright (c) 2002-2019 "Neo4j,"
// Neo4j Sweden AB [http://neo4j.com]
//
// This file is part of Neo4j.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache... | ali-ince/neo4j-dotnet-driver | Neo4j.Driver/Neo4j.Driver.Tests/Types/ZonedDateTimeWithZoneIdTests.cs | https://github.com/ali-ince/neo4j-dotnet-driver/blob/HEAD/Neo4j.Driver/Neo4j.Driver.Tests/Types/ZonedDateTimeWithZoneIdTests.cs | ghcode:00001:e32407f94b2d | apache-2.0 | codeparrot/github-code | e32407f94b2d337b23ce5e29a5034216c43961cf2d60162e728baf755d91244a | 0.85 | testing_debugging_repair_refactoring | 4,607 | false | 2026-07-17 |
// <copyright file="JsonConfigTests.cs" company="ClrCoder project">
// Copyright (c) ClrCoder project. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
// </copyright>
namespace ClrCoder.Tests.Json
{
using System;
using System.IO... | dmitriyse/ClrCoder | src/ClrCoder.Tests/Json/JsonConfigTests.cs | https://github.com/dmitriyse/ClrCoder/blob/HEAD/src/ClrCoder.Tests/Json/JsonConfigTests.cs | ghcode:00001:b0a24c5bbb21 | apache-2.0 | codeparrot/github-code | b0a24c5bbb213d15532c99f4001678137b21964a181573346da5ba6d49cb1a8b | 0.85 | testing_debugging_repair_refactoring | 255 | 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 ... | ntikhonov/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/PlatformJniTarget.cs | https://github.com/ntikhonov/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Impl/PlatformJniTarget.cs | ghcode:00001:712a8ead54d1 | apache-2.0 | codeparrot/github-code | 712a8ead54d189db64d986c6121e964a4161df2d24a209780e070c8027a4a10b | 0.7 | testing_debugging_repair_refactoring | 3,723 | false | 2026-07-17 |
using Xunit;
using System.Linq;
using System.Data;
namespace IntegrationTestingLibraryForSqlServer.Tests
{
public class ColumnDefinitionFactoryTests
{
[Fact]
public void FromRawDateTime()
{
var source = new ColumnDefinitionRaw
{
Name = "C1",
... | andywilsonuk/IntegrationTestingLibraryForSqlServer | IntegrationTestingLibraryForSqlServer.Tests/Tables/ColumnDefinitionFactoryTests.cs | https://github.com/andywilsonuk/IntegrationTestingLibraryForSqlServer/blob/HEAD/IntegrationTestingLibraryForSqlServer.Tests/Tables/ColumnDefinitionFactoryTests.cs | ghcode:00001:e09a2fc41d98 | apache-2.0 | codeparrot/github-code | e09a2fc41d98151afb0c4d9ec59efd0015a5b33b485bc9de5bbdacefd19dce18 | 0.75 | testing_debugging_repair_refactoring | 936 | 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.CodeQuality.CSharp.Analyzers.ApiReview;
using Microsoft.CodeQuality.VisualBasic.Analyzers.ApiReview;
using Microsoft.CodeAnalysis.Diagnostics;... | heejaechang/roslyn-analyzers | src/Microsoft.CodeQuality.Analyzers/UnitTests/ApiReview/AvoidCallingProblematicMethodsTests.cs | https://github.com/heejaechang/roslyn-analyzers/blob/HEAD/src/Microsoft.CodeQuality.Analyzers/UnitTests/ApiReview/AvoidCallingProblematicMethodsTests.cs | ghcode:00001:6c5dd9270034 | apache-2.0 | codeparrot/github-code | 6c5dd927003430baf63f80287d6dd60f5f80a3c561e35c9439b5e8147367c37d | 0.75 | testing_debugging_repair_refactoring | 154 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Couchbase.Core;
using Couchbase.Linq.UnitTests.Documents;
using Moq;
using Newtonsoft.Json.Serialization;
using NUnit.Framework;
using Couchbase.Linq.Extensions;
namespace Couchbase.Linq.UnitTests.QueryGeneration
{
[TestFixture]
public c... | brantburnett/Linq2Couchbase | Src/Couchbase.Linq.UnitTests/QueryGeneration/ArrayOperatorTests.cs | https://github.com/brantburnett/Linq2Couchbase/blob/HEAD/Src/Couchbase.Linq.UnitTests/QueryGeneration/ArrayOperatorTests.cs | ghcode:00001:e12f5ae2b08a | apache-2.0 | codeparrot/github-code | e12f5ae2b08ad3d0b041d871d712f9742795903d51f29098d8620f709a6db00d | 0.85 | testing_debugging_repair_refactoring | 971 | false | 2026-07-17 |
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <author name="Daniel Grunwald"/>
// <version>$Revision: 5572 $</version>
// </file>
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnos... | tltjr/Wish | ICSharpCode.AvalonEdit/Highlighting/HighlightingManager.cs | https://github.com/tltjr/Wish/blob/HEAD/ICSharpCode.AvalonEdit/Highlighting/HighlightingManager.cs | ghcode:00001:cf958559880f | bsd-2-clause | codeparrot/github-code | cf958559880f9949a1537f80e232fb9dfb339f428a10755530776fb33f68b316 | 0.63 | testing_debugging_repair_refactoring | 2,222 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// Symbooglix
//
//
// Copyright 2014-2017 Daniel Liew
//
// This file is licensed under the MIT license.
// See LICENSE.txt for details.
//------------------------------------------------------------------... | symbooglix/symbooglix | src/BoogieTests/BoogieTest.cs | https://github.com/symbooglix/symbooglix/blob/HEAD/src/BoogieTests/BoogieTest.cs | ghcode:00001:f16cca7bca78 | bsd-2-clause | codeparrot/github-code | f16cca7bca7893b162fb7035eab7c3ae28dbbc9587b08efa2c934794e07d713b | 0.63 | testing_debugging_repair_refactoring | 321 | false | 2026-07-17 |
// Copyright © 2010 onwards, Andrew Whewell
// All rights reserved.
//
// Redistribution and use of this software 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, th... | wiseman/virtual-radar-server | Test/Test.VirtualRadar.Library/Presenter/SplashPresenterTests.cs | https://github.com/wiseman/virtual-radar-server/blob/HEAD/Test/Test.VirtualRadar.Library/Presenter/SplashPresenterTests.cs | ghcode:00001:2321ce79270f | bsd-3-clause | codeparrot/github-code | 2321ce79270f5fb37299a185902029eed9bc87d97f168b132d3de0db5d6a5df0 | 0.85 | testing_debugging_repair_refactoring | 9,497 | false | 2026-07-17 |
namespace Nancy.Testing.Tests
{
using System.Linq;
using CsQuery;
using CsQuery.Implementation;
using Nancy.Testing;
using Xunit;
public class QueryWrapperTests
{
[Fact]
public void Should_use_cq_find_when_indexer_invoked()
{
// Given
... | 151706061/Nancy | src/Nancy.Testing.Tests/QueryWrapperTests.cs | https://github.com/151706061/Nancy/blob/HEAD/src/Nancy.Testing.Tests/QueryWrapperTests.cs | ghcode:00001:410af963d40e | mit | codeparrot/github-code | 410af963d40e869f38e369886d94883083e0e6dafba89586c68c7ac2fdb9a022 | 0.85 | testing_debugging_repair_refactoring | 174 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2015 Charlie Poole, Rob Prouse
//
// 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 restri... | JustinRChou/nunit | src/NUnitFramework/testdata/RetryFixture.cs | https://github.com/JustinRChou/nunit/blob/HEAD/src/NUnitFramework/testdata/RetryFixture.cs | ghcode:00001:f9251c806388 | mit | codeparrot/github-code | f9251c806388d227f247ac604fdf936f05c68cd8b5d34a79e6891fd60aeb2b32 | 0.7 | testing_debugging_repair_refactoring | 1,281 | 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;
namespac... | acken/AutoTest.Net | lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/framework/Attributes/DescriptionAttribute.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/framework/Attributes/DescriptionAttribute.cs | ghcode:00001:d00cf451f340 | mit | codeparrot/github-code | d00cf451f3404b7795129e8df4fb80538893d788176ed77caf686a2e90ab46d2 | 0.95 | testing_debugging_repair_refactoring | 214 | false | 2026-07-17 |
// Copyright (c) 2007-2014 Joe White
//
// 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, modify, merge, publish... | joewhite/dgrok | Source/DGrok.Tests/TokenFilterTests.cs | https://github.com/joewhite/dgrok/blob/HEAD/Source/DGrok.Tests/TokenFilterTests.cs | ghcode:00001:4532ed9c5353 | mit | codeparrot/github-code | 4532ed9c5353032c5334fa5795a7e501916f2df56fd4e603ea6a90567af61f9c | 0.85 | testing_debugging_repair_refactoring | 2,590 | false | 2026-07-17 |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using NUnit.Framework;
namespace osu.Game.Rulesets.Mania.Tests
{
[TestFixture]
public class TestCasePerformancePoints : Game.Tests.Visual.TestCasePerformancePoi... | NeoAdonis/osu | osu.Game.Rulesets.Mania.Tests/TestCasePerformancePoints.cs | https://github.com/NeoAdonis/osu/blob/HEAD/osu.Game.Rulesets.Mania.Tests/TestCasePerformancePoints.cs | ghcode:00001:099eb33728ee | mit | codeparrot/github-code | 099eb33728ee6a4ac6dd75896fbdf3507c5637ee24646b4a247161f860efadcb | 0.85 | testing_debugging_repair_refactoring | 104 | false | 2026-07-17 |
using Kentico.Kontent.Delivery.Abstractions;
using Kentico.Kontent.Delivery.Tests.DependencyInjectionFrameworks.Helpers;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace Kentico.Kontent.Delivery.Tests.DependencyInjectionFrameworks
{
[Collection("DI Tests")]
public class UnityTests
{
... | Kentico/Deliver-.NET-SDK | Kentico.Kontent.Delivery.Tests/DependencyInjectionFrameworks/UnityTests.cs | https://github.com/Kentico/Deliver-.NET-SDK/blob/HEAD/Kentico.Kontent.Delivery.Tests/DependencyInjectionFrameworks/UnityTests.cs | ghcode:00001:63395a4441a9 | mit | codeparrot/github-code | 63395a4441a9e445c52b0f20ab873d98e829cb8128d6eb2efb2a98ca1485aaa3 | 0.75 | testing_debugging_repair_refactoring | 225 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Extensions;
using BenchmarkDotNet.Horology;
using BenchmarkDotNet.Reports;
namespace BenchmarkDotNet.Analysers
{
public class ZeroMeasurementAnalyser : AnalyserBase
{
public override string Id =... | ig-sinicyn/BenchmarkDotNet | src/BenchmarkDotNet/Analysers/ZeroMeasurementAnalyser.cs | https://github.com/ig-sinicyn/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Analysers/ZeroMeasurementAnalyser.cs | ghcode:00001:23fc9c7bbcd8 | mit | codeparrot/github-code | 23fc9c7bbcd86d39f8e5c845b497c693b52b35dbb6571ad2f693d93b649e5cc7 | 0.6 | testing_debugging_repair_refactoring | 378 | false | 2026-07-17 |
namespace Mapbox.IO.Compression {
using System.Diagnostics;
using System;
// This class decodes GZip header and footer information.
// See RFC 1952 for details about the format.
internal class GZipDecoder : IFileFormatReader {
private GzipHeaderState gzipHeaderSubstate;
private GzipHeaderState gz... | binakot/Fleet-And-Staff-Location-Visualizer | FleetAndStaffLocationVisualizer/Assets/Mapbox/Core/Plugins/ThirdParty/Mapbox.IO.Compression/GZipDecoder.cs | https://github.com/binakot/Fleet-And-Staff-Location-Visualizer/blob/HEAD/FleetAndStaffLocationVisualizer/Assets/Mapbox/Core/Plugins/ThirdParty/Mapbox.IO.Compression/GZipDecoder.cs | ghcode:00001:8e9b799eb029 | mit | codeparrot/github-code | 8e9b799eb029afab887c058690268cb3a607af8cd5db3b3e04b8a3fb1e89a753 | 0.7 | testing_debugging_repair_refactoring | 2,240 | false | 2026-07-17 |
using Microsoft.MSBuildProjectBuilder;
using Xunit;
namespace MSBuildProjectBuilder.UnitTests
{
public class TargetTest
{
[Fact]
public void AddTarget()
{
string expectedOutput =
@"<?xml version=""1.0"" encoding=""utf-16""?>
<Project ToolsVersion=""4.0"" xmlns=""http://sch... | jeffkl/CBT.Modules | src/MSBuildProjectBuilder.UnitTests/TargetTest.cs | https://github.com/jeffkl/CBT.Modules/blob/HEAD/src/MSBuildProjectBuilder.UnitTests/TargetTest.cs | ghcode:00001:83d598ba22c2 | mit | codeparrot/github-code | 83d598ba22c2d003349c071f798a9dd91201ee1ad4d9780a8cecff0269575196 | 0.6 | testing_debugging_repair_refactoring | 483 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Umbraco.Core.Models;
using Umbraco.Core.Models.Rdbms;
using Umbraco.Tests.TestHelpers;
namespace Umbraco.Tests.Services
{
/// <summary>
/// Tests covering the DataTypeService
/// </summary>
[Da... | gavinfaux/Umbraco-CMS | src/Umbraco.Tests/Services/DataTypeServiceTests.cs | https://github.com/gavinfaux/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Services/DataTypeServiceTests.cs | ghcode:00001:97e49ca1985f | mit | codeparrot/github-code | 97e49ca1985f7eacfe4495c5fa9d2e1f7a01e2c4a304a47783ecd7f3d71b61ae | 0.85 | testing_debugging_repair_refactoring | 2,220 | 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.Collections.Immutable;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.FindSymbols;... | nguerrera/roslyn | src/Features/Core/Portable/AddImport/SearchScopes/SearchScope.cs | https://github.com/nguerrera/roslyn/blob/HEAD/src/Features/Core/Portable/AddImport/SearchScopes/SearchScope.cs | ghcode:00001:8434f89e9a4a | apache-2.0 | codeparrot/github-code | 8434f89e9a4a0eb11228ef5751383031c008ec44b25777c733f00082578a01f1 | 0.85 | testing_debugging_repair_refactoring | 628 | 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilitie... | weltkante/roslyn | src/Compilers/CSharp/Test/Symbol/Symbols/Source/FieldTests.cs | https://github.com/weltkante/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Symbols/Source/FieldTests.cs | ghcode:00001:7492e1fbe97e | apache-2.0 | codeparrot/github-code | 7492e1fbe97e49ce1f1b6d61358288ce158176f648e774d45b0a6a815039b992 | 0.95 | testing_debugging_repair_refactoring | 5,237 | false | 2026-07-17 |
// Copyright 2018 Google Inc. 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 required by applic... | GoogleCloudPlatform/google-cloud-visualstudio | GoogleCloudExtension/GoogleCloudExtensionUnitTests/Utils/ErrorHandlerUtilsTests.cs | https://github.com/GoogleCloudPlatform/google-cloud-visualstudio/blob/HEAD/GoogleCloudExtension/GoogleCloudExtensionUnitTests/Utils/ErrorHandlerUtilsTests.cs | ghcode:00001:d0dc7e7e8498 | apache-2.0 | codeparrot/github-code | d0dc7e7e8498a294678bdaaea15842c42f6eaa20d9abeb5921c009847237ee39 | 0.85 | testing_debugging_repair_refactoring | 721 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Sage.Platform.Application;
using OpenSlx.Lib.Utility;
namespace OpenSlx.Lib.UnitTest
{
[SetUpFixture]
public class TestSuiteSetup
{
SlxAppSetup _setup;
... | ngaller/OpenSlx | OpenSlx.Lib.UnitTest/TestSuiteSetup.cs | https://github.com/ngaller/OpenSlx/blob/HEAD/OpenSlx.Lib.UnitTest/TestSuiteSetup.cs | ghcode:00001:7b9f87df6f16 | apache-2.0 | codeparrot/github-code | 7b9f87df6f16a1337386fe5e5fa3d31baf4d8e6c15519c98421038446753af2d | 0.85 | testing_debugging_repair_refactoring | 272 | false | 2026-07-17 |
using System;
using System.Text.RegularExpressions;
namespace Shouldly.Tests.Strings
{
[ShouldlyMethods]
public static class Verify
{
static readonly Regex MatchGetHashCode = new Regex("\\(\\d{5,8}\\)");
public static void ShouldFail(Action action, string errorWithSource, string errorWitho... | JoeMighty/shouldly | src/Shouldly.Tests/Strings/Verify.cs | https://github.com/JoeMighty/shouldly/blob/HEAD/src/Shouldly.Tests/Strings/Verify.cs | ghcode:00001:9a767aa29f22 | bsd-3-clause | codeparrot/github-code | 9a767aa29f22f1d1e36398cd7cadbd38eef1c3791e4286ef5de3536834eb9af1 | 0.6 | testing_debugging_repair_refactoring | 327 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
using Should;
namespace AutoMapper.UnitTests.Tests
{
public abstract class using_generic_configuration : AutoMapperSpecBase
{
protected override void Establish_context()
{
Mapper.CreateMap<S... | IanYates83/AutoMapper | src/UnitTests/Tests/PropertyMapSpecs.cs | https://github.com/IanYates83/AutoMapper/blob/HEAD/src/UnitTests/Tests/PropertyMapSpecs.cs | ghcode:00001:8cb13c97051d | mit | codeparrot/github-code | 8cb13c97051dd34414ad5efe49d8bb42fff79f4e6c6da6690ece3a78695345ef | 0.85 | testing_debugging_repair_refactoring | 1,837 | false | 2026-07-17 |
using System;
using System.Runtime.CompilerServices;
using CodeJam.Arithmetic;
using CodeJam.PerfTests;
using JetBrains.Annotations;
using NUnit.Framework;
using static CodeJam.PerfTests.CompetitionHelpers;
// ReSharper disable once CheckNamespace
namespace CodeJam
{
/// <summary>
/// Proof test: <see cref="En... | rsdn/CodeJam | PerfTests[WIP]/CodeJam.Main.Tests.Performance/Enums/EnumHelperPerfTests.cs | https://github.com/rsdn/CodeJam/blob/HEAD/PerfTests[WIP]/CodeJam.Main.Tests.Performance/Enums/EnumHelperPerfTests.cs | ghcode:00001:3bdb6b0f1d3f | mit | codeparrot/github-code | 3bdb6b0f1d3f7007c9ee703a555d06dd036577d9be9fcf2a9c58111ee4cb5cac | 0.85 | testing_debugging_repair_refactoring | 3,017 | false | 2026-07-17 |
using Microsoft.Extensions.Logging;
using Moq;
using NBitcoin;
using Stratis.Bitcoin.AsyncWork;
using Stratis.Bitcoin.Configuration;
using Stratis.Bitcoin.Features.BlockStore;
using Stratis.Bitcoin.Features.Wallet.Interfaces;
using Stratis.Bitcoin.Networks;
using Stratis.Bitcoin.Signals;
using Stratis.Bitcoin.Tests.Co... | fassadlr/StratisBitcoinFullNode | src/Stratis.Features.FederatedPeg.Tests/Wallet/FederationWalletManagerTests.cs | https://github.com/fassadlr/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Features.FederatedPeg.Tests/Wallet/FederationWalletManagerTests.cs | ghcode:00001:5743fd4f19e8 | mit | codeparrot/github-code | 5743fd4f19e8bb71931b7edfb3d6704f671b2004276271125d7f279947708c72 | 0.85 | testing_debugging_repair_refactoring | 1,237 | false | 2026-07-17 |
// Authors:
// Rafael Mizrahi <rafim@mainsoft.com>
// Erez Lotan <erezl@mainsoft.com>
// Oren Gurfinkel <oreng@mainsoft.com>
// Ofer Borstein
//
// Copyright (c) 2004 Mainsoft Co.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated do... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Data/Test/System.Data.Tests.Mainsoft/System.Data/InRowChangingEventException/InRowChangingEventException_Generate.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Data/Test/System.Data.Tests.Mainsoft/System.Data/InRowChangingEventException/InRowChangingEventException_Generate.cs | ghcode:00001:ea4674466d53 | mit | codeparrot/github-code | ea4674466d5347d678fa010c21e17f25c0c97d74020d18fc6d38f59646b80021 | 0.95 | testing_debugging_repair_refactoring | 829 | false | 2026-07-17 |
namespace FluentAssertions.Equivalency
{
/// <summary>
/// Provides information on a particular property during an assertion for structural equality of two object graphs.
/// </summary>
public interface IEquivalencyValidationContext : ISubjectInfo
{
/// <summary>
/// Gets the value o... | ben-m-lucas/FluentAssertions | Src/Core/Equivalency/IEquivalencyValidationContext.cs | https://github.com/ben-m-lucas/FluentAssertions/blob/HEAD/Src/Core/Equivalency/IEquivalencyValidationContext.cs | ghcode:00001:cee063145d6b | apache-2.0 | codeparrot/github-code | cee063145d6b514c95abbb9d91c0ccc68bb1b448dacb2cf0edc5cf3a53344447 | 0.7 | testing_debugging_repair_refactoring | 325 | false | 2026-07-17 |
// Lucene version compatibility level 8.2.0
using System;
using Lucene.Net.TestFramework;
#if TESTFRAMEWORK_MSTEST
using Test = Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute;
using Assert = Lucene.Net.TestFramework.Assert;
#elif TESTFRAMEWORK_NUNIT
using Test = NUnit.Framework.TestAttribute;
using ... | jeme/lucenenet | src/Lucene.Net.Tests.TestFramework/Analysis/TestMockCharFilter.cs | https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests.TestFramework/Analysis/TestMockCharFilter.cs | ghcode:00001:2f760ae49da1 | apache-2.0 | codeparrot/github-code | 2f760ae49da1bfb134410833e409934e0e812330ebf6ebffde4ea825d4ceb288 | 0.85 | testing_debugging_repair_refactoring | 592 | 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.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.PooledO... | balazssimon/meta-cs | src/Main/MetaDslx.CodeAnalysis.CSharp/Lowering/LocalRewriter/LoweredDynamicOperationFactory.cs | https://github.com/balazssimon/meta-cs/blob/HEAD/src/Main/MetaDslx.CodeAnalysis.CSharp/Lowering/LocalRewriter/LoweredDynamicOperationFactory.cs | ghcode:00001:c1e736d00227 | apache-2.0 | codeparrot/github-code | c1e736d00227cc9cf514582cc2dd59e12f606a8524f9d616e9b5e5f5bd5d8725 | 0.7 | testing_debugging_repair_refactoring | 7,412 | false | 2026-07-17 |
// Copyright 2011 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | BrightstarDB/odata-sparql | ODataLib/ODataContrib/Silverlight/Microsoft/Data/OData/Query/QueryOptionUtils.cs | https://github.com/BrightstarDB/odata-sparql/blob/HEAD/ODataLib/ODataContrib/Silverlight/Microsoft/Data/OData/Query/QueryOptionUtils.cs | ghcode:00001:f5eece9168ab | mit | codeparrot/github-code | f5eece9168ab43abf96719d4d1e3c718621d40eaa1b43d91d2f5940f9333a85d | 0.7 | testing_debugging_repair_refactoring | 498 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.W... | brendankowitz/azure-webjobs-sdk | test/Microsoft.Azure.WebJobs.Host.UnitTests/Indexers/FunctionIndexerTests.cs | https://github.com/brendankowitz/azure-webjobs-sdk/blob/HEAD/test/Microsoft.Azure.WebJobs.Host.UnitTests/Indexers/FunctionIndexerTests.cs | ghcode:00001:51ca6b5839dc | mit | codeparrot/github-code | 51ca6b5839dc54b03ac2256221a1fca3b93a5e09e8a033792b75e4a9c9a8b244 | 0.85 | testing_debugging_repair_refactoring | 2,261 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="<file>.cs" company="The Outercurve Foundation">
// Copyright (c) 2011, The Outercurve Foundation.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the L... | facebook-csharp-sdk/simple-json | src/SimpleJson.Tests/DataContractTests/PrivateReadonlySerializeTests.cs | https://github.com/facebook-csharp-sdk/simple-json/blob/HEAD/src/SimpleJson.Tests/DataContractTests/PrivateReadonlySerializeTests.cs | ghcode:00001:9553785970a0 | mit | codeparrot/github-code | 9553785970a0120e7ae5d0540d6b141fb242da3e897b998ec3a049908e127ddb | 0.85 | testing_debugging_repair_refactoring | 456 | false | 2026-07-17 |
namespace OmniXaml.Tests.Classes
{
public class IntExtension : MarkupExtension
{
public IntExtension()
{
}
public IntExtension(int number)
{
Number = number;
}
public int Number { get; set; }
public override objec... | jrodrigv/OmniXAML | Tests/OmniXaml.Tests.Classes/IntExtension.cs | https://github.com/jrodrigv/OmniXAML/blob/HEAD/Tests/OmniXaml.Tests.Classes/IntExtension.cs | ghcode:00001:d4490e2872c4 | mit | codeparrot/github-code | d4490e2872c4ff2860a49c51a35c483e6d4f4597342b32ce0e7d86a499a263c2 | 0.75 | testing_debugging_repair_refactoring | 82 | false | 2026-07-17 |
// <copyright file="TestData.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2015 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this sof... | albertp007/mathnet-numerics | src/UnitTests/LinearAlgebraTests/Complex32/TestData.cs | https://github.com/albertp007/mathnet-numerics/blob/HEAD/src/UnitTests/LinearAlgebraTests/Complex32/TestData.cs | ghcode:00001:390261ce1c0e | mit | codeparrot/github-code | 390261ce1c0e09f75f6c6f5af7542eae3b62f4aead73cc0a0f30fa22c6f4a7b3 | 0.85 | testing_debugging_repair_refactoring | 1,717 | 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.Reflection;
usi... | amcasey/roslyn | src/Test/Utilities/Desktop/CodeRuntime/RuntimeAssemblyManager.cs | https://github.com/amcasey/roslyn/blob/HEAD/src/Test/Utilities/Desktop/CodeRuntime/RuntimeAssemblyManager.cs | ghcode:00001:1bb7908adfcc | apache-2.0 | codeparrot/github-code | 1bb7908adfcc96597a05af5a0e0b5ba7570237936e21afbdc040b8e569f2ace1 | 0.95 | testing_debugging_repair_refactoring | 3,088 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using DataTests.AdventureWorks.LTS;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenRiaServices.Silverlight.Testing;
using TestDomainServices;
namespace OpenRiaServices.DomainServices.Client.Test
{
public clas... | Daniel-Svensson/OpenRiaServices | OpenRiaServices.DomainServices.Client/Test/Silverlight/Data/AssociationTests.cs | https://github.com/Daniel-Svensson/OpenRiaServices/blob/HEAD/OpenRiaServices.DomainServices.Client/Test/Silverlight/Data/AssociationTests.cs | ghcode:00001:c9a990f1a4c0 | apache-2.0 | codeparrot/github-code | c9a990f1a4c0ab9875911e062e99da7ded6cca73c2a6d11e575a41165b406419 | 0.95 | testing_debugging_repair_refactoring | 3,284 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="SelectExpandBuilderTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//----------------------------... | pysco68/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.Query.TDD.Tests/UriBuilder/SelectExpandBuilderTests.cs | https://github.com/pysco68/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.Query.TDD.Tests/UriBuilder/SelectExpandBuilderTests.cs | ghcode:00001:f318764fbc91 | mit | codeparrot/github-code | f318764fbc91b56496029bc065e911a27277d0c09eecffe112b973d97a4cf5f9 | 0.95 | testing_debugging_repair_refactoring | 8,775 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... | StefanoRaggi/Lean | Tests/Common/Securities/SecurityMarginModelTests.cs | https://github.com/StefanoRaggi/Lean/blob/HEAD/Tests/Common/Securities/SecurityMarginModelTests.cs | ghcode:00001:6648dad6a51f | apache-2.0 | codeparrot/github-code | 6648dad6a51f0b3e7b45a33a41bb04a6f588170ac9eca5b207362e6a8c0b3d57 | 0.85 | testing_debugging_repair_refactoring | 10,609 | false | 2026-07-17 |
/*============================================================================
* Copyright (C) Microsoft Corporation, All rights reserved.
*============================================================================
*/
#region Using directives
using System.Collections;
using System;
using System.Collections.Gene... | KarolKaczmarek/PowerShell | src/Microsoft.Management.Infrastructure.CimCmdlets/CimRemoveCimInstance.cs | https://github.com/KarolKaczmarek/PowerShell/blob/HEAD/src/Microsoft.Management.Infrastructure.CimCmdlets/CimRemoveCimInstance.cs | ghcode:00001:bed9a05025a9 | mit | codeparrot/github-code | bed9a05025a9c31a77a9c239f8b21e38df35c501e3b123259ec0e037cbeaf33a | 0.7 | testing_debugging_repair_refactoring | 960 | 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"); y... | joshball/Lucene.In.Action.NET | vendor/lucene.net/test/core/Support/SmallObject.cs | https://github.com/joshball/Lucene.In.Action.NET/blob/HEAD/vendor/lucene.net/test/core/Support/SmallObject.cs | ghcode:00001:b9fcff93ddb1 | mit | codeparrot/github-code | b9fcff93ddb1d2aa0b930a1b8b01dd3229d4f2de753133d2677af54bdf5ec20e | 0.85 | testing_debugging_repair_refactoring | 221 | false | 2026-07-17 |
using TestExtensions;
using Xunit;
namespace NonSilo.Tests
{
// Assembly collections must be defined once in each assembly
[CollectionDefinition("DefaultCluster")]
public class DefaultClusterTestCollection : ICollectionFixture<DefaultClusterFixture> { }
[CollectionDefinition(TestEnvironmentFixture.Def... | veikkoeeva/orleans | test/NonSilo.Tests/CollectionFixtures.cs | https://github.com/veikkoeeva/orleans/blob/HEAD/test/NonSilo.Tests/CollectionFixtures.cs | ghcode:00001:d4d44f227ffa | mit | codeparrot/github-code | d4d44f227ffa20fc497b4022e63b856c370ce53020a5f93d1aa977ab8cef9027 | 0.6 | testing_debugging_repair_refactoring | 78 | false | 2026-07-17 |
using System;
using System.Linq;
using Nop.Core.Domain.Customers;
using Nop.Core.Domain.Localization;
using Nop.Core.Domain.Polls;
using Nop.Tests;
using NUnit.Framework;
namespace Nop.Data.Tests.Polls
{
[TestFixture]
public class PollPersistenceTests : PersistenceTest
{
[Test]
public void... | jornfilho/nopCommerce | source/Tests/Nop.Data.Tests/Polls/PollPersistenceTests.cs | https://github.com/jornfilho/nopCommerce/blob/HEAD/source/Tests/Nop.Data.Tests/Polls/PollPersistenceTests.cs | ghcode:00001:659d1a950e17 | apache-2.0 | codeparrot/github-code | 659d1a950e17dd8220fc7a2b310c99719924e0dfd34599921d5fecfa61162414 | 0.85 | testing_debugging_repair_refactoring | 980 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Abp.Authorization;
using Abp.Domain.Uow;
using Abp.MultiTenancy;
using Abp.Zero.Configuration;
using Abp.Zero.SampleApp.MultiTenancy;
using Abp.Zero.SampleApp.Roles;
using Shouldly;
using Xunit;
namespace Abp.Zero.SampleApp.Tests.... | zclmoon/aspnetboilerplate | test/Abp.Zero.SampleApp.Tests/Roles/RoleManager_Tests.cs | https://github.com/zclmoon/aspnetboilerplate/blob/HEAD/test/Abp.Zero.SampleApp.Tests/Roles/RoleManager_Tests.cs | ghcode:00001:c7793c40940d | mit | codeparrot/github-code | c7793c40940dcfb0e5b24c33486639028e8a770b7e9e85b844e64984379a3be3 | 0.75 | testing_debugging_repair_refactoring | 1,080 | 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.
#if FullNetFx || NETCOREAPP2_0
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using Xunit;
namespace... | brjohnstmsft/azure-sdk-for-net | sdk/mgmtcommon/AppAuthentication/Azure.Services.AppAuthentication.Unit.Tests/AzureServiceTokenProviderExceptionTests.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/mgmtcommon/AppAuthentication/Azure.Services.AppAuthentication.Unit.Tests/AzureServiceTokenProviderExceptionTests.cs | ghcode:00001:d221baba388b | mit | codeparrot/github-code | d221baba388b26bd8bebe2af7bd98c2de4f8f20feca363cc0334f2a26430a796 | 0.85 | testing_debugging_repair_refactoring | 200 | false | 2026-07-17 |
using System.Threading.Tasks;
using Nest;
using Tests.Framework;
using static Tests.Framework.UrlTester;
namespace Tests.Modules.SnapshotAndRestore.Restore.Restore
{
public class RestoreUrlTests
{
[U] public async Task Urls()
{
var repository = "repos";
var snapshot = "snap";
await POST($"/_snapshot/{... | CSGOpenSource/elasticsearch-net | src/Tests/Modules/SnapshotAndRestore/Restore/RestoreUrlTests.cs | https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/Modules/SnapshotAndRestore/Restore/RestoreUrlTests.cs | ghcode:00001:57a66045b512 | apache-2.0 | codeparrot/github-code | 57a66045b5128cd44002c0da8502a425fb58ce2fb8f05613d9cd0f42c0d5033f | 0.85 | testing_debugging_repair_refactoring | 151 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
namespa... | mavasani/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/RemoveKeywordRecommenderTests.cs | https://github.com/mavasani/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/RemoveKeywordRecommenderTests.cs | ghcode:00001:ba62150859d9 | mit | codeparrot/github-code | ba62150859d9e472c42857753ea4250f5aec83e5cd0033ee2437aeab4ff32ee5 | 0.85 | testing_debugging_repair_refactoring | 821 | false | 2026-07-17 |
using NUnit.Framework;
using RefactoringEssentials.CSharp.Diagnostics;
namespace RefactoringEssentials.Tests.CSharp.Diagnostics
{
[TestFixture]
public class ReplaceWithOfTypeLongCountTests : CSharpDiagnosticTestBase
{
[Test]
public void TestCaseBasic()
{
Analyze<ReplaceW... | RemcovandenBerg/RefactoringEssentials | Tests/CSharp/Diagnostics/ReplaceWithOfTypeLongCountTests.cs | https://github.com/RemcovandenBerg/RefactoringEssentials/blob/HEAD/Tests/CSharp/Diagnostics/ReplaceWithOfTypeLongCountTests.cs | ghcode:00001:9847e804c965 | mit | codeparrot/github-code | 9847e804c965a0f218bd75f51788425c583476830f7691e83313e021fcbf415b | 0.75 | testing_debugging_repair_refactoring | 458 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.