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. See License.txt in the project root for license information.
//
using AutoRest.Core;
using AutoRest.Core.Utilities;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
u... | matthchr/autorest | src/generator/AutoRest.CSharp.Unit.Tests/ServerCodeSimpleGet.cs | https://github.com/matthchr/autorest/blob/HEAD/src/generator/AutoRest.CSharp.Unit.Tests/ServerCodeSimpleGet.cs | ghcode:00009:1954f0b1a15c | mit | codeparrot/github-code | 1954f0b1a15ca4288b0af4538da199fd55e2014ca86b10174c0070f9fe14b241 | 0.7 | testing_debugging_repair_refactoring | 576 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace HermaFx.DataAnnotations
{
[TestFixture]
public class GreaterThanAttributeTest
{
private class DateModel : ModelBase<GreaterThanAttribute>
{
public DateTime? Value1 { get; set; }
[GreaterThan("Value1")]
pub... | evicertia/HermaFx | HermaFx.DataAnnotations.Tests/GreaterThanAttributeTest.cs | https://github.com/evicertia/HermaFx/blob/HEAD/HermaFx.DataAnnotations.Tests/GreaterThanAttributeTest.cs | ghcode:00009:5e1f462ef5b7 | mit | codeparrot/github-code | 5e1f462ef5b746e9ebc76df3a71655fd538ffd36e797b0415d0881c82199ce51 | 0.6 | testing_debugging_repair_refactoring | 603 | false | 2026-07-17 |
namespace JsonBuilder.Tests
{
using NUnit.Framework;
public class WhenAnObjectWithACollectionOfTwoValuesIsCreated : JsonSpecificationBase
{
private string elementName = "MyObject";
private string firstValue = "firstValue";
private string secondValue = "secondValue";
priv... | HerrLoesch/JsonBuilder | JsonBuilder.Tests/JsonBuilder.Tests/WhenAnObjectWithACollectionOfTwoValuesIsCreated.cs | https://github.com/HerrLoesch/JsonBuilder/blob/HEAD/JsonBuilder.Tests/JsonBuilder.Tests/WhenAnObjectWithACollectionOfTwoValuesIsCreated.cs | ghcode:00009:0dae32aee53f | mit | codeparrot/github-code | 0dae32aee53f5eb0cde53e7418fbb98fb737a59ffb1c8c74279360cb2bd4392e | 0.6 | testing_debugging_repair_refactoring | 245 | false | 2026-07-17 |
using FakeXrmEasy;
using Microsoft.Xrm.Sdk;
using NUnit.Framework;
using System;
using System.Management.Automation.Runspaces;
namespace Xrm.Framework.CI.PowerShell.Cmdlets.Test
{
public static class TestData
{
public static XrmFakedContext XrmFakedContext = new XrmFakedContext();
public stati... | WaelHamze/xrm-ci-framework | MSDYNV9/Xrm.Framework.CI/Xrm.Framework.CI.PowerShell.Cmdlets.Test/TestSetup.cs | https://github.com/WaelHamze/xrm-ci-framework/blob/HEAD/MSDYNV9/Xrm.Framework.CI/Xrm.Framework.CI.PowerShell.Cmdlets.Test/TestSetup.cs | ghcode:00009:fdcace083dc5 | mit | codeparrot/github-code | fdcace083dc576c0b977db4b5cec7e71ea71d7c5c4549aa2537d067953390225 | 0.75 | testing_debugging_repair_refactoring | 269 | false | 2026-07-17 |
using System;
using System.IO;
//using NUnit.Framework;
using LE;
namespace LETest {
// [TestFixture]
public class KeyReadTest {
// [Test]
public void testRead() {
string srcGameDir = Config.Root["Game:SourceGamePath"];
if (srcGameDir == null) {
// ... | Dergash/le | tests/src/KeyReadTest.cs | https://github.com/Dergash/le/blob/HEAD/tests/src/KeyReadTest.cs | ghcode:00009:1b116e823f4a | mit | codeparrot/github-code | 1b116e823f4a54751242050e9c8624f411f99f9fe8a634ae616dd66e6d970b61 | 0.8 | testing_debugging_repair_refactoring | 155 | false | 2026-07-17 |
/*-
* Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
*
* See the file LICENSE for license information.
*
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using System.Xml;
using NUnit.Framework;
us... | genehallman/node-berkeleydb | deps/db-18.1.40/test/csharp/SecondaryCursorTest.cs | https://github.com/genehallman/node-berkeleydb/blob/HEAD/deps/db-18.1.40/test/csharp/SecondaryCursorTest.cs | ghcode:00009:bd3096867709 | mit | codeparrot/github-code | bd30968677099eb64813d767129b51c3916592b891c3c17e7545ef3fee005518 | 0.95 | testing_debugging_repair_refactoring | 11,739 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Telerik.Less.UnitTests
{
[TestClass]
public class TestCompiler
{
[TestMethod]
public void TestCssOutPut()
{
string lessFile = Environment.CurrentDirectory + @"\test.less";
string output = "body{background-color:Green}\n";
L... | Sitefinity/Less | Telerik.Less.Test/TestCompiler.cs | https://github.com/Sitefinity/Less/blob/HEAD/Telerik.Less.Test/TestCompiler.cs | ghcode:00009:44811af657ac | mit | codeparrot/github-code | 44811af657acf6f47a229d75fbf089ebadbe236965ca71f3f2571230fd41c45a | 0.75 | testing_debugging_repair_refactoring | 304 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using BizTalkComponents.PipelineComponents.ManageMessageNamespace.Tests.Constants;
using BizTalkComponents.PipelineComponents.ManageMessageNamespace.Tests.Extensions;
using BizTalkComponents.PipelineComponents.ManageM... | BizTalkComponents/ManageMessageNamespace | Test/UnitTests/ModifyNamespaceTests.cs | https://github.com/BizTalkComponents/ManageMessageNamespace/blob/HEAD/Test/UnitTests/ModifyNamespaceTests.cs | ghcode:00009:64954addbc6b | mit | codeparrot/github-code | 64954addbc6b39bc6ec0c85d3b615ec60339a1dfd695c8c08bde951387069458 | 0.75 | testing_debugging_repair_refactoring | 1,450 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Transactions;
using DevBridge.Templates.WebProject.Data;
using DevBridge.Templates.WebProject.Data.DataContext;
using DevBridge.Templates.WebProject.DataContracts;
using DevBridge.Templates.WebProject.DataEntities.Entities;
using DevBridge.Templates.WebProject.DataEntitie... | devbridge/StandardWebProjectTemplate | DevBridge.Templates.WebProject.Tests/DataContracts/CustomerRepositoryTest.cs | https://github.com/devbridge/StandardWebProjectTemplate/blob/HEAD/DevBridge.Templates.WebProject.Tests/DataContracts/CustomerRepositoryTest.cs | ghcode:00009:fd5827b26b5e | mit | codeparrot/github-code | fd5827b26b5ed40a79f314c9c3b93b82951653657a35a39a5539c4c81e7babec | 0.6 | testing_debugging_repair_refactoring | 365 | false | 2026-07-17 |
using BehaviourTree.Decorators;
using BehaviourTree.Tests.Utils;
using NUnit.Framework;
namespace BehaviourTree.Tests
{
[TestFixture]
internal sealed class CooldownTests
{
[Test]
public void WhenNotOnCooldownAndChildReturnSuccess_ReturnSuccessAndGoOnCooldown()
{
var chi... | Eraclys/BehaviourTree | src/BehaviourTree.Tests/CooldownTests.cs | https://github.com/Eraclys/BehaviourTree/blob/HEAD/src/BehaviourTree.Tests/CooldownTests.cs | ghcode:00009:1b9b0945865c | mit | codeparrot/github-code | 1b9b0945865c79e59247c2afb02756205698d264373fa7f45b1d5dd1589ac2a8 | 0.75 | testing_debugging_repair_refactoring | 633 | false | 2026-07-17 |
/**
* Copyright 2016 d-fens GmbH
*
* 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... | dfch/biz.dfch.CS.Testing | src/biz.dfch.CS.Testing/PowerShell/PsCmdletAssert2.cs | https://github.com/dfch/biz.dfch.CS.Testing/blob/HEAD/src/biz.dfch.CS.Testing/PowerShell/PsCmdletAssert2.cs | ghcode:00009:4433eacbcb95 | apache-2.0 | codeparrot/github-code | 4433eacbcb950e956dfae3e4ba7f907c33ba0240e6f1bfc2073df492d413d84f | 0.7 | testing_debugging_repair_refactoring | 4,848 | false | 2026-07-17 |
public static class EE
{
public static void CallInvoke(this System.Action a)
{
}
}
public class B
{
private static System.Action action;
private static System.Action<String> action2;
public static void test(string[] args)
{
test(action.CallInvoke);
}
private static void test(System.Action a)
{
}
} | consulo/consulo-csharp | csharp-impl/src/test/resources/resolve/methodReference/Issue134.cs | https://github.com/consulo/consulo-csharp/blob/HEAD/csharp-impl/src/test/resources/resolve/methodReference/Issue134.cs | ghcode:00009:4147d22ad873 | apache-2.0 | codeparrot/github-code | 4147d22ad873fe4e0e1f34847ce0856bb0b5457a28b22b19ab5f716edbba3a79 | 0.85 | testing_debugging_repair_refactoring | 72 | false | 2026-07-17 |
//
// Copyright 2013 Hans Wolff
//
// 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... | hanswolff/redfoxmq | RedFoxMQ.Tests/MessageFrameWriterFactoryTests.cs | https://github.com/hanswolff/redfoxmq/blob/HEAD/RedFoxMQ.Tests/MessageFrameWriterFactoryTests.cs | ghcode:00009:280c0fb6d98b | apache-2.0 | codeparrot/github-code | 280c0fb6d98bb230185beebe5f45d9721a3a92376c8c8e2fdeccf41b454ebcee | 0.85 | testing_debugging_repair_refactoring | 457 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="RegMacros.cs" company="Oswald Maskens">
// Copyright 2013-2014 Oswald Maskens
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use thi... | OzieGamma/NiceNios2 | Nios2Compiler.Test/Macros/RegMacros.cs | https://github.com/OzieGamma/NiceNios2/blob/HEAD/Nios2Compiler.Test/Macros/RegMacros.cs | ghcode:00009:490a312a6197 | apache-2.0 | codeparrot/github-code | 490a312a61972dbac0cc5539a0fe979dfc1e611634f125ffc27a3705319c6cee | 0.7 | testing_debugging_repair_refactoring | 308 | 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 Microsoft.CodeAnalysis.Symbols;
namespace MetaDslx.CodeAnalysis.Binding
{
/// <summa... | balazssimon/meta-cs | src/Main/MetaDslx.CodeAnalysis.Meta/CodeAnalysis/Binding/AnonymousTypes/AnonymousTypeManager.cs | https://github.com/balazssimon/meta-cs/blob/HEAD/src/Main/MetaDslx.CodeAnalysis.Meta/CodeAnalysis/Binding/AnonymousTypes/AnonymousTypeManager.cs | ghcode:00009:ac2f610dc349 | apache-2.0 | codeparrot/github-code | ac2f610dc349281181b1a999bde7f40628cceab5f9b6e3bc4744095946dcfdfc | 0.7 | testing_debugging_repair_refactoring | 171 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
using Serilog.Core;
using Serilog.Events;
using Serilog.PerformanceTests.Support;
namespace Serilog.PerformanceTests
{
/// <summary>
/// Tests the overhead of determining the active logging level.
/// </summary>
public class LevelControlBenchmark
{
ILogger ... | serilog/serilog | test/Serilog.PerformanceTests/LevelControlBenchmark.cs | https://github.com/serilog/serilog/blob/HEAD/test/Serilog.PerformanceTests/LevelControlBenchmark.cs | ghcode:00009:7edefc07b3ef | apache-2.0 | codeparrot/github-code | 7edefc07b3ef4f0711d342d5d5864d364de0194f40b0fea9f266c1cbf1fe5ee4 | 0.7 | testing_debugging_repair_refactoring | 351 | false | 2026-07-17 |
//
// Copyright (C) 2016 Andrew Lord
//
// 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 ... | andrewlord1990/unity-powerprefs | src/PowerPrefs/Assets/AndrewLord/PowerPrefs.UnitTests/Editor/Core/Accessors/StringPrefAccessorTest.cs | https://github.com/andrewlord1990/unity-powerprefs/blob/HEAD/src/PowerPrefs/Assets/AndrewLord/PowerPrefs.UnitTests/Editor/Core/Accessors/StringPrefAccessorTest.cs | ghcode:00009:75d57e9591d5 | apache-2.0 | codeparrot/github-code | 75d57e9591d514c2cf408da53f1d800a32d7660296cb4e0eea804e94836c2bb0 | 0.7 | testing_debugging_repair_refactoring | 479 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Screener;
using Screener.Filters;
namespace UnitTests
{
[TestClass]
public class DonchianFilterTest
{
[TestMethod]
public void DonchianUpBreakout()
{
var companies = GenerateCompanies();
... | cfannybf/Stock-Screener-Service | UnitTests/DonchianFilterTest.cs | https://github.com/cfannybf/Stock-Screener-Service/blob/HEAD/UnitTests/DonchianFilterTest.cs | ghcode:00009:af2d82a8df2c | apache-2.0 | codeparrot/github-code | af2d82a8df2c9a9ce77e086bd9fca7461dd20f51cf1fb633ca45adc911e09fb8 | 0.6 | testing_debugging_repair_refactoring | 828 | false | 2026-07-17 |
namespace Zammad.Client.IntegrationTests
{
public static class TestHelper
{
public static ZammadAccount CreateTestAccount()
{
return ZammadAccount.CreateBasicAccount(TestConstants.AccountEndpoint, TestConstants.AccountUser, TestConstants.AccountPassword);
}
}
}
| Asesjix/Zammad-Client | test/Zammad.Client.IntegrationTests/TestHelper.cs | https://github.com/Asesjix/Zammad-Client/blob/HEAD/test/Zammad.Client.IntegrationTests/TestHelper.cs | ghcode:00009:462c8dd35616 | apache-2.0 | codeparrot/github-code | 462c8dd356168e47147d8ae2ffd40765936f9a3378853b39abc62385b07dfa6c | 0.75 | testing_debugging_repair_refactoring | 59 | false | 2026-07-17 |
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | googlestadia/vsi-lldb | YetiVSI.Tests/DebugEngine/DebugEngineHandlerTests.cs | https://github.com/googlestadia/vsi-lldb/blob/HEAD/YetiVSI.Tests/DebugEngine/DebugEngineHandlerTests.cs | ghcode:00009:007bdf894190 | apache-2.0 | codeparrot/github-code | 007bdf894190190a0c205f782bce41b6ddbeda5d38b11ed703f10ae3cae9e5f3 | 0.85 | testing_debugging_repair_refactoring | 2,057 | false | 2026-07-17 |
using System;
using System.Linq;
using Bytes2you.Validation.ValidationPredicates.StringPredicates;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bytes2you.Validation.UnitTests.ValidationPredicates.StringPredicates.StringNotEmptyValidationPredicateTests
{
[TestClass]
public class ValidationType... | veskokolev/Bytes2you.Validation | src/Bytes2you.Validation.UnitTests/ValidationPredicates/StringPredicates/StringNotEmptyValidationPredicateTests/ValidationType_Should.cs | https://github.com/veskokolev/Bytes2you.Validation/blob/HEAD/src/Bytes2you.Validation.UnitTests/ValidationPredicates/StringPredicates/StringNotEmptyValidationPredicateTests/ValidationType_Should.cs | ghcode:00009:5a40b29796c9 | apache-2.0 | codeparrot/github-code | 5a40b29796c9e1deef1daa60e465e9d6b74fb7c7d032e6fbcb8943416ebef4d0 | 0.6 | testing_debugging_repair_refactoring | 112 | false | 2026-07-17 |
using NuGet.Configuration;
using NuGet.Versioning;
using NuKeeper.Abstractions.Inspections.Files;
using NuKeeper.Abstractions.NuGet;
using NuKeeper.Abstractions.RepositoryInspection;
using NuKeeper.Inspection.Files;
using NuKeeper.Update.Process;
using NuKeeper.Update.ProcessRunner;
using NUnit.Framework;
using System;... | AnthonySteele/NuKeeper | NuKeeper.Integration.Tests/NuGet/Process/NuGetUpdatePackageCommandTests.cs | https://github.com/AnthonySteele/NuKeeper/blob/HEAD/NuKeeper.Integration.Tests/NuGet/Process/NuGetUpdatePackageCommandTests.cs | ghcode:00009:5d5cd29ceda4 | apache-2.0 | codeparrot/github-code | 5d5cd29ceda45e2f363ee59606525e4aab17f520a7aa29a90c4a4124025067c7 | 0.75 | testing_debugging_repair_refactoring | 930 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharpChan.Extensions.Common;
using System.Text;
using System.Collections.Generic;
namespace CSharpHelpersTests.Extensions.Common {
[TestClass]
public class ObjectExtensionsTests {
[TestMethod]
public void TestIsNu... | marcin-chwedczuk/sharpChan | cs-chan-tests/Extensions/Common/ObjectExtensionsTests.cs | https://github.com/marcin-chwedczuk/sharpChan/blob/HEAD/cs-chan-tests/Extensions/Common/ObjectExtensionsTests.cs | ghcode:00009:b97cda6e0fba | apache-2.0 | codeparrot/github-code | b97cda6e0fbad4eb4c2d2cb5f7b01bde67fe38aa42bb09bac4eaa08b3971c29c | 0.75 | testing_debugging_repair_refactoring | 564 | false | 2026-07-17 |
#region License
// Copyright 2016 Adam Latchem
//
// 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 requi... | adamlatchem/almond | src/Almond/Almond/ProtocolDriver/Packets/Generic.cs | https://github.com/adamlatchem/almond/blob/HEAD/src/Almond/Almond/ProtocolDriver/Packets/Generic.cs | ghcode:00009:ed055daa2973 | apache-2.0 | codeparrot/github-code | ed055daa29736c3b02e856f5095d719b9bfc37ff16da8f37fe0f5250191279b1 | 0.7 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
using PeNet.FileParser;
namespace PeNet.Header.Net.MetaDataTables
{
public class TypeSpec : AbstractTable
{
public TypeSpec(IRawFile peFile, long offset, HeapSizes heapSizes, IndexSize indexSizes)
: base(peFile, offset, heapSizes, indexSizes)
{
Signature = ReadSize(Hea... | secana/PeNet | src/PeNet/Header/Net/MetaDataTables/TypeSpec.cs | https://github.com/secana/PeNet/blob/HEAD/src/PeNet/Header/Net/MetaDataTables/TypeSpec.cs | ghcode:00009:bb574b86f40f | apache-2.0 | codeparrot/github-code | bb574b86f40fdaffd80e72c6f8249b2038fbd3ad4874189b36fc6e176f6adcf8 | 0.75 | testing_debugging_repair_refactoring | 90 | false | 2026-07-17 |
namespace artm.MvxPlugins.Fetcher.Tests.Common
{
public static class TestCategory
{
public const string Slow = "SLOW";
public const string Internet = "INTERNET";
}
}
| mgj/MvvmCross-Plugins | Fetcher/artm.MvxPlugins.Fetcher.Tests/Common/TestCategory.cs | https://github.com/mgj/MvvmCross-Plugins/blob/HEAD/Fetcher/artm.MvxPlugins.Fetcher.Tests/Common/TestCategory.cs | ghcode:00009:e34ba4fed4e6 | apache-2.0 | codeparrot/github-code | e34ba4fed4e6f7f0692868241277855897c0bbca9df9146afd91ae23e138fb3a | 0.5 | testing_debugging_repair_refactoring | 44 | false | 2026-07-17 |
using Lucene.Net.Support;
using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace Lucene.Net.Analysis.Phonetic.Language.Bm
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* thi... | laimis/lucenenet | src/Lucene.Net.Tests.Analysis.Phonetic/Language/Bm/PhoneticEngineRegressionTest.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Analysis.Phonetic/Language/Bm/PhoneticEngineRegressionTest.cs | ghcode:00009:485b1f813d29 | apache-2.0 | codeparrot/github-code | 485b1f813d29b6fa204e20517f00114c6166124854bb105e8cc31a019d73e2b0 | 0.85 | testing_debugging_repair_refactoring | 3,656 | false | 2026-07-17 |
using System;
using System.Net;
#if !NETFX_CORE
using NUnit.Framework;
using TestClass = NUnit.Framework.TestFixtureAttribute;
#else
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
using Mina.Core.Future;
using Mina.Core.Service;
namespace Mina.Transport.Socket
{
[TestClass]
public class DatagramBi... | longshine/Mina.NET | Mina.Test/Transport/Socket/DatagramBindTest.cs | https://github.com/longshine/Mina.NET/blob/HEAD/Mina.Test/Transport/Socket/DatagramBindTest.cs | ghcode:00009:74fd06a7c6c4 | apache-2.0 | codeparrot/github-code | 74fd06a7c6c477e83f97b9c3926311f886c5a276721b536c5ca88e4901deca19 | 0.6 | testing_debugging_repair_refactoring | 170 | false | 2026-07-17 |
/*
Copyright (c) 2016, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | larsbrubaker/MatterControl | Tests/MatterControl.Tests/MatterControl/LevelingTests.cs | https://github.com/larsbrubaker/MatterControl/blob/HEAD/Tests/MatterControl.Tests/MatterControl/LevelingTests.cs | ghcode:00009:1e025899da59 | bsd-2-clause | codeparrot/github-code | 1e025899da59615ad60fc1bf2ee3822c1d96a740211a93f356290a932bf15f70 | 0.78 | testing_debugging_repair_refactoring | 2,385 | false | 2026-07-17 |
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice,... | GaborApatiNagy/xenadmin | XenAdminTests/UnitTests/Diagnostics/HotFixFactoryTests.cs | https://github.com/GaborApatiNagy/xenadmin/blob/HEAD/XenAdminTests/UnitTests/Diagnostics/HotFixFactoryTests.cs | ghcode:00009:80dcef6bc760 | bsd-2-clause | codeparrot/github-code | 80dcef6bc760082f5ed7058a56208892ddcfe695b9fbbf75634c039bac94fbe3 | 0.68 | testing_debugging_repair_refactoring | 1,587 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using LZ4.Tests.Helpers;
// ReSharper disable InconsistentNaming
namespace LZ4.Tests
{
[TestFixture]
public class ConformanceTests
{
#region consts
private const int MAXIMUM_LENGTH = 1 * 10 * 1024 * 1024; // 10MB
#endregion
#region ... | MiloszKrajewski/lz4net | src/LZ4.Tests/ConformanceTests.cs | https://github.com/MiloszKrajewski/lz4net/blob/HEAD/src/LZ4.Tests/ConformanceTests.cs | ghcode:00009:9835692b5a4d | bsd-2-clause | codeparrot/github-code | 9835692b5a4dcdcc62f723629d601072714c63d88fcc9feef4b85f0f287f5885 | 0.78 | testing_debugging_repair_refactoring | 1,856 | false | 2026-07-17 |
using Xunit;
namespace Rhino.Mocks.Tests.FieldsProblem
{
public class FieldProblem_Christian
{
[Fact]
public void PropertiesWillBehaveLikeProperties()
{
TestObject testObject = MockRepository.GenerateStub<TestObject>();
Assert.Equal(0, testObject.IntP... | alaendle/rhino-mocks | Rhino.Mocks.Tests/FieldsProblem/FieldProblem_Christian.cs | https://github.com/alaendle/rhino-mocks/blob/HEAD/Rhino.Mocks.Tests/FieldsProblem/FieldProblem_Christian.cs | ghcode:00009:4e102ef36044 | bsd-3-clause | codeparrot/github-code | 4e102ef36044066f7471cb7a4169860bdec6590ea975e2454fd0899d767d7a6a | 0.75 | testing_debugging_repair_refactoring | 115 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Text;
using u8 = System.Byte;
namespace Community.CsharpSqlite
{
using sqlite3_int64 = System.Int64;
using sqlite3_stmt = Sqlite3.Vdbe;
public partial class Sqlite3
{
/*
** 2005 July 8
**
** The author disclaims copyright to this source cod... | champnakub/CameraApp | plugins/cordova-sqlite-storage/src/wp/csharp-sqlite-src/analyze_c.cs | https://github.com/champnakub/CameraApp/blob/HEAD/plugins/cordova-sqlite-storage/src/wp/csharp-sqlite-src/analyze_c.cs | ghcode:00009:813eae065276 | mit | codeparrot/github-code | 813eae065276dba0a55d8277b7efa974f85ce51afa6733d66fab3daf244a521b | 0.8 | testing_debugging_repair_refactoring | 8,589 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
namespace System.Globalization
{
public partial class CultureInfo : IFormatProvider
... | sjsinju/coreclr | src/mscorlib/src/System/Globalization/CultureInfo.Unix.cs | https://github.com/sjsinju/coreclr/blob/HEAD/src/mscorlib/src/System/Globalization/CultureInfo.Unix.cs | ghcode:00009:009a281144dc | mit | codeparrot/github-code | 009a281144dcd5e024ab8a340d727aeb05a0225fbe29adb5060e53570728bcc9 | 0.8 | testing_debugging_repair_refactoring | 720 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using Riganti.Selenium.Core.Abstractions.Exceptions;
namespace Riganti.Selenium.Core.Samples.FluentApi.Tests
{
[TestClass]
public class BrowsersStabilityUiTests : SeleniumTest
{
[TestMethod]
public void BrowserStabi... | riganti/selenium-utils | src/Tests/Riganti.Selenium.Core.Samples.Tests/BrowsersStabilityUiTests.cs | https://github.com/riganti/selenium-utils/blob/HEAD/src/Tests/Riganti.Selenium.Core.Samples.Tests/BrowsersStabilityUiTests.cs | ghcode:00009:dd1203ac2929 | apache-2.0 | codeparrot/github-code | dd1203ac2929db23ba4492d5568a4a94be4f18d1c1a53503895e0d3522785fdc | 0.95 | testing_debugging_repair_refactoring | 473 | false | 2026-07-17 |
using Bridge.Test.NUnit;
using System;
namespace Bridge.ClientTest.Exceptions
{
[Category(Constants.MODULE_ARGUMENTOUTOFRANGEEXCEPTION)]
[TestFixture(TestNameFormat = "ArgumentOutOfRangeException - {0}")]
public class ArgumentOutOfRangeExceptionTests
{
[Test]
public void TypeProperties... | AndreyZM/Bridge | Tests/Batch1/Exceptions/ArgumentOutOfRangeExceptionTests.cs | https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch1/Exceptions/ArgumentOutOfRangeExceptionTests.cs | ghcode:00009:022160c5858f | apache-2.0 | codeparrot/github-code | 022160c5858f99f8fe25142b0659d501e09da3d401b8338be73298914a517215 | 0.85 | testing_debugging_repair_refactoring | 882 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="BugFix3724Spec.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.Cluster.Tests/Serialization/BugFix3724Spec.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/core/Akka.Cluster.Tests/Serialization/BugFix3724Spec.cs | ghcode:00009:ff391b3b35c0 | apache-2.0 | codeparrot/github-code | ff391b3b35c025327e0b157be8dc4b8e80e0afad264afbec1c52b1c36ea54bee | 0.85 | testing_debugging_repair_refactoring | 440 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CSharpKoans.Core;
using System.Xml.Linq;
using System.IO;
using NUnit.Framework;
namespace CSharpKoans
{
public class AboutLinqToXml :KoanContainer
{
XDocument senatorsDoc = XDocument.Load(Path.Combine(Dir... | sethjdev/CSharpKoans | CSharpKoans/AboutLinqToXml.cs | https://github.com/sethjdev/CSharpKoans/blob/HEAD/CSharpKoans/AboutLinqToXml.cs | ghcode:00009:028172a13a1d | apache-2.0 | codeparrot/github-code | 028172a13a1da54221e4cd74cbe65e90d3218f055a02f9f2612a2630b362a830 | 0.7 | testing_debugging_repair_refactoring | 1,144 | false | 2026-07-17 |
using NUnit.Framework;
using _S_ConsoleProjectName_S_.Infrastructure.ContainerExtensions;
using _S_TestsProjectName_S_.Common;
namespace _S_TestsProjectName_S_.UnitTests.ContainerRegistrationTests.Infrastructure
{
[TestFixture(Category=TestCategory.UnitTests)]
public class TraceLogAspectRegistrationTests
{... | trondr/NCmdLiner.SolutionTemplates | Console Application/src/_S_TestsProjectName_S_/UnitTests/ContainerRegistrationTests/Infrastructure/TraceLogAspectRegistrationTests.cs | https://github.com/trondr/NCmdLiner.SolutionTemplates/blob/HEAD/Console Application/src/_S_TestsProjectName_S_/UnitTests/ContainerRegistrationTests/Infrastructure/TraceLogAspectRegistrationTests.cs | ghcode:00009:a908cdcf0038 | bsd-3-clause | codeparrot/github-code | a908cdcf0038c3ca13502c2d61b2858b7e861d651a663b66e8749bafda283b17 | 0.85 | testing_debugging_repair_refactoring | 149 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
... | jmarolf/roslyn | src/Features/Core/Portable/CodeRefactorings/AddMissingImports/AbstractAddMissingImportsFeatureService.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Features/Core/Portable/CodeRefactorings/AddMissingImports/AbstractAddMissingImportsFeatureService.cs | ghcode:00009:280a89d5a054 | mit | codeparrot/github-code | 280a89d5a054152d6434dd40735c13546c110a2f8d8fba08117c837e90ee3eb6 | 0.85 | testing_debugging_repair_refactoring | 2,598 | 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 Internal.Runtime.Augments;
using Debug = System.Diagnostics.Debug;
namespace Internal.Runtime.... | sandreenko/corert | src/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/GenericDictionary.cs | https://github.com/sandreenko/corert/blob/HEAD/src/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/GenericDictionary.cs | ghcode:00009:c224746d39ce | mit | codeparrot/github-code | c224746d39ceb47a55b1d3d6c382fb1653c98741f42c80c26f3abb19c445ab8c | 0.8 | testing_debugging_repair_refactoring | 541 | false | 2026-07-17 |
using Lucene.Net.Attributes;
using Lucene.Net.Util;
using NUnit.Framework;
using System;
namespace Lucene.Net.Benchmarks.Support
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for addition... | jeme/lucenenet | src/Lucene.Net.Tests.Benchmark/Support/TestApiConsistency.cs | https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Benchmark/Support/TestApiConsistency.cs | ghcode:00009:3d7fc894061c | apache-2.0 | codeparrot/github-code | 3d7fc894061c4a5ad6bca3aa312eae72dc1b359a9a4e455d07973b556566f6ec | 0.85 | testing_debugging_repair_refactoring | 1,167 | false | 2026-07-17 |
using Xunit;
using Xunit.Extensions;
namespace Humanizer.Tests.Localisation.bnBD
{
public class NumberToWordsTests : AmbientCulture
{
public NumberToWordsTests() : base("bn-BD") { }
[InlineData(0, "শূন্য")]
[InlineData(1, "এক")]
[InlineData(10, "দশ")]
[InlineData(11, "... | HalidCisse/Humanizer | src/Humanizer.Tests/Localisation/bn-BD/NumberToWordsTests.cs | https://github.com/HalidCisse/Humanizer/blob/HEAD/src/Humanizer.Tests/Localisation/bn-BD/NumberToWordsTests.cs | ghcode:00009:4e28ce050d3d | mit | codeparrot/github-code | 4e28ce050d3dbb466c65b27bf546c865ca55cf959bb3cdc100743e35a2e9c5b8 | 0.75 | testing_debugging_repair_refactoring | 1,781 | false | 2026-07-17 |
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using NUnit.Framework;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Events;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Scoping;
usi... | umbraco/Umbraco-CMS | tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MediaServiceTests.cs | https://github.com/umbraco/Umbraco-CMS/blob/HEAD/tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MediaServiceTests.cs | ghcode:00009:aef846131fe6 | mit | codeparrot/github-code | aef846131fe6522cbfaef45b360b6fa3e5a7bf1e53b724b5eb44bee89ae6f5d3 | 0.85 | testing_debugging_repair_refactoring | 2,723 | 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... | devigned/azure-powershell | src/ResourceManager/Insights/Commands.Insights.Test/Utilities.cs | https://github.com/devigned/azure-powershell/blob/HEAD/src/ResourceManager/Insights/Commands.Insights.Test/Utilities.cs | ghcode:00009:983f0973344a | apache-2.0 | codeparrot/github-code | 983f0973344ad3950657a3b39d7b4b21bd92da54094e9e224238f01fc992c9eb | 0.85 | testing_debugging_repair_refactoring | 3,914 | false | 2026-07-17 |
//
// Copyright (c) 2004-2016 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of s... | MartinTherriault/NLog | tests/NLog.UnitTests/LogFactoryTests.cs | https://github.com/MartinTherriault/NLog/blob/HEAD/tests/NLog.UnitTests/LogFactoryTests.cs | ghcode:00009:51a30394aae3 | bsd-3-clause | codeparrot/github-code | 51a30394aae39db670a118f0ff0c77436c007193d47f8586c9790918d4f20a21 | 0.85 | testing_debugging_repair_refactoring | 2,205 | false | 2026-07-17 |
// This software is part of the Autofac IoC container
// Copyright (c) 2012 Autofac Contributors
// http://autofac.org
//
// 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
//... | hlltbrk/autofac | Core/Tests/Autofac.Tests.Integration.WebApi/AutofacWebApiDependencyResolverFixture.cs | https://github.com/hlltbrk/autofac/blob/HEAD/Core/Tests/Autofac.Tests.Integration.WebApi/AutofacWebApiDependencyResolverFixture.cs | ghcode:00009:4a395bfca3a1 | mit | codeparrot/github-code | 4a395bfca3a18ebb627e412a91ddeabb8fe9294f290f8661d59679b5b6ad2048 | 0.95 | testing_debugging_repair_refactoring | 788 | 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.
namespace Microsoft.VisualStudioTools.MockVsTests
{
internal class MockMessageBox : MockDialog
{
public readonly string Text;
public ... | lukedgr/nodejstools | Common/Tests/MockVsTests/MockMessageBox.cs | https://github.com/lukedgr/nodejstools/blob/HEAD/Common/Tests/MockVsTests/MockMessageBox.cs | ghcode:00009:18085869a640 | apache-2.0 | codeparrot/github-code | 18085869a6402094110550188b13382f69022ac45971aa244d9dce1c87e12f64 | 0.85 | testing_debugging_repair_refactoring | 95 | false | 2026-07-17 |
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice... | MihaelaStoica/xenadmin | XenAdminTests/SearchTests/IPAddressTest.cs | https://github.com/MihaelaStoica/xenadmin/blob/HEAD/XenAdminTests/SearchTests/IPAddressTest.cs | ghcode:00009:2a33ff91cd65 | bsd-2-clause | codeparrot/github-code | 2a33ff91cd65d8b24d4884264b4b46b039c0fe7fd4f405c907c8cbc6db590011 | 0.78 | testing_debugging_repair_refactoring | 620 | false | 2026-07-17 |
namespace Nancy.Tests.Unit.ModelBinding
{
using System;
using FakeItEasy;
using Nancy.Configuration;
using Nancy.Json;
using Nancy.ModelBinding;
using Nancy.Tests.Fakes;
using Xunit;
public class DefaultModelBinderLocatorFixture
{
private readonly DefaultBind... | charleypeng/Nancy | test/Nancy.Tests/Unit/ModelBinding/DefaultModelBinderLocatorFixture.cs | https://github.com/charleypeng/Nancy/blob/HEAD/test/Nancy.Tests/Unit/ModelBinding/DefaultModelBinderLocatorFixture.cs | ghcode:00009:5e4f42639db5 | mit | codeparrot/github-code | 5e4f42639db58fa55922cba161f630d7f6d221bcc91bf484458644ee6ca27990 | 0.7 | testing_debugging_repair_refactoring | 944 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace Enyim.Caching.Tests
{
[TestFixture]
public class MemcachedClientMutateTests : MemcachedClientTestsBase
{
[Test]
public void When_Incrementing_Value_Result_Is_Successful()
{
var key = GetU... | happyframework/EnyimMemcached | Enyim.Caching.Tests/MemcachedClientMutateTests.cs | https://github.com/happyframework/EnyimMemcached/blob/HEAD/Enyim.Caching.Tests/MemcachedClientMutateTests.cs | ghcode:00009:957864f4bad9 | apache-2.0 | codeparrot/github-code | 957864f4bad97ba97d7d43531243b5efba7863ff775c12677c00cce22cc36719 | 0.75 | testing_debugging_repair_refactoring | 462 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Xunit;
namespace Octokit.Tests.Helpers
{
public class UriExtensionsTests
{
public class TheReplaceRelativeUriMethod
{
[Theory]
[InlineData("https://api.github.com", "my/new/path", "https://api.github.com/my/new/path"... | shiftkey-tester/octokit.net | Octokit.Tests/Helpers/UriExtensionsTests.cs | https://github.com/shiftkey-tester/octokit.net/blob/HEAD/Octokit.Tests/Helpers/UriExtensionsTests.cs | ghcode:00009:5f8bad5621b5 | mit | codeparrot/github-code | 5f8bad5621b5c1c8abeb4d7fe27ac6ad3ab494ef7c7f9bea6aa23f0f1eca6c3f | 0.85 | testing_debugging_repair_refactoring | 1,221 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.Msagl.Core.Geometry;
using Microsoft.Msagl.Core.Geometry.Curves;
namespace Microsoft.Msagl.Routing.Visibility {
/// <summary>
/// represents a chunk of a hole boundary
/// </summary>
internal class Stem {
PolylinePoint start;
... | bilsaboob/RapidPliant | external_libs/Msagl/Msagl/Routing/Visibility/Stem.cs | https://github.com/bilsaboob/RapidPliant/blob/HEAD/external_libs/Msagl/Msagl/Routing/Visibility/Stem.cs | ghcode:00009:4e023a94f023 | mit | codeparrot/github-code | 4e023a94f023f9f02da6c335c10cb745c2876f3b5ce765a25acc9deba949db73 | 0.7 | testing_debugging_repair_refactoring | 349 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.Msagl.Core.Geometry;
using Microsoft.Msagl.Core.Geometry.Curves;
using Microsoft.Msagl.Core;
namespace Microsoft.Msagl.Routing.Visibility {
internal class ActiveEdgeComparerWithRay : IComparer<PolylinePoint> {
Point pivot;
[System.Dia... | bilsaboob/RapidPliant | external_libs/Msagl/Msagl/Routing/Visibility/ActiveEdgeComparerWithRay.cs | https://github.com/bilsaboob/RapidPliant/blob/HEAD/external_libs/Msagl/Msagl/Routing/Visibility/ActiveEdgeComparerWithRay.cs | ghcode:00009:96556076cecf | mit | codeparrot/github-code | 96556076cecf708c016083eec1f8a48f971d5f0900dd6361fda88e583329a0fe | 0.6 | testing_debugging_repair_refactoring | 659 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2011, 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.IO;
using NUnit.F... | prepare/LiteDB | NUnit-2.6.0.12051/src/ProjectEditor/tests/Model/ProjectModelLoadtests.cs | https://github.com/prepare/LiteDB/blob/HEAD/NUnit-2.6.0.12051/src/ProjectEditor/tests/Model/ProjectModelLoadtests.cs | ghcode:00009:4b0a51602298 | mit | codeparrot/github-code | 4b0a5160229859c09ccbfd1dee0319f8231a9d87802441acd32ba52cf57d8f3e | 0.95 | testing_debugging_repair_refactoring | 1,306 | 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 ... | mafiya69/corefx | src/System.Data.SqlClient/src/System/Data/Common/DbEnumerator.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Data.SqlClient/src/System/Data/Common/DbEnumerator.cs | ghcode:00009:a5744c59a3ff | mit | codeparrot/github-code | a5744c59a3ff5347afd90c46a843ab4803fe5569871afa17f6623b4bec2420be | 0.95 | testing_debugging_repair_refactoring | 536 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="SelectExpandClauseUnitTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-------------------------... | abkmr/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.Query.TDD.Tests/Semantic/Nodes/SelectExpandClauseUnitTests.cs | https://github.com/abkmr/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.Query.TDD.Tests/Semantic/Nodes/SelectExpandClauseUnitTests.cs | ghcode:00009:1a5885a84095 | mit | codeparrot/github-code | 1a5885a840957164443f4c774d785851b24b2876bbce12aa910e1b58a0b97b7e | 0.95 | testing_debugging_repair_refactoring | 432 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2011 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | elbaloo/nunit | src/NUnitFramework/framework/Constraints/ConstraintResult.cs | https://github.com/elbaloo/nunit/blob/HEAD/src/NUnitFramework/framework/Constraints/ConstraintResult.cs | ghcode:00009:5466cd33170c | mit | codeparrot/github-code | 5466cd33170c37882ddbb3e97ed3e19a87df02f5998d242c3d4802bebb3ac3c9 | 0.7 | testing_debugging_repair_refactoring | 1,268 | 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.Collections.Generic;
using System.Linq;
using System.Net.Http;
using Xunit;
namespace System.Net.Http.Tests
{
public class CurlResponseParseUtilsTest... | 690486439/corefx | src/System.Net.Http/tests/UnitTests/Headers/CurlResponseParseUtilsTest.cs | https://github.com/690486439/corefx/blob/HEAD/src/System.Net.Http/tests/UnitTests/Headers/CurlResponseParseUtilsTest.cs | ghcode:00009:1058d9b0680e | mit | codeparrot/github-code | 1058d9b0680e1d3117b5a35e3f71ccda8761f39efa4b6c489cedec2cebdeb0e9 | 0.85 | testing_debugging_repair_refactoring | 1,055 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Runtime.CompilerServices;
using... | nbarbettini/corefx | src/System.Data.Odbc/src/Common/System/Data/Common/AdapterUtil.Odbc.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Data.Odbc/src/Common/System/Data/Common/AdapterUtil.Odbc.cs | ghcode:00009:78f0b6dbe638 | mit | codeparrot/github-code | 78f0b6dbe638133b6749b2df8981f210012a7051797a3d878924b8c7e383fa70 | 0.95 | testing_debugging_repair_refactoring | 4,386 | 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... | antonba/azure-sdk-tools | WindowsAzurePowershell/src/Management.Test/Store/SetAzureStoreAddOnTest.cs | https://github.com/antonba/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.Test/Store/SetAzureStoreAddOnTest.cs | ghcode:00009:fb04c38ff042 | apache-2.0 | codeparrot/github-code | fb04c38ff04258bd85172260c196834ea4d354f220c04b412b7c5047f27a1217 | 0.95 | testing_debugging_repair_refactoring | 1,176 | 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.ap... | Juliako/azure-sdk-tools | WindowsAzurePowershell/src/Management.Storage.Test/Blob/Cmdlet/RemoveAzureStorageContainerTest.cs | https://github.com/Juliako/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.Storage.Test/Blob/Cmdlet/RemoveAzureStorageContainerTest.cs | ghcode:00009:0e0e9e2738fc | apache-2.0 | codeparrot/github-code | 0e0e9e2738fc62b189fbd1f9eac1a0643e7d1bf6b90b91bf9508e34e92875db3 | 0.8 | testing_debugging_repair_refactoring | 700 | false | 2026-07-17 |
namespace AutoMapper.UnitTests
{
using Should;
using Xunit;
public class OpenGenerics
{
public class Source<T>
{
public int A { get; set; }
public T Value { get; set; }
}
public class Dest<T>
{
public int A { g... | CandidoCleyton/AutoMapper | src/UnitTests/OpenGenerics.cs | https://github.com/CandidoCleyton/AutoMapper/blob/HEAD/src/UnitTests/OpenGenerics.cs | ghcode:00009:d5e24dcec3f9 | mit | codeparrot/github-code | d5e24dcec3f9aae9f82b098005da3bec41718f609223a32d8c83d1845167e977 | 0.6 | testing_debugging_repair_refactoring | 333 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace System.Net.Sockets.Tests
{
publi... | ptoonen/corefx | src/System.Net.Sockets/tests/FunctionalTests/Accept.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Net.Sockets/tests/FunctionalTests/Accept.cs | ghcode:00009:bc16e752425a | mit | codeparrot/github-code | bc16e752425af9c1a275bb6f27f335495f31abd49e18b2b0da278409e128f9b7 | 0.95 | testing_debugging_repair_refactoring | 2,367 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Security.Cryptography;
using System.Text;
u... | shimingsg/corefx | src/Common/tests/System/Net/Http/LoopbackServer.AuthenticationHelpers.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/Common/tests/System/Net/Http/LoopbackServer.AuthenticationHelpers.cs | ghcode:00009:a0a40293e71c | mit | codeparrot/github-code | a0a40293e71c144da65049690e2d44b7af0086a774bc45ee96f1cce64e876240 | 0.95 | testing_debugging_repair_refactoring | 2,076 | false | 2026-07-17 |
# CS_ARCH_MIPS, CS_MODE_MIPS32+CS_MODE_BIG_ENDIAN, None
0x78,0x1c,0x9f,0x1b = fadd.w $w28, $w19, $w28
0x78,0x3d,0x13,0x5b = fadd.d $w13, $w2, $w29
0x78,0x19,0x5b,0x9a = fcaf.w $w14, $w11, $w25
0x78,0x33,0x08,0x5a = fcaf.d $w1, $w1, $w19
0x78,0x90,0xb8,0x5a = fceq.w $w1, $w23, $w16
0x78,0xb0,0x40,0x1a = fceq.d $w0, $w8,... | furunkel/crabstone | test/MC/Mips/test_3rf.s.cs | https://github.com/furunkel/crabstone/blob/HEAD/test/MC/Mips/test_3rf.s.cs | ghcode:00009:13469cee3b54 | bsd-3-clause | codeparrot/github-code | 13469cee3b5436f075871cc9558045b02a6b915155d007bb888d12bbc538aa28 | 0.75 | testing_debugging_repair_refactoring | 2,989 | 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 Xunit;
namespace System.Text.R... | BrennanConroy/corefx | src/System.Text.RegularExpressions/tests/GroupCollectionReadOnlyDictionaryTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Text.RegularExpressions/tests/GroupCollectionReadOnlyDictionaryTests.cs | ghcode:00009:0e1856103e3c | mit | codeparrot/github-code | 0e1856103e3cfe281294e48bf81432dc1d64862f4cf91cdb541507304e53d6f8 | 0.95 | testing_debugging_repair_refactoring | 1,187 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.integeregereraction.common.common
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.inte... | fffej/corefx | src/System.Dynamic.Runtime/tests/Dynamic.Other/Conformance.dynamic.interaction.cs | https://github.com/fffej/corefx/blob/HEAD/src/System.Dynamic.Runtime/tests/Dynamic.Other/Conformance.dynamic.interaction.cs | ghcode:00009:6dcaf1f9d31e | mit | codeparrot/github-code | 6dcaf1f9d31e1df8f0e9931b5ed9b765f81669795c5c385ce2ddc649fcbe6c6d | 0.75 | testing_debugging_repair_refactoring | 50,970 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Test.Cryptography;
namespace S... | nbarbettini/corefx | src/System.Security.Cryptography.X509Certificates/tests/CertificateCreation/DSAX509SignatureGenerator.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Security.Cryptography.X509Certificates/tests/CertificateCreation/DSAX509SignatureGenerator.cs | ghcode:00009:ae6ac6b36d9c | mit | codeparrot/github-code | ae6ac6b36d9cc477318879005afc9f4595d87f82a427e35d215e8e690805c62d | 0.95 | testing_debugging_repair_refactoring | 1,122 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Wyam.Common.Caching;
using Wyam.Common.Configuration;
using Wyam.Common.Documents;
using W... | Wyamio/Wyam | src/core/Wyam.Testing/Execution/TestExecutionContext.cs | https://github.com/Wyamio/Wyam/blob/HEAD/src/core/Wyam.Testing/Execution/TestExecutionContext.cs | ghcode:00009:eb573df623d9 | mit | codeparrot/github-code | eb573df623d9525db213fb7f100d5c6e3a48641071fbd80ec0c532a0aeff6201 | 0.85 | testing_debugging_repair_refactoring | 2,526 | false | 2026-07-17 |
using System;
using Moq;
using NUnit.Framework;
using nH.Data.Models;
using nH.Data.Repositories;
using nH.Tracing;
namespace nH.Test.Tracing
{
[TestFixture]
public class NhTracerTest
{
private Mock<IDataRepository<LogEntry>> _repositoryMock;
private Mock<IDiagnosticTrace> _diagnosticTraceMock;
private stri... | nHook/nH | test/nH.Test/Tracing/NhTracerTest.cs | https://github.com/nHook/nH/blob/HEAD/test/nH.Test/Tracing/NhTracerTest.cs | ghcode:00009:3c2de49bebbb | mit | codeparrot/github-code | 3c2de49bebbb4a92fb1f339e955c1ebe0a52d9fbe3c7f82ec069135abe318f3b | 0.7 | testing_debugging_repair_refactoring | 1,218 | false | 2026-07-17 |
using System;
class Foo {
public bool MyMethod ()
{
Console.WriteLine ("Base class method !");
return true;
}
}
class Blah : Foo {
public static int Main ()
{
Blah k = new Blah ();
Foo i = k;
if (i.MyMethod ())
return 200;
else
return 1;
}
} | basdp/poly | Testing/RegressionTesting/Tests/test-013.cs | https://github.com/basdp/poly/blob/HEAD/Testing/RegressionTesting/Tests/test-013.cs | ghcode:00009:d45a53dd84e6 | mit | codeparrot/github-code | d45a53dd84e6ff5da3fc90d3cff7a1adc544a254d1c85429c1a0e02ea0de4cff | 0.85 | testing_debugging_repair_refactoring | 83 | false | 2026-07-17 |
using IntSharp;
using IntSharp.LinearEquationSystem;
using IntSharp.Types;
using NUnit.Framework;
namespace IntSharpTests.LinearEquationSystem
{
[TestFixture]
internal class OverDeterminedTests
{
[Test]
public void TestOverDeterminedSolvingWithNarrowIntervals()
{
var aI... | selmaohneh/IntSharp | IntSharpTests/LinearEquationSystem/OverDeterminedTests.cs | https://github.com/selmaohneh/IntSharp/blob/HEAD/IntSharpTests/LinearEquationSystem/OverDeterminedTests.cs | ghcode:00009:01f98732b338 | mit | codeparrot/github-code | 01f98732b3388f134c000b51f720f23e3270243c2f7f9227500447d5cb4314de | 0.75 | testing_debugging_repair_refactoring | 776 | false | 2026-07-17 |
using NUnit.Framework;
namespace JsonConfig.Test
{
[TestFixture]
public class ExtensionsTest
{
[Test]
public void ToUpper_ShouldDoNothing_BecauseCharIsAlreadyInUpperCase()
{
char chr = 'A';
var result = chr.ToUpper();
Assert.AreEqual(chr, resul... | andreazevedo/JsonConfig | src/test/JsonConfig.Test/ExtensionsTest.cs | https://github.com/andreazevedo/JsonConfig/blob/HEAD/src/test/JsonConfig.Test/ExtensionsTest.cs | ghcode:00009:dacbc5239eef | mit | codeparrot/github-code | dacbc5239eef9ac99347257518dfa6374cb86c99ef8bb097440418c106bc9dd8 | 0.85 | testing_debugging_repair_refactoring | 317 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace HDoc.Tests
{
public class HDocumentTypeTest
{
[Fact]
public void TestCreate()
{
// Create default => HTML5
var dt = new HD... | ygrenier/HDocument | sources/HDocument.Tests/HDocumentTypeTest.cs | https://github.com/ygrenier/HDocument/blob/HEAD/sources/HDocument.Tests/HDocumentTypeTest.cs | ghcode:00009:fe36eac152e2 | mit | codeparrot/github-code | fe36eac152e221eef2742032c91f40708013d45529d945531f5711fc9c386cc1 | 0.7 | testing_debugging_repair_refactoring | 811 | false | 2026-07-17 |
using System;
using GitNStats.Core.Tests;
using Xunit;
using static GitNStats.Core.Analysis;
using static GitNStats.Core.Tests.Fakes;
namespace GitNStats.Tests.Analysis
{
public class DateFilter
{
static TimeSpan AdtOffset = new TimeSpan(-3,0,0);
static TimeSpan EstOffset = new TimeSpan(-4... | rubberduck203/GitNStats | tests/gitnstats.core.tests/Analysis/DateFilter.cs | https://github.com/rubberduck203/GitNStats/blob/HEAD/tests/gitnstats.core.tests/Analysis/DateFilter.cs | ghcode:00009:6ba19fef8ff8 | mit | codeparrot/github-code | 6ba19fef8ff87623b53bac531f55eb510acc6d438045714322237e81d64734cf | 0.6 | testing_debugging_repair_refactoring | 459 | false | 2026-07-17 |
using System;
using System.IO;
using NUnit.Framework;
namespace ProtoSharp.Core.MessageWriterTests
{
[TestFixture]
public class WriteVarint
{
[Test]
public void ShouldStore32BitMinusOneInTenBytes()
{
var output = new MemoryStream();
new MessageW... | drunkcod/ProtoSharp | Source/Tests/MessageWriterTests/WriteVarintTests.cs | https://github.com/drunkcod/ProtoSharp/blob/HEAD/Source/Tests/MessageWriterTests/WriteVarintTests.cs | ghcode:00009:77750abebc9e | mit | codeparrot/github-code | 77750abebc9e2e8d57cfc9a08d04c9d37aeb861f5db58ece946aaff9e215b797 | 0.85 | testing_debugging_repair_refactoring | 605 | false | 2026-07-17 |
//
// StackFrameCas.cs - CAS unit tests for System.Diagnostics.StackFrame
//
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated document... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Diagnostics/StackFrameCas.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Diagnostics/StackFrameCas.cs | ghcode:00009:bd27d417639a | mit | codeparrot/github-code | bd27d417639a6083b1f305c37ebd1e4ff7007693cd324722fddf969c101c7f79 | 0.95 | testing_debugging_repair_refactoring | 1,880 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2016 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | chm-tm/nunit-gui | src/nunit-gui/Presenters/TestPropertiesPresenter.cs | https://github.com/chm-tm/nunit-gui/blob/HEAD/src/nunit-gui/Presenters/TestPropertiesPresenter.cs | ghcode:00009:19c1e0e0ea9c | mit | codeparrot/github-code | 19c1e0e0ea9c6f2dea90ee982c043e29b0f6e052dbbd4dbb8656f8a0897c6e2b | 0.85 | testing_debugging_repair_refactoring | 1,279 | false | 2026-07-17 |
using Moq;
using Testura.Android.PageObjectCreator.ViewModels;
using NUnit.Framework;
using Testura.Android.PageObjectCreator.Services;
namespace Testura.Android.PageObjectCreator.Tests.ViewModels
{
[TestFixture]
public class WithViewModelTests
{
private Mock<IUniqueWithFinderService> _optimalWithS... | Testura/Testura.Android.PageObjectCreator | src/Testura.Android.PageObjectCreator.Tests/ViewModels/WithViewModelTests.cs | https://github.com/Testura/Testura.Android.PageObjectCreator/blob/HEAD/src/Testura.Android.PageObjectCreator.Tests/ViewModels/WithViewModelTests.cs | ghcode:00009:8f38004d5e86 | mit | codeparrot/github-code | 8f38004d5e86a2f5c4c7bf64e91aa89de2faac937dacfa7063905e999f293c0c | 0.75 | testing_debugging_repair_refactoring | 122 | false | 2026-07-17 |
using UnityEngine;
using System.Collections;
using System.IO;
using System.Text;
using SDebug = System.Diagnostics.Debug;
public enum RemoteMessage: byte
{
Invalid = 0,
Hello = 1,
Options = 2,
GyroSettings = 3,
DeviceOrientation = 4,
TouchInput = 10,
AccelerometerInput = 11,
TrackBallInpu... | madeso/protect-my-circles | Assets/DataSender.cs | https://github.com/madeso/protect-my-circles/blob/HEAD/Assets/DataSender.cs | ghcode:00009:008879807c8d | mit | codeparrot/github-code | 008879807c8d00371cbe4a2b639797ecd37b763523d06d75bcb60b1f2c160aeb | 0.7 | testing_debugging_repair_refactoring | 1,295 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NeuralNetworkConstructor.Normalizer;
using NeuralNetworkConstructor.Structure.Nodes;
using Xunit;
namespace Tests
{
public class NormalizerTest
{
[Fact]
public void TestInputNode()
{
... | A1essandro/NeuralNetworkConstructor | Tests/NormalizerTest.cs | https://github.com/A1essandro/NeuralNetworkConstructor/blob/HEAD/Tests/NormalizerTest.cs | ghcode:00009:d92aa68bb610 | mit | codeparrot/github-code | d92aa68bb6107ffbe1fed2307fec8e9d1b50a49b137d31d73bd41ba602b64513 | 0.6 | testing_debugging_repair_refactoring | 516 | false | 2026-07-17 |
// This file was auto-generated based on version 1.3.0 of the canonical data.
using System;
using Xunit;
public class ChangeTests
{
[Fact]
public void Single_coin_change()
{
var coins = new[] { 1, 5, 10, 25, 100 };
var target = 25;
var expected = new[] { 25 };
Assert.Equal(... | robkeim/xcsharp | exercises/change/ChangeTests.cs | https://github.com/robkeim/xcsharp/blob/HEAD/exercises/change/ChangeTests.cs | ghcode:00009:31062c61d873 | mit | codeparrot/github-code | 31062c61d87396007e65aedea7d4f01dd69aeb52afc62777f23812eed1d26b69 | 0.75 | testing_debugging_repair_refactoring | 1,001 | false | 2026-07-17 |
using System;
using System.Linq;
using Treenumerable.Tests.TreeBuilder;
using Xunit;
namespace Treenumerable.Tests.TreeWalkerExtensionsTests
{
public class GetSiblingsTests
{
[Fact]
public void GetSiblings_NullWalker_ArgumentNullExceptionThrown()
{
// Get a valid tree.
... | jasonmcboyd/Treenumerable | Source/Treenumerable.Tests/TreeWalkerExtensionsTests/GetSiblingsTests.cs | https://github.com/jasonmcboyd/Treenumerable/blob/HEAD/Source/Treenumerable.Tests/TreeWalkerExtensionsTests/GetSiblingsTests.cs | ghcode:00009:0069f9689a95 | mit | codeparrot/github-code | 0069f9689a95ca5f5a64d5df64d4dfbac2af75926041ae824689fd1ef4fff97d | 0.85 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
using System;
using System.Reactive.Threading.Tasks;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Reactive;
using Xunit;
namespace Octokit.Tests.Reactive
{
public class ObservableRepositoryCommitsClientTests
{
public class TheCtor
{
[Fact]
public void ... | SamTheDev/octokit.net | Octokit.Tests/Reactive/ObservableRepositoryCommitsClientTests.cs | https://github.com/SamTheDev/octokit.net/blob/HEAD/Octokit.Tests/Reactive/ObservableRepositoryCommitsClientTests.cs | ghcode:00009:3d5d97c53c69 | mit | codeparrot/github-code | 3d5d97c53c6924936ac5cd49b6773d991c3d8cc40e02fc01112d9398e1da0a65 | 0.75 | testing_debugging_repair_refactoring | 758 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | asd1355215911/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Converters/BinaryConverterTests.cs | https://github.com/asd1355215911/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Converters/BinaryConverterTests.cs | ghcode:00009:2373019c0a79 | mit | codeparrot/github-code | 2373019c0a7977511f8c1966965f01e635717a525dd882ef9bb276a55500b29e | 0.85 | testing_debugging_repair_refactoring | 1,495 | false | 2026-07-17 |
using System.Threading.Tasks;
using Abp.AspNetCore.App.Controllers;
using Abp.Timing;
using Abp.Web.Models;
using Shouldly;
using Xunit;
namespace Abp.AspNetCore.Tests
{
public class DateTimeModelBinder_Tests : AppTestBase
{
[Theory]
[InlineData("2016-04-13T08:58:10.526Z", "utc")]
[Inl... | oceanho/aspnetboilerplate | test/Abp.AspNetCore.Tests/Tests/DateTimeModelBinder_Tests.cs | https://github.com/oceanho/aspnetboilerplate/blob/HEAD/test/Abp.AspNetCore.Tests/Tests/DateTimeModelBinder_Tests.cs | ghcode:00009:c0db71d1a43c | mit | codeparrot/github-code | c0db71d1a43cb1acf794933732d0544bece8b64fc125e5b9f2b3fbada35f7b1b | 0.85 | testing_debugging_repair_refactoring | 346 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Threading;
using System.Globalization;
using clipr.Usage;
using clipr.Attributes;
namespace clipr.UnitTests
{
internal static class LocalizationExtensions
{
private class CultureChanger : I... | nemec/clipr | src/clipr.UnitTests/LocalizationUnitTest.cs | https://github.com/nemec/clipr/blob/HEAD/src/clipr.UnitTests/LocalizationUnitTest.cs | ghcode:00009:629303e864c0 | mit | codeparrot/github-code | 629303e864c0991254492e672a555956e9a5004088d96ca1b9542103b83890c5 | 0.7 | testing_debugging_repair_refactoring | 1,625 | false | 2026-07-17 |
using System;
using System.Collections.Concurrent;
using FluentAssertions;
using NSaga;
using Tests.Stubs;
using Xunit;
namespace Tests
{
[Collection("InMemorySagaRepository")]
public class SagaMediatorInitiationsTests : IDisposable
{
private readonly InMemorySagaRepository repositor... | AMVSoftware/NSaga | src/Tests/SagaMediatorInitiationsTests.cs | https://github.com/AMVSoftware/NSaga/blob/HEAD/src/Tests/SagaMediatorInitiationsTests.cs | ghcode:00009:2d654d68a7fb | mit | codeparrot/github-code | 2d654d68a7fb35a7a2e263969e81d1f5a27fac371a7c0b1f7c6a953ad0dc928c | 0.95 | testing_debugging_repair_refactoring | 878 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NSubstitute;
using Octokit.Reactive;
using Xunit;
namespace Octokit.Tests.Reactive
{
public class ObservableRepositoryHooksClientTests
{
public class ObservableAuthorizationsClientTests
{
const string owner = "owner";
... | devkhan/octokit.net | Octokit.Tests/Reactive/ObservableRepositoryHooksClientTests.cs | https://github.com/devkhan/octokit.net/blob/HEAD/Octokit.Tests/Reactive/ObservableRepositoryHooksClientTests.cs | ghcode:00009:d483e2447c5c | mit | codeparrot/github-code | d483e2447c5c7086f817885bf58b539afdcfbc322a5abe979ce02010808e14d9 | 0.85 | testing_debugging_repair_refactoring | 624 | false | 2026-07-17 |
// Description: C# Extension Methods | Enhance the .NET Framework and .NET Core with over 1000 extension methods.
// Website & Documentation: https://csharp-extension.com/
// Issues: https://github.com/zzzprojects/Z.ExtensionMethods/issues
// License (MIT): https://github.com/zzzprojects/Z.ExtensionMethods/blob/master/... | zzzprojects/Z.ExtensionMethods | test/Z.Core.Test/System.String/String.ExtractManyInt64.cs | https://github.com/zzzprojects/Z.ExtensionMethods/blob/HEAD/test/Z.Core.Test/System.String/String.ExtractManyInt64.cs | ghcode:00009:dfc0ddb90d64 | mit | codeparrot/github-code | dfc0ddb90d64ec134498c04e957defc456ca06d3a5af9872b0b1404127f0ee92 | 0.7 | testing_debugging_repair_refactoring | 309 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ev3Controller.Ev3Command;
using System.Diagnostics;
namespace Ev3Controller.Model
{
public class BrickUpdater_50_00 : BrickUpdater
{
/// <summary>
/// Updater ... | CountrySideEngineer/Ev3Controller | dev/src/Ev3Controller/Model/BrickUpdater_50_00.cs | https://github.com/CountrySideEngineer/Ev3Controller/blob/HEAD/dev/src/Ev3Controller/Model/BrickUpdater_50_00.cs | ghcode:00009:56096e0d79b0 | mit | codeparrot/github-code | 56096e0d79b0413ed9ab8ee776941e63bf0f57be576c70e6c039e3e5996eb2f5 | 0.8 | testing_debugging_repair_refactoring | 362 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp7.ReadabilityRules
{
using System.Threading;
using System.Threading.Tasks;
using Mic... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1137CSharp7UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/ReadabilityRules/SA1137CSharp7UnitTests.cs | ghcode:00009:863b0f06610a | mit | codeparrot/github-code | 863b0f06610a8c3a8755c8b57d1de66bef4c968712ba456a1a2a8c502463de47 | 0.75 | testing_debugging_repair_refactoring | 1,111 | 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.Linq;
using System.Reflection.Metadata;
using System.Text;
namespace Microsoft.... | mjrousos/dotnet-apiport-old | src/Microsoft.Fx.Portability.MetadataReader/MemberMetadataInfo.cs | https://github.com/mjrousos/dotnet-apiport-old/blob/HEAD/src/Microsoft.Fx.Portability.MetadataReader/MemberMetadataInfo.cs | ghcode:00009:b72d12ca1471 | mit | codeparrot/github-code | b72d12ca1471463378a5a65be0d9c39f7b5e59e721be04ae03b18809629af80a | 0.7 | testing_debugging_repair_refactoring | 2,213 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Audio.Track;
using osu.Framework.Extensions.Co... | ZLima12/osu | osu.Game.Tests/Visual/UserInterface/TestSceneBeatSyncedContainer.cs | https://github.com/ZLima12/osu/blob/HEAD/osu.Game.Tests/Visual/UserInterface/TestSceneBeatSyncedContainer.cs | ghcode:00009:0948a0b9f158 | mit | codeparrot/github-code | 0948a0b9f1583ac1cc7364fabaf41a1071a26a0a4ca291f0383e147e0dc22cd9 | 0.85 | testing_debugging_repair_refactoring | 1,464 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Nito.AsyncEx;
using NUnit.Framework;
using SJP.Schematic.Core;
using SJP.Schematic.Core.Comments;
using SJP.Schematic.Core.Extensions;
using SJP.Schematic.SqlServer.Comments;
using SJP.Schemat... | sjp/Schematic | src/SJP.Schematic.SqlServer.Tests/Integration/Comments/SqlServerSynonymCommentProviderTests.cs | https://github.com/sjp/Schematic/blob/HEAD/src/SJP.Schematic.SqlServer.Tests/Integration/Comments/SqlServerSynonymCommentProviderTests.cs | ghcode:00009:0cc66da8dd5f | mit | codeparrot/github-code | 0cc66da8dd5fbd05f49a9ab1ab5b6f0710659429634e55bd653277c06790558c | 0.75 | testing_debugging_repair_refactoring | 2,216 | false | 2026-07-17 |
using System;
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using Xunit;
using Xunit.Abstractions;
namespace BenchmarkDotNet.IntegrationTests
{
public class AttributesTests : BenchmarkTestExecutor
{
public AttributesTests(ITestOutputHelper output) : base(output) {... | Teknikaali/BenchmarkDotNet | tests/BenchmarkDotNet.IntegrationTests/AttributesTests.cs | https://github.com/Teknikaali/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.IntegrationTests/AttributesTests.cs | ghcode:00009:b50081968875 | mit | codeparrot/github-code | b5008196887502f43ce59b65b45d0205c3d69c43cf572650bcb4b5d89ee0c059 | 0.75 | testing_debugging_repair_refactoring | 250 | false | 2026-07-17 |
#region LICENSE
// The MIT License (MIT)
//
// Copyright (c) 2015 Jake Gordon
//
// 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 ri... | jakejgordon/versioned-rest-api | VersionedRestApi.Tests/ApiRouteAttributeTests.cs | https://github.com/jakejgordon/versioned-rest-api/blob/HEAD/VersionedRestApi.Tests/ApiRouteAttributeTests.cs | ghcode:00009:4dfb2df23434 | mit | codeparrot/github-code | 4dfb2df2343461c22a3c8283402bd5b6d991a57bdf5f78790c54039d09822ddf | 0.85 | testing_debugging_repair_refactoring | 1,447 | false | 2026-07-17 |
using NUnit.Framework;
namespace CityHash.Tests
{
[TestFixture]
public class CityHashTests
{
[Test]
public void Hash32_Returns_32bit_Hash()
{
Assert.AreEqual(1345029333, "cityhash".GetCityHash32());
}
[Test]
public void Hash64_Returns_64bit_Hash... | gmarz/city-hash-net | CityHash.Tests/CityHashTests.cs | https://github.com/gmarz/city-hash-net/blob/HEAD/CityHash.Tests/CityHashTests.cs | ghcode:00009:35f77b175c83 | mit | codeparrot/github-code | 35f77b175c83d5902fd43eb4c054f0d397933c8ad49a68fd17f9afabaf976082 | 0.75 | testing_debugging_repair_refactoring | 267 | false | 2026-07-17 |
using System.Collections;
using MonsterLove.StateMachine;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
namespace Tests
{
public class TestMonoBehaviourUpdates
{
public enum States
{
One,
Two,
Three,
Four,
}
private GameObject go;
private StateClass behaviour;
priva... | thefuntastic/Unity3d-Finite-State-Machine | StateMachine/Assets/MonsterLove/Tests/Runtime/TestMonoBehaviourUpdates.cs | https://github.com/thefuntastic/Unity3d-Finite-State-Machine/blob/HEAD/StateMachine/Assets/MonsterLove/Tests/Runtime/TestMonoBehaviourUpdates.cs | ghcode:00009:e660e6a2a31c | mit | codeparrot/github-code | e660e6a2a31ce4d61bbe65b6a38dce9279538fbd724a3187a71f1442809c7421 | 0.85 | testing_debugging_repair_refactoring | 523 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.