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 Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
using System;
using System.D... | karolz-ms/diagnostics-eventflow | test/Microsoft.Diagnostics.EventFlow.Inputs.Tests/DiagnosticSourceInputTests.cs | https://github.com/karolz-ms/diagnostics-eventflow/blob/HEAD/test/Microsoft.Diagnostics.EventFlow.Inputs.Tests/DiagnosticSourceInputTests.cs | ghcode:00163:d452efc6c378 | mit | codeparrot/github-code | d452efc6c378128643fa6ab6179e2e9e09a63e04ee6ebf9ea693816ef41e826a | 0.85 | testing_debugging_repair_refactoring | 1,323 | false | 2026-07-17 |
using DeclarativeSql.Sql;
using DeclarativeSql.Tests.Models;
using FluentAssertions;
using Xunit;
namespace DeclarativeSql.Tests.Cases;
public class OrderByTest
{
private DbProvider DbProvider { get; } = DbProvider.SqlServer;
[Fact]
public void Ascending()
{
var actual = QueryBuilder.Orde... | xin9le/DeclarativeSql | src/DeclarativeSql.Tests/Cases/OrderByTest.cs | https://github.com/xin9le/DeclarativeSql/blob/HEAD/src/DeclarativeSql.Tests/Cases/OrderByTest.cs | ghcode:00163:087fc99c532b | mit | codeparrot/github-code | 087fc99c532b1136a0d17e4c67110b0e2376de47348ba6ba44b6b9d126dc1e8e | 0.6 | testing_debugging_repair_refactoring | 178 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Eto.Parse;
using HtmlConsole.Dom;
using HtmlConsole.Extensions;
namespace HtmlConsole.Css
{
// TODO: Make this a struct?
public abstract class Selector
{
/// <summary>
/// Creates a selector ... | mzabsky/HtmlConsole | HtmlConsole/Css/Selector.cs | https://github.com/mzabsky/HtmlConsole/blob/HEAD/HtmlConsole/Css/Selector.cs | ghcode:00163:9385059e470f | mit | codeparrot/github-code | 9385059e470f197b6bebecd06ea5020d366368314926ac60fabd23e0b44985cc | 0.85 | testing_debugging_repair_refactoring | 750 | false | 2026-07-17 |
// ReSharper disable InconsistentNaming
using EasyNetQ.AutoSubscribe;
using EasyNetQ.Internals;
using FluentAssertions;
using NSubstitute;
using System;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace EasyNetQ.Tests.AutoSubscriberTests;
public class When_autosubscribing_async_with_subscri... | EasyNetQ/EasyNetQ | Source/EasyNetQ.Tests/AutoSubscriberTests/When_autosubscribing_async_with_subscription_configuration.cs | https://github.com/EasyNetQ/EasyNetQ/blob/HEAD/Source/EasyNetQ.Tests/AutoSubscriberTests/When_autosubscribing_async_with_subscription_configuration.cs | ghcode:00163:b94ba8a4f65e | mit | codeparrot/github-code | b94ba8a4f65e2167fd0c854141a842b096c2655f0f4f5871599d09314547c186 | 0.85 | testing_debugging_repair_refactoring | 1,036 | false | 2026-07-17 |
#if false
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace ZimmerBot.Core.Tests.BotTests
{
[TestFixture]
public class AbbeviationTests : TestHelper
{
[Test]
public void CanRecognizeAbbrevations()
{
... | JornWildt/ZimmerBot | ZimmerBot.Core.Tests/BotTests/AbbeviationTests.cs | https://github.com/JornWildt/ZimmerBot/blob/HEAD/ZimmerBot.Core.Tests/BotTests/AbbeviationTests.cs | ghcode:00163:280fb63314dc | mit | codeparrot/github-code | 280fb63314dc5750bef86c1d029de584d8098b70f1249e8c213054368609e1ad | 0.75 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
using RavenDBMembership.Provider;
using System.Threading;
namespace RavenDBMembership.Tests
{
public class RoleTests : InMemoryStoreTestcase
{
[Fact]
public void StoreRole()
{
var newRole = new... | martijnboland/RavenDBMembership | src/RavenDBMembership.Tests/RoleTests.cs | https://github.com/martijnboland/RavenDBMembership/blob/HEAD/src/RavenDBMembership.Tests/RoleTests.cs | ghcode:00163:8e149127ccdf | mit | codeparrot/github-code | 8e149127ccdf824d9060374ee617fbfe8a69747fc0205821678f425005948d98 | 0.75 | testing_debugging_repair_refactoring | 1,127 | false | 2026-07-17 |
using NUnit.Framework;
using Omu.ValueInjecter;
namespace Tests
{
[TestFixture]
public class KohanTests
{
[Test]
public void Test()
{
var pc = new ProgrammeClient
{
Id = 1,
Client = new C... | cristi-badila/.Net2.0-ValueInjecter | Tests/KohanTests.cs | https://github.com/cristi-badila/.Net2.0-ValueInjecter/blob/HEAD/Tests/KohanTests.cs | ghcode:00163:b5f892995333 | mit | codeparrot/github-code | b5f892995333ab82854a36f3c97f67658ba954c6903b0c0de6c060f918e0bf46 | 0.75 | testing_debugging_repair_refactoring | 328 | false | 2026-07-17 |
using System.Text;
using Common.Serializer.Xml;
using FluentAssertions;
using NUnit.Framework;
namespace Common.Serializer.Tests
{
[TestFixture]
public class ConfigTest
{
[SetUp]
public void Setup()
{
Serialization.Initialize(config =>
{
conf... | serbrech/Common.Serializer | src/Common.Serializer.Tests/ConfigTest.cs | https://github.com/serbrech/Common.Serializer/blob/HEAD/src/Common.Serializer.Tests/ConfigTest.cs | ghcode:00163:9030d2c363e0 | mit | codeparrot/github-code | 9030d2c363e0d218b2bf10ab2bc20fd025ffb10ba9c7eb59decf1dfb6478a6d3 | 0.6 | testing_debugging_repair_refactoring | 204 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Reflection.Metadata.Ecma335;
using Internal.TypeSystem;
using Internal.TypeSystem.Ecma;... | kyulee1/corert | src/ILCompiler.Compiler/src/Compiler/CompilationModuleGroup.cs | https://github.com/kyulee1/corert/blob/HEAD/src/ILCompiler.Compiler/src/Compiler/CompilationModuleGroup.cs | ghcode:00163:44f381c16c62 | mit | codeparrot/github-code | 44f381c16c628758516fcf3c5ed3446d563da7c6089dfaccae8b55f3f51353db | 0.95 | testing_debugging_repair_refactoring | 1,192 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------
// <copyright file="LargeStringFieldEntity.cs" company="Effort Team">
// Copyright (C) Effort Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and ... | CedricDumont/Effort.Next | Main/Source/Effort.Test.Data/Features/LargeStringFieldEntity.cs | https://github.com/CedricDumont/Effort.Next/blob/HEAD/Main/Source/Effort.Test.Data/Features/LargeStringFieldEntity.cs | ghcode:00163:887011c3165f | mit | codeparrot/github-code | 887011c3165f4926db9f42d92f00f1604b597e8d9691b1b07beb1348be3b4255 | 0.85 | testing_debugging_repair_refactoring | 327 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MathParser;
using System.Diagnostics;
namespace UnitTest_MathParser
{
[TestClass]
public class UnitTest_Parser
{
[TestMethod]
public void TestMethod_Parser_ParseFuncWithoutParams_UnaryPlus()
{
strin... | urffin/mathParser | MathParser/UnitTest_MathParser/UnitTest_Parser.cs | https://github.com/urffin/mathParser/blob/HEAD/MathParser/UnitTest_MathParser/UnitTest_Parser.cs | ghcode:00163:bb24f596a9b4 | mit | codeparrot/github-code | bb24f596a9b49f2aab6010c4c81273ae53e449df6462334734c2377ed9d35bce | 0.6 | testing_debugging_repair_refactoring | 775 | false | 2026-07-17 |
using ESRI.ArcGIS.Geometry;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Wave.Extensions.Esri.Tests.ESRI.ArcGIS.Geometry.Collections
{
[TestClass]
public class PolylineEqualityComparerTest
{
#region Public Methods
[TestMethod]
[TestCategory("ESRI")]
publi... | Jumpercables/Wave | tests/Wave.Extensions.Esri.Tests/ESRI/ArcGIS/Geometry/Collections/PolylineEqualityComparerTest.cs | https://github.com/Jumpercables/Wave/blob/HEAD/tests/Wave.Extensions.Esri.Tests/ESRI/ArcGIS/Geometry/Collections/PolylineEqualityComparerTest.cs | ghcode:00163:d7ed9e33d420 | mit | codeparrot/github-code | d7ed9e33d42066c385c8cd508d31e8d5c7cbb2f62bd6e4bd0e2e914bb6b0ced6 | 0.75 | testing_debugging_repair_refactoring | 277 | false | 2026-07-17 |
//---------------------------------------------------------------------------
//
// File: MarkupCompiler.cs
//
// Description:
// Markup Compiler class that compiles the markup in a Xaml file into a
// binary stream (Baml) and\or code (IL) in an assembly.
//
//
// History:
// 10/29/01: sramani Created
... | mind0n/hive | Cache/Libs/net46/wpf/src/BuildTasks/MS/Internal/MarkupCompiler/MarkupCompiler.cs | https://github.com/mind0n/hive/blob/HEAD/Cache/Libs/net46/wpf/src/BuildTasks/MS/Internal/MarkupCompiler/MarkupCompiler.cs | ghcode:00163:5c569319edb1 | mit | codeparrot/github-code | 5c569319edb1e586acbc19c7bd19b6360ecd8ed56d7f0fd5ad642ed951e40225 | 0.82 | testing_debugging_repair_refactoring | 26,050 | false | 2026-07-17 |
using System.IO;
using System.Threading.Tasks;
using OmniSharp.DotNetTest.Models;
using OmniSharp.DotNetTest.Services;
using OmniSharp.Services;
using TestUtility;
using Xunit;
using Xunit.Abstractions;
namespace OmniSharp.DotNetTest.Tests
{
public abstract class AbstractGetTestStartInfoFacts : AbstractTestFixtur... | DustinCampbell/omnisharp-roslyn | tests/OmniSharp.DotNetTest.Tests/AbstractGetTestStartInfoFacts.cs | https://github.com/DustinCampbell/omnisharp-roslyn/blob/HEAD/tests/OmniSharp.DotNetTest.Tests/AbstractGetTestStartInfoFacts.cs | ghcode:00163:4ab7fd39480d | mit | codeparrot/github-code | 4ab7fd39480d2a6c5556f93a12c25ed246ffe5bfe61dfc0d77a6f9103ee78b18 | 0.75 | testing_debugging_repair_refactoring | 340 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Newtonsoft.Json;
using NsqSharp.Api;
using NsqSharp.Bus;
using NsqSharp.Bus.Configuration;
using NsqSharp.Bus.Configuration.BuiltIn;
using NsqSharp.Bus.Configuration.Providers;
using NsqSharp.Tests.Bus.TestFakes;
using Nsq... | yonglehou/NsqSharp | NsqSharp.Tests/Bus/MessageMutatorTest.cs | https://github.com/yonglehou/NsqSharp/blob/HEAD/NsqSharp.Tests/Bus/MessageMutatorTest.cs | ghcode:00163:55aff2226df8 | mit | codeparrot/github-code | 55aff2226df86a92e79c270bee5241f40a53600e6d62b8b61c4e72ae53a0af33 | 0.7 | testing_debugging_repair_refactoring | 4,178 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Neo.Ledger;
using Neo.Network.P2P.Payloads;
using Neo.Persistence;
using Neo.SmartContract;
using Neo.SmartContract.Native;
using System;
using System.Numerics;
using System.Threading.Tasks;
namespace Neo.UnitTests.Ledger
{
... | AntShares/AntShares | tests/neo.UnitTests/Ledger/UT_TransactionVerificationContext.cs | https://github.com/AntShares/AntShares/blob/HEAD/tests/neo.UnitTests/Ledger/UT_TransactionVerificationContext.cs | ghcode:00163:c810fecaa98e | mit | codeparrot/github-code | c810fecaa98e0fc30d532a9b083e4cc26fe496dcf64ebbe8c513a0d85148a425 | 0.6 | testing_debugging_repair_refactoring | 834 | false | 2026-07-17 |
using NUnit.Framework;
namespace ValveKeyValue.Test
{
class EscapedWhitespaceTestCase
{
[Test]
public void ConvertsBackslashCharToActualRepresentation()
{
Assert.That((string)data["key"], Is.EqualTo("line1\nline2\tline2pt2"));
}
KVObject data;
[One... | SteamDatabase/ValveKeyValue | ValveKeyValue/ValveKeyValue.Test/Text/EscapedWhitespaceTestCase.cs | https://github.com/SteamDatabase/ValveKeyValue/blob/HEAD/ValveKeyValue/ValveKeyValue.Test/Text/EscapedWhitespaceTestCase.cs | ghcode:00163:2dbfa84e16bf | mit | codeparrot/github-code | 2dbfa84e16bf6e98f5b01d7ffff732b977ce760c84010dc40cf34ba57f0992be | 0.6 | testing_debugging_repair_refactoring | 137 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Numerics;
using System.Text;
using Loyc.MiniTest;
namespace Wasm.Text
{
[TestFixture]
public class LexerTests
{
[Test]
public void ParseStrings()
{
AssertStringParsesAs("hi", "\"hi\"");
AssertStringParsesAs("hello... | jonathanvdc/cs-wasm | unit-tests/Text/LexerTests.cs | https://github.com/jonathanvdc/cs-wasm/blob/HEAD/unit-tests/Text/LexerTests.cs | ghcode:00163:f37ec5a91fe4 | mit | codeparrot/github-code | f37ec5a91fe4ed148fa249938e12fb60cda9730adb02fbe2f0861e31a9b2cd0a | 0.75 | testing_debugging_repair_refactoring | 2,341 | false | 2026-07-17 |
using System;
using Moq;
using NUnit.Framework;
namespace SJP.Schematic.Core.Tests
{
[TestFixture]
internal static class ConnectionRegistryTests
{
[Test]
public static void RegisterConnection_GivenNullConnection_ThrowsArgNullException()
{
Assert.That(() => ConnectionReg... | sjp/Schematic | src/SJP.Schematic.Core.Tests/ConnectionRegistryTests.cs | https://github.com/sjp/Schematic/blob/HEAD/src/SJP.Schematic.Core.Tests/ConnectionRegistryTests.cs | ghcode:00163:3a01c8a13e81 | mit | codeparrot/github-code | 3a01c8a13e81b3b3b09dee7879d2482284943eddf91e91623b707e7924a946b6 | 0.75 | testing_debugging_repair_refactoring | 457 | false | 2026-07-17 |
using System;
using System.Diagnostics.CodeAnalysis;
using Xunit;
namespace iSukces.UnitedValues.Test
{
public class WeightUnitTests
{
[Fact]
public void T01_Should_trim_parsed_unit()
{
var w = new MassUnit("kg");
var w2 = new MassUnit(" kg ");
Asser... | isukces/isukces.UnitedValues | app/iSukces.UnitedValues.Test/_tests/WeightUnitTests.cs | https://github.com/isukces/isukces.UnitedValues/blob/HEAD/app/iSukces.UnitedValues.Test/_tests/WeightUnitTests.cs | ghcode:00163:0fa06f8f2019 | mit | codeparrot/github-code | 0fa06f8f2019c264444f4734d9847b6720156a8318121f7dd09ccd48f5cf83d6 | 0.75 | testing_debugging_repair_refactoring | 168 | false | 2026-07-17 |
using System.Text;
using Popsql.Dialects;
using Popsql.Tests.Mocking;
using Xunit;
namespace Popsql.Tests.Dialects
{
public class SqlServerDialectTests
{
[Fact]
public void WriteLimit_WritesOffsetFetch()
{
var expected = "OFFSET 42 ROWS FETCH FIRST 10 ROWS ONLY";
var dialect = new SqlServerDialect();
... | WouterDemuynck/popsql | src/Popsql.Tests/Dialects/SqlServerDialectTests.cs | https://github.com/WouterDemuynck/popsql/blob/HEAD/src/Popsql.Tests/Dialects/SqlServerDialectTests.cs | ghcode:00163:682fcdfab594 | mit | codeparrot/github-code | 682fcdfab5942792fda2d88380bebc5e0929e88a250bee7fa941fb39ee7d33c9 | 0.75 | testing_debugging_repair_refactoring | 262 | false | 2026-07-17 |
using DotNetRevolution.Core.Commanding;
using DotNetRevolution.Core.Commanding.Domain;
using System;
namespace DotNetRevolution.Test.EventStoreDomain.Account.Commands
{
public class Withdraw : IAggregateRootCommand<AccountAggregateRoot>
{
public Guid CommandId { get; private set; }
public Gui... | DotNetRevolution/DotNetRevolution-Framework | tests/DotNetRevolution.Test.EventStoreDomain/Account/Commands/Withdraw.cs | https://github.com/DotNetRevolution/DotNetRevolution-Framework/blob/HEAD/tests/DotNetRevolution.Test.EventStoreDomain/Account/Commands/Withdraw.cs | ghcode:00163:424bc17eb673 | mit | codeparrot/github-code | 424bc17eb67396a3096a77fb1ff529292008187eff2119500a0f13c6f4b59fb8 | 0.75 | testing_debugging_repair_refactoring | 138 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Text;
using EasyApi.Formatting;
using EasyApi.Metadata;
using EasyApi.Metadata.Attributes.Formatting;
using NUnit.Framework;
using static EasyApi.Tests.TestUtils.ExtraPropertyHelpers;
using static EasyApi.Tests.TestUtils.TestCaseHelpers;
namespace EasyApi.Tests.Metadata.... | igoree/EasyApi | EasyApi.Tests/Metadata/Attributes/Formatting/RequestContentFormatterAttributeTests.cs | https://github.com/igoree/EasyApi/blob/HEAD/EasyApi.Tests/Metadata/Attributes/Formatting/RequestContentFormatterAttributeTests.cs | ghcode:00163:078a26103a38 | mit | codeparrot/github-code | 078a26103a38bcc7089af8fc6dfcb19ecc4e1abc2536814427e5bb5f9cecc2de | 0.75 | testing_debugging_repair_refactoring | 382 | false | 2026-07-17 |
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//using Moq;
//using NUnit.Framework;
//using TimeTracker.Storage;
//using TimeTracker.Tables;
//namespace TimeTracker.UnitTest {
// [TestFixture]
// class TaskViewModelTest {
// ... | L0ngb0w/timetracker | TimeTracker/UnitTest/TaskViewModelTest.cs | https://github.com/L0ngb0w/timetracker/blob/HEAD/TimeTracker/UnitTest/TaskViewModelTest.cs | ghcode:00163:118d901158bf | mit | codeparrot/github-code | 118d901158bf28ce01cdfb2f1051a1450a271c2b71883fea141046de5e8c9e5a | 0.7 | testing_debugging_repair_refactoring | 887 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using PackageManager.Core;
using PackageManager.Core.Contracts;
using PackageManager.Models.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PackageManager.Tests.Core.PackageInstallerTests
{
[... | iliyaST/TelerikAcademy | High-Quality-Code-Unit-Testing/3-Exams/FinalExam/Skeleton/AcademyPackageManager/PackageManager.Tests/Core/PackageInstallerTests/PerformOperationTests.cs | https://github.com/iliyaST/TelerikAcademy/blob/HEAD/High-Quality-Code-Unit-Testing/3-Exams/FinalExam/Skeleton/AcademyPackageManager/PackageManager.Tests/Core/PackageInstallerTests/PerformOperationTests.cs | ghcode:00163:d691c65f1d6e | mit | codeparrot/github-code | d691c65f1d6e445f6e4290e49d00e92ffb0c31ddf9a1f2ebdd35d2764c23ec7c | 0.75 | testing_debugging_repair_refactoring | 446 | false | 2026-07-17 |
#region License
// Copyright (c) K2 Workflow (SourceCode Technology Holdings Inc.). All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
#endregion
using SourceCode.Clay.OpenApi.Expressions;
using Xunit;
namespace SourceCode.Clay.OpenApi.Tests.Ex... | k2workflow/Clay | tests/SourceCode.Clay.OpenApi.Tests/Expressions/CompoundExpressionTests.cs | https://github.com/k2workflow/Clay/blob/HEAD/tests/SourceCode.Clay.OpenApi.Tests/Expressions/CompoundExpressionTests.cs | ghcode:00163:abb6a12a851d | mit | codeparrot/github-code | abb6a12a851da9ca215d4573e441d8ce5281ac5d11266d269c5661cbc9174eb5 | 0.85 | testing_debugging_repair_refactoring | 361 | false | 2026-07-17 |
using System;
using System.IO;
using Slight.FileDB.Server.Models;
namespace Slight.FileDB.Tests.Models {
public class TestServer : IDisposable {
protected static string LocalEndpoint {
get;
private set;
}
protected static string ContentDirectory {
get... | Silvenga/Slight.FileDB | Slight.FileDB.Tests/Models/TestServer.cs | https://github.com/Silvenga/Slight.FileDB/blob/HEAD/Slight.FileDB.Tests/Models/TestServer.cs | ghcode:00163:c6db84b5c06d | mit | codeparrot/github-code | c6db84b5c06d0bfad718841c721625082de1533f57657cdd9b59d29a5c5e6f0f | 0.85 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Santiago.Core.Entities;
using Santiago.Core.Interfaces.Repositories;
using Santiago.Core.Interfaces.Services;
using Santiago.Infrastructure.Services.Helpers;
namespace Santiago.Infrastructure.Services
{
public class TestimonialService : ITestimonialServic... | Vladi4-gh/Santiago | Santiago.Infrastructure.Services/TestimonialService.cs | https://github.com/Vladi4-gh/Santiago/blob/HEAD/Santiago.Infrastructure.Services/TestimonialService.cs | ghcode:00163:0c8af7eec9ec | mit | codeparrot/github-code | 0c8af7eec9ece25fc3950cc7c4eaaf114c0df20d4b775c1ba59ff262ad745e48 | 0.75 | testing_debugging_repair_refactoring | 451 | false | 2026-07-17 |
using ExplicitlyImpl.AspNetCore.Mvc.FluentActions;
using ExplicitlyImpl.FluentActions.Test.UnitTests.Controllers;
using Xunit;
namespace ExplicitlyImpl.FluentActions.Test.UnitTests
{
public class BuilderTestsWithParentType
{
[Fact(DisplayName = "1 parent type, returns string")]
public void Flu... | ExplicitlyImplicit/AspNetCore.Mvc.FluentActions | test/ExplicitlyImpl.FluentActions.Test.UnitTests/BuilderTestsWithParentType.cs | https://github.com/ExplicitlyImplicit/AspNetCore.Mvc.FluentActions/blob/HEAD/test/ExplicitlyImpl.FluentActions.Test.UnitTests/BuilderTestsWithParentType.cs | ghcode:00163:c87e692b8f72 | mit | codeparrot/github-code | c87e692b8f72269cd4c604846a7c74012fd331fd3f20effcc8a059b65e7805b8 | 0.75 | testing_debugging_repair_refactoring | 604 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using HrdLib;
namespace DialogLogic
{
public class DialogGraph
{
private int _nodeIdentity;
public event EventHandler GraphChanged;
private bool _... | niello/deusexmachina | Tools/DialogEditor/DialogLogic/DialogGraph.cs | https://github.com/niello/deusexmachina/blob/HEAD/Tools/DialogEditor/DialogLogic/DialogGraph.cs | ghcode:00163:ec31e8b86940 | mit | codeparrot/github-code | ec31e8b869407f1c0b6d450acd7c44b7692d108a3ca88e6c559c7a8ba767fccc | 0.7 | testing_debugging_repair_refactoring | 3,761 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
namespace RestLess.Sample
{
class Test
{
public Test()
{
var t = RestClient.For<IRestApi01>("");
}
}
}
| letsar/RestLess | src/RestLess.Sample/Test.cs | https://github.com/letsar/RestLess/blob/HEAD/src/RestLess.Sample/Test.cs | ghcode:00163:6d47df9332e1 | mit | codeparrot/github-code | 6d47df9332e1280f39e755522677d8f467ac53348a4e4f93bd2bbb99385b767d | 0.75 | testing_debugging_repair_refactoring | 51 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
namespace test
{
class Program
{
static void Main(string[] args)
{
BigInteger chislo = 9223372036854775807;
chislo.ToString();
... | pawelangelow/TelerikAcademy | C#1/Exam 02.02.2015/test/Program.cs | https://github.com/pawelangelow/TelerikAcademy/blob/HEAD/C#1/Exam 02.02.2015/test/Program.cs | ghcode:00163:15f4e7ab4445 | mit | codeparrot/github-code | 15f4e7ab4445970456af91757221e3439084c59d7320e345723c84a757eca5e2 | 0.85 | testing_debugging_repair_refactoring | 128 | false | 2026-07-17 |
using System.Collections.Generic;
using MSG.DomainLogic;
using MSG.DomainLogic.Entities;
using NUnit.Framework;
namespace MSG.UnitTests
{
/// <summary>
/// Unit tests that verify the expected output from the GetBadThings() method.
/// </summary>
[TestFixture]
class BadThingsTests
{
pri... | TimCollins/ManagementSpeakGenerator | src/MSG.UnitTests/BadThingsTests.cs | https://github.com/TimCollins/ManagementSpeakGenerator/blob/HEAD/src/MSG.UnitTests/BadThingsTests.cs | ghcode:00163:7241593b99fb | mit | codeparrot/github-code | 7241593b99fb87b1e6ace497f6ec4b5e9481aead6e2a65675010177ca0932487 | 0.85 | testing_debugging_repair_refactoring | 649 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TestUtils;
namespace BGC.Utilities.Tests.IndexerTests
{
public class GetTests : TestFixtureBase
{
[Test]
public void CallsGetCallbackWhenGettingValue... | blattodephobia/BG_Composers | BGC.Utilities.Tests/IndexerTests.cs | https://github.com/blattodephobia/BG_Composers/blob/HEAD/BGC.Utilities.Tests/IndexerTests.cs | ghcode:00163:00e601c98b96 | mit | codeparrot/github-code | 00e601c98b968299efe57aa2321ac3f247d55918094891d82660e6212f1afcdb | 0.75 | testing_debugging_repair_refactoring | 411 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Recipes.RepoDB.Models;
using Recipes.SingleModelCrudAsync;
namespace Recipes.RepoDB.SingleModelCrudAsync
{
[TestClass]
public class SingleModelCrudAsyncTests : SingleModelCrudAsyncTests<EmployeeClassification>
{
protected override ISingleMo... | Grauenwolf/DotNet-ORM-Cookbook | ORM Cookbook/Recipes.RepoDb/SingleModelCrudAsync/SingleModelCrudAsyncTests.cs | https://github.com/Grauenwolf/DotNet-ORM-Cookbook/blob/HEAD/ORM Cookbook/Recipes.RepoDb/SingleModelCrudAsync/SingleModelCrudAsyncTests.cs | ghcode:00163:0715645533c9 | unlicense | codeparrot/github-code | 0715645533c9e8fdf87d8dee0b31199658ed6542c2b890b3a1b7c47af0e9cc00 | 0.68 | testing_debugging_repair_refactoring | 88 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
namespace Renderly.Utils
{
/// <summary>
/// This is a utility class that generates TestCase objects that can be added to
/// IModel implementations.
/// </summary>
public class TestCaseGenerator
{
private IRenderlyAssetM... | mochify/renderly-legacy | Renderly/Utils/TestCaseGenerator.cs | https://github.com/mochify/renderly-legacy/blob/HEAD/Renderly/Utils/TestCaseGenerator.cs | ghcode:00163:1e903e5c4593 | apache-2.0 | codeparrot/github-code | 1e903e5c4593c1ac94ffce98cdb22e78db7e7dc178ad0c4fd3be8444c1860a26 | 0.85 | testing_debugging_repair_refactoring | 317 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
using Serilog.Events;
using Serilog.PerformanceTests.Support;
namespace Serilog.PerformanceTests
{
/// <summary>
/// Tests the overhead of writing through a nested logger.
/// </summary>
public class NestedLoggerLatencyBenchmark
{
ILogger _log = null!, _nes... | serilog/serilog | test/Serilog.PerformanceTests/NestedLoggerLatencyBenchmark.cs | https://github.com/serilog/serilog/blob/HEAD/test/Serilog.PerformanceTests/NestedLoggerLatencyBenchmark.cs | ghcode:00163:e02c150294ae | apache-2.0 | codeparrot/github-code | e02c150294ae159f1473568a7ea9f2e0199dec8efa9ea032404208c94be4de42 | 0.85 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
using Serilog.Capturing;
using Serilog.Core;
using Serilog.Events;
using Serilog.Parsing;
using Serilog.Tests.Support;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
// ReSharper disable UnusedAutoPropertyAccessor.Global, UnusedPara... | serilog/serilog | test/Serilog.Tests/Capturing/PropertyValueConverterTests.cs | https://github.com/serilog/serilog/blob/HEAD/test/Serilog.Tests/Capturing/PropertyValueConverterTests.cs | ghcode:00163:9ccf6b372fc9 | apache-2.0 | codeparrot/github-code | 9ccf6b372fc963930190363ee5a53e2db3b375f2047920f5065059b454bc3b6e | 0.85 | testing_debugging_repair_refactoring | 3,207 | 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.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Analyzer.Utilities.PooledObjects;
n... | mavasani/roslyn-analyzers | src/Utilities/FlowAnalysis/FlowAnalysis/Analysis/GlobalFlowStateAnalysis/GlobalFlowStateAnalysis.GlobalFlowStateAnalysisValueSetDomain.cs | https://github.com/mavasani/roslyn-analyzers/blob/HEAD/src/Utilities/FlowAnalysis/FlowAnalysis/Analysis/GlobalFlowStateAnalysis/GlobalFlowStateAnalysis.GlobalFlowStateAnalysisValueSetDomain.cs | ghcode:00163:76cb6bed5a71 | apache-2.0 | codeparrot/github-code | 76cb6bed5a7190b8f8b9b4feaeedecd1896b41103e9f85add9526aedbdf8c367 | 0.75 | testing_debugging_repair_refactoring | 1,521 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FinesSE.Bootstrapper;
using System;
using System.IO;
namespace FinesSE.AcceptanceTests
{
[TestClass]
public class LocatorTest
{
private SE se;
public string TestSiteUrl =>
@"file://" + Path.Combine(
AppD... | MirekVales/FinesSE | FinesSE/FinesSE.AcceptanceTests/LocatorTest.cs | https://github.com/MirekVales/FinesSE/blob/HEAD/FinesSE/FinesSE.AcceptanceTests/LocatorTest.cs | ghcode:00163:43fe16e6ad21 | apache-2.0 | codeparrot/github-code | 43fe16e6ad21fbdd88cbe2bbd3492398d1cf1bceacd41bed27273949a5fe834a | 0.6 | testing_debugging_repair_refactoring | 254 | false | 2026-07-17 |
/*
Copyright 2012-2022 Marco De Salvo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | mdesalvo/RDFSharp | RDFSharp.Test/Model/Validation/Abstractions/Constraints/RDFMinLengthConstraintTest.cs | https://github.com/mdesalvo/RDFSharp/blob/HEAD/RDFSharp.Test/Model/Validation/Abstractions/Constraints/RDFMinLengthConstraintTest.cs | ghcode:00163:3dd987998dcb | apache-2.0 | codeparrot/github-code | 3dd987998dcb17e90d7736d9d74b7f9af6b14553bfaa9cc6af6e45cf61bb5d04 | 0.85 | testing_debugging_repair_refactoring | 10,068 | 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... | Pvlerick/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/DeconstructionTests.cs | https://github.com/Pvlerick/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/DeconstructionTests.cs | ghcode:00163:8484f4ad47b4 | apache-2.0 | codeparrot/github-code | 8484f4ad47b4eac355f8766de3029fe599ac3be36d4cb09e73338f677be067d5 | 0.82 | testing_debugging_repair_refactoring | 27,064 | false | 2026-07-17 |
//
// Copyright (C) DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | datastax/csharp-driver | src/Cassandra.IntegrationTests/DataStax/Auth/SessionDseAuthenticationTests.cs | https://github.com/datastax/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/DataStax/Auth/SessionDseAuthenticationTests.cs | ghcode:00163:1be67fb35530 | apache-2.0 | codeparrot/github-code | 1be67fb35530bb71ea85e1000e156f493b8d1b04e7a280bc522adf03127dfdea | 0.85 | testing_debugging_repair_refactoring | 874 | false | 2026-07-17 |
using Moq;
using NBi.Core.ResultSet;
using NBi.Core.Scalar.Comparer;
using NBi.Core.ResultSet.Equivalence;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Testing.Core.ResultSet.Equivalence
{
[TestFixture]
... | Seddryck/NBi | NBi.Testing.Core/ResultSet/Equivalence/SettingsEquivalerBuilderTest.cs | https://github.com/Seddryck/NBi/blob/HEAD/NBi.Testing.Core/ResultSet/Equivalence/SettingsEquivalerBuilderTest.cs | ghcode:00163:71458f226b11 | apache-2.0 | codeparrot/github-code | 71458f226b11258a726f7b1484e290ef51571618808ed5af52c413e4d9637e21 | 0.75 | testing_debugging_repair_refactoring | 791 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Gigya.Microdot.Interfaces;
using Gigya.Microdot.Interfaces.Configuration;
using Gigya.Microdot.SharedLogic.Exceptions;
using Ninject;
using NSubstitute;
using NUnit.Framework;
using Shouldly;
namespace Gigya.Microdo... | gigya/microdot | tests/Gigya.Microdot.UnitTests/Configuration/ConfigCollectionProperties.cs | https://github.com/gigya/microdot/blob/HEAD/tests/Gigya.Microdot.UnitTests/Configuration/ConfigCollectionProperties.cs | ghcode:00163:6e5c1e42e9b3 | apache-2.0 | codeparrot/github-code | 6e5c1e42e9b36588a641bf4215293b64f21d7b0a972311947fd5490601e55dce | 0.75 | testing_debugging_repair_refactoring | 2,609 | false | 2026-07-17 |
namespace Morgados.StateMachineExploration.Tests.Runtime
{
using System.Threading;
using Morgados.StateMachines.Runtime;
using Xunit;
using System.Threading.Tasks;
public class ParallelAllRuntimeStateTests
{
[Fact]
public async Task ParallelAllRuntimeState_WithoutCancellationAn... | paulomorgado/StateMachineExplorations | tests/StateMachineExplorationTests/Runtime/ParallelAllRuntimeStateTests.cs | https://github.com/paulomorgado/StateMachineExplorations/blob/HEAD/tests/StateMachineExplorationTests/Runtime/ParallelAllRuntimeStateTests.cs | ghcode:00163:463ca6861688 | apache-2.0 | codeparrot/github-code | 463ca68616886b9cbf41e3162ac214a0e302849e5c90cbfca59d95a5b8244314 | 0.75 | testing_debugging_repair_refactoring | 472 | false | 2026-07-17 |
// Copyright (c) 2017 Jan Pluskal
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in ... | nesfit/NetfoxDetective | Framework/ApplicationRecognizers/AppIdent.Tests/Features/Bases/ThirdQuartileInterArrivalTimePacketsBaseTests.cs | https://github.com/nesfit/NetfoxDetective/blob/HEAD/Framework/ApplicationRecognizers/AppIdent.Tests/Features/Bases/ThirdQuartileInterArrivalTimePacketsBaseTests.cs | ghcode:00163:0e111023758b | apache-2.0 | codeparrot/github-code | 0e111023758b78470b5b56e4bd117c59cc05c37a0a897fb7cee408ff819f7061 | 0.85 | testing_debugging_repair_refactoring | 655 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Gigya.Microdot.Fakes;
using Gigya.Microdot.Interfaces.Configuration;
using Gigya.Microdot.Testing.Shared;
using Ninject;
using NUnit.Framework;
namespace Gigya.Microdot.UnitTests
{
/// <summary>
/// Enables dynamic config upda... | gigya/microdot | tests/Gigya.Microdot.UnitTests/UpdatableConfigTests.cs | https://github.com/gigya/microdot/blob/HEAD/tests/Gigya.Microdot.UnitTests/UpdatableConfigTests.cs | ghcode:00163:279aafd7685f | apache-2.0 | codeparrot/github-code | 279aafd7685fc1173285630d0d020f75c0edde539ef7962716e3f4933e1ef22a | 0.85 | testing_debugging_repair_refactoring | 678 | 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 n... | abelli85/nvelocity | NVelocity/NVelocity.Tests/EvaluateTestCase.cs | https://github.com/abelli85/nvelocity/blob/HEAD/NVelocity/NVelocity.Tests/EvaluateTestCase.cs | ghcode:00163:463a50ce34dc | apache-2.0 | codeparrot/github-code | 463a50ce34dcd59c5c11370f9225117a3d4eda58ceb28e75b5e98dfe426bcaee | 0.85 | testing_debugging_repair_refactoring | 2,031 | false | 2026-07-17 |
// <copyright file="TagContextBinarySerializerTest.cs" company="OpenCensus Authors">
// Copyright 2018, OpenCensus Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http:... | census-instrumentation/opencensus-csharp | test/OpenCensus.Tests/Impl/Tags/Propagation/TagContextBinarySerializerTest.cs | https://github.com/census-instrumentation/opencensus-csharp/blob/HEAD/test/OpenCensus.Tests/Impl/Tags/Propagation/TagContextBinarySerializerTest.cs | ghcode:00163:4ed8493e14d4 | apache-2.0 | codeparrot/github-code | 4ed8493e14d4dce46a4f0c68cf9e77b31e99024ec9a95921751ac615273fbf2d | 0.85 | testing_debugging_repair_refactoring | 665 | 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.Text;
using Microsoft.AspNetCore.Mvc.Formatters;
using Microsoft.Net.Http.Headers;
using Xunit;
namespace Microsoft.AspNetCore.Internal
{
public class ResponseConte... | aspnet/AspNetCore | src/Mvc/Mvc.Core/test/Formatters/ResponseContentTypeHelperTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/Mvc.Core/test/Formatters/ResponseContentTypeHelperTest.cs | ghcode:00163:e8657251cd06 | apache-2.0 | codeparrot/github-code | e8657251cd06bf8f4c600a84d79eebb47240052aa61c08c5693aa8891fe5ffd8 | 0.95 | testing_debugging_repair_refactoring | 903 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="InputParameterTests.cs" company="CODE Insiders LTD">
//
// Copyright 2013-2015 CODE Insiders LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may... | codeinsiders/sharpql | CodeInsiders.SharpQL.Tests/InputParameterTests.cs | https://github.com/codeinsiders/sharpql/blob/HEAD/CodeInsiders.SharpQL.Tests/InputParameterTests.cs | ghcode:00163:c7c7f765068b | apache-2.0 | codeparrot/github-code | c7c7f765068b4db3c7071f7dfa48f0dc98acfce0923dd9f23829c0842a807c08 | 0.85 | testing_debugging_repair_refactoring | 218 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ThScoreFileConverter.Helpers;
using ThScoreFileConverter.Models;
using ThScoreFileConverter.Models.Th07;
using ThScoreFileConverterTests.UnitTesting;
using Chapter = ThScoreFileConverter.Mode... | y-iihoshi/ThScoreFileConverter | ThScoreFileConverterTests/Models/Th07/PlayStatusTests.cs | https://github.com/y-iihoshi/ThScoreFileConverter/blob/HEAD/ThScoreFileConverterTests/Models/Th07/PlayStatusTests.cs | ghcode:00163:ab6433ab109c | bsd-2-clause | codeparrot/github-code | ab6433ab109ca46bf6db1e82a5af6bac53924ee41a89479a4f7c229ae5f16355 | 0.68 | testing_debugging_repair_refactoring | 887 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Configuration;
using System.Threading.Tasks;
using NUnit.Framework;
using Salesforce.Chatter.Models;
using Salesforce.Common;
namespace Salesforce.Chatter.FunctionalTests
{
[TestFixture]
public class ChatterClientTests
{
private static string _tokenRe... | tugberkugurlu/Force.com-Toolkit-for-NET | src/ChatterToolkitForNET.FunctionalTests/ChatterClientTests.cs | https://github.com/tugberkugurlu/Force.com-Toolkit-for-NET/blob/HEAD/src/ChatterToolkitForNET.FunctionalTests/ChatterClientTests.cs | ghcode:00163:a80788c06bc0 | bsd-3-clause | codeparrot/github-code | a80788c06bc0c3f8721c5029f851db75b327d270e2c690f837350144e0ea7e77 | 0.75 | testing_debugging_repair_refactoring | 1,530 | false | 2026-07-17 |
using System;
using System.Collections.ObjectModel;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Microsoft.Build.Evaluation;
using NUnit.Framework;
namespace SandcastleBuilder.Utils.Tests.MSBuild
{
[TestFixture]
public class BuildProper... | jozefizso/sandcastle-presentation | SHFB/SandcastleBuilder/BuilderUtilsTests40/MSBuild/BuildPropertyTests.cs | https://github.com/jozefizso/sandcastle-presentation/blob/HEAD/SHFB/SandcastleBuilder/BuilderUtilsTests40/MSBuild/BuildPropertyTests.cs | ghcode:00163:9001640ce7be | bsd-3-clause | codeparrot/github-code | 9001640ce7bea761c43a9aef2f2f09acd89c66dff854a9c369aa6baddcce77ce | 0.85 | testing_debugging_repair_refactoring | 886 | false | 2026-07-17 |
using System;
using System.IO;
using System.Net;
using System.Threading;
using NUnit.Framework;
using RestFiles.ServiceModel.Operations;
using ServiceStack.Common.Web;
using ServiceStack.Service;
using ServiceStack.ServiceClient.Web;
/* For syntax highlighting and better readability of this file, view it on GitHub:
*... | assaframan/MoviesRestForAppHarbor | src/RestFiles/RestFiles.Tests/AsyncRestClientTests.cs | https://github.com/assaframan/MoviesRestForAppHarbor/blob/HEAD/src/RestFiles/RestFiles.Tests/AsyncRestClientTests.cs | ghcode:00163:7ba8cd14f789 | bsd-3-clause | codeparrot/github-code | 7ba8cd14f789c7dede06d60a46e034817a33c687659c849ae08f7733082d51d3 | 0.85 | testing_debugging_repair_refactoring | 2,080 | false | 2026-07-17 |
//-----------------------------------------------------------------------------
// Filename: SIPConstants.cs
//
// Description: SIP constants.
//
// History:
// 17 Sep 2005 Aaron Clauson Created.
//
// License:
// This software is licensed under the BSD License http://www.opensource.org/licenses/bsd-license.php
//
//... | amccool/sipsorcery | sipsorcery-core/SIPSorcery.SIP.Core/SIP/SIPConstants.cs | https://github.com/amccool/sipsorcery/blob/HEAD/sipsorcery-core/SIPSorcery.SIP.Core/SIP/SIPConstants.cs | ghcode:00163:7b25a019194e | bsd-3-clause | codeparrot/github-code | 7b25a019194e73f68451ca6421d625036de5d6ccf7ef66d46443fe70dcbf1def | 0.85 | testing_debugging_repair_refactoring | 5,081 | false | 2026-07-17 |
using FluentAssertions;
using Moq;
using NUnit.Framework;
namespace Breadbox
{
[Parallelizable(ParallelScope.Fixtures)]
public class DecTests : BreadboxBaseTestFixture
{
[Test]
public void Dec([Range(0x0, 0xF, 0x5)] int lowOperand, [Range(0x0, 0xF, 0x5)] int highOperand)
{
... | SaxxonPike/breadbox | Breadbox.Test/Mos6502/DecTests.cs | https://github.com/SaxxonPike/breadbox/blob/HEAD/Breadbox.Test/Mos6502/DecTests.cs | ghcode:00163:aee53c9fc940 | isc | codeparrot/github-code | aee53c9fc94015473e672f5b2da212d31daf654beec088a989d5ee329ae8eba3 | 0.85 | testing_debugging_repair_refactoring | 688 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | SaladbowlCreative/Json.Net.Unity3D | src/Newtonsoft.Json.Tests/Serialization/ConstructorHandlingTests.cs | https://github.com/SaladbowlCreative/Json.Net.Unity3D/blob/HEAD/src/Newtonsoft.Json.Tests/Serialization/ConstructorHandlingTests.cs | ghcode:00163:63d679e8ee27 | mit | codeparrot/github-code | 63d679e8ee2772562ca4eb1e2595c75cf0bcef853bcc6ff476fc356002042fca | 0.85 | testing_debugging_repair_refactoring | 1,782 | false | 2026-07-17 |
using Microsoft.SharePoint.Client;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OfficeDevPnP.Core.Enums;
using OfficeDevPnP.Core.Framework.Provisioning.Model;
using OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers;
using OfficeDevPnP.Core.Tests.Framework.Functional.Implementation;
using OfficeDevPn... | OfficeDev/PnP-Sites-Core | Core/OfficeDevPnP.Core.Tests/Framework/Functional/LanguageNoScriptTests.cs | https://github.com/OfficeDev/PnP-Sites-Core/blob/HEAD/Core/OfficeDevPnP.Core.Tests/Framework/Functional/LanguageNoScriptTests.cs | ghcode:00163:d98ea120ee35 | mit | codeparrot/github-code | d98ea120ee352e6990f75902b89ec788132863c0adcbdbc457a5674d24d31e46 | 0.85 | testing_debugging_repair_refactoring | 532 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Numerics;
namespace UtilsTests.Math
{
[TestClass]
public class PascalTriangleTest
{
/// <summary>
/// Test a common triangle
/// </summary>
[TestMethod]
public void PascalTriangleCreateTest()
{... | fluttert/.Net-Utils | src/UtilsTests/MathTests/PascalTriangleTest.cs | https://github.com/fluttert/.Net-Utils/blob/HEAD/src/UtilsTests/MathTests/PascalTriangleTest.cs | ghcode:00163:f658bbb55e66 | mit | codeparrot/github-code | f658bbb55e667d73d4cb361d5f44173fdd0613e75f45babe506dc0e37d3ea60c | 0.7 | testing_debugging_repair_refactoring | 631 | false | 2026-07-17 |
using System;
using System.Text;
using Xunit;
namespace System.Text.EncodingTests
{
//System.Test.UnicodeEncoding.GetString(System.Byte[],System.Int32,System.Int32)
public class UnicodeEncodingGetString
{
private readonly RandomDataGenerator _generator = new RandomDataGenerator();
#region ... | chenkennt/corefx | src/System.Text.Encoding/tests/UnicodeEncoding/UnicodeEncodingGetString.cs | https://github.com/chenkennt/corefx/blob/HEAD/src/System.Text.Encoding/tests/UnicodeEncoding/UnicodeEncodingGetString.cs | ghcode:00163:acd86ec92f91 | mit | codeparrot/github-code | acd86ec92f91f46daaf5d0235533759dce08b080a26cb52025f25aa09e0f8848 | 0.95 | testing_debugging_repair_refactoring | 1,595 | false | 2026-07-17 |
using FluentAssertions;
using NUnit.Framework;
using Tailviewer.Api;
namespace Tailviewer.Core.Tests.Sources.Merged
{
[TestFixture]
public sealed class MergedLogFileChangesTest
{
[Test]
public void TestEmpty([Values(0, 1, 42)] int count)
{
var changes = new MergedLogSourceChanges(count);
changes.Sectio... | Kittyfisto/Tailviewer | src/Tailviewer.Core.Tests/Sources/Merged/MergedLogFileChangesTest.cs | https://github.com/Kittyfisto/Tailviewer/blob/HEAD/src/Tailviewer.Core.Tests/Sources/Merged/MergedLogFileChangesTest.cs | ghcode:00163:b3a696183a85 | mit | codeparrot/github-code | b3a696183a857fb72c91c3bf68380cb217473e29bfa18505e9a1fb50f756d00c | 0.6 | testing_debugging_repair_refactoring | 1,175 | false | 2026-07-17 |
/***************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
This code is licensed under the Visual Studio SDK license terms.
THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
IMPLIED WARRANTIE... | tanakh/VisualStudioHaskell | VisualStudioHaskell/VisualStudioHaskell_UnitTests/EditorTests/EditorFactoryTest.cs | https://github.com/tanakh/VisualStudioHaskell/blob/HEAD/VisualStudioHaskell/VisualStudioHaskell_UnitTests/EditorTests/EditorFactoryTest.cs | ghcode:00163:5115ab1dabfa | mit | codeparrot/github-code | 5115ab1dabfae69d034c4a63f7006e99464a2cf74d22541f669718e6c6e06e37 | 0.85 | testing_debugging_repair_refactoring | 1,427 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2017 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... | NikolayPianikov/nunit | src/NUnitFramework/tests/Internal/NamespaceTreeBuilderTests.cs | https://github.com/NikolayPianikov/nunit/blob/HEAD/src/NUnitFramework/tests/Internal/NamespaceTreeBuilderTests.cs | ghcode:00163:9bef44ebca96 | mit | codeparrot/github-code | 9bef44ebca96755c5df2ef2dd3fe364e67b93e4005231a1f25efc1870986442f | 0.95 | testing_debugging_repair_refactoring | 1,536 | false | 2026-07-17 |
using ClosedXML.Excel;
using ClosedXML.Excel.CalcEngine.Exceptions;
using NUnit.Framework;
using System;
using System.Linq;
namespace ClosedXML.Tests.Excel
{
[TestFixture]
public class FormulaTests
{
[Test]
public void CopyFormula()
{
var wb = new XLWorkbook();
... | ClosedXML/ClosedXML | ClosedXML.Tests/Excel/Misc/FormulaTests.cs | https://github.com/ClosedXML/ClosedXML/blob/HEAD/ClosedXML.Tests/Excel/Misc/FormulaTests.cs | ghcode:00163:7c09903ff478 | mit | codeparrot/github-code | 7c09903ff478bbea2cfa8bb7e73630aeaa279cefd826f477b463b9b9669e4af4 | 0.75 | testing_debugging_repair_refactoring | 2,033 | 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 applicabl... | evildour/google-cloud-dotnet | apis/Google.Cloud.Diagnostics.AspNetCore/Google.Cloud.Diagnostics.AspNetCore.Snippets/ErrorReportingSnippets.cs | https://github.com/evildour/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.Diagnostics.AspNetCore/Google.Cloud.Diagnostics.AspNetCore.Snippets/ErrorReportingSnippets.cs | ghcode:00163:97ad06f1932e | apache-2.0 | codeparrot/github-code | 97ad06f1932ed50fef9b10bd341d2c82593b5e2d9ea6bc8bb7aba4f0dd4b374c | 0.85 | testing_debugging_repair_refactoring | 1,239 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// <copyright file="SqlServerEventsByTagSpec.cs" company="Akka.NET Project">
// Copyright (C) 2013 - 2019 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
// ---------------------------------------------------------... | Aaronontheweb/Akka.Persistence.SqlServer | src/Akka.Persistence.SqlServer.Tests/Query/SqlServerCurrentEventsByTagSpec.cs | https://github.com/Aaronontheweb/Akka.Persistence.SqlServer/blob/HEAD/src/Akka.Persistence.SqlServer.Tests/Query/SqlServerCurrentEventsByTagSpec.cs | ghcode:00163:9112f354d12d | apache-2.0 | codeparrot/github-code | 9112f354d12d285483d6ba34a1644bfba7cc01e79c8f7220c956409d08c0841a | 0.85 | testing_debugging_repair_refactoring | 435 | false | 2026-07-17 |
namespace ZXing.ImageSharp.Test
{
using System;
using NUnit.Framework;
using SelectedPixelFormat = SixLabors.ImageSharp.PixelFormats.Argb32;
[TestFixture]
public class RenderingTests
{
[Test]
[Explicit("only for manually measuring the rendering speed")]
public void M... | micjahn/ZXing.Net | Source/Bindings/Tests/ZXing.ImageSharp/RenderingTests.cs | https://github.com/micjahn/ZXing.Net/blob/HEAD/Source/Bindings/Tests/ZXing.ImageSharp/RenderingTests.cs | ghcode:00163:f72f0319293e | apache-2.0 | codeparrot/github-code | f72f0319293e099b880ec5030d850dee5382b4565b172138d21119afd016d34b | 0.85 | testing_debugging_repair_refactoring | 553 | 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"); yo... | Mpdreamz/lucene.net | test/core/Search/TestTermVectors.cs | https://github.com/Mpdreamz/lucene.net/blob/HEAD/test/core/Search/TestTermVectors.cs | ghcode:00163:2cddd766cb9f | apache-2.0 | codeparrot/github-code | 2cddd766cb9f6f2279d873932c3832c2db8ec82821ad5829e03b36715c823bf7 | 0.85 | testing_debugging_repair_refactoring | 4,669 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="SourceSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
//---... | simonlaroche/akka.net | src/core/Akka.Streams.Tests/Dsl/SourceSpec.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/core/Akka.Streams.Tests/Dsl/SourceSpec.cs | ghcode:00163:9b2aed5636c3 | apache-2.0 | codeparrot/github-code | 9b2aed5636c3869d8f373093f3012940c8d4dcb382ca826358f1adf632ca3eb0 | 0.85 | testing_debugging_repair_refactoring | 4,816 | 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.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.MakeMethodAsynchronous;
using Microsoft.CodeAnalysis.Diagnostics;
using Roslyn.Tes... | balajikris/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/MakeMethodAsynchronous/MakeMethodAsynchronousTests.cs | https://github.com/balajikris/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/MakeMethodAsynchronous/MakeMethodAsynchronousTests.cs | ghcode:00163:108e8d5d8a1c | apache-2.0 | codeparrot/github-code | 108e8d5d8a1c3e8f949ad8ec1f0ad6945602600351d88b0e4b511b6f8c93372c | 0.85 | testing_debugging_repair_refactoring | 2,583 | false | 2026-07-17 |
using System;
using System.IO;
using NUnit.Framework;
using Org.BouncyCastle.Asn1.Pkcs;
using Org.BouncyCastle.Asn1.Utilities;
using Org.BouncyCastle.Utilities;
using Org.BouncyCastle.Utilities.Encoders;
using Org.BouncyCastle.Utilities.Test;
namespace Org.BouncyCastle.Asn1.Tests
{
/**
* Test ... | GaloisInc/hacrypto | src/C#/BouncyCastle/BouncyCastle-1.7/crypto/test/src/asn1/test/EncryptedPrivateKeyInfoTest.cs | https://github.com/GaloisInc/hacrypto/blob/HEAD/src/C#/BouncyCastle/BouncyCastle-1.7/crypto/test/src/asn1/test/EncryptedPrivateKeyInfoTest.cs | ghcode:00163:5559d37bacf6 | bsd-3-clause | codeparrot/github-code | 5559d37bacf6962bbf20ce1721285761ee9a3688d5da90e4bb26c7aa65db26a8 | 0.85 | testing_debugging_repair_refactoring | 2,149 | false | 2026-07-17 |
using System;
using PactNet.Mocks.MockHttpService.Mappers;
using PactNet.Mocks.MockHttpService.Models;
using Xunit;
namespace PactNet.Tests.Mocks.MockHttpService.Mappers
{
public class HttpVerbMapperTests
{
private IHttpVerbMapper GetSubject()
{
return new HttpVerbMapper... | abhayachauhan/pact-net | PactNet.Tests/Mocks/MockHttpService/Mappers/HttpVerbMapperTests.cs | https://github.com/abhayachauhan/pact-net/blob/HEAD/PactNet.Tests/Mocks/MockHttpService/Mappers/HttpVerbMapperTests.cs | ghcode:00163:63a40bfc421e | mit | codeparrot/github-code | 63a40bfc421ea6b79acbd63de1c9a5b3010aaa8a8a6b40536c6b5f940201efad | 0.75 | testing_debugging_repair_refactoring | 397 | false | 2026-07-17 |
using System;
namespace ToolContext_None
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
} | mconnew/wcf | src/dotnet-svcutil/lib/tests/Baselines/ToolContextGlobal/ToolContext_None/ToolContext_None.cs | https://github.com/mconnew/wcf/blob/HEAD/src/dotnet-svcutil/lib/tests/Baselines/ToolContextGlobal/ToolContext_None/ToolContext_None.cs | ghcode:00163:e78b75b29b23 | mit | codeparrot/github-code | e78b75b29b23e2e8b54e7e4d841a820ab2ad670cec0547cd1c7babe86b5d8ffe | 0.6 | testing_debugging_repair_refactoring | 37 | 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.Collections.Concurrent;
using System.Diagnostics;
using EnvDTE;
using Microsoft.Common.Core;
using Microsoft.Common.Core.Services;
using Microsoft.R.Comm... | AlexanderSher/RTVS | src/Package/Impl/Shell/Services/VsOutputService.cs | https://github.com/AlexanderSher/RTVS/blob/HEAD/src/Package/Impl/Shell/Services/VsOutputService.cs | ghcode:00163:8dc20a685e0b | mit | codeparrot/github-code | 8dc20a685e0b30f0aaffc83b2a285c646fe9daffe856be899aa9f7e2eb735e5b | 0.85 | testing_debugging_repair_refactoring | 556 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Moq;
using NUnit.Framework;
using PlayMe.Common.Model;
using PlayMe.Server.Helpers.Interfaces;
using PlayMe.Server.Helpers.QueueHelperRules;
using PlayMe.Server.Queue.Interfaces;
namespace PlayMe.UnitTest.PlayMe.Server.Helpers.QueueHelperRules
{
[TestFixture]
... | TradeMe/PlayMe | PlayMe.UnitTest/PlayMe.Server/Helpers/QueueHelperRules/LimitNumberOfTracksQueuedByUser_Tests.cs | https://github.com/TradeMe/PlayMe/blob/HEAD/PlayMe.UnitTest/PlayMe.Server/Helpers/QueueHelperRules/LimitNumberOfTracksQueuedByUser_Tests.cs | ghcode:00163:db4c12f89f0e | mit | codeparrot/github-code | db4c12f89f0e3f4d17c42ffbe17bb208394a8670c5dd785d1634467b79fbf7f2 | 0.85 | testing_debugging_repair_refactoring | 937 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="TraceTelemetryComparer.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.A... | pharring/ApplicationInsights-dotnet | LOGGING/test/EtwCollector.Tests/TraceTelemetryComparer.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/LOGGING/test/EtwCollector.Tests/TraceTelemetryComparer.cs | ghcode:00163:5a882550554f | mit | codeparrot/github-code | 5a882550554f386067ee6a94b160ddd83a28dd6c65370689a6d91e5c954f6ba1 | 0.95 | testing_debugging_repair_refactoring | 329 | 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.Text.Tests
{
public class UnicodeEncodingGetStr... | jcme/corefx | src/System.Text.Encoding/tests/UnicodeEncoding/UnicodeEncodingGetString.cs | https://github.com/jcme/corefx/blob/HEAD/src/System.Text.Encoding/tests/UnicodeEncoding/UnicodeEncodingGetString.cs | ghcode:00163:1c8c62583197 | mit | codeparrot/github-code | 1c8c62583197e7ab36a917449c2793ac79b129de132a49b296161534ab7a3235 | 0.95 | testing_debugging_repair_refactoring | 246 | false | 2026-07-17 |
using System;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace HarshPoint.Tests
{
internal class FactNeedsSharePointTestCase : XunitTestCase
{
[Obsolete("Deserialization only")]
public FactNeedsSharePointTestCase()
{
}
public FactNeedsSharePointTestCase(
... | the-ress/HarshPoint | test/HarshPoint.Tests/FactNeedsSharePointTestCase.cs | https://github.com/the-ress/HarshPoint/blob/HEAD/test/HarshPoint.Tests/FactNeedsSharePointTestCase.cs | ghcode:00163:38f397826ff3 | bsd-2-clause | codeparrot/github-code | 38f397826ff3a1c9e9e7a473b6dd56646794ca6ad427f1789d74e890d6cd68c5 | 0.68 | testing_debugging_repair_refactoring | 190 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using osu.Framework.Extensions.EnumExtensions;
using osu.Game.Audio;
using o... | smoogipooo/osu | osu.Game.Rulesets.Mania/Beatmaps/Patterns/Legacy/DistanceObjectPatternGenerator.cs | https://github.com/smoogipooo/osu/blob/HEAD/osu.Game.Rulesets.Mania/Beatmaps/Patterns/Legacy/DistanceObjectPatternGenerator.cs | ghcode:00163:6707b8d79b90 | mit | codeparrot/github-code | 6707b8d79b909d76e7386bc6494fc74c95d190c78317e6e857b3a2a71504585b | 0.85 | testing_debugging_repair_refactoring | 4,277 | false | 2026-07-17 |
using Cake.Common.Build;
using Xunit;
namespace Cake.Common.Tests.Unit.Build
{
public sealed class BuildSystemAliasesTests
{
public sealed class TheBuildSystemMethod
{
[Fact]
public void Should_Throw_If_Context_Is_Null()
{
// Given, When
... | DavidDeSloovere/cake | src/Cake.Common.Tests/Unit/Build/BuildSystemAliasesTests.cs | https://github.com/DavidDeSloovere/cake/blob/HEAD/src/Cake.Common.Tests/Unit/Build/BuildSystemAliasesTests.cs | ghcode:00163:2d8970591c03 | mit | codeparrot/github-code | 2d8970591c031c51a6dfe6894f9b49fc03ec8b1148ca58a25e9db91bf43273bf | 0.85 | testing_debugging_repair_refactoring | 235 | 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 System.Security;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Linq;
using Microsoft.CodeAnaly... | MatthieuMEZIL/roslyn | src/EditorFeatures/CSharpTest/QuickInfo/SemanticQuickInfoSourceTests.cs | https://github.com/MatthieuMEZIL/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/QuickInfo/SemanticQuickInfoSourceTests.cs | ghcode:00164:4f6dbad81f95 | apache-2.0 | codeparrot/github-code | 4f6dbad81f9551a3096340f081f5ed46bb3cb0694700a5ef1071653f6304123e | 0.72 | testing_debugging_repair_refactoring | 32,177 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Text;
using System.Reflection;
using Duality;
using Duality.Cloning;
using Duality.Drawing;
using Duality.Resources;
using Duality.Components;
using Duality.Components.Renderers;
using NUnit.Framework;
namespace Duality... | RockyTV/duality | Test/Core/Cloning/HelperObjects/SelfReferenceObject.cs | https://github.com/RockyTV/duality/blob/HEAD/Test/Core/Cloning/HelperObjects/SelfReferenceObject.cs | ghcode:00164:931c317cccda | mit | codeparrot/github-code | 931c317cccdae631ed9d25344c905e4289dea137959e1bfba386354b4a8e0db0 | 0.6 | testing_debugging_repair_refactoring | 133 | false | 2026-07-17 |
#region
using System;
using FluentAssertions.Equivalency;
#endregion
namespace FluentAssertions
{
/// <summary>
/// Holds any global options that control the behavior of FluentAssertions.
/// </summary>
public static class AssertionOptions
{
private static EquivalencyAssertionOptions def... | levenleven/fluentassertions | Src/Core/AssertionOptions.cs | https://github.com/levenleven/fluentassertions/blob/HEAD/Src/Core/AssertionOptions.cs | ghcode:00164:efe84869eced | apache-2.0 | codeparrot/github-code | efe84869ecedbbb50327e968208e0d8dbb6bbd116058dda684ea6a6b1459473b | 0.7 | testing_debugging_repair_refactoring | 400 | 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 Xunit;
namespace System.Collections.Tests
{
p... | ellismg/corefx | src/System.Collections.NonGeneric/tests/Hashtable/Hashtable.Keys.Tests.cs | https://github.com/ellismg/corefx/blob/HEAD/src/System.Collections.NonGeneric/tests/Hashtable/Hashtable.Keys.Tests.cs | ghcode:00164:03153b48eafe | mit | codeparrot/github-code | 03153b48eafe5cd4e41c5e2d9e2ebb8c0f91491310d8e6356e12394ef4aed71c | 0.95 | testing_debugging_repair_refactoring | 507 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using Microsoft.Rest.ClientRuntime.Tests.Fakes;
using Microsoft.Rest.TransientFaultHand... | yaqiyang/autorest | src/client/Microsoft.Rest.ClientRuntime.Tests/ServiceClientTests.cs | https://github.com/yaqiyang/autorest/blob/HEAD/src/client/Microsoft.Rest.ClientRuntime.Tests/ServiceClientTests.cs | ghcode:00164:3a84abce6e60 | mit | codeparrot/github-code | 3a84abce6e608c83df3a6b04936744818cde2e496670b7f497d049bbe8774d15 | 0.75 | testing_debugging_repair_refactoring | 1,302 | 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;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Xunit... | BrennanConroy/corefx | src/System.ComponentModel.TypeConverter/tests/MemberDescriptorTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.ComponentModel.TypeConverter/tests/MemberDescriptorTests.cs | ghcode:00164:eca09b224657 | mit | codeparrot/github-code | eca09b2246578702806531e8de1792cfd788c38236bd142c50a2e422d3097814 | 0.82 | testing_debugging_repair_refactoring | 17,249 | 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.
namespace System.Xml.Schema
{
using System.Collections;
using System.ComponentModel;
using System.Diagno... | shmao/corefx | src/System.Private.Xml/src/System/Xml/Schema/Chameleonkey.cs | https://github.com/shmao/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Schema/Chameleonkey.cs | ghcode:00164:20d37ead9165 | mit | codeparrot/github-code | 20d37ead91651cf216b2c6e1f99367f94290121323ea3b385e8b3cbb3ecdbafa | 0.95 | testing_debugging_repair_refactoring | 641 | 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.Threading.Tasks;
using Xunit;
namespace System.Threading.Tests
{
public static class BarrierCancellationTests
{
[Fact]
public stat... | lydonchandra/corefx | src/System.Threading/tests/BarrierCancellationTests.cs | https://github.com/lydonchandra/corefx/blob/HEAD/src/System.Threading/tests/BarrierCancellationTests.cs | ghcode:00164:43f0967955de | mit | codeparrot/github-code | 43f0967955de18e91549a6f54d97f865698efb1a0d73eebd4c9306b14c19660e | 0.95 | testing_debugging_repair_refactoring | 564 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2007 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, inclu... | msgpack/msgpack-cli | test/NUnitLite/NUnitFramework/framework/Constraints/InstanceOfTypeConstraint.cs | https://github.com/msgpack/msgpack-cli/blob/HEAD/test/NUnitLite/NUnitFramework/framework/Constraints/InstanceOfTypeConstraint.cs | ghcode:00164:2d88e3736b30 | apache-2.0 | codeparrot/github-code | 2d88e3736b30905aab4d13e0152a26ef7b56c3e69cb410ec8bfc03617014f8f7 | 0.85 | testing_debugging_repair_refactoring | 527 | false | 2026-07-17 |
using AllReady.Features.Tasks;
using AllReady.Models;
using Xunit;
namespace AllReady.UnitTest.Tasks
{
using System.Threading.Tasks;
public class TaskByTaskIdQueryHandlerShould : InMemoryContextTest
{
private const int VolunteerTaskId = 1;
protected override void LoadTestData()
{
... | VishalMadhvani/allReady | AllReadyApp/Web-App/AllReady.UnitTest/Tasks/TaskByTaskIdQueryHandlerShould.cs | https://github.com/VishalMadhvani/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Tasks/TaskByTaskIdQueryHandlerShould.cs | ghcode:00164:2d209ab8d66a | mit | codeparrot/github-code | 2d209ab8d66a8f13fba5538c330250950f4ed283915167a7783b31b92a59984f | 0.75 | testing_debugging_repair_refactoring | 198 | false | 2026-07-17 |
using System;
using System.Data;
using System.Linq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Cache;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.Repositories;
using Umbraco.Core.Persistence.SqlSyntax;
using Umbraco.Core.Persi... | abryukhov/Umbraco-CMS | src/Umbraco.Tests/Persistence/Repositories/LockedRepositoryTests.cs | https://github.com/abryukhov/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Persistence/Repositories/LockedRepositoryTests.cs | ghcode:00164:be54bb6f0733 | mit | codeparrot/github-code | be54bb6f0733a1d26065661cc201999146398797a58bf03d8041e9df7eda4f9e | 0.85 | testing_debugging_repair_refactoring | 1,108 | false | 2026-07-17 |
#region license
// Copyright (c) 2007-2010 Mauricio Scheffer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requir... | ManpowerNordic/SolrNet | SolrNet.Tests/RandomSortTests.cs | https://github.com/ManpowerNordic/SolrNet/blob/HEAD/SolrNet.Tests/RandomSortTests.cs | ghcode:00164:295c97f6aebe | apache-2.0 | codeparrot/github-code | 295c97f6aebe5b7050892ac5ffe3a510933852a0996f72fbe97fcf2e3a040d96 | 0.85 | testing_debugging_repair_refactoring | 439 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | AzureAutomationTeam/azure-powershell | src/StackAdmin/Resources/Commands.Resources.Test/ResourceGroupDeployments/StopAzureResourceGroupDeploymentCommandTests.cs | https://github.com/AzureAutomationTeam/azure-powershell/blob/HEAD/src/StackAdmin/Resources/Commands.Resources.Test/ResourceGroupDeployments/StopAzureResourceGroupDeploymentCommandTests.cs | ghcode:00164:d304f8de90af | apache-2.0 | codeparrot/github-code | d304f8de90afc5f26e2bb2c11c489cc6cf9ac1151fb76042affad27f2fb22526 | 0.85 | testing_debugging_repair_refactoring | 467 | false | 2026-07-17 |
using System;
using FSharp.Data;
using Microsoft.FSharp.Collections;
using NUnit.Framework;
namespace FSharp.Data.Tests.CSharp
{
[TestFixture]
public class HtmlExtensionsTests
{
[Test]
public void HtmlAttribute_Name_with_valid_attribute()
{
var attr = HtmlAttribute.New(... | taylorwood/FSharp.Data | tests/FSharp.Data.Tests.CSharp/HtmlExtensionsTests.cs | https://github.com/taylorwood/FSharp.Data/blob/HEAD/tests/FSharp.Data.Tests.CSharp/HtmlExtensionsTests.cs | ghcode:00164:5a79bfadc16a | apache-2.0 | codeparrot/github-code | 5a79bfadc16aeb7f71a64736f69f8996a6fb367d6a374ee6931f604d2471225e | 0.75 | testing_debugging_repair_refactoring | 343 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="UsingTaskParameterGroup_Tests.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <summary>Tests for the UsingTaskParameterGroupElement_Tests class.</summary>
//------... | MetSystem/msbuild | src/XMakeBuildEngine/UnitTestsPublicOM/Construction/UsingTaskParameterGroup_Tests.cs | https://github.com/MetSystem/msbuild/blob/HEAD/src/XMakeBuildEngine/UnitTestsPublicOM/Construction/UsingTaskParameterGroup_Tests.cs | ghcode:00164:76f78db2d03c | mit | codeparrot/github-code | 76f78db2d03c0301630a2070f23b6f330f842173ed62c656159ccd0509c1f213 | 0.85 | testing_debugging_repair_refactoring | 1,009 | false | 2026-07-17 |
using System.Linq;
using Elasticsearch.Net;
using NUnit.Framework;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Integration.Search
{
[TestFixture]
public class QueryDSLTests : IntegrationTests
{
[Test]
public void MatchAll()
{
var results = this.Client.Search<ElasticsearchProject>(s => s
.Fr... | joehmchan/elasticsearch-net | src/Tests/Nest.Tests.Integration/Search/QueryDSLTests.cs | https://github.com/joehmchan/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Integration/Search/QueryDSLTests.cs | ghcode:00164:4989487888b0 | apache-2.0 | codeparrot/github-code | 4989487888b0e04ef191a6a0c16a8cc630502f898436c973939b4d0a8459087f | 0.85 | testing_debugging_repair_refactoring | 1,563 | 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.Co... | shyamnamboodiripad/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/VarianceTests.cs | https://github.com/shyamnamboodiripad/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/VarianceTests.cs | ghcode:00164:6bf3f8ff9681 | apache-2.0 | codeparrot/github-code | 6bf3f8ff96815c05d3f64b2684a13e2e8ec55f5f790b46a4914a35c0c61893cb | 0.95 | testing_debugging_repair_refactoring | 8,636 | false | 2026-07-17 |
//
// XmlDsigBase64TransformTest.cs - Test Cases for XmlDsigBase64Transform
//
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
// (C) 2002 Motus Technologies Inc. (http://www.motus.com)
// (C) 2004 Novell (http://www.novell.com)
//
// Licensed to the .NET Foundation under one or more agreements.
// See the LI... | nbarbettini/corefx | src/System.Security.Cryptography.Xml/tests/XmlDsigBase64TransformTest.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Security.Cryptography.Xml/tests/XmlDsigBase64TransformTest.cs | ghcode:00164:b54bd80d15c5 | mit | codeparrot/github-code | b54bd80d15c5e04f4361918854547e7da0699d90003136ac487ac3365acdeab6 | 0.95 | testing_debugging_repair_refactoring | 1,377 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.