text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Uti... | AlexisArce/roslyn | src/Compilers/CSharp/Portable/Parser/Lexer.cs | https://github.com/AlexisArce/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Parser/Lexer.cs | ghcode:00167:083a05446116 | apache-2.0 | codeparrot/github-code | 083a05446116771c11f040a3ca07063c545570d60fc3e3974533a562d9b69c1a | 0.65 | testing_debugging_repair_refactoring | 28,843 | 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 PerfLabTests.CastingPerf2;
using Microsoft.Xunit.Performance;
namespace PerfLabTests.CastingPerf2
{
public interface IFoo
{
}
pub... | ragmani/coreclr | tests/src/performance/perflab/CastingPerf2.cs | https://github.com/ragmani/coreclr/blob/HEAD/tests/src/performance/perflab/CastingPerf2.cs | ghcode:00167:0a103fdc926a | mit | codeparrot/github-code | 0a103fdc926a0cf5a48397813bf4cecd5f1b1dc06bbc4fb05cfdf7dec6c13aa1 | 0.95 | testing_debugging_repair_refactoring | 1,849 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using BenchmarkDotNet.Reports;
using System.Linq;
using BenchmarkDotNet.Mathematics;
namespace BenchmarkDotNet.Columns
{
public static class DefaultColumnProviders
{
public static readonly IColumnProvider Target = new TargetColumnProvider();
publ... | Teknikaali/BenchmarkDotNet | src/BenchmarkDotNet.Core/Columns/DefaultColumnProvider.cs | https://github.com/Teknikaali/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet.Core/Columns/DefaultColumnProvider.cs | ghcode:00167:eaf087a98908 | mit | codeparrot/github-code | eaf087a9890820654a9007d615a7723e511a5c1962b8d20edb633c9e38a5b089 | 0.75 | testing_debugging_repair_refactoring | 770 | false | 2026-07-17 |
namespace SimpleInjector.CodeSamples.Tests.Unit
{
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SimpleInjector.Advanced;
using SimpleInjector.Tests.Unit;
[TestClass]
public class KeyedRegistrationsTests
{
public interface IPlugin
... | simpleinjector/SimpleInjector | src/SimpleInjector.CodeSamples.Tests.Unit/KeyedRegistrationsTests.cs | https://github.com/simpleinjector/SimpleInjector/blob/HEAD/src/SimpleInjector.CodeSamples.Tests.Unit/KeyedRegistrationsTests.cs | ghcode:00167:dd13a3e84a76 | mit | codeparrot/github-code | dd13a3e84a765679af59bfc053c69e20152bc5a0f2aabec944998208ea711691 | 0.85 | testing_debugging_repair_refactoring | 1,136 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using NTFSLib.Objects.Enums;
namespace NTFSLib.Objects.Attributes
{
public class AttributeLoggedUtilityStream : Attribute
{
public byte[] Data { get; set; }
public override AttributeResidentAllow AllowedResidentStates
{
get
... | LordMike/NtfsLib | NTFSLib/Objects/Attributes/AttributeLoggedUtilityStream.cs | https://github.com/LordMike/NtfsLib/blob/HEAD/NTFSLib/Objects/Attributes/AttributeLoggedUtilityStream.cs | ghcode:00167:457c39fcafd4 | mit | codeparrot/github-code | 457c39fcafd439b932a70a0a6921ea3b87fe380e1238227b11945f198563042b | 0.6 | testing_debugging_repair_refactoring | 149 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using NTFSLib.Utilities;
namespace NTFSLib.Objects.Headers
{
public class AttributeResidentHeader : ISaveableObject
{
public uint ContentLength { get; set; }
public ushort ContentOffset { get; set; }
public static AttributeResidentHeader ParseHe... | LordMike/NtfsLib | NTFSLib/Objects/Headers/AttributeResidentHeader.cs | https://github.com/LordMike/NtfsLib/blob/HEAD/NTFSLib/Objects/Headers/AttributeResidentHeader.cs | ghcode:00167:ceb124f93087 | mit | codeparrot/github-code | ceb124f9308763e5e2da21d60e9748a77b8eac087ff0a1fa526c8f3ade133b36 | 0.6 | testing_debugging_repair_refactoring | 222 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using hsb.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
namespace hsb.Utilities.Tests
{
#region 【Class : DateTimeUtilTests】
/// <summary>
/// Dat... | osamu-nomura/hsb | hsbTests/Utilities/DateTimeUtilTests.cs | https://github.com/osamu-nomura/hsb/blob/HEAD/hsbTests/Utilities/DateTimeUtilTests.cs | ghcode:00167:0d657d203171 | mit | codeparrot/github-code | 0d657d203171855c4c690f93f9e4eb0d10e3b130cddf83f67e522b5f06900202 | 0.85 | testing_debugging_repair_refactoring | 1,649 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core.Pipeline;
using Azure.Core.TestFramework;
using Azure.Messaging.ServiceBus.Tests.Inf... | Azure/azure-sdk-for-net | sdk/servicebus/Azure.Messaging.ServiceBus/tests/Processor/ProcessorLiveTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Processor/ProcessorLiveTests.cs | ghcode:00167:dde720886131 | mit | codeparrot/github-code | dde72088613132aecd15a63bea8499a0256ac653e97ba3320165b6139d2fd605 | 0.95 | testing_debugging_repair_refactoring | 7,616 | false | 2026-07-17 |
using UnityEngine;
public class TestUnit : MonoBehaviour
{
public TestUnit()
{
Debug.Add( this );
}
public virtual void Log()
{
}
}
| scissor/Hotter-Unity-Example | Assets/Example/TestUnit.cs | https://github.com/scissor/Hotter-Unity-Example/blob/HEAD/Assets/Example/TestUnit.cs | ghcode:00167:81be6e9cadda | mit | codeparrot/github-code | 81be6e9caddaadcc86d68f5da9443f4901e9832f74337351eeb8f93728dae268 | 0.5 | testing_debugging_repair_refactoring | 37 | false | 2026-07-17 |
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2021 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | SonarSource-VisualStudio/sonarlint-visualstudio | src/TypeScript/Analyzer/JavaScriptAnalyzer.cs | https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/blob/HEAD/src/TypeScript/Analyzer/JavaScriptAnalyzer.cs | ghcode:00167:387aa2a6dad6 | mit | codeparrot/github-code | 387aa2a6dad62c18cd20b6bda2365d2502b5f8d0af3a9c1339159ec83a517f74 | 0.85 | testing_debugging_repair_refactoring | 752 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Firefox;
namespace Fpm.MainUISeleniumTest
{
[TestClass]
public class BaseUnitTest
{
... | PublicHealthEngland/fingertips-open | FingertipsProfileManager/MainUISeleniumTest/BaseUnitTest.cs | https://github.com/PublicHealthEngland/fingertips-open/blob/HEAD/FingertipsProfileManager/MainUISeleniumTest/BaseUnitTest.cs | ghcode:00167:2b7613e69a03 | mit | codeparrot/github-code | 2b7613e69a030987341f0068ea017c29ef9d4d37015053e94494d92807eda5bc | 0.75 | testing_debugging_repair_refactoring | 274 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Linq;
using NUnit.Framework;
using Wyam.Common.Documents;
using Wyam.Common.Execution;
using Wyam.Core.Modules.Control;
using Wyam.Core.Modules.Extensibility;
using Wyam.Core.Execution;
using Wyam.Testing;
using Wyam.Common.IO;
using Wy... | adamclifford/Wyam | tests/core/Wyam.Core.Tests/Modules/Control/SidecarFixture.cs | https://github.com/adamclifford/Wyam/blob/HEAD/tests/core/Wyam.Core.Tests/Modules/Control/SidecarFixture.cs | ghcode:00167:4224c7e1a854 | mit | codeparrot/github-code | 4224c7e1a85431d097da5856ed3ea8b52527852afb1004be6b91a0276e85db35 | 0.7 | testing_debugging_repair_refactoring | 1,140 | false | 2026-07-17 |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Threading;
using JavaScriptE... | reactjs/React.NET | tests/React.Tests/Core/JavaScriptEngineFactoryTest.cs | https://github.com/reactjs/React.NET/blob/HEAD/tests/React.Tests/Core/JavaScriptEngineFactoryTest.cs | ghcode:00167:8fe9c85f0a7f | mit | codeparrot/github-code | 8fe9c85f0a7fcc5d784f44d92192b3f76cbeb16cbfb21fc2ff1c3d61f3fd06ab | 0.85 | testing_debugging_repair_refactoring | 5,817 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PholioVisualisation.DataAccess;
using PholioVisualisation.DataConstruction;
using PholioVisualisation.PholioObjects;
namespace PholioVisualisation.DataConstructionTest
{
... | PublicHealthEngland/fingertips-open | PholioVisualisationWS/DataConstructionTest/EthnicityLabelBuilderTest.cs | https://github.com/PublicHealthEngland/fingertips-open/blob/HEAD/PholioVisualisationWS/DataConstructionTest/EthnicityLabelBuilderTest.cs | ghcode:00167:430b1a33f6c1 | mit | codeparrot/github-code | 430b1a33f6c17f1857c02c8227b70c1265fdf7ea6539cf77d0b58cd1a5ac1d68 | 0.75 | testing_debugging_repair_refactoring | 775 | false | 2026-07-17 |
namespace SimpleInjector.Tests.Unit
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class ContainerCollectionsCreateRegistrationTests
{
[TestMethod]
public void CreateRegistration_Ca... | simpleinjector/SimpleInjector | src/SimpleInjector.Tests.Unit/ContainerCollectionsCreateRegistrationTests.cs | https://github.com/simpleinjector/SimpleInjector/blob/HEAD/src/SimpleInjector.Tests.Unit/ContainerCollectionsCreateRegistrationTests.cs | ghcode:00167:839b03c2c94a | mit | codeparrot/github-code | 839b03c2c94a08e29558b74f927ddb8f57ab9dda264407512ff21b5ab0a7a99e | 0.85 | testing_debugging_repair_refactoring | 658 | false | 2026-07-17 |
using System;
using DavidLievrouw.Voter.Domain.DTO;
using Nancy.Session;
using NUnit.Framework;
namespace DavidLievrouw.Voter.Security.Nancy {
[TestFixture]
public class NancySessionTests {
[Test]
public void ConstructorTests() {
Assert.Throws<ArgumentNullException>(() => new NancySession(null));
... | DavidLievrouw/Voter | src/Voter.Tests/Security/Nancy/NancySessionTests.cs | https://github.com/DavidLievrouw/Voter/blob/HEAD/src/Voter.Tests/Security/Nancy/NancySessionTests.cs | ghcode:00167:12c0605badc6 | mit | codeparrot/github-code | 12c0605badc6bceb3874812663cd22a951f773c5c7ae369a3e790de5688792e7 | 0.75 | testing_debugging_repair_refactoring | 240 | false | 2026-07-17 |
using System;
using Markify.Domain.Compiler;
using Markify.Services.Rendering.T4.Tests.Attributes;
using NFluent;
using Xunit;
namespace Markify.Services.Rendering.T4.Tests
{
public sealed partial class DefinitionFormatterTests
{
[Fact]
public void GetPropertyAccess_ShouldThrow_WhenDefinitionI... | Julien-Pires/Markify | src/Services/Rendering/Markify.Services.Rendering.T4.Tests/DefinitionFormatter/DefinitionFormatter.GetPropertyAccess.Tests.cs | https://github.com/Julien-Pires/Markify/blob/HEAD/src/Services/Rendering/Markify.Services.Rendering.T4.Tests/DefinitionFormatter/DefinitionFormatter.GetPropertyAccess.Tests.cs | ghcode:00167:c5d88588865d | mit | codeparrot/github-code | c5d88588865d12973d85fe671841a5dc8217dcbadeaee61f79f2ace0136b740c | 0.75 | testing_debugging_repair_refactoring | 526 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using FizzWare.NBuilder;
using NUnit.Framework;
using Should;
using WithFormat.Cultures;
using WithFormat.ULong;
namespace UnitTests
{
[TestFixture]
public class ULongFormatTests
{
private... | TheCrow1213/WithFormat | UnitTests/ULongFormatTests.cs | https://github.com/TheCrow1213/WithFormat/blob/HEAD/UnitTests/ULongFormatTests.cs | ghcode:00167:10b2bbd2b9c4 | mit | codeparrot/github-code | 10b2bbd2b9c4b190872f686f27d33493c9de3ce82f6cd04607861618dca0e808 | 0.75 | testing_debugging_repair_refactoring | 855 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BLM.NetStandard.Exceptions;
using BLM.NetStandard.Tests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BLM.EF7.Tests
{
[TestClass]
public class ReferenceInsertTests : AbstractEfRepositoryTest... | FuryTechs/FuryTech.BLM | BLM.EF7.Tests/EntityFrameworkReferenceInsertTests.cs | https://github.com/FuryTechs/FuryTech.BLM/blob/HEAD/BLM.EF7.Tests/EntityFrameworkReferenceInsertTests.cs | ghcode:00167:aba945058083 | mit | codeparrot/github-code | aba94505808335e3a5142e03261e84a7a685e131aee698a0185ad509699973a9 | 0.75 | testing_debugging_repair_refactoring | 1,038 | false | 2026-07-17 |
using System;
using System.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MultiSafepay.Model;
namespace MultiSafepay.IntegrationTests.Orders
{
[TestClass]
public class Order
{
[TestMethod]
public void Orders_CreateOrder()
{
// Arrange
... | MultiSafepay/.Net | Tests/MultiSafepay.IntegrationTests/Orders/Order.cs | https://github.com/MultiSafepay/.Net/blob/HEAD/Tests/MultiSafepay.IntegrationTests/Orders/Order.cs | ghcode:00167:aefbb4ca2184 | mit | codeparrot/github-code | aefbb4ca21841b525d82b95a813bd343091b0d274b74e6564a38d82e3c0793c6 | 0.85 | testing_debugging_repair_refactoring | 410 | false | 2026-07-17 |
using CommonTools.Lib.fx45.ByteCompression;
using CommonTools.Lib.fx45.FileSystemTools;
using FluentAssertions;
using System.IO;
using Xunit;
namespace FreshCopy.Tests.CompressionTests
{
[Trait("Batch", "2")]
[Trait("Managed LZMA", "Temp IO")]
public class ManagedLzmaFacts
{
[Fact(DisplayName ... | peterson1/FreshCopy | FreshCopy.Tests/CompressionTests/ManagedLzmaFacts.cs | https://github.com/peterson1/FreshCopy/blob/HEAD/FreshCopy.Tests/CompressionTests/ManagedLzmaFacts.cs | ghcode:00167:aaa2361096a6 | mit | codeparrot/github-code | aaa2361096a6f9a2ce262beb9b29e2c7b194865c3398754011c88806445299a8 | 0.6 | testing_debugging_repair_refactoring | 248 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.MixedReality.Toolkit.Core.Extensions;
using Microsoft.MixedReality.Toolkit.Core.Utilities.Editor;
using UnityEditor;
using UnityEditor.Build.Reporting;
using UnityEngine;
using Debug = UnityEngine.D... | StephenHodgson/MixedRealityToolkit-Unity | Assets/MixedRealityToolkit/_Core/Utilities/BuildAndDeploy/UnityPlayerBuildTools.cs | https://github.com/StephenHodgson/MixedRealityToolkit-Unity/blob/HEAD/Assets/MixedRealityToolkit/_Core/Utilities/BuildAndDeploy/UnityPlayerBuildTools.cs | ghcode:00167:f7d7ff17c7c6 | mit | codeparrot/github-code | f7d7ff17c7c6690919d1e69692a9987cdf932ecdc548daf5139f4f3ceceb2ae2 | 0.7 | testing_debugging_repair_refactoring | 1,555 | false | 2026-07-17 |
using System;
using System.Threading;
using NUnit.Framework;
namespace dervish.Tests
{
public class ConsecutiveFailureBreakerTests
{
[TestFixture]
public class When_initially_created
{
[Test]
public void the_breaker_should_be_closed()
{
... | dbelcham/dervish | tests/ConsecutiveFailureBreakerTests.cs | https://github.com/dbelcham/dervish/blob/HEAD/tests/ConsecutiveFailureBreakerTests.cs | ghcode:00167:afce418ab10d | mit | codeparrot/github-code | afce418ab10dea8b4aa6fe3d91524f18c7d3513393bf2e5026d50eca64ee4109 | 0.75 | testing_debugging_repair_refactoring | 624 | false | 2026-07-17 |
using System.Linq;
using System.Xml.Linq;
using Moq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Configuration.UmbracoSettings;
using Umbraco.Core.IO;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.Services;
using Umbraco.Core.Strings;
using Umbraco.Tests.TestHelpers;
using... | lars-erik/Umbraco-CMS | src/Umbraco.Tests/Models/MediaXmlTest.cs | https://github.com/lars-erik/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Models/MediaXmlTest.cs | ghcode:00167:a5faa56fcdc0 | mit | codeparrot/github-code | a5faa56fcdc018528aa759819879a3057ea5b28d46ed2c2231c0a9cd6d68635f | 0.85 | testing_debugging_repair_refactoring | 855 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MultiverseCommunication
{
class MultiverseCommunication
{
static void Main(string[] args)
{
string v = Console.ReadLine(); //TELERIK-ACADEMY
str... | fr0wsTyl/TelerikAcademy-2015 | Telerik - C# 2/EXAM Preparation/Problem 1 – Zerg!!!/test.cs | https://github.com/fr0wsTyl/TelerikAcademy-2015/blob/HEAD/Telerik - C# 2/EXAM Preparation/Problem 1 – Zerg!!!/test.cs | ghcode:00167:88a54dc70baa | mit | codeparrot/github-code | 88a54dc70baaf6c081cf041b1bf2d28636902c085066ffa6c97e66ad3de1a052 | 0.85 | testing_debugging_repair_refactoring | 1,263 | false | 2026-07-17 |
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using NUnit.Framework;
using System;
using System.Linq;
using System.Text;
using TinyCsvParser.Mapping;
using TinyCsvParser.Tokenizer;
namespace TinyCsvParser.Test.Issues
{
[TestFixture, Description("https://git... | bytefish/TinyCsvParser | TinyCsvParser/TinyCsvParser.Test/Issues/Issue60_TrailingComma.cs | https://github.com/bytefish/TinyCsvParser/blob/HEAD/TinyCsvParser/TinyCsvParser.Test/Issues/Issue60_TrailingComma.cs | ghcode:00167:178f72db317c | mit | codeparrot/github-code | 178f72db317cedeb76bda915159473bdb86eea88f7353228a69eaf261f76317a | 0.75 | testing_debugging_repair_refactoring | 572 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Reflection;
using System.Diagnostics;
using NUnit.Framework;
using AdiCmdServerClient;
namespace mykonosUnitTest
{
[TestFixture]
public class GPIOApiFunctionalTests
{
public const ... | Zafarmoghaddam/Learning-Repo | RegressionTesting/FunctionalTests/GPIOTests.cs | https://github.com/Zafarmoghaddam/Learning-Repo/blob/HEAD/RegressionTesting/FunctionalTests/GPIOTests.cs | ghcode:00167:2a8012b93e1a | mit | codeparrot/github-code | 2a8012b93e1aaeaaef1f261905241b1772d29005aca145101745388cd8a66d55 | 0.85 | testing_debugging_repair_refactoring | 11,967 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WordPressPCL.Models;
namespace WordPressPCL.Tests.Hosted.Utility
{
[TestClass]
public class HttpHelper_Tests
{
private static WordPressClient _client;
[ClassInitialize]... | cobalto/WordPressPCL | WordPressPCL.Tests.Hosted/Utility/HttpHelper_Tests.cs | https://github.com/cobalto/WordPressPCL/blob/HEAD/WordPressPCL.Tests.Hosted/Utility/HttpHelper_Tests.cs | ghcode:00167:a21715e81f88 | mit | codeparrot/github-code | a21715e81f88b85a0fd6b49e60db7fc06135865cc430b27e6358d17f038ad43a | 0.85 | testing_debugging_repair_refactoring | 649 | false | 2026-07-17 |
using NetApp.Tests.Helpers;
using Microsoft.Azure.Management.NetApp.Models;
using Microsoft.Azure.Management.NetApp;
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Test.HttpRecorder;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System.IO;
using System.Linq;
using System.Net;
using S... | jamestao/azure-sdk-for-net | src/SDKs/NetApp/NetApp.Tests/ResourceTests/VolumeTests.cs | https://github.com/jamestao/azure-sdk-for-net/blob/HEAD/src/SDKs/NetApp/NetApp.Tests/ResourceTests/VolumeTests.cs | ghcode:00167:f85faffab750 | mit | codeparrot/github-code | f85faffab7503d314268ff003577c387afaaebd7e0d8d51efbf1a37de615ccc4 | 0.85 | testing_debugging_repair_refactoring | 2,799 | 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.IO;
using Xunit;
namespace System.Diagnostics.TextWriterTraceListene... | mafiya69/corefx | src/System.Diagnostics.TextWriterTraceListener/tests/CtorsDelimiterTests.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Diagnostics.TextWriterTraceListener/tests/CtorsDelimiterTests.cs | ghcode:00167:0e046a9addb7 | mit | codeparrot/github-code | 0e046a9addb7bc5413281fce21c2e9edb32ec852d7fefc442d62d965d430c2a7 | 0.95 | testing_debugging_repair_refactoring | 654 | false | 2026-07-17 |
using Microsoft.AspNet.Identity;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SerialLabs.UnitTestHelpers;
using System.Collections.Generic;
namespace SerialLabs.AspNet.Identity.AzureTable.Tests
{
class Comparers
{
public static void AreEquals(IdentityUser expected, IdentityUser actual)
... | serial-labs/SharedLibraries | Source/UnitTests/SerialLabs.AspNet.Identity.AzureTable.Tests/Comparers.cs | https://github.com/serial-labs/SharedLibraries/blob/HEAD/Source/UnitTests/SerialLabs.AspNet.Identity.AzureTable.Tests/Comparers.cs | ghcode:00167:aad86feb5745 | mit | codeparrot/github-code | aad86feb5745559019221e2f23b8314219b39c23626d1c860f84da541886516a | 0.6 | testing_debugging_repair_refactoring | 626 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using RapidCore.Locking;
using RapidCore.Redis.Locking;
using StackExchange.Redis.Extensions.Core.Configuration;
using StackExchange.Redis.Extensions.Core.Implementations;
using Xunit;
namespace RapidCore.Redis.FunctionalTest.Locking
{
public class RedisDistributedAppLoc... | rapidcore/rapidcore | src/redis/test-functional/Locking/RedisDistributedAppLockProviderTest.cs | https://github.com/rapidcore/rapidcore/blob/HEAD/src/redis/test-functional/Locking/RedisDistributedAppLockProviderTest.cs | ghcode:00167:d2a537a57e6b | mit | codeparrot/github-code | d2a537a57e6bdd42b9744a8445e862f08718661f8bb7739b8c5291e47e1a1216 | 0.85 | testing_debugging_repair_refactoring | 1,396 | false | 2026-07-17 |
using NUnit.Framework;
using SearchLighterNetTests.Helpers;
using SearchLighterNET;
namespace SearchLighterNetTests.Tests.Internals
{
[TestFixture]
public class EscapeMarkupTests
{
[TestCase(
"<br<br>><br/>a<br><BR /><br><br<br<br>>><br>b<BR/>c<br/>d<br/><br><br /><br><<br>br<br>>",
... | wingmsr/SearchLighterNET | SearchLighterNetTests/Tests/Internals/EscapeMarkupTests.cs | https://github.com/wingmsr/SearchLighterNET/blob/HEAD/SearchLighterNetTests/Tests/Internals/EscapeMarkupTests.cs | ghcode:00167:2becd55ceef8 | mit | codeparrot/github-code | 2becd55ceef871eac455098f9cc62d3ade3ff88223e93d6acce540701ecdd6aa | 0.85 | testing_debugging_repair_refactoring | 462 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ObservableEntitiesLightTracking.ComponentModel;
using ObservableEntitiesLightTracking.Tests.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ObservableEntitiesLightTracking.Tes... | ciprianciurea/ObservableEntitiesLightTracking | ObservableEntitiesLightTracking/ObservableEntitiesLightTracking.Tests/ValidationServiceProviderTests.cs | https://github.com/ciprianciurea/ObservableEntitiesLightTracking/blob/HEAD/ObservableEntitiesLightTracking/ObservableEntitiesLightTracking.Tests/ValidationServiceProviderTests.cs | ghcode:00167:1f65ceca6507 | mit | codeparrot/github-code | 1f65ceca6507d1caf1778b894ff00a0a7c41f587f549c7fa5e7d99a935d260a9 | 0.75 | testing_debugging_repair_refactoring | 422 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using BookStore.Data.Model;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using BookStore.Common;
namespace BookStore.Data.Models.Tests.BookTests
{
[TestFixture]
public class BookRating_Should
{
[Test]
public void HaveCorrectRangeAttr... | RossyB/ASP.NET-MVC-Final-Project | BookStore/Tests/BookStore.Data.Models.Tests/BookTests/BookRating_Should.cs | https://github.com/RossyB/ASP.NET-MVC-Final-Project/blob/HEAD/BookStore/Tests/BookStore.Data.Models.Tests/BookTests/BookRating_Should.cs | ghcode:00167:467f2610d2dc | mit | codeparrot/github-code | 467f2610d2dc92721b4ba91a7be1cc1ea1bffbd4c31747bd88d6f520f35801cb | 0.95 | testing_debugging_repair_refactoring | 505 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UAOOI.Networking.SemanticData.DataRepository;
using UAOOI.Configuration.Networking.Serialization;
using System.ComponentModel;
namespace UAOOI.Networking.SemanticData.UnitTest
{
[TestClass]
public class ProducerBindingMonitoredValueUnitTest
... | mpostol/OPC-UA-OOI | Networking/Tests/SemanticDatalUnitTest/ProducerBindingMonitoredValueUnitTest.cs | https://github.com/mpostol/OPC-UA-OOI/blob/HEAD/Networking/Tests/SemanticDatalUnitTest/ProducerBindingMonitoredValueUnitTest.cs | ghcode:00167:3a416cde7903 | mit | codeparrot/github-code | 3a416cde7903d45df08aaef670f30ae320d794967275cd483748c51928a943fb | 0.85 | testing_debugging_repair_refactoring | 1,310 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using AmplaData.Binding.MetaData;
using AmplaData.Binding.ViewData;
using AmplaData.Records;
using NUnit.Framework;
namespace AmplaData.Binding.History
{
[TestFixture]
public class AmplaRecordHistoryUnitTests : RecordEventDetectionTestFixture
{
[Test... | Ampla/Ampla-Data | src/AmplaData.Tests/Binding/History/AmplaRecordHistoryUnitTests.cs | https://github.com/Ampla/Ampla-Data/blob/HEAD/src/AmplaData.Tests/Binding/History/AmplaRecordHistoryUnitTests.cs | ghcode:00167:268decacb288 | mit | codeparrot/github-code | 268decacb288c2764f389f47f4b028d495e2e4c6e06ccf851ece3b5a9469e4e1 | 0.75 | testing_debugging_repair_refactoring | 819 | false | 2026-07-17 |
using Light.Command.CommandValidaters;
using Light.Command.Contracts;
using Light.Command.PersonCommand;
using Light.DataContracts.Repositories;
using Light.DIManager;
using Light.Domain.Bus.EventHandler;
using Light.ErrorHandler;
using Light.ErrorHandler.Contracts;
using Light.Event;
using Light.Event.PersonEvent;
us... | yasirliu/net-lightBoilerplate | UnitTest/Light.Command.UnitTest/ModifyPersonCommandTest.cs | https://github.com/yasirliu/net-lightBoilerplate/blob/HEAD/UnitTest/Light.Command.UnitTest/ModifyPersonCommandTest.cs | ghcode:00167:ca688d29b1b4 | mit | codeparrot/github-code | ca688d29b1b432de987eb89b9db7eb1b3eb0afee6df61c684e2e8d89d63e582d | 0.7 | testing_debugging_repair_refactoring | 901 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.IO.Enumeration;
namespace System.IO
{
partial class FileSystemInfo
{... | zhenlan/corefx | src/System.IO.FileSystem/src/System/IO/FileSystemInfo.Windows.cs | https://github.com/zhenlan/corefx/blob/HEAD/src/System.IO.FileSystem/src/System/IO/FileSystemInfo.Windows.cs | ghcode:00167:e68c096a5d01 | mit | codeparrot/github-code | e68c096a5d018ff0251418a1edf65797a584304372e5f55f6e0ee3fae1e9fcfe | 0.95 | testing_debugging_repair_refactoring | 1,031 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using WorkflowCore.Interface;
using WorkflowCore.Models;
using Xunit;
using FluentAssertions;
using System.Linq;
using System.Threading.Tasks;
using WorkflowCore.Testing;
using WorkflowCore.Users.Models;
namespace WorkflowCore.IntegrationTests.Scenarios
{
public cla... | danielgerlag/workflow-core | test/WorkflowCore.IntegrationTests/Scenarios/RetrySagaWithUserTaskScenario.cs | https://github.com/danielgerlag/workflow-core/blob/HEAD/test/WorkflowCore.IntegrationTests/Scenarios/RetrySagaWithUserTaskScenario.cs | ghcode:00167:443dc4d10738 | mit | codeparrot/github-code | 443dc4d107385fe5496fc4c853ab6c2ee5c827a31d56539db0a7ad7a5b0c39c1 | 0.75 | testing_debugging_repair_refactoring | 1,111 | 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.Threading;
using System.Threading.Tasks;
us... | VSadov/corefxlab | tests/System.Threading.Tasks.Channels.Tests/TestBase.cs | https://github.com/VSadov/corefxlab/blob/HEAD/tests/System.Threading.Tasks.Channels.Tests/TestBase.cs | ghcode:00167:2493b481a194 | mit | codeparrot/github-code | 2493b481a1949d5622f6ea83ac7242f42148c8877bcfaa1470a19043bf6a4184 | 0.85 | testing_debugging_repair_refactoring | 354 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using Microsoft.CodeAnalysis.CSharp.Syntax;
usin... | tmat/roslyn | src/EditorFeatures/CSharpTest/EditAndContinue/Helpers/EditingTestBase.cs | https://github.com/tmat/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/EditAndContinue/Helpers/EditingTestBase.cs | ghcode:00167:9bf817f965ec | mit | codeparrot/github-code | 9bf817f965ec62facc00061157dee1170c57709c39d577b637f44a3a3ecd6bfa | 0.85 | testing_debugging_repair_refactoring | 1,547 | false | 2026-07-17 |
/*
Copyright (C) 2013-2015 MetaMorph Software, Inc
Permission is hereby granted, free of charge, to any person obtaining a
copy of this data, including any software or models in source or binary
form, as well as any drawings, specifications, and documentation
(collectively "the Data"), to deal in the Data witho... | pombredanne/metamorphosys-desktop | metamorphosys/tonka/test/CyPhy2RFTest/CEMCADTest.cs | https://github.com/pombredanne/metamorphosys-desktop/blob/HEAD/metamorphosys/tonka/test/CyPhy2RFTest/CEMCADTest.cs | ghcode:00167:61e3fefd5953 | mit | codeparrot/github-code | 61e3fefd5953fd9d752ffef56d3eca3d7c5b55c24f7fc873d4cdf23b1347ed71 | 0.95 | testing_debugging_repair_refactoring | 5,252 | false | 2026-07-17 |
using Goomer.Data.Common.Contracts;
using Goomer.Data.Models;
using Goomer.Services.Data.Contracts;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Goomer.Services.Data.Tests.RimsWithTiresServiceTests
{
... | gyankov/Goomer | Goomer/Goomer.Services.Data.Tests/RimsWithTiresServiceTests/Constructor_Should.cs | https://github.com/gyankov/Goomer/blob/HEAD/Goomer/Goomer.Services.Data.Tests/RimsWithTiresServiceTests/Constructor_Should.cs | ghcode:00167:8f83223cdc91 | apache-2.0 | codeparrot/github-code | 8f83223cdc91b0e280be5f97c783eef284f65d97d99e0bd58762f99c3a52f89b | 0.6 | testing_debugging_repair_refactoring | 463 | false | 2026-07-17 |
// Copyright 2014, 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... | googleads/googleads-dotnet-lib | tests/Common/Logging/DefaultBodyFormatterTests.cs | https://github.com/googleads/googleads-dotnet-lib/blob/HEAD/tests/Common/Logging/DefaultBodyFormatterTests.cs | ghcode:00167:1792e6bbd835 | apache-2.0 | codeparrot/github-code | 1792e6bbd835083a8510ac5fd22a7bed14fb6770e724f04305528eae17e6cfc7 | 0.85 | testing_debugging_repair_refactoring | 345 | false | 2026-07-17 |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.a... | citizenmatt/gallio | src/Gallio/Gallio.Tests/Framework/TasksTest.cs | https://github.com/citizenmatt/gallio/blob/HEAD/src/Gallio/Gallio.Tests/Framework/TasksTest.cs | ghcode:00167:30c21c60b799 | apache-2.0 | codeparrot/github-code | 30c21c60b79999fdd1ceb0349b71ac3d4853c0277359d6317b49a946b4de841c | 0.85 | testing_debugging_repair_refactoring | 1,041 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Question_08_11_Coins
{
public class Solution : ISolution
{
public int MakeChange(int amount)
{
Dictionary<int, int> numberOfInstances = new Dictionary<int, int>();
numberOfInstances.Add(... | qulia/CrackingTheCodingInterview | Question_08_11_Coins/Solution.cs | https://github.com/qulia/CrackingTheCodingInterview/blob/HEAD/Question_08_11_Coins/Solution.cs | ghcode:00167:e032bb216ff3 | apache-2.0 | codeparrot/github-code | e032bb216ff37f28f3965658fb907a97b5e683c825600c553a1df32234a84a37 | 0.85 | testing_debugging_repair_refactoring | 835 | false | 2026-07-17 |
/*
* Forge SDK
*
* The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
*
* OpenAPI spec version: 0.1.0
* Contact: forge.help@autodesk.com
* Ge... | Autodesk-Forge/forge-api-dotnet-client | src/Autodesk.Forge.Test/Model/JobSvfOutputPayloadTests.cs | https://github.com/Autodesk-Forge/forge-api-dotnet-client/blob/HEAD/src/Autodesk.Forge.Test/Model/JobSvfOutputPayloadTests.cs | ghcode:00167:4a2e31671ea9 | apache-2.0 | codeparrot/github-code | 4a2e31671ea9408bbba587dce95a1532ac19bdd2e69662a34856bf4a72f16377 | 0.85 | testing_debugging_repair_refactoring | 619 | false | 2026-07-17 |
using System.Windows;
using Demo.MessageBox;
using Moq;
using MvvmDialogs;
using NUnit.Framework;
namespace Demo.MessageBoxTest
{
[TestFixture]
public class MainWindowViewModelTest
{
private Mock<IDialogService> dialogService;
private MainWindowViewModel viewModel;
[SetUp]
... | gigios/mvvm-dialogs | src/NET/Demos/Demo.MessageBoxTest/MainWindowViewModelTest.cs | https://github.com/gigios/mvvm-dialogs/blob/HEAD/src/NET/Demos/Demo.MessageBoxTest/MainWindowViewModelTest.cs | ghcode:00167:d40f78d2398d | apache-2.0 | codeparrot/github-code | d40f78d2398d7956a718342f40478acb2f7a6d1d81fd43c0b74dc0b9935eb414 | 0.7 | testing_debugging_repair_refactoring | 568 | false | 2026-07-17 |
using System.Linq;
using Telerik.OpenAccess;
using Telerik.OpenAccess.Metadata;
namespace TestApplication.Models
{
public class TestOAContext : OpenAccessContext
{
private readonly static MetadataContainer metadataContainer = new TestMappingSource().GetModel();
private readonly static BackendC... | damyanbogoev/openaccess-orm-demo | OpenAccessORM_Glimpse/OAGlimpse/Source/TestApplication/Models/TestOAContext.cs | https://github.com/damyanbogoev/openaccess-orm-demo/blob/HEAD/OpenAccessORM_Glimpse/OAGlimpse/Source/TestApplication/Models/TestOAContext.cs | ghcode:00167:4737f40cdfc6 | apache-2.0 | codeparrot/github-code | 4737f40cdfc69ef87c468749e6c998f3145becdd93930886477686e877e3e8fc | 0.75 | testing_debugging_repair_refactoring | 201 | false | 2026-07-17 |
using FluentAssertions;
using NesZord.Tests.AddressingMode;
using Xunit;
namespace NesZord.Tests.OpCodes.AND
{
public abstract class When_process_AND_should<T>
: When_process_opcode_with_addressing_mode_should<T> where T : IAddressingMode
{
public When_process_AND_should(T addressingMode)
: base(addressingMo... | rmterra/NesZord | src/NesZord.Tests/OpCodes/AND/When_process_AND_should.cs | https://github.com/rmterra/NesZord/blob/HEAD/src/NesZord.Tests/OpCodes/AND/When_process_AND_should.cs | ghcode:00167:f74d4d6e45e4 | apache-2.0 | codeparrot/github-code | f74d4d6e45e4f02a6eb6b50198b196647aa9b4b4e16484535aabd3bcdc1b5bbb | 0.7 | testing_debugging_repair_refactoring | 427 | false | 2026-07-17 |
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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... | NakedObjectsGroup/NakedObjectsFramework | NakedFramework/NakedFramework.Rest.Test.Data/TestKeyCodeMapper.cs | https://github.com/NakedObjectsGroup/NakedObjectsFramework/blob/HEAD/NakedFramework/NakedFramework.Rest.Test.Data/TestKeyCodeMapper.cs | ghcode:00167:8e237da0bba2 | apache-2.0 | codeparrot/github-code | 8e237da0bba265fadea19009ec64bd6a893d0b00ab93e6209a6313c9d9270fab | 0.85 | testing_debugging_repair_refactoring | 680 | false | 2026-07-17 |
/*
* Copyright 2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | GoogleCloudPlatform/dotnet-docs-samples | compute/api/Compute.Samples.Tests/GetUsageExportBucketAsyncTest.cs | https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/HEAD/compute/api/Compute.Samples.Tests/GetUsageExportBucketAsyncTest.cs | ghcode:00167:2b233bea7a14 | apache-2.0 | codeparrot/github-code | 2b233bea7a1477cfac1dc023925f0d7cdc99fb7ac020ab2d6fb0f0d9fa49052b | 0.75 | testing_debugging_repair_refactoring | 245 | false | 2026-07-17 |
using AllYourTextsUi;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using AllYourTextsUi.Framework;
using AllYourTextsLib.Framework;
using DummyData;
using AllYourTextsTest.Mock_Objects;
namespace AllYourTextsTest
{
/// <summary>
///This is a test class for ConversationRendererPl... | AllYourTexts/AllYourTexts | AllYourTextsTest/UI Tests/ConversationRendererPlaintextTest.cs | https://github.com/AllYourTexts/AllYourTexts/blob/HEAD/AllYourTextsTest/UI Tests/ConversationRendererPlaintextTest.cs | ghcode:00167:2e41863680c7 | apache-2.0 | codeparrot/github-code | 2e41863680c790e5eda8f6320e87769f010be4152f91b12ece6e17b1d09e3926 | 0.7 | testing_debugging_repair_refactoring | 744 | false | 2026-07-17 |
using System;
using Nest;
using Tests.Framework;
namespace Tests.Analysis.TokenFilters
{
/**
*/
public class TokenFilterUsageTests : PromiseUsageTestBase<IIndexSettings, IndexSettingsDescriptor, IndexSettings>
{
protected override object ExpectJson => new
{
analysis = new
{
filter = new
{
... | KodrAus/elasticsearch-net | src/Tests/Analysis/TokenFilters/TokenFilterUsageTests.cs | https://github.com/KodrAus/elasticsearch-net/blob/HEAD/src/Tests/Analysis/TokenFilters/TokenFilterUsageTests.cs | ghcode:00167:bc3bb9f09837 | apache-2.0 | codeparrot/github-code | bc3bb9f09837eee3c96067ed07ffa1c9c7f56af6f2adf0f19d8c732d6f0192f0 | 0.95 | testing_debugging_repair_refactoring | 3,644 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Reflection;
using IbaMonitoring.ServiceTests.Orm;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.Unity;
using NServiceKit.OrmLite;
using TechTalk.SpecFlow;
namespace IbaMonitoring.ServiceTests
{
[Binding]
[System.Diagnostics.CodeAnaly... | stephenfuqua/IbaMonitoring | IbaMonitoring.ServiceTests/TestHooks.cs | https://github.com/stephenfuqua/IbaMonitoring/blob/HEAD/IbaMonitoring.ServiceTests/TestHooks.cs | ghcode:00167:444a317decb6 | apache-2.0 | codeparrot/github-code | 444a317decb636234f54fdf40df0511432a177cc9cb65fb3ae8da5d4f8e89e8e | 0.85 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
// Copyright (c) 2008-2018, Hazelcast, 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... | asimarslan/hazelcast-csharp-client | Hazelcast.Test/Hazelcast.Client.Test/ClientIpV6AddressTest.cs | https://github.com/asimarslan/hazelcast-csharp-client/blob/HEAD/Hazelcast.Test/Hazelcast.Client.Test/ClientIpV6AddressTest.cs | ghcode:00167:f59866787114 | apache-2.0 | codeparrot/github-code | f59866787114186935c2288a8e5c53d89a646e5f9839a70697ced14e24a2a4e9 | 0.85 | testing_debugging_repair_refactoring | 738 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.MockData;
using Xunit;
namespace Tests.Document.Single.Index... | CSGOpenSource/elasticsearch-net | src/Tests/Document/Single/Index/IndexIngestAttachmentApiTests.cs | https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/Document/Single/Index/IndexIngestAttachmentApiTests.cs | ghcode:00167:eff842f5a7d2 | apache-2.0 | codeparrot/github-code | eff842f5a7d27bc718b75689250f849fcd9bf6141281982280fecd5e7e9245d9 | 0.85 | testing_debugging_repair_refactoring | 1,123 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using Orleankka;
using Orleankka.Meta;
using Orleankka.Cluster;
using Streamstone;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
... | pkese/Orleankka | Source/Example.EventSourcing.Persistence.Streamstone/Infrastructure.cs | https://github.com/pkese/Orleankka/blob/HEAD/Source/Example.EventSourcing.Persistence.Streamstone/Infrastructure.cs | ghcode:00167:98778e3c9d97 | apache-2.0 | codeparrot/github-code | 98778e3c9d9704f4a697e5ddf353a065480690e061e149149144f852cf8a6e3c | 0.75 | testing_debugging_repair_refactoring | 1,044 | 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.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.C... | swaroop-sridhar/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/UpgradeProject/UpgradeProjectTests.cs | https://github.com/swaroop-sridhar/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/UpgradeProject/UpgradeProjectTests.cs | ghcode:00167:c1af528b8949 | apache-2.0 | codeparrot/github-code | c1af528b8949eedf24c59cf2a4ec15d94b83d0a242ed820538ea4ab0df345aa7 | 0.85 | testing_debugging_repair_refactoring | 5,146 | 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.Diagnostics;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.CodeAnalysis.UnitTests;
using Roslyn.Test.Utilities;
us... | mattwar/roslyn-analyzers | src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/ProvideObsoleteAttributeMessageTests.cs | https://github.com/mattwar/roslyn-analyzers/blob/HEAD/src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/ProvideObsoleteAttributeMessageTests.cs | ghcode:00167:f2207e4c2064 | apache-2.0 | codeparrot/github-code | f2207e4c2064e49272ea11cc1bad418d095d04573a42974493813f3822c69542 | 0.75 | testing_debugging_repair_refactoring | 145 | false | 2026-07-17 |
using EasyCQRS.Azure.Config;
using Moq;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace EasyCQRS.Azure.Tests
{
public class DefaultConfigurationManagerTests
{
[Fact]
public void DefaultConfigurationManager_IsAssignableFromIConfigurationManager()
... | kellermanrivero/easyCQRS | Modules/EasyCQRS.Azure.Tests/DefaultConfigurationManagerTests.cs | https://github.com/kellermanrivero/easyCQRS/blob/HEAD/Modules/EasyCQRS.Azure.Tests/DefaultConfigurationManagerTests.cs | ghcode:00167:afafbe0eee07 | bsd-3-clause | codeparrot/github-code | afafbe0eee07e6e40822b4358a246e9f5257503990a8aa662092aba11fdebbbf | 0.75 | testing_debugging_repair_refactoring | 290 | false | 2026-07-17 |
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="none" email=""/>
// <version>$Revision: 3715 $</version>
// </file>
using System;
using System.IO;
using NUnit.Framework;
using ICSharpCode.NRefactory.Parser;
using ICSharpCode... | jbuedel/AgentRalphPlugin | NRefactory/Test/Lexer/CSharp/NumberLexerTest.cs | https://github.com/jbuedel/AgentRalphPlugin/blob/HEAD/NRefactory/Test/Lexer/CSharp/NumberLexerTest.cs | ghcode:00167:f80912c82c9f | bsd-3-clause | codeparrot/github-code | f80912c82c9f0c5f36bdad57ff2c6a01cf5b2a82fa43568ae516d63dccecf586 | 0.95 | testing_debugging_repair_refactoring | 1,795 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using static PeanutButter.RandomGenerators.RandomValueGen;
using NExpect;
using PeanutButter.SimpleHTTPServer;
using static NExpect.Expectations;
// ReSharper disable ExpressionIs... | fluffynuts/PeanutButter | source/Utils/PeanutButter.Utils.Tests/TestStreamExtensions.cs | https://github.com/fluffynuts/PeanutButter/blob/HEAD/source/Utils/PeanutButter.Utils.Tests/TestStreamExtensions.cs | ghcode:00167:ac587c016393 | bsd-3-clause | codeparrot/github-code | ac587c0163936353de48f94787132631b8bace6908049c01d0fa64d5ed8111d3 | 0.85 | testing_debugging_repair_refactoring | 5,663 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NiL.JS.Core;
namespace Tests
{
[TestClass]
public sealed class StringInterpolationTests
{
[TestMethod]
public void StringInterpolationAllowsStrings()
{
var context = new Context();
var code = @"`This ... | nilproject/NiL.JS | Tests/StringInterpolationTests.cs | https://github.com/nilproject/NiL.JS/blob/HEAD/Tests/StringInterpolationTests.cs | ghcode:00167:29c23035102e | bsd-3-clause | codeparrot/github-code | 29c23035102ed9337c6cff2316819cd21b4d17a54eeef5c5debaec01e20ae629 | 0.85 | testing_debugging_repair_refactoring | 384 | false | 2026-07-17 |
//Copyright (c) 2007. Clarius Consulting, Manas Technology Solutions, InSTEDD
//http://code.google.com/p/moq/
//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... | JohanLarsson/moq4 | Source/Linq/Mock.cs | https://github.com/JohanLarsson/moq4/blob/HEAD/Source/Linq/Mock.cs | ghcode:00167:0c9e5a73bc5a | bsd-3-clause | codeparrot/github-code | 0c9e5a73bc5a94ff1e25c03dd878c58d11607649e727be97c8f32653a4ddcea4 | 0.7 | testing_debugging_repair_refactoring | 910 | false | 2026-07-17 |
using System;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
using NUnit.Framework.Internal.Commands;
namespace Tailviewer.Api.Tests
{
/// <summary>
/// This attribute marks a flaky test which should be retried on failure.
/// This includes tests which fail not due to an assertion failur... | Kittyfisto/Tailviewer | src/Tailviewer.Api.Tests/FlakyTestAttribute.cs | https://github.com/Kittyfisto/Tailviewer/blob/HEAD/src/Tailviewer.Api.Tests/FlakyTestAttribute.cs | ghcode:00167:d8c28ba67862 | mit | codeparrot/github-code | d8c28ba678629427bd80e0d3fe18a249f6e69a08c75312ebebf142fcd1b015f6 | 0.7 | testing_debugging_repair_refactoring | 411 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Jobs;
namespace BenchmarkDotNet.Samples
{
[Config(typeof(ConfigWithCustomEnvVars))]
public class IntroEnvVars
{
private class ConfigWithCustomEnvVars : ManualConfig
{
... | Ky7m/BenchmarkDotNet | samples/BenchmarkDotNet.Samples/IntroEnvVars.cs | https://github.com/Ky7m/BenchmarkDotNet/blob/HEAD/samples/BenchmarkDotNet.Samples/IntroEnvVars.cs | ghcode:00167:79dfb08e172f | mit | codeparrot/github-code | 79dfb08e172f682085d91fdde574897f56c3c5b40e9a1a9461861032119eabea | 0.75 | testing_debugging_repair_refactoring | 176 | 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.Threading.Tasks;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace Microsoft.Azure.EventHubs.Tests
{
public class TestRunFixture : X... | hyonholee/azure-sdk-for-net | sdk/eventhub/Microsoft.Azure.EventHubs/tests/Infrastructure/TestRunFixture.cs | https://github.com/hyonholee/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Microsoft.Azure.EventHubs/tests/Infrastructure/TestRunFixture.cs | ghcode:00167:0b281d87cca7 | mit | codeparrot/github-code | 0b281d87cca7de0be71332bea292d46c4c2dc52dd8308cbf127877f9c53c33de | 0.95 | testing_debugging_repair_refactoring | 375 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.Remoting;
using System.Text;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
namespace SSDTDevPack.QueryCosts.UnitTests
{
[TestFixture]
public class PlanParserTe... | ktaranov/SSDT-DevPack | src/Test/QueryCost/SSDTDevPack.QueryCosts.UnitTests/Class1.cs | https://github.com/ktaranov/SSDT-DevPack/blob/HEAD/src/Test/QueryCost/SSDTDevPack.QueryCosts.UnitTests/Class1.cs | ghcode:00167:4bf1262ab815 | mit | codeparrot/github-code | 4bf1262ab815c331d777077e9e0c648e84ee214b5ac88743ff4469d7d0c9a9d7 | 0.95 | testing_debugging_repair_refactoring | 5,220 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Org.BouncyCastle.Asn1;
using Org.BouncyCastle.Asn1.Tsp;
namespace Org.BouncyCastle.Tsp.Tests
{
[TestFixture]
public class GenTimeAccuracyUnitTest
{
private static readonly DerInteger ZERO_VALUE = new DerInteger(0);
private static readonly DerInteger ONE_... | GaloisInc/hacrypto | src/C#/BouncyCastle/BouncyCastle-1.7/crypto/test/src/tsp/test/GenTimeAccuracyTest.cs | https://github.com/GaloisInc/hacrypto/blob/HEAD/src/C#/BouncyCastle/BouncyCastle-1.7/crypto/test/src/tsp/test/GenTimeAccuracyTest.cs | ghcode:00167:3d2d1118e052 | bsd-3-clause | codeparrot/github-code | 3d2d1118e0525fcf29ee18bb70ff50a3ec12b0032159a0fd52dc00b7dec9d4fe | 0.85 | testing_debugging_repair_refactoring | 807 | false | 2026-07-17 |
using NUnit.Framework;
using System.Threading.Tasks;
namespace NSpec.Tests.WhenRunningSpecs
{
[TestFixture]
[Category("RunningSpecs")]
[Category("Async")]
public class describe_async_after : when_describing_async_hooks
{
class SpecClass : BaseSpecClass
{
void given_asyn... | mattflo/NSpec | sln/test/NSpec.Tests/WhenRunningSpecs/describe_async_after.cs | https://github.com/mattflo/NSpec/blob/HEAD/sln/test/NSpec.Tests/WhenRunningSpecs/describe_async_after.cs | ghcode:00167:ea45bc5b7c05 | mit | codeparrot/github-code | ea45bc5b7c05f7ed04d183aeb0b407fd8dcb05ef75fcefd3f40982d280bae49c | 0.95 | testing_debugging_repair_refactoring | 508 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.Xna.Framework;
namespace FarseerPhysics.Common.PolygonManipulation
{
enum PolyClipType
{
Intersect,
Union,
Difference
}
public enum PolyClipError
{
None,
DegeneratedOutput,
NonSimpleInput,
BrokenResult
}
... | ericmbernier/Nez | Nez.FarseerPhysics/Farseer/Common/PolygonManipulation/YuPengClipper.cs | https://github.com/ericmbernier/Nez/blob/HEAD/Nez.FarseerPhysics/Farseer/Common/PolygonManipulation/YuPengClipper.cs | ghcode:00167:def5cf0b9d66 | mit | codeparrot/github-code | def5cf0b9d661bb39dc9f37ea47c7db08cbf46cb1e4cfe33465fcc242c0abb41 | 0.85 | testing_debugging_repair_refactoring | 4,313 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework.Interfaces;
namespace NUnit.Framework.Internal
{
[TestFixture]
public class TestXmlTests
{
private TestSuite testSuite;
private TestFixture testFixture;
private TestMethod testMethod;
[SetUp]
pub... | ArsenShnurkov/nunit | src/NUnitFramework/tests/Internal/TestXmlTests.cs | https://github.com/ArsenShnurkov/nunit/blob/HEAD/src/NUnitFramework/tests/Internal/TestXmlTests.cs | ghcode:00167:a5c8aeb3a486 | mit | codeparrot/github-code | a5c8aeb3a4862fe7e448120d50fb98a1cf6fbfedae589653982fbacfdab61e53 | 0.95 | testing_debugging_repair_refactoring | 1,147 | false | 2026-07-17 |
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System.Threading;
using Moq;
using NUnit.Framework;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Cache;
using Umbraco.Cms.Core.Hosting;
using Umbraco.Cms.Core.IO;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.PropertyEditors;
using Umbraco.Cms.... | umbraco/Umbraco-CMS | tests/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Services/PropertyValidationServiceTests.cs | https://github.com/umbraco/Umbraco-CMS/blob/HEAD/tests/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Services/PropertyValidationServiceTests.cs | ghcode:00167:2a7e75805091 | mit | codeparrot/github-code | 2a7e7580509119042649cf04baf26b122ba1b9d3b67ddfd2593e908648c04261 | 0.85 | testing_debugging_repair_refactoring | 2,273 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Net;
using Microsoft.Azure.Management.Network;
using Microsoft.Azure.Management.Network.Models;
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.Resources.Models;
using Microsoft.Azure.Test;
using Networks.Tests.Helpers;
using ResourceGroups.Te... | smithab/azure-sdk-for-net | src/ResourceManagement/Network/Network.Tests/Tests/NetworkSecurityGroupTests.cs | https://github.com/smithab/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/Network/Network.Tests/Tests/NetworkSecurityGroupTests.cs | ghcode:00167:66423f912860 | apache-2.0 | codeparrot/github-code | 66423f912860a9b21b1627a779b5cc9ad65fd834d2f271921dd1805aeff86c0e | 0.95 | testing_debugging_repair_refactoring | 2,589 | false | 2026-07-17 |
using NUnit.Framework;
namespace Shouldly.Tests.TestHelpers
{
[TestFixture]
public abstract class ShouldlyShouldFailureTestScenario
{
protected abstract void ShouldThrowAWobbly();
protected abstract string ChuckedAWobblyErrorMessage { get; }
[Test]
public void ShouldMethodS... | MitjaBezensek/shouldly | src/Shouldly.Tests/TestHelpers/ShouldlyShouldFailureTestScenario.cs | https://github.com/MitjaBezensek/shouldly/blob/HEAD/src/Shouldly.Tests/TestHelpers/ShouldlyShouldFailureTestScenario.cs | ghcode:00167:ecfcb0d1e7fc | bsd-3-clause | codeparrot/github-code | ecfcb0d1e7fcd18fa636b2dbe4116f14eebbbcd3746b58e703d9fa1ae9d29aa1 | 0.75 | testing_debugging_repair_refactoring | 92 | 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.Buffers.Text;
using Internal.Runtime.CompilerServices;
//
// This code is co... | Jiayili1/corefx | src/System.Memory/src/System/Number/Number.FormatAndParse.cs | https://github.com/Jiayili1/corefx/blob/HEAD/src/System.Memory/src/System/Number/Number.FormatAndParse.cs | ghcode:00167:fb4283da1ead | mit | codeparrot/github-code | fb4283da1ead51301a0a340afb2f9546344fbb7e6b5bc528b288681d013c5a59 | 0.95 | testing_debugging_repair_refactoring | 5,480 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using System.Threading;
using System.Collections.Generic;
using dsn.dev.csharp;
namespace dsn.example
{
class Program
{
static void Main(string[] args)
{
counterHelper.InitCodes();
testHelper.init();
Servic... | Microsoft/rDSN | src/tests/idl/resources/repo/csharp/counter.main.cs | https://github.com/Microsoft/rDSN/blob/HEAD/src/tests/idl/resources/repo/csharp/counter.main.cs | ghcode:00167:45ae455c6c0c | mit | codeparrot/github-code | 45ae455c6c0c2df77b35fe9367b907ad29847f5b42e78bd1d13f4c30f4be63ed | 0.85 | testing_debugging_repair_refactoring | 293 | 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... | amarzavery/azure-powershell | src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationScheduleTest.cs | https://github.com/amarzavery/azure-powershell/blob/HEAD/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationScheduleTest.cs | ghcode:00167:a4bc0747202d | apache-2.0 | codeparrot/github-code | a4bc0747202db05ae2013b08f559b452f77d0f2042b71eabc3b4d997f99d6781 | 0.85 | testing_debugging_repair_refactoring | 2,145 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="CsdlXElementSorter.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/DataEdmLib/FunctionalUtilities/CsdlXElementSorter.cs | https://github.com/abkmr/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataEdmLib/FunctionalUtilities/CsdlXElementSorter.cs | ghcode:00167:f5e19e3399e3 | mit | codeparrot/github-code | f5e19e3399e365bc9985f74779d9bab6174ce6e26f4af18928da498ece2984eb | 0.95 | testing_debugging_repair_refactoring | 2,062 | false | 2026-07-17 |
namespace DocumentDB.Samples.Shared.Util
{
using System;
using System.Collections.Generic;
using Microsoft.Azure.Documents;
/// <summary>
/// The specification/template for creating a new DocumentCollection.
/// </summary>
public class DocumentCollectionSpec
{
/// <summary>
... | activitymaster/azure-documentdb-net | samples/code-samples/Shared/Util/DocumentCollectionSpec.cs | https://github.com/activitymaster/azure-documentdb-net/blob/HEAD/samples/code-samples/Shared/Util/DocumentCollectionSpec.cs | ghcode:00167:75ed111aa322 | mit | codeparrot/github-code | 75ed111aa322d0c5acbd1842b13c0300ca97c8967c0dfa2e69c2c6612cb540c8 | 0.85 | testing_debugging_repair_refactoring | 248 | 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.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microso... | OmarTawfik/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenScriptTests.cs | https://github.com/OmarTawfik/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenScriptTests.cs | ghcode:00167:4194deb81253 | apache-2.0 | codeparrot/github-code | 4194deb81253335e565c5bebd1e2c42ac24d8ef9ff8a31a9cfb6d496d3b6d075 | 0.95 | testing_debugging_repair_refactoring | 5,057 | false | 2026-07-17 |
using NUnit.Framework;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Integration.Core.Map.TtlField
{
[TestFixture]
public class TtlFieldTests : BaseMappingTests
{
[Test]
public void TtlFieldSerializes()
{
var result = this.Client.Map<ElasticsearchProject>(m => m
.TtlField(t => t
.Enable(... | Grastveit/NEST | src/Tests/Nest.Tests.Integration/Core/Map/TtlField/TtlFieldTests.cs | https://github.com/Grastveit/NEST/blob/HEAD/src/Tests/Nest.Tests.Integration/Core/Map/TtlField/TtlFieldTests.cs | ghcode:00167:f1a0ac063505 | apache-2.0 | codeparrot/github-code | f1a0ac0635052b583278717761c8a4d4fe1506e94139c6365e55feb18e42768d | 0.85 | testing_debugging_repair_refactoring | 113 | 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.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace System.Collections.Generic... | shahid-pk/corefx | src/System.Collections/src/System/Collections/Generic/LinkedList.cs | https://github.com/shahid-pk/corefx/blob/HEAD/src/System.Collections/src/System/Collections/Generic/LinkedList.cs | ghcode:00167:1023ff2ee56d | mit | codeparrot/github-code | 1023ff2ee56d3660660d9124315b09210a6d10c05d70f4eaba463eaf007b5165 | 0.95 | testing_debugging_repair_refactoring | 3,015 | false | 2026-07-17 |
using NUnit.Framework;
using System;
namespace Nest.Tests.Unit.Extensions
{
[TestFixture]
public class UriExtensionsTests
{
[Test]
public void CanGetUrlForUriWithPort()
{
// Arrange
var uri = new Uri("http://localhost:8080");
// Act
... | starckgates/elasticsearch-net | src/Tests/Nest.Tests.Unit/Extensions/UriExtensionsTests.cs | https://github.com/starckgates/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Unit/Extensions/UriExtensionsTests.cs | ghcode:00167:e2a45b16da48 | apache-2.0 | codeparrot/github-code | e2a45b16da48af470fa862e4db14d37c8d082f484e7e323da231fa0949969441 | 0.95 | testing_debugging_repair_refactoring | 210 | false | 2026-07-17 |
using AllReady.Areas.Admin.Features.Campaigns;
using AllReady.Areas.Admin.ViewModels.Campaign;
using AllReady.Models;
using Shouldly;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace AllReady.UnitTest.Areas.Admin.Features.Campaigns
{
public class CampaignSu... | VishalMadhvani/allReady | AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Campaigns/CampaignSummaryQueryHandlerShould.cs | https://github.com/VishalMadhvani/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Campaigns/CampaignSummaryQueryHandlerShould.cs | ghcode:00167:9a6fa992ac85 | mit | codeparrot/github-code | 9a6fa992ac85014c5487d3d66da1cc9304a154ed194d022f055429136a2af27c | 0.75 | testing_debugging_repair_refactoring | 595 | 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 Internal.Runtime.Augments;
namespace System.Globalization
{
public partial class JapaneseCalendar : Calendar
{
private static EraInfo[] GetJapane... | AlfredoMS/coreclr | src/mscorlib/corefx/System/Globalization/JapaneseCalendar.Win32.cs | https://github.com/AlfredoMS/coreclr/blob/HEAD/src/mscorlib/corefx/System/Globalization/JapaneseCalendar.Win32.cs | ghcode:00167:dbe0f8ac296d | mit | codeparrot/github-code | dbe0f8ac296d95a1126c0ee22263ed2bcbc584011a6eb180a2849a83478e436d | 0.85 | testing_debugging_repair_refactoring | 450 | 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.ComponentModel.Composition.Factories;
using System.ComponentModel.Com... | ViktorHofer/corefx | src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/ExportableAttributeTests.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/ExportableAttributeTests.cs | ghcode:00167:d60d64d2094f | mit | codeparrot/github-code | d60d64d2094f2eed8b3c3988eafd7d850a8bc60ebdd4dc84b05fb0869576ba65 | 0.95 | testing_debugging_repair_refactoring | 1,631 | 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 EncoderConvert2Encode... | nbarbettini/corefx | src/System.Text.Encoding/tests/Encoder/EncoderConvert2.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Text.Encoding/tests/Encoder/EncoderConvert2.cs | ghcode:00167:f416efa4536c | mit | codeparrot/github-code | f416efa4536c09386c2a327290e5bd252dbd33ef1ef37ed185dbf6a80761ad39 | 0.95 | testing_debugging_repair_refactoring | 4,344 | 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 Hyak.Common;
using Microsoft.Azure;
using Microsoft.Azure.Common.OData;
using Microsoft.Azure.Gallery;
using Microsoft.Azure.Gallery.Models;
using Microsof... | ayeletshpigelman/azure-sdk-for-net | tools/legacy/SdkBackup/Gallery/Gallery.Tests/DeploymentTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/tools/legacy/SdkBackup/Gallery/Gallery.Tests/DeploymentTests.cs | ghcode:00167:753d8eddd927 | mit | codeparrot/github-code | 753d8eddd927ffb064daffcbd86ebf40150e5f9ce4a24a120dfdf1fe243d59b5 | 0.85 | testing_debugging_repair_refactoring | 1,497 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// See the LICENSE file in the project root for more information.
// Copyright (c) 2004 Mainsoft Co.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Softw... | BrennanConroy/corefx | src/System.Data.Common/tests/DataProvider.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Data.Common/tests/DataProvider.cs | ghcode:00167:41ff13a3aa51 | mit | codeparrot/github-code | 41ff13a3aa51186a54c5849ae680bb89fda1b83602baa99da9ae5a5e0ff89c7b | 0.95 | testing_debugging_repair_refactoring | 3,866 | 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.Reflection;
using System.Reflection.Compatibility.UnitTests;
using Xunit;
namespace System.Reflection.Compatibility.UnitTests.MemberInfoTest... | dkorolev/corefx | src/System.Reflection.TypeExtensions/tests/MemberInfo/MemberInfoName.cs | https://github.com/dkorolev/corefx/blob/HEAD/src/System.Reflection.TypeExtensions/tests/MemberInfo/MemberInfoName.cs | ghcode:00167:2445d71cfcb0 | mit | codeparrot/github-code | 2445d71cfcb09f3010bc0d45f5da3327fa983bf70327fccd8d4583506d0f91ad | 0.95 | testing_debugging_repair_refactoring | 1,726 | 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 Microsoft.CodeAnalysis.CSharp.Symbols
{
//... | budcribar/roslyn | src/Compilers/CSharp/Portable/Symbols/AnonymousTypes/AnonymousTypeManager.cs | https://github.com/budcribar/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/AnonymousTypes/AnonymousTypeManager.cs | ghcode:00167:0d870e3ccdb1 | apache-2.0 | codeparrot/github-code | 0d870e3ccdb1bc646e64a50934ef8c789b3eeb44d3a94504f4b2499c930a8281 | 0.85 | testing_debugging_repair_refactoring | 824 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using umbraco.cms.businesslogic.template;
using Umbraco.Core.IO;
using Umbraco.Core.Services;
namespace Umbraco.Tests.Templates
{
[TestFixture]
public class MasterPageHelperTests
{
[TestCa... | Nicholas-Westby/Umbraco-CMS | src/Umbraco.Tests/Templates/MasterPageHelperTests.cs | https://github.com/Nicholas-Westby/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Templates/MasterPageHelperTests.cs | ghcode:00167:ef96f655c6df | mit | codeparrot/github-code | ef96f655c6df2bed93f0f202057fc2fd0daeae66e52e85fee2af6bca7045b941 | 0.75 | testing_debugging_repair_refactoring | 265 | 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 OLEDB.Test.ModuleCore;
using System;
using System.IO;
using System.Xml;
using XmlCoreTest.Common;
using XmlReaderTest.Common;
namespace XmlReaderTest
{
/////... | vs-team/corefx | src/System.Xml.ReaderWriter/tests/Readers/FactoryReader/InheritedCases.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/Readers/FactoryReader/InheritedCases.cs | ghcode:00167:74aa468c5e39 | mit | codeparrot/github-code | 74aa468c5e3919b6b8687681000e2c6c1f8201edea377f90a34298785b1809b1 | 0.95 | testing_debugging_repair_refactoring | 2,410 | 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.Reflection.Emit;
using System.Reflection;
using System.Threading;
using Xunit;
namespace System.Reflection.Emit.ILGeneration.Tests
{
pub... | vs-team/corefx | src/System.Reflection.Emit.ILGeneration/tests/LocalBuilder/LocalBuilderLocalIndex.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Reflection.Emit.ILGeneration/tests/LocalBuilder/LocalBuilderLocalIndex.cs | ghcode:00167:029dea7a3e66 | mit | codeparrot/github-code | 029dea7a3e66784a103f0b2fb035cc894d105e0f5e006223be776bb567d2e074 | 0.85 | testing_debugging_repair_refactoring | 434 | 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;
using System.Collections.Generic;
using Xunit;
using Tests.HashSet_HashSetTestSupport;
namespace Tests
{
public class Hash... | vs-team/corefx | src/System.Collections/tests/Generic/HashSet/HashSet_CopyToTests.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Collections/tests/Generic/HashSet/HashSet_CopyToTests.cs | ghcode:00167:64abe047bae6 | mit | codeparrot/github-code | 64abe047bae654ac2ed9f4cf53fea8a48b62241c339d4cbe64d0bde0d7abbdf8 | 0.95 | testing_debugging_repair_refactoring | 9,291 | false | 2026-07-17 |
using System.Threading;
using NUnit.Framework;
using Rhino.Mocks;
namespace Xtalion.Async
{
[Context]
public class When_executing_on_thread_pool : ContextSpecification
{
const string parameter = "param";
const string result = "result";
AsyncCommand command;
AsyncQuery<string> query;
TestInterface inst... | yevhen/Servelat-Pieces | Pieces/Xtalion.Tests/Async/When_executing_on_thread_pool.cs | https://github.com/yevhen/Servelat-Pieces/blob/HEAD/Pieces/Xtalion.Tests/Async/When_executing_on_thread_pool.cs | ghcode:00167:ba7a99cb9b57 | mit | codeparrot/github-code | ba7a99cb9b5729dfc16add849515cfff4ef930f7dcd915437a10fd2dbcd19a1f | 0.6 | testing_debugging_repair_refactoring | 313 | false | 2026-07-17 |
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
namespace GameRayBurst.FtLinq.Tests.EnumerableLinq
{
[TestClass]
public class SkipWhileTests
{
[TestMethod, PerformanceTest]
public void SkipWhile_Simple()
{
... | tailsu/FtLinq | GameRayBurst.FtLinq.Tests/EnumerableLinq/SkipWhileTests.cs | https://github.com/tailsu/FtLinq/blob/HEAD/GameRayBurst.FtLinq.Tests/EnumerableLinq/SkipWhileTests.cs | ghcode:00167:a5ed4415eb14 | mit | codeparrot/github-code | a5ed4415eb14838bc905bacffcee5466641af8d06d2917901c7b1898637510c5 | 0.75 | testing_debugging_repair_refactoring | 351 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.