text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.CSharp.UnitTests;
using Roslyn.Test.Utilities;
using System.Linq;
using Xunit;
namespace Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests.Semantics
... | JohnHamby/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/ExpressionBodiedMemberTests.cs | https://github.com/JohnHamby/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/ExpressionBodiedMemberTests.cs | ghcode:00001:bf553bbf2d56 | apache-2.0 | codeparrot/github-code | bf553bbf2d56c97d3550f3953f5b5c5a5c2d18e7f187f46b923d7aaf8f7eecbf | 0.95 | testing_debugging_repair_refactoring | 2,857 | 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.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using X... | Priya91/corefx-1 | src/System.Linq.Parallel/tests/Combinatorial/SourcesAndOperators.cs | https://github.com/Priya91/corefx-1/blob/HEAD/src/System.Linq.Parallel/tests/Combinatorial/SourcesAndOperators.cs | ghcode:00001:4131301eb6b3 | mit | codeparrot/github-code | 4131301eb6b36512f3a6354405fea292dbb4c9bcf567b9bcc6aacbe2343d75ec | 0.95 | testing_debugging_repair_refactoring | 6,992 | 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.AnalyzerPowerPack;
using Microsoft.AnalyzerPowerPack.CSharp.Usage;
using Microsoft.AnalyzerPowerPack.VisualBasic.Usage;
using Microsoft.CodeA... | mattwar/roslyn-analyzers | src/Unfactored/AnalyzerPowerPack/Test/Usage/CA2200Tests.cs | https://github.com/mattwar/roslyn-analyzers/blob/HEAD/src/Unfactored/AnalyzerPowerPack/Test/Usage/CA2200Tests.cs | ghcode:00001:eea49ef05bcf | apache-2.0 | codeparrot/github-code | eea49ef05bcfa7cd6d8ed48bda616b2ed102cdb83b560e396b166c36dab2c916 | 0.85 | testing_debugging_repair_refactoring | 1,828 | 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 Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Micros... | abock/roslyn | src/Compilers/CSharp/Test/Syntax/IncrementalParsing/ChangingIdentifiers.cs | https://github.com/abock/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/IncrementalParsing/ChangingIdentifiers.cs | ghcode:00001:5b40ae78bdc1 | mit | codeparrot/github-code | 5b40ae78bdc1d6faad4d5a375410f7b6e21b959df80a800639fca29b97ce86d4 | 0.95 | testing_debugging_repair_refactoring | 1,912 | false | 2026-07-17 |
#region License
/*
MIT License
Copyright © 2010 The MonoXNA Team
All rights reserved.
Authors:
* Alan McGovern
* Lars Magnusson
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... | djkhz/monoxna | tests/Microsoft.Xna.Framework/MatrixTests.cs | https://github.com/djkhz/monoxna/blob/HEAD/tests/Microsoft.Xna.Framework/MatrixTests.cs | ghcode:00001:64241b7d5cf7 | mit | codeparrot/github-code | 64241b7d5cf78c814595f81462c8ceff540d46b76f6ebaa38bc9d0a8a2250b94 | 0.85 | testing_debugging_repair_refactoring | 8,819 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="PathFunctionalTestsUtil.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-----------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.Query.TDD.Tests/Semantic/Functional/PathFunctionalTestsUtil.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.Query.TDD.Tests/Semantic/Functional/PathFunctionalTestsUtil.cs | ghcode:00001:7d51e675a63c | mit | codeparrot/github-code | 7d51e675a63c8adf3b0b95b984434d91d4526ac4aa7016d79b37e21c5b31e35e | 0.95 | testing_debugging_repair_refactoring | 348 | 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.
/* The Computer Language Benchmarks Game
http://benchmarksgame.alioth.debian.org/
contributed by Robert F. Tob... | tijoytom/coreclr | tests/src/JIT/Performance/CodeQuality/BenchmarksGame/revcomp/revcomp.csharp-1.cs | https://github.com/tijoytom/coreclr/blob/HEAD/tests/src/JIT/Performance/CodeQuality/BenchmarksGame/revcomp/revcomp.csharp-1.cs | ghcode:00001:d86ad28214f7 | mit | codeparrot/github-code | d86ad28214f7628fb18cbb2f49c3dec61e21ebb6ad02b05b7ebeeb4b5034d1a1 | 0.8 | testing_debugging_repair_refactoring | 1,777 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.CSharp.Outlining;
using Microsoft.CodeAnalysis.Editor.Implementation.Outlining;
using Rosly... | ValentinRueda/roslyn | src/EditorFeatures/CSharpTest/Outlining/DisabledTextOutlinerTests.cs | https://github.com/ValentinRueda/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Outlining/DisabledTextOutlinerTests.cs | ghcode:00001:a065edeb00c6 | apache-2.0 | codeparrot/github-code | a065edeb00c681db1d45988fe4d8a9f394a6ee6f1e710aaaae9d0e451a8ab4fd | 0.85 | testing_debugging_repair_refactoring | 1,440 | 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.Tracing;
using Xunit;
namespace System.Net.NetworkInformation.Tests
{
public class Log... | lggomez/corefx | src/System.Net.Ping/tests/FunctionalTests/LoggingTest.cs | https://github.com/lggomez/corefx/blob/HEAD/src/System.Net.Ping/tests/FunctionalTests/LoggingTest.cs | ghcode:00001:aadda8eb3d41 | mit | codeparrot/github-code | aadda8eb3d41d5494d966aa8aa9b74f8fc24e865d6ee6e51a8bdd3265bb686f7 | 0.95 | testing_debugging_repair_refactoring | 201 | 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.Collections.Immutable;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.C... | sharwell/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/FixAllProvider/BatchFixerTests.cs | https://github.com/sharwell/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/FixAllProvider/BatchFixerTests.cs | ghcode:00001:2a7234347a00 | mit | codeparrot/github-code | 2a7234347a00c90f6d8d504da0b99b81d801fd7fb3a768ba4aad44c76a7abf38 | 0.85 | testing_debugging_repair_refactoring | 1,031 | false | 2026-07-17 |
using Microsoft.Azure;
using Microsoft.Azure.Management.Redis;
using Microsoft.Azure.Management.Redis.Models;
using Microsoft.Azure.Test;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace AzureRedisCache.Tests
{... | nemanja88/azure-sdk-for-net | src/ResourceManagement/RedisCache/AzureRedisCache.Tests/ScenarioTests/UpdateEnableNonSslPortBug.cs | https://github.com/nemanja88/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/RedisCache/AzureRedisCache.Tests/ScenarioTests/UpdateEnableNonSslPortBug.cs | ghcode:00001:6e99cb4a00a0 | apache-2.0 | codeparrot/github-code | 6e99cb4a00a07f7c5b7aba207158134398abd1bdaeacde6dbf13ded8503d86b9 | 0.6 | testing_debugging_repair_refactoring | 355 | 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.Composition.AttributeModel.Tests
{
public class ImportAttributeTests
{
... | shimingsg/corefx | src/System.Composition.AttributedModel/tests/ImportAttributeTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Composition.AttributedModel/tests/ImportAttributeTests.cs | ghcode:00001:cc4a4db34979 | mit | codeparrot/github-code | cc4a4db34979012b87ffcac6b248e31749a42b39a75c0b9b32743921afce4ff9 | 0.95 | testing_debugging_repair_refactoring | 161 | 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;
namespace System.Reflection.Metadata.Ecma335
{
/// <summary>
/// Encodes instruct... | BrennanConroy/corefx | src/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/Encoding/InstructionEncoder.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/Encoding/InstructionEncoder.cs | ghcode:00001:3dab20c7fccd | mit | codeparrot/github-code | 3dab20c7fccd607ceabe56f96bcfb210fe6876bff99494035ba0a75e41efc195 | 0.95 | testing_debugging_repair_refactoring | 3,218 | false | 2026-07-17 |
using System.Linq;
using FluentAssertions;
using Paramore.Brighter.Tests.CommandProcessors.TestDoubles;
using TinyIoC;
namespace Paramore.Brighter.Tests.CommandProcessors
{
public class PipelinePreAndPostFiltersAsyncTests
{
private readonly PipelineBuilder<MyCommand> _pipelineBuilder;
private I... | dstockhammer/Brighter | tests/Paramore.Brighter.Tests/CommandProcessors/When_Building_An_Async_Pipeline_Allow_Pre_And_Post_Tasks.cs | https://github.com/dstockhammer/Brighter/blob/HEAD/tests/Paramore.Brighter.Tests/CommandProcessors/When_Building_An_Async_Pipeline_Allow_Pre_And_Post_Tasks.cs | ghcode:00001:8f9ab5e0bfdf | mit | codeparrot/github-code | 8f9ab5e0bfdf86846063cec8296ee93d96f724d0e5a4bb780b9dba15dfd0af54 | 0.6 | testing_debugging_repair_refactoring | 323 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Net;
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.CosmosDB;
using Xunit;
using Microsoft.Rest.ClientRuntime.Azure.Te... | ayeletshpigelman/azure-sdk-for-net | sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/MongoResourcesOperationsTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/MongoResourcesOperationsTests.cs | ghcode:00001:53373739475c | mit | codeparrot/github-code | 53373739475c9789b9553f35ca138586727ff557145e47d0fd01d253e05cfbbc | 0.95 | testing_debugging_repair_refactoring | 1,541 | false | 2026-07-17 |
using Magellan.Framework;
using Magellan.Tests.Helpers;
using NUnit.Framework;
namespace Magellan.Tests.Framework
{
[TestFixture]
public class BackResultTests
{
[Test]
public void BackResultWithRemoveShouldCallNavigationService()
{
var request = RequestBuilder.CreateReq... | rog1039/magellan-framework | src/Magellan.Tests/Framework/BackResultTests.cs | https://github.com/rog1039/magellan-framework/blob/HEAD/src/Magellan.Tests/Framework/BackResultTests.cs | ghcode:00001:d11ab09bfa50 | mit | codeparrot/github-code | d11ab09bfa502cbf256a85cfddc13ea3b8e2aac4d265dd687dd4d170b1913166 | 0.75 | testing_debugging_repair_refactoring | 156 | false | 2026-07-17 |
using System.Threading.Tasks;
using JaffaMania.Website.ApiFeatures.Contestants;
using JaffaMania.Website.Tests.Mocks;
using Microsoft.AspNetCore.Mvc;
using Xunit;
namespace JaffaMania.Website.Tests.ApiFeatures.Contestants
{
public class ContestantsController_GetContestantsAttempts_Should
{
[Fact]
... | AndyHale/JaffaMania | Tests/JaffaMania.Website.Tests/ApiFeatures/Contestants/ContestantsController_GetContestantsAttempts_Should.cs | https://github.com/AndyHale/JaffaMania/blob/HEAD/Tests/JaffaMania.Website.Tests/ApiFeatures/Contestants/ContestantsController_GetContestantsAttempts_Should.cs | ghcode:00001:598e39415104 | mit | codeparrot/github-code | 598e39415104d1ac87a793777842dd4bb4a2f0491a7f9e40df4b21c83e64f06c | 0.7 | testing_debugging_repair_refactoring | 448 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using NUnit.Framework;
using iSynaptic.Commons;
using iSynaptic.TestDomain;
namespace iSynaptic.Modeling.Domain
{
public abstract class AggregateRepositoryTests
{
protected IAggregateRepository<ServiceCa... | iSynaptic/iSynaptic.Core | src/iSynaptic.Core.UnitTests/Modeling/Domain/AggregateRepositoryTests.cs | https://github.com/iSynaptic/iSynaptic.Core/blob/HEAD/src/iSynaptic.Core.UnitTests/Modeling/Domain/AggregateRepositoryTests.cs | ghcode:00001:6b2eeb684a55 | mit | codeparrot/github-code | 6b2eeb684a5523f15e596537095d701264f52f0135ad4e4cfd73771967bc4b8a | 0.75 | testing_debugging_repair_refactoring | 1,774 | false | 2026-07-17 |
using System;
using FluentAssertions;
namespace AutoAdapter.Tests.AssemblyToProcess.StaticMethodToInterfaceTests.ExtraParameterOnSourceMethod_TwoRequestsEachWithDifferentExtraParameterValueTest
{
public class TestClass
{
//[AdapterMethod]
public TDestination CreateAdapter<TDestination>(object ... | ymassad/AutoAdapter | AutoAdapter.Tests.AssemblyToProcess/StaticMethodToInterfaceTests/ExtraParameterOnSourceMethod_TwoRequestsEachWithDifferentExtraParameterValueTest/TestClass.cs | https://github.com/ymassad/AutoAdapter/blob/HEAD/AutoAdapter.Tests.AssemblyToProcess/StaticMethodToInterfaceTests/ExtraParameterOnSourceMethod_TwoRequestsEachWithDifferentExtraParameterValueTest/TestClass.cs | ghcode:00001:bbf5048f67e9 | mit | codeparrot/github-code | bbf5048f67e94578739e18b211760e92ed272a38c02b427449b18e9512387401 | 0.75 | testing_debugging_repair_refactoring | 234 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TypeMock.ArrangeActAssert;
namespace Nucleo.Web.Collections
{
[TestClass]
public class AjaxCollectionConverterTest
{
#region " Test Classes "
protected class TestObject : IJsonOutput
{
public string... | brianmains/Nucleo.NET | src/Nucleo.UnitTests.40.MS/Web/Collections/AjaxCollectionConverterTest.cs | https://github.com/brianmains/Nucleo.NET/blob/HEAD/src/Nucleo.UnitTests.40.MS/Web/Collections/AjaxCollectionConverterTest.cs | ghcode:00001:f6703a1f9da1 | mit | codeparrot/github-code | f6703a1f9da1575ac8effaf354e044ed9a4c1e7bf9fa26c1f42d82ceb8b90bf9 | 0.6 | testing_debugging_repair_refactoring | 647 | false | 2026-07-17 |
// TODO: Reinstate this test fixture when the REST service is reinstated
/*
#if NETCOREAPP20
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using BrightstarDB.Client;
using NUnit.Framework;
namespace Br... | BrightstarDB/BrightstarDB | src/core/BrightstarDB.Tests/RemoteScalingTests.cs | https://github.com/BrightstarDB/BrightstarDB/blob/HEAD/src/core/BrightstarDB.Tests/RemoteScalingTests.cs | ghcode:00001:51eda7de72a8 | mit | codeparrot/github-code | 51eda7de72a883fcd33cfe6b5abf89aaef630d7107515f428d38bc6fd6625af8 | 0.85 | testing_debugging_repair_refactoring | 1,731 | false | 2026-07-17 |
using ConfigServer.Server;
using ConfigServer.TestModels;
using Moq;
using System;
using System.Security.Claims;
using System.Threading.Tasks;
using Xunit;
namespace ConfigServer.Core.Tests.Hosting.Endpoints
{
public class ConfigurationEditorEnpointTests
{
private readonly Mock<IHttpResponseFactory> r... | PjMitchell/ConfigServer | test/ConfigServer.Core.Tests/Hosting/Endpoints/ConfigurationEditorEnpointTests.cs | https://github.com/PjMitchell/ConfigServer/blob/HEAD/test/ConfigServer.Core.Tests/Hosting/Endpoints/ConfigurationEditorEnpointTests.cs | ghcode:00001:b177a14fd169 | mit | codeparrot/github-code | b177a14fd1697cc0dfb592ff17872b252c842ab9aa469b36e982078c6519e02e | 0.85 | testing_debugging_repair_refactoring | 1,060 | false | 2026-07-17 |
using CharacterGen.Alignments;
using CharacterGen.CharacterClasses;
using CharacterGen.Domain.Generators.Races;
using CharacterGen.Races;
using CharacterGen.Randomizers.Races;
using EventGen;
using Moq;
using NUnit.Framework;
using System;
namespace CharacterGen.Tests.Unit.Generators.Races
{
[TestFixture]
pub... | DnDGen/CharacterGen | CharacterGen.Tests.Unit/Generators/Races/RaceGeneratorEventGenDecoratorTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Unit/Generators/Races/RaceGeneratorEventGenDecoratorTests.cs | ghcode:00001:57afcc1885f6 | mit | codeparrot/github-code | 57afcc1885f601f9c7080de403aac4cbb69dd32fbf17ac49c92a56900d622aac | 0.75 | testing_debugging_repair_refactoring | 867 | 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.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using Xunit;
namespace System.Diagnostics.ProcessTests
{
public class... | bpschoch/corefx | src/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests/ProcessTests.cs | https://github.com/bpschoch/corefx/blob/HEAD/src/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests/ProcessTests.cs | ghcode:00001:48489b0f8378 | mit | codeparrot/github-code | 48489b0f83784a57f678ef16a51f47358d0534e12abeaf742e6190020ee0a6f0 | 0.95 | testing_debugging_repair_refactoring | 4,039 | false | 2026-07-17 |
// Patterns: 1
// Matches: InSomeNamespace.cs
// NotMatches: Foo.cs,InSomeOtherNamespace.cs
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
namespace TestApplication.Windsor.TestCases
{
public class FromThisAssemblyInNamespace : IWindsorInstaller
... | hmemcpy/AgentMulder | src/Test/Data/Windsor/TestCases/FromThisAssemblyInNamespace.cs | https://github.com/hmemcpy/AgentMulder/blob/HEAD/src/Test/Data/Windsor/TestCases/FromThisAssemblyInNamespace.cs | ghcode:00001:c4ceed75cec4 | mit | codeparrot/github-code | c4ceed75cec48143c826ed661840f0518d1973b3fd100db7e94bf0aa2545a536 | 0.95 | testing_debugging_repair_refactoring | 147 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConnectQl.Tests
{
using System.Globalization;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.CompilerServices;
us... | MaartenX/ConnectQl | tests/ConnectQl.Tests/FactoryBuilderTests.cs | https://github.com/MaartenX/ConnectQl/blob/HEAD/tests/ConnectQl.Tests/FactoryBuilderTests.cs | ghcode:00001:8630348b8033 | mit | codeparrot/github-code | 8630348b8033726bb1b25ba439d53229754f415f0565491eb9dffd06c247211e | 0.85 | testing_debugging_repair_refactoring | 893 | false | 2026-07-17 |
namespace DotnetThoughts.AspNetCore.Tests
{
using System;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.TestHost;
... | anuraj/HtmlMinificationMiddleware | Test/HtmlMinificationMiddlewareTests/HtmlMinificationMiddlewareTests.cs | https://github.com/anuraj/HtmlMinificationMiddleware/blob/HEAD/Test/HtmlMinificationMiddlewareTests/HtmlMinificationMiddlewareTests.cs | ghcode:00001:7f5191b58000 | mit | codeparrot/github-code | 7f5191b58000598501702973f9df3a054a8228236e1fc1907dc11d8cc724a971 | 0.75 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
using Myra.Graphics2D.UI;
using NUnit.Framework;
namespace Myra.Tests
{
[TestFixture]
public class StackPanelTests
{
[Test]
public void AddRemove()
{
var stackPanel = new VerticalStackPanel();
var label1 = new Label();
var label2 = new Label();
var label3 = new Label();
stackPanel.AddChild(la... | rds1983/Myra | src/Myra.Tests/StackPanelTests.cs | https://github.com/rds1983/Myra/blob/HEAD/src/Myra.Tests/StackPanelTests.cs | ghcode:00001:8dbf483817b9 | mit | codeparrot/github-code | 8dbf483817b9a2926ae41b1ed4da6da6ee20a9b885f88e2821cc459b20c78fe3 | 0.75 | testing_debugging_repair_refactoring | 153 | false | 2026-07-17 |
// Copyright (c) 2015 SharpYaml - Alexandre Mutel
//
// 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, mo... | SiliconStudio/SharpYaml | SharpYaml.Tests/Serialization/ObjectFactoryTests.cs | https://github.com/SiliconStudio/SharpYaml/blob/HEAD/SharpYaml.Tests/Serialization/ObjectFactoryTests.cs | ghcode:00001:08bf499f14d5 | mit | codeparrot/github-code | 08bf499f14d599d72983c2e0fae86554563a2f06610c5a8a64a41f3bd7956256 | 0.85 | testing_debugging_repair_refactoring | 773 | false | 2026-07-17 |
using System;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using AonWeb.FluentHttp.Exceptions;
using AonWeb.FluentHttp.Mocks;
using AonWeb.FluentHttp.Mocks.Hal;
using AonWeb.FluentHttp.Serialization;
using AonWeb.FluentHttp.Tests.Helpers;
using Shouldly;
using Xunit;
using ... | aonweb/fluent-http | AonWeb.FluentHttp.Tests/TypedBuilderTests.cs | https://github.com/aonweb/fluent-http/blob/HEAD/AonWeb.FluentHttp.Tests/TypedBuilderTests.cs | ghcode:00001:88f16eff72c4 | mit | codeparrot/github-code | 88f16eff72c4e5e44030e03eb4ffd907d8560a3a9aca0436d044ae318d91c175 | 0.85 | testing_debugging_repair_refactoring | 2,313 | false | 2026-07-17 |
using System;
using Info.Blockchain.API.Client;
using Info.Blockchain.API.Models;
using Xunit;
namespace Info.Blockchain.API.Tests.UnitTests
{
public class CurrencyTests
{
[Fact]
public async void ToBtc_NullCurrency_ArgumentNullException()
{
await Assert.ThrowsAsync<ArgumentNullException>(async () =>
{
... | blockchain/api-v1-client-csharp | src/Tests/UnitTests/CurrencyTests.cs | https://github.com/blockchain/api-v1-client-csharp/blob/HEAD/src/Tests/UnitTests/CurrencyTests.cs | ghcode:00001:4a25d3762199 | mit | codeparrot/github-code | 4a25d3762199d6c76bce2d5c03a4059d9e1f7fb838b2c11df811e3be893fc240 | 0.85 | testing_debugging_repair_refactoring | 341 | 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... | joshball/Lucene.In.Action.NET | vendor/lucene.net/test/core/Search/TestPrefixFilter.cs | https://github.com/joshball/Lucene.In.Action.NET/blob/HEAD/vendor/lucene.net/test/core/Search/TestPrefixFilter.cs | ghcode:00001:cae659db5699 | mit | codeparrot/github-code | cae659db5699dbf3e15d8ca188c4e0b7d649335353e152c7c0f3efabf549218c | 0.95 | testing_debugging_repair_refactoring | 1,029 | false | 2026-07-17 |
namespace Gu.Analyzers.Test.GU0014PreferParameterTests
{
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;
internal class ValidCode
{
private static readonly DiagnosticAnalyzer Analyzer = new ConstructorAnalyzer();
... | JohanLarsson/Gu.Analyzers | Gu.Analyzers.Test/GU0014PreferParameterTests/ValidCode.cs | https://github.com/JohanLarsson/Gu.Analyzers/blob/HEAD/Gu.Analyzers.Test/GU0014PreferParameterTests/ValidCode.cs | ghcode:00001:ba7b358934dd | mit | codeparrot/github-code | ba7b358934ddab6e6b95871a074b1ab9ca281d6f810f958d8e88dfdf4f510a18 | 0.6 | testing_debugging_repair_refactoring | 1,511 | false | 2026-07-17 |
using System;
using System.Collections;
using NUnit.Framework.Constraints;
namespace NUnit.Framework {
#region Aliases to NUnit.Framework classes to improve our BDD syntax
public class Be : Is { public Be(){} }
public class Have : Has { public Have(){} }
public class Contain : Contains { publi... | danielmoore/WpfIgniter | packages/NUnit.Should.1.0.2.0/src/NUnit.Should.cs | https://github.com/danielmoore/WpfIgniter/blob/HEAD/packages/NUnit.Should.1.0.2.0/src/NUnit.Should.cs | ghcode:00001:a82cf232ab9e | mit | codeparrot/github-code | a82cf232ab9eef00337706ccbc1c656e4289a7cbeb82276da08f8c41b494e2ee | 0.8 | testing_debugging_repair_refactoring | 255 | false | 2026-07-17 |
using J2N.Text;
using Lucene.Net.Analysis;
using Lucene.Net.Analysis.TokenAttributes;
using Lucene.Net.QueryParsers.Flexible.Core.Nodes;
using Lucene.Net.QueryParsers.Flexible.Core.Processors;
using Lucene.Net.QueryParsers.Flexible.Standard.Config;
using Lucene.Net.QueryParsers.Flexible.Standard.Nodes;
using Lucene.Ne... | Ref12/Codex | lucenenet/src/Lucene.Net.QueryParser/Flexible/Standard/Processors/AnalyzerQueryNodeProcessor.cs | https://github.com/Ref12/Codex/blob/HEAD/lucenenet/src/Lucene.Net.QueryParser/Flexible/Standard/Processors/AnalyzerQueryNodeProcessor.cs | ghcode:00001:8f91320cd572 | mit | codeparrot/github-code | 8f91320cd572490b8e9914458e6790266f95a5bf2932d3312e81a0164c8728b4 | 0.8 | testing_debugging_repair_refactoring | 2,744 | false | 2026-07-17 |
using System.Globalization;
using IPFilter.Native;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IPFilter.Tests
{
[TestClass]
public class PathHelperTests
{
[TestMethod]
public void JapanesePathShouldConvertYenToBackslash()
{
var path = "C:¥Program Files... | DavidMoore/ipfilter | Tests/UnitTests/IPFilter.Tests/PathHelperTests.cs | https://github.com/DavidMoore/ipfilter/blob/HEAD/Tests/UnitTests/IPFilter.Tests/PathHelperTests.cs | ghcode:00001:ecaca5916c13 | mit | codeparrot/github-code | ecaca5916c13782867de2e28a9fc8dd55418dbfca8cb369813f96510a910c571 | 0.75 | testing_debugging_repair_refactoring | 119 | false | 2026-07-17 |
namespace Boxed.AspNetCore.TagHelpers.Test.Twitter.Cards
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Threading.Tasks;
using Boxed.AspNetCore.TagHelpers.Test.TestData;
using Boxed.AspNetCore.Ta... | ASP-NET-Core-Boilerplate/Framework | Tests/Boxed.AspNetCore.TagHelpers.Test/Twitter/Cards/TwitterCardPlayerTest.cs | https://github.com/ASP-NET-Core-Boilerplate/Framework/blob/HEAD/Tests/Boxed.AspNetCore.TagHelpers.Test/Twitter/Cards/TwitterCardPlayerTest.cs | ghcode:00001:757388f88c82 | mit | codeparrot/github-code | 757388f88c8243df478b1fff743e438694e51f0a2ed212c96e243cc03cd61827 | 0.7 | testing_debugging_repair_refactoring | 2,050 | false | 2026-07-17 |
using TwitterBackup.Business.Models;
using TwitterBackup.Business.Models.Mapping;
using TwitterBackup.DataAccess.Entities;
using Xunit;
namespace TwitterBackup.Business.Tests.Mapping
{
public class FavoriteUserRelationMapperTests
{
private readonly FavoriteUserRelationMapper mapper;
public Fa... | dbalinov/twitter-backup | TwitterBackup/Test/TwitterBackup.Business.Tests/Mapping/FavoriteUserRelationMapperTests.cs | https://github.com/dbalinov/twitter-backup/blob/HEAD/TwitterBackup/Test/TwitterBackup.Business.Tests/Mapping/FavoriteUserRelationMapperTests.cs | ghcode:00001:2db63d3b1387 | mit | codeparrot/github-code | 2db63d3b13875713eba914c9c48948775ff20839efd8868eb12ef02d4c087842 | 0.95 | testing_debugging_repair_refactoring | 168 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2008 Charlie Poole, Rob Prouse
//
// 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 restri... | OmicronPersei/nunit | src/NUnitFramework/framework/Internal/Builders/PairwiseStrategy.cs | https://github.com/OmicronPersei/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/Builders/PairwiseStrategy.cs | ghcode:00001:5a5d94a2e98c | mit | codeparrot/github-code | 5a5d94a2e98cfdb44cebebdc6b023be5422763cfd206413a7132f4e74229da35 | 0.85 | testing_debugging_repair_refactoring | 4,598 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper.Internal.Mappers;
using Xunit;
namespace AutoMapper.UnitTests.Bug
{
using Shouldly;
public class MultiThreadingIssues
{
public class ... | AutoMapper/AutoMapper | src/UnitTests/Bug/MultiThreadingIssues.cs | https://github.com/AutoMapper/AutoMapper/blob/HEAD/src/UnitTests/Bug/MultiThreadingIssues.cs | ghcode:00001:c2490fd55bb7 | mit | codeparrot/github-code | c2490fd55bb7b704e52066f647e8b0e2541e1fd056824cfd6a1dfad73f7b2b51 | 0.6 | testing_debugging_repair_refactoring | 10,128 | 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.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Syst... | alexperovich/corefxlab | tests/System.Threading.Tasks.Channels.Tests/AutoResetAwaiterTests.cs | https://github.com/alexperovich/corefxlab/blob/HEAD/tests/System.Threading.Tasks.Channels.Tests/AutoResetAwaiterTests.cs | ghcode:00001:d1575b1fbedd | mit | codeparrot/github-code | d1575b1fbedd92fe467cce7a8c2f9541b29809befca50ff384af4eaf8eed438a | 0.85 | testing_debugging_repair_refactoring | 434 | false | 2026-07-17 |
using System;
using NetTelebot.CommonUtils;
using NetTelebot.Result;
using NetTelebot.Type;
using NetTelebot.Type.Games;
using NetTelebot.Type.Payment;
using NetTelebot.Type.Sticker;
using NUnit.Framework;
namespace NetTelebot.Tests.NullReferenceExceptionTest
{
/// <summary>
/// Checking for NullReferenceExce... | vertigra/NetTelebot-2.0 | NetTelebot.Tests/NullReferenceExceptionTest/MessageInfoClassTypeTest.cs | https://github.com/vertigra/NetTelebot-2.0/blob/HEAD/NetTelebot.Tests/NullReferenceExceptionTest/MessageInfoClassTypeTest.cs | ghcode:00001:0a088d1597cb | mit | codeparrot/github-code | 0a088d1597cbf5a92b95245e5df802121e52ef7c3fe98a1e55ce17a6dc9f04cc | 0.7 | testing_debugging_repair_refactoring | 3,738 | false | 2026-07-17 |
using Translatable.TranslationTest;
namespace Translatable.UnitTest
{
public class TestTranslation : ITranslatable
{
private IPluralBuilder PluralBuilder { get; set; } = new DefaultPluralBuilder();
public string[] Messages { get; set; } = new[] {"{0} Message", "{0} Messages"};
[Contex... | pdfforge/translatable | Source/UnitTest/Translatable.UnitTest/TestTranslation.cs | https://github.com/pdfforge/translatable/blob/HEAD/Source/UnitTest/Translatable.UnitTest/TestTranslation.cs | ghcode:00001:3f384f577b03 | mit | codeparrot/github-code | 3f384f577b03020488a84a26ed971aec85567e494f8ff6d908ab9c99141f40ab | 0.75 | testing_debugging_repair_refactoring | 174 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Azure.AI.Translation.Document.Tests;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.AI.Translation.Document.Samples
{
[LiveOnly]
public par... | jackmagic313/azure-sdk-for-net | sdk/translation/Azure.AI.Translation.Document/tests/samples/Sample_PollIndividualDocumentsAsync.cs | https://github.com/jackmagic313/azure-sdk-for-net/blob/HEAD/sdk/translation/Azure.AI.Translation.Document/tests/samples/Sample_PollIndividualDocumentsAsync.cs | ghcode:00001:65d471b9b07a | mit | codeparrot/github-code | 65d471b9b07a72860e3aceedcdd3c37ff55fdfc5724a5afca07e5f085894e45b | 0.85 | testing_debugging_repair_refactoring | 466 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace SqlKata.Tests.Infrastructure
{
public class TestSqlResultContainer : ReadOnlyDictionary<string, SqlResult>
{
public TestSqlResultContainer(IDictionary<string, SqlResult> dictionary) : base(dictionary)
{
}... | sqlkata/querybuilder | QueryBuilder.Tests/Infrastructure/TestSqlResultContainer.cs | https://github.com/sqlkata/querybuilder/blob/HEAD/QueryBuilder.Tests/Infrastructure/TestSqlResultContainer.cs | ghcode:00001:e8284ba33832 | mit | codeparrot/github-code | e8284ba338322fc0e058c915fe6bd807666f3588e8696a653780ef24e137922c | 0.75 | testing_debugging_repair_refactoring | 61 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage.Table;
using WindowsAzure.Table.Extensions;
using WindowsAzure.Tests.Attributes;
using WindowsAzure.Tests.Common;
using Xunit;
namespace WindowsAzure.Tests.Table.Extensions
{
publi... | richiej84/WindowsAzure | test/WindowsAzure.Tests/Table/Extensions/CloudTableClientExtensionsIntegrationTests.cs | https://github.com/richiej84/WindowsAzure/blob/HEAD/test/WindowsAzure.Tests/Table/Extensions/CloudTableClientExtensionsIntegrationTests.cs | ghcode:00001:03127c77451f | mit | codeparrot/github-code | 03127c77451f4a4fc98ed6cf16945ad0e8d16f51ea5bbf77f0b0ac75debfd561 | 0.85 | testing_debugging_repair_refactoring | 644 | false | 2026-07-17 |
using NUnit.Framework;
using System.Collections.Generic;
public class IReadOnlyTest
{
[Test]
public void EditorTest()
{
IReadOnlyList<int> list = new List<int> { 3, 1, 4, 1 };
Assert.AreEqual(4, list.Count);
Assert.AreEqual(3, list[0]);
Assert.AreEqual(1, list[1]);
... | RyotaMurohoshi/unity_snippets | unity_mono_update/Assets/Editor/IReadOnlyTest.cs | https://github.com/RyotaMurohoshi/unity_snippets/blob/HEAD/unity_mono_update/Assets/Editor/IReadOnlyTest.cs | ghcode:00001:eebd95d8f73b | mit | codeparrot/github-code | eebd95d8f73b7f88339fbecaaff05e0555ea8992ad1dd540d649a6ea5271f32f | 0.6 | testing_debugging_repair_refactoring | 125 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AlgorithmTests.Sorting.RadixSort
{
[TestClass]
public class RadixSortTests
{
[TestMethod]
public void RadixSortTestOne()
{
int[] expected = Algorithm.Sorting.RadixSort.RadixSort.Main(new[] { 1, 5, 2, 7, 8, 4 ... | KeyurRamoliya/Algorithm | AlgorithmTests/Sorting/RadixSort/RadixSortTests.cs | https://github.com/KeyurRamoliya/Algorithm/blob/HEAD/AlgorithmTests/Sorting/RadixSort/RadixSortTests.cs | ghcode:00001:26d045816170 | mit | codeparrot/github-code | 26d0458161705a439e61826636501ec214f91c649e2d2833ae959b619956c4d8 | 0.75 | testing_debugging_repair_refactoring | 332 | false | 2026-07-17 |
namespace fszmq.props
{
using NUnit.Framework;
using FsCheck;
using System;
using System.Linq;
using CheckProperty = FsCheck.NUnit.PropertyAttribute;
using fszmq;
[TestFixture]
public class Properties
{
/// <summary>
/// Tests is 2 Message instances have the same size and ... | pblasucci/checkprops | fszmq.props/fszmq.props.cs/Properties.cs | https://github.com/pblasucci/checkprops/blob/HEAD/fszmq.props/fszmq.props.cs/Properties.cs | ghcode:00001:043111e511a5 | mit | codeparrot/github-code | 043111e511a5e6c16bea26cd9711f9e329950927502ea9b282f2900c16443c17 | 0.7 | testing_debugging_repair_refactoring | 610 | 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.Specialized;
using System.Net.Sockets;
using System.Secu... | rjxby/corefx | src/System.Net.HttpListener/tests/HttpListenerRequestTests.cs | https://github.com/rjxby/corefx/blob/HEAD/src/System.Net.HttpListener/tests/HttpListenerRequestTests.cs | ghcode:00001:dc3267a002de | mit | codeparrot/github-code | dc3267a002de10334f9fc23ebf21da36449f45f9bd4c9cb7ca75967b8b9b2c70 | 0.95 | testing_debugging_repair_refactoring | 5,091 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LanguageServiceFacts.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// -------------------------... | blebougge/Catel | src/Catel.Test/Catel.Test.Shared/Services/LanguageServiceFacts.cs | https://github.com/blebougge/Catel/blob/HEAD/src/Catel.Test/Catel.Test.Shared/Services/LanguageServiceFacts.cs | ghcode:00001:43814186e61e | mit | codeparrot/github-code | 43814186e61e117b866da2ddae66a962ee5789acd227342a57fe0aa9a705ccf8 | 0.85 | testing_debugging_repair_refactoring | 361 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Text.Tests
{
public class ASCIIEncodingGetCharC... | pallavit/corefx | src/System.Text.Encoding/tests/ASCIIEncoding/ASCIIEncodingGetCharCount.cs | https://github.com/pallavit/corefx/blob/HEAD/src/System.Text.Encoding/tests/ASCIIEncoding/ASCIIEncodingGetCharCount.cs | ghcode:00001:395f15a5a16c | mit | codeparrot/github-code | 395f15a5a16c589436dad9ddcfc516e78c7a78bb0ac56d454885fe8f3ee0753b | 0.95 | testing_debugging_repair_refactoring | 337 | false | 2026-07-17 |
namespace Futures
{
using System;
using System.Collections.Generic;
using System.Reactive.Disposables;
public class TestFuture<T> : IFuture<T>
{
private readonly IFuture<T> _impl;
public TestFuture()
{
this.Observers = new List<IFutureObserver<T>>();
... | MarkusPalcer/Futures | Futures-Testing/TestFuture.cs | https://github.com/MarkusPalcer/Futures/blob/HEAD/Futures-Testing/TestFuture.cs | ghcode:00001:ad0ac90a0ddc | unlicense | codeparrot/github-code | ad0ac90a0ddc71dbc38cedbb7386bc412c62e9797afe7acdf09e9fbb8ee2b4a9 | 0.68 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
using Grafika.Data.Mongo;
using Xunit;
namespace Grafika.Test.Data.Mongo
{
public class MongoEntityIdValidatorTest
{
[Theory]
[InlineData("58d5b799963ca021041cb6a2", true)]
[InlineData("58d5b799963ca021041cb6b3", true)]
[InlineData("58d57799963ca021041cb6b3", true)]
[I... | bingzer/grafika.server | Tests/Grafika.Test/Data/Mongo/MongoEntityIdValidatorTest.cs | https://github.com/bingzer/grafika.server/blob/HEAD/Tests/Grafika.Test/Data/Mongo/MongoEntityIdValidatorTest.cs | ghcode:00001:80049e35b9ff | apache-2.0 | codeparrot/github-code | 80049e35b9ffeace597e0a5e77cac793a40a173ed5cfdaed8e1b7c547e4d7110 | 0.6 | testing_debugging_repair_refactoring | 209 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Elasticsearch.Net;
using Foundatio.Parsers.ElasticQueries.Extensions;
using Foundatio.Repositories.Elasticsearch.Configuration;
using Foundatio.Repositories.Elasticsearch.Tests.Repositories.Configuration.Indexes;
usin... | exceptionless/Foundatio.Repositories | tests/Foundatio.Repositories.Elasticsearch.Tests/ReindexTests.cs | https://github.com/exceptionless/Foundatio.Repositories/blob/HEAD/tests/Foundatio.Repositories.Elasticsearch.Tests/ReindexTests.cs | ghcode:00001:81883d657705 | apache-2.0 | codeparrot/github-code | 81883d657705a11d75d8e5a00e0c7358e2404ba45e49065bb88fbef5199ed1d5 | 0.85 | testing_debugging_repair_refactoring | 7,549 | false | 2026-07-17 |
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | robv8r/FluentValidation | src/FluentValidation.Tests/ComplexValidationTester.cs | https://github.com/robv8r/FluentValidation/blob/HEAD/src/FluentValidation.Tests/ComplexValidationTester.cs | ghcode:00001:f6ccc67cb77b | apache-2.0 | codeparrot/github-code | f6ccc67cb77bed1dd61c9a9bcc478d73a8da5ebcc1369966cd19920c72096071 | 0.7 | testing_debugging_repair_refactoring | 1,536 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace DerivedXmlSerializer.Graphs
{
public class GraphDescendencyTests
{
// a => b
// a => c
// b => d
// d => e
// f => g
private class TestAncestry : ... | george-polevoy/DerivedXmlSerializer | DerivedXmlSerializer.Tests/Graphs/GraphDescendencyTests.cs | https://github.com/george-polevoy/DerivedXmlSerializer/blob/HEAD/DerivedXmlSerializer.Tests/Graphs/GraphDescendencyTests.cs | ghcode:00001:399df8c2b55d | apache-2.0 | codeparrot/github-code | 399df8c2b55deb93610a824cade57623c9c3cefbe2978fe0b9b4f5fb60e37a9a | 0.85 | testing_debugging_repair_refactoring | 371 | false | 2026-07-17 |
namespace AdventureWorks.Repository.Test.Repository.Sales
{
using EntityClasses.Sales;
using Main;
using NUnit.Framework;
[TestFixture]
[Category("Sales")]
public class CountryRegionCurrencyRepositoryTest : BaseRepositoryTest<CountryRegionCurrency, CountryRegionCurrencyRepositoryTest>
{
... | krzysztofkolek/AdventureWorksAPI | Repository.Test/Repository/Sales/CountryRegionCurrencyRepositoryTest.cs | https://github.com/krzysztofkolek/AdventureWorksAPI/blob/HEAD/Repository.Test/Repository/Sales/CountryRegionCurrencyRepositoryTest.cs | ghcode:00001:f6a91bb9d017 | apache-2.0 | codeparrot/github-code | f6a91bb9d017adcb2ae64a5e6d6d614fa2b38f4671ea3d59dc49543fae7c7273 | 0.6 | testing_debugging_repair_refactoring | 277 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2005 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Un... | MaferYangPointJun/Spring.net | test/Spring/Spring.Aop.Tests/Aspects/Cache/InvalidateCacheAdviceTests.cs | https://github.com/MaferYangPointJun/Spring.net/blob/HEAD/test/Spring/Spring.Aop.Tests/Aspects/Cache/InvalidateCacheAdviceTests.cs | ghcode:00001:0341271976ab | apache-2.0 | codeparrot/github-code | 0341271976ab64069cfdde523b140cdc14aae23b4bcb6a916e0f4f6e2230dbcf | 0.85 | testing_debugging_repair_refactoring | 1,171 | 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.DataProtection.Internal;
using Microsoft.AspNetCore.Testing;
using Xunit;
namespace Microsoft.AspNetCore.DataProtection.Test
{
public... | aspnet/AspNetCore | src/DataProtection/DataProtection/test/ContainerUtilsTests.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/DataProtection/DataProtection/test/ContainerUtilsTests.cs | ghcode:00001:9f56993493ee | apache-2.0 | codeparrot/github-code | 9f56993493eef5c4f8a63dd98c0fbafe041ca5341c3118eb090bfbbccc1c41d4 | 0.95 | testing_debugging_repair_refactoring | 572 | 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/Query/CacheLinqTestSqlEscapeAll.cs | https://github.com/a1vanov/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/CacheLinqTestSqlEscapeAll.cs | ghcode:00001:127a5cc8aa8d | apache-2.0 | codeparrot/github-code | 127a5cc8aa8deebda48239ac55cb3ac74aebeee4a270a4c65002bb87172838f3 | 0.7 | testing_debugging_repair_refactoring | 252 | false | 2026-07-17 |
// Copyright Dirk Lemstra (https://github.com/dlemstra/line-bot-sdk-dotnet).
// Licensed under the Apache License, Version 2.0.
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Line.Tests
{
public partial class ImagemapAreaTests
{
[TestClass]
public class TheConstructor
{... | dlemstra/line-bot-sdk-dotnet | tests/LineBot.Tests/Messages/Imagemap/ImagemapAreaTests/TheConstructor.cs | https://github.com/dlemstra/line-bot-sdk-dotnet/blob/HEAD/tests/LineBot.Tests/Messages/Imagemap/ImagemapAreaTests/TheConstructor.cs | ghcode:00001:c3d1f3d7da05 | apache-2.0 | codeparrot/github-code | c3d1f3d7da0564e294fa412450e78dadadf3db45c461682b2e47c7bfcd5bb768 | 0.7 | testing_debugging_repair_refactoring | 243 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SSW.DataOnion.UserGroupDemo.Domain;
using TestStack.BDDfy;
using Xunit;
using System.Threading.Tasks;
namespace SSW.DataOnion.UserGroupDemo.VanillaEF.IntegrationTests
{
public class LazyLoadin... | brendan-ssw/SSW.DataOnion.UserGroupDemo | SSW.DataOnion.UserGroupDemo/SSW.DataOnion.UserGroupDemo.VanillaEF.IntegrationTests/LazyLoadingFailTest.cs | https://github.com/brendan-ssw/SSW.DataOnion.UserGroupDemo/blob/HEAD/SSW.DataOnion.UserGroupDemo/SSW.DataOnion.UserGroupDemo.VanillaEF.IntegrationTests/LazyLoadingFailTest.cs | ghcode:00001:9f74d838acc8 | apache-2.0 | codeparrot/github-code | 9f74d838acc8eb263d26a562593e643170dfcdac406842f61c9d810a23d7dab4 | 0.7 | testing_debugging_repair_refactoring | 350 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Mic... | nguerrera/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/MockDiagnosticAnalyzerTests.cs | https://github.com/nguerrera/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/MockDiagnosticAnalyzerTests.cs | ghcode:00001:7c68e9bc5bf0 | apache-2.0 | codeparrot/github-code | 7c68e9bc5bf01f9d01bf50723e4ed0fe913a7f040573990d6f8c8b9172120ef9 | 0.75 | testing_debugging_repair_refactoring | 467 | false | 2026-07-17 |
using System;
using PSycheTest.Runners.Framework.Results;
using PSycheTest.Runners.Framework.Utilities.Collections;
using Xunit;
namespace Tests.Unit.PSycheTest.Runners.Framework.Results
{
public class PassedResultTests
{
[Fact]
public void Test_PassedResult()
{
// Act.
var result = new PassedResult(
... | mthamil/PSycheTest | Tests.Unit/PSycheTest.Runners.Framework/Results/PassedResultTests.cs | https://github.com/mthamil/PSycheTest/blob/HEAD/Tests.Unit/PSycheTest.Runners.Framework/Results/PassedResultTests.cs | ghcode:00001:0e4c9074616f | apache-2.0 | codeparrot/github-code | 0e4c9074616f53ee71cad9431f2ea4adf88680a8cf4ae69c67aa5d578366032d | 0.75 | testing_debugging_repair_refactoring | 155 | false | 2026-07-17 |
using CodeCracker.CSharp.Usage;
using Microsoft.CodeAnalysis;
using System.Threading.Tasks;
using Xunit;
namespace CodeCracker.Test.CSharp.Usage
{
public class DisposableFieldNotDisposedTests : CodeFixVerifier<DisposableFieldNotDisposedAnalyzer, DisposableFieldNotDisposedCodeFixProvider>
{
[Fact]
... | AlbertoMonteiro/code-cracker | test/CSharp/CodeCracker.Test/Usage/DisposableFieldNotDisposedTests.cs | https://github.com/AlbertoMonteiro/code-cracker/blob/HEAD/test/CSharp/CodeCracker.Test/Usage/DisposableFieldNotDisposedTests.cs | ghcode:00001:956dfcbda917 | apache-2.0 | codeparrot/github-code | 956dfcbda9175ba6e06a1db21661032762f31395ddb3c9a8c090602fe06e6c46 | 0.85 | testing_debugging_repair_refactoring | 4,246 | false | 2026-07-17 |
using BEPUutilities.DataStructures;
using BEPUutilities.ResourceManagement;
using SIMDPrototyping.Trees.Vectorized;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace SIMDPrototyping.Trees.Tests... | RossNordby/scratchpad | SIMDPrototyping/SIMDPrototyping/Trees/Tests/VectorizedTests.cs | https://github.com/RossNordby/scratchpad/blob/HEAD/SIMDPrototyping/SIMDPrototyping/Trees/Tests/VectorizedTests.cs | ghcode:00001:fe2a8d8aa3f7 | apache-2.0 | codeparrot/github-code | fe2a8d8aa3f780a1a032e5446239072a8a23c1c5ab2a6e4681bf9ee1f79bd047 | 0.95 | testing_debugging_repair_refactoring | 1,100 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Kafka.Client.Admin;
using Kafka.Client.Api;
using Kafka.Client.Common;
using Kafka.Client.Common.Imported;
using Kafka.Client.Messages;
using Kafka.Client.Producers;
using Kafka.Client.Serializers;
using Kafka.Client.Utils... | CMTelecom/kafka-net | src/Kafka/Kafka.Tests/Integration/PrimitiveApiTest.cs | https://github.com/CMTelecom/kafka-net/blob/HEAD/src/Kafka/Kafka.Tests/Integration/PrimitiveApiTest.cs | ghcode:00001:fa0c421eea2a | apache-2.0 | codeparrot/github-code | fa0c421eea2a9d5fb607558a9f9811bfb53457d819d0b1fe450e053d965731bc | 0.7 | testing_debugging_repair_refactoring | 2,414 | false | 2026-07-17 |
using NUnit.Framework;
using StructureMap.Configuration.DSL;
using StructureMap.Testing.Widget;
namespace StructureMap.Testing
{
public class InitializeRegistry : Registry
{
public InitializeRegistry()
{
For<IWidget>().Add<ColorWidget>()
.Ctor<string>("col... | HenrikDK/structuremap | src/StructureMap.Testing/ObjectFactoryInitializeTester.cs | https://github.com/HenrikDK/structuremap/blob/HEAD/src/StructureMap.Testing/ObjectFactoryInitializeTester.cs | ghcode:00001:bde51223a2d3 | apache-2.0 | codeparrot/github-code | bde51223a2d3b15b73f0f508f86258be69f56f53daf042e5e6155a4d6fce9cba | 0.6 | testing_debugging_repair_refactoring | 190 | 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"); ... | laimis/lucenenet | src/Lucene.Net.Tests.Analysis.Phonetic/Support/TestApiConsistency.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Analysis.Phonetic/Support/TestApiConsistency.cs | ghcode:00001:0309c9b74fb3 | apache-2.0 | codeparrot/github-code | 0309c9b74fb38f3346dc065bd563f12434747975a572c6e12e7790ea86b7f3a5 | 0.85 | testing_debugging_repair_refactoring | 1,259 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.Identity;
using Azure.Security.KeyVault.Administration.Models;
using Azure.Securit... | stankovski/azure-sdk-for-net | sdk/keyvault/Azure.Security.KeyVault.Administration/tests/samples/SampleSnippets.cs | https://github.com/stankovski/azure-sdk-for-net/blob/HEAD/sdk/keyvault/Azure.Security.KeyVault.Administration/tests/samples/SampleSnippets.cs | ghcode:00001:3822b3574dc3 | apache-2.0 | codeparrot/github-code | 3822b3574dc3bf751a086b6fba104a3c3fbd3ca6e51131a317b01cd8109803a8 | 0.95 | testing_debugging_repair_refactoring | 965 | false | 2026-07-17 |
using System.Linq;
using DotsGame.AI;
using NUnit.Framework;
namespace DotsGame.Tests
{
[TestFixture]
public class LinkedGroupTest
{
[Test]
public void Envelope_OneDot()
{
int startX = 16;
int startY = 16;
Field field = new Field(39, 32);
... | KvanTTT/Dots-Game-AI | DotsGame.Tests/LinkedGroupTest.cs | https://github.com/KvanTTT/Dots-Game-AI/blob/HEAD/DotsGame.Tests/LinkedGroupTest.cs | ghcode:00001:190c06a4e757 | apache-2.0 | codeparrot/github-code | 190c06a4e75710024080924c4d95d7df28afc56ff0abf55cb17dbc760190613c | 0.7 | testing_debugging_repair_refactoring | 1,164 | false | 2026-07-17 |
using NBi.Xml;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NBi.Xml.Variables;
using System.Xml.Serialization;
using System.IO;
using System.Diagnostics;
using NBi.Xml.Items;
using System.Reflection;
using NBi.Core.Resu... | Seddryck/NBi | NBi.Testing.Xml/Variables/Sequence/FileLoopXmlTest.cs | https://github.com/Seddryck/NBi/blob/HEAD/NBi.Testing.Xml/Variables/Sequence/FileLoopXmlTest.cs | ghcode:00001:27dba3efbf9c | apache-2.0 | codeparrot/github-code | 27dba3efbf9c5df2cee58980175a88f69adef14b71c672185c0cb96473a7497c | 0.7 | testing_debugging_repair_refactoring | 560 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.SharePoint.Client;
using Microsoft.SharePoint.Client.Publishing;
namespace OfficeDevPnP.Core.Tests.AppModelExtensions
{
[TestClass]
public class PageExtensionsTests
{
private string folder = "SitePages";
priv... | GeiloStylo/PnP | OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/AppModelExtensions/PageExtensionsTests.cs | https://github.com/GeiloStylo/PnP/blob/HEAD/OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/AppModelExtensions/PageExtensionsTests.cs | ghcode:00001:743ef96cefa7 | apache-2.0 | codeparrot/github-code | 743ef96cefa73bdce5b196c90755c3c29eb85fece59f773d7f71805fbf79a5b6 | 0.75 | testing_debugging_repair_refactoring | 1,333 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Threading.Tasks;
using MatterHackers.Agg.UI.Tests;
using MatterHackers.GuiAutomation;
using MatterHackers.MatterControl.PrintQueue;
using NUnit.Framework;
namespace MatterHackers.MatterControl.Tests.Automation
{
[TestFixture, Category("MatterControl.UI.Automation"),... | rytz/MatterControl | Tests/MatterControl.AutomationTests/FileMenuTest.cs | https://github.com/rytz/MatterControl/blob/HEAD/Tests/MatterControl.AutomationTests/FileMenuTest.cs | ghcode:00001:3f6e8b589c5d | bsd-2-clause | codeparrot/github-code | 3f6e8b589c5dc9fce2eb67e9ee6164a881d6843efa7693d1f2efbd0d121289d2 | 0.53 | testing_debugging_repair_refactoring | 961 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// Symbooglix
//
//
// Copyright 2014-2017 Daniel Liew
//
// This file is licensed under the MIT license.
// See LICENSE.txt for details.
//------------------------------------------------------------------... | symbooglix/symbooglix | src/ExprBuilderTests/SimpleExprBuilderTests/CoercionSimpleBuilder.cs | https://github.com/symbooglix/symbooglix/blob/HEAD/src/ExprBuilderTests/SimpleExprBuilderTests/CoercionSimpleBuilder.cs | ghcode:00001:6f307ecfa4b5 | bsd-2-clause | codeparrot/github-code | 6f307ecfa4b5a4a06774f887de71f7e154f4b72eb62b482df9afe3c5f2b173c3 | 0.63 | testing_debugging_repair_refactoring | 402 | false | 2026-07-17 |
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using Xunit;
namespace Moq.Tests
{
public class TimesFixture
{
[Theory]
[InlineData(0, false)]
[InlineData(1, true)]
[InlineData(in... | ocoanet/moq4 | tests/Moq.Tests/TimesFixture.cs | https://github.com/ocoanet/moq4/blob/HEAD/tests/Moq.Tests/TimesFixture.cs | ghcode:00001:3ffc504cb349 | bsd-3-clause | codeparrot/github-code | 3ffc504cb349f7f1509028602409d48024461dd89e84731a59623fc90306fc2b | 0.7 | testing_debugging_repair_refactoring | 2,235 | false | 2026-07-17 |
using Renci.SshNet.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Globalization;
using Renci.SshNet.Tests.Common;
namespace Renci.SshNet.Tests.Classes.Common
{
/// <summary>
///This is a test class for BigIntegerTest and is intended
///to contain all BigIn... | GenericHero/SSH.NET | src/Renci.SshNet.Tests/Classes/Common/BigIntegerTest.cs | https://github.com/GenericHero/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/Common/BigIntegerTest.cs | ghcode:00001:b60f8fe6bf05 | mit | codeparrot/github-code | b60f8fe6bf052aa82e8fc08b330969bfb82816a5ee8d2e6447b0c64a5b76948a | 0.57 | testing_debugging_repair_refactoring | 13,331 | false | 2026-07-17 |
using NUnit.Framework;
using L4p.Common.Loggers;
namespace L4p.Common.ForeverThreads.nunit
{
[TestFixture]
class When_thread_is_started
{
[Test]
public void It_should_be_started_within_timeout()
{
var thr = ForeverThread.New(() => { });
Assert.That(() => thr... | Kidify/L4p | L4p.Common/ForeverThreads/nunit/When_thread_is_started.cs | https://github.com/Kidify/L4p/blob/HEAD/L4p.Common/ForeverThreads/nunit/When_thread_is_started.cs | ghcode:00001:dbd59ac58121 | mit | codeparrot/github-code | dbd59ac58121a006f1039e19d9b7bd5abd172a53b26d19bab3fa8e269e4eb093 | 0.6 | testing_debugging_repair_refactoring | 214 | false | 2026-07-17 |
// Copyright (c) 2015 ZZZ Projects. All rights reserved
// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
// Website: http://www.zzzprojects.com/
// Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927
// All ZZZ Projects products: Entity Framework ... | huoxudong125/Z.ExtensionMethods | test/Z.Collections.Test/System.Collections.Generic.IEnumerable[T]/IEnumerable[T].StringJoin.cs | https://github.com/huoxudong125/Z.ExtensionMethods/blob/HEAD/test/Z.Collections.Test/System.Collections.Generic.IEnumerable[T]/IEnumerable[T].StringJoin.cs | ghcode:00001:f124627dc57b | mit | codeparrot/github-code | f124627dc57b0acdb0102d481339cdaf9cc2506230b3f1efd127f4a8b11d7b61 | 0.7 | testing_debugging_repair_refactoring | 227 | 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.IO;
using System.Net.Security;
using System... | dsplaisted/corefx | src/System.Net.Http/src/System/Net/Http/Unix/CurlHandler.cs | https://github.com/dsplaisted/corefx/blob/HEAD/src/System.Net.Http/src/System/Net/Http/Unix/CurlHandler.cs | ghcode:00001:61f1ebe71638 | mit | codeparrot/github-code | 61f1ebe7163859deecda53900b2ad662a57ccbcc4ddd7dc9914e0d96f504fafe | 0.8 | testing_debugging_repair_refactoring | 6,522 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Mathematics;
using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Running;
using JetBrains.Annotations;
using Perfolizer.Common;
using Perfolizer.Horology;
using Perfolizer.Mathematics.Common;
using ... | Ky7m/BenchmarkDotNet | src/BenchmarkDotNet/Columns/StatisticColumn.cs | https://github.com/Ky7m/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Columns/StatisticColumn.cs | ghcode:00001:ec6ea6244684 | mit | codeparrot/github-code | ec6ea6244684a3fa72aae8a25d626f015c98cf529cca16e3bedaf0541a63bc2d | 0.85 | testing_debugging_repair_refactoring | 1,866 | false | 2026-07-17 |
namespace Ocelot.UnitTests.Polly
{
using Moq;
using Ocelot.Configuration.Builder;
using Ocelot.Logging;
using Provider.Polly;
using Shouldly;
using Xunit;
public class PollyQoSProviderTests
{
[Fact]
public void should_build()
{
var options = new QoSO... | geffzhang/Ocelot | test/Ocelot.UnitTests/Polly/PollyQoSProviderTests.cs | https://github.com/geffzhang/Ocelot/blob/HEAD/test/Ocelot.UnitTests/Polly/PollyQoSProviderTests.cs | ghcode:00001:a9284ac994a4 | mit | codeparrot/github-code | a9284ac994a484efab03da86eac76fb968c153f5f13c1ebca6600d1f1c648eba | 0.75 | testing_debugging_repair_refactoring | 185 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Threading;
using System.Threading.Tasks;
using Azure.Messaging.ServiceBus;
using Microsoft.Azure.WebJobs.Host.Executors;
using NUnit.Framewo... | AsrOneSdk/azure-sdk-for-net | sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/tests/MessageProcessorTests.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/tests/MessageProcessorTests.cs | ghcode:00001:91a6dc052e76 | mit | codeparrot/github-code | 91a6dc052e76ae3d6eef4060397ffe3ce18c8f88f2f562af822b652f4ae6a080 | 0.95 | testing_debugging_repair_refactoring | 474 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Resources;
using NUnit.Framework;
using NUnit.Framework.SyntaxHelpers;
using nValid.FluentInterface;
using nValid.Framework;
using nValid.Tests.Framework;
using nValid.Tests.TestObjects;
namespace nValid.Tests.FluentInterface
{
public class SetupValidation... | leddt/nValid | src/nValid.Tests/FluentInterface/SetupValidationTests.cs | https://github.com/leddt/nValid/blob/HEAD/src/nValid.Tests/FluentInterface/SetupValidationTests.cs | ghcode:00001:8f0d07f91078 | apache-2.0 | codeparrot/github-code | 8f0d07f910783c3475a57c8b4252236644fae53d9b74431efb5792faa64be5f9 | 0.75 | testing_debugging_repair_refactoring | 1,874 | false | 2026-07-17 |
namespace Chutzpah.Models
{
public enum TemplateMode
{
/// <summary>
/// Raw html injected into the dom
/// </summary>
Raw,
/// <summary>
/// Html wrapped in a script tag
/// </summary>
Script
}
public class TemplateOption... | mmanela/chutzpah | Chutzpah/Models/TestHarnessOptions.cs | https://github.com/mmanela/chutzpah/blob/HEAD/Chutzpah/Models/TestHarnessOptions.cs | ghcode:00001:2c785e49264c | apache-2.0 | codeparrot/github-code | 2c785e49264c50af09e4a0dfad0160300dd0278aa7e68261b5a22da922ad4614 | 0.85 | testing_debugging_repair_refactoring | 175 | false | 2026-07-17 |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using FluentAssertions;
using IdentityModel;
using IdentityModel.Client;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestH... | siyo-wang/IdentityServer4 | test/IdentityServer.IntegrationTests/Clients/ExtensionGrantClient.cs | https://github.com/siyo-wang/IdentityServer4/blob/HEAD/test/IdentityServer.IntegrationTests/Clients/ExtensionGrantClient.cs | ghcode:00001:271bc0453cfd | apache-2.0 | codeparrot/github-code | 271bc0453cfd5999a37e87815502eb598e6b6266f030adf6e71c8e0294fa16ba | 0.7 | testing_debugging_repair_refactoring | 3,116 | false | 2026-07-17 |
using Bridge.Test.NUnit;
using System;
namespace Bridge.ClientTest.Exceptions
{
[Category(Constants.MODULE_ARGUMENTNULLEXCEPTION)]
[TestFixture(TestNameFormat = "ArgumentNullException - {0}")]
public class ArgumentNullExceptionTests
{
[Test]
public void TypePropertiesAreCorrect()
... | AndreyZM/Bridge | Tests/Batch1/Exceptions/ArgumentNullExceptionTests.cs | https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch1/Exceptions/ArgumentNullExceptionTests.cs | ghcode:00001:99ca1aa71b4b | apache-2.0 | codeparrot/github-code | 99ca1aa71b4be49dd8c2b26b24e7024b2d741a45ba30e694e11e914a4c6de257 | 0.75 | testing_debugging_repair_refactoring | 531 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using Bloom;
using Bloom.Book;
using Bloom.Collection;
using L10NSharp;
using NUnit.Framework;
using SIL.Extensions;
using SIL.IO;
using SIL.TestUtilities;
namespace BloomTests
{
/// <summary>
/// As yet this is a very incomplete set of tests for this class, but it... | StephenMcConnel/BloomDesktop | src/BloomTests/BloomFileLocatorTests.cs | https://github.com/StephenMcConnel/BloomDesktop/blob/HEAD/src/BloomTests/BloomFileLocatorTests.cs | ghcode:00001:508183b8a4fd | mit | codeparrot/github-code | 508183b8a4fd4554fd6c9650e682cc52acf27b1dc365fa76719e604bee059aeb | 0.85 | testing_debugging_repair_refactoring | 1,560 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2016 Charlie Poole, Rob Prouse
//
// 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 restri... | jadarnel27/nunit | src/NUnitFramework/framework/Attributes/DefaultFloatingPointToleranceAttribute.cs | https://github.com/jadarnel27/nunit/blob/HEAD/src/NUnitFramework/framework/Attributes/DefaultFloatingPointToleranceAttribute.cs | ghcode:00001:f6e2a6ce260e | mit | codeparrot/github-code | f6e2a6ce260e9e93954797ce5825a1e1cc1a6c92b0ce7a361a4dd360349d0207 | 0.7 | testing_debugging_repair_refactoring | 494 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NUnit.Framework;
using SIL.Windows.Forms.ImageGallery;
namespace SIL.Windows.Forms.Tests.ImageGallery
{
[TestFixture]
public class ArtOfReadingImageCollectionTests
{
private ArtOfReadingImageCollection _artCollection;
[SetUp]
publ... | mccarthyrb/libpalaso | SIL.Windows.Forms.Tests/ImageGallery/ArtOfReadingImageCollectionTests.cs | https://github.com/mccarthyrb/libpalaso/blob/HEAD/SIL.Windows.Forms.Tests/ImageGallery/ArtOfReadingImageCollectionTests.cs | ghcode:00001:e7efd3985b2d | mit | codeparrot/github-code | e7efd3985b2db68d62ea27383490a5f0af37ceb68b7e1a61eef3e516b984d3d7 | 0.85 | testing_debugging_repair_refactoring | 811 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using Microsoft.Languages.Core.Tokens;
namespace Microsoft.Language... | AlexanderSher/RTVS | src/Languages/Core/Test/Utility/TokensCompare.cs | https://github.com/AlexanderSher/RTVS/blob/HEAD/src/Languages/Core/Test/Utility/TokensCompare.cs | ghcode:00001:5266f43ced6b | mit | codeparrot/github-code | 5266f43ced6bd090d6033ba2166d64e0fc76f7a7b62f18748b1fd6188d35929a | 0.85 | testing_debugging_repair_refactoring | 338 | 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.Immutable;
using System.Linq;
using System.Threading;
using System.Threading... | physhi/roslyn | src/EditorFeatures/CSharpTest/NavigateTo/NavigateToSearcherTests.cs | https://github.com/physhi/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/NavigateTo/NavigateToSearcherTests.cs | ghcode:00001:b08bcc67ee5e | apache-2.0 | codeparrot/github-code | b08bcc67ee5eca710918d6bd38a5ac64995e00df2bb38de110baaa0769e04e14 | 0.85 | testing_debugging_repair_refactoring | 2,244 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.UseCompoundAss... | DustinCampbell/roslyn | src/EditorFeatures/CSharpTest/UseCompoundAssignment/UseCompoundAssignmentTests.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/UseCompoundAssignment/UseCompoundAssignmentTests.cs | ghcode:00001:9f7a7c9b776b | apache-2.0 | codeparrot/github-code | 9f7a7c9b776b35ad2d5025e81f94c84166f955cdb54a79f93f6cfd481b619429 | 0.85 | testing_debugging_repair_refactoring | 3,458 | false | 2026-07-17 |
using CodeCracker.CSharp.Style;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
using System.Threading.Tasks;
using Xunit;
namespace CodeCracker.Test.CSharp.Style
{
public class SwitchToAutoPropTests : CodeFixVerifier<SwitchToAutoPropAnalyzer, SwitchToAutoP... | jwooley/code-cracker | test/CSharp/CodeCracker.Test/Style/SwitchToAutoPropTests.cs | https://github.com/jwooley/code-cracker/blob/HEAD/test/CSharp/CodeCracker.Test/Style/SwitchToAutoPropTests.cs | ghcode:00001:33ec0f4d06f9 | apache-2.0 | codeparrot/github-code | 33ec0f4d06f91322ffaab4aabd1e224475b532bf55f168f882b779cfc26db2fc | 0.85 | testing_debugging_repair_refactoring | 4,868 | false | 2026-07-17 |
// Visual Studio Shared Project
// Copyright(c) Microsoft Corporation
// 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
//
... | Microsoft/PTVS | Common/Tests/MockVsTests/MockPeekBroker.cs | https://github.com/Microsoft/PTVS/blob/HEAD/Common/Tests/MockVsTests/MockPeekBroker.cs | ghcode:00001:ef321701642f | apache-2.0 | codeparrot/github-code | ef321701642f3150146dfd588fdd18d4f04798c373b43b6fea30dedcb5e80b78 | 0.95 | testing_debugging_repair_refactoring | 622 | false | 2026-07-17 |
// Visual Studio Shared Project
// Copyright(c) Microsoft Corporation
// 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
//
/... | int19h/PTVS | Common/Tests/SccPackage/GlobalSuppressions.cs | https://github.com/int19h/PTVS/blob/HEAD/Common/Tests/SccPackage/GlobalSuppressions.cs | ghcode:00001:86470497d617 | apache-2.0 | codeparrot/github-code | 86470497d6170dd03ce428134adff65239e4013d1d332db0308ebbc99d9f88f7 | 0.95 | testing_debugging_repair_refactoring | 284 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Net;
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.Resources.Models;
using Microsoft... | shahabhijeet/azure-sdk-for-net | src/SDKs/WebSites/WebSites.Tests/ScenarioTests/ResourceHealthMetadata.ScenarioTests.cs | https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/SDKs/WebSites/WebSites.Tests/ScenarioTests/ResourceHealthMetadata.ScenarioTests.cs | ghcode:00001:0ae6bf36ec8a | mit | codeparrot/github-code | 0ae6bf36ec8a02d8e49d0cd835dd03aa7c04b077a1a7843d58cc16196b6a4d82 | 0.75 | testing_debugging_repair_refactoring | 909 | false | 2026-07-17 |
namespace FakeItEasy.Tests
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using FakeItEasy.Configuration;
using FakeItEasy.Core;
using FakeItEasy.Creation;
using FakeItEasy.Expressions;
usin... | jamiehumphries/FakeItEasy | Source/FakeItEasy.Tests/WhereConfigurationExtensionsTests.cs | https://github.com/jamiehumphries/FakeItEasy/blob/HEAD/Source/FakeItEasy.Tests/WhereConfigurationExtensionsTests.cs | ghcode:00001:0ff8caf2d728 | mit | codeparrot/github-code | 0ff8caf2d728878dfd93e2b82a68dd3e908227466894d75e5faf34baa8cb7267 | 0.85 | testing_debugging_repair_refactoring | 420 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Sym... | brettfo/roslyn | src/Compilers/CSharp/Test/Symbol/Symbols/CustomModifiersTests.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Symbols/CustomModifiersTests.cs | ghcode:00001:54b2a0aea26c | apache-2.0 | codeparrot/github-code | 54b2a0aea26cf548a181f7e6bf80e29831b923c190195d6605289b8db2619e73 | 0.82 | testing_debugging_repair_refactoring | 26,308 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.