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 2009, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org
// ****************************************************************
using System;
namespa... | acken/AutoTest.Net | lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/tests/Constraints/ComparerTests.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/tests/Constraints/ComparerTests.cs | ghcode:00002:4352e64af7f1 | mit | codeparrot/github-code | 4352e64af7f17ecc6d84c24dd8772489b67cb711e2857ef6780e9b4ccaf91dc4 | 0.95 | testing_debugging_repair_refactoring | 600 | false | 2026-07-17 |
using Bridge.Test.NUnit;
using System;
using System.Collections.Generic;
namespace Bridge.ClientTest
{
[Category(Constants.MODULE_ARRAY)]
[TestFixture(TestNameFormat = "MultidimArray - {0}")]
public class MultidimArrayTests
{
[Test]
public void TypePropertiesAreCorrect()
{
... | bridgedotnet/Bridge | Tests/Batch1/MultidimArrayTests.cs | https://github.com/bridgedotnet/Bridge/blob/HEAD/Tests/Batch1/MultidimArrayTests.cs | ghcode:00002:b961702e2b27 | apache-2.0 | codeparrot/github-code | b961702e2b27ca4bb89573cffeeacf4903ad91ed84d90033e3e581fb8c0579fa | 0.75 | testing_debugging_repair_refactoring | 2,057 | 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 ... | a1vanov/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Store/CacheStoreTest.cs | https://github.com/a1vanov/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Store/CacheStoreTest.cs | ghcode:00002:6eca2767f8c3 | apache-2.0 | codeparrot/github-code | 6eca2767f8c3d231ca420f7ab4293960331bba2d1ff222ea5fe8e9c71f3c6c2a | 0.7 | testing_debugging_repair_refactoring | 4,254 | false | 2026-07-17 |
using Lucene.Net.Analysis;
using Lucene.Net.Analysis.TokenAttributes;
using Lucene.Net.Documents;
using Lucene.Net.Index;
using Lucene.Net.QueryParsers.Flexible.Core;
using Lucene.Net.QueryParsers.Flexible.Core.Messages;
using Lucene.Net.QueryParsers.Flexible.Core.Nodes;
using Lucene.Net.QueryParsers.Flexible.Core.Pro... | jeme/lucenenet | src/Lucene.Net.Tests.QueryParser/Flexible/Standard/TestQPHelper.cs | https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests.QueryParser/Flexible/Standard/TestQPHelper.cs | ghcode:00002:d6fa84351440 | apache-2.0 | codeparrot/github-code | d6fa843514406f80441e85aa2b7fc22a703aefa242dbd1fcd9dba1249fc7725f | 0.72 | testing_debugging_repair_refactoring | 14,343 | false | 2026-07-17 |
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | evildour/google-cloud-dotnet | apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.IntegrationTests/TransactionTestBase.cs | https://github.com/evildour/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.IntegrationTests/TransactionTestBase.cs | ghcode:00002:df5d365a4259 | apache-2.0 | codeparrot/github-code | df5d365a425972544987a48e3b1b120e92ccb0a023740913a59cdebf0d888840 | 0.85 | testing_debugging_repair_refactoring | 810 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | devigned/azure-powershell | src/Common/Commands.Common.Authentication.Test/TestHttpOperationsFactory.cs | https://github.com/devigned/azure-powershell/blob/HEAD/src/Common/Commands.Common.Authentication.Test/TestHttpOperationsFactory.cs | ghcode:00002:8dacd0bc9239 | apache-2.0 | codeparrot/github-code | 8dacd0bc9239eaaa10ef3f293ac6f33150df342160eaba19706a4b2c6e026028 | 0.85 | testing_debugging_repair_refactoring | 779 | 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.Diagnostics;
using... | davkean/roslyn | src/Compilers/CSharp/Portable/CommandLine/CSharpCompiler.cs | https://github.com/davkean/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/CommandLine/CSharpCompiler.cs | ghcode:00002:8708d4bca451 | apache-2.0 | codeparrot/github-code | 8708d4bca451b56310d1f02ce205ad282e1625a917c8c49f717dd40b55abbd49 | 0.85 | testing_debugging_repair_refactoring | 3,064 | false | 2026-07-17 |
using Xunit;
namespace NuGet.Test.NuGetCommandLine
{
public class OptionAttributeTests
{
[Fact]
public void GetDescription_ReturnsResourceIfTypeSet()
{
// Arrange
OptionAttribute cmd = new OptionAttribute(typeof(MockResourceType), "ResourceName");
... | xero-github/Nuget | test/CommandLine.Test/OptionAttributeTests.cs | https://github.com/xero-github/Nuget/blob/HEAD/test/CommandLine.Test/OptionAttributeTests.cs | ghcode:00002:8d73a42f05c9 | apache-2.0 | codeparrot/github-code | 8d73a42f05c98fdbc5dcc210c55ca3ab1e8d122b59b99f2bdec9c7f4f8e30837 | 0.85 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Azure.Iot.Hub.Service.Models;
using FluentAssertions;
using NUnit.Framework;
namespace Azure.Iot.Hub.Service.Tests
{
/// <summary>
... | brjohnstmsft/azure-sdk-for-net | sdk/iot/Azure.Iot.Hub.Service/tests/JobsClientTests.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/iot/Azure.Iot.Hub.Service/tests/JobsClientTests.cs | ghcode:00002:5d9c2fb427b4 | mit | codeparrot/github-code | 5d9c2fb427b4340d934689797ca600984ea5b0a7856f886a6df2b7736ffdc4b3 | 0.95 | testing_debugging_repair_refactoring | 861 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2011 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, inclu... | wooga/nunitlite | src/framework/Assert.cs | https://github.com/wooga/nunitlite/blob/HEAD/src/framework/Assert.cs | ghcode:00002:89017c9768ce | mit | codeparrot/github-code | 89017c9768ce4e7303010996b5715386abeaab3b4e08e44475b4a8cecf0fd50e | 0.57 | testing_debugging_repair_refactoring | 17,952 | false | 2026-07-17 |
namespace InControl
{
// @cond nodoc
[AutoDiscover]
public class MogaProLinuxProfile : UnityInputDeviceProfile
{
public MogaProLinuxProfile()
{
Name = "Moga Pro";
Meta = "Moga Pro on Linux";
IncludePlatforms = new[] {
"Linux",
};
JoystickNames = new[] {
"Moga Pro HID",
};
MaxUnit... | nathanwentworth/gggs | gggs-src/Assets/Plugins/InControl/Source/Unity/DeviceProfiles/MogaProLinuxProfile.cs | https://github.com/nathanwentworth/gggs/blob/HEAD/gggs-src/Assets/Plugins/InControl/Source/Unity/DeviceProfiles/MogaProLinuxProfile.cs | ghcode:00002:a75c3c49b904 | mit | codeparrot/github-code | a75c3c49b9045e236e79b4f1594d6f74d5974a6a73ef724f7a18b5c583a57373 | 0.6 | testing_debugging_repair_refactoring | 648 | false | 2026-07-17 |
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System;
using System.IO;
using System.Reflection;
using NUnit.Framework;
using Umbraco.Cms.Core;
namespace Umbraco.Cms.Tests.UnitTests.Umbraco.Core
{
[TestFixture]
public class HashGeneratorTests
{
private string Generate(bool isCase... | umbraco/Umbraco-CMS | tests/Umbraco.Tests.UnitTests/Umbraco.Core/HashGeneratorTests.cs | https://github.com/umbraco/Umbraco-CMS/blob/HEAD/tests/Umbraco.Tests.UnitTests/Umbraco.Core/HashGeneratorTests.cs | ghcode:00002:a83f16dd6095 | mit | codeparrot/github-code | a83f16dd6095e695a9edd2ec0492d165501a03f00f14bc85dfb1d6fd8f0a8723 | 0.85 | testing_debugging_repair_refactoring | 1,338 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core.TestFramework;
namespace Azure.ResourceManager.Compute.Tests
{
public class ComputeManagementTestEnvironment : TestEnvironment
{
}
}
| ayeletshpigelman/azure-sdk-for-net | sdk/compute/Azure.ResourceManager.Compute/tests/ComputeManagementTestEnvironment.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/compute/Azure.ResourceManager.Compute/tests/ComputeManagementTestEnvironment.cs | ghcode:00002:194be75b5189 | mit | codeparrot/github-code | 194be75b5189afaac8452232b07f6f3b94cc56775cd161d00b2c3442e0b6ca26 | 0.85 | testing_debugging_repair_refactoring | 49 | 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.Diagnostics;
using ... | janhenke/corefx | src/System.Reflection.Metadata/src/System/Reflection/PortableExecutable/PEBuilder.cs | https://github.com/janhenke/corefx/blob/HEAD/src/System.Reflection.Metadata/src/System/Reflection/PortableExecutable/PEBuilder.cs | ghcode:00002:db61833323cd | mit | codeparrot/github-code | db61833323cdab7b7b4d9c3bf513906615b0c8914b85245613c2b87947ef5305 | 0.8 | testing_debugging_repair_refactoring | 4,536 | false | 2026-07-17 |
namespace AsyncDolls.Specs
{
using FluentAssertions.Numeric;
public static class NumericAssertionExtensions
{
public static void BeInvoked(this NumericAssertions<int> assertions, int ntimes)
{
assertions.Be(ntimes);
}
public static void BeInvokedTwice(this Numer... | DotNetHH/async-dolls | async-dolls/3-AsyncDolls/Specs/NumericAssertionExtensions.cs | https://github.com/DotNetHH/async-dolls/blob/HEAD/async-dolls/3-AsyncDolls/Specs/NumericAssertionExtensions.cs | ghcode:00002:42a0ed89c38b | apache-2.0 | codeparrot/github-code | 42a0ed89c38b3b011e699437a4e8a4cc10178d0adfb83e7b7f6170286e8603a2 | 0.6 | testing_debugging_repair_refactoring | 132 | 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:... | ajayanandgit/mbunit-v3 | src/Extensions/Icarus/Gallio.Icarus/ControlPanel/TestExplorerPane.cs | https://github.com/ajayanandgit/mbunit-v3/blob/HEAD/src/Extensions/Icarus/Gallio.Icarus/ControlPanel/TestExplorerPane.cs | ghcode:00002:701a7c63f8b3 | apache-2.0 | codeparrot/github-code | 701a7c63f8b3e9ac82d70207faa9f61695442f14c414ab2b128a069323d8b5b9 | 0.85 | testing_debugging_repair_refactoring | 533 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Lucene.Net.Documents;
namespace Lucene.Net.Index
{
using Lucene.Net.Support;
using NUnit.Framework;
using BytesRef = Lucene.Net.Util.BytesRef;
using Directory = Lucene.Net.Store.Directory;
using Document = Documents.Document;
... | jpsullivan/lucenenet | src/Lucene.Net.Tests/core/Index/TestMaxTermFrequency.cs | https://github.com/jpsullivan/lucenenet/blob/HEAD/src/Lucene.Net.Tests/core/Index/TestMaxTermFrequency.cs | ghcode:00002:00b9c1fe8f2c | apache-2.0 | codeparrot/github-code | 00b9c1fe8f2c0ad004195b9907d1b4faad4c6ac2aaca05eb3d8d9815e6f5991f | 0.85 | testing_debugging_repair_refactoring | 1,160 | 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.Linq;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft... | evilc0des/roslyn | src/EditorFeatures/Test/Diagnostics/AbstractSuppressionDiagnosticTest.cs | https://github.com/evilc0des/roslyn/blob/HEAD/src/EditorFeatures/Test/Diagnostics/AbstractSuppressionDiagnosticTest.cs | ghcode:00002:67d036f381ac | apache-2.0 | codeparrot/github-code | 67d036f381ac4c42640dadc162571a1e2f402565307966f76846655f00bd80aa | 0.85 | testing_debugging_repair_refactoring | 592 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
namespace DotNetNuke.Tests.Core.Controllers.Messaging.Builders
{
using System;
using DotNetNuke.Common... | nvisionative/Dnn.Platform | DNN Platform/Tests/DotNetNuke.Tests.Core/Controllers/Messaging/Builders/SubscriptionBuilder.cs | https://github.com/nvisionative/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DotNetNuke.Tests.Core/Controllers/Messaging/Builders/SubscriptionBuilder.cs | ghcode:00002:3c03f4331c2f | mit | codeparrot/github-code | 3c03f4331c2f737345149566eb3a2f0563593c9fc79ad01760daef7aec70e8a1 | 0.95 | testing_debugging_repair_refactoring | 543 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
namespace Lucene.Net.Util.JunitCompat
{
/*
* 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 A... | apache/lucenenet | src/Lucene.Net.Tests/Util/JunitCompat/WithNestedTests.cs | https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Util/JunitCompat/WithNestedTests.cs | ghcode:00002:b669d5f4eda1 | apache-2.0 | codeparrot/github-code | b669d5f4eda1135eb4ef90db7436b29fee11ea5bbc0f31217f24e1a9fc2c53af | 0.85 | testing_debugging_repair_refactoring | 1,614 | false | 2026-07-17 |
/*
* Copyright (c) Brock Allen. All rights reserved.
* see license.txt
*/
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace BrockAllen.MembershipReboot.Test.Accounts
{
[TestClass]
public class SecuritySettingsTests
{
[TestMethod]
public void TestDefaults()
... | rvdkooy/BrockAllen.MembershipReboot | src/BrockAllen.MembershipReboot.Test/Configuration/SecuritySettingsTests.cs | https://github.com/rvdkooy/BrockAllen.MembershipReboot/blob/HEAD/src/BrockAllen.MembershipReboot.Test/Configuration/SecuritySettingsTests.cs | ghcode:00002:9cf745194984 | bsd-3-clause | codeparrot/github-code | 9cf7451949848ef587ba220612bec7a1f034cbfe8278ab1007a0f6f6d1d5d2cc | 0.75 | testing_debugging_repair_refactoring | 233 | 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;
// Contract.ContractFailed is non-local; changes in one test will affect any others running concurrent... | ptoonen/corefx | src/System.Diagnostics.Contracts/tests/Utilities.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Diagnostics.Contracts/tests/Utilities.cs | ghcode:00002:660f3e22c23b | mit | codeparrot/github-code | 660f3e22c23b89a1b7c325be77830c20f9d56e96cd9bfec9fb46f94aa5cfb57e | 0.95 | testing_debugging_repair_refactoring | 247 | false | 2026-07-17 |
using Humanizer.Localisation;
using Xunit.Extensions;
namespace Humanizer.Tests.Localisation.fiFI
{
public class DateHumanizeTests : AmbientCulture
{
public DateHumanizeTests()
: base("fi-Fi")
{
}
[Theory]
[InlineData(-10, "10 päivää sitten")]
[Inli... | nigel-sampson/Humanizer | src/Humanizer.Tests/Localisation/fi-FI/DateHumanizeTests.cs | https://github.com/nigel-sampson/Humanizer/blob/HEAD/src/Humanizer.Tests/Localisation/fi-FI/DateHumanizeTests.cs | ghcode:00002:ae2ba2028392 | mit | codeparrot/github-code | ae2ba20283924a61c8053ce6abe22182348e817dc8951243d0bc964213f36b79 | 0.75 | testing_debugging_repair_refactoring | 623 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Octokit.Tests.Integration.Helpers;
using Xunit;
namespace Octokit.Tests.Integration.Clients
{
public class UserGpgKeysClientTests
{
readonly string knownKeyId = "E88402D2E127A23A";... | eriawan/octokit.net | Octokit.Tests.Integration/Clients/UserGpgKeysClientTests.cs | https://github.com/eriawan/octokit.net/blob/HEAD/Octokit.Tests.Integration/Clients/UserGpgKeysClientTests.cs | ghcode:00002:2cf91fec26b5 | mit | codeparrot/github-code | 2cf91fec26b558ada228f7814251904ac13c64ed49b39de89fb67eda0f108de9 | 0.75 | testing_debugging_repair_refactoring | 1,434 | 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... | mayurid/azure-powershell | src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationScheduleTest.cs | https://github.com/mayurid/azure-powershell/blob/HEAD/src/ResourceManager/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationScheduleTest.cs | ghcode:00002:0cf3c8b81f75 | apache-2.0 | codeparrot/github-code | 0cf3c8b81f75ee79a3d8d0d1a7d382350936247d92cd1c234b5b46e4ae9f1668 | 0.7 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using FileHelpers.Events;
using NUnit.Framework;
namespace FileHelpers.Tests.CommonTests
{
[TestFixture]
public class Progress
{
[Test]
public void ReadFileNotifyRecord()
{
... | tablesmit/FileHelpers | FileHelpers.Tests/Tests/Common/Progress.cs | https://github.com/tablesmit/FileHelpers/blob/HEAD/FileHelpers.Tests/Tests/Common/Progress.cs | ghcode:00002:0dde8f1a1812 | mit | codeparrot/github-code | 0dde8f1a18126c60384f919d75ce934ccb0d553112a67e64dbb995b5dceb4e58 | 0.85 | testing_debugging_repair_refactoring | 602 | false | 2026-07-17 |
/*
* Copyright 2014 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | felixguendling/osrm-backend | third_party/flatbuffers/tests/FlatBuffers.Benchmarks/FlatBufferBuilderBenchmark.cs | https://github.com/felixguendling/osrm-backend/blob/HEAD/third_party/flatbuffers/tests/FlatBuffers.Benchmarks/FlatBufferBuilderBenchmark.cs | ghcode:00002:3ef155113159 | bsd-2-clause | codeparrot/github-code | 3ef155113159962d110723ebe156886eafc0a64bb17ff267f5355023633743f8 | 0.88 | testing_debugging_repair_refactoring | 844 | false | 2026-07-17 |
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Nest.Tests.Unit.Search.Query.Singles.GeoShape
{
[TestFixture]
public class GeoShapePolygonJson : BaseJsonTes... | joehmchan/elasticsearch-net | src/Tests/Nest.Tests.Unit/Search/Query/Singles/GeoShape/GeoShapePolygonJson.cs | https://github.com/joehmchan/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Unit/Search/Query/Singles/GeoShape/GeoShapePolygonJson.cs | ghcode:00002:e86e205dc096 | apache-2.0 | codeparrot/github-code | e86e205dc09635b31fdf59bd37bc7f86f0604e3f65dae85fb3429509c7ec72ac | 0.85 | testing_debugging_repair_refactoring | 358 | 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.CodeGen;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.ExpressionEvaluator;
using Microsoft.C... | aelij/roslyn | src/ExpressionEvaluator/CSharp/Test/ExpressionCompiler/LocalFunctionTests.cs | https://github.com/aelij/roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Test/ExpressionCompiler/LocalFunctionTests.cs | ghcode:00002:fb537b5122de | apache-2.0 | codeparrot/github-code | fb537b5122de9d84838f7365a66a2e4f20a2aa7d3d41bb462a1f24815f2d3071 | 0.95 | testing_debugging_repair_refactoring | 2,496 | 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... | nemanja88/azure-powershell | src/ResourceManager/Profile/Commands.Profile.Test/ProfileController.cs | https://github.com/nemanja88/azure-powershell/blob/HEAD/src/ResourceManager/Profile/Commands.Profile.Test/ProfileController.cs | ghcode:00002:f1c4ced04698 | apache-2.0 | codeparrot/github-code | f1c4ced0469880b926c404dee152e863c5c48941ffca8d6e7e500053fe1eb9bf | 0.7 | testing_debugging_repair_refactoring | 913 | 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.Test.Utilities;
using Microsoft.VisualStudio.IntegrationTest.Utilities;
using Xunit;
namespace Roslyn.VisualStudio.IntegrationT... | jkotas/roslyn | src/VisualStudio/IntegrationTest/IntegrationTests/VisualBasic/BasicSquigglesDesktop.cs | https://github.com/jkotas/roslyn/blob/HEAD/src/VisualStudio/IntegrationTest/IntegrationTests/VisualBasic/BasicSquigglesDesktop.cs | ghcode:00002:081023cbc93d | apache-2.0 | codeparrot/github-code | 081023cbc93dda73814cac2f4ae92f35e7cf5fdb743f7962f83221fe09d2b719 | 0.6 | testing_debugging_repair_refactoring | 215 | 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.Numerics;
using System.Security.Cryptograph... | Jiayili1/corefx | src/System.Security.Cryptography.Pkcs/src/System/Security/Cryptography/Pkcs/CmsSignature.cs | https://github.com/Jiayili1/corefx/blob/HEAD/src/System.Security.Cryptography.Pkcs/src/System/Security/Cryptography/Pkcs/CmsSignature.cs | ghcode:00002:8681e66cde6a | mit | codeparrot/github-code | 8681e66cde6a2144ede4d82b1532247a89a5cf000bdd4a3d7d2890969093d922 | 0.8 | testing_debugging_repair_refactoring | 1,232 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Text;... | BrennanConroy/corefx | src/Common/src/CoreLib/System/ReadOnlySpan.Fast.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/Common/src/CoreLib/System/ReadOnlySpan.Fast.cs | ghcode:00002:6ac269a89d0e | mit | codeparrot/github-code | 6ac269a89d0ef639ca6549836a67567daac10a8346511c815a5384a9eb168afd | 0.95 | testing_debugging_repair_refactoring | 2,679 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Dynamic.Utils;
namespace System.Linq.Expressions.Interpreter
{
internal ... | shimingsg/corefx | src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/MulInstruction.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/MulInstruction.cs | ghcode:00002:ccc6eca46142 | mit | codeparrot/github-code | ccc6eca46142600334b56bcd6c7d2433cd4c4c13df20941c6a02e2b63f52e027 | 0.95 | testing_debugging_repair_refactoring | 2,430 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Xunit;
nam... | ViktorHofer/corefx | src/System.Linq.Expressions/tests/StackSpillerTests.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Linq.Expressions/tests/StackSpillerTests.cs | ghcode:00002:c74349118d8b | mit | codeparrot/github-code | c74349118d8b5ee16940ea9cc4d8d64cc55d6e004d3de1a987d8e83916bb2089 | 0.82 | testing_debugging_repair_refactoring | 20,037 | 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.
//csc /target:library
interface Interface
{
void Method();
}
class Class : Interface
{
void Interface.Met... | AmadeusW/roslyn | src/Compilers/Test/Resources/Core/SymbolsTests/ExplicitInterfaceImplementation/CSharpExplicitInterfaceImplementation.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/Compilers/Test/Resources/Core/SymbolsTests/ExplicitInterfaceImplementation/CSharpExplicitInterfaceImplementation.cs | ghcode:00002:6828064acb13 | apache-2.0 | codeparrot/github-code | 6828064acb13fdb3fac5a5d8544d01076b706ebb594bf7d415b8e015d3df533f | 0.95 | testing_debugging_repair_refactoring | 667 | 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 CultureInfoToString
{
[Fact]
public ... | vs-team/corefx | src/System.Globalization/tests/CultureInfo/CultureInfoToString.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Globalization/tests/CultureInfo/CultureInfoToString.cs | ghcode:00002:06d887f3d0b8 | mit | codeparrot/github-code | 06d887f3d0b86060484909e76aaef17d81b9e48a51133913ce2457cb2831697b | 0.85 | testing_debugging_repair_refactoring | 191 | 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.Linq;
using System.Net.Http.Headers;
using System.Text;
using Xunit;
namespace System.Net.Http.Tests
{
... | vs-team/corefx | src/System.Net.Http/tests/UnitTests/Headers/GenericHeaderParserTest/RangeConditionParserTest.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Net.Http/tests/UnitTests/Headers/GenericHeaderParserTest/RangeConditionParserTest.cs | ghcode:00002:d4c5aadcdf48 | mit | codeparrot/github-code | d4c5aadcdf48b918fd8827177915e23cc694e41c6bb98a2b0468bd0e4fde90ed | 0.95 | testing_debugging_repair_refactoring | 599 | 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.IO;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
using S... | tijoytom/coreclr | tests/src/JIT/Performance/CodeQuality/Serialization/Serialize.cs | https://github.com/tijoytom/coreclr/blob/HEAD/tests/src/JIT/Performance/CodeQuality/Serialization/Serialize.cs | ghcode:00002:169d696e0681 | mit | codeparrot/github-code | 169d696e0681e31ca2c9a0f1af4b97500bd6725cb49dc45704ac8dbd3cd5259e | 0.8 | testing_debugging_repair_refactoring | 1,022 | false | 2026-07-17 |
using Cumulus.Infrastructure.RequestResponse;
using Cumulus.MessageContracts;
using NUnit.Framework;
using Shouldly;
namespace Cumulus.UnitTests.DispatcherTests
{
public class WhenExtractingADispatchMethodForARequest
{
[Test]
public void WeShouldGetTheRightMethod()
{
var re... | AtmosphereMessaging/Cumulus | src/Tests/Cumulus.UnitTests/DispatcherTests/WhenExtractingADispatchMethodForARequest.cs | https://github.com/AtmosphereMessaging/Cumulus/blob/HEAD/src/Tests/Cumulus.UnitTests/DispatcherTests/WhenExtractingADispatchMethodForARequest.cs | ghcode:00002:66660eefdedb | mit | codeparrot/github-code | 66660eefdedb1c1693a78ca1875ec8cf065a8c01798b3132cd98a30f84fb638e | 0.85 | testing_debugging_repair_refactoring | 136 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ScheduleCronConverterTests.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// ---------------------------------------------... | NaosProject/Naos.Cron | Naos.Cron.Test/ScheduleCronConverterTests.cs | https://github.com/NaosProject/Naos.Cron/blob/HEAD/Naos.Cron.Test/ScheduleCronConverterTests.cs | ghcode:00002:782cbaf730e4 | mit | codeparrot/github-code | 782cbaf730e40aa796cb80f1e8a8cfff5d716f91c3704f8b9ee97087cb41c42b | 0.85 | testing_debugging_repair_refactoring | 2,746 | false | 2026-07-17 |
using Xunit;
using DotNetCoreKoans.Engine;
namespace DotNetCoreKoans.Koans
{
public class AboutBitwiseAndShiftOperator : Koan
{
[Step(1)]
public void BinaryAndOperator()
{
//Example
//1 in binary is 0001
//3 in binary is 0011
//With & only... | NotMyself/DotNetCoreKoans | Koans/AboutBitwiseAndShiftOperator.cs | https://github.com/NotMyself/DotNetCoreKoans/blob/HEAD/Koans/AboutBitwiseAndShiftOperator.cs | ghcode:00002:c68b1522cf67 | mit | codeparrot/github-code | c68b1522cf67efb1cb0c787708c545c98e8456f7fb13fac39908344d312e8930 | 0.7 | testing_debugging_repair_refactoring | 991 | false | 2026-07-17 |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Net;
using Maxxor.PCL.Result;
using Maxxor.PCL.Tests.Tests.Base;
using NUnit.Framework;
namespace Maxxor.PCL.Tests.Tests.MxResultsTests.MxErrorTests
{
[TestFixture, ExcludeFromCodeCoverage]
public class CreateTests : BaseUnitTest
{
... | Maxxor-Business-Solutions/Maxxor.PCL | Maxxor.PCL.Tests/Tests/MxResultsTests/MxErrorTests/CreateTests.cs | https://github.com/Maxxor-Business-Solutions/Maxxor.PCL/blob/HEAD/Maxxor.PCL.Tests/Tests/MxResultsTests/MxErrorTests/CreateTests.cs | ghcode:00002:46836984571b | mit | codeparrot/github-code | 46836984571ba934281aa3728a9204411a287736051e48146ed5cd332569b9b6 | 0.95 | testing_debugging_repair_refactoring | 355 | 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 Newtonsoft.Json;
using NUnit.Framework;
using osu.Framework.Bindables;
namespace osu.Framework.Tests.Bindables
{
[TestFixture]
public class BindableSeriali... | ZLima12/osu-framework | osu.Framework.Tests/Bindables/BindableSerializationTest.cs | https://github.com/ZLima12/osu-framework/blob/HEAD/osu.Framework.Tests/Bindables/BindableSerializationTest.cs | ghcode:00002:ccf397b615f5 | mit | codeparrot/github-code | ccf397b615f51f8e77b7ae29cea2fae007eb3209335f4c639daee259d713fc9f | 0.6 | testing_debugging_repair_refactoring | 984 | false | 2026-07-17 |
using Kudos.Data.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
namespace Kudos.Data.Test
{
/// <summary>
/// Run these
/// </summary>
[TestClass]
public class KudosRepositoryInitialization
{
[TestMethod, TestCategory("Init")]
public void Scaffold_... | staticvoidmain/kudos | src/Kudos.Data.Test/KudosRepositoryInitialization.cs | https://github.com/staticvoidmain/kudos/blob/HEAD/src/Kudos.Data.Test/KudosRepositoryInitialization.cs | ghcode:00002:7909e8724abf | mit | codeparrot/github-code | 7909e8724abf21484b49ce34e48c62613d7ee9700fbd0a02201329eb65937756 | 0.7 | testing_debugging_repair_refactoring | 760 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using QuantSA.Excel.Addin.Config;
using QuantSA.Excel.Addin.Functions;
using QuantSA.ExcelFunctions;
namespace QuantSA.Excel.Addin.Tests.TypeConverters
{
[TestClass]
public class Conve... | JamesLTaylor/QuantSA | QuantSA/QuantSA.Excel.Addin.Tests/TypeConverters/ConverterTests.cs | https://github.com/JamesLTaylor/QuantSA/blob/HEAD/QuantSA/QuantSA.Excel.Addin.Tests/TypeConverters/ConverterTests.cs | ghcode:00002:ced3ab54b137 | mit | codeparrot/github-code | ced3ab54b1373f43b4ad158f093c626b62b28f7c46bc854af64e507c252bfa33 | 0.85 | testing_debugging_repair_refactoring | 480 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Extensions;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Portability;
using BenchmarkDotNet.Reports;
using JetBrains.Annotations;
namespace BenchmarkDotNet.Runn... | PerfDotNet/BenchmarkDotNet | src/BenchmarkDotNet/Running/BenchmarkRunnerDirty.cs | https://github.com/PerfDotNet/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Running/BenchmarkRunnerDirty.cs | ghcode:00002:f96ea87741e9 | mit | codeparrot/github-code | f96ea87741e92713e8a4710298f5fd71d8912d5881b8ecb5e24cbd759e693fe2 | 0.7 | testing_debugging_repair_refactoring | 1,109 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Reverb.Data.Contracts;
using Reverb.Data.Models;
using System;
namespace Reverb.Services.UnitTests.ArtistServiceTests
{
[TestClass]
public class Constructor_Should
{
[TestMethod]
public void ThrowWhenContextWrapperIsNotPa... | Xenoleth/Reverb-MVC | Reverb/Reverb.Services.UnitTests/ArtistServiceTests/Constructor_Should.cs | https://github.com/Xenoleth/Reverb-MVC/blob/HEAD/Reverb/Reverb.Services.UnitTests/ArtistServiceTests/Constructor_Should.cs | ghcode:00002:33bd7f0c9568 | mit | codeparrot/github-code | 33bd7f0c9568992c7427c3c5f2e000513af0ba97cd39e9f93adad4298e149ef2 | 0.7 | testing_debugging_repair_refactoring | 172 | false | 2026-07-17 |
namespace ArgentPonyWarcraftClient.Tests.ProfileApi;
public class CharacterSpecializationsApiTests
{
[Fact]
public async Task GetCharacterSpecializationsSummaryAsync_Gets_CharacterSpecializationsSummary()
{
ICharacterSpecializationsApi warcraftClient = ClientFactory.BuildMockClient(
re... | danjagnow/ArgentPonyWarcraftClient | tests/ArgentPonyWarcraftClient.Tests/ProfileApi/CharacterSpecializationsApiTests.cs | https://github.com/danjagnow/ArgentPonyWarcraftClient/blob/HEAD/tests/ArgentPonyWarcraftClient.Tests/ProfileApi/CharacterSpecializationsApiTests.cs | ghcode:00002:8ffc20933c9b | mit | codeparrot/github-code | 8ffc20933c9ba976908f30550369bb535f17c3675741cec01a794293f5e13849 | 0.75 | testing_debugging_repair_refactoring | 150 | false | 2026-07-17 |
using Microsoft.CodeAnalysis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.Threading.Tasks;
namespace Csla.Analyzers.Tests
{
[TestClass]
public sealed class CheckConstructorsAnalyzerTests
{
[TestMethod]
public void VerifySupportedDiagnostics()
{
var analy... | BrettJaner/csla | Source/Csla.Analyzers/Csla.Analyzers.Tests/CheckConstructorsAnalyzerTests.cs | https://github.com/BrettJaner/csla/blob/HEAD/Source/Csla.Analyzers/Csla.Analyzers.Tests/CheckConstructorsAnalyzerTests.cs | ghcode:00002:9df29b389e3b | mit | codeparrot/github-code | 9df29b389e3b87dc2f18b3dbdcb59c0582f5018856bd75d0364a5a92f97f0bf4 | 0.75 | testing_debugging_repair_refactoring | 1,503 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
namespace FuncSharp.Benchmarks
{
[MemoryDiagnoser]
public class OptionBenchmarks
{
private object Object { get; } = new object();
private IOption<string> NonEmptyOption { get; } = "non-empty".ToOption();
private IOption<string> EmptyOption { get; } ... | siroky/FuncSharp | src/FuncSharp.Benchmarks/Option/OptionBenchmarks.cs | https://github.com/siroky/FuncSharp/blob/HEAD/src/FuncSharp.Benchmarks/Option/OptionBenchmarks.cs | ghcode:00002:6b6e5c428496 | mit | codeparrot/github-code | 6b6e5c42849640303e6755ca739140da8e3d8ffc45da24f678ab22702bad4005 | 0.6 | testing_debugging_repair_refactoring | 376 | false | 2026-07-17 |
using System.Linq;
using Marten.Events.Projections;
using Marten.Testing.Events.Projections;
using Marten.Testing.Harness;
using Shouldly;
using Xunit;
namespace Marten.Testing.Events.Aggregation
{
public class aggregates_should_be_registered_as_document_mappings_automatically: IntegrationContext
{
[Fa... | JasperFx/Marten | src/Marten.Testing/Events/Aggregation/aggregates_should_be_registered_as_document_mappings_automatically.cs | https://github.com/JasperFx/Marten/blob/HEAD/src/Marten.Testing/Events/Aggregation/aggregates_should_be_registered_as_document_mappings_automatically.cs | ghcode:00002:362f68e94230 | mit | codeparrot/github-code | 362f68e94230ead000cb825a3b000e328ebd9e97a477a027a5466587c29b9b8c | 0.6 | testing_debugging_repair_refactoring | 280 | false | 2026-07-17 |
using Jekyll.Exceptions;
using NUnit.Framework;
namespace Jekyll.Tests
{
[TestFixture]
public class CommandTests
{
[Test]
public void Parse_NoCommand_ThrowsMissingCommandException()
{
Assert.Throws<MissingCommandException>(() => Command.Parse(new string[0]));
}
[Test]
public void Parse_Unknow... | bcwood/jekyll.net | Jekyll.Tests/CommandTests.cs | https://github.com/bcwood/jekyll.net/blob/HEAD/Jekyll.Tests/CommandTests.cs | ghcode:00002:7f734caa6f19 | mit | codeparrot/github-code | 7f734caa6f199b6d072178f0aa9d1dde59079024492b29521a6be0a8dd8e5966 | 0.75 | testing_debugging_repair_refactoring | 153 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NeuralNet;
namespace Tests.UnitTests
{
[TestClass]
public class BackPropNetworkTests
{
[TestMethod]
public void InitializeTest()
{
BackpropNetwork bpn = new BackpropNetwork();
bpn.Initialize(3, 4, 2);... | dgab/Thesis | Tests/UnitTests/BackPropNetworkTests.cs | https://github.com/dgab/Thesis/blob/HEAD/Tests/UnitTests/BackPropNetworkTests.cs | ghcode:00002:fb20747e4a5e | mit | codeparrot/github-code | fb20747e4a5e36815af2de4ba324d9f92235159b9c7ed8cdb279ef6db7459054 | 0.75 | testing_debugging_repair_refactoring | 81 | false | 2026-07-17 |
namespace Newq.Tests
{
using Models;
using Xunit;
public class SelectStatementTests
{
[Fact]
public void Select1()
{
var queryBuilder = new QueryBuilder();
queryBuilder
.Select<Customer>((target, context) => {
target.A... | apemost/Newq | test/Newq.Tests/SelectStatementTests.cs | https://github.com/apemost/Newq/blob/HEAD/test/Newq.Tests/SelectStatementTests.cs | ghcode:00002:64fed6285bc2 | mit | codeparrot/github-code | 64fed6285bc2aa528877b468e3143144097598989a2e1bd7630c9226afec3246 | 0.75 | testing_debugging_repair_refactoring | 2,082 | false | 2026-07-17 |
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WhetStone.Looping;
namespace Tests
{
[TestClass]
public class countAtLeastTests
{
[TestMethod] public void SimpleTrue()
{
var val = new[]
{
Enumerable.Range(0, 6), Enumerabl... | bentheiii/WhetStone | WhetstoneTests/CountAtLeast.cs | https://github.com/bentheiii/WhetStone/blob/HEAD/WhetstoneTests/CountAtLeast.cs | ghcode:00002:78f515099838 | mit | codeparrot/github-code | 78f515099838352f47cd3d583e797f5632197cc343e9389f935be913cc629df3 | 0.6 | testing_debugging_repair_refactoring | 315 | false | 2026-07-17 |
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AM.Json;
using AM.Runtime;
using AM.Xml;
using JetBrains.Annotations;
using ManagedIrbis;
using ManagedIrbis.Infrastructure;
namespace UnitTests.ManagedIrbis
{
[TestClass]
public class IrbisVersionTest
{
... | amironov73/ManagedIrbis | Source/UnitTests/ManagedIrbis/IrbisVersionTest.cs | https://github.com/amironov73/ManagedIrbis/blob/HEAD/Source/UnitTests/ManagedIrbis/IrbisVersionTest.cs | ghcode:00002:3ac2fe8cce0f | mit | codeparrot/github-code | 3ac2fe8cce0fd57234ea121d9c4fb4b29780dff2905019a9983f015a22e00327 | 0.85 | testing_debugging_repair_refactoring | 1,472 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NUnit.Framework;
using UniversityTimetabling;
using UniversityTimetabling.MIPModels;
using UniversityTimetabling.StrategicOpt;
namespace UnitTests
{
[TestFixture]
internal class MultiObjectiveRoomStabilityTests : UnitTe... | miclindahl/UniTimetabling | UnitTests/MultiObjectiveRoomStabilityTests .cs | https://github.com/miclindahl/UniTimetabling/blob/HEAD/UnitTests/MultiObjectiveRoomStabilityTests .cs | ghcode:00002:fb61fabe8245 | mit | codeparrot/github-code | fb61fabe82457d60ab93a6179760b5b6de086ab1418e87b89a097239e143a874 | 0.7 | testing_debugging_repair_refactoring | 689 | false | 2026-07-17 |
namespace UiMetadataFramework.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using global::MediatR;
using Microsoft.Extensions.DependencyInjection;
using UiMetadataFramework.Basic;
using UiMe... | UNOPS/UiMetadataFramework | UiMetadataFramework.Tests/MediatrTests.cs | https://github.com/UNOPS/UiMetadataFramework/blob/HEAD/UiMetadataFramework.Tests/MediatrTests.cs | ghcode:00002:eb1096de034e | mit | codeparrot/github-code | eb1096de034ef90ed4494dfc378be15abab29110bf189fc278fc98a29dc4fd4f | 0.75 | testing_debugging_repair_refactoring | 1,638 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Swank.Description;
using NUnit.Framework;
using Should;
using Swank.Extensions;
using Tests.Common;
namespace Tests.Unit.Description.MarkerConventionTests
{
[TestFixture]
public class MarkerConventionTests
{
... | mikeobrien/swank | src/Tests/Unit/Description/MarkerConventionTests/MarkerConventionTests.cs | https://github.com/mikeobrien/swank/blob/HEAD/src/Tests/Unit/Description/MarkerConventionTests/MarkerConventionTests.cs | ghcode:00002:69c930b106de | mit | codeparrot/github-code | 69c930b106de3fd4e09c5be03c07427aad789da94e7fd28574f5d7f7b643fcce | 0.85 | testing_debugging_repair_refactoring | 522 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.TestFramework;
using Azure.Identity;... | AsrOneSdk/azure-sdk-for-net | sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeyClientTests.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeyClientTests.cs | ghcode:00002:9580e08ad351 | mit | codeparrot/github-code | 9580e08ad35189bdbca85dd75dfc043a48af0aafe09192081a60ad3ece5f2a2b | 0.95 | testing_debugging_repair_refactoring | 2,797 | false | 2026-07-17 |
using System;
using Ghpr.Core.Core.Common;
using Ghpr.Core.Core.Settings;
using Ghpr.Core.Core.Utils;
using NUnit.Framework;
namespace Ghpr.Tests.Core.Utils
{
[TestFixture]
public class RunDtoRepositoryTests
{
private readonly ProjectSettings _settings =
"Ghpr.Core.Tests.Settings.json... | GHPReporter/Ghpr.Core | Ghpr.Tests/Core/Utils/RunDtoRepositoryTests.cs | https://github.com/GHPReporter/Ghpr.Core/blob/HEAD/Ghpr.Tests/Core/Utils/RunDtoRepositoryTests.cs | ghcode:00002:ae73a31ab00d | mit | codeparrot/github-code | ae73a31ab00de7ed6ebe8806144dfe34f248f35e7459ee55e6f5046f940cad52 | 0.75 | testing_debugging_repair_refactoring | 1,469 | false | 2026-07-17 |
using NUnit.Framework;
using Moq;
using SJP.Schematic.Core;
namespace SJP.Schematic.MySql.Tests
{
[TestFixture]
internal static class MySqlDatabaseIndexColumnTests
{
[Test]
public static void Ctor_GivenNullExpression_ThrowsArgumentNullException()
{
var column = Mock.Of<... | sjp/SJP.Schema | src/SJP.Schematic.MySql.Tests/MySqlDatabaseIndexColumnTests.cs | https://github.com/sjp/SJP.Schema/blob/HEAD/src/SJP.Schematic.MySql.Tests/MySqlDatabaseIndexColumnTests.cs | ghcode:00002:4cc787df3d4c | mit | codeparrot/github-code | 4cc787df3d4cd74aa395da8e28ebe17bdeaed584c9e338c14969480d9e8c3b18 | 0.75 | testing_debugging_repair_refactoring | 490 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Melanchall.DryWetMidi.Core;
using Melanchall.DryWetMidi.Devices;
using Melanchall.DryWetMidi.Tests.Common;
using Melanchall.DryWetMidi.Tests.Utilities;
using NUnit.Framework;
namespace Melanchall... | melanchall/drymidi | DryWetMidi.Tests/Devices/Utilities/SendReceiveUtilities.cs | https://github.com/melanchall/drymidi/blob/HEAD/DryWetMidi.Tests/Devices/Utilities/SendReceiveUtilities.cs | ghcode:00002:a7c9e66f9731 | mit | codeparrot/github-code | a7c9e66f9731c721e6dbed4dfdb4e53d52e0dd2cfe63fcf6439800f810acec72 | 0.6 | testing_debugging_repair_refactoring | 1,031 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. 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.IO;
using System.Text.RegularExpressions;
using Microsoft.DotNet.InternalAbstractio... | schellap/cli | test/dotnet-publish.Tests/PublishTests.cs | https://github.com/schellap/cli/blob/HEAD/test/dotnet-publish.Tests/PublishTests.cs | ghcode:00002:45869dd7d798 | mit | codeparrot/github-code | 45869dd7d798ab0686bdd535c9127f99e14d557d3b4aea2aaeee9ffaa9cbfa24 | 0.85 | testing_debugging_repair_refactoring | 3,201 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.DotNet.Tools.Test.Utilities;
using Xunit;
using System;
using System.IO;
using FluentAssertions;
using Microsoft.DotNet.TestFram... | Faizan2304/cli | test/dotnet-vstest.Tests/VSTestTests.cs | https://github.com/Faizan2304/cli/blob/HEAD/test/dotnet-vstest.Tests/VSTestTests.cs | ghcode:00002:9d629ffb1cc3 | mit | codeparrot/github-code | 9d629ffb1cc3ac766d203c9a52c11573a95454c0cff25bf1e87f106c3452821f | 0.85 | testing_debugging_repair_refactoring | 385 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.Text;
namespace _00.Test
{
public class TestService : IServiceContainer
{
public object GetService(Type serviceType)
{
throw new NotImplementedException();
}
public voi... | Hris91/C-Development-New | C# OOP Advanced/Exercises/04.Reflection-Exercise/00.Test/TestService.cs | https://github.com/Hris91/C-Development-New/blob/HEAD/C# OOP Advanced/Exercises/04.Reflection-Exercise/00.Test/TestService.cs | ghcode:00002:b4565164d562 | mit | codeparrot/github-code | b4565164d562998fae2ddada36117821bf686aa585ac6741fcca16c51e5e368a | 0.75 | testing_debugging_repair_refactoring | 191 | false | 2026-07-17 |
using FluentAssertions;
using JsonApiDotNetCore.Configuration;
using JsonApiDotNetCore.Middleware;
using JsonApiDotNetCore.Queries;
using JsonApiDotNetCore.Resources;
using JsonApiDotNetCore.Resources.Annotations;
using JsonApiDotNetCore.Serialization.Objects;
using JsonApiDotNetCore.Serialization.Response;
using Micro... | json-api-dotnet/JsonApiDotNetCore | test/JsonApiDotNetCoreTests/UnitTests/Links/LinkInclusionTests.cs | https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/HEAD/test/JsonApiDotNetCoreTests/UnitTests/Links/LinkInclusionTests.cs | ghcode:00002:eca044d4835b | mit | codeparrot/github-code | eca044d4835bae4bfc56f5dba19ce8a3e4f56fb0c46728db90bb32344be4104b | 0.85 | testing_debugging_repair_refactoring | 5,196 | false | 2026-07-17 |
namespace Exercise01
{
//01.Define abstract class Shape with only one abstract method CalculateSurface() and fields width and height.
// Define two new classes Triangle and Rectangle that implement the virtual method and return the surface of
// the figure (height*width for rectangle and height*width... | TsvetanKT/TelerikHomeworks | CSharpOOP/05.ObjectOrientedProgrammingPrinciples2/Exercise01/TestingShapes.cs | https://github.com/TsvetanKT/TelerikHomeworks/blob/HEAD/CSharpOOP/05.ObjectOrientedProgrammingPrinciples2/Exercise01/TestingShapes.cs | ghcode:00002:da8a33c09a66 | mit | codeparrot/github-code | da8a33c09a669a0868ffc8a726d6062ca68804cce0f4108b7667a14bd0f7d4ad | 0.85 | testing_debugging_repair_refactoring | 286 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HTLib2;
using HTLib2.Bioinfo;
namespace HTLib2.Bioinfo
{
public partial class Align
{
public class MinPackingDensity : IMinAlign
{
public static void GetEnergies(AlignData data1... | htna/HCsbLib | HCsbLib/HCsbLib/HTLib2.Bioinfo/Align/MinPackingDensity.cs | https://github.com/htna/HCsbLib/blob/HEAD/HCsbLib/HCsbLib/HTLib2.Bioinfo/Align/MinPackingDensity.cs | ghcode:00002:2bd634e0ccff | mit | codeparrot/github-code | 2bd634e0ccffc7a293a2d74f24d2d22a2b69be757544f5b95ebb915adc75dcb3 | 0.7 | testing_debugging_repair_refactoring | 675 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Proverb.Api.Core.Helpers;
namespace Proverb.Web.Tests.Helpers
{
[TestClass]
public class SaveHelpersTests
{
[TestMethod]
public void CamelCasePropNames_given_delimited_string_should_return_camel_cased_string()
{
v... | johnnyreilly/proverb-api-core | test/Proverb.Web.Tests/Helpers/SaveHelpersTests.cs | https://github.com/johnnyreilly/proverb-api-core/blob/HEAD/test/Proverb.Web.Tests/Helpers/SaveHelpersTests.cs | ghcode:00002:d1ea585b4d82 | mit | codeparrot/github-code | d1ea585b4d822fbe76e9520b74f57cbeb7d682ee4e1ec2bc85f5ef80524d4347 | 0.75 | testing_debugging_repair_refactoring | 95 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DollarTracker.Web.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
}
}
}
| alphaCoder/DollarTracker | DollarTracker.Net/DollarTracker.Web.Tests/UnitTest1.cs | https://github.com/alphaCoder/DollarTracker/blob/HEAD/DollarTracker.Net/DollarTracker.Web.Tests/UnitTest1.cs | ghcode:00002:3d9af56fe587 | mit | codeparrot/github-code | 3d9af56fe587cd2a70b05d0f7cd2bc9976e771fb135bd7aaad2c828c426b84fd | 0.6 | testing_debugging_repair_refactoring | 49 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using NUnit.Framework;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Zbu.ModelsBuilder.Building;
namespace Zbu.ModelsBuilder.Tests
{
public interface IRandom1
{}
publi... | danlister/Zbu.ModelsBuilder | Zbu.ModelsBuilder.Tests/RoslynTests.cs | https://github.com/danlister/Zbu.ModelsBuilder/blob/HEAD/Zbu.ModelsBuilder.Tests/RoslynTests.cs | ghcode:00002:3fb8db889d35 | mit | codeparrot/github-code | 3fb8db889d35cb8818798d22d75043543368015f9a3f41689fde5230c454b9cd | 0.85 | testing_debugging_repair_refactoring | 3,573 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Diagnostics;
class AssertionsHomework
{
public static void SelectionSort<T>(T[] arr) where T : IComparable<T>
{
Debug.Assert(arr != null, "Array must not be null.");
Debug.Assert(arr.Length > 0, "The array must not be empty.");
for (int in... | Hris21/High-Quality-Code | Defensive Programming and Exceptions/Assertions-Homework/AssertionsHomework.cs | https://github.com/Hris21/High-Quality-Code/blob/HEAD/Defensive Programming and Exceptions/Assertions-Homework/AssertionsHomework.cs | ghcode:00002:5f65baaa3821 | mit | codeparrot/github-code | 5f65baaa382194948b6ca0665ec8a70dd28769c91a093fa9b8031c015e6c21b6 | 0.7 | testing_debugging_repair_refactoring | 802 | false | 2026-07-17 |
namespace _01.BSTOpearations.Tests
{
using NUnit.Framework;
using _01.BSTOperations;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using System;
public class Tests
{
private IAbstractBinarySearchTree<int> _bst;
[SetUp]
public void Initi... | zrusev/SoftwareUniversity2016 | 18. Data structures - Dec 2018/07. Heaps BST/01.BSTOpearations.Tests/BSTOpearationsTests.cs | https://github.com/zrusev/SoftwareUniversity2016/blob/HEAD/18. Data structures - Dec 2018/07. Heaps BST/01.BSTOpearations.Tests/BSTOpearationsTests.cs | ghcode:00002:efbe741c805c | mit | codeparrot/github-code | efbe741c805c33736ae8048926b1e5b40075419b423999ce66668051522af734 | 0.75 | testing_debugging_repair_refactoring | 1,275 | false | 2026-07-17 |
using Framework.Elements;
using Framework.PageObjects;
using OpenQA.Selenium;
using System;
namespace Framework.UnitTests.PageObjects
{
public class TestHtmlPage : BasePage
{
public string PagelinkHref = "pagelink.html";
public string PageTitle = "Web-Test-Framework: Test HTML Page";
... | jbaranda/web-test-framework | dotnet/WebTestFramework/Framework.UnitTests/UnitTests/PageObjects/TestHtmlpage.cs | https://github.com/jbaranda/web-test-framework/blob/HEAD/dotnet/WebTestFramework/Framework.UnitTests/UnitTests/PageObjects/TestHtmlpage.cs | ghcode:00002:459eda673e1a | mit | codeparrot/github-code | 459eda673e1aa3207c43772c9ddf6756bdefd7b31adec6666c11801c3a791d80 | 0.85 | testing_debugging_repair_refactoring | 1,278 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using IniParser.Model;
using NUnit.Framework;
namespace IniParser.Tests.Unit.Model
{
[TestFixture, Category("Test of data structures used to hold information retrieved for an INI file")]
public class PropertyTest
{
[Test]
public void check_de... | rickyah/ini-parser | src/IniParser.Tests/Unit/Model/PropertyTests.cs | https://github.com/rickyah/ini-parser/blob/HEAD/src/IniParser.Tests/Unit/Model/PropertyTests.cs | ghcode:00002:a43ff59a1066 | mit | codeparrot/github-code | a43ff59a1066bbbbe4935d57d3750177cecfd07457dc231623e0a431d390b041 | 0.85 | testing_debugging_repair_refactoring | 707 | false | 2026-07-17 |
using zipkin4net.Tracers.Zipkin;
using NUnit.Framework;
namespace zipkin4net.UTest.Tracers.Zipkin
{
[TestFixture]
internal class T_BinaryAnnotationValueEncoder
{
[Test]
public void StringIsEncodedAsUtf8()
{
var bytes = BinaryAnnotationValueEncoder.Encode("$Helloé");
... | criteo/zipkin4net | Src/zipkin4net/Tests/Tracers/Zipkin/T_BinaryAnnotationValueEncoder.cs | https://github.com/criteo/zipkin4net/blob/HEAD/Src/zipkin4net/Tests/Tracers/Zipkin/T_BinaryAnnotationValueEncoder.cs | ghcode:00002:a585486f8f3a | apache-2.0 | codeparrot/github-code | a585486f8f3abd5f9d28df24ef0cb8ec4d890c1bff6e3e6ba2b5390655695919 | 0.85 | testing_debugging_repair_refactoring | 535 | false | 2026-07-17 |
using System;
using System.IO;
using OpenCvSharp.ML;
using Xunit;
namespace OpenCvSharp.Tests.ML
{
public class RTreesTest : TestBase
{
[Fact]
public void RunTest()
{
float[,] trainFeaturesData =
{
{0, 0},
{0, 100},
... | shimat/opencvsharp | test/OpenCvSharp.Tests/ml/RTreesTest.cs | https://github.com/shimat/opencvsharp/blob/HEAD/test/OpenCvSharp.Tests/ml/RTreesTest.cs | ghcode:00002:327ba9452577 | apache-2.0 | codeparrot/github-code | 327ba94525777fcbbacca402324b457fda4aa09eb3aef8eeee69edc281adbf4f | 0.6 | testing_debugging_repair_refactoring | 533 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenTsdbNet;
using OpenTsdbNet.models;
using OpenTsdbNet.Network;
namespace OpenTsdb.Net.Test.OpenTsdbManagerFixtures
{
[TestClass]
public class Given_InvalidConstructorData
{
[TestMethod]
public void When_NullOptions_T... | dejanfajfar/openTSDB.net | openTSDB.net.Test/OpenTsdbManagerFixtures/Given_InvalidConstructorData.cs | https://github.com/dejanfajfar/openTSDB.net/blob/HEAD/openTSDB.net.Test/OpenTsdbManagerFixtures/Given_InvalidConstructorData.cs | ghcode:00002:59630f7b002a | apache-2.0 | codeparrot/github-code | 59630f7b002afa59532d374486900cf000693b3aa2f80274803eb9477155dc00 | 0.6 | testing_debugging_repair_refactoring | 165 | false | 2026-07-17 |
using FluentAssertions;
using Xunit;
namespace Fluency.Net.Standard.Tests.Builders
{
public class when_setting_a_reference_property
{
public class ReferenceType
{
public string Name { get; set; }
}
public class ClassWithReferenceProperty
{
... | nrjohnstone/Fluency | test/Fluency.Net.Standard.Tests/Builders/when_setting_a_reference_property.cs | https://github.com/nrjohnstone/Fluency/blob/HEAD/test/Fluency.Net.Standard.Tests/Builders/when_setting_a_reference_property.cs | ghcode:00002:09cfda56f77e | apache-2.0 | codeparrot/github-code | 09cfda56f77e8b5fff8e0a0090e3dd5ac347e5147b2a360064368cd44d2b7954 | 0.6 | testing_debugging_repair_refactoring | 393 | false | 2026-07-17 |
using YAF.Lucene.Net.Analysis.TokenAttributes;
using System.Diagnostics;
namespace YAF.Lucene.Net.Analysis.Miscellaneous
{
/*
* 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 re... | Pathfinder-Fr/YAFNET | yafsrc/Lucene.Net/Lucene.Net.Analysis.Common/Analysis/Miscellaneous/SingleTokenTokenStream.cs | https://github.com/Pathfinder-Fr/YAFNET/blob/HEAD/yafsrc/Lucene.Net/Lucene.Net.Analysis.Common/Analysis/Miscellaneous/SingleTokenTokenStream.cs | ghcode:00002:cfd17e996f31 | apache-2.0 | codeparrot/github-code | cfd17e996f31760d64892c1960d80ad1a9adc0c086f9b64cc87129c44cdae702 | 0.85 | testing_debugging_repair_refactoring | 481 | 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.Diagnostics;
using... | brettfo/roslyn | src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceService.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceService.cs | ghcode:00002:81bbf36acc05 | apache-2.0 | codeparrot/github-code | 81bbf36acc0583bbc6b3017720f94fd3ee76b3fad5b264213daf932c53a3217a | 0.85 | testing_debugging_repair_refactoring | 5,625 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2007, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org/?p=license&r=2.4
// ****************************************************************
using Sy... | vimaier/conqat | org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitFramework/framework/ExplicitAttribute.cs | https://github.com/vimaier/conqat/blob/HEAD/org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitFramework/framework/ExplicitAttribute.cs | ghcode:00002:4aae4c22d5dc | apache-2.0 | codeparrot/github-code | 4aae4c22d5dc643925dafccb518f435729683c2a9f227a1fa7070d8c25091821 | 0.7 | testing_debugging_repair_refactoring | 289 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="XUnitResults.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licensed under the Apac... | blorgbeard/pickles | src/Pickles/Pickles/TestFrameworks/XUnitResults.cs | https://github.com/blorgbeard/pickles/blob/HEAD/src/Pickles/Pickles/TestFrameworks/XUnitResults.cs | ghcode:00002:adb3e0b30154 | apache-2.0 | codeparrot/github-code | adb3e0b30154a8088ce85112d66661c9be2329c2adaa5c4e0c002707a7a77e75 | 0.7 | testing_debugging_repair_refactoring | 426 | false | 2026-07-17 |
using FluentAssertions;
using Xunit;
using System;
using System.Linq;
using DomainBus;
using DomainBus.Configuration;
using NSubstitute;
namespace Tests.Configuration
{
public class MyHandler
{
public void Handle(MyEvent ev)
{
}
}
public class Integration_with_... | DomainBus/DomainBus | src/Tests/Configuration/Integration_with_container.cs | https://github.com/DomainBus/DomainBus/blob/HEAD/src/Tests/Configuration/Integration_with_container.cs | ghcode:00002:b0124fbfcb17 | apache-2.0 | codeparrot/github-code | b0124fbfcb17d6d01eb95a9fbe6db7ab8cfdd8da8b0b798aa0472abe748e837e | 0.85 | testing_debugging_repair_refactoring | 238 | 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 requi... | vladen/SolrNet | SolrNet.Tests/CollapseResponseParserTests.cs | https://github.com/vladen/SolrNet/blob/HEAD/SolrNet.Tests/CollapseResponseParserTests.cs | ghcode:00002:9bae354c25f7 | apache-2.0 | codeparrot/github-code | 9bae354c25f76541936479a6aca14de7c4dd707bf081d8caa7f0fae2c16080b2 | 0.85 | testing_debugging_repair_refactoring | 532 | 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 Microsoft.CodeAnalysis.CodeGen;
using Mic... | aelij/roslyn | src/Compilers/CSharp/Portable/CodeGen/EmitExpression.cs | https://github.com/aelij/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/CodeGen/EmitExpression.cs | ghcode:00002:9a4b673f4386 | apache-2.0 | codeparrot/github-code | 9a4b673f43861bd101ba5b9897f9b9029a6d485c6b0b06d2d885395d6daa6074 | 0.72 | testing_debugging_repair_refactoring | 25,973 | 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... | CurtHagenlocher/ParquetSharp | ParquetHadoop/test/Hadoop/TestParquetWriterAppendBlocks.cs | https://github.com/CurtHagenlocher/ParquetSharp/blob/HEAD/ParquetHadoop/test/Hadoop/TestParquetWriterAppendBlocks.cs | ghcode:00002:7930f18bded5 | apache-2.0 | codeparrot/github-code | 7930f18bded53fa800f190958e94b2025e228e2f233eff0d70e7053c7bc3eaaa | 0.95 | testing_debugging_repair_refactoring | 2,193 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace WebAssembly.Instructions;
/// <summary>
/// Tests the <see cref="Int64NotEqual"/> instruction.
/// </summary>
[TestClass]
public class Int64NotEqualTests
{
/// <summary>
/// Tests compilation and execution of the <see cref="Int64NotEqual"/> instru... | RyanLamansky/dotnet-webassembly | WebAssembly.Tests/Instructions/Int64NotEqualTests.cs | https://github.com/RyanLamansky/dotnet-webassembly/blob/HEAD/WebAssembly.Tests/Instructions/Int64NotEqualTests.cs | ghcode:00002:f5c04e8c43ad | apache-2.0 | codeparrot/github-code | f5c04e8c43add2aa96033bb0f5428f5402b07661f9af31ebb60eadba34c84a46 | 0.85 | testing_debugging_repair_refactoring | 215 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using NUnit.Framework;
using Rhino.Mocks;
using StructureMap.Building;
using StructureMap.Pipeline;
namespace StructureMap.Testing
{
[TestFixture]
public class SessionCacheTester
{
private IBuildSession theResolver;
private SessionCache ... | HenrikDK/structuremap | src/StructureMap.Testing/SessionCacheTester.cs | https://github.com/HenrikDK/structuremap/blob/HEAD/src/StructureMap.Testing/SessionCacheTester.cs | ghcode:00002:16f61b4e2bbf | apache-2.0 | codeparrot/github-code | 16f61b4e2bbfe529cf76420d9b6c66b6ddb36645d85835e8b1a5f54c55a33841 | 0.6 | testing_debugging_repair_refactoring | 1,599 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.Mget10
{
public partial class Mget10YamlTests
{
[NCrunch.Framework.ExclusivelyUses("ElasticsearchYamlTests")]
public class RealtimeRefresh1Tests : YamlTestsBase
{
[Test]... | Grastveit/NEST | src/Tests/Elasticsearch.Net.Integration.Yaml/mget/60_realtime_refresh.yaml.cs | https://github.com/Grastveit/NEST/blob/HEAD/src/Tests/Elasticsearch.Net.Integration.Yaml/mget/60_realtime_refresh.yaml.cs | ghcode:00002:7562706a0df3 | apache-2.0 | codeparrot/github-code | 7562706a0df30241986ae31056c8d836347db359e254f46899cb18a1de2bf8e1 | 0.95 | testing_debugging_repair_refactoring | 538 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Itinero.Optimization.Models;
using Itinero.Optimization.Models.Mapping;
using Itinero.Optimization.Models.Mapping.Default;
using Itinero.Optimization.Models.TimeWindows;
using Itinero.Optimization.Models.Vehicles;
using Itinero.Optimization.Models.Vehicles.Cons... | itinero/optimization | test/Itinero.Optimization.Tests/OptimizerResultExtensionsTests.cs | https://github.com/itinero/optimization/blob/HEAD/test/Itinero.Optimization.Tests/OptimizerResultExtensionsTests.cs | ghcode:00002:2bad013b3209 | apache-2.0 | codeparrot/github-code | 2bad013b3209f8ef92c2dc3fb37416341674759dff7c65ce57379add6cf10c3e | 0.85 | testing_debugging_repair_refactoring | 1,040 | false | 2026-07-17 |
//
// MonoTests.System.Xml.XsdValidatingReaderTests.cs
//
// Author:
// Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
//
// (C)2003 Atsushi Enomoto
// (C)2005-2007 Novell, Inc.
//
using System;
using System.IO;
using System.Net;
using System.Xml;
using System.Xml.Schema;
using NUnit.Framework;
namespace MonoTests.System.Xml... | matthid/Yaaf.Xmpp.Runtime | src/source/System.XML/Test/System.Xml/XsdValidatingReaderTests.cs | https://github.com/matthid/Yaaf.Xmpp.Runtime/blob/HEAD/src/source/System.XML/Test/System.Xml/XsdValidatingReaderTests.cs | ghcode:00002:a1818a68dd72 | apache-2.0 | codeparrot/github-code | a1818a68dd722432abcab89deece7ae009bac56895ae661f06576135903fb10a | 0.95 | testing_debugging_repair_refactoring | 5,659 | false | 2026-07-17 |
using FluentNHibernate.Conventions.AcceptanceCriteria;
using FluentNHibernate.Conventions.Inspections;
using FluentNHibernate.MappingModel;
using NUnit.Framework;
namespace FluentNHibernate.Testing.ConventionsTests.AcceptanceCriteria
{
[TestFixture]
public class PropertyAcceptanceCriteriaEqualSimpleTyp... | MiguelMadero/fluent-nhibernate | src/FluentNHibernate.Testing/ConventionsTests/AcceptanceCriteria/PropertyAcceptanceCriteriaEqualSimpleTypeEvalTests.cs | https://github.com/MiguelMadero/fluent-nhibernate/blob/HEAD/src/FluentNHibernate.Testing/ConventionsTests/AcceptanceCriteria/PropertyAcceptanceCriteriaEqualSimpleTypeEvalTests.cs | ghcode:00002:d431d88d22fe | bsd-3-clause | codeparrot/github-code | d431d88d22fe4c08dbae5ce943e2f2517c15f87d0d68dd2527c798f965600987 | 0.75 | testing_debugging_repair_refactoring | 440 | false | 2026-07-17 |
using System;
using System.IO;
using NUnit.Framework;
using RestFiles.ServiceModel;
using ServiceStack;
/* For syntax highlighting and better readability of this file, view it on GitHub:
* https://github.com/ServiceStack/ServiceStack.Examples/blob/master/src/RestFiles/RestFiles.Tests/SyncRestClientTests.cs
*/
names... | ServiceStack/ServiceStack.Examples | src/RestFiles/RestFiles.Tests/SyncRestClientTests.cs | https://github.com/ServiceStack/ServiceStack.Examples/blob/HEAD/src/RestFiles/RestFiles.Tests/SyncRestClientTests.cs | ghcode:00002:d14ab2bc3f2a | bsd-3-clause | codeparrot/github-code | d14ab2bc3f2abe4b0a7c5072275f89a3b30a5bc5f4b6dfde1cd642a80d3a6762 | 0.85 | testing_debugging_repair_refactoring | 1,779 | false | 2026-07-17 |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using Mosa.Compiler.Framework;
using System;
using System.Diagnostics;
namespace Mosa.Platform.x86.Instructions
{
/// <summary>
/// Representations the x86 cmp instruction.
/// </summary>
public sealed class Cmp : X86Instruction
{
#region Data... | kiootic/MOSA-Project | Source/Mosa.Platform.x86/Instructions/Cmp.cs | https://github.com/kiootic/MOSA-Project/blob/HEAD/Source/Mosa.Platform.x86/Instructions/Cmp.cs | ghcode:00002:f4129718e39b | bsd-3-clause | codeparrot/github-code | f4129718e39b83eba7e8d888c95d7501ae584208c9eff84dcc8533918177b21a | 0.7 | testing_debugging_repair_refactoring | 932 | false | 2026-07-17 |
using System.Diagnostics.Contracts;
class A
{
public void InTry(string s)
{
try
{
{
Contract.Requires(s != null);
}
}
catch(System.Exception e)
{
{
Contract.Requires(false);
}
}
finally
{
{
Contract.Requires(false);
}
... | Diagonactic/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/test/data/Daemon/PreconditionAnalyzers/MalformedContractStatements/WarningForTryCatchFinally.cs | https://github.com/Diagonactic/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/test/data/Daemon/PreconditionAnalyzers/MalformedContractStatements/WarningForTryCatchFinally.cs | ghcode:00002:ac59fc0b0b04 | mit | codeparrot/github-code | ac59fc0b0b04acba594a19755ae4dd7207e0afc4922fc12cb7dc32afd489e77f | 0.85 | testing_debugging_repair_refactoring | 226 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core.Cr... | brjohnstmsft/azure-sdk-for-net | sdk/storage/Azure.Storage.Blobs/tests/ClientSideEncryptionTests.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/storage/Azure.Storage.Blobs/tests/ClientSideEncryptionTests.cs | ghcode:00002:6f7dc24bff82 | mit | codeparrot/github-code | 6f7dc24bff827e30eaf4086de545b7e89684f59a0f6aeefbc2f41c8e322bbf94 | 0.95 | testing_debugging_repair_refactoring | 6,871 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Azure.Core.TestFramework;
using NUnit.Framework;
using Azure.Data.Tables.Tests;
using System.Threading.Tasks;
namespace Azure.Data.Tables.Samples
{
public partial class TablesSamples : TablesTestEnv... | Azure/azure-sdk-for-net | sdk/tables/Azure.Data.Tables/tests/samples/Sample5_UpdateUpsertEntitiesAsync.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/tables/Azure.Data.Tables/tests/samples/Sample5_UpdateUpsertEntitiesAsync.cs | ghcode:00002:d351b7d11b9b | mit | codeparrot/github-code | d351b7d11b9b7e7f9098747e81dbbc6bf1cdfbfac9f7b41a02da11b5d3f1823a | 0.95 | testing_debugging_repair_refactoring | 552 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.