text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnaly... | jkotas/roslyn | src/Compilers/CSharp/Portable/Operations/CSharpOperationFactory_Methods.cs | https://github.com/jkotas/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Operations/CSharpOperationFactory_Methods.cs | ghcode:00001:d23e2f2721f3 | apache-2.0 | codeparrot/github-code | d23e2f2721f3d7d8d696157f2efc2f79e3ee6858a3835d52e6a5fe5c2adeddb1 | 0.7 | testing_debugging_repair_refactoring | 2,425 | 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.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Synt... | jbhensley/roslyn | src/Workspaces/CSharp/Portable/Extensions/SyntaxNodeExtensions.cs | https://github.com/jbhensley/roslyn/blob/HEAD/src/Workspaces/CSharp/Portable/Extensions/SyntaxNodeExtensions.cs | ghcode:00001:ba35390f2310 | apache-2.0 | codeparrot/github-code | ba35390f2310311e24368fa15bff8b01026dd2a0d1f57d717f1c9628bd7aadd4 | 0.7 | testing_debugging_repair_refactoring | 9,368 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | amarzavery/azure-powershell | src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureRemoteDesktopCommandTest.cs | https://github.com/amarzavery/azure-powershell/blob/HEAD/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureRemoteDesktopCommandTest.cs | ghcode:00001:5617431b050e | apache-2.0 | codeparrot/github-code | 5617431b050e7a9351f96a3f50eafea3477aeb5a7442a72fd1b9f584362b8a87 | 0.7 | testing_debugging_repair_refactoring | 2,629 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | brjohnstmsft/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Serialization/DateTimeZoneHandlingTests.cs | https://github.com/brjohnstmsft/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Serialization/DateTimeZoneHandlingTests.cs | ghcode:00001:2771b004bc12 | mit | codeparrot/github-code | 2771b004bc12193227e4e47b667c8144a01d525324ce74fde6ad27018db8935a | 0.85 | testing_debugging_repair_refactoring | 786 | false | 2026-07-17 |
/*
Copyright 2012 Michael Edwards
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... | esmeraldi/Glass.Mapper | Tests/Unit Tests/Glass.Mapper.Umb.Tests/Configuration/Attributes/UmbracoPropertyAttributeFixture.cs | https://github.com/esmeraldi/Glass.Mapper/blob/HEAD/Tests/Unit Tests/Glass.Mapper.Umb.Tests/Configuration/Attributes/UmbracoPropertyAttributeFixture.cs | ghcode:00001:4ef3f72d5b72 | apache-2.0 | codeparrot/github-code | 4ef3f72d5b72a97bd4a7d74ba39b3df1ee65f5b0cb0576f8afdb93cf6e20fcef | 0.7 | testing_debugging_repair_refactoring | 2,089 | false | 2026-07-17 |
namespace Nancy.Tests.Unit
{
using Xunit;
public class HttpLinkBuilderFixture
{
[Fact]
public void Add_existing_relation_in_different_types_should_add_all()
{
// Given
var linkBuilder = new HttpLinkBuilder();
// When
linkBuilder.Add(n... | JoeStead/Nancy | test/Nancy.Tests/Unit/HttpLinkBuilderFixture.cs | https://github.com/JoeStead/Nancy/blob/HEAD/test/Nancy.Tests/Unit/HttpLinkBuilderFixture.cs | ghcode:00001:ecd570811e06 | mit | codeparrot/github-code | ecd570811e06b2afd13e8e3cde72eb6634aa2fa43214586305d19577bee92bbc | 0.7 | testing_debugging_repair_refactoring | 439 | 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;
namespace System.Collections.Specialized
{
///... | shimingsg/corefx | src/System.ObjectModel/src/System/Collections/Specialized/NotifyCollectionChangedEventArgs.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.ObjectModel/src/System/Collections/Specialized/NotifyCollectionChangedEventArgs.cs | ghcode:00001:8f2349a932b0 | mit | codeparrot/github-code | 8f2349a932b0885f07742e93e3cce434acceaa8850fa8121992a2ebf16aff272 | 0.95 | testing_debugging_repair_refactoring | 3,447 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Dynam... | shimingsg/corefx | src/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/StackSpiller.ChildRewriter.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/StackSpiller.ChildRewriter.cs | ghcode:00001:9fc0e382eaf0 | mit | codeparrot/github-code | 9fc0e382eaf07d4e78d585ac5f77187ff3054adc0918a11bb3db307c3fdac503 | 0.95 | testing_debugging_repair_refactoring | 3,674 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Umbraco.Core.Sync;
using umbraco.presentation.webservices;
namespace Umbraco.Tests.Cache
{
[TestFixture]
public class CacheRefresherTests
{
[TestCase("", "123456", "testmachine", true)] //empty hash will continue
[TestCase("fffffff28449cf33", "1234... | Nicholas-Westby/Umbraco-CMS | src/Umbraco.Tests/Cache/CacheRefresherTests.cs | https://github.com/Nicholas-Westby/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Cache/CacheRefresherTests.cs | ghcode:00001:d567ca6160dd | mit | codeparrot/github-code | d567ca6160dde3afb52c5c3d5bab9a3463fbc43d1d0f29ddfc3367bd302dc615 | 0.85 | testing_debugging_repair_refactoring | 327 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Umbraco.Core;
namespace Umbraco.Tests
{
[TestFixture]
public class AttemptTests
{
[Test]
public void Chained_Attempts()
{
Attempt.Try(Attempt.Succeed("success!"),
s => Assert.AreEqual("success!", s)... | Nicholas-Westby/Umbraco-CMS | src/Umbraco.Tests/AttemptTests.cs | https://github.com/Nicholas-Westby/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/AttemptTests.cs | ghcode:00001:f3685e2f1309 | mit | codeparrot/github-code | f3685e2f1309aedb48c534395985ee75eeba10452e60162870be35178c5a301e | 0.85 | testing_debugging_repair_refactoring | 324 | 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... | MihaMarkic/roslyn-prank | src/Compilers/CSharp/Portable/Symbols/Retargeting/RetargetingSymbolTranslator.cs | https://github.com/MihaMarkic/roslyn-prank/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Retargeting/RetargetingSymbolTranslator.cs | ghcode:00001:82596ef0693f | apache-2.0 | codeparrot/github-code | 82596ef0693f4f8c01626c59471d69b005f00ba021821c1d487419bdc74efdd2 | 0.7 | testing_debugging_repair_refactoring | 9,612 | false | 2026-07-17 |
using Microsoft.Azure.Management.BackupServices.Models;
using Microsoft.Azure.Management.BackupServices;
using Microsoft.Azure.Test;
using System.Net;
using Xunit;
using System.Configuration;
using System;
namespace BackupServices.Tests
{
public class JobsTests : BackupServicesTestsBase
{
[Fact]
... | AuxMon/azure-sdk-for-net | src/ResourceManagement/AzureBackup/BackupServices.Tests/ScenarioTests/JobsTests.cs | https://github.com/AuxMon/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/AzureBackup/BackupServices.Tests/ScenarioTests/JobsTests.cs | ghcode:00001:50c1ec7ca307 | apache-2.0 | codeparrot/github-code | 50c1ec7ca30721c59c4b7b85018e2d779d4d5d3ba707a24dd4414fda4c2ef29d | 0.75 | testing_debugging_repair_refactoring | 1,377 | false | 2026-07-17 |
using Abp.Dependency;
using Shouldly;
using Xunit;
namespace Abp.Tests.Dependency
{
public class DisposableDependencyObjectWrapper_Tests : TestBaseWithLocalIocManager
{
[Fact]
public void ResolveAsDisposable_Should_Work()
{
LocalIocManager.Register<SimpleDisposableObject>(D... | Tobyee/aspnetboilerplate | test/Abp.Tests/Dependency/DisposableDependencyObjectWrapper_Tests.cs | https://github.com/Tobyee/aspnetboilerplate/blob/HEAD/test/Abp.Tests/Dependency/DisposableDependencyObjectWrapper_Tests.cs | ghcode:00001:035a0ce3bb7d | mit | codeparrot/github-code | 035a0ce3bb7db66ce20affdb201547a63a11c010566f67d0470a0f0d66295e09 | 0.75 | testing_debugging_repair_refactoring | 264 | 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;
namespace System.Tests
{
public class ConvertToSingleTests : ConvertTestBase<Single>
{
... | iamjasonp/corefx | src/System.Runtime.Extensions/tests/System/Convert.ToSingle.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Runtime.Extensions/tests/System/Convert.ToSingle.cs | ghcode:00001:ed7eb488d832 | mit | codeparrot/github-code | ed7eb488d832259fee62bc98862b7561f5dfbde2a3f4ed82fbaec430f5b1bf4a | 0.95 | testing_debugging_repair_refactoring | 1,196 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Provisioning.Common;
using Microsoft.SharePoint.Client;
using Provisioning.Common.Configuration;
using Provisioning.Common.Data;
using Provisioning.Common.Data.SiteRequests;
namespace ProvisioningTests._3_Data
{
[TestClass]
public class... | spdavid/PnP | Solutions/Provisioning.UX.App/ProvisioningTests/3_Data/SiteRequestFactoryTests.cs | https://github.com/spdavid/PnP/blob/HEAD/Solutions/Provisioning.UX.App/ProvisioningTests/3_Data/SiteRequestFactoryTests.cs | ghcode:00001:18285c2d9538 | apache-2.0 | codeparrot/github-code | 18285c2d9538ce7a63192aa956d99c6439f71644c2c0a9f31f380a12b8f32c8c | 0.75 | testing_debugging_repair_refactoring | 479 | false | 2026-07-17 |
using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Piccolo.Configuration;
using Piccolo.Events;
using Shouldly;
namespace Piccolo.Tests.Configuration
{
public class EventHandlerScannerTests
{
[TestFixture]
public class when_searching_for_handlers... | samsalisbury/Piccolo | Piccolo.Tests/Configuration/EventHandlerScannerTests.cs | https://github.com/samsalisbury/Piccolo/blob/HEAD/Piccolo.Tests/Configuration/EventHandlerScannerTests.cs | ghcode:00001:dee1801980a8 | mit | codeparrot/github-code | dee1801980a8da33ea4795b8cd9fe01489b4cf942338ea2e92d65f6b032ea6a1 | 0.75 | testing_debugging_repair_refactoring | 321 | false | 2026-07-17 |
namespace Evelyn.Core.Tests.WriteModel.Evelyn.StartSystem
{
using System;
using System.Linq;
using Core.WriteModel.Evelyn.Commands.StartSystem;
using Core.WriteModel.Evelyn.Domain;
using CQRSlite.Domain.Exception;
using FluentAssertions;
using TestStack.BDDfy;
using Xunit;
using Evel... | binarymash/evelyn | src/Evelyn.Core.Tests/WriteModel/Evelyn/StartSystem/CommandSpecs.cs | https://github.com/binarymash/evelyn/blob/HEAD/src/Evelyn.Core.Tests/WriteModel/Evelyn/StartSystem/CommandSpecs.cs | ghcode:00001:49c8d047a08b | mit | codeparrot/github-code | 49c8d047a08bdb91cfa2b94f5bee2320031ae2a0010e4d62edf3d3b1e55c2b6e | 0.6 | testing_debugging_repair_refactoring | 456 | false | 2026-07-17 |
namespace Hash.Tests
{
using System.Collections.Generic;
using System.Linq;
using HashTableImplementation;
using NUnit.Framework;
[TestFixture]
public class HashTableTests
{
[Test]
public void ShouldCreateObjectInstanceWithRightDefaultParameters()
{
var... | Stev3nT/Telerik-Academy | 09. Data Structures and Algorithms/04. DictionariesHashTablesAndSets/Hash.Tests/HashTableTests.cs | https://github.com/Stev3nT/Telerik-Academy/blob/HEAD/09. Data Structures and Algorithms/04. DictionariesHashTablesAndSets/Hash.Tests/HashTableTests.cs | ghcode:00001:5c34527ab963 | mit | codeparrot/github-code | 5c34527ab963ea4b2140ddf3cf8d9cd61e3cce447d142b9403f9a22751ec0402 | 0.75 | testing_debugging_repair_refactoring | 673 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using SoundCloud.Api.Entities;
namespace SoundCloud.Api.IntegrationTest
{
[TestFixture]
public class CommentsTest : IntegrationTestBase
{
[Test]
public async Task Test_Comment_Get()
{
... | prayzzz/SoundCloud.Api | test/SoundCloud.Api.IntegrationTest/SoundCloudClientTest.Comments.cs | https://github.com/prayzzz/SoundCloud.Api/blob/HEAD/test/SoundCloud.Api.IntegrationTest/SoundCloudClientTest.Comments.cs | ghcode:00001:d964d2dc1f1e | mit | codeparrot/github-code | d964d2dc1f1ef0ddbab2d879a38a954f6c3e80c4babe4c4d2aeb1f7d6155e336 | 0.6 | testing_debugging_repair_refactoring | 321 | 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.CSharp9.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
using Microso... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1023CSharp9UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/SpacingRules/SA1023CSharp9UnitTests.cs | ghcode:00001:ce68f05b0684 | mit | codeparrot/github-code | ce68f05b06840d10dd3be1b85dca5a31ab40b7da289e3eaf1e10d2f758194c9c | 0.75 | testing_debugging_repair_refactoring | 746 | false | 2026-07-17 |
using System.Threading.Tasks;
using FluentAssertions;
using WeCantSpell.Roslyn.Tests.Utilities;
using Xunit;
namespace WeCantSpell.Roslyn.Tests.Integration.CSharp.Parsing
{
public class EnumDeclarationSpellingTests : CSharpParsingTestBase
{
public static object[][] can_find_mistakes_in_enums_data => n... | aarondandy/we-cant-spell | WeCantSpell.Roslyn.Tests/Integration/CSharp/Parsing/EnumDeclarationSpellingTests.cs | https://github.com/aarondandy/we-cant-spell/blob/HEAD/WeCantSpell.Roslyn.Tests/Integration/CSharp/Parsing/EnumDeclarationSpellingTests.cs | ghcode:00001:384f197b2a3f | mit | codeparrot/github-code | 384f197b2a3f9e2dbb9555c1f0721787dd36896f8d0a54f76eeef3bcdb995c4a | 0.75 | testing_debugging_repair_refactoring | 298 | false | 2026-07-17 |
using System;
using System.Windows;
using FluentAssertions;
using Metrolib.Controls.Charts.Network.Algorithms;
using Moq;
using NUnit.Framework;
namespace Metrolib.Test.Charts.Network.Algorithms
{
[TestFixture]
public sealed class ForceDirectedLayoutAlgorithmTest
{
[SetUp]
public void Setup()
{
_layout = ... | Kittyfisto/Metrolib | Metrolib.Test/Charts/Network/Algorithms/ForceDirectedLayoutAlgorithmTest.cs | https://github.com/Kittyfisto/Metrolib/blob/HEAD/Metrolib.Test/Charts/Network/Algorithms/ForceDirectedLayoutAlgorithmTest.cs | ghcode:00001:a6923634a9cf | mit | codeparrot/github-code | a6923634a9cf85281e6cf6534139ddf860dc125fd522146d7462a15c910fb705 | 0.6 | testing_debugging_repair_refactoring | 354 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Simple.OData.Client.Tests
{
#if ODATA_V3
// Not supported by OData V2
//public class MediaODataTestsV2Atom : MediaODataTests
//{
// public MediaODataTestsV2Atom()... | FundsLibrary/Simple.OData.Client | Simple.OData.Client.IntegrationTests/MediaODataTests.cs | https://github.com/FundsLibrary/Simple.OData.Client/blob/HEAD/Simple.OData.Client.IntegrationTests/MediaODataTests.cs | ghcode:00001:30905c0efdce | mit | codeparrot/github-code | 30905c0efdce98713f4383f1ad94da9e038a1ee32a663dc1c8871bd86e850e2b | 0.85 | testing_debugging_repair_refactoring | 1,093 | false | 2026-07-17 |
// This file was auto-generated based on version 1.1.0 of the canonical data.
using Xunit;
public class ZebraPuzzleTest
{
[Fact]
public void Resident_who_drinks_water()
{
Assert.Equal(Nationality.Norwegian, ZebraPuzzle.DrinksWater());
}
[Fact(Skip = "Remove to run test")]
public void ... | ErikSchierboom/xcsharp | exercises/zebra-puzzle/ZebraPuzzleTest.cs | https://github.com/ErikSchierboom/xcsharp/blob/HEAD/exercises/zebra-puzzle/ZebraPuzzleTest.cs | ghcode:00001:d1d185e92957 | mit | codeparrot/github-code | d1d185e92957b204123427449d4a00a70b75e44b012ef21f4f0c67a23df8bd11 | 0.6 | testing_debugging_repair_refactoring | 117 | false | 2026-07-17 |
using System;
using Xunit;
namespace DlibDotNet.Tests.ImageTransforms
{
public class FHogTest : TestBase
{
private const string LoadTarget = "Lenna_mini";
#region ExtractFHogFeatures
[Fact]
public void ExtractFHogFeatures()
{
const string testName = name... | takuya-takeuchi/DlibDotNet | test/DlibDotNet.Tests/ImageTransforms/FHogTest.cs | https://github.com/takuya-takeuchi/DlibDotNet/blob/HEAD/test/DlibDotNet.Tests/ImageTransforms/FHogTest.cs | ghcode:00001:9abb766b13aa | mit | codeparrot/github-code | 9abb766b13aa58f811dde6f81f786118a90a55c232a489d04746583db7bdcbf0 | 0.6 | testing_debugging_repair_refactoring | 2,223 | false | 2026-07-17 |
namespace NServiceBus.AcceptanceTests.Tx
{
using System;
using System.Transactions;
using NServiceBus.AcceptanceTesting;
using NServiceBus.AcceptanceTests.EndpointTemplates;
using NServiceBus.AcceptanceTests.ScenarioDescriptors;
using NUnit.Framework;
public class Issue_2481 : NSe... | s4lvo/NServiceBus.MongoDB | src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.5.2.5/Tx/Issue_2481.cs | https://github.com/s4lvo/NServiceBus.MongoDB/blob/HEAD/src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.5.2.5/Tx/Issue_2481.cs | ghcode:00001:3e311f6b384f | mit | codeparrot/github-code | 3e311f6b384f2d3fc04e73e1b994d09300c44a567a8d951b19493e21f842f06c | 0.6 | testing_debugging_repair_refactoring | 360 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FinancialControl.Business.Reports;
using FinancialControl.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FinancialControl.Business.Reports.Tests
{
[TestClass]
public class AccountsTotalizationsReportTest
{
[TestMethod]
publ... | brheringer/FinancialControl | Business/Tests/Reports/AccountsTotalizationsReportTest.cs | https://github.com/brheringer/FinancialControl/blob/HEAD/Business/Tests/Reports/AccountsTotalizationsReportTest.cs | ghcode:00001:58be06bfcc39 | mit | codeparrot/github-code | 58be06bfcc3955496a30466c231f0356b97207fe306b41146aa69db30f25a3e5 | 0.85 | testing_debugging_repair_refactoring | 1,215 | false | 2026-07-17 |
// The MIT License
//
// Copyright (c) 2017 TruRating Ltd. https://www.trurating.com
//
// 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 ... | TruRating/trumodule-core-csharp-framework | TruRating.TruModule.Tests.Unit/Network/HttpHelpers.cs | https://github.com/TruRating/trumodule-core-csharp-framework/blob/HEAD/TruRating.TruModule.Tests.Unit/Network/HttpHelpers.cs | ghcode:00001:7fe20d8287d2 | mit | codeparrot/github-code | 7fe20d8287d269e8bd6aa8a8da1132889963cef423e9da979b2c35d8a5704c2a | 0.85 | testing_debugging_repair_refactoring | 587 | false | 2026-07-17 |
using System;
using DBlog.Data;
using DBlog.Data.Hibernate.UnitTests;
using NUnit.Framework;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Criterion;
using System.Collections.Generic;
using System.Text;
namespace DBlog.Data.UnitTests
{
[TestFixture]
public class PostTest : NHibernateCru... | dblock/dblog | Data.UnitTests/Post.cs | https://github.com/dblock/dblog/blob/HEAD/Data.UnitTests/Post.cs | ghcode:00001:3afd3cc75c15 | mit | codeparrot/github-code | 3afd3cc75c155f1db099bb040615cc6de6c3737b94008761c5a0840a65690681 | 0.6 | testing_debugging_repair_refactoring | 211 | false | 2026-07-17 |
//
// DebuggerSessionTests.cs
//
// Author:
// Greg Munn <gregm@microsoft.com>
//
// Copyright (c) 2019 Microsoft
//
// 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 rest... | mono/debugger-libs | UnitTests/Mono.Debugging.Tests/Shared/DebuggerSessionTests.cs | https://github.com/mono/debugger-libs/blob/HEAD/UnitTests/Mono.Debugging.Tests/Shared/DebuggerSessionTests.cs | ghcode:00001:09a2cf56bc9f | mit | codeparrot/github-code | 09a2cf56bc9f791b4922f0bbbf3df5791d774db6d1b2dc0ef2908cc0eb26f679 | 0.85 | testing_debugging_repair_refactoring | 1,113 | false | 2026-07-17 |
using System.Threading.Tasks;
using AsyncGenerator.Configuration;
using AsyncGenerator.Core;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using NUnit.Framework;
namespace AsyncGenerator.Tests.NullableReferences
{
[TestFixture]
public class Fixture : BaseFixture
{
[Test]
public async Task ... | maca88/AsyncGenerator | Source/AsyncGenerator.Tests/NullableReferences/Fixture.cs | https://github.com/maca88/AsyncGenerator/blob/HEAD/Source/AsyncGenerator.Tests/NullableReferences/Fixture.cs | ghcode:00001:712c18393c12 | mit | codeparrot/github-code | 712c18393c1257adb72611f691c53a2a3476da8722cf4a8d93a17ac4f5351da2 | 0.6 | testing_debugging_repair_refactoring | 275 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Mono.Cecil.Rocks;
using Mono.Collections.Generic;
using Spinner.Aspects;
using Spinner.Fody.Utilities;
using Ins = Mono.Cecil.Cil.Instruction;
// ReSharper disable UnusedMember.Lo... | Inverness/Spinner | Spinner.Fody/Weaving/AdviceWeavers/MethodBoundaryAdviceWeaver.cs | https://github.com/Inverness/Spinner/blob/HEAD/Spinner.Fody/Weaving/AdviceWeavers/MethodBoundaryAdviceWeaver.cs | ghcode:00001:2b4b93d99972 | mit | codeparrot/github-code | 2b4b93d99972c2d758181d8b65d17c02f17930e955ac3ffdfc6eeacada02b609 | 0.7 | testing_debugging_repair_refactoring | 10,120 | false | 2026-07-17 |
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Diagnostics;
using System.Globalization;
using System.IO.Csv.Resources;
namespace System.IO.Csv
{
/// <summary>Represents a reader that provides fast, non-cached, forward-only access to CSV data.<... | arronei/Ascension | System.IO.Csv/System.IO.Csv/CsvReader.cs | https://github.com/arronei/Ascension/blob/HEAD/System.IO.Csv/System.IO.Csv/CsvReader.cs | ghcode:00001:fbfff2527119 | mit | codeparrot/github-code | fbfff2527119c54e558cf94aeae08b4668a5c38812239e075d208c62be09da01 | 0.57 | testing_debugging_repair_refactoring | 15,959 | false | 2026-07-17 |
using System;
namespace Scythe.TestBoxing
{
public class TestClass
{
public void InvalidMethod(int number)
{
var bar = (object)number;
Console.WriteLine(bar);
for (var i = 0; i <= 100; i++)
{
var foo = (object) number;
... | kamil-mrzyglod/Scythe.Fody | Scythe.TestBoxing/TestClass.cs | https://github.com/kamil-mrzyglod/Scythe.Fody/blob/HEAD/Scythe.TestBoxing/TestClass.cs | ghcode:00001:6d25cd724103 | mit | codeparrot/github-code | 6d25cd724103dccea6b554005e6e1a485040b49c38dfc0eef68dcfac28d070ad | 0.75 | testing_debugging_repair_refactoring | 150 | false | 2026-07-17 |
/*
* SonarScanner for MSBuild
* Copyright (C) 2016-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 o... | SonarSource/sonar-msbuild-runner | Tests/SonarScanner.MSBuild.Shim.Tests/SonarProjectPropertiesValidatorTest.cs | https://github.com/SonarSource/sonar-msbuild-runner/blob/HEAD/Tests/SonarScanner.MSBuild.Shim.Tests/SonarProjectPropertiesValidatorTest.cs | ghcode:00001:b59976511931 | mit | codeparrot/github-code | b59976511931f678b7c001ec3b77d96fd245614b8c01bef40f255849f5b34fed | 0.6 | testing_debugging_repair_refactoring | 1,062 | false | 2026-07-17 |
//
// Copyright (c) 2008 Microsoft Corporation. All rights reserved.
//
using System;
using System.Text;
using System.IO;
using System.Xml;
using System.Net;
using System.Management.Automation;
using System.ComponentModel;
using System.Reflection;
using System.Globalization;
using System.Management.Automation.Runspa... | kmosher/PowerShell | src/Microsoft.PowerShell.Commands.Diagnostics/ExportCounterCommand.cs | https://github.com/kmosher/PowerShell/blob/HEAD/src/Microsoft.PowerShell.Commands.Diagnostics/ExportCounterCommand.cs | ghcode:00001:972dc7e87077 | mit | codeparrot/github-code | 972dc7e870772dc4eb88dd28367c8a245dba4cdcde902b3b193e5b1e8a464169 | 0.7 | testing_debugging_repair_refactoring | 2,463 | false | 2026-07-17 |
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// --------------------------------------------------------... | p-org/PSharp | Tools/Testing/Tester/Utilities/TesterCommandLineOptions.cs | https://github.com/p-org/PSharp/blob/HEAD/Tools/Testing/Tester/Utilities/TesterCommandLineOptions.cs | ghcode:00001:2bfc4430d210 | mit | codeparrot/github-code | 2bfc4430d210d4e396959e9c2fd0ee229679675be60582b5b89a1ff5e617cfc2 | 0.85 | testing_debugging_repair_refactoring | 4,290 | false | 2026-07-17 |
using System;
using System.Linq;
using Moq;
using Parquet.CLI.Models;
using Parquet.CLI.Models.Tabular;
using Parquet.CLI.Test.Helper;
using Parquet.CLI.Views.Tablular;
using Xunit;
namespace Parquet.CLI.Test
{
public class TableWriterColumnConstraintsTests
{
[Fact]
public void TableWriterColumnConst... | elastacloud/parquet-dotnet | src/Parquet.CLI.Test/TableWriterColumnConstrains.cs | https://github.com/elastacloud/parquet-dotnet/blob/HEAD/src/Parquet.CLI.Test/TableWriterColumnConstrains.cs | ghcode:00001:a16d20e7d2f3 | mit | codeparrot/github-code | a16d20e7d2f383d14f15c552967b17831e4c4ca8ae3f5e02263d85d0fb720e4d | 0.6 | testing_debugging_repair_refactoring | 1,813 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace GitHub.UI.Helpers.UnitTests
{
public partial class SharedDictionaryManagerIntegrationTests
{
public class TheSourceProperty
{
[TestCase(Urls.GitHub_UI_SharedDictionary_PackUrl)]
[TestCase(Urls.GitHub_VisualStudio_UI_SharedD... | github/VisualStudio | test/GitHub.UI.UnitTests/SharedDictionaryManagerIntegrationTests.cs | https://github.com/github/VisualStudio/blob/HEAD/test/GitHub.UI.UnitTests/SharedDictionaryManagerIntegrationTests.cs | ghcode:00001:20e2b8526da2 | mit | codeparrot/github-code | 20e2b8526da2c80fbe6c1cedae69dca654fc68a05d45819b7326faa4cc608ecd | 0.75 | testing_debugging_repair_refactoring | 542 | false | 2026-07-17 |
/*
* File: ConsoleViewModelTest.cs
*
* Author: Akira Sugiura (urasandesu@gmail.com)
*
*
* Copyright (c) 2016 Akira Sugiura
*
* This software is MIT License.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation ... | urasandesu/Prig | Test.Urasandesu.Prig.VSPackage/Shell/ConsoleViewModelTest.cs | https://github.com/urasandesu/Prig/blob/HEAD/Test.Urasandesu.Prig.VSPackage/Shell/ConsoleViewModelTest.cs | ghcode:00001:212d12bba72a | mit | codeparrot/github-code | 212d12bba72addac94c006a31f568c06b7685ed6e9c77dc99f22e550030fa6c0 | 0.7 | testing_debugging_repair_refactoring | 1,659 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using OneCache.AppFabric;
using Rhino.Mocks;
namespace OneCache.UnitTests.AppFabric
{
[TestFixture]
internal class OperationExecutorTests
{
[Test]
public void CanExecuteSucessfulAction()
{
const string expectedResult = "To Anonymous";
var testContext = new TestConte... | mmerayo/OneCache | Code/Product/OneCache.UnitTests/AppFabric/OperationExecutorTests.cs | https://github.com/mmerayo/OneCache/blob/HEAD/Code/Product/OneCache.UnitTests/AppFabric/OperationExecutorTests.cs | ghcode:00001:c87f898c3587 | mit | codeparrot/github-code | c87f898c3587c31e2f3d5570ff894554bb05a0d95be77801785fec8faa1ff99e | 0.75 | testing_debugging_repair_refactoring | 993 | false | 2026-07-17 |
namespace Nilgiri.Specs.Core.Asserters
{
using System;
using Xunit;
using Nilgiri.Core;
using Nilgiri.Tests.Common;
using Subject = Nilgiri.Core.Asserters.TruthyAsserter;
public class TruthyAsserter
{
public class Normal
{
private Subject _subject;
public Normal()
{
_su... | brycekbargar/Nilgiri | Nilgiri.Tests/Specs/Core/Asserters/TruthyAsserter.cs | https://github.com/brycekbargar/Nilgiri/blob/HEAD/Nilgiri.Tests/Specs/Core/Asserters/TruthyAsserter.cs | ghcode:00001:cd74de358732 | mit | codeparrot/github-code | cd74de358732c817441f81243b737e018f7169cc61bf9e102f44577b1cbd9b0f | 0.6 | testing_debugging_repair_refactoring | 1,267 | false | 2026-07-17 |
namespace Xbehave.Execution
{
using System;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using Xunit.Abstractions;
using Xunit.Sdk;
public class ScenarioOutlineTestCase : XunitTestCase
{
public ScenarioOutlineTestCase(
... | xbehave/xbehave.net | src/Xbehave.Execution/ScenarioOutlineTestCase.cs | https://github.com/xbehave/xbehave.net/blob/HEAD/src/Xbehave.Execution/ScenarioOutlineTestCase.cs | ghcode:00001:e6ceaa26f384 | mit | codeparrot/github-code | e6ceaa26f384bd698e38fc5007acf80b2379b7bfaea94db8f7199d4ac5b9add8 | 0.6 | testing_debugging_repair_refactoring | 231 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UAOOI.Networking.Simulator.Boiler.AddressSpace;
using UAOOI.Networking.Simulator.Boiler.Model;
using UAOOI.SemanticData.UANodeSetValidation.DataSerialization;
namespace UAOOI.Networking.Simulator.Boiler.UnitTest.Model
{
[TestClass]
public class AnalogItem... | mpostol/OPC-UA-OOI | Networking/Tests/Networking.Simulator.Boiler.Unit/Model/AnalogItemStateUnitTest.cs | https://github.com/mpostol/OPC-UA-OOI/blob/HEAD/Networking/Tests/Networking.Simulator.Boiler.Unit/Model/AnalogItemStateUnitTest.cs | ghcode:00001:593386e0d2f1 | mit | codeparrot/github-code | 593386e0d2f16616e3e7c0539e2e503dadade6cb319fd0c0aeec2a89d5391afc | 0.85 | testing_debugging_repair_refactoring | 285 | false | 2026-07-17 |
using System;
namespace dotnetsheff.Api.FunctionalTests.Tests.AlexaSkill
{
public class Event
{
public string Id { get; set; }
public string Name { get; set; }
public DateTime Time { get; set; }
public int YesRsvpCount { get; set; }
public string Link { get; set; }
... | dotnetsheff/dotnetsheff-api | tests/dotnetsheff.Api.FunctionalTests/Tests/AlexaSkill/Event.cs | https://github.com/dotnetsheff/dotnetsheff-api/blob/HEAD/tests/dotnetsheff.Api.FunctionalTests/Tests/AlexaSkill/Event.cs | ghcode:00001:a6ce46c6a1e1 | mit | codeparrot/github-code | a6ce46c6a1e17bd1dad567e0ef583ef8168e04dc71e2d4d24b10cc45aeddcef7 | 0.85 | testing_debugging_repair_refactoring | 82 | false | 2026-07-17 |
using System;
using ClrSpy.HeapAnalysis;
using NUnit.Framework;
namespace ClrSpy.UnitTests.HeapAnalysis
{
[TestFixture]
public class StructuredTypeFactoryTests
{
[TestCase("System.Collections.ArrayList")]
[TestCase("System.Collections.Generic.List<System.String>")]
[Test... | alex-davidson/clrspy | ClrSpy.UnitTests/HeapAnalysis/StructuredTypeFactoryTests.cs | https://github.com/alex-davidson/clrspy/blob/HEAD/ClrSpy.UnitTests/HeapAnalysis/StructuredTypeFactoryTests.cs | ghcode:00001:0db6ef8adad2 | unlicense | codeparrot/github-code | 0db6ef8adad2a2cf377865f938b337450eb13b3a0654f6672aba9b6041700dc9 | 0.68 | testing_debugging_repair_refactoring | 729 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Virtlink.Vfs
{
partial class IFilenameParserTests
{
/// <summary>
/// Tests the <see cref="IFilenameParser.Build"/> method.
/// </summary>
public abstract class BuildTests : IFilenameParserTests
{
[Test]
public void BuildsAbsolutePathToFile()
{
/... | Virtlink/vfs | test/Virtlink.Vfs.IntegrationTests/IFilenameParserTests.BuildTests.cs | https://github.com/Virtlink/vfs/blob/HEAD/test/Virtlink.Vfs.IntegrationTests/IFilenameParserTests.BuildTests.cs | ghcode:00001:de4348b9527e | apache-2.0 | codeparrot/github-code | de4348b9527e520d3f0397e105fd30c49503aea8498e6c2dabe28c45f3ec1ba9 | 0.85 | testing_debugging_repair_refactoring | 909 | false | 2026-07-17 |
namespace ZeroMQ.AcceptanceTests.SocketSpecs
{
using System;
using Machine.Specifications;
using ZeroMQ.Sockets;
[Subject("Socket options")]
class when_setting_the_affinity_socket_option : using_req_socket
{
Because of = () =>
exception = Catch.Exception(() =>... | jgoz/netzmq | src/tests/ZeroMQ.AcceptanceTests/SocketSpecs/SocketOptions.cs | https://github.com/jgoz/netzmq/blob/HEAD/src/tests/ZeroMQ.AcceptanceTests/SocketSpecs/SocketOptions.cs | ghcode:00001:4cfdb94a54bb | apache-2.0 | codeparrot/github-code | 4cfdb94a54bbb9f25f0bce9435874c469c1abd695273dfd45986d4a8a9526121 | 0.85 | testing_debugging_repair_refactoring | 1,498 | 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;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing.Patterns;
using Microsoft.AspNetCore.Routing.Te... | aspnet/AspNetCore | src/Http/Routing/test/UnitTests/Tree/LinkGenerationDecisionTreeTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Http/Routing/test/UnitTests/Tree/LinkGenerationDecisionTreeTest.cs | ghcode:00001:6da9705f7e99 | apache-2.0 | codeparrot/github-code | 6da9705f7e99daa7c5648d6841764e105482bbdb7dfba341ef15904a102502b6 | 0.95 | testing_debugging_repair_refactoring | 5,963 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Razor.Language;
using RazorLight.Generation;
using RazorLight.Razor;
using Xunit;
namespace RazorLight.Tests.Generation
{
public class RazorSourceGeneratorTest
{
private RazorSourceGenerator... | toddams/RazorLight | tests/RazorLight.Tests/Generation/RazorSourceGeneratorTest.cs | https://github.com/toddams/RazorLight/blob/HEAD/tests/RazorLight.Tests/Generation/RazorSourceGeneratorTest.cs | ghcode:00001:bf52d45563cd | apache-2.0 | codeparrot/github-code | bf52d45563cde03c44d051400678882b120ffd74482dfedaf85d1842e14d7811 | 0.7 | testing_debugging_repair_refactoring | 1,342 | false | 2026-07-17 |
using Lucene.Net.Attributes;
using Lucene.Net.Cli.CommandLine;
using NUnit.Framework;
using System.Collections.Generic;
namespace Lucene.Net.Cli.Commands
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
... | laimis/lucenenet | src/dotnet/tools/Lucene.Net.Tests.Cli/Commands/Index/IndexListSegmentsCommandTest.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/dotnet/tools/Lucene.Net.Tests.Cli/Commands/Index/IndexListSegmentsCommandTest.cs | ghcode:00001:5cc2e3cfa860 | apache-2.0 | codeparrot/github-code | 5cc2e3cfa8609382a012d0e4a0f5c4d0a40176207d8e58ea67abca7cd2c6f783 | 0.85 | testing_debugging_repair_refactoring | 530 | false | 2026-07-17 |
// Copyright(c) 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wr... | GoogleCloudPlatform/dotnet-docs-samples | bigquery/api/Snippets/Test.cs | https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/HEAD/bigquery/api/Snippets/Test.cs | ghcode:00001:bf69ab525bd4 | apache-2.0 | codeparrot/github-code | bf69ab525bd4914cfdaedcc45b2d45214acde250ba18f27a1894ded670dd291c | 0.85 | testing_debugging_repair_refactoring | 2,411 | false | 2026-07-17 |
namespace QarnotSDK.UnitTests
{
using System;
using NUnit.Framework;
using QarnotSDK;
[TestFixture]
public class AdvancedRangesTests
{
[Test]
public void AdvancedRangesWithOneValueShouldWork()
{
AdvancedRanges test = new AdvancedRanges("1");
uint ... | qarnot/qarnot-sdk-csharp | QarnotSDK.UnitTests/ToolsTests/Ranges/AdvancedRangesTests.cs | https://github.com/qarnot/qarnot-sdk-csharp/blob/HEAD/QarnotSDK.UnitTests/ToolsTests/Ranges/AdvancedRangesTests.cs | ghcode:00001:93782442b87e | apache-2.0 | codeparrot/github-code | 93782442b87e1af96999f1b99486d9b0cad258f483083afd9395e4776edf67fd | 0.75 | testing_debugging_repair_refactoring | 886 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Formatting;
using Microsoft.CodeAnalysis.CSharp.Syntax;
u... | kelltrick/roslyn | src/Workspaces/CSharpTest/Formatting/FormattingTests.cs | https://github.com/kelltrick/roslyn/blob/HEAD/src/Workspaces/CSharpTest/Formatting/FormattingTests.cs | ghcode:00001:005acd341c6c | apache-2.0 | codeparrot/github-code | 005acd341c6cf307f469ed11c58a2c99dc7775d26946ea8059345b180fb18826 | 0.65 | testing_debugging_repair_refactoring | 43,751 | false | 2026-07-17 |
namespace CloudFlare.NET.ZoneClientSpec
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using Machine.Specifications;
using Newtonsoft.Json.Linq;
using Ploeh.AutoFixture;
[Subject("ZoneClient")]
public class When_getting_zones : RequestCo... | JSkimming/CloudFlare.NET | src/Tests/CloudFlare.NET.Tests/ZoneClientSpec.cs | https://github.com/JSkimming/CloudFlare.NET/blob/HEAD/src/Tests/CloudFlare.NET.Tests/ZoneClientSpec.cs | ghcode:00001:8dd9a5a29e5f | apache-2.0 | codeparrot/github-code | 8dd9a5a29e5faf937b91d008ea9827f9fdeae4140cae993fafdbd51568f03adc | 0.85 | testing_debugging_repair_refactoring | 2,038 | false | 2026-07-17 |
// <copyright file="FreightColumnAsserter.cs" company="Automate The Planet Ltd.">
// Copyright 2021 Automate The Planet Ltd.
// 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.apach... | angelovstanton/AutomateThePlanet | dotnet/WebAutomation-Series/AdvancedReuseTacticsGridControlsAutomatedTests/GridTestCases/FreightColumnAsserter.cs | https://github.com/angelovstanton/AutomateThePlanet/blob/HEAD/dotnet/WebAutomation-Series/AdvancedReuseTacticsGridControlsAutomatedTests/GridTestCases/FreightColumnAsserter.cs | ghcode:00001:e38546bf9ed0 | apache-2.0 | codeparrot/github-code | e38546bf9ed00488717481a6d305c578c112bb01ac36bec201565c293655156c | 0.7 | testing_debugging_repair_refactoring | 1,791 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Text;
using Sphereon.SDK.Blockchain.Easy.Client;
using Sphereon.SDK.Blockchain.Easy.Model;
namespace Sphereon.SDK.Blockchain.Easy.Test.Api
{
public abstract class AbstractTests
{
protected static string FixedAccessToken =
Environment.GetEnviron... | Sphereon-SDK/easy-blockchain-sdk | csharp-net45/src/Sphereon.SDK.Blockchain.Easy.Test/Api/AbstractTests.cs | https://github.com/Sphereon-SDK/easy-blockchain-sdk/blob/HEAD/csharp-net45/src/Sphereon.SDK.Blockchain.Easy.Test/Api/AbstractTests.cs | ghcode:00001:e71202c16d72 | apache-2.0 | codeparrot/github-code | e71202c16d72e64d36542056b0dd56832b62ea5eb9257728bd7e548110b5a24e | 0.85 | testing_debugging_repair_refactoring | 410 | 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.IO;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.TagHelpers;
using Microsoft.Ex... | aspnet/AspNetCore | src/Mvc/test/WebSites/HtmlGenerationWebSite/Startup.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/HtmlGenerationWebSite/Startup.cs | ghcode:00001:ca1803166660 | apache-2.0 | codeparrot/github-code | ca1803166660caa96c6d4c113e093b9c84774359d6d521ae0a44698c6a7b5e60 | 0.95 | testing_debugging_repair_refactoring | 442 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="PersistentDictionaryFixtureBase.cs" company="Rare Crowds Inc">
// Copyright 2012-2013 Rare Crowds, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complian... | chinnurtb/OpenAdStack | Common/CommonIntegrationTests/PersistentDictionaryFixtureBase.cs | https://github.com/chinnurtb/OpenAdStack/blob/HEAD/Common/CommonIntegrationTests/PersistentDictionaryFixtureBase.cs | ghcode:00001:d02275e2a78e | apache-2.0 | codeparrot/github-code | d02275e2a78e9d1e089e9e43ef0e5fc1379d88f8ed454038c889460519ec92ac | 0.7 | testing_debugging_repair_refactoring | 3,063 | false | 2026-07-17 |
#region Apache License Notice
// Copyright © 2014, Silverlake Software LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// ... | ProxyFoo/ProxyFoo | source/ProxyFoo.Tests/Functional/SafeProxyTests.cs | https://github.com/ProxyFoo/ProxyFoo/blob/HEAD/source/ProxyFoo.Tests/Functional/SafeProxyTests.cs | ghcode:00001:b8b92d8eaecd | apache-2.0 | codeparrot/github-code | b8b92d8eaecd5b6cd2d45403b7f25cafd134df78fadcbdb2cadd065b0cf590d0 | 0.85 | testing_debugging_repair_refactoring | 1,861 | 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 System.Threading;
using System.Threading.Tasks;
u... | paladique/roslyn | src/EditorFeatures/Test/CodeFixes/CodeFixServiceTests.cs | https://github.com/paladique/roslyn/blob/HEAD/src/EditorFeatures/Test/CodeFixes/CodeFixServiceTests.cs | ghcode:00001:858f71c8255a | apache-2.0 | codeparrot/github-code | 858f71c8255a30f59c66b63373f7063b59234681e169db56e77c58cf547df824 | 0.95 | testing_debugging_repair_refactoring | 2,234 | 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;
using System.Net;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespa... | aspnet/AspNetCore | src/Security/Authentication/Negotiate/test/testassets/Negotiate.Client/Controllers/AuthTestController.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Security/Authentication/Negotiate/test/testassets/Negotiate.Client/Controllers/AuthTestController.cs | ghcode:00001:010ce43e647a | apache-2.0 | codeparrot/github-code | 010ce43e647a3223273b0693b441cc15bb3d22cc2c76dddfd7de0864fc2a87d9 | 0.95 | testing_debugging_repair_refactoring | 2,865 | false | 2026-07-17 |
using Microsoft.Xna.Framework;
using NUnit.Framework;
namespace MonoGame.Tests.Framework
{
public class MathHelperTest
{
[Test]
public void ClampFloatTest()
{
Assert.True(MathHelper.Clamp(1f, 0f, 2f) == 1f, "Failed boundary test, clamp [0,2] on 1 should be 1");
... | jonathanpeppers/MonoGameOrientation | MonoGame/Test/Framework/MathHelperTest.cs | https://github.com/jonathanpeppers/MonoGameOrientation/blob/HEAD/MonoGame/Test/Framework/MathHelperTest.cs | ghcode:00001:da0606eb170f | apache-2.0 | codeparrot/github-code | da0606eb170f889c99b6b2876aeeddc43cad6a784bb8e722db549194891baaca | 0.85 | testing_debugging_repair_refactoring | 939 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Cassandra.IntegrationTests.TestBase;
namespace Cassandra.IntegrationTests.TestClusterManagement
{
/// <summary>
/// Test Helper class for keeping track of multiple CCM (Cassandra Cluster ... | oguimbal/csharp-driver | src/Cassandra.IntegrationTests/TestClusterManagement/TestClusterManager.cs | https://github.com/oguimbal/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/TestClusterManagement/TestClusterManager.cs | ghcode:00001:1cf8d225606b | apache-2.0 | codeparrot/github-code | 1cf8d225606bd7cb63b6a7903ecd5ce628b6267c8d0415f34f571f9fd0b26dcf | 0.85 | testing_debugging_repair_refactoring | 2,978 | false | 2026-07-17 |
using System;
using System.IO;
using System.Xml;
using System.Xml.Schema;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CDALibrary.Core.Tests
{
public static class Helper
{
public static bool ValidateCDA(string xm... | lantanagroup/CDALibrary | CDALibrary.Core.Tests/Helper.cs | https://github.com/lantanagroup/CDALibrary/blob/HEAD/CDALibrary.Core.Tests/Helper.cs | ghcode:00001:5a7607c42043 | apache-2.0 | codeparrot/github-code | 5a7607c42043569b4f87127f7d0fa482086b8ccedef4e18fa099cbe00a6fd423 | 0.6 | testing_debugging_repair_refactoring | 268 | 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.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.CodeAnalysis.Un... | mattwar/roslyn-analyzers | src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/UsePreferredTermsTests.Fixer.cs | https://github.com/mattwar/roslyn-analyzers/blob/HEAD/src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/UsePreferredTermsTests.Fixer.cs | ghcode:00001:f2df2e54119d | apache-2.0 | codeparrot/github-code | f2df2e54119dad4bb9f80392ec235bc3344746ca4cede2fd0bd4b362ec22b9e6 | 0.75 | testing_debugging_repair_refactoring | 199 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using Mios.Validation;
using Mios.Validation.Extensions;
using Xunit;
namespace Tests {
public struct Name {
public string First { get; set; }
public string Last { get; set; }
}
public class NameValidator :... | mios-fi/mios.validation | Tests/IntegrationTests.cs | https://github.com/mios-fi/mios.validation/blob/HEAD/Tests/IntegrationTests.cs | ghcode:00001:9369e637a52e | bsd-2-clause | codeparrot/github-code | 9369e637a52e4e11f146f27117c51b8ad41ab199601073f811d240dd011f11ae | 0.68 | testing_debugging_repair_refactoring | 1,686 | false | 2026-07-17 |
using System.Linq;
using System.Threading;
using NUnit.Framework;
namespace RemoteExecution.AT.Expectations
{
public abstract partial class BehaviorExpectations
{
[Test]
[TestCase(true)]
[TestCase(false)]
public void Should_client_connection_notify_once_about_connection_close(bool shouldCloseOnSer... | Suremaker/RemoteExecution-Net | RemoteExecution.AT/Expectations/EventsExpectations.cs | https://github.com/Suremaker/RemoteExecution-Net/blob/HEAD/RemoteExecution.AT/Expectations/EventsExpectations.cs | ghcode:00002:1949c528d6af | bsd-2-clause | codeparrot/github-code | 1949c528d6af79db9eef4409cf1ffea2d24bd4e9d26e5ca3b802de213f832a0d | 0.68 | testing_debugging_repair_refactoring | 350 | false | 2026-07-17 |
// Copyright (c) 2010, Eric Maupin
// All rights reserved.
//
// Redistribution and use in source and binary forms, with
// or without modification, are permitted provided that
// the following conditions are met:
//
// - Redistributions of source code must retain the above
// copyright notice, this list of... | ermau/Gablarski | src/Gablarski.Tests/ServerChannelHandlerTests.cs | https://github.com/ermau/Gablarski/blob/HEAD/src/Gablarski.Tests/ServerChannelHandlerTests.cs | ghcode:00002:5be3b43ded3f | bsd-3-clause | codeparrot/github-code | 5be3b43ded3f751c6200a6b73870d7bbab668f8755e339cafe4312d2a4018cb0 | 0.85 | testing_debugging_repair_refactoring | 1,673 | false | 2026-07-17 |
using StoryLine;
using StoryLine.Rest.Actions;
using StoryLine.Rest.Actions.Extensions;
using StoryLine.Rest.Expectations;
using StoryLine.Rest.Expectations.Extensions;
using StoryLine.Rest.Extensions;
using StoryLine.Rest.Services.Http;
using StoryLine.Utils.Actions;
using StoryLine.Utils.Services;
using Xunit;
names... | DiamondDragon/StoryLine.Rest | Examples/Microservice.Membership.Subsys/v1/Resources/User/Post.cs | https://github.com/DiamondDragon/StoryLine.Rest/blob/HEAD/Examples/Microservice.Membership.Subsys/v1/Resources/User/Post.cs | ghcode:00002:d452ad583363 | bsd-3-clause | codeparrot/github-code | d452ad58336333cae2c6b693d320928aa74cfaa60a8e8c6060b3a0dbcbaa120e | 0.6 | testing_debugging_repair_refactoring | 313 | false | 2026-07-17 |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TrackableEntities.EF.Tests.FamilyModels
{
public class Child : ITrackable
{
public Child() { }
public Child(string name)
{
Name = nam... | tonysneed/trackable-entities | Source/Tests/TrackableEntities.EF.5.Tests/FamilyModels/Child.cs | https://github.com/tonysneed/trackable-entities/blob/HEAD/Source/Tests/TrackableEntities.EF.5.Tests/FamilyModels/Child.cs | ghcode:00002:209a3bf4bef0 | mit | codeparrot/github-code | 209a3bf4bef0b78bbdfa9fc8222b46aeea6671227f767927d047d0aec6ab2d76 | 0.85 | testing_debugging_repair_refactoring | 144 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Azure.AI.FormRecognizer.Models;
using Azure.Core.TestFramework;
using NUnit.Framework;
/// <summary>
/// The suite of tests for the `St... | Azure/azure-sdk-for-net | sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/RecognizeCustomFormsLiveTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/RecognizeCustomFormsLiveTests.cs | ghcode:00002:ea74f69e0684 | mit | codeparrot/github-code | ea74f69e06846196522d1db2f96f7ab13011dea1bee3c0df57d1e57087ec8e46 | 0.95 | testing_debugging_repair_refactoring | 5,966 | 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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Beatmaps.Legacy;
using osu.Game.Tests.Visual;
using osu.Game.Tournamen... | ppy/osu | osu.Game.Tournament.Tests/Components/TestSceneSongBar.cs | https://github.com/ppy/osu/blob/HEAD/osu.Game.Tournament.Tests/Components/TestSceneSongBar.cs | ghcode:00002:2001547df2bc | mit | codeparrot/github-code | 2001547df2bc8a3bcd326b9406276aa96a5c1c28191782c2756b2cdf7c151b5c | 0.75 | testing_debugging_repair_refactoring | 394 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2017, Institute for Software & Systems Engineering
//
// 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 wi... | maul-esel/ssharp | SafetySharpTests/Analysis/Dcca/no cut sets.cs | https://github.com/maul-esel/ssharp/blob/HEAD/SafetySharpTests/Analysis/Dcca/no cut sets.cs | ghcode:00002:f3ac079535f9 | mit | codeparrot/github-code | f3ac079535f99e0bc3688f582d74d93554ae0be59760d0ad66b650a205051dfb | 0.7 | testing_debugging_repair_refactoring | 744 | 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.Entities.Users.Internal
{
using System;
using System.Collections.Generic;
using S... | nvisionative/Dnn.Platform | DNN Platform/Library/Obsolete/TestableUserController.cs | https://github.com/nvisionative/Dnn.Platform/blob/HEAD/DNN Platform/Library/Obsolete/TestableUserController.cs | ghcode:00002:63fb58c9d617 | mit | codeparrot/github-code | 63fb58c9d617eb8ca0fc478f23536d9669e7385fbb0f4042bc736f98111447df | 0.85 | testing_debugging_repair_refactoring | 395 | false | 2026-07-17 |
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Jobs;
namespace BenchmarkDotNet.IntegrationTests
{
public class SingleJobConfig : ManualConfig
{
public SingleJobConfig(Job job)
{
Add(job);
}
}
public class SingleRunFastConfig : M... | ig-sinicyn/BenchmarkDotNet | tests/BenchmarkDotNet.IntegrationTests/TestConfigs.cs | https://github.com/ig-sinicyn/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.IntegrationTests/TestConfigs.cs | ghcode:00002:4cc0ff2752eb | mit | codeparrot/github-code | 4cc0ff2752eb3c7dc5054e2fb4a7fadd5d1e251cda526d7d6e4e7603bac01161 | 0.75 | testing_debugging_repair_refactoring | 265 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Shouldly;
namespace Zombus.UnitTests.Conventions
{
[TestFixture]
public class CoreInfrastructureInterfaces
{
[Test]
[TestCaseSource(typeof (TestCases))]
public ... | MikeLarned/Zombus | src/Tests/Zombus.UnitTests/Conventions/CoreInfrastructureInterfaces.cs | https://github.com/MikeLarned/Zombus/blob/HEAD/src/Tests/Zombus.UnitTests/Conventions/CoreInfrastructureInterfaces.cs | ghcode:00002:494d50880893 | mit | codeparrot/github-code | 494d508808935312628398eee107e47472cb1668a409227aace8db798ec68dc7 | 0.85 | testing_debugging_repair_refactoring | 172 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BtrieveWrapper
{
public class StatFileSpec : FileSpec
{
internal StatFileSpec(
ushort recordLength,
ushort pageSize,
byte keyCount,
byte fileVersion,
... | gomafutofu/BtrieveWrapper | BtrieveWrapper/StatFileSpec.cs | https://github.com/gomafutofu/BtrieveWrapper/blob/HEAD/BtrieveWrapper/StatFileSpec.cs | ghcode:00002:a53d825ca424 | mit | codeparrot/github-code | a53d825ca4249161771f074cd06b8eb87ba9838c5654226069f3de8bc769e6a1 | 0.75 | testing_debugging_repair_refactoring | 197 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dominion.Cards.Treasure;
using Dominion.Rules;
using NUnit.Framework;
namespace Dominion.Tests
{
[TestFixture]
public class CardMovementTests
{
private CardZone _zone1;
private CardZon... | roman-bl/Dominion | Dominion.Tests/CardMovementTests.cs | https://github.com/roman-bl/Dominion/blob/HEAD/Dominion.Tests/CardMovementTests.cs | ghcode:00002:da7e2c7ca348 | mit | codeparrot/github-code | da7e2c7ca34840e959121ae23bd4965fb38171c69dcab736892cbb8c65da141f | 0.75 | testing_debugging_repair_refactoring | 287 | false | 2026-07-17 |
using System;
using System.Threading;
using NUnit.Framework;
using Org.Apache.CuratorNet.Client.Utils;
using Org.Apache.Java.Types;
using Org.Apache.Java.Types.Concurrent;
using Org.Apache.Java.Types.Concurrent.Atomics;
using Org.Apache.Java.Types.Concurrent.Futures;
namespace CuratorNet.Client.Tests
{
public cla... | Lagrang/CuratorNet | CuratorNet.Client.Tests/TestCloseableScheduledExecutorService.cs | https://github.com/Lagrang/CuratorNet/blob/HEAD/CuratorNet.Client.Tests/TestCloseableScheduledExecutorService.cs | ghcode:00002:08ff24527627 | apache-2.0 | codeparrot/github-code | 08ff24527627e89a5f444b967adcb0c53f574f9cd4105909f887a544ea7e6cd0 | 0.75 | testing_debugging_repair_refactoring | 530 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using AspNet.Security.OpenIdConnect.Primitives;
using AspNet.Security.OpenIdConnect.Server;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ModelBindin... | vyfster/openiddict-core | test/OpenIddict.Mvc.Tests/OpenIddictModelBinderTests.cs | https://github.com/vyfster/openiddict-core/blob/HEAD/test/OpenIddict.Mvc.Tests/OpenIddictModelBinderTests.cs | ghcode:00002:1d5ffe93a9e1 | apache-2.0 | codeparrot/github-code | 1d5ffe93a9e143224d606b2d0da97d294d64df6bd105ae7bf33332a5c8791105 | 0.85 | testing_debugging_repair_refactoring | 1,232 | 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 ... | mhansonp/geode-native | clicache/integration-test/ThinClientSecurityAuthzTestBaseN.cs | https://github.com/mhansonp/geode-native/blob/HEAD/clicache/integration-test/ThinClientSecurityAuthzTestBaseN.cs | ghcode:00002:a1ebb536a0cb | apache-2.0 | codeparrot/github-code | a1ebb536a0cb5331360266bfcb3440e32a77fc1ca46d59dd2c04d4998e475ee2 | 0.7 | testing_debugging_repair_refactoring | 7,766 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Reflection.Meta... | nguerrera/roslyn | src/Compilers/CSharp/Portable/Emitter/EditAndContinue/PEDeltaAssemblyBuilder.cs | https://github.com/nguerrera/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Emitter/EditAndContinue/PEDeltaAssemblyBuilder.cs | ghcode:00002:0f3a5c19e7b5 | apache-2.0 | codeparrot/github-code | 0f3a5c19e7b5922a0e6b9dc35ab1682d20fa360af7dcae95c09f6ec7155dc3de | 0.85 | testing_debugging_repair_refactoring | 2,193 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using OrchardCore.Autoroute.Models;
using OrchardCore.ContentManagement;
using OrchardCore.ContentManagement.Records;
using OrchardCore.Env... | OrchardCMS/Brochard | test/OrchardCore.Tests/Apis/ContentManagement/ContentApiController/BlogPostApiControllerTests.cs | https://github.com/OrchardCMS/Brochard/blob/HEAD/test/OrchardCore.Tests/Apis/ContentManagement/ContentApiController/BlogPostApiControllerTests.cs | ghcode:00002:19abb73f090b | bsd-3-clause | codeparrot/github-code | 19abb73f090b97076f0e6da8a89f3bb2d2df5e17b6ca4afa05a5c5dbaea3af12 | 0.85 | testing_debugging_repair_refactoring | 2,103 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EventStore.Core.Data;
using EventStore.Core.Messaging;
using EventStore.Core.Services.VNode;
using NUnit.Framework;
namespace EventStore.Core.Tests.Services.VNode
{
internal abstract class P : Message
{
private... | msbahrul/EventStore | src/EventStore/EventStore.Core.Tests/Services/VNode/vnode_fsm_should.cs | https://github.com/msbahrul/EventStore/blob/HEAD/src/EventStore/EventStore.Core.Tests/Services/VNode/vnode_fsm_should.cs | ghcode:00002:227a470644c3 | bsd-3-clause | codeparrot/github-code | 227a470644c33d9d453de1b78540f66ce000a7ff71e8e3d54df6a9faf934b17e | 0.6 | testing_debugging_repair_refactoring | 450 | false | 2026-07-17 |
// Copyright © Microsoft Corporation. All Rights Reserved.
// This code released under the terms of the
// Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using ClearQuestOleS... | adamdriscoll/TfsIntegrationPlatform | IntegrationPlatform/Adapters/IBM Rational/ClearQuest/ClearQuestAdapter/Linking/ClearQuestDuplicateRecordLinkType.cs | https://github.com/adamdriscoll/TfsIntegrationPlatform/blob/HEAD/IntegrationPlatform/Adapters/IBM Rational/ClearQuest/ClearQuestAdapter/Linking/ClearQuestDuplicateRecordLinkType.cs | ghcode:00002:2ef4d674b48a | mit | codeparrot/github-code | 2ef4d674b48ac7eb369d0845b84c8e1255ba7cbfb15fcc2ee7ffd07fe8d368bf | 0.7 | testing_debugging_repair_refactoring | 2,102 | 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 System.Diagnostics;
using System.Linq;
using JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framew... | peppy/osu-new | osu.Game/Screens/Edit/Compose/Components/Timeline/TimelineSelectionHandler.cs | https://github.com/peppy/osu-new/blob/HEAD/osu.Game/Screens/Edit/Compose/Components/Timeline/TimelineSelectionHandler.cs | ghcode:00002:9af0bab04b43 | mit | codeparrot/github-code | 9af0bab04b43b5f79bccc4311eb61637d67b1f32776352df69ed081d7ff9e70a | 0.7 | testing_debugging_repair_refactoring | 982 | 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 Microsoft.CodeAnalysis;
u... | genlu/roslyn | src/Test/Utilities/Portable/TargetFrameworkUtil.cs | https://github.com/genlu/roslyn/blob/HEAD/src/Test/Utilities/Portable/TargetFrameworkUtil.cs | ghcode:00002:77108131055f | mit | codeparrot/github-code | 77108131055fd1f4f26e4abf365560bf963416ef61cddf38f6422e24d0baf4a6 | 0.95 | testing_debugging_repair_refactoring | 2,518 | 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 Microsoft.DotNet.Cli.Build;
using Microsoft.DotNet.Cli.Build.Framework;
using Xunit;
namespace Microsoft.Dot... | wtgodbe/core-setup | src/test/HostActivationTests/FrameworkResolution/RollForwardOnNoCandidateFxSettings.cs | https://github.com/wtgodbe/core-setup/blob/HEAD/src/test/HostActivationTests/FrameworkResolution/RollForwardOnNoCandidateFxSettings.cs | ghcode:00002:3c3e41510b2d | mit | codeparrot/github-code | 3c3e41510b2dc0092131a12aea191905c2920359a92529aa63ec6ba5f38d4999 | 0.95 | testing_debugging_repair_refactoring | 2,246 | 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 requ... | pinwang81/azure-sdk-for-net | src/ResourceManagement/DataFactory/DataFactory.Tests/UnitTests/TableTypeRegistrationTests.cs | https://github.com/pinwang81/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/DataFactory/DataFactory.Tests/UnitTests/TableTypeRegistrationTests.cs | ghcode:00002:b4c783d296a3 | apache-2.0 | codeparrot/github-code | b4c783d296a3014d92dd0ffa5e2ac4c550ff6ff3fa3a5aa5f69a3e83f5b3eb1b | 0.85 | testing_debugging_repair_refactoring | 681 | 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSha... | physhi/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/PatternMatchingTests4.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/PatternMatchingTests4.cs | ghcode:00002:ae1e4f161dc6 | apache-2.0 | codeparrot/github-code | ae1e4f161dc6a7fa20f6e9fe1d4407dd2eed644569b428c9176e33b3fe555631 | 0.82 | testing_debugging_repair_refactoring | 31,032 | false | 2026-07-17 |
namespace GraphQLTemplate.IntegrationTest.Models
{
public class GraphQLErrorExtensions
{
public string Code { get; set; }
}
}
| ASP-NET-MVC-Boilerplate/Templates | Source/GraphQLTemplate/Tests/GraphQLTemplate.IntegrationTest/Models/GraphQLErrorExtensions.cs | https://github.com/ASP-NET-MVC-Boilerplate/Templates/blob/HEAD/Source/GraphQLTemplate/Tests/GraphQLTemplate.IntegrationTest/Models/GraphQLErrorExtensions.cs | ghcode:00002:4a87eadeee9f | mit | codeparrot/github-code | 4a87eadeee9f4bec32f6a717ea6816f2d09b78fd502d5295b065ac488d409414 | 0.6 | testing_debugging_repair_refactoring | 32 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.DotNet.RemoteExecutor... | BrennanConroy/corefx | src/System.Globalization/tests/System/Globalization/RegionInfoTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Globalization/tests/System/Globalization/RegionInfoTests.cs | ghcode:00002:713ba383a1b4 | mit | codeparrot/github-code | 713ba383a1b40dd223cc42b9bb3bdc34617ca00001428affaecbf85d94090885 | 0.95 | testing_debugging_repair_refactoring | 2,108 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using NBitcoin;
using Stratis.Bitcoin.Consensus;
using Stratis.Bitcoin.Features.Consensus.Rules.CommonRules;
using Stratis.Bitcoin.Tests.Common;
using Stratis.Bitcoin.Utilities;
using Xunit;
namespace Stratis.Bitcoin.Features.Consensus.Tests.Rules.CommonRules
{
pub... | Neurosploit/StratisBitcoinFullNode | src/Stratis.Bitcoin.Features.Consensus.Tests/Rules/CommonRules/PosColdStakingRuleTest.cs | https://github.com/Neurosploit/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.Features.Consensus.Tests/Rules/CommonRules/PosColdStakingRuleTest.cs | ghcode:00002:9caf5bb1f660 | mit | codeparrot/github-code | 9caf5bb1f66047e9abd7416405358a443c42655a042ee75532df9eb73d421d6a | 0.7 | testing_debugging_repair_refactoring | 2,272 | false | 2026-07-17 |
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2014
// by DotNetNuke Corporation
//
// 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 restric... | JoshuaBradley/Dnn.Platform | DNN Platform/Tests/DotNetNuke.Tests.Data/DataProviderTests.cs | https://github.com/JoshuaBradley/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DotNetNuke.Tests.Data/DataProviderTests.cs | ghcode:00002:6c313645d741 | mit | codeparrot/github-code | 6c313645d7411efda16549d42292d8e310fda86f596e5c0b4af2bf030d9f2a79 | 0.95 | testing_debugging_repair_refactoring | 951 | 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.Threading;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.... | huoyaoyuan/osu-framework | osu.Framework.Tests/Visual/Drawables/TestSceneModelBackedDrawableWithLoading.cs | https://github.com/huoyaoyuan/osu-framework/blob/HEAD/osu.Framework.Tests/Visual/Drawables/TestSceneModelBackedDrawableWithLoading.cs | ghcode:00002:db34ab02574a | mit | codeparrot/github-code | db34ab02574a5e4cc6a21ade4e50c8617bb6898ad3371476ce119946d6a3b0b0 | 0.75 | testing_debugging_repair_refactoring | 1,096 | false | 2026-07-17 |
#region License
// Copyright (c) 2018, Fluent Migrator Project
//
// 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 ap... | eloekset/fluentmigrator | test/FluentMigrator.Tests/Unit/BatchParser/SqlAnywhereBatchParserTests.cs | https://github.com/eloekset/fluentmigrator/blob/HEAD/test/FluentMigrator.Tests/Unit/BatchParser/SqlAnywhereBatchParserTests.cs | ghcode:00002:2eb112af4295 | apache-2.0 | codeparrot/github-code | 2eb112af4295d600b4c86352d3ba7d588e9ca99d5098a9a8622a37c9a171b6e1 | 0.85 | testing_debugging_repair_refactoring | 450 | false | 2026-07-17 |
using System.Diagnostics;
using EnvDTE;
using EnvDTE80;
namespace PowerShellTools.Commands
{
/// <summary>
/// Command for executing a script from the solution explorer context menu.
/// </summary>
internal class ExecuteFromSolutionExplorerContextMenuCommand : ExecuteAsScriptCommand
{
... | Microsoft/poshtools | PowerShellTools/Commands/ExecuteFromSolutionExplorerContextMenuCommand.cs | https://github.com/Microsoft/poshtools/blob/HEAD/PowerShellTools/Commands/ExecuteFromSolutionExplorerContextMenuCommand.cs | ghcode:00002:0e50ef1f8394 | apache-2.0 | codeparrot/github-code | 0e50ef1f839449de6595603974fa278606af27326ba32978264af487a9472078 | 0.7 | testing_debugging_repair_refactoring | 454 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
namespace tests
{
public class FadeOutDownTilesDemo
{
public static CCFiniteTimeAction ActionWithDuration(float t)
{
var fadeout = new CCFadeOutDownTiles(t, new CCGridSize(16, 12));
... | mono/CocosSharp | tests/tests/classes/tests/EffectsTest/FadeOutDownTilesDemo.cs | https://github.com/mono/CocosSharp/blob/HEAD/tests/tests/classes/tests/EffectsTest/FadeOutDownTilesDemo.cs | ghcode:00002:2003d3cc8d0f | mit | codeparrot/github-code | 2003d3cc8d0fd849d326177b18d05d337e6aea7cfdc20c473ad55b1476185307 | 0.85 | testing_debugging_repair_refactoring | 134 | 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 Xunit;
using Xunit.Sdk;
namespace Microsoft.CodeAnalysis.Test.Utilities
{
public enum CompilerFeature
{
Async,
D... | tmeschter/roslyn | src/Test/Utilities/Portable/Traits/CompilerFeature.cs | https://github.com/tmeschter/roslyn/blob/HEAD/src/Test/Utilities/Portable/Traits/CompilerFeature.cs | ghcode:00002:2815ac79073a | apache-2.0 | codeparrot/github-code | 2815ac79073a2791af3a71344dadfe5b1ac80c083fc0d544f3d0abd7f2fc6898 | 0.85 | testing_debugging_repair_refactoring | 159 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.