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) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | QuillLittlefeather/OpenSim | OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineCrossingTests.cs | https://github.com/QuillLittlefeather/OpenSim/blob/HEAD/OpenSim/Region/ScriptEngine/XEngine/Tests/XEngineCrossingTests.cs | ghcode:00164:9900b1bfcf5f | bsd-3-clause | codeparrot/github-code | 9900b1bfcf5fa986e528642b6937791ace10ae10e560212b1ee077698160faf2 | 0.95 | testing_debugging_repair_refactoring | 1,793 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Host.Converters;
namespace Microsoft.Azur... | oliver-feng/azure-webjobs-sdk | src/Microsoft.Azure.WebJobs.Host/Bindings/Data/StringToTArgumentBindingProvider.cs | https://github.com/oliver-feng/azure-webjobs-sdk/blob/HEAD/src/Microsoft.Azure.WebJobs.Host/Bindings/Data/StringToTArgumentBindingProvider.cs | ghcode:00164:4e6eb460632c | mit | codeparrot/github-code | 4e6eb460632c7eb534c2af23391a5bfe1dbd7b99e29b03c11fe3b2133dd06254 | 0.75 | testing_debugging_repair_refactoring | 489 | 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.Syntax;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeA... | mmitche/roslyn | src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IObjectCreationExpression.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IObjectCreationExpression.cs | ghcode:00164:a371fe700251 | apache-2.0 | codeparrot/github-code | a371fe70025128dd3d21b1834276b1ad73e9a6a32c92c51576a92fcd6451f005 | 0.95 | testing_debugging_repair_refactoring | 10,586 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using RefactoringEssentials.CSharp.CodeRefactorings;
namespace RefactoringEssentials.Tests.CSharp.CodeRefactorings
{
[TestFixture]
public class InvertIfTestsTests : CSharpCodeRefactoringTestBase
{
[Test]
public void TestSimple()
{
str... | vcsjones/RefactoringEssentials | Tests/CSharp/CodeRefactorings/InvertIfTests.cs | https://github.com/vcsjones/RefactoringEssentials/blob/HEAD/Tests/CSharp/CodeRefactorings/InvertIfTests.cs | ghcode:00164:23a0a2c0e03a | mit | codeparrot/github-code | 23a0a2c0e03add8655e8a47f4a847862b817cfc7a0c01fe8f0890955faa38665 | 0.85 | testing_debugging_repair_refactoring | 1,121 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="RequestMessageArgsTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-----------------------------... | hotchandanisagar/odata.net | test/EndToEndTests/Tests/Client/Build.Desktop/TransportLayerTests/RequestMessageArgsTests.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/EndToEndTests/Tests/Client/Build.Desktop/TransportLayerTests/RequestMessageArgsTests.cs | ghcode:00164:05701fd78aa2 | mit | codeparrot/github-code | 05701fd78aa2749d6b07bd2fd3d6db4b3a0e0ce28a48294596cce2c237a5f600 | 0.95 | testing_debugging_repair_refactoring | 1,092 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | AzureAutomationTeam/azure-powershell | src/ResourceManager/Profile/Commands.Profile.Test/SubscriptionCmdletTests.cs | https://github.com/AzureAutomationTeam/azure-powershell/blob/HEAD/src/ResourceManager/Profile/Commands.Profile.Test/SubscriptionCmdletTests.cs | ghcode:00164:1c6b2e00ac6d | apache-2.0 | codeparrot/github-code | 1c6b2e00ac6d2e4d4dc736b4f3fcffae18bcba5c033cb0acd069acddc7cd143e | 0.85 | testing_debugging_repair_refactoring | 596 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Moq;
using NUnit.Framework;
using Semver;
using Umbraco.Core.Logging;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.Migrations;
using Umbraco.Core.Persistence.Migrations.Syntax.Alter.Expressions;
using Umbraco.Core.Persistence.Sql... | gregoriusxu/Umbraco-CMS | src/Umbraco.Tests/Migrations/MigrationRunnerTests.cs | https://github.com/gregoriusxu/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Migrations/MigrationRunnerTests.cs | ghcode:00164:32af6734df80 | mit | codeparrot/github-code | 32af6734df801d677d057f4e7f4423971170255e62306acfbc2a884226a9e490 | 0.85 | testing_debugging_repair_refactoring | 700 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="MinimalActorRefThroughputSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
//... | willieferguson/akka.net | src/core/Akka.Tests.Performance/Actor/MinimalActorRefThroughputSpec.cs | https://github.com/willieferguson/akka.net/blob/HEAD/src/core/Akka.Tests.Performance/Actor/MinimalActorRefThroughputSpec.cs | ghcode:00164:2278db0467ce | apache-2.0 | codeparrot/github-code | 2278db0467ce3dd2f988c9ca87abf3a7dd9f6b054d8ef342d5c6a1d0cd370b6d | 0.85 | testing_debugging_repair_refactoring | 377 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
using System;
using System.Collections;
using System.Collections.Specialized;
namespace System.Collect... | benpye/corefx | src/System.Collections.Specialized/tests/NameObjectCollectionBase/GetSyncRootTests.cs | https://github.com/benpye/corefx/blob/HEAD/src/System.Collections.Specialized/tests/NameObjectCollectionBase/GetSyncRootTests.cs | ghcode:00164:b7dca2f44b1f | mit | codeparrot/github-code | b7dca2f44b1f28ba17ad7b30ee3cb196594d3fc2e192702b0a38fd9c9ad896a7 | 0.95 | testing_debugging_repair_refactoring | 435 | 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 Microsoft.AzureStack.Management.AzureBridge.Admin;
using Microsoft.AzureStack.Management.AzureBridge.Admin.Models;
using System;
using Xunit;
namesp... | shahabhijeet/azure-sdk-for-net | src/AzureStack/Admin/AzureBridgeAdmin/AzureBridge.Admin.Tests/src/DownloadedProductTests.cs | https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/AzureStack/Admin/AzureBridgeAdmin/AzureBridge.Admin.Tests/src/DownloadedProductTests.cs | ghcode:00164:44e48733fb9c | mit | codeparrot/github-code | 44e48733fb9c3e029bfd1152689bb1d517103f048a7fb7fe9670e0f1777c4188 | 0.95 | testing_debugging_repair_refactoring | 412 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.... | AlekseyTs/roslyn | src/EditorFeatures/CSharpTest/CodeActions/ConvertIfToSwitch/ConvertIfToSwitchTests.cs | https://github.com/AlekseyTs/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/CodeActions/ConvertIfToSwitch/ConvertIfToSwitchTests.cs | ghcode:00164:41de29d59fba | mit | codeparrot/github-code | 41de29d59fbaebc31cc96b7ffde0ddd35a82dcdbb2c0f1b6850568952940453f | 0.72 | testing_debugging_repair_refactoring | 14,800 | false | 2026-07-17 |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you ma... | markusweimer/incubator-reef | lang/cs/Org.Apache.REEF.Tests/Functional/Failure/User/UnhandledThreadExceptionInTaskTest.cs | https://github.com/markusweimer/incubator-reef/blob/HEAD/lang/cs/Org.Apache.REEF.Tests/Functional/Failure/User/UnhandledThreadExceptionInTaskTest.cs | ghcode:00164:2d5a6e17497a | apache-2.0 | codeparrot/github-code | 2d5a6e17497a55eedc10914efde49fdc257f50cd8546f2984510c4e1229876ca | 0.85 | testing_debugging_repair_refactoring | 1,789 | false | 2026-07-17 |
using System;
using System.Linq;
using Boo.Lang.Compiler;
using Boo.Lang.Compiler.TypeSystem;
using Boo.Lang.Compiler.TypeSystem.Services;
using Boo.Lang.Environments;
using NUnit.Framework;
namespace BooCompiler.Tests.TypeSystem.Services
{
[TestFixture]
public class MemberCollectorTest
{
class Foo ... | bamboo/boo | tests/BooCompiler.Tests/TypeSystem/Services/MemberCollectorTest.cs | https://github.com/bamboo/boo/blob/HEAD/tests/BooCompiler.Tests/TypeSystem/Services/MemberCollectorTest.cs | ghcode:00164:f2ee37e2cdb6 | bsd-3-clause | codeparrot/github-code | f2ee37e2cdb6a11297cc78857a1aac67ff129961d1b24d66db52cd9eec287f3f | 0.7 | testing_debugging_repair_refactoring | 406 | 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.Runtime.Serialization;
namespace SerializationTestTypes
{
[DataContract(IsReference ... | ViktorHofer/corefx | src/System.Runtime.Serialization.Xml/tests/SerializationTestTypes/InheritenceCases.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Runtime.Serialization.Xml/tests/SerializationTestTypes/InheritenceCases.cs | ghcode:00164:aceed5c9940f | mit | codeparrot/github-code | aceed5c9940f9a6a80b0c384e27d53f3e55b69ff29e3e531ae87a10ed3154400 | 0.95 | testing_debugging_repair_refactoring | 3,912 | 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;
#pragma warning disable 0414
#pragma warning disable 0067
#pragma wa... | BrennanConroy/corefx | src/System.Reflection.MetadataLoadContext/tests/src/Tests/TypeInfoFromProjectN/TypeInfo_DeclaredFieldTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Reflection.MetadataLoadContext/tests/src/Tests/TypeInfoFromProjectN/TypeInfo_DeclaredFieldTests.cs | ghcode:00164:78d05b7e835a | mit | codeparrot/github-code | 78d05b7e835a98423ab944d31667856cf61f35a661d36f1ff166ed15fd8557e9 | 0.95 | testing_debugging_repair_refactoring | 787 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | traceguide/api-php | vendor/apache/thrift/lib/csharp/test/Multiplex/Client/Multiplex.Test.Client.cs | https://github.com/traceguide/api-php/blob/HEAD/vendor/apache/thrift/lib/csharp/test/Multiplex/Client/Multiplex.Test.Client.cs | ghcode:00164:c121a2e20985 | mit | codeparrot/github-code | c121a2e20985e33229eb1ff82b778aca5e6958812b78cd426019245130b5f49c | 0.85 | testing_debugging_repair_refactoring | 499 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilitie... | droyad/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/LockTests.cs | https://github.com/droyad/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/LockTests.cs | ghcode:00164:3a8c2d4af80c | apache-2.0 | codeparrot/github-code | 3a8c2d4af80cb11cfd0e9d92190abb7d032a09c0f6bf4aed4c6b448d725e40f6 | 0.95 | testing_debugging_repair_refactoring | 5,784 | 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.Immutable;
namespace System.Reflection.Metadata.Tests
{
public static class ByteArray... | BrennanConroy/corefx | src/System.Reflection.Metadata/tests/TestUtilities/ByteArrayUtilities.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Reflection.Metadata/tests/TestUtilities/ByteArrayUtilities.cs | ghcode:00164:b41baf4cd1eb | mit | codeparrot/github-code | b41baf4cd1eb28b5b298e365b70161bdf53456014b507ac8f952e262fa4b9db4 | 0.95 | testing_debugging_repair_refactoring | 284 | false | 2026-07-17 |
using HotSwapLogger.Loader;
using Moq;
using Xunit;
namespace HotSwapLogger.Tests.Unit
{
public class LoggerProviderWatcherTests
{
[Fact]
public void ShouldOnlyLoadAFileOnce()
{
var fileWatcher = new Mock<IFileWatcher>();
var loader = new Mock<IAssemblyLoader>()... | JuanjoFuchs/HotSwapLogger | tests/HotSwapLogger.Tests.Unit/LoggerProviderWatcherTests.cs | https://github.com/JuanjoFuchs/HotSwapLogger/blob/HEAD/tests/HotSwapLogger.Tests.Unit/LoggerProviderWatcherTests.cs | ghcode:00164:ccb8461e754d | mit | codeparrot/github-code | ccb8461e754d31dc8f1ce73aeddba65493fcfa46be387b6850adc4f1353e4b15 | 0.75 | testing_debugging_repair_refactoring | 253 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleDataGenerator.Tests.Core.Entities
{
public class VehicleEntity
{
public bool IsActive { get; set; }
public bool? NullableIsActive { get; set; }
public D... | FilipPaluch/SimpleDataGenerator | Source/SimpleDataGenerator.Tests.Core/Entities/VehicleEntity.cs | https://github.com/FilipPaluch/SimpleDataGenerator/blob/HEAD/Source/SimpleDataGenerator.Tests.Core/Entities/VehicleEntity.cs | ghcode:00164:4a8a5d1f6f0b | mit | codeparrot/github-code | 4a8a5d1f6f0b4af6ebdd540ac260e322fad626ee0474ea39c5871e6e08c75cad | 0.75 | testing_debugging_repair_refactoring | 226 | false | 2026-07-17 |
using System;
using System.IO;
using System.IO.Compression;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MVeldhuizen.XapReduce.IO;
using MVeldhuizen.XapReduce.Tests.Harness;
using NSubstitute;
namespace MVeldhuizen.XapReduce.Tests
{
[TestClass]
public class XapMinifierTests
... | Thorarin/XapReduce | XapReduce.Tests/XapMinifierTests.cs | https://github.com/Thorarin/XapReduce/blob/HEAD/XapReduce.Tests/XapMinifierTests.cs | ghcode:00164:93c3a38cd29e | mit | codeparrot/github-code | 93c3a38cd29e2c49400f402af7a9acfd22f8db371a52690a0ff6ce6bb08a85e4 | 0.85 | testing_debugging_repair_refactoring | 1,584 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CodeKatas.FizzBuzzKata
{
[TestClass]
public class FizzBuzz0510A
{
[TestMethod, TestCategory("Unit")]
public void ShouldReturnNumberAsString()
{
//act
string actualOutput = ... | MyTurnyet/CodeKatas | CodeKatas/FizzBuzzKata/FizzBuzz0510a.cs | https://github.com/MyTurnyet/CodeKatas/blob/HEAD/CodeKatas/FizzBuzzKata/FizzBuzz0510a.cs | ghcode:00164:b11d90a24572 | mit | codeparrot/github-code | b11d90a24572cb10cdecfdebc52b54d8f78e534f3622d5b5f7cb5ef603668e82 | 0.7 | testing_debugging_repair_refactoring | 429 | false | 2026-07-17 |
using BankingSite.Core;
using BankingSite.Core.ExternalComponentGateways;
using BankingSite.Domain;
using Microsoft.Practices.Unity;
using Moq;
using NUnit.Framework;
namespace BankingSite.IntegrationTests
{
[TestFixture]
[Category("subsystem_application_scoring")]
public class ApplicationScoringSubsystem... | kf-bryancua/BankingSite | BankingSite.IntegrationTests/ApplicationScoringSubsystemTests.cs | https://github.com/kf-bryancua/BankingSite/blob/HEAD/BankingSite.IntegrationTests/ApplicationScoringSubsystemTests.cs | ghcode:00164:cca72629656f | mit | codeparrot/github-code | cca72629656fad8e0b7b50ffc8a9ef76986b3fbfb1362ac958c95515f433b740 | 0.85 | testing_debugging_repair_refactoring | 362 | false | 2026-07-17 |
using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MigrationTools.DataContracts;
using MigrationTools.Enrichers;
using MigrationTools.Tests;
namespace MigrationTools.ProcessorEnrichers.Tests
{
[TestClass()]
public class TfsRevisionManagerTe... | nkdAgility/vsts-sync-migration | src/MigrationTools.Clients.AzureDevops.ObjectModel.Tests/ProcessorEnrichers/TfsRevisionManagerTests.cs | https://github.com/nkdAgility/vsts-sync-migration/blob/HEAD/src/MigrationTools.Clients.AzureDevops.ObjectModel.Tests/ProcessorEnrichers/TfsRevisionManagerTests.cs | ghcode:00164:8516e7444f01 | mit | codeparrot/github-code | 8516e7444f01b1b245ad6a24432d48b4ae100cc77cceed465ccb20aa62bb4381 | 0.75 | testing_debugging_repair_refactoring | 1,513 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Xml.Schema;
using Helsenorge.Messaging.Abstractions;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Helsenorge.Messaging.Tests.ServiceBus.Senders
{
[TestClass]
public c... | chriscena/Helsenorge.Messaging | test/Helsenorge.Messaging.Tests/ServiceBus/Senders/SynchronousSendTests.cs | https://github.com/chriscena/Helsenorge.Messaging/blob/HEAD/test/Helsenorge.Messaging.Tests/ServiceBus/Senders/SynchronousSendTests.cs | ghcode:00164:7a007ac58848 | mit | codeparrot/github-code | 7a007ac588481bcd06dab73d5c5bec68dc98415b6544672f527c2d74c475b933 | 0.85 | testing_debugging_repair_refactoring | 1,094 | false | 2026-07-17 |
using MvcTemplate.Components.Mvc;
using MvcTemplate.Resources.Form;
using System;
using System.ComponentModel.DataAnnotations;
using Xunit;
namespace MvcTemplate.Tests.Unit.Components.Mvc
{
public class RangeAdapterTests
{
#region Constructor: RangeAdapter(RangeAttribute attribute)
[Fact]
... | duhaly/MVC6.Template | test/MvcTemplate.Tests/Unit/Components/Mvc/Adapters/RangeAdapterTests.cs | https://github.com/duhaly/MVC6.Template/blob/HEAD/test/MvcTemplate.Tests/Unit/Components/Mvc/Adapters/RangeAdapterTests.cs | ghcode:00164:95a1c7d0a1aa | mit | codeparrot/github-code | 95a1c7d0a1aaa2e58c7c9aa8dc4732e3bb6c9ad4ea6fb2c25d467eae0010b541 | 0.75 | testing_debugging_repair_refactoring | 124 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using ContactUs.Models;
using ContactUs.Services;
using System.Text.RegularExpressions;
using GFX.Core;
namespace ContactUs.Facts.Services {
public class TicketServiceFacts ... | sakion/contactus | ContactUs.Facts/Services/TicketServiceFacts.cs | https://github.com/sakion/contactus/blob/HEAD/ContactUs.Facts/Services/TicketServiceFacts.cs | ghcode:00164:d99b56cf65c8 | mit | codeparrot/github-code | d99b56cf65c8667a01e3750a4b41fe85820c1b027b0574be823ebc7b7ad53161 | 0.6 | testing_debugging_repair_refactoring | 275 | false | 2026-07-17 |
using System;
using System.Linq;
using DLaB.Xrm;
using DLaB.Xrm.Plugin;
using DLaB.Xrm.Test;
using DLaB.XrmAutoNumberGenerator.Entities;
using DLaB.XrmAutoNumberGenerator.Test;
using DLaB.XrmAutoNumberGenerator.Test.Builders;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Xrm.Sdk;
namespace DLaB.... | daryllabar/XrmAutoNumberGenerator | DLaB.XrmAutoNumberGenerator.Tests/AutoNumberIncrementorTests.cs | https://github.com/daryllabar/XrmAutoNumberGenerator/blob/HEAD/DLaB.XrmAutoNumberGenerator.Tests/AutoNumberIncrementorTests.cs | ghcode:00164:83c0e8ee27cf | mit | codeparrot/github-code | 83c0e8ee27cfd4737d919c9d74f682aacc93beb904163f65d52505631f4e9b25 | 0.85 | testing_debugging_repair_refactoring | 2,927 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Globalization;
using LibGit2Sharp.Core;
using LibGit2Sharp.Core.Handles;
namespace LibGit2Sharp
{
/// <summary>
/// A push or fetch reference specification
/// </summary>
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class RefSpec
{
... | sharad4u/testrepo | LibGit2Sharp/RefSpec.cs | https://github.com/sharad4u/testrepo/blob/HEAD/LibGit2Sharp/RefSpec.cs | ghcode:00164:431cc96c0719 | mit | codeparrot/github-code | 431cc96c071904c3dc5d84ebf0af7cc8f8a9b02c2273b7092ec95c3ab7a613c1 | 0.85 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.IO;
using System.Threading;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using tweetz5.Utilities.Translate;
namespace tweetz5UnitTests.Utilities.Translate
{
[TestClass]
public class ParseNameValueTextTests
{
... | mike-ward/tweetz-desktop | tweetz/tweetz5UnitTests/Utilities/Translate/ParseNameValueTextTests.cs | https://github.com/mike-ward/tweetz-desktop/blob/HEAD/tweetz/tweetz5UnitTests/Utilities/Translate/ParseNameValueTextTests.cs | ghcode:00164:c9c182a0fc04 | mit | codeparrot/github-code | c9c182a0fc04dcfa593d7b3d0209c99067f7bfdc56883407569278bead3e64c3 | 0.75 | testing_debugging_repair_refactoring | 2,747 | false | 2026-07-17 |
/*
* BenchShark library
* http://www.binarysharp.com/
*
* Copyright (C) 2013-2014 Jämes Ménétrey (a.k.a. ZenLulz).
* This library is released under the MIT License.
* See the file LICENSE for more information.
*/
using System;
using System.Linq;
using Binarysharp.Benchmark;
using Microsoft.VisualStudio.TestTools... | ZenLulz/BenchShark | BenchSharkTests/AnonymousEvaluation.cs | https://github.com/ZenLulz/BenchShark/blob/HEAD/BenchSharkTests/AnonymousEvaluation.cs | ghcode:00164:2ab7bbc09bd1 | mit | codeparrot/github-code | 2ab7bbc09bd19458777f89c5581bfcef68996eb5b64cac98e71cc1b5203d472d | 0.7 | testing_debugging_repair_refactoring | 1,755 | false | 2026-07-17 |
namespace BigEgg.Tools.ConsoleExtension.Tests.Parameters.Errors
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BigEgg.Tools.ConsoleExtension.Parameters.Errors;
[TestClass]
public class DevelopInvalidCommandErrorTest
{
[TestMethod]
public void ConstructorTest()
... | BigEggTools/ConsoleExtension | ConsoleExtension.Tests/Parameters/Errors/DevelopInvalidCommandErrorTest.cs | https://github.com/BigEggTools/ConsoleExtension/blob/HEAD/ConsoleExtension.Tests/Parameters/Errors/DevelopInvalidCommandErrorTest.cs | ghcode:00164:e0159b6522ee | mit | codeparrot/github-code | e0159b6522ee473ae7c5f73e079f7ac56ab7619a94577c3fb6325d64072c8251 | 0.6 | testing_debugging_repair_refactoring | 145 | false | 2026-07-17 |
using System.Diagnostics.CodeAnalysis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SecurityConsultantCore.Domain.Basic;
namespace SecurityConsultantCore.Test.Domain.Basic
{
[TestClass]
[ExcludeFromCodeCoverage]
public class XYZTests
{
[TestMethod]
public void XYZ_Matching... | EnigmaDragons/SecurityConsultantCore | test/SecurityConsultantCore.Test/Domain/Basic/XYZTests.cs | https://github.com/EnigmaDragons/SecurityConsultantCore/blob/HEAD/test/SecurityConsultantCore.Test/Domain/Basic/XYZTests.cs | ghcode:00164:df465fa579a7 | mit | codeparrot/github-code | df465fa579a7dd7b43f98759b9f35e33cf43c739bf0470b2e17c927a0cc63e36 | 0.75 | testing_debugging_repair_refactoring | 198 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using System;
using System.Net;
using System.Xml;
namespace Weather.Tests
{
[TestFixture]
public class TestWeatherService
{
#region Tests
[Test]
public void GetWeatherforZipCode_34101()
{
var expectedWeatherInfo = new WeatherIn... | DanWatkins/Weather | Weather.Tests/TestWeatherService.cs | https://github.com/DanWatkins/Weather/blob/HEAD/Weather.Tests/TestWeatherService.cs | ghcode:00164:3924c70732d5 | mit | codeparrot/github-code | 3924c70732d57f5a2fe6a8c3398e3c226a4a9a751a7895e288c31ab39496c854 | 0.75 | testing_debugging_repair_refactoring | 810 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BassUtils.UnitTests
{
[TestClass]
public class CsvOptionsTests
{
Action[] Mutators(CsvOptions options)
{
return new Action[]
{
() => options.WriteLeadingSeparator... | PhilipDaniels/BassUtils | BassUtils.UnitTests/CsvOptionsTests.cs | https://github.com/PhilipDaniels/BassUtils/blob/HEAD/BassUtils.UnitTests/CsvOptionsTests.cs | ghcode:00164:9e6612b7ee2c | mit | codeparrot/github-code | 9e6612b7ee2cf5c7751eb74852b28adecdc55e3c42b9db038ff69305ae1a0836 | 0.75 | testing_debugging_repair_refactoring | 503 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Get.Episodes.Json.Reader
{
public partial class EpisodeTranslationObjectJsonReader_Tests
{
private const string JSON_COMPLETE =
@"{
""title"": ""Winter Is Coming"",
""overview"": ""Jon Arryn, the Hand of the King, is dead... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Get/Episodes/Json/Reader/EpisodeTranslationObjectJsonReader/EpisodeTranslationObjectJsonReader_Tests_Json_Data.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Get/Episodes/Json/Reader/EpisodeTranslationObjectJsonReader/EpisodeTranslationObjectJsonReader_Tests_Json_Data.cs | ghcode:00164:8801b35f0ad2 | mit | codeparrot/github-code | 8801b35f0ad2643daa25fe1022f9b13e5974576d228cd7bde6ce7f2b5e873bfa | 0.85 | testing_debugging_repair_refactoring | 893 | false | 2026-07-17 |
using Hanafuda.OpenApi.Attributes;
using NUnit.Framework;
namespace Hanafuda.OpenApi.Test.Attributes
{
[TestFixture]
public class AttributeScoreTest
{
[Test]
public void TestCtr()
{
const byte expected = 1;
var actual = new ScoreAttribute(1).Score;
... | Vtek/Hanafuda.OpenApi | Hanafuda.OpenApi.Test/Attributes/AttributeScoreTest.cs | https://github.com/Vtek/Hanafuda.OpenApi/blob/HEAD/Hanafuda.OpenApi.Test/Attributes/AttributeScoreTest.cs | ghcode:00164:f1a57081ed49 | mit | codeparrot/github-code | f1a57081ed49fe7f6ebb1750db831c3a2b58f49dd5b2fe0efff8227ea451f4d8 | 0.75 | testing_debugging_repair_refactoring | 79 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.FileSystem.Test
{
public abstract class AbstractModifiableFileSystemTest
{
private IFileSystem uut;
priva... | toeb/core.common | Core.Common.Tests/AbstractModifiableFileSystemTest.cs | https://github.com/toeb/core.common/blob/HEAD/Core.Common.Tests/AbstractModifiableFileSystemTest.cs | ghcode:00164:2dcc31af7bfa | mit | codeparrot/github-code | 2dcc31af7bfaa8f2c3886a5e5ab452c0f32e7b97b005029ceb1b62db8a051167 | 0.6 | testing_debugging_repair_refactoring | 550 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using AspNetSeo.CoreMvc.TagHelpers;
using AspNetSeo.Internal;
using AspNetSeo.Testing;
using Microsoft.AspNetCore.Razor.TagHelpers;
using Xunit;
namespace AspNetSeo.CoreMvc.Tests.TagHelpers
{
public class OgUrlTagHelperTest : TagHelperTestBase
{
[Theory... | sebnilsson/AspNetSeo | test/AspNetSeo.CoreMvc.Tests/TagHelpers/OgUrlTagHelperTest.cs | https://github.com/sebnilsson/AspNetSeo/blob/HEAD/test/AspNetSeo.CoreMvc.Tests/TagHelpers/OgUrlTagHelperTest.cs | ghcode:00164:e8692b345852 | mit | codeparrot/github-code | e8692b345852460952638852e01722348cf032e8a5266097c7a64755eb92fb93 | 0.85 | testing_debugging_repair_refactoring | 816 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using Bender.Collections;
using Bender.Configuration;
using Bender.Extensions;
using Bender.Nodes;
using Bender.Nodes.Object;
using Bender.Nodes.Object.Values;
using Bender.Reflection;
using NUnit.Framework;
using Should;
using... | raidenyn/Bender | src/Tests/Nodes/Object/NodeFactory/Serializable/NodeTests.cs | https://github.com/raidenyn/Bender/blob/HEAD/src/Tests/Nodes/Object/NodeFactory/Serializable/NodeTests.cs | ghcode:00164:aa3ce1edef1f | mit | codeparrot/github-code | aa3ce1edef1fe2eb063536d9fb22a95ca55b8e3674893954082e540c59fdd090 | 0.85 | testing_debugging_repair_refactoring | 1,273 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
namespace Test.DNX.Helpers.Converters.BuiltInTypes.TestsDataSource
{
public class ConvertULongExtensionsTestsSource
{
public static IEnumerable<TestCaseData> IsULong
{
get
{
yield return new TestCa... | martinsmith1968/DNX.Helpers | Test.DNX.Helpers/Converters/BuiltInTypes/TestsDataSource/ConvertULongExtensionsTestsSource.cs | https://github.com/martinsmith1968/DNX.Helpers/blob/HEAD/Test.DNX.Helpers/Converters/BuiltInTypes/TestsDataSource/ConvertULongExtensionsTestsSource.cs | ghcode:00164:d8d1f3f358dc | mit | codeparrot/github-code | d8d1f3f358dc68410da283828772c9169e44dca84e89ffd3154335148e2f0575 | 0.75 | testing_debugging_repair_refactoring | 559 | false | 2026-07-17 |
namespace BScript.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BScript.Compiler;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class EvaluationTests
{
[TestMethod]
public vo... | ajlopez/BScript | Src/BScript.Tests/EvaluationTests.cs | https://github.com/ajlopez/BScript/blob/HEAD/Src/BScript.Tests/EvaluationTests.cs | ghcode:00164:133e99a4efb4 | mit | codeparrot/github-code | 133e99a4efb4bd0ef73be5da82cc92c03a36f6ecbfb181bb62f2d8a32c5f307c | 0.75 | testing_debugging_repair_refactoring | 708 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Xunit;
using Recognos.Core;
namespace Recognos.Test.Core
{
public class ValueExtensionsTests
{
[Fact]
public void ValueExtensions_GuidIsNullOrEmpty()
{
Guid empty = Guid.Empty;
Guid defaultG = new Guid();
G... | Recognos/Recognos.Core | Recognos.Core.Tests/ValueExtensionsTests.cs | https://github.com/Recognos/Recognos.Core/blob/HEAD/Recognos.Core.Tests/ValueExtensionsTests.cs | ghcode:00164:bf45004059a9 | mit | codeparrot/github-code | bf45004059a95b2ff20c1772c3771ca1e5d94dbe38c235363f669d6525ae31a2 | 0.75 | testing_debugging_repair_refactoring | 185 | false | 2026-07-17 |
using Testura.Android.PageObjectCreator.Views;
using NUnit.Framework;
namespace Testura.Android.PageObjectCreator.Tests.Views
{
[TestFixture]
public class PageObjectViewTests
{
private PageObjectView _pageObjectView;
[SetUp]
public void SetUp()
{
_pageObjectView... | Testura/Testura.Android.PageObjectCreator | src/Testura.Android.PageObjectCreator.Tests/Views/PageObjectViewTests.cs | https://github.com/Testura/Testura.Android.PageObjectCreator/blob/HEAD/src/Testura.Android.PageObjectCreator.Tests/Views/PageObjectViewTests.cs | ghcode:00164:b2e2c575b2f7 | mit | codeparrot/github-code | b2e2c575b2f7a9fff5d471d9c83175398f5574fc5899a8084b74ddee9c4b9050 | 0.75 | testing_debugging_repair_refactoring | 75 | false | 2026-07-17 |
using System.Collections;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using JudoPayDotNet;
using JudoPayDotNet.Http;
using JudoPayDotNet.Models;
using JudoPayDotNet.Logging;
using NSubstitute;
using NUnit.Framework;
namespace JudoPayDotNetTests.Clients
{
[... | JudoPay/DotNetSDK | JudoPayDotNetTests/Clients/CollectionsTests.cs | https://github.com/JudoPay/DotNetSDK/blob/HEAD/JudoPayDotNetTests/Clients/CollectionsTests.cs | ghcode:00164:8292f8b5e082 | mit | codeparrot/github-code | 8292f8b5e082d3363744bdf561be88f3179c2a6173f2bd392a94d2f4c2b11794 | 0.85 | testing_debugging_repair_refactoring | 1,144 | false | 2026-07-17 |
using System.Collections.Generic;
using GlyssenEngine;
using GlyssenEngine.Character;
using GlyssenEngine.Rules;
using NUnit.Framework;
namespace GlyssenEngineTests.Rules
{
[TestFixture]
class AuthorStatsTests
{
[Test]
public void Constructor_BooksWithDifferentAuthors_NoStatsCombined()
{
var keyStrokesByB... | sillsdev/Glyssen | GlyssenEngineTests/Rules/AuthorStatsTests.cs | https://github.com/sillsdev/Glyssen/blob/HEAD/GlyssenEngineTests/Rules/AuthorStatsTests.cs | ghcode:00164:0e374c9c3a17 | mit | codeparrot/github-code | 0e374c9c3a1777ff35b5b4845b2e3c5e49406bfc8ca707d9a409281ea83dcfe6 | 0.85 | testing_debugging_repair_refactoring | 1,263 | false | 2026-07-17 |
using System;
using System.IO;
using System.Text;
using Hal9000.Json.Net.Converters;
using Moq;
using NUnit.Framework;
using Newtonsoft.Json;
namespace Hal9000.Json.Net.Test.Converters {
[TestFixture]
public class HalEmbeddedResourceConverterTest {
[TestCase]
public void WritingJsonWhenTarget... | sfgadjo/Hal9000.Json.Net | src/Hal9000.Test/Converters/HalEmbeddedResourceConverterTest.cs | https://github.com/sfgadjo/Hal9000.Json.Net/blob/HEAD/src/Hal9000.Test/Converters/HalEmbeddedResourceConverterTest.cs | ghcode:00164:33a5d6b168cf | mit | codeparrot/github-code | 33a5d6b168cfef007acdc8a3ebe0d97ca73a265ac2c56828162272305a4a3973 | 0.6 | testing_debugging_repair_refactoring | 338 | false | 2026-07-17 |
using System;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using Xunit;
namespace Lunt.Tests.Unit
{
public class LuntExceptionTests
{
public class TheConstructor
{
[Fact]
public void Can_Create_Exception_Using_Default_Constructor()
... | lunt/lunt | src/Lunt.Tests/Unit/LuntExceptionTests.cs | https://github.com/lunt/lunt/blob/HEAD/src/Lunt.Tests/Unit/LuntExceptionTests.cs | ghcode:00164:a07d50e2c78a | mit | codeparrot/github-code | a07d50e2c78a954cdbfeb139d48d4e964897e2a6750ab6458a337eff7818eb8c | 0.85 | testing_debugging_repair_refactoring | 339 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using ImplicitNullability.Plugin.Tests.Infrastructure;
using JetBrains.ProjectModel;
using NUnit.Framework;
namespace ImplicitNullability.Plugin.Tests.Integrative
{
public class HighlightingTests : SampleSolutionTestBase
{
[Test]
... | ulrichb/ImplicitNullability | Src/ImplicitNullability.Plugin.Tests/Integrative/HighlightingTests.cs | https://github.com/ulrichb/ImplicitNullability/blob/HEAD/Src/ImplicitNullability.Plugin.Tests/Integrative/HighlightingTests.cs | ghcode:00164:66854a3657ed | mit | codeparrot/github-code | 66854a3657ed7824738a5b209028b9b0e475bd7993f4b43799e52c3f181da181 | 0.85 | testing_debugging_repair_refactoring | 776 | false | 2026-07-17 |
using BackyLogic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace TestBacky
{
[TestClass]
public class TestBlockin... | yaronthurm/Backy | TestBacky/TestBlockingQueue.cs | https://github.com/yaronthurm/Backy/blob/HEAD/TestBacky/TestBlockingQueue.cs | ghcode:00164:5fdbb1731b3d | mit | codeparrot/github-code | 5fdbb1731b3dfb25fe7728987acc5c8c8e8b05a58b372ab90e7fcf362060abc6 | 0.75 | testing_debugging_repair_refactoring | 659 | false | 2026-07-17 |
// Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace Remote.Linq.Tests.DynamicQuery.QueryArgumentAttribute
{
using Aqua.Dynamic;
using Remote.Linq.DynamicQuery;
using Shouldly;
using Xunit;
using RemoteLinq = Remote.Linq.Expres... | 6bee/Remote.Linq | test/Remote.Linq.Tests/DynamicQuery/QueryArgumentAttribute/When_annotating_class.cs | https://github.com/6bee/Remote.Linq/blob/HEAD/test/Remote.Linq.Tests/DynamicQuery/QueryArgumentAttribute/When_annotating_class.cs | ghcode:00164:aa543d146e4c | mit | codeparrot/github-code | aa543d146e4c9075c577d97259b290b8a75d5661f8b5f2048de87046a16589ed | 0.75 | testing_debugging_repair_refactoring | 408 | false | 2026-07-17 |
/*
Copyright (c) 2014 <a href="http://www.gutgames.com">James Craig</a>
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, ... | switchspan/Craig-s-Utility-Library | UnitTests/IO/FileSystem/Manager.cs | https://github.com/switchspan/Craig-s-Utility-Library/blob/HEAD/UnitTests/IO/FileSystem/Manager.cs | ghcode:00164:49a738e7c943 | mit | codeparrot/github-code | 49a738e7c9437bd50a6e9b9d4f5c855ea35d42531786965964fc524546ee8ef3 | 0.6 | testing_debugging_repair_refactoring | 668 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#if !WINDOWS_UWP
// When the .NET scripting backend is enabled and C# projects are built
// The assembly that this file is part of is still built for the player,
// even though the assembly itself is marked as a test assembly (this is not
// e... | DDReaper/MixedRealityToolkit-Unity | Assets/MRTK/Tests/PlayModeTests/InteractableTests.cs | https://github.com/DDReaper/MixedRealityToolkit-Unity/blob/HEAD/Assets/MRTK/Tests/PlayModeTests/InteractableTests.cs | ghcode:00164:45f10c4216b9 | mit | codeparrot/github-code | 45f10c4216b9c2da3c61e28159f6c86d2ff972c5af51d33408645a1d7ff37234 | 0.95 | testing_debugging_repair_refactoring | 10,115 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Requests.Movies
{
using FluentAssertions;
using System;
using System.Collections;
using System.Collections.Generic;
using Traits;
using TraktApiSharp.Enums;
using TraktApiSharp.Requests.Movies;
using Xunit;
[Category("Requests.Movies")]
public clas... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Requests/Movies/MovieListsRequest_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Requests/Movies/MovieListsRequest_Tests.cs | ghcode:00164:1817cf882037 | mit | codeparrot/github-code | 1817cf882037f9d630713237449089eeee4a620b4362a0c0b981fbabaf9b8104 | 0.95 | testing_debugging_repair_refactoring | 1,964 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using System.Xml.Xsl;
namespace AdvancedXML.Tests.RssFeedGenerator
{
/// <summary>
/// Summary description for Tests
/// </summary>
[TestClass]
public class Tests
{
[TestMethod]
public void GenerateRSS()
... | AndreiRazumau/mentoring-d3 | MentoringD3/AdvancedXML.Tests/src/RssFeedGenerator/Tests.cs | https://github.com/AndreiRazumau/mentoring-d3/blob/HEAD/MentoringD3/AdvancedXML.Tests/src/RssFeedGenerator/Tests.cs | ghcode:00164:46a82646f7ea | mit | codeparrot/github-code | 46a82646f7ea38eeb7a086a8a9bf7bba7fa6a7921f61e09f2abe28fe5b161d3e | 0.95 | testing_debugging_repair_refactoring | 157 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
us... | aelij/roslyn | src/Compilers/CSharp/Portable/Binder/Semantics/Conversions/ConversionsBase.cs | https://github.com/aelij/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/Semantics/Conversions/ConversionsBase.cs | ghcode:00164:54a0ff3de193 | apache-2.0 | codeparrot/github-code | 54a0ff3de193766bb47941774384a39cce491fd21e3a31545f47c972fc5350fd | 0.65 | testing_debugging_repair_refactoring | 27,943 | false | 2026-07-17 |
//-------------------------------------------------------------------------------
// <copyright file="ExpressionAggregatorFacts.cs" company="Appccelerate">
// Copyright (c) 2008-2015
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Li... | appccelerate/evaluationengine | source/Appccelerate.EvaluationEngine.Facts/Aggregators/ExpressionAggregatorFacts.cs | https://github.com/appccelerate/evaluationengine/blob/HEAD/source/Appccelerate.EvaluationEngine.Facts/Aggregators/ExpressionAggregatorFacts.cs | ghcode:00164:d33a66b29892 | apache-2.0 | codeparrot/github-code | d33a66b298926e715d2c10eed705e58ca9b4e22346c738b2347ebc343c2d6e50 | 0.7 | testing_debugging_repair_refactoring | 505 | false | 2026-07-17 |
using System;
using System.Xml.Serialization;
using System.Xml;
using System.IO;
using System.Xml.XPath;
namespace SolarWinds.InformationService.Contract2.OldContract
{
/// <summary>
/// This class allows XML serialization in a more human readable format. The resulting stripped xml of the serialized object c... | jkorell/OrionSDK | Src/Contract/Tests/InformationService.Contract.Tests/OldContract/XmlStrippedSerializer.cs | https://github.com/jkorell/OrionSDK/blob/HEAD/Src/Contract/Tests/InformationService.Contract.Tests/OldContract/XmlStrippedSerializer.cs | ghcode:00164:687caf54d300 | apache-2.0 | codeparrot/github-code | 687caf54d30070d350eb28d8a6ec787f677b944a46786a44d871f966724c6213 | 0.95 | testing_debugging_repair_refactoring | 554 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Jobs;
namespace MicroBenchmarks.ServiceBus
{
[Config(typeof(Co... | danielmarbach/MicroBenchmarks | MicroBenchmarks/ServiceBus/BatchMessagesLinqVsNoLinq.cs | https://github.com/danielmarbach/MicroBenchmarks/blob/HEAD/MicroBenchmarks/ServiceBus/BatchMessagesLinqVsNoLinq.cs | ghcode:00164:09f0fbb726e7 | apache-2.0 | codeparrot/github-code | 09f0fbb726e7c92626abb1ae2f9775607ec2be470393eadeb7b1fc34a11f23c8 | 0.6 | testing_debugging_repair_refactoring | 870 | false | 2026-07-17 |
using DroneSafetyApi.Models;
using DroneSafetyApi.Services;
using Microsoft.Azure.Documents.Spatial;
using System;
using System.Collections.Generic;
using Xunit;
using System.Linq;
using Moq;
namespace DroneSafetyApi.UnitTests.ServicesTests
{
public class HazardsToHeatmapResponseTests
{
[Fact]
... | CB17Echo/DroneSafetyApi | test/DroneSafetyApi.UnitTests/ServicesTests/HazardsToHeatmapResponseTests.cs | https://github.com/CB17Echo/DroneSafetyApi/blob/HEAD/test/DroneSafetyApi.UnitTests/ServicesTests/HazardsToHeatmapResponseTests.cs | ghcode:00164:bdc38b56b18f | apache-2.0 | codeparrot/github-code | bdc38b56b18ffd7391ed117d22ab57a69d1de675ed993fafa5f2896acb25651a | 0.85 | testing_debugging_repair_refactoring | 927 | false | 2026-07-17 |
using System;
using System.Configuration;
using System.Globalization;
using System.IO;
using Xunit;
using Xunit.Extensions;
namespace NuGet.Test.Integration.NuGetCommandLine
{
public class NuGetHelpCommandTest
{
[Theory]
[InlineData("config")]
[InlineData("delete")]
[InlineData... | OneGet/nuget | test/Test.Integration/NuGetCommandLine/NuGetHelpCommandTest.cs | https://github.com/OneGet/nuget/blob/HEAD/test/Test.Integration/NuGetCommandLine/NuGetHelpCommandTest.cs | ghcode:00164:f5773bc6320c | apache-2.0 | codeparrot/github-code | f5773bc6320c699dac7290853c821b06ce86e6a98cd17e3a731bcd46076ec85a | 0.7 | testing_debugging_repair_refactoring | 352 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System... | brettfo/roslyn | src/Tools/IdeBenchmarks/SQLitePersistentStorageBenchmark.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/Tools/IdeBenchmarks/SQLitePersistentStorageBenchmark.cs | ghcode:00164:5c26eddee4ee | apache-2.0 | codeparrot/github-code | 5c26eddee4ee8fde1201242de74d97b39493815e0d3d14eb51b4f40c0b15d2d8 | 0.85 | testing_debugging_repair_refactoring | 891 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.FSharp.Control;
using Microsoft.FSharp.Core;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.CompilerServices;
using Sys... | aspnet/AspNetCore | src/Shared/test/Shared.Tests/ObjectMethodExecutorTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Shared/test/Shared.Tests/ObjectMethodExecutorTest.cs | ghcode:00164:14531e81641a | apache-2.0 | codeparrot/github-code | 14531e81641aaf242e6545ae4d232f0005a6001fc8bc9c8e50b3078c6ad22ca9 | 0.95 | testing_debugging_repair_refactoring | 4,178 | false | 2026-07-17 |
using Lucene.Net.Support;
using Lucene.Net.Support.Threading;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using Console = Lucene.Net.Support.SystemConsole;
namespace Lucene.Net.Search
{
using Directory = Lucene.Net.Store.Directory;
using IndexR... | laimis/lucenenet | src/Lucene.Net.TestFramework/Search/ShardSearchingTestBase.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.TestFramework/Search/ShardSearchingTestBase.cs | ghcode:00164:f6e7c239d8dc | apache-2.0 | codeparrot/github-code | f6e7c239d8dc7a6e8ef11c0bb7765e4c56607aa413d1e6d7c3796cdab320264e | 0.85 | testing_debugging_repair_refactoring | 5,748 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Util.Tests
{
/// <summary>
/// 类型转换公共操作类测试
/// </summary>
[TestClass]
public class ConvertHelperTest
{
#region ToInt(转换为整型)
/// <summary>
///转换为整型,值为null
///</summary>
... | eugenecc/cc | Util/Unit.Test/ConvertTest.cs | https://github.com/eugenecc/cc/blob/HEAD/Util/Unit.Test/ConvertTest.cs | ghcode:00164:57de3fdc2679 | apache-2.0 | codeparrot/github-code | 57de3fdc26797684e7dce72f597ae653daca7ba817796e6738a67eae4333d4de | 0.7 | testing_debugging_repair_refactoring | 6,393 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.Linq;
using DotVVM.Samples.Tests.Base;
using DotVVM.Testing.Abstractions;
using OpenQA.Selenium;
using Riganti.Selenium.Core;
using Riganti.Selenium.DotVVM;
using Xunit;
using Xunit.Abstractions;
namespace DotVVM.Samples.Tests.Feature
{
public class Validatio... | riganti/dotvvm | src/Samples/Tests/Tests/Feature/ValidationTests.cs | https://github.com/riganti/dotvvm/blob/HEAD/src/Samples/Tests/Tests/Feature/ValidationTests.cs | ghcode:00164:b080ee6f5075 | apache-2.0 | codeparrot/github-code | b080ee6f50752e539f28b1812ce7dbcdc8b52ad85b400b8fc055676f1729e0c7 | 0.95 | testing_debugging_repair_refactoring | 7,134 | false | 2026-07-17 |
/*
JustMock Lite
Copyright © 2020 Progress Software Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appl... | telerik/JustMockLite | Telerik.JustMock/Xunit/AssertFailedException.cs | https://github.com/telerik/JustMockLite/blob/HEAD/Telerik.JustMock/Xunit/AssertFailedException.cs | ghcode:00164:4a7be2d0fab8 | apache-2.0 | codeparrot/github-code | 4a7be2d0fab89dc85a46669d0f1a6345894293e6b8f7832d697180112930c852 | 0.85 | testing_debugging_repair_refactoring | 275 | false | 2026-07-17 |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TestButton : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| vietanh1441/infinityBreakout | Assets/Script/TestButton.cs | https://github.com/vietanh1441/infinityBreakout/blob/HEAD/Assets/Script/TestButton.cs | ghcode:00164:d10c4b68e028 | apache-2.0 | codeparrot/github-code | d10c4b68e02873843cc7a1f545755ebdf95dc393571b357a6dc2176d69975a1e | 0.75 | testing_debugging_repair_refactoring | 51 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Linq;
using Xunit;
namespace Microsoft.AspNetCore.Mvc.Formatters.Xml
{
public class DelegatingEnumerableTest
{
[Fact]
public void CanEnumerateOn... | aspnet/AspNetCore | src/Mvc/Mvc.Formatters.Xml/test/DelegatingEnumerableTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/Mvc.Formatters.Xml/test/DelegatingEnumerableTest.cs | ghcode:00164:0780d3d5545d | apache-2.0 | codeparrot/github-code | 0780d3d5545dd0006aaf4caa82baa70a1cec541cc1113cf5317ae05a3548fd26 | 0.95 | testing_debugging_repair_refactoring | 481 | false | 2026-07-17 |
using System;
using System.Reactive;
namespace Qactive.Tests
{
internal static class TestService
{
public static readonly QbservableServiceOptions DefaultOptions = new QbservableServiceOptions(QbservableServiceOptions.Default)
{
SendServerErrorsToClients = true
}
.Freeze();
public stati... | RxDave/Qactive | Testing/Qactive.Tests/TestService.cs | https://github.com/RxDave/Qactive/blob/HEAD/Testing/Qactive.Tests/TestService.cs | ghcode:00164:810ce7aab55e | apache-2.0 | codeparrot/github-code | 810ce7aab55e66f49ffcb0ece2c875c599c560de21797e150e64a2df0ed97e7e | 0.85 | testing_debugging_repair_refactoring | 647 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace DiffMatchPatch.Tests
{
public class DiffList_CharsToLinesTests
{
[Fact]
public void CharsToLines_ValidCharsWithCorrespondingLines_RestoresDiffsCorrectly()
{
// C... | jhgbrt/google-diff-match-patch-csharp | DiffMatchPatch.Tests/DiffList_CharsToLinesTests.cs | https://github.com/jhgbrt/google-diff-match-patch-csharp/blob/HEAD/DiffMatchPatch.Tests/DiffList_CharsToLinesTests.cs | ghcode:00164:a5235bf059e8 | apache-2.0 | codeparrot/github-code | a5235bf059e89c3b3f87eaafbab78a3358f26c4b8b9d760a157352f21a927c4b | 0.75 | testing_debugging_repair_refactoring | 434 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Diagnostics;
using OopFactory.X12;
using System.Reflection;
using System.IO;
using OopFactory.X12.Parsing;
using OopFactory.X12.Parsing.Model;
using OopFactory.X12.Pars... | ygrinev/ygrinev | Study/EDI/x12parser/x12parser/trunk/tests/OopFactory.X12.Tests.Unit/Creation/InstitutionalClaimCreationTester.cs | https://github.com/ygrinev/ygrinev/blob/HEAD/Study/EDI/x12parser/x12parser/trunk/tests/OopFactory.X12.Tests.Unit/Creation/InstitutionalClaimCreationTester.cs | ghcode:00164:ac0d95c5f494 | apache-2.0 | codeparrot/github-code | ac0d95c5f4948d98adf0dd347f6a1a8bb02666c1ab44016de3619452e0c64425 | 0.85 | testing_debugging_repair_refactoring | 3,257 | false | 2026-07-17 |
#if XUNIT
using System;
#if XUNIT2
using System.Collections.Generic;
using System.Linq;
#endif
using Xunit;
#if XUNIT2
using Xunit.Abstractions;
#endif
#endif
#if XUNIT2
#pragma warning disable xUnit1013
#endif
namespace Telerik.JustMock.XUnit.Test.Attributes
{
#if XUNIT
[SerializableAttribute]
[AttributeUs... | telerik/JustMockLite | Telerik.JustMock.Tests.Base/Attributes.cs | https://github.com/telerik/JustMockLite/blob/HEAD/Telerik.JustMock.Tests.Base/Attributes.cs | ghcode:00164:22e477a39ab2 | apache-2.0 | codeparrot/github-code | 22e477a39ab25e7a568e079a3b38f0a3fd28b2afa5a2b9713de190673777664c | 0.85 | testing_debugging_repair_refactoring | 518 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Reflection.Metadata;
using System.Reflection.Metadata.Ecma335;
#if ... | ericfe-ms/roslyn | src/Compilers/Core/Portable/System/Reflection/Metadata/Ecma335/Blobs/MethodBodyEncoder.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/Compilers/Core/Portable/System/Reflection/Metadata/Ecma335/Blobs/MethodBodyEncoder.cs | ghcode:00164:a17f3d9a56ae | apache-2.0 | codeparrot/github-code | a17f3d9a56aeb7d0ee5284e00b1e065b1ff4604aa98d6b8579dcee805a668a5e | 0.85 | testing_debugging_repair_refactoring | 1,481 | 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.Linq;
using System.Threading.Tasks;
using Xunit;
namespace System.Diagnostics.ProcessTests
{
public class ProcessWaitingTests : ProcessTestBase
{
... | huanjie/corefx | src/System.Diagnostics.Process/tests/ProcessWaitingTests.cs | https://github.com/huanjie/corefx/blob/HEAD/src/System.Diagnostics.Process/tests/ProcessWaitingTests.cs | ghcode:00164:344a188cce46 | mit | codeparrot/github-code | 344a188cce461b9820e0ed450fae1019d483082236c7bf29cc97db71ab214d1e | 0.95 | testing_debugging_repair_refactoring | 1,242 | false | 2026-07-17 |
/*
* nMQTT, a .Net MQTT v3 client implementation.
* http://wiki.github.com/markallanson/nmqtt
*
* Copyright (c) 2009 Mark Allanson (mark@markallanson.net) & Contributors
*
* Licensed under the MIT License. You may not use this file except
* in compliance with the License. You may obtain a copy of the License ... | markallanson/nmqtt | nMQTTTests/Messages/Publish/Serialization.cs | https://github.com/markallanson/nmqtt/blob/HEAD/nMQTTTests/Messages/Publish/Serialization.cs | ghcode:00164:fe2d476c2157 | mit | codeparrot/github-code | fe2d476c21571b4b4a963488b373d6ce7c86f1ebf009807e00164601ac4cf23f | 0.85 | testing_debugging_repair_refactoring | 1,325 | false | 2026-07-17 |
namespace Nine.Storage.Blobs
{
using System.Collections.Generic;
using Xunit;
public class BlobStorageTest : BlobStorageSpec<BlobStorageTest>
{
public override IEnumerable<ITestFactory<IBlobStorage>> GetData()
{
yield return new TestFactory<IBlobStorage>(nameof(MemoryBlobS... | studio-nine/Nine.Storage | test/BlobStorageTest.cs | https://github.com/studio-nine/Nine.Storage/blob/HEAD/test/BlobStorageTest.cs | ghcode:00164:fb2660d5f2aa | mit | codeparrot/github-code | fb2660d5f2aafa7fab9d695f7211b8168a1c90ccd5c8c997965ba69cf4c051f8 | 0.6 | testing_debugging_repair_refactoring | 238 | 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.Xml;
using System.Xml.XPath;
namespace MS.Internal.Xml.Cache
{
/// <summary>... | shawnhar/corefx | src/System.Xml.XPath/src/System/Xml/Cache/XPathDocumentBuilder.cs | https://github.com/shawnhar/corefx/blob/HEAD/src/System.Xml.XPath/src/System/Xml/Cache/XPathDocumentBuilder.cs | ghcode:00164:01dac577967f | mit | codeparrot/github-code | 01dac577967fc9ef115a6b547a6f2ef4a534c9ad95e4fcb366e3c39e83b85579 | 0.95 | testing_debugging_repair_refactoring | 6,974 | false | 2026-07-17 |
using NUnit.Framework;
namespace Faker.Tests.Common
{
////[SetUICulture("en")]
////[SetUICulture("en-US")]
////[SetUICulture("nb-NO")]
////[SetUICulture("de-DE")]
[SetUICulture("pt-BR")]
public class PhoneTests
{
[Test]
public void Should_Generate_Extension()
{
string extension = Phone.Extension();
... | AdmiringWorm/Faker.NET.Portable | tests/Faker.Tests/Common/PhoneTests.cs | https://github.com/AdmiringWorm/Faker.NET.Portable/blob/HEAD/tests/Faker.Tests/Common/PhoneTests.cs | ghcode:00164:8e2898eb84a8 | mit | codeparrot/github-code | 8e2898eb84a8ed2cc2b385f16c2878c381efe67a0a978300d5fce7a17ce66738 | 0.85 | testing_debugging_repair_refactoring | 343 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="BatchingSqliteJournalConnectionFailureSpec.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... | simonlaroche/akka.net | src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteJournalConnectionFailureSpec.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Batching/BatchingSqliteJournalConnectionFailureSpec.cs | ghcode:00164:adfb25857e12 | apache-2.0 | codeparrot/github-code | adfb25857e122de605afd1c6a9fc773cae0ba5385f59e6966b0d9c0488eff257 | 0.85 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
//<-- To access the definition of the deleagte RowDelegate
using System;
using System.Collections;
using System.Threading;
using IBatisNet.Common;
using IBatisNet.Common.Utilities;
using IBatisNet.DataMapper.Configuration.Cache;
using IBatisNet.DataMapper.MappedStatements;
using IBatisNet.DataMapper.Test.Domain;
usin... | cavajtennis/ibatis | cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheTest.cs | https://github.com/cavajtennis/ibatis/blob/HEAD/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheTest.cs | ghcode:00164:43eae34c859e | apache-2.0 | codeparrot/github-code | 43eae34c859ef9bedc5e6b97c1a918a513045cc9a9989479992c53425e37205a | 0.85 | testing_debugging_repair_refactoring | 1,839 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="AsyncContext.SynchronizationContext.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.n... | simonlaroche/akka.net | src/core/Akka.Tests.Shared.Internals/AsyncContext/AsyncContext.SynchronizationContext.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/core/Akka.Tests.Shared.Internals/AsyncContext/AsyncContext.SynchronizationContext.cs | ghcode:00164:4d8254878c05 | apache-2.0 | codeparrot/github-code | 4d8254878c052564e6fada197b675a821860cb0c79f621b1914b3fd6de820902 | 0.85 | testing_debugging_repair_refactoring | 963 | false | 2026-07-17 |
// Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of source code must retain the above copyright notice,
// this list of cond... | msbahrul/EventStore | src/EventStore/EventStore.Core.Tests/TransactionLog/Truncation/when_truncating_right_at_the_end_of_multichunk.cs | https://github.com/msbahrul/EventStore/blob/HEAD/src/EventStore/EventStore.Core.Tests/TransactionLog/Truncation/when_truncating_right_at_the_end_of_multichunk.cs | ghcode:00164:93abb3f66cdb | bsd-3-clause | codeparrot/github-code | 93abb3f66cdbbc96040dab49e4ea950c72430accf9de8b4d101fb73448b78cdf | 0.85 | testing_debugging_repair_refactoring | 1,341 | false | 2026-07-17 |
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace ApplicationGateway.Models
{
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Collections;
... | dsgouda/autorest | Samples/test/end-to-end/network/Client/Models/Probe.cs | https://github.com/dsgouda/autorest/blob/HEAD/Samples/test/end-to-end/network/Client/Models/Probe.cs | ghcode:00164:8c795fdb5a9c | mit | codeparrot/github-code | 8c795fdb5a9c93160bae544253a33655877ff4f149bf1e9b75dfd3d8f3acfe87 | 0.95 | testing_debugging_repair_refactoring | 1,585 | 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.Buffers;
using Xunit;
namespace System.MemoryTests
{
public static partial class MemoryTests
{... | tijoytom/corefx | src/System.Memory/tests/Memory/Retain.cs | https://github.com/tijoytom/corefx/blob/HEAD/src/System.Memory/tests/Memory/Retain.cs | ghcode:00164:5cbdfb867926 | mit | codeparrot/github-code | 5cbdfb867926ce6e15f47bc2ef40006d8082dbce17456924c9c66bdfdd679ad6 | 0.95 | testing_debugging_repair_refactoring | 921 | false | 2026-07-17 |
{caret}namespace N
{
class Program
{
static void Main(string[] args)
{
string query = "a";
for (int i = 0; i < 10; i++)
{
string iStr = "b";
for (int j = 0; j < 10; j++)
{
query +... | fedorovr/YaccConstructor | src/SELApproximator/SELApproximator.Tests/test/data/CSharpFsa/NestedFor.cs | https://github.com/fedorovr/YaccConstructor/blob/HEAD/src/SELApproximator/SELApproximator.Tests/test/data/CSharpFsa/NestedFor.cs | ghcode:00164:d1e78d1d7905 | apache-2.0 | codeparrot/github-code | d1e78d1d79053b024995c3fc2ac8389a77f3c06946f7216a936a650db7e8f457 | 0.85 | testing_debugging_repair_refactoring | 112 | false | 2026-07-17 |
using NUnit.Framework;
using StructureMap.Testing;
using StructureMap.Testing.Widget3;
namespace StructureMap.Web.Testing
{
[TestFixture]
public class HttpSessionNullRefBug
{
[Test]
public void SetUp()
{
var container = new Container(x => x.For<IGateway>(WebL... | theskhan/structuremap | src/StructureMap.Web.Testing/HttpSessionNullRefBug.cs | https://github.com/theskhan/structuremap/blob/HEAD/src/StructureMap.Web.Testing/HttpSessionNullRefBug.cs | ghcode:00164:3063ea9f5bc5 | apache-2.0 | codeparrot/github-code | 3063ea9f5bc5498dc9557277e661c745d741e1ff3e8c0760e715a5ed660f0b5d | 0.6 | testing_debugging_repair_refactoring | 96 | false | 2026-07-17 |
using CodeCracker.CSharp.Style;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Testing;
using System.Threading.Tasks;
using Xunit;
namespace CodeCracker.Test.CSharp.Style
{
public class TaskNameAsyncTests : CodeFixVerifier<TaskNameAsyncAnalyzer, TaskNameAsyncCodeFixProvider>
{
[Fact]
... | code-cracker/code-cracker | test/CSharp/CodeCracker.Test/Style/TaskNameASyncTests.cs | https://github.com/code-cracker/code-cracker/blob/HEAD/test/CSharp/CodeCracker.Test/Style/TaskNameASyncTests.cs | ghcode:00164:363291db765b | apache-2.0 | codeparrot/github-code | 363291db765b0349dd658d0ebb3ebeebf52aff0f9ecc0b792ca9fd8df95a79ce | 0.75 | testing_debugging_repair_refactoring | 1,716 | false | 2026-07-17 |
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Xunit;
namespace Tests.Search.SearchTemplate
{
[Collection(IntegrationContext.Indexing)]
public class SearchTemplateCrudTests
: CrudTestBase<IPutSearchTemplateResponse, IGetSearchTemplateResponse, IPutSearchTemplat... | UdiBen/elasticsearch-net | src/Tests/Search/SearchTemplate/SearchTemplateCrudTests.cs | https://github.com/UdiBen/elasticsearch-net/blob/HEAD/src/Tests/Search/SearchTemplate/SearchTemplateCrudTests.cs | ghcode:00164:8511412e5d21 | apache-2.0 | codeparrot/github-code | 8511412e5d213a2642d7d56119151e73d6a24a101255b23bc4f63ab89c8e75e4 | 0.85 | testing_debugging_repair_refactoring | 843 | false | 2026-07-17 |
using System.Diagnostics;
using System.Collections.Generic;
using Lucene.Net.Index;
using Lucene.Net.Store;
using Lucene.Net.Support;
using Lucene.Net.Util;
namespace Lucene.Net.Codecs.Memory
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the ... | jpsullivan/lucenenet | src/Lucene.Net.Codecs/Memory/DirectDocValuesProducer.cs | https://github.com/jpsullivan/lucenenet/blob/HEAD/src/Lucene.Net.Codecs/Memory/DirectDocValuesProducer.cs | ghcode:00164:6c05bee303bc | apache-2.0 | codeparrot/github-code | 6c05bee303bcf0930a85b56e243a395a56e3c9a861efa8d07239d6d96813806a | 0.85 | testing_debugging_repair_refactoring | 4,035 | 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:... | xJom/mbunit-v3 | src/Extensions/Icarus/Gallio.Icarus.Tests/Controllers/AnnotationsControllerTest.cs | https://github.com/xJom/mbunit-v3/blob/HEAD/src/Extensions/Icarus/Gallio.Icarus.Tests/Controllers/AnnotationsControllerTest.cs | ghcode:00164:679d7d5f71e3 | apache-2.0 | codeparrot/github-code | 679d7d5f71e35fec364d75a3e0814e3d7c64f185e2b98cdd7d09fa9f99d3dcd5 | 0.85 | testing_debugging_repair_refactoring | 623 | false | 2026-07-17 |
using AllReady.Models;
using AllReady.Security;
using System.Security.Claims;
using Xunit;
using ClaimTypes = System.Security.Claims.ClaimTypes;
using Microsoft.AspNetCore.Identity;
namespace AllReady.UnitTest.Security
{
public class ClaimsExtensionsTest : TestBase
{
UserManager<ApplicationUser> _userManager;... | auroraocciduusadmin/allReady | AllReadyApp/Web-App/AllReady.UnitTest/Security/ClaimsExtensionsTest.cs | https://github.com/auroraocciduusadmin/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Security/ClaimsExtensionsTest.cs | ghcode:00164:d713c0e1c106 | mit | codeparrot/github-code | d713c0e1c106a63d346783fff2e26fbb0bebb671edf557eba8ff9d697a22a8cf | 0.75 | testing_debugging_repair_refactoring | 1,675 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... | yonglehou/spring-net | test/Spring/Spring.Core.Tests/Objects/Factory/Config/CommandLineArgsVariableSourceTests.cs | https://github.com/yonglehou/spring-net/blob/HEAD/test/Spring/Spring.Core.Tests/Objects/Factory/Config/CommandLineArgsVariableSourceTests.cs | ghcode:00164:868d66e9f61b | apache-2.0 | codeparrot/github-code | 868d66e9f61b0fefa9c3928c95cc8ff83affc684915f4d3515ee032a1e033914 | 0.85 | testing_debugging_repair_refactoring | 561 | false | 2026-07-17 |
using Cake.Common.Tools.XUnit;
using Xunit;
namespace Cake.Common.Tests.Unit.Tools.XUnit
{
public sealed class XUnitSettingsTests
{
public sealed class TheConstructor
{
[Fact]
public void Should_Set_Output_Directory_To_Null_By_Default()
{
// ... | yvschmid/cake | src/Cake.Common.Tests/Unit/Tools/XUnit/XUnitSettingsTests.cs | https://github.com/yvschmid/cake/blob/HEAD/src/Cake.Common.Tests/Unit/Tools/XUnit/XUnitSettingsTests.cs | ghcode:00164:dd1a2c33c030 | mit | codeparrot/github-code | dd1a2c33c030db8ebd1c151cf7dcabca03f42efc1f2ea46b0e6655d7498ca1f0 | 0.85 | testing_debugging_repair_refactoring | 275 | false | 2026-07-17 |
#region MIT license
//
// MIT license
//
// Copyright (c) 2007-2008 Jiri Moudry
//
// 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 limitat... | vinodvar/dblinq | src/DbMetal/Test/EnglishWordsTest.cs | https://github.com/vinodvar/dblinq/blob/HEAD/src/DbMetal/Test/EnglishWordsTest.cs | ghcode:00164:27e5b0f2188b | mit | codeparrot/github-code | 27e5b0f2188bf5cc11bf9864e56c1f05057ecd1db4ea0f60a00d0af1821023b9 | 0.95 | testing_debugging_repair_refactoring | 1,219 | false | 2026-07-17 |
using System;
using Xunit.Abstractions;
using Microsoft.Extensions.Logging;
namespace TestServiceFabric
{
public class TestOutputLogger<TCategoryName> : TestOutputLogger, ILogger<TCategoryName>
{
public TestOutputLogger(ITestOutputHelper output, LogLevel level = LogLevel.Information) : base(output, type... | amccool/orleans | test/Extensions/TestServiceFabric/TestOutputLogger.cs | https://github.com/amccool/orleans/blob/HEAD/test/Extensions/TestServiceFabric/TestOutputLogger.cs | ghcode:00164:029fd66e111f | mit | codeparrot/github-code | 029fd66e111f1625ba694bc3b4408e4292d053c0072deee9501355483fc494b4 | 0.75 | testing_debugging_repair_refactoring | 398 | false | 2026-07-17 |
namespace Nuwa.Sdk
{
/// <summary>
/// IRunElement defines a factor in RunFrame. The factory could be host strategy,
/// trace strategy, security strategy and so or.
///
/// IRunElement is created by IRunElementPerceiver from Attributes or other clues
/// regarding to test run configuration. ... | lewischeng-ms/WebApi | OData/test/E2ETestV3/Nuwa/Sdk/IRunElement.cs | https://github.com/lewischeng-ms/WebApi/blob/HEAD/OData/test/E2ETestV3/Nuwa/Sdk/IRunElement.cs | ghcode:00164:de524ad57030 | mit | codeparrot/github-code | de524ad5703080920739e97b182e2bd891dfc99c0e7fea222d0d55252d2afaa9 | 0.95 | testing_debugging_repair_refactoring | 382 | false | 2026-07-17 |
namespace OpenQA.Selenium.Firefox
{
// This is a simple wrapper class to create a FirefoxDriver that
// uses the Marionette implementation and has no parameters in the
// constructor.
public class NightlyFirefoxWebDriver : FirefoxDriver
{
public NightlyFirefoxWebDriver()
: base(... | mojwang/selenium | dotnet/test/firefox/NightlyFirefoxWebDriver.cs | https://github.com/mojwang/selenium/blob/HEAD/dotnet/test/firefox/NightlyFirefoxWebDriver.cs | ghcode:00164:017e9130c916 | apache-2.0 | codeparrot/github-code | 017e9130c91667d50bcecda81d6ff5e5fd115bd5a27696910ac0704d99e688e8 | 0.95 | testing_debugging_repair_refactoring | 97 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading;
using Autofac.Extras.FakeItEasy;
using Elasticsearch.Net.Connection;
using Elasticsearch.Net.ConnectionPool;
using Elasticsearch.Net.Tests.Unit.Stubs;
using FluentAssertions;
using NUnit.Framework;
namespace Elasticsearch.Net.Tests.Unit.Failover.Concurrent
{
[... | amyzheng424/elasticsearch-net | src/Tests/Elasticsearch.Net.Tests.Unit/Failover/Concurrent/ConcurrencyTests.cs | https://github.com/amyzheng424/elasticsearch-net/blob/HEAD/src/Tests/Elasticsearch.Net.Tests.Unit/Failover/Concurrent/ConcurrencyTests.cs | ghcode:00164:c1e92d86c6d6 | apache-2.0 | codeparrot/github-code | c1e92d86c6d60ffacceabd06f08393b8f84f36ba12cdb8cfec7def4260ce8489 | 0.95 | testing_debugging_repair_refactoring | 793 | 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 Xunit;
using Xunit.Sdk;
namespace Tests.System
{
public class AssertExtensionTests
{
... | nbarbettini/corefx | src/Common/tests/Tests/System/AssertExtensionTests.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/Common/tests/Tests/System/AssertExtensionTests.cs | ghcode:00164:0cd95a2df41d | mit | codeparrot/github-code | 0cd95a2df41dceb24a983064cb1c49fc01c97d0038bd634b7cba5241240f02b7 | 0.95 | testing_debugging_repair_refactoring | 1,705 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.