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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using System;
using System.Linq;
using System.Threading.Tasks;
using Cosmos.TestRunner;
namespace Cosmos.Compiler.Tests.Bcl.System
{
class BitConverterTest
{
public static void Execute()
{
String result;
String expectedResult;
int anInt = 1;
by... | Cyber4/Cosmos | Tests/Cosmos.Compiler.Tests.Bcl/System/BitConverterTest.cs | https://github.com/Cyber4/Cosmos/blob/HEAD/Tests/Cosmos.Compiler.Tests.Bcl/System/BitConverterTest.cs | ghcode:00174:1aa436096a74 | bsd-3-clause | codeparrot/github-code | 1aa436096a74e575bbc8c695ce67952bff51f13ccb111742b345e61609455d0b | 0.75 | testing_debugging_repair_refactoring | 482 | false | 2026-07-17 |
using System.Diagnostics.Contracts;
class A
{
public void EnableOnSimpleMethod{on}(string s, string s2) {}
public void EnableOnSimpleMethodWithDefaults{on}(string s, string s2, int n, int? nn, string s3 = null) {}
public void DisabledOnArgument(string st{off}r) {}
public void DisabledBecauseNoneArgsAvailab... | Diagonactic/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/test/data/Intentions/ContextActions/ComboRequiresForMethod/AvailabilitySimple.cs | https://github.com/Diagonactic/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/test/data/Intentions/ContextActions/ComboRequiresForMethod/AvailabilitySimple.cs | ghcode:00174:1fff091bf997 | mit | codeparrot/github-code | 1fff091bf9975dd98e500c3b4fe0274fc00f2cfd21c6983291d25c32343a76eb | 0.85 | testing_debugging_repair_refactoring | 157 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using OmniSharp.Models;
using OmniSharp.Roslyn.CSharp.Services.Diagnostics;
using OmniSharp.Services;
using OmniSharp.Tests;
using OmniSharp.Workers.Diagnostics;
using TestUtility.Fake;
using Xunit;
namespace OmniSharp.Roslyn.CSharp.Tes... | jtbm37/omnisharp-roslyn | tests/OmniSharp.Roslyn.CSharp.Tests/DiagnosticsV2Facts.cs | https://github.com/jtbm37/omnisharp-roslyn/blob/HEAD/tests/OmniSharp.Roslyn.CSharp.Tests/DiagnosticsV2Facts.cs | ghcode:00174:89a17a700b9d | mit | codeparrot/github-code | 89a17a700b9d83e93bd31e75d86376a50cf5958f5afebbc3be137cd7dff82821 | 0.75 | testing_debugging_repair_refactoring | 883 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Game.Tournament.Components;
using osu.Game.Tournament.Screens;
using osu.Game.To... | 2yangk23/osu | osu.Game.Tournament.Tests/Screens/TestSceneGameplayScreen.cs | https://github.com/2yangk23/osu/blob/HEAD/osu.Game.Tournament.Tests/Screens/TestSceneGameplayScreen.cs | ghcode:00174:caeb7907c885 | mit | codeparrot/github-code | caeb7907c885812be7275be107fcc22d1da585851a2bc35e741af947dd7b7bf8 | 0.75 | testing_debugging_repair_refactoring | 233 | false | 2026-07-17 |
// Copyright (c) Aspose 2002-2021. All Rights Reserved.
using Aspose.Words;
using NUnit.Framework;
namespace AsposeWordsVSOpenXML.AsposeWords_features.Features_missing_in_OpenXML
{
[TestFixture]
public class AllFieldUpdate : TestUtil
{
[Test]
public void AllFieldUpdateFeature()
{
... | aspose-words/Aspose.Words-for-.NET | Plugins/Aspose.Words Vs OpenXML Words/Aspose.Words VS OpenXML/AsposeWords/AsposeWords features/Features missing in OpenXML/All field update.cs | https://github.com/aspose-words/Aspose.Words-for-.NET/blob/HEAD/Plugins/Aspose.Words Vs OpenXML Words/Aspose.Words VS OpenXML/AsposeWords/AsposeWords features/Features missing in OpenXML/All field update.cs | ghcode:00174:a533bf70fcd7 | mit | codeparrot/github-code | a533bf70fcd79379118023373241a0986a8d1ab053f775efa98b373fd9522278 | 0.85 | testing_debugging_repair_refactoring | 400 | false | 2026-07-17 |
using Ocelot.Configuration;
using Ocelot.LoadBalancer.LoadBalancers;
using Shouldly;
using Xunit;
namespace Ocelot.UnitTests.LoadBalancer
{
public class LoadBalancerOptionsTests
{
[Fact]
public void should_default_to_no_load_balancer()
{
var options = new LoadBalancerOptions... | TomPallister/Ocelot | test/Ocelot.UnitTests/LoadBalancer/LoadBalancerOptionsTests.cs | https://github.com/TomPallister/Ocelot/blob/HEAD/test/Ocelot.UnitTests/LoadBalancer/LoadBalancerOptionsTests.cs | ghcode:00174:3fad5238bc8e | mit | codeparrot/github-code | 3fad5238bc8e127fccee6804194c42bcb8163d8e2c1322cc99fb8de06a1e764e | 0.75 | testing_debugging_repair_refactoring | 87 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using System.Linq.Expressions;
using System.IO;
using System.Globalization;
using System.Text;
using System.Text.RegularExpressions;
using Duality;
using Duality.Components;
using Duality.Drawing;
using Duality.Resources;
usin... | mfep/duality | Test/Core/Serialization/SerializerTest.cs | https://github.com/mfep/duality/blob/HEAD/Test/Core/Serialization/SerializerTest.cs | ghcode:00174:13891fb65011 | mit | codeparrot/github-code | 13891fb6501164186e96b3f1dc01adfe5b91286347cba1e56dbef779e138f565 | 0.7 | testing_debugging_repair_refactoring | 6,186 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); yo... | Mpdreamz/lucene.net | test/core/TestSearchForDuplicates.cs | https://github.com/Mpdreamz/lucene.net/blob/HEAD/test/core/TestSearchForDuplicates.cs | ghcode:00174:02f3434918c3 | apache-2.0 | codeparrot/github-code | 02f3434918c3301abd52b20fdf37ce8645e27e3ff5ce1e1df8a5fc26b8ce6a39 | 0.85 | testing_debugging_repair_refactoring | 1,387 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Scheme.Storage;
namespace Scheme.Library
{
internal static class Primitive
{
public static Dictionary<Symbol, Object> Macros
=> macros.ToDictionary(kvp => new Symbol(kvp.Key),
kv... | phamhathanh/scheme-net | src/Scheme/src/Library/Primitive.cs | https://github.com/phamhathanh/scheme-net/blob/HEAD/src/Scheme/src/Library/Primitive.cs | ghcode:00174:e837b121c8c6 | apache-2.0 | codeparrot/github-code | e837b121c8c6dfb9ba930fa07ec4ef49607e9f26c9e22474b74fab5db572c18a | 0.8 | testing_debugging_repair_refactoring | 2,066 | 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.Collections;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE;
using Microsof... | jaredpar/roslyn | src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/CompilationContext.cs | https://github.com/jaredpar/roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/CompilationContext.cs | ghcode:00174:b1baa0be1ba8 | apache-2.0 | codeparrot/github-code | b1baa0be1ba8e643fb23dfb02cdd862bba65417a6d5840bddd9c95e0121c3ec8 | 0.72 | testing_debugging_repair_refactoring | 12,560 | false | 2026-07-17 |
//
// Copyright (C) DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | maxwellb/csharp-driver | src/Cassandra.Tests/ExecutionProfiles/RequestHandlerTests.cs | https://github.com/maxwellb/csharp-driver/blob/HEAD/src/Cassandra.Tests/ExecutionProfiles/RequestHandlerTests.cs | ghcode:00174:cb22603622f9 | apache-2.0 | codeparrot/github-code | cb22603622f9a6bcfa46f30336bfe8e79c52712496ef0d38711e78894319d0b5 | 0.85 | testing_debugging_repair_refactoring | 3,659 | false | 2026-07-17 |
// Copyright (c) 2013-2015 Robert Rouhani <robert.rouhani@gmail.com> and other contributors (see CONTRIBUTORS file).
// Licensed under the MIT License - https://raw.github.com/Robmaister/SharpNav/master/LICENSE
using System;
using NUnit.Framework;
using SharpNav;
using SharpNav.Geometry;
#if MONOGAME
using Vector3 ... | unity-chicken/SharpNav | Source/SharpNav.Tests/HeightfieldTests.cs | https://github.com/unity-chicken/SharpNav/blob/HEAD/Source/SharpNav.Tests/HeightfieldTests.cs | ghcode:00174:3f225b3886a1 | mit | codeparrot/github-code | 3f225b3886a1c569627ae2d736ed38d0556880934cf8e90ba597c77b72fe3c63 | 0.85 | testing_debugging_repair_refactoring | 1,248 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using ZeroMQ;
namespace Examples
{
static partial class Program
{
public static void RRBroker(string[] args)
{
//
// Simple request-reply broker
//
// Author: metadings
//
// Prepare... | soscpd/bee | root/tests/zguide/examples/C#/rrbroker.cs | https://github.com/soscpd/bee/blob/HEAD/root/tests/zguide/examples/C#/rrbroker.cs | ghcode:00174:1e4e8752c34c | mit | codeparrot/github-code | 1e4e8752c34c646e2d1158174711a3b91e15086c4038d79c07b67f5824d1bcf2 | 0.95 | testing_debugging_repair_refactoring | 420 | false | 2026-07-17 |
#region license
// Copyright (c) 2007-2010 Mauricio Scheffer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requir... | ManpowerNordic/SolrNet | SolrNet.Tests/SolrDocumentSerializerTests.cs | https://github.com/ManpowerNordic/SolrNet/blob/HEAD/SolrNet.Tests/SolrDocumentSerializerTests.cs | ghcode:00174:4665bdd82ba5 | apache-2.0 | codeparrot/github-code | 4665bdd82ba5464d6f0d3afd16cb6825a957f8552ab47661b6980148bb424fc4 | 0.85 | testing_debugging_repair_refactoring | 2,450 | false | 2026-07-17 |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | yingdachen/incubator-reef | lang/cs/Org.Apache.REEF.Network.Tests/NetworkService/StreamingNetworkServiceTests.cs | https://github.com/yingdachen/incubator-reef/blob/HEAD/lang/cs/Org.Apache.REEF.Network.Tests/NetworkService/StreamingNetworkServiceTests.cs | ghcode:00174:44c72157302f | apache-2.0 | codeparrot/github-code | 44c72157302fd80a20fdbf438afa24ce92ea3edb9cb17a23de503076a6b684d6 | 0.85 | testing_debugging_repair_refactoring | 2,622 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Mi... | jmarolf/roslyn | src/Analyzers/CSharp/Tests/UseNullPropagation/UseNullPropagationTests.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Analyzers/CSharp/Tests/UseNullPropagation/UseNullPropagationTests.cs | ghcode:00174:bcc4672fc74b | mit | codeparrot/github-code | bcc4672fc74b2ec05671fdde98d47d28532780e064f9c41150704f21b953972f | 0.95 | testing_debugging_repair_refactoring | 6,346 | false | 2026-07-17 |
using Xunit;
using System.Collections.Generic;
using System.Linq;
namespace OSharp.Utility.Collections.Tests
{
public class EqualityHelperTests
{
[Fact()]
public void CreateComparerTest()
{
List<int> list1 = new List<int>();
for (int i = 0; i < 100; i++)
... | vebin/osharp-1 | tests/OSharp.Utility.Tests/Collections/EqualityHelperTests.cs | https://github.com/vebin/osharp-1/blob/HEAD/tests/OSharp.Utility.Tests/Collections/EqualityHelperTests.cs | ghcode:00174:a0d279596ec9 | apache-2.0 | codeparrot/github-code | a0d279596ec94580661f097b820107347eb4e5c5779919065ca60b79481e61f4 | 0.75 | testing_debugging_repair_refactoring | 244 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace System... | ruben-ayrapetyan/coreclr | src/mscorlib/shared/System/Globalization/DateTimeFormatInfo.cs | https://github.com/ruben-ayrapetyan/coreclr/blob/HEAD/src/mscorlib/shared/System/Globalization/DateTimeFormatInfo.cs | ghcode:00174:7718cd4ddcac | mit | codeparrot/github-code | 7718cd4ddcace1a017adaa18dc2032a4437b27b4d4e2f274df42d086810a405e | 0.72 | testing_debugging_repair_refactoring | 22,094 | 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.Runtime.Serialization;
using Microsoft.CodeAnalysis;
using static Roslyn.Test.Utilities.Exceptio... | weltkante/roslyn | src/Test/Utilities/Portable/Compilation/Exceptions.cs | https://github.com/weltkante/roslyn/blob/HEAD/src/Test/Utilities/Portable/Compilation/Exceptions.cs | ghcode:00174:52dc9a3133ea | apache-2.0 | codeparrot/github-code | 52dc9a3133eabe682c385559e3c6e12fae056ceb711ec1ed4ec98ef734ed7fc9 | 0.85 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework;
#if !MONOTOUCH
using ServiceStack.Common.Tests.Models;
#endif
namespace ServiceStack.Text.Tests
{
[TestFixture]
public class NullableTypesTests
{
[SetUp]
public void SetUp()
{
JsConfig.Reset();
... | telerik/ServiceStack.Text | tests/ServiceStack.Text.Tests/NullableTypesTests.cs | https://github.com/telerik/ServiceStack.Text/blob/HEAD/tests/ServiceStack.Text.Tests/NullableTypesTests.cs | ghcode:00174:478beb9eba00 | bsd-3-clause | codeparrot/github-code | 478beb9eba0051a679d9144c93414ab1d0162a89a87b2489247e6c5a435f931d | 0.75 | testing_debugging_repair_refactoring | 1,240 | false | 2026-07-17 |
using Humanizer.Localisation;
using Xunit;
namespace Humanizer.Tests.Localisation.hy
{
[UseCulture("hy")]
public class DateHumanizeTests
{
[Theory]
[InlineData(1, "մեկ վայրկյան առաջ")]
[InlineData(2, "2 վայրկյան առաջ")]
[InlineData(3, "3 վայրկյան առաջ")]
[InlineDat... | hazzik/Humanizer | src/Humanizer.Tests.Shared/Localisation/hy/DateHumanizeTests.cs | https://github.com/hazzik/Humanizer/blob/HEAD/src/Humanizer.Tests.Shared/Localisation/hy/DateHumanizeTests.cs | ghcode:00174:e156edd69b09 | mit | codeparrot/github-code | e156edd69b09f0d33c20e0fd5906548244ea96a068bd39cd2efa4e44bac798b7 | 0.75 | testing_debugging_repair_refactoring | 1,603 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Timing;
namespace osu.Framework.Tests.Clocks
{
internal class TestClock : IAdjustableClock
{
public double CurrentTime { get; set; }
... | ZLima12/osu-framework | osu.Framework.Tests/Clocks/TestClock.cs | https://github.com/ZLima12/osu-framework/blob/HEAD/osu.Framework.Tests/Clocks/TestClock.cs | ghcode:00174:a282ab2737ab | mit | codeparrot/github-code | a282ab2737ab044b4884409622a7cd3e5cc0f10ea86defe2d855116abaf15dfe | 0.75 | testing_debugging_repair_refactoring | 178 | 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.
////////////////////////////////////////////////////////////////////////////
//
//
//
// Purpose: This class repre... | parjong/coreclr | src/mscorlib/src/System/Globalization/CultureInfo.cs | https://github.com/parjong/coreclr/blob/HEAD/src/mscorlib/src/System/Globalization/CultureInfo.cs | ghcode:00174:f999ea2a191c | mit | codeparrot/github-code | f999ea2a191cc7303b280d9e514e0c100e9a2d4f3fdb4ead3213641ef6570e46 | 0.8 | testing_debugging_repair_refactoring | 9,547 | false | 2026-07-17 |
// Copyright (c) Microsoft and contributors. 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 a... | ahosnyms/azure-sdk-for-net | src/Batch/Client/Tests/ObjectModel/Common/CommonResources.cs | https://github.com/ahosnyms/azure-sdk-for-net/blob/HEAD/src/Batch/Client/Tests/ObjectModel/Common/CommonResources.cs | ghcode:00174:87c7ebfc5fd1 | mit | codeparrot/github-code | 87c7ebfc5fd16be3fe31c5f7625d1d681c0ec9ff9bfa4562822b7d5afa9916c2 | 0.95 | testing_debugging_repair_refactoring | 164 | false | 2026-07-17 |
using System;
using Nop.Core.Domain.Orders;
namespace Nop.Core.Domain.Discounts
{
/// <summary>
/// Represents a discount usage history entry
/// </summary>
public partial class DiscountUsageHistory : BaseEntity
{
/// <summary>
/// Gets or sets the discount identifier
/// </... | lungisam/WebApi | OData/test/E2ETest/WebStack.QA.Test.OData/Common/Models/NopCommerce/Domain/Discounts/DiscountUsageHistory.cs | https://github.com/lungisam/WebApi/blob/HEAD/OData/test/E2ETest/WebStack.QA.Test.OData/Common/Models/NopCommerce/Domain/Discounts/DiscountUsageHistory.cs | ghcode:00174:a34f0605f4e9 | mit | codeparrot/github-code | a34f0605f4e94125d67bad884c3e63f64d6cd8dfa88c0e5cb9a4566143be02c7 | 0.95 | testing_debugging_repair_refactoring | 209 | 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.IO;
using System.Diagnostics;
using System.Collections.Generic;
using System.Runtime.Serialization;
na... | ericstj/corefxlab | src/System.Reflection.TypeLoader/src/System/Reflection/TypeLoading/Modules/RoModule.cs | https://github.com/ericstj/corefxlab/blob/HEAD/src/System.Reflection.TypeLoader/src/System/Reflection/TypeLoading/Modules/RoModule.cs | ghcode:00174:927396b9f79c | mit | codeparrot/github-code | 927396b9f79cd58456a51fa8a41265a36fe833a044187db5930994adb4352a43 | 0.95 | testing_debugging_repair_refactoring | 1,315 | 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.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Syst... | amcasey/roslyn | src/Compilers/CSharp/Portable/BoundTree/UnboundLambda.cs | https://github.com/amcasey/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/BoundTree/UnboundLambda.cs | ghcode:00174:3f026215b38e | apache-2.0 | codeparrot/github-code | 3f026215b38e41147f40cd5bedfdbcd8bc6c3759abbbd80c354211e99eab89bd | 0.85 | testing_debugging_repair_refactoring | 7,676 | 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.Diagnostics;
using System.Linq;
usi... | physhi/roslyn | src/VisualStudio/Core/Impl/CodeModel/AbstractCodeModelService.cs | https://github.com/physhi/roslyn/blob/HEAD/src/VisualStudio/Core/Impl/CodeModel/AbstractCodeModelService.cs | ghcode:00174:b0ce0413868d | apache-2.0 | codeparrot/github-code | b0ce0413868dc388ae85e255628ddd7047998aa51ca989d8ceb12aadb77961b3 | 0.72 | testing_debugging_repair_refactoring | 11,133 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Diagnostics;
using System.Threading;
namespace Roslyn.Utilities
{
internal static class InterlockedOper... | furesoft/roslyn | src/Compilers/Core/Portable/InternalUtilities/InterlockedOperations.cs | https://github.com/furesoft/roslyn/blob/HEAD/src/Compilers/Core/Portable/InternalUtilities/InterlockedOperations.cs | ghcode:00174:7e319697e7f5 | apache-2.0 | codeparrot/github-code | 7e319697e7f50df42f639e09cc74d94fdd986e4928dd720db0154bba8ea353fd | 0.85 | testing_debugging_repair_refactoring | 779 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.EditAndContinue.UnitTests
{
... | paladique/roslyn | src/EditorFeatures/Test/EditAndContinue/RudeEditDiagnosticDescription.cs | https://github.com/paladique/roslyn/blob/HEAD/src/EditorFeatures/Test/EditAndContinue/RudeEditDiagnosticDescription.cs | ghcode:00174:0ba17df6b0a8 | apache-2.0 | codeparrot/github-code | 0ba17df6b0a884d770124312ba98c94d3b78f8844ccf7daac7e18c45d3a4c924 | 0.85 | testing_debugging_repair_refactoring | 511 | false | 2026-07-17 |
using Xunit;
namespace Jint.Tests.Ecma
{
[Trait("Category","Pass")]
public class Test_11_8_6 : EcmaTest
{
[Fact]
[Trait("Category", "11.8.6")]
public void WhiteSpaceAndLineTerminatorBetweenRelationalexpressionAndInstanceofAndBetweenInstanceofAndShiftexpressionAreAllowed()
{
... | mgentile/jint | Jint.Tests.Ecma/Ecma/11.8.6.cs | https://github.com/mgentile/jint/blob/HEAD/Jint.Tests.Ecma/Ecma/11.8.6.cs | ghcode:00174:ec77ea2ea89a | bsd-2-clause | codeparrot/github-code | ec77ea2ea89aeb2573f8dca516a7e42a939b3f8cd1eb61ff1172dd6d41f9a69c | 0.68 | testing_debugging_repair_refactoring | 1,564 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.CodeAnalysis.Text;
using Xunit;
namespace Microsoft.CodeAnalysis.UnitTests.LinkedFileDiffMerging
{
pub... | mmitche/roslyn | src/Workspaces/CoreTest/LinkedFileDiffMerging/LinkedFileDiffMergingTests.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/Workspaces/CoreTest/LinkedFileDiffMerging/LinkedFileDiffMergingTests.cs | ghcode:00174:f652b5f7fb98 | apache-2.0 | codeparrot/github-code | f652b5f7fb98767ad9529e6042abf134cbb613764f11fc8d197f6f233513d14f | 0.75 | testing_debugging_repair_refactoring | 414 | 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.Security.Cryptography.EcDsa.Tests;
using Test.Cryptography;
using Xun... | iamjasonp/corefx | src/System.Security.Cryptography.Cng/tests/ECDsaCngTests.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Security.Cryptography.Cng/tests/ECDsaCngTests.cs | ghcode:00174:bd42339d4cff | mit | codeparrot/github-code | bd42339d4cffc316d495765b9eb0356a504e0aa80a5da71824c1f0a55edb9467 | 0.95 | testing_debugging_repair_refactoring | 2,875 | 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 Microsoft.CodeAnalysis.ExpressionEvaluator;
using Microsoft.VisualStudio.Deb... | AlekseyTs/roslyn | src/ExpressionEvaluator/CSharp/Test/ResultProvider/DebuggerVisualizerAttributeTests.cs | https://github.com/AlekseyTs/roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Test/ResultProvider/DebuggerVisualizerAttributeTests.cs | ghcode:00174:46126478a41c | mit | codeparrot/github-code | 46126478a41c6b07b3399b42315184f1647f14d63b583839be8dfb9ea7d19d32 | 0.95 | testing_debugging_repair_refactoring | 698 | 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.Globalization;
using Xunit;
namespace System.Globalization.Tests
{
public class DateTimeFormatInfoFirstDayOfWeek
{
// PosTes... | heXelium/corefx | src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoFirstDayOfWeek.cs | https://github.com/heXelium/corefx/blob/HEAD/src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoFirstDayOfWeek.cs | ghcode:00174:c4a1c5129198 | mit | codeparrot/github-code | c4a1c512919813871e687b8f4768e739d625efd2f574c364489cf5aefe8467a1 | 0.95 | testing_debugging_repair_refactoring | 595 | 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... | atpham256/azure-powershell | src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/RemoveBatchJobScheduleCommandTests.cs | https://github.com/atpham256/azure-powershell/blob/HEAD/src/ResourceManager/AzureBatch/Commands.Batch.Test/JobSchedules/RemoveBatchJobScheduleCommandTests.cs | ghcode:00174:91aa5c1b5a5d | apache-2.0 | codeparrot/github-code | 91aa5c1b5a5d5b8b7667907a1a25c19b9c80da36278122857c42143e71c03e88 | 0.85 | testing_debugging_repair_refactoring | 573 | 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.
//
//
// This test represents a case where csc.exe puts a base/peer ctor callsite outside of the
// first block of the derived ctor.
//
// Specifically covers: "Use of ... | matthubin/coreclr | tests/src/JIT/Directed/CheckedCtor/Test_CSharp_Base_2.cs | https://github.com/matthubin/coreclr/blob/HEAD/tests/src/JIT/Directed/CheckedCtor/Test_CSharp_Base_2.cs | ghcode:00174:79a62b46d500 | mit | codeparrot/github-code | 79a62b46d500a0976dd33e70622167efa2acb69dc98e7fe7505e9d5b7c036bd0 | 0.95 | testing_debugging_repair_refactoring | 214 | 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;
namespace System.Collections.Immutable.Tests
{
/// <summary>
/// An equal... | iamjasonp/corefx | src/System.Collections.Immutable/tests/EverythingEqual.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Collections.Immutable/tests/EverythingEqual.cs | ghcode:00174:b5e962de1fa2 | mit | codeparrot/github-code | b5e962de1fa20e0803f3a9d05d76cfb4510e65309db90ba5d905b5cfb5a58049 | 0.95 | testing_debugging_repair_refactoring | 223 | false | 2026-07-17 |
/*
* Created by SharpDevelop.
* User: lextm
* Date: 2008/5/1
* Time: 11:57
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections.Generic;
using NUnit.Framework;
#pragma warning disable 1591
namespace Lextm.SharpSnmpLib.Tests
{
[TestFixt... | yonglehou/sharpsnmplib | Tests/Tests/SequenceTestFixture.cs | https://github.com/yonglehou/sharpsnmplib/blob/HEAD/Tests/Tests/SequenceTestFixture.cs | ghcode:00174:64466f2553df | mit | codeparrot/github-code | 64466f2553df0b21f242fd2d4e11232bdc37caf26081d862a9aa6f2d01bb543b | 0.85 | testing_debugging_repair_refactoring | 549 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace RestApiWithAkka.Tests.FileUploader
{
public abstract class WithFileUploader: ActorTestSpecification
{
}
[TestFixture]
public class WhenFileUploadRequested : WithFileUploader
{
[Test]
public void FileStagingIsRequested()
... | kstaruch/RestApiWithAkka | src/RestApiWithAkka.Tests/FileUploader/WithFileUploader.cs | https://github.com/kstaruch/RestApiWithAkka/blob/HEAD/src/RestApiWithAkka.Tests/FileUploader/WithFileUploader.cs | ghcode:00174:5b4090e3667f | mit | codeparrot/github-code | 5b4090e3667fc04249a22baf89f060b1859213a2cfb94088c783adf504ae34b4 | 0.6 | testing_debugging_repair_refactoring | 239 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace z100emu.CPU.Instructions
{
public class JumpRelative : IInstruction
{
public void Dispatch(Cpu8086 cpu, OpCodeManager.Instruction instruction)
... | rickbutton/z100emu | z100emu/CPU/Instructions/JumpRelative.cs | https://github.com/rickbutton/z100emu/blob/HEAD/z100emu/CPU/Instructions/JumpRelative.cs | ghcode:00174:74cf8e538b9a | mit | codeparrot/github-code | 74cf8e538b9af268caa055a17d5a55a5dd094139211654be35a139f2083eac23 | 0.6 | testing_debugging_repair_refactoring | 99 | false | 2026-07-17 |
using Android.Graphics;
using SkiaSharp.Tests;
using Xunit;
namespace SkiaSharp.Views.Android.Tests
{
public abstract class AndroidTests : SKTest
{
protected static void ValidateTestBitmap(Bitmap bmp, byte alpha = 255)
{
Assert.NotNull(bmp);
Assert.Equal(40, bmp.Width);
Assert.Equal(40, bmp.Height);
... | mono/SkiaSharp | tests/SkiaSharp.Android.Tests/AndroidTests.cs | https://github.com/mono/SkiaSharp/blob/HEAD/tests/SkiaSharp.Android.Tests/AndroidTests.cs | ghcode:00174:1bb4589cc3f7 | mit | codeparrot/github-code | 1bb4589cc3f7898b2edc8442eebb91abd271fd63c41f43ae1312d219abdf5dfa | 0.75 | testing_debugging_repair_refactoring | 205 | false | 2026-07-17 |
// -- FILE ------------------------------------------------------------------
// name : CalendarDateAddTest.cs
// project : Itenso Time Period
// created : Jani Giannoudis - 2011.04.04
// language : C# 4.0
// environment: .NET 2.0
// copyright : (c) 2011-2012 by Itenso GmbH, Switzerland
// --------------... | Giannoudis/TimePeriodLibrary | TimePeriodTests/CalendarDateAddTest.cs | https://github.com/Giannoudis/TimePeriodLibrary/blob/HEAD/TimePeriodTests/CalendarDateAddTest.cs | ghcode:00174:2592eb6a3e99 | mit | codeparrot/github-code | 2592eb6a3e998559746002d3579e6dc24d66713e9fc95e2fbb02f289aefe1233 | 0.7 | testing_debugging_repair_refactoring | 3,590 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ScrimpNet.Security.Core;
namespace ScrimpNet.Security.DotNet.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
... | lindexi/lindexi_gd | ScrimpNet.Library.Suite Solution/__TestProjects/Security/ScrimpNet.Security.DotNet.Tests/UnitTest1.cs | https://github.com/lindexi/lindexi_gd/blob/HEAD/ScrimpNet.Library.Suite Solution/__TestProjects/Security/ScrimpNet.Security.DotNet.Tests/UnitTest1.cs | ghcode:00174:875c8e07789b | mit | codeparrot/github-code | 875c8e07789bae90a89c9662f6aafc9630bf6c81e9174a8077857c84f4b06e8b | 0.75 | testing_debugging_repair_refactoring | 94 | false | 2026-07-17 |
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// 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, co... | trnglina/Papillon | PapillonEditor/Document/SimpleSegment.cs | https://github.com/trnglina/Papillon/blob/HEAD/PapillonEditor/Document/SimpleSegment.cs | ghcode:00174:a67f2c2d7370 | mit | codeparrot/github-code | a67f2c2d7370a89c21d1c8167aee2f6d6bd6febd2aee5596547fd5130b798eda | 0.7 | testing_debugging_repair_refactoring | 1,383 | false | 2026-07-17 |
using System;
using Redux;
namespace Taiste.Redux.Tests
{
public class TestAction: IAction
{
public int Value { get; set; }
}
}
| taiste/redux.NET-thunk | redux.NET-thunk.Tests/TestAction.cs | https://github.com/taiste/redux.NET-thunk/blob/HEAD/redux.NET-thunk.Tests/TestAction.cs | ghcode:00174:902b9983971e | mit | codeparrot/github-code | 902b9983971e6ba4bf9a91bb7b92b4eb4b894bf1791dd93594fd146888b7ce4f | 0.5 | testing_debugging_repair_refactoring | 38 | false | 2026-07-17 |
using System.Collections.Generic;
using Xunit;
using Should;
namespace AutoMapper.UnitTests.Bug
{
namespace DuplicateValuesBug
{
public class SourceObject
{
public int Id;
public IList<SourceObject> Children;
public void AddChild(SourceObject childObject)
{
if (this.Children == nu... | jasonholloway/AutoMapper | src/UnitTests/Bug/DuplicateValuesBug.cs | https://github.com/jasonholloway/AutoMapper/blob/HEAD/src/UnitTests/Bug/DuplicateValuesBug.cs | ghcode:00174:89a828c5217c | mit | codeparrot/github-code | 89a828c5217cbff7f5316ef4b9e9063f2b385f8b1a8bfeadc2628b93aebf340f | 0.75 | testing_debugging_repair_refactoring | 381 | false | 2026-07-17 |
using Lette.ProjectEuler.Core.XUnit;
using Xunit;
namespace Lette.ProjectEuler.Solutions.Demo.Tests
{
public class ProjectEulerTests
{
[Theory]
[EulerData("Lette.ProjectEuler.Solutions.Demo.dll")]
public void RunProblems(string number, string description, long? expected, long ... | Lette/Lette.ProjectEuler.Solutions.Demo | Lette.ProjectEuler.Solutions.Demo.Tests/ProjectEulerTests.cs | https://github.com/Lette/Lette.ProjectEuler.Solutions.Demo/blob/HEAD/Lette.ProjectEuler.Solutions.Demo.Tests/ProjectEulerTests.cs | ghcode:00174:685a6cfebcad | mit | codeparrot/github-code | 685a6cfebcad62fe692e1d72ff6e79f74225c45c24b76b70ff828bb75ecc791d | 0.75 | testing_debugging_repair_refactoring | 110 | false | 2026-07-17 |
namespace Xbehave.Test
{
using System;
using System.Linq;
using Xbehave.Test.Infrastructure;
using Xunit;
using Xunit.Abstractions;
public class OnFailureFeature : Feature
{
[Scenario]
public void FailureBeforeForcedStep(Type feature, ITestResultMessage[] results)... | xbehave/xbehave.net | tests/Xbehave.Test/OnFailureFeature.cs | https://github.com/xbehave/xbehave.net/blob/HEAD/tests/Xbehave.Test/OnFailureFeature.cs | ghcode:00174:f7a1385d84a0 | mit | codeparrot/github-code | f7a1385d84a0cb8450519cb1618fa72d3c604738f54049f91161af38bbb57781 | 0.6 | testing_debugging_repair_refactoring | 500 | false | 2026-07-17 |
namespace Labyrinth.Tests.Models
{
using System;
using Labyrinth.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class TestGrid
{
[TestMethod]
public void TestConstructorIfReturnValidRowLenthWithSeven()
{
var grid = new Grid(7,... | TeamLabyrinth5-Telerik/Labyrinth | Source/Labyrinth.Tests/Models/TestGrid.cs | https://github.com/TeamLabyrinth5-Telerik/Labyrinth/blob/HEAD/Source/Labyrinth.Tests/Models/TestGrid.cs | ghcode:00174:05551fd35602 | mit | codeparrot/github-code | 05551fd35602b5fd25a0d5a339bc1ac583a70edc48366058116e0303ee5e2311 | 0.75 | testing_debugging_repair_refactoring | 570 | false | 2026-07-17 |
using Moq;
using System;
using System.Collections.Generic;
using OpenSource.Data.HashFunction.MurmurHash;
using OpenSource.Data.HashFunction.Test._Utilities;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace OpenSource.Data.HashFunction.Test.MurmurHash
{
p... | brandondahler/Data.HashFunction | src/OpenSource.Data.HashFunction.Test/MurmurHash/MurmurHash3_Implementation_Tests.cs | https://github.com/brandondahler/Data.HashFunction/blob/HEAD/src/OpenSource.Data.HashFunction.Test/MurmurHash/MurmurHash3_Implementation_Tests.cs | ghcode:00174:0f165740fe7e | mit | codeparrot/github-code | 0f165740fe7ecf6095b46df9c7642fb4701a18f6b0e1fdab2916d26931c6662e | 0.75 | testing_debugging_repair_refactoring | 1,826 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using Outlander.Core.Tests;
namespace Outlander.Core.Client.Tests
{
[TestFixture]
public class UnvarTokenHandlerTester
{
private StubGameServer theGameServer;
private StubGameState theGameState;
private ScriptContext th... | joemcbride/outlander | src/Pathfinder.Core.Client.Tests/Scripting/UnvarTokenHandlerTester.cs | https://github.com/joemcbride/outlander/blob/HEAD/src/Pathfinder.Core.Client.Tests/Scripting/UnvarTokenHandlerTester.cs | ghcode:00174:04802e4b8c22 | mit | codeparrot/github-code | 04802e4b8c22cb99e0ede4acd3e02a6d732391de9dba74cafa7daa22b13b5331 | 0.6 | testing_debugging_repair_refactoring | 339 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.MaintainabilityRules
{
using System.Threading;
using System.Threading.Tasks;
using Microso... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test/MaintainabilityRules/SA1404UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test/MaintainabilityRules/SA1404UnitTests.cs | ghcode:00174:73a79aed7240 | mit | codeparrot/github-code | 73a79aed7240e77ff55f0d864fc0ddb29c12a96400b3dd455cd23a96a7a245ef | 0.75 | testing_debugging_repair_refactoring | 2,437 | false | 2026-07-17 |
using System;
using System.Collections;
using System.IO;
using System.Reflection;
namespace Org.BouncyCastle.Utilities.Test
{
public abstract class SimpleTest
: ITest
{
public abstract string Name
{
get;
}
private ITestResult Success()
{
return SimpleTestResult.Successfu... | SchmooseSA/Schmoose-BouncyCastle | Tests/util/test/SimpleTest.cs | https://github.com/SchmooseSA/Schmoose-BouncyCastle/blob/HEAD/Tests/util/test/SimpleTest.cs | ghcode:00174:8ddced5b55fd | mit | codeparrot/github-code | 8ddced5b55fd791fe791a0e7b5030c5d8977f0be87a6976361898d304800e190 | 0.85 | testing_debugging_repair_refactoring | 787 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace dz1
{
public class Matrix
{
public int Rows { get; private set; }
public int Columns { get; private set; }
private List<List<double>> values;
// ROWS OF COLU... | DominikDitoIvosevic/Uni | APR/dz5/dz1/Matrix.cs | https://github.com/DominikDitoIvosevic/Uni/blob/HEAD/APR/dz5/dz1/Matrix.cs | ghcode:00174:a52121cd7737 | mit | codeparrot/github-code | a52121cd7737673d034fb05fdf859a942744c67d7a093ed6c63bfa25ab6d9fcb | 0.6 | testing_debugging_repair_refactoring | 2,779 | false | 2026-07-17 |
namespace XmlUnit.Tests {
using XmlUnit;
using NUnit.Framework;
using System.IO;
using System.Xml;
using System.Xml.Schema;
[TestFixture]
public class DiffConfigurationTests {
private static string xmlWithWhitespace = "<elemA>as if<elemB> \r\n </elemB>\t</elemA>";
privat... | mmooney/Sriracha.Deploy | ThirdParty/xmlunit-0.4/tests/csharp/DiffConfigurationTests.cs | https://github.com/mmooney/Sriracha.Deploy/blob/HEAD/ThirdParty/xmlunit-0.4/tests/csharp/DiffConfigurationTests.cs | ghcode:00174:ebdbd537a1dd | mit | codeparrot/github-code | ebdbd537a1ddefee164db71c70a3c4d61678caae6b84880bfecc7abb276329b9 | 0.85 | testing_debugging_repair_refactoring | 1,016 | 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.
namespace DotNetty.Buffers.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using DotNetty.Common.Utilities;
using Xunit;... | krish-gh/DotNetty | test/DotNetty.Buffers.Tests/AbstractCompositeByteBufferTests.cs | https://github.com/krish-gh/DotNetty/blob/HEAD/test/DotNetty.Buffers.Tests/AbstractCompositeByteBufferTests.cs | ghcode:00174:ddd9e85bba7b | mit | codeparrot/github-code | ddd9e85bba7bf2849c8600eb33524a4a8c2d0599c456e0e957ae5c69ca946bae | 0.85 | testing_debugging_repair_refactoring | 7,791 | false | 2026-07-17 |
using Halforbit.DataStores.DocumentStores.CosmosDb.Implementation;
using Halforbit.DataStores.Tests;
using Halforbit.ObjectTools.Extensions;
using System;
using System.Linq;
using Xunit;
namespace Halforbit.DataStores.DocumentStores.CosmosDb.Tests
{
public class CosmosDbDataStoreFixedTests : UniversalIntegrationTe... | halforbit/data-stores | DocumentStores/CosmosDb/Halforbit.DataStores.DocumentStores.CosmosDb.Tests/CosmosDbDataStoreFixedTests.cs | https://github.com/halforbit/data-stores/blob/HEAD/DocumentStores/CosmosDb/Halforbit.DataStores.DocumentStores.CosmosDb.Tests/CosmosDbDataStoreFixedTests.cs | ghcode:00174:330a6de9c7ae | mit | codeparrot/github-code | 330a6de9c7ae7f9dea1e88cbd70181a6179aa1269dc0804a04215baaa3942a15 | 0.75 | testing_debugging_repair_refactoring | 563 | false | 2026-07-17 |
using Xunit;
public class WhenMatchingByRegex : ClassTestsBase
{
public WhenMatchingByRegex()
: base("SimpleTest.MatchingByRegex.MatchingByRegex")
{
}
[Fact]
public void MethodMatchInclude()
{
TestClass.MethodMatchInclude();
CheckMethodSeq(new[]
{
... | Fody/MethodDecorator | MethodDecorator.Fody.Tests/WhenMatchingByRegex.cs | https://github.com/Fody/MethodDecorator/blob/HEAD/MethodDecorator.Fody.Tests/WhenMatchingByRegex.cs | ghcode:00174:a80df8fc2a1d | mit | codeparrot/github-code | a80df8fc2a1d1f1d8578e4787120e09cb56a256946a3df06216b62fabe7e09a4 | 0.75 | testing_debugging_repair_refactoring | 246 | false | 2026-07-17 |
using System.Collections.ObjectModel;
using System.Collections.Generic;
using NUnit.Framework;
using Roadmapp.Entities;
namespace Roadmapp_NTest.Entities
{
[TestFixture]
public class EntityRelationshipManager_Test
{
//-------------------------------------------------------------------------
private Ent... | grae22/Roadmap | Roadmap_NTest/Entities/EntityRelationshipManager_Test.cs | https://github.com/grae22/Roadmap/blob/HEAD/Roadmap_NTest/Entities/EntityRelationshipManager_Test.cs | ghcode:00174:ce887cdb8c83 | mit | codeparrot/github-code | ce887cdb8c8314573758da18d63d8d31324bc44611192ecd7f2ab83167a0181b | 0.7 | testing_debugging_repair_refactoring | 853 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Xunit;
namespace XSqlClient
{
public class ArgumentParserTests
{
private Dictionary<string,string> _desiredArgs;
private string[] _testArgs;
private IArgumentParser _testArgParser;
public ArgumentParserTests()
{
_desiredArgs = new Di... | haled/XSqlClient | tests/ArgumentParser_UT.cs | https://github.com/haled/XSqlClient/blob/HEAD/tests/ArgumentParser_UT.cs | ghcode:00174:b113b6c5be2f | mit | codeparrot/github-code | b113b6c5be2f74fc990801f038754ef6b6a5bebf09794b2c1aacbb7ed16e6507 | 0.6 | testing_debugging_repair_refactoring | 789 | false | 2026-07-17 |
using System.Threading.Tasks;
using Lunchorder.Domain.Dtos;
using Lunchorder.Domain.Dtos.Requests;
using Lunchorder.Test.Integration.Helpers;
using Lunchorder.Test.Integration.Helpers.Base;
using Moq;
using NUnit.Framework;
namespace Lunchorder.Test.Integration.ApiController
{
[TestFixture]
public class Balan... | CoditEU/lunchorder | backend/WebApi/Lunchorder.Test/Integration/ApiController/BalanceControllerTest.cs | https://github.com/CoditEU/lunchorder/blob/HEAD/backend/WebApi/Lunchorder.Test/Integration/ApiController/BalanceControllerTest.cs | ghcode:00174:b48a686c7fb7 | mit | codeparrot/github-code | b48a686c7fb7132dab40e8d09754051c759374ee59ebd94bd0911471d6999d4e | 0.85 | testing_debugging_repair_refactoring | 492 | false | 2026-07-17 |
using Helpful.BDD;
using System;
using System.Collections.Generic;
using System.Threading;
using Helpful.CircuitBreaker.Config;
using Helpful.CircuitBreaker.Exceptions;
using NUnit.Framework;
namespace Helpful.CircuitBreaker.Test.Unit.when_executing_code_via_the_breaker.when_tolerating_open_events
{
... | RokitSalad/Helpful.CircuitBreaker | Helpful.CircuitBreaker.Test.Unit/when_executing_code_via_the_breaker/when_tolerating_open_events/when_receiving_an_unhandled_exception_beyond_tolerance_and_after_the_tolerance_reset_timeout_has_elapsed.cs | https://github.com/RokitSalad/Helpful.CircuitBreaker/blob/HEAD/Helpful.CircuitBreaker.Test.Unit/when_executing_code_via_the_breaker/when_tolerating_open_events/when_receiving_an_unhandled_exception_beyond_tolerance_and_after_the_tolerance_reset_timeout_has_elapsed.cs | ghcode:00174:cded65aa9809 | mit | codeparrot/github-code | cded65aa9809ed8d97010aa3c261d80eb2d1363c370f254381d772d4f631d232 | 0.75 | testing_debugging_repair_refactoring | 553 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Cofoundry.Core.Tests
{
public class TextFormatterTests
{
[Theory]
[InlineData(null)]
[InlineData("")]
public void PascalCaseToSentence_WhenNullOrEmpty_ReturnsEmptyString(string input)
... | cofoundry-cms/cofoundry | test/Cofoundry.Core.Tests/Core/Helpers/TextFormatterTests.cs | https://github.com/cofoundry-cms/cofoundry/blob/HEAD/test/Cofoundry.Core.Tests/Core/Helpers/TextFormatterTests.cs | ghcode:00174:afbb638af8c1 | mit | codeparrot/github-code | afbb638af8c1726ee785628992fb860f699b3fa64041eaaa828263e7ca254343 | 0.75 | testing_debugging_repair_refactoring | 2,192 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VoronoiLib.Structures;
namespace VoronoiLibTests
{
[TestClass]
public class RBTreeTest
{
[TestMethod]
public void Te... | Zalgo2462/VoronoiLib | VoronoiLibTests/RBTreeTest.cs | https://github.com/Zalgo2462/VoronoiLib/blob/HEAD/VoronoiLibTests/RBTreeTest.cs | ghcode:00174:edc952084a74 | mit | codeparrot/github-code | edc952084a742723c107f5f83c6e82a3a3b04fa52dd458ddaa85fa6d7a8b6565 | 0.6 | testing_debugging_repair_refactoring | 1,541 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StatTag.Core.Models;
using StatTag.Core.Parser;
namespace Core.Tests.Parser
{
[TestClass]
public class StataParserTests
{
... | StatTag/StatTag | Core.Tests/Parser/StataParserTests.cs | https://github.com/StatTag/StatTag/blob/HEAD/Core.Tests/Parser/StataParserTests.cs | ghcode:00174:05a523baa3de | mit | codeparrot/github-code | 05a523baa3def79dbb60c0ed62a2002c6adb2e3e2de644fee0253e4d7f94dc76 | 0.85 | testing_debugging_repair_refactoring | 8,115 | false | 2026-07-17 |
#region Copyright & License Information
// Copyright 2014 Saro Taşciyan, Bedir Yılmaz
//
// 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... | SaroTasciyan/LINQlone | LINQlone.Test/Tests/IntersectTests.cs | https://github.com/SaroTasciyan/LINQlone/blob/HEAD/LINQlone.Test/Tests/IntersectTests.cs | ghcode:00174:9ade195ad1a9 | apache-2.0 | codeparrot/github-code | 9ade195ad1a90025a855809627b192c5004a0021a134ca68f88e5502faa6283b | 0.95 | testing_debugging_repair_refactoring | 1,749 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.DiagnosticComments.CodeFixes;
using Microsoft.CodeAnalysis... | kelltrick/roslyn | src/EditorFeatures/CSharpTest/DocumentationComments/CodeFixes/RemoveDocCommentNodeCodeFixProviderTests.cs | https://github.com/kelltrick/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/DocumentationComments/CodeFixes/RemoveDocCommentNodeCodeFixProviderTests.cs | ghcode:00174:15ca977ac384 | apache-2.0 | codeparrot/github-code | 15ca977ac3840a43a780ad2dd9cf5aedc087e5ee69ed5d41529267d990d7ee3a | 0.85 | testing_debugging_repair_refactoring | 4,750 | 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.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.CSharp.Uni... | danielcweber/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/SwitchTests.cs | https://github.com/danielcweber/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/SwitchTests.cs | ghcode:00174:d3b583a5d2d0 | apache-2.0 | codeparrot/github-code | d3b583a5d2d0a18840b69f2e03780bd18d7d59105933a81844486f817fed28fa | 0.82 | testing_debugging_repair_refactoring | 16,189 | false | 2026-07-17 |
using OpenQA.Selenium;
using Golem.WebDriver;
namespace Golem.Tests.PageObjects.Google
{
public class GoogleHomePage : BasePageObject
{
private readonly Element feelingLuckyButton = new Element("ImFeelingLuckyButton", By.Name("btnI"));
private readonly Element gmailbutton = new Element("GmailB... | ProtoTest/ProtoTest.Golem | ProtoTest.Golem/Tests/PageObjects/Google/GoogleHomePage.cs | https://github.com/ProtoTest/ProtoTest.Golem/blob/HEAD/ProtoTest.Golem/Tests/PageObjects/Google/GoogleHomePage.cs | ghcode:00174:4f48a3e51fb2 | apache-2.0 | codeparrot/github-code | 4f48a3e51fb2d1ccd47d072a3140a7e59c7aad566b1ab1d8204c4ba08a3c1ec3 | 0.85 | testing_debugging_repair_refactoring | 309 | false | 2026-07-17 |
/*
* Copyright 2002-2010 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
*
* Unless required by applicab... | spring-projects/spring-net | test/Spring/Spring.Scheduling.Quartz3.Tests/Scheduling/Quartz/SimpleTriggerObjectTest.cs | https://github.com/spring-projects/spring-net/blob/HEAD/test/Spring/Spring.Scheduling.Quartz3.Tests/Scheduling/Quartz/SimpleTriggerObjectTest.cs | ghcode:00174:828f14b22955 | apache-2.0 | codeparrot/github-code | 828f14b229556548728e601f82014f21ae3eb28cde81887326c92f2a46ce79a8 | 0.85 | testing_debugging_repair_refactoring | 860 | false | 2026-07-17 |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class scaleMov : MonoBehaviour
{
public GameObject mapNav;
public enum _axis { x, y, z };
public _axis axis;
public float multiplier;
void OnTriggerEnter(Collider col)
{
if (col.gameObject == mapNa... | ActiveCG/ACVR10 | AsymmetricVRWalk/Assets/Scripts/Test/scaleMov.cs | https://github.com/ActiveCG/ACVR10/blob/HEAD/AsymmetricVRWalk/Assets/Scripts/Test/scaleMov.cs | ghcode:00174:a4b104b7b8c2 | apache-2.0 | codeparrot/github-code | a4b104b7b8c2835f9d56a18bb33dd2d39f891c406cefb5eff0b1ec0337f1b782 | 0.85 | testing_debugging_repair_refactoring | 252 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TravelAgent.DALFactory;
using TravelAgent.IDAL;
using NLog;
namespace Test
{
[TestClass]
public class TestNLog
{
[TestMethod]
public void TestNLogInit()
{
ILogger logger = LogManager.GetLogger("NLog... | huahuajjh/yueyouyuebei | src/TravelAgent.Web/Test/TestNLog.cs | https://github.com/huahuajjh/yueyouyuebei/blob/HEAD/src/TravelAgent.Web/Test/TestNLog.cs | ghcode:00174:14c60c83b52b | apache-2.0 | codeparrot/github-code | 14c60c83b52b95409e0447a0b2d3d4c99dca6825c7bd426f7f4d13a4bc5d0da6 | 0.85 | testing_debugging_repair_refactoring | 80 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.VisualStudio.TestTools.UnitTesting
{
/// <summary>
/// This is the base class for unit test exceptions.
/// </summary>
[Serializable]
public abstract ... | maraf/SharpKit.MsTest | src/SharpKit.MsTest/UnitTestAssertException.cs | https://github.com/maraf/SharpKit.MsTest/blob/HEAD/src/SharpKit.MsTest/UnitTestAssertException.cs | ghcode:00174:0163e0d862f5 | apache-2.0 | codeparrot/github-code | 0163e0d862f507c290d6da515dfec8fb0b213f1dc4b3fdf73d4d6abda2b3f952 | 0.85 | testing_debugging_repair_refactoring | 252 | 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/Common/Markup/StructuredDocumentWriterTest.cs | https://github.com/citizenmatt/gallio/blob/HEAD/src/Gallio/Gallio.Tests/Common/Markup/StructuredDocumentWriterTest.cs | ghcode:00174:01fc362d977f | apache-2.0 | codeparrot/github-code | 01fc362d977f6672af82dd4023d5037e5b16d50918e8e8ee8f72977ef9b39362 | 0.85 | testing_debugging_repair_refactoring | 280 | 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.Threading.Tasks;
using BenchmarkDotNet.Attributes;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks
{
public class Htt... | aspnet/AspNetCore | src/Servers/Kestrel/perf/Microbenchmarks/Http3/Http3ConnectionEmptyBenchmark.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Servers/Kestrel/perf/Microbenchmarks/Http3/Http3ConnectionEmptyBenchmark.cs | ghcode:00174:1c0621e8dbb6 | apache-2.0 | codeparrot/github-code | 1c0621e8dbb63c8b378d76d7941f6a0b7665858d32069692c20b058a96826bba | 0.75 | testing_debugging_repair_refactoring | 180 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy ... | aricooperman/jLean | orig-src/Tests/Indicators/DelayTests.cs | https://github.com/aricooperman/jLean/blob/HEAD/orig-src/Tests/Indicators/DelayTests.cs | ghcode:00174:48336642335e | apache-2.0 | codeparrot/github-code | 48336642335ebe908e98e1062b13fa39b61017db3ab5ab9c83a028e35ebb9df9 | 0.85 | testing_debugging_repair_refactoring | 606 | 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.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
usin... | bbarry/roslyn | src/Compilers/Core/Portable/Syntax/SyntaxNode.cs | https://github.com/bbarry/roslyn/blob/HEAD/src/Compilers/Core/Portable/Syntax/SyntaxNode.cs | ghcode:00174:9b6a7b784dd5 | apache-2.0 | codeparrot/github-code | 9b6a7b784dd5bf58df2a041613a5f8277b49aa32bc09913dae3bc7b96e29c232 | 0.85 | testing_debugging_repair_refactoring | 11,234 | false | 2026-07-17 |
using NUnit.Framework;
using System.Collections.Generic;
using TechEval.HCatalyst.Web.Utilities;
using System.Linq;
namespace TechEval.HCatalyst.UnitTests.Utilities
{
[TestFixture]
public class StringUtilsTests
{
[Test]
public void GenerateRandomAlphaNumeric_IsRandomEnough()
{
... | ryan-developer/TechEval.HCatalyst | source/TechEval.HCatalyst/TechEval.HCatalyst.UnitTests/Utilities/StringUtilsTests.cs | https://github.com/ryan-developer/TechEval.HCatalyst/blob/HEAD/source/TechEval.HCatalyst/TechEval.HCatalyst.UnitTests/Utilities/StringUtilsTests.cs | ghcode:00174:16fa3a9e4f21 | apache-2.0 | codeparrot/github-code | 16fa3a9e4f21732656406f8953a43f6ffe8ac9d201fffb944fd1d97bb7a07f1b | 0.75 | testing_debugging_repair_refactoring | 147 | false | 2026-07-17 |
/*
* Copyright (c) 2010-2021, Achim Friedland <achim.friedland@graphdefined.com>
* This file is part of Styx <https://www.github.com/Vanaheimr/Styx>
*
* 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 th... | Vanaheimr/Styx | StyxTests/Pipes/FromBalder/Utils/PathPipeTest.cs | https://github.com/Vanaheimr/Styx/blob/HEAD/StyxTests/Pipes/FromBalder/Utils/PathPipeTest.cs | ghcode:00174:0d31e596eee8 | apache-2.0 | codeparrot/github-code | 0d31e596eee83a61b8d54a22182dd2a6c8dae6b0591d226eac6ade162ed6f2a4 | 0.85 | testing_debugging_repair_refactoring | 923 | false | 2026-07-17 |
using UnityEngine;
using System.Collections;
public class TestRotate : MonoBehaviour {
public bool bIsNormal = true;
public float fRotationTimer = 0;
// Update is called once per frame
void Update ()
{
fRotationTimer = Mathf.Clamp (fRotationTimer, 0, 1);
if(!bIsNormal)
{
fRotationTimer += Time.delta... | Team2point5D/Major-Project-Prototype | Major Project Prototype/Assets/Scripts/TestRotate.cs | https://github.com/Team2point5D/Major-Project-Prototype/blob/HEAD/Major Project Prototype/Assets/Scripts/TestRotate.cs | ghcode:00174:b6c45c79cb33 | apache-2.0 | codeparrot/github-code | b6c45c79cb3301d82f072673c409872c9fa6a424cf8e1c6565f4eeda30466230 | 0.75 | testing_debugging_repair_refactoring | 217 | false | 2026-07-17 |
/*
* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1) Redistributions of source code must retain the above copyright
* notice, this lis... | aftabahmedsajid/XenCenter-Complete-dependencies- | XenModel/XenAPI/Pool.cs | https://github.com/aftabahmedsajid/XenCenter-Complete-dependencies-/blob/HEAD/XenModel/XenAPI/Pool.cs | ghcode:00174:5d3ef85f43e6 | bsd-2-clause | codeparrot/github-code | 5d3ef85f43e6461f7a958d53a87a0fd310c407150ab5703cf78eb7d980ccf414 | 0.65 | testing_debugging_repair_refactoring | 23,036 | false | 2026-07-17 |
// Copyright (c) 2015-2019, Saritasa. All rights reserved.
// Licensed under the BSD license. See LICENSE file in the project root for full license information.
using System;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using ... | krasninja/SaritasaTools | test/Saritasa.Tools.Messages.Tests/CommandsTests.cs | https://github.com/krasninja/SaritasaTools/blob/HEAD/test/Saritasa.Tools.Messages.Tests/CommandsTests.cs | ghcode:00174:74de2a975fd7 | bsd-2-clause | codeparrot/github-code | 74de2a975fd7a4f494663a3ee9ad335024988c8ca60bfdde4e4b2a7dbf4135a8 | 0.78 | testing_debugging_repair_refactoring | 3,810 | false | 2026-07-17 |
using System.Linq;
using Plainion.Wiki.AST;
using NUnit.Framework;
using System;
namespace Plainion.Wiki.UnitTests.AST
{
[TestFixture]
public class PageNameTest
{
[Test]
public void Create_WithEmptyName_ShouldThrow( [Values( null, "", " " )] string name )
{
... | ronin4net/Plainion.Notes | src/Plainion.Wiki.Tests/AST/PageNameTest.cs | https://github.com/ronin4net/Plainion.Notes/blob/HEAD/src/Plainion.Wiki.Tests/AST/PageNameTest.cs | ghcode:00174:05bc835a2b05 | bsd-3-clause | codeparrot/github-code | 05bc835a2b05aea5c56de7b5257f375d7834ee3aeab6c57d9aa96e471aa15811 | 0.75 | testing_debugging_repair_refactoring | 1,004 | false | 2026-07-17 |
using System.Linq;
using NUnit.Framework;
public class CharArrayTextWriterTests
{
[Test]
public void WritingSingleChar()
{
var writer = new CharArrayTextWriter();
writer.Write('z');
var written = writer.ToCharSegment();
CollectionAssert.AreEqual('z'.ToString(), written);... | NServiceBusSqlPersistence/NServiceBus.SqlPersistence | src/SqlPersistence.Tests/CharArrayTextWriterTests.cs | https://github.com/NServiceBusSqlPersistence/NServiceBus.SqlPersistence/blob/HEAD/src/SqlPersistence.Tests/CharArrayTextWriterTests.cs | ghcode:00174:27d8a6e788f5 | mit | codeparrot/github-code | 27d8a6e788f5f156e33af403e1445e5408c17eda08032741b17c643cc5ba6188 | 0.75 | testing_debugging_repair_refactoring | 389 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization.Formatters.Binary;
using ExpressiveAnnotations.Analysis;
using Moq;
using Xunit;
namespa... | JaroslawWaliszko/ExpressiveAnnotations | src/ExpressiveAnnotations.Tests/UtilsTest.cs | https://github.com/JaroslawWaliszko/ExpressiveAnnotations/blob/HEAD/src/ExpressiveAnnotations.Tests/UtilsTest.cs | ghcode:00174:3f8ae5336779 | mit | codeparrot/github-code | 3f8ae533677910a4b4d4fb4e7806268b53fbf801dbd6d48c314842bb5de2f5e5 | 0.7 | testing_debugging_repair_refactoring | 2,339 | 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.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Micros... | jmarolf/roslyn | src/Compilers/Core/CodeAnalysisTest/Diagnostics/AnalysisContextInfoTests.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Compilers/Core/CodeAnalysisTest/Diagnostics/AnalysisContextInfoTests.cs | ghcode:00174:a6574ccadc4d | mit | codeparrot/github-code | a6574ccadc4d7dc5d9d0b49c99a81cc080a33547ca0a3e20b901070c457c4691 | 0.85 | testing_debugging_repair_refactoring | 1,150 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Arrays
{
[TestFixture]
public class Arrays
{
[Test]
public void SingleDimensionalArraysTests()
{
int[] arrayOfInts = new ... | Shawn1874/CodeSamples | CSharpSamples/Arrays/Arrays.cs | https://github.com/Shawn1874/CodeSamples/blob/HEAD/CSharpSamples/Arrays/Arrays.cs | ghcode:00174:e4c2201f7854 | mit | codeparrot/github-code | e4c2201f7854621532082c239c194a423594ecea29424ef6cf0168cf4e149634 | 0.7 | testing_debugging_repair_refactoring | 547 | false | 2026-07-17 |
// Copyright (c) Aspose 2002-2021. All Rights Reserved.
using Aspose.Words;
using NUnit.Framework;
namespace AsposeWordsVSOpenXML.AsposeWords_features.Features_missing_in_OpenXML
{
[TestFixture]
public class ConvertToRtf : TestUtil
{
[Test]
public static void ConvertToRtfFeature()
... | aspose-words/Aspose.Words-for-.NET | Plugins/Aspose.Words Vs OpenXML Words/Aspose.Words VS OpenXML/AsposeWords/AsposeWords features/Features missing in OpenXML/Convert to Rtf.cs | https://github.com/aspose-words/Aspose.Words-for-.NET/blob/HEAD/Plugins/Aspose.Words Vs OpenXML Words/Aspose.Words VS OpenXML/AsposeWords/AsposeWords features/Features missing in OpenXML/Convert to Rtf.cs | ghcode:00174:edb9290970d4 | mit | codeparrot/github-code | edb9290970d4bd21190b53e8646100b1dd4484ffa8607f8a00e3d02bc26c569c | 0.75 | testing_debugging_repair_refactoring | 124 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace JsonConfig.Tests
{
[TestFixture()]
public class InvalidJson
{
[Test]
[ExpectedException (typeof(Newtonsoft.Json.JsonReaderException))]
public void EvidentlyInvalidJson ()
{
dynamic scope = Config.Global;
scope.ApplyJson ("jibberisch");
}
[Test]
[Exp... | poiswe/JsonConfig | JsonConfig.Tests/InvalidJson.cs | https://github.com/poiswe/JsonConfig/blob/HEAD/JsonConfig.Tests/InvalidJson.cs | ghcode:00174:ed47f4283080 | mit | codeparrot/github-code | ed47f4283080a860abea31009e7cb2ffbd4cb7546f5d0ebe500d181b91fabb14 | 0.6 | testing_debugging_repair_refactoring | 146 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Text.RegularExpressions;
using Azure.Core.TestFramework;
namespace Azure.Data.Tables.Tests
{
public class TablesRecordedTestSanitizer : RecordedTestSanitizer
{
public TablesRecordedTestSanitiz... | jackmagic313/azure-sdk-for-net | sdk/tables/Azure.Data.Tables/tests/TablesRecordedTestSanitizer.cs | https://github.com/jackmagic313/azure-sdk-for-net/blob/HEAD/sdk/tables/Azure.Data.Tables/tests/TablesRecordedTestSanitizer.cs | ghcode:00174:212ada043e6c | mit | codeparrot/github-code | 212ada043e6c73a530abfc135b7ec0779e501bead8850fc282e2c45032610ee0 | 0.85 | testing_debugging_repair_refactoring | 147 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | apache/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/Structure/BinaryStructure.cs | https://github.com/apache/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/Structure/BinaryStructure.cs | ghcode:00174:31cda1918f77 | apache-2.0 | codeparrot/github-code | 31cda1918f773fd06a4a5c654064d6705469fb4d4c73853873d8b420f297b57a | 0.7 | testing_debugging_repair_refactoring | 2,561 | false | 2026-07-17 |
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); y... | jeme/lucenenet | src/Lucene.Net.Tests.Queries/Function/TestOrdValues.cs | https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Queries/Function/TestOrdValues.cs | ghcode:00174:041005c45712 | apache-2.0 | codeparrot/github-code | 041005c45712d5642d502efab406fb62fc0fca7bfb3b8f88be8ac78187449f17 | 0.85 | testing_debugging_repair_refactoring | 1,444 | false | 2026-07-17 |
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | chrisdunelm/google-cloud-dotnet | apis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2.Tests/QueryOptionsTest.cs | https://github.com/chrisdunelm/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2.Tests/QueryOptionsTest.cs | ghcode:00174:afaa4734d75f | apache-2.0 | codeparrot/github-code | afaa4734d75f82356cf53fee80b360e680b7ce1f87a6bf3129595dee24837f7a | 0.85 | testing_debugging_repair_refactoring | 487 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System.Dynamic
{
/// <summary>
/// Represents a runtime type parameter to use to
/// make a generic method invocation.
/// </summary>
partial class TypeParameter
{
/// <summary>
/// Initializes a new instance of... | kzu/MSBuilder | src/Tests/netfx/System/Dynamic/TypeParameter.cs | https://github.com/kzu/MSBuilder/blob/HEAD/src/Tests/netfx/System/Dynamic/TypeParameter.cs | ghcode:00174:a278619de7fc | mit | codeparrot/github-code | a278619de7fcd1b037a2811dfd02f22ea62946ccc55c2a9d743a0216cc9b3c4f | 0.95 | testing_debugging_repair_refactoring | 140 | 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/Commands/DeleteReportCommandTest.cs | https://github.com/xJom/mbunit-v3/blob/HEAD/src/Extensions/Icarus/Gallio.Icarus.Tests/Commands/DeleteReportCommandTest.cs | ghcode:00174:9f05443b8868 | apache-2.0 | codeparrot/github-code | 9f05443b8868f3d217042aa2b8f170756a51f37f2455adca5139917eaae99e56 | 0.85 | testing_debugging_repair_refactoring | 430 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="AkkaAssertEqualityComparer.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>
// <... | ali-ince/akka.net | src/contrib/testkits/Akka.TestKit.Xunit2/Internals/AkkaAssertEqualityComparer.cs | https://github.com/ali-ince/akka.net/blob/HEAD/src/contrib/testkits/Akka.TestKit.Xunit2/Internals/AkkaAssertEqualityComparer.cs | ghcode:00174:04ef8e05a3c3 | apache-2.0 | codeparrot/github-code | 04ef8e05a3c338907b2f7ed85a311df307cb2bb3d28f1fb4083c1fedb3589fa6 | 0.85 | testing_debugging_repair_refactoring | 821 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2017 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | Suremaker/nunit | src/NUnitFramework/tests/Attributes/ParallelizableAttributeTests.cs | https://github.com/Suremaker/nunit/blob/HEAD/src/NUnitFramework/tests/Attributes/ParallelizableAttributeTests.cs | ghcode:00174:8e8e065ade67 | mit | codeparrot/github-code | 8e8e065ade67eefebfe384503a17ceb73251d8784030d3fe50a2ab642e88e211 | 0.95 | testing_debugging_repair_refactoring | 629 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbol... | KashishArora/Roslyn | src/Compilers/CSharp/Portable/Binder/Semantics/OverloadResolution/OverloadResolution.cs | https://github.com/KashishArora/Roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/Semantics/OverloadResolution/OverloadResolution.cs | ghcode:00174:83548e474dca | apache-2.0 | codeparrot/github-code | 83548e474dca00b2f1ff99000878338ab779aa4e298b6c82838371a709b3a205 | 0.72 | testing_debugging_repair_refactoring | 25,132 | 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 System.Net.Sockets;
using System.Net.Test.Common;
using Sys... | ViktorHofer/corefx | src/System.Net.Http/tests/FunctionalTests/HttpRetryProtocolTests.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Net.Http/tests/FunctionalTests/HttpRetryProtocolTests.cs | ghcode:00174:27f750d23e40 | mit | codeparrot/github-code | 27f750d23e40134e7c11615e2565624921652e932be8fcbd49d797c1f466dee0 | 0.95 | testing_debugging_repair_refactoring | 1,078 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.