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) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice,... | cheng--zhang/xenadmin | XenAdminTests/TestObjectProvider.cs | https://github.com/cheng--zhang/xenadmin/blob/HEAD/XenAdminTests/TestObjectProvider.cs | ghcode:00007:46dee533d6d1 | bsd-2-clause | codeparrot/github-code | 46dee533d6d1c17a9ed4cf6812f16ceb59c85ac32320e459d2d0ef9c9247cb54 | 0.78 | testing_debugging_repair_refactoring | 2,269 | false | 2026-07-17 |
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*=============================================================================
**
** Class: Console
**
**
** Purpose: This class provides access to the standard input, standard output
** and standard error s... | NETMF/llilum | Zelig/Zelig/RunTime/Framework/mscorlib/System/Console.cs | https://github.com/NETMF/llilum/blob/HEAD/Zelig/Zelig/RunTime/Framework/mscorlib/System/Console.cs | ghcode:00007:ff79d27a53e8 | mit | codeparrot/github-code | ff79d27a53e874ffe719c2b2ebe837847e74f31e7ae3caa587aa19c868a250db | 0.57 | testing_debugging_repair_refactoring | 16,849 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2009 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | mjedrzejek/nunit | src/NUnitFramework/tests/Attributes/ValuesAttributeTests.cs | https://github.com/mjedrzejek/nunit/blob/HEAD/src/NUnitFramework/tests/Attributes/ValuesAttributeTests.cs | ghcode:00007:1b403462c6c7 | mit | codeparrot/github-code | 1b403462c6c734a98097a43313c573185d8e17c6646d0717dc410565ee0b8ae0 | 0.95 | testing_debugging_repair_refactoring | 652 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xunit;
using Xunit.Extensions;
namespace NuGet.Test.Integration.NuGetCommandLine
{
public class NuGetDeleteCommandTest
{
// Tests deleting a package from a source that is a file system directory.
[Fact]
... | anurse/NuGet | test/Test.Integration/NuGetCommandLine/NuGetDeleteCommandTest.cs | https://github.com/anurse/NuGet/blob/HEAD/test/Test.Integration/NuGetCommandLine/NuGetDeleteCommandTest.cs | ghcode:00007:63bec35990b0 | apache-2.0 | codeparrot/github-code | 63bec35990b0bee937170bb76b996810b63bc5f937db8aaea3309cea9e6cbdf5 | 0.7 | testing_debugging_repair_refactoring | 461 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using NewPackageAction = NuGet.Client.Resolution.PackageAction;
namespace NuGet.Client.Installation
{
public class UninstallActionHandler : IActionH... | mrward/NuGet.V2 | src/V3/NuGet.Client/Installation/UninstallActionHandler.cs | https://github.com/mrward/NuGet.V2/blob/HEAD/src/V3/NuGet.Client/Installation/UninstallActionHandler.cs | ghcode:00007:f5e79ca5a023 | apache-2.0 | codeparrot/github-code | f5e79ca5a02338e5948f5c71f6cda6e03fbd5d25dd36f354372d289257ae307b | 0.7 | testing_debugging_repair_refactoring | 358 | 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.Net.Test.Common;
using System.Text;
using System.Threading;
using Sys... | rahku/corefx | src/System.Net.WebSockets.Client/tests/CloseTest.cs | https://github.com/rahku/corefx/blob/HEAD/src/System.Net.WebSockets.Client/tests/CloseTest.cs | ghcode:00007:069550ab72db | mit | codeparrot/github-code | 069550ab72db6b262bc425d2c88adee043a5631312787a6da254c3ceb0f62806 | 0.95 | testing_debugging_repair_refactoring | 3,017 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen
{
... | KevinRansom/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenTryFinally.cs | https://github.com/KevinRansom/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenTryFinally.cs | ghcode:00007:70f5eac92b3e | apache-2.0 | codeparrot/github-code | 70f5eac92b3e10e5c70a0897642278ed2fb9825d873474b2c836c97a0dcdfffc | 0.82 | testing_debugging_repair_refactoring | 21,427 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// <copyright file="ConstraintEnumerator.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" pr... | sekcheong/referencesource | System.Data/System/Data/ConstraintEnumerator.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Data/System/Data/ConstraintEnumerator.cs | ghcode:00007:446f697610fb | mit | codeparrot/github-code | 446f697610fb0a754db0e68cc03793a21991220e46b448d42d93f9087a7178cd | 0.7 | testing_debugging_repair_refactoring | 729 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="LeftCellWrapper.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// @owner [....]
// @backupOwner [....]
//-----------------------------------------------------------... | sekcheong/referencesource | System.Data.Entity/System/Data/Mapping/ViewGeneration/Structures/LeftCellWrapper.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Data.Entity/System/Data/Mapping/ViewGeneration/Structures/LeftCellWrapper.cs | ghcode:00007:2c9bd1828385 | mit | codeparrot/github-code | 2c9bd182838517a7699a714eededda705ece5706dd289e7cfeb10878eba924bc | 0.7 | testing_debugging_repair_refactoring | 3,044 | 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.Security.Cryptography.Asn1;
using Test.Cryptography;
using Xunit;
namespace System.Security.Cryptogra... | Ermiar/corefx | src/System.Security.Cryptography.Encoding/tests/Asn1/Reader/ReadSequence.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.Security.Cryptography.Encoding/tests/Asn1/Reader/ReadSequence.cs | ghcode:00007:eed98077763a | mit | codeparrot/github-code | eed98077763adb6e966e6b6a5842e065d8aa297d87c977644594cd53ab6133d4 | 0.95 | testing_debugging_repair_refactoring | 3,893 | 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 Cake.Common.Tests.Fixtures.Build;
using Xunit;
namespace Cake.Common.Tests.Unit.Build.Bitrise.Data
{
pub... | phenixdotnet/cake | src/Cake.Common.Tests/Unit/Build/Bitrise/Data/BitriseWorkflowInfoTests.cs | https://github.com/phenixdotnet/cake/blob/HEAD/src/Cake.Common.Tests/Unit/Build/Bitrise/Data/BitriseWorkflowInfoTests.cs | ghcode:00007:b15bca90ab9b | mit | codeparrot/github-code | b15bca90ab9b807d4f1f416c23c65e3dc47abed65dfd1e497e08942f2bfa48eb | 0.85 | testing_debugging_repair_refactoring | 240 | 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.IO;
using System.Text;
using System.Threading;
using... | physhi/roslyn | src/Compilers/Core/Portable/Text/LargeText.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Compilers/Core/Portable/Text/LargeText.cs | ghcode:00007:24bf4117526d | apache-2.0 | codeparrot/github-code | 24bf4117526de290060000ebd422d6a49458f9a26d5ff7e63269c1dabd12bdf5 | 0.85 | testing_debugging_repair_refactoring | 2,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.
using System.Collections.Generic;
using System.Diagnostics;
using static System.Linq.Utilities;
namespace System.L... | BrennanConroy/corefx | src/System.Linq/src/System/Linq/Union.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Linq/src/System/Linq/Union.cs | ghcode:00007:7e0502b5e09e | mit | codeparrot/github-code | 7e0502b5e09e4591d253b907b1658de53cde607aa5ffa4f294af8878c1567079 | 0.95 | testing_debugging_repair_refactoring | 1,349 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Dynamic.Utils;
namespace System.Linq.Expressions.Interpreter
{
internal ... | shimingsg/corefx | src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/NotEqualInstruction.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/NotEqualInstruction.cs | ghcode:00007:bb22ab597d39 | mit | codeparrot/github-code | bb22ab597d395fbdfdd6ccba48e0df3474623221f29425f6836322f805959f27 | 0.95 | testing_debugging_repair_refactoring | 3,608 | false | 2026-07-17 |
#region License
//
// Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com>
//
// 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
/... | cpmcgrath/fluentmigrator | src/FluentMigrator.Tests/Unit/Definitions/ColumnDefinitionTests.cs | https://github.com/cpmcgrath/fluentmigrator/blob/HEAD/src/FluentMigrator.Tests/Unit/Definitions/ColumnDefinitionTests.cs | ghcode:00007:ca2052382444 | apache-2.0 | codeparrot/github-code | ca2052382444daca1b451435047fef0e06ea1a361d25ebca2c4b8de1717fdbc2 | 0.85 | testing_debugging_repair_refactoring | 499 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Shared.Extensions;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Test.Utilities;
using Xunit;
na... | bbarry/roslyn | src/EditorFeatures/Test/Extensions/ITextLineExtensionsTests.cs | https://github.com/bbarry/roslyn/blob/HEAD/src/EditorFeatures/Test/Extensions/ITextLineExtensionsTests.cs | ghcode:00007:893318754eb2 | apache-2.0 | codeparrot/github-code | 893318754eb2c18ee20d522d4941a1ec989409e7d68cf733d2f0469f33613ed4 | 0.85 | testing_debugging_repair_refactoring | 833 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.IO;
using System.Linq;
using Xunit;
namespace System.Security.Cryptography.Algorithms.Tests
{
publ... | jlin177/corefx | src/System.Security.Cryptography.Algorithms/tests/RSATests.cs | https://github.com/jlin177/corefx/blob/HEAD/src/System.Security.Cryptography.Algorithms/tests/RSATests.cs | ghcode:00007:6b90ecf703b5 | mit | codeparrot/github-code | 6b90ecf703b524ad6e309e54d79d1e75afc1cfffd322babc1186ee89fd305144 | 0.95 | testing_debugging_repair_refactoring | 2,923 | false | 2026-07-17 |
/*
* MIT License
*
* Copyright(c) 2017 Tor Esa Vestergaard
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, co... | AmartanIlmarinen/UnityAsyncRoutines | Unity Async Routines/Assets/Plugins/AsyncRoutines/Async.cs | https://github.com/AmartanIlmarinen/UnityAsyncRoutines/blob/HEAD/Unity Async Routines/Assets/Plugins/AsyncRoutines/Async.cs | ghcode:00007:7efd7a1912df | mit | codeparrot/github-code | 7efd7a1912df5ab46f3ee26895c491acf858b082fb866301339a3003b56fb677 | 0.7 | testing_debugging_repair_refactoring | 9,250 | false | 2026-07-17 |
using ApprovalTests;
using ApprovalTests.Namers;
using ApprovalTests.Reporters;
using AspNetUpgrade.Actions.ProjectJson;
using AspNetUpgrade.Model;
using NUnit.Framework;
namespace AspNetUpgrade.Tests.ProjectJson
{
[UseReporter(typeof(DiffReporter))]
[TestFixture]
public class ProjectUpgradeContextTests
... | dazinator/AspNetRC1toRC2UpgradeTool | src/AspNetUpgrade/AspNetUpgrade.Tests/ProjectJson/ProjectContextTests.cs | https://github.com/dazinator/AspNetRC1toRC2UpgradeTool/blob/HEAD/src/AspNetUpgrade/AspNetUpgrade.Tests/ProjectJson/ProjectContextTests.cs | ghcode:00007:18115553eaa1 | mit | codeparrot/github-code | 18115553eaa1297ddf9fe3d4419340708c4ebe27358cf862325a605134db0c01 | 0.75 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Schema;
using Itsg.Ostc1;
using Itsg.Ostc1.Validator;
using Xunit;
namespace Itsg.Ostc.Test
{
public class Ostc1Tests
{
private static readonly CultureInfo _cultureDe = new CultureInfo("de-DE"... | dataline-gmbh/Itsg.Ostc | test/Itsg.Ostc.Test/Ostc1Tests.cs | https://github.com/dataline-gmbh/Itsg.Ostc/blob/HEAD/test/Itsg.Ostc.Test/Ostc1Tests.cs | ghcode:00007:5d4a8e6a246f | mit | codeparrot/github-code | 5d4a8e6a246f91ca3cdff811103e8d6fe60c0a5d28c2cc7c1dadad690d01845f | 0.75 | testing_debugging_repair_refactoring | 870 | false | 2026-07-17 |
using numl.Model;
using System;
using Xunit;
namespace numl.Tests.SerializationTests.DescriptorSerialization
{
[Trait("Category", "Serialization")]
public class PropertySerializationTests : BaseSerialization
{
[Fact]
public void Standard_Property_Save_And_Load()
{
Property p = new Property();
p.Name = ... | sethjuarez/numl | Src/numl.Tests/SerializationTests/DescriptorSerialization/PropertySerializationTests.cs | https://github.com/sethjuarez/numl/blob/HEAD/Src/numl.Tests/SerializationTests/DescriptorSerialization/PropertySerializationTests.cs | ghcode:00007:126b2d298c80 | mit | codeparrot/github-code | 126b2d298c801ad9d51f9710847d983f74a756492555b47d59356f1bdd620c8a | 0.75 | testing_debugging_repair_refactoring | 955 | false | 2026-07-17 |
using NUnit.Framework;
using System.Collections.Generic;
using MockHttpServer;
using System.Net;
using System.Linq;
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
namespace Telesign.Test
{
[TestFixture]
[ExcludeFromCodeCoverage]
public class PhoneIdClientTes... | TeleSign/csharp_telesign | Telesign.Test/PhoneIdClientTest.cs | https://github.com/TeleSign/csharp_telesign/blob/HEAD/Telesign.Test/PhoneIdClientTest.cs | ghcode:00007:f79a71d71fbd | mit | codeparrot/github-code | f79a71d71fbd4e721281b3007a833bdf01fc44c916e7dd86c34bfd25f7f01103 | 0.6 | testing_debugging_repair_refactoring | 793 | false | 2026-07-17 |
using NUnit.Framework;
using JM.LinqFaster;
using System.Linq;
using System;
using static Tests.Test;
namespace Tests
{
[TestFixture]
class AggregateTests
{
[Test, Category("TEST")]
public void AggregateArray()
{
var a = intArray.AggregateF(addXInts);
... | jackmott/LinqFaster | Tests/AggregateTests.cs | https://github.com/jackmott/LinqFaster/blob/HEAD/Tests/AggregateTests.cs | ghcode:00007:51afdbbb6c19 | mit | codeparrot/github-code | 51afdbbb6c192da0840bd285e1b88fc5086ed8a18f0fb50f4a4406a8d9652824 | 0.75 | testing_debugging_repair_refactoring | 419 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using StatTag.Core.Models;
using StatTag.Core.Utility;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Core.Tests.Utility
{
[TestClass]
public class TagUtilTests
{
private readonly List<CodeFile> DistinctTags = new Li... | StatTag/StatTag | Core.Tests/Utility/TagUtilTests.cs | https://github.com/StatTag/StatTag/blob/HEAD/Core.Tests/Utility/TagUtilTests.cs | ghcode:00007:9140c412eed6 | mit | codeparrot/github-code | 9140c412eed6e9d5545abd5913e03c5651237282b6411504cdbc29f21d0bc8b8 | 0.85 | testing_debugging_repair_refactoring | 4,785 | false | 2026-07-17 |
namespace PCLCache.UnitTests.Data
{
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PCLTesting;
using System;
using System.Threading.Tasks;
[TestClass]
public class DataCacheTest
{
[TestMethod]
... | davidturneruk/PCLCache | PCLCache/PCLCache.UnitTests/DataCacheTest.cs | https://github.com/davidturneruk/PCLCache/blob/HEAD/PCLCache/PCLCache.UnitTests/DataCacheTest.cs | ghcode:00007:e2ef8346f462 | mit | codeparrot/github-code | e2ef8346f46262b22a0e86a5639afb3bbe370c4e71081a8d460df2b64002da8a | 0.7 | testing_debugging_repair_refactoring | 1,050 | 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 FluentAssertions;
using FluentAssertions.Execution;
using System;
using System.Collections.Generic;
using Sys... | wtgodbe/core-setup | src/test/HostActivationTests/DependencyResolution/DependencyResolutionCommandResultExtensions.cs | https://github.com/wtgodbe/core-setup/blob/HEAD/src/test/HostActivationTests/DependencyResolution/DependencyResolutionCommandResultExtensions.cs | ghcode:00007:a04551e386a7 | mit | codeparrot/github-code | a04551e386a773ff5b9761eb2d90968c31a4e05afc466a4d12da1833279911e9 | 0.95 | testing_debugging_repair_refactoring | 829 | 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 osuTK;
using osuTK.Graphics;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
usin... | naoey/osu | osu.Game.Tests/Visual/TestCaseIconButton.cs | https://github.com/naoey/osu/blob/HEAD/osu.Game.Tests/Visual/TestCaseIconButton.cs | ghcode:00007:817e0dbe3231 | mit | codeparrot/github-code | 817e0dbe3231af5a5510103c699b7729c54aa2642a24301fd0a2cb30a37111aa | 0.75 | testing_debugging_repair_refactoring | 672 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using csscript;
using CSScripting;
using CSScriptLib;
using Xunit;
using static System.Reflection.BindingFlags;
namespace Misc
{
/// <summary>
/// "!temp.cs" - Git: exclude 'temp.cs'
/// "!" option does not work for cs-script as git... | oleg-shilo/cs-script | src/Tests.cscs/FileParserTests.cs | https://github.com/oleg-shilo/cs-script/blob/HEAD/src/Tests.cscs/FileParserTests.cs | ghcode:00007:e46624179b3b | mit | codeparrot/github-code | e46624179b3b931a672f95e248495c832a53f011bc1402b5c02f8ae6f24bc8fb | 0.85 | testing_debugging_repair_refactoring | 1,436 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Tt195361.Casl2Simulator;
using Tt195361.Casl2Simulator.Casl2;
using Tt195361.Casl2Simulator.Common;
namespace Tt195361.Casl2SimulatorTest.Casl2
{
/// <summary>
/// <see cref="LabelTable"/> クラスの単体テストです。
/// </summary>
[TestClass]
... | tt195361/Casl2Simulator | Casl2SimulatorTest/Casl2/LabelTableTest.cs | https://github.com/tt195361/Casl2Simulator/blob/HEAD/Casl2SimulatorTest/Casl2/LabelTableTest.cs | ghcode:00007:689a1a7d111a | mit | codeparrot/github-code | 689a1a7d111af1fa61233a4aa9518263dbdfa06ee7804eb9c115f84fc6ab1f99 | 0.7 | testing_debugging_repair_refactoring | 1,298 | false | 2026-07-17 |
using CharacterGen.Domain.Tables;
using NUnit.Framework;
using TreasureGen.Items;
namespace CharacterGen.Tests.Integration.Tables.Items.Powers
{
[TestFixture]
public class Level16PowerTests : PercentileTests
{
protected override string tableName
{
get { return string.Format(Tab... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/Items/Powers/Level16PowerTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/Items/Powers/Level16PowerTests.cs | ghcode:00007:42d91b94d092 | mit | codeparrot/github-code | 42d91b94d0924313111c46ad3d21d82346ffaf4e5786c988754ba700130125fa | 0.75 | testing_debugging_repair_refactoring | 198 | false | 2026-07-17 |
using System;
using IBApi.Errors;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IBApiUnitTests
{
[TestClass]
public class ErrorCodeExtensionsTests
{
[TestMethod]
public void EnsureThatConnectionStatusRelatedWorks()
{
Assert.IsTrue(ErrorCode.MarketFarmCon... | qadmium/ibapi | IBApiUnitTests/ErrorCodeExtensionsTests.cs | https://github.com/qadmium/ibapi/blob/HEAD/IBApiUnitTests/ErrorCodeExtensionsTests.cs | ghcode:00007:7206351e57a2 | mit | codeparrot/github-code | 7206351e57a27c8b8025f5e169c277ff7ac10397efcea0a97f1fc2fa76dc2ff1 | 0.75 | testing_debugging_repair_refactoring | 199 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using NSubstitute;
using Xunit;
namespace EasyNetQ.Tests;
public class NonGenericRpcExtensionsTests
{
private readonly Action<IRequestConfiguration> configure = _ => { };
private readonly IRpc rpc;
public NonGener... | EasyNetQ/EasyNetQ | Source/EasyNetQ.Tests/NonGenericRpcExtensionsTests.cs | https://github.com/EasyNetQ/EasyNetQ/blob/HEAD/Source/EasyNetQ.Tests/NonGenericRpcExtensionsTests.cs | ghcode:00007:fe89828ec130 | mit | codeparrot/github-code | fe89828ec1305bb2c36e359fe2c12dae06939b10d9bea4cf9ccfe734ff0edd25 | 0.75 | testing_debugging_repair_refactoring | 502 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace Elekto.Threading.Tasks
{
/// <summary>
/// Classe para execução em paralelo de uma grande quantidade de pequenas tarefas (exemplo: Simulação Monte-Carlo)
/// </summary>
public static class LongParallelWork
{
//... | elekto-com-br/long-parallel-work | LongParallelWork.cs | https://github.com/elekto-com-br/long-parallel-work/blob/HEAD/LongParallelWork.cs | ghcode:00007:93286669b8ef | mit | codeparrot/github-code | 93286669b8ef5f1a6f5d32f5320f73f20809222d58c080d3c1a067448331a889 | 0.7 | testing_debugging_repair_refactoring | 1,389 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using FluentAssertions;
using Spiffy.Monitoring;
using Kekiri.Xunit;
namespace UnitTests
{
public class EventContextCreation : Scenarios
{
[Scenario]
public void Implicit_creation()
{
... | chris-peterson/Spiffy | tests/UnitTests/EventContextTests.cs | https://github.com/chris-peterson/Spiffy/blob/HEAD/tests/UnitTests/EventContextTests.cs | ghcode:00007:c759825e11d9 | mit | codeparrot/github-code | c759825e11d9f478dd3cc4ed249c1de3e959683539115adc9fc33346580a874a | 0.75 | testing_debugging_repair_refactoring | 2,185 | false | 2026-07-17 |
using System.Linq;
namespace FluentMethods.UnitTests
{
public partial class QueryableFixture
{
#if NetCore
[Xunit.Fact]
#else
[NUnit.Framework.Test]
#endif
public void Paginate()
{
var query = new[] { "Fizz", "Buzz", "Foo" }.AsQueryable();
... | edwardmeng/FluentMethods | test/Core/System.Linq.IQueryable[T]/Paginate.cs | https://github.com/edwardmeng/FluentMethods/blob/HEAD/test/Core/System.Linq.IQueryable[T]/Paginate.cs | ghcode:00007:1d9fd9bca8d6 | mit | codeparrot/github-code | 1d9fd9bca8d644ed0173fd2560257b811ed783980988d5d3301ce65819008684 | 0.6 | testing_debugging_repair_refactoring | 111 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Configuration;
using Kassandra.Connector.Sql.Factories;
using Kassandra.Connector.Sql.Test.Model;
using Kassandra.Core;
using Kassandra.Core.Components;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Kassandra.Connector.Sql.Test
{
[TestClass]
publi... | Zwedze/Kassandra | Kassandra/Kassandra.Connector.Sql.Test/SampleRequests.cs | https://github.com/Zwedze/Kassandra/blob/HEAD/Kassandra/Kassandra.Connector.Sql.Test/SampleRequests.cs | ghcode:00007:fbd8db2b2065 | mit | codeparrot/github-code | fbd8db2b206562a4345a34e556d5fa852e77ce323bfec2e992e22b546d8f8ac6 | 0.7 | testing_debugging_repair_refactoring | 293 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Reflection;
using Autofac.Core.Activators.Reflection;
using Xunit;
namespace Autofac.Test.Core.Activators.Reflection
{
public class DefaultConstructorFinderTests
{
internal class HasConstructors
{
public HasConstructors()
{
... | laizhan/autofac | test/Autofac.Test/Core/Activators/Reflection/DefaultConstructorFinderTests.cs | https://github.com/laizhan/autofac/blob/HEAD/test/Autofac.Test/Core/Activators/Reflection/DefaultConstructorFinderTests.cs | ghcode:00007:e2744c8cfbbb | mit | codeparrot/github-code | e2744c8cfbbbd42718cff87508968a6509451f7b83487222b3057c2c0775785c | 0.75 | testing_debugging_repair_refactoring | 261 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using OpenSource.Data.HashFunction.Blake2;
using System.Text;
using Xunit;
namespace OpenSource.Data.HashFunction.Test.Blake2
{
public class Blake2BFactory_Tests
{
[Fact]
public void Blake2BFactory_Instance_IsDefined()
{
Asser... | brandondahler/Data.HashFunction | src/OpenSource.Data.HashFunction.Test/Blake2/Blake2BFactory_Tests.cs | https://github.com/brandondahler/Data.HashFunction/blob/HEAD/src/OpenSource.Data.HashFunction.Test/Blake2/Blake2BFactory_Tests.cs | ghcode:00007:a669e0544b91 | mit | codeparrot/github-code | a669e0544b91d5ee7da3137427b953d1d5b12f9fec1a01c07f33845fb293f887 | 0.75 | testing_debugging_repair_refactoring | 577 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Groups;
namespace Groups_Test
{
[TestClass]
public class CayleyTable_Test
{
private static CayleyTable Trivial;
private static CayleyTable C2;
private static CayleyTable C3;
[ClassInitialize]
p... | Lexski/GRAM | Groups_Test/CayleyTable_Test.cs | https://github.com/Lexski/GRAM/blob/HEAD/Groups_Test/CayleyTable_Test.cs | ghcode:00007:6cb4b6dd8772 | mit | codeparrot/github-code | 6cb4b6dd8772be4d662146992400bb2b59bdcb220cf0fe12eed8b92fb3e0eb36 | 0.6 | testing_debugging_repair_refactoring | 2,942 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Gnu.MP.BrickCoinProtocol.Tests
{
public class bip32_tests
{
class TestDerivation
{
public string pub;
public string prv;
public uint nChild;
};
class TestVec... | thepunctuatedhorizon/BrickCoinAlpha.0.0.1 | GnuMP.Tests/Gnu.MP.Tests/Tests/bip32_tests.cs | https://github.com/thepunctuatedhorizon/BrickCoinAlpha.0.0.1/blob/HEAD/GnuMP.Tests/Gnu.MP.Tests/Tests/bip32_tests.cs | ghcode:00007:4a156be82b0c | mit | codeparrot/github-code | 4a156be82b0c2de44cb62db40d7e3306d414aeee00ae46dd0273f891a8245fe6 | 0.95 | testing_debugging_repair_refactoring | 4,485 | 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 Azure.Core.Pipeline;
using Azure.Core.Samples;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.Core.Tests
{
[NonParalleliz... | AsrOneSdk/azure-sdk-for-net | sdk/core/Azure.Core/tests/ClientOptionsTests.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/core/Azure.Core/tests/ClientOptionsTests.cs | ghcode:00007:1404b3395697 | mit | codeparrot/github-code | 1404b3395697f1db6abf2adab229301f7fa25338f7fba0bd239dfc2d003a7462 | 0.85 | testing_debugging_repair_refactoring | 1,406 | false | 2026-07-17 |
using System.Text;
using Mechanical3.DataStores;
using Mechanical3.DataStores.Xml;
using NUnit.Framework;
namespace Mechanical3.Tests.DataStores.Xml
{
[TestFixture(Category = "DataStores")]
public static class XmlFileFormatWriterTests
{
#region Private Methods
private static string ToStri... | MechanicalMen/Mechanical3 | source/Mechanical3.Tests/DataStores/Xml/XmlFileFormatWriterTests.cs | https://github.com/MechanicalMen/Mechanical3/blob/HEAD/source/Mechanical3.Tests/DataStores/Xml/XmlFileFormatWriterTests.cs | ghcode:00007:7aea2f7d1c99 | mit | codeparrot/github-code | 7aea2f7d1c998ae1ecf9bfd7bfe76e3f7ee00d162bb271b41d00c2b13e0d6ba7 | 0.75 | testing_debugging_repair_refactoring | 370 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using CodeUtopia.Domain;
using CodeUtopia.Messages;
using NUnit.Framework;
namespace Tests.CodeUtopia.Domain
{
public class When_clearing_the_changes : AggregateTestFixture<TodoList>
{
protected override IReadOnlyCollection<IDomainEvent> GivenEvents()
... | andrewgunn/CodeUtopia | Tests.CodeUtopia/Domain/AggregateTests.cs | https://github.com/andrewgunn/CodeUtopia/blob/HEAD/Tests.CodeUtopia/Domain/AggregateTests.cs | ghcode:00007:c2a04c7bb070 | mit | codeparrot/github-code | c2a04c7bb070ea68f2f145f1c7679ce909d40d0c4f0aeff10c8ad97efa197ccb | 0.75 | testing_debugging_repair_refactoring | 614 | false | 2026-07-17 |
using System.Linq;
using ApprovalUtilities.Utilities;
using ConsoleToolkit.ConsoleIO.ReportDefinitions;
using NUnit.Framework;
namespace ConsoleToolkitTests.ConsoleIO.Internal.ReportDefinitions
{
[TestFixture]
public class TestReportParameters
{
#region Test types
class TestRec
{
... | jamie-davis/ConsoleTools | ConsoleToolkitTests/ConsoleIO/Internal/ReportDefinitions/TestReportParameters.cs | https://github.com/jamie-davis/ConsoleTools/blob/HEAD/ConsoleToolkitTests/ConsoleIO/Internal/ReportDefinitions/TestReportParameters.cs | ghcode:00007:4ad7ef9aa040 | mit | codeparrot/github-code | 4ad7ef9aa040d1237d2bae56146802738c7f0b247ee1d2dc1b79cccd2c7c4754 | 0.85 | testing_debugging_repair_refactoring | 602 | false | 2026-07-17 |
using Funq;
using ServiceStack.Auth;
using ServiceStack.Authentication.Azure.OrmLite;
using ServiceStack.Authentication.Azure.ServiceModel;
using ServiceStack.Authentication.Azure.ServiceModel.Entities;
using ServiceStack.Authentication.Azure20.Tests;
using ServiceStack.Data;
using ServiceStack.OrmLite;
namespace Serv... | ticky74/ServiceStack.Authentication.Azure | src/ServiceStack.Authentication.Azure.Tests/TestAppHost.cs | https://github.com/ticky74/ServiceStack.Authentication.Azure/blob/HEAD/src/ServiceStack.Authentication.Azure.Tests/TestAppHost.cs | ghcode:00007:8e1716fd097f | mit | codeparrot/github-code | 8e1716fd097f33dc672f660eed9a8e3b2e08a5091497060a8e561e6d93d41c65 | 0.75 | testing_debugging_repair_refactoring | 328 | false | 2026-07-17 |
using System.Collections.Generic;
using GeneticSharp.Domain.Chromosomes;
using GeneticSharp.Domain.Populations;
using GeneticSharp.Domain.Reinsertions;
using NUnit.Framework;
using Rhino.Mocks;
namespace GeneticSharp.Domain.UnitTests.Reinsertions
{
[TestFixture()]
[Category("Reinsertions")]
public class P... | dfxglr/GeneticSharp | src/GeneticSharp.Domain.UnitTests/Reinsertions/PureReinsertionTest.cs | https://github.com/dfxglr/GeneticSharp/blob/HEAD/src/GeneticSharp.Domain.UnitTests/Reinsertions/PureReinsertionTest.cs | ghcode:00007:ed1e7a528fcf | mit | codeparrot/github-code | ed1e7a528fcf01011d4637720e478053302a42484ae0c5756b7be9f8bc538850 | 0.6 | testing_debugging_repair_refactoring | 307 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DocsBr.Validation.IE;
namespace DocsBr.Tests
{
[TestClass]
public class IEParanaValidatorTests : IEValidatorTests
{
private static string[] validValues =
{
"123.45678-50", "099.00004-09", "826.01749-09", "902.33203-01"... | martinusso/docsbr.net | DocsBr.Tests/IEParanaValidatorTests.cs | https://github.com/martinusso/docsbr.net/blob/HEAD/DocsBr.Tests/IEParanaValidatorTests.cs | ghcode:00007:43eccbb9fb0c | mit | codeparrot/github-code | 43eccbb9fb0cdffa48ded36eed1993b9d94aef4d5c6ba412a53c6795e3163019 | 0.75 | testing_debugging_repair_refactoring | 198 | false | 2026-07-17 |
using System.Linq;
using Nancy.Hal.Configuration;
using Nancy.Hal.Processors;
using Nancy.Serialization.JsonNet;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using ServiceStack.Text;
using Xunit;
using System;
using System.Collections.Generic;
using System.IO;
using Nancy.Responses;
using Nancy.Response... | cgourlay/Nancy.Hal | src/Nancy.Hal.Tests/JsonResponseProcessorTests.cs | https://github.com/cgourlay/Nancy.Hal/blob/HEAD/src/Nancy.Hal.Tests/JsonResponseProcessorTests.cs | ghcode:00007:f9eb3a0c9903 | mit | codeparrot/github-code | f9eb3a0c99037a0135c21e1a1c86e32f375cd26d73098f7f520b15bd32a963be | 0.85 | testing_debugging_repair_refactoring | 2,956 | false | 2026-07-17 |
#region Licence
/* The MIT License (MIT)
Copyright © 2014 Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitat... | dstockhammer/Brighter | tests/Paramore.Brighter.Tests/CommandProcessors/When_Building_A_Pipeline_Allow_ForiegnAttribues.cs | https://github.com/dstockhammer/Brighter/blob/HEAD/tests/Paramore.Brighter.Tests/CommandProcessors/When_Building_A_Pipeline_Allow_ForiegnAttribues.cs | ghcode:00007:f13f49c4fb59 | mit | codeparrot/github-code | f13f49c4fb595645697933b232f40cc9a4dfa93606175c296c553f003359c930 | 0.6 | testing_debugging_repair_refactoring | 540 | false | 2026-07-17 |
/*******************************************************************************
The MIT License (MIT)
Copyright (c) 2015-2017 Daiki Sakamoto
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 Softwa... | buildlet/Utilities | Projects/Utilities/BUILDLet.UtilitiesTests/AssemblyCustomAttributesTests.cs | https://github.com/buildlet/Utilities/blob/HEAD/Projects/Utilities/BUILDLet.UtilitiesTests/AssemblyCustomAttributesTests.cs | ghcode:00007:ddf2f0417474 | mit | codeparrot/github-code | ddf2f04174744e21e0122743945063ed3873251d10922bc24328d389ac8776c7 | 0.85 | testing_debugging_repair_refactoring | 871 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
using Utilities;
using System.Linq;
namespace TestUtilities {
[TestFixture]
public class TestExtension {
[Test]
public void TestForeach() {
int[] ia = { 1, 1, 1, 1 };
int count = 0;
ia.ForEach( i => count += i );
Assert.AreEqua... | overmind900/Utilities | TestUtilities/TestExtension.cs | https://github.com/overmind900/Utilities/blob/HEAD/TestUtilities/TestExtension.cs | ghcode:00007:3901eb2fa120 | mit | codeparrot/github-code | 3901eb2fa120915f5662c94883621e169bad5ebe3766d96ffe275182fec2f2cb | 0.75 | testing_debugging_repair_refactoring | 135 | false | 2026-07-17 |
using DataTableMapper.Attributes;
using NUnit.Framework;
using System.Data;
using System.Linq;
namespace DataTableMapper.Tests.DataTableMapTo
{
[TestFixture]
public class DataTableMapToClassUsingColumnMappingAttribute
{
[Test]
public void PropertyNameMappingTest()
{
//A... | podgito/DataTableMapper | DataTableMapper.Tests/DataTableMapTo/DataTableMapToClassUsingColumnMappingAttribute.cs | https://github.com/podgito/DataTableMapper/blob/HEAD/DataTableMapper.Tests/DataTableMapTo/DataTableMapToClassUsingColumnMappingAttribute.cs | ghcode:00007:1e51b1855e64 | mit | codeparrot/github-code | 1e51b1855e6421c5b393ff613cacce3b818fe0ea29a0cb5d388e4bc3509ec1ca | 0.7 | testing_debugging_repair_refactoring | 467 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Get.Episodes.Json.Reader
{
using FluentAssertions;
using System.IO;
using System.Threading.Tasks;
using TestUtils;
using Traits;
using TraktApiSharp.Objects.Get.Episodes.Json.Reader;
using Xunit;
[Category("Objects.Get.Episodes.JsonReader")]
pu... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Get/Episodes/Json/Reader/EpisodeTranslationObjectJsonReader/EpisodeTranslationObjectJsonReader_Stream_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Get/Episodes/Json/Reader/EpisodeTranslationObjectJsonReader/EpisodeTranslationObjectJsonReader_Stream_Tests.cs | ghcode:00007:0878a976012f | mit | codeparrot/github-code | 0878a976012f9322703f09765289afe9289bb8fe1f0eec7bde84ad7248a9a0b7 | 0.85 | testing_debugging_repair_refactoring | 1,970 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | pushrbx/squidex | tests/Squidex.Domain.Apps.Core.Tests/Operations/ValidateContent/StringFieldTests.cs | https://github.com/pushrbx/squidex/blob/HEAD/tests/Squidex.Domain.Apps.Core.Tests/Operations/ValidateContent/StringFieldTests.cs | ghcode:00007:67dacdfd793e | mit | codeparrot/github-code | 67dacdfd793e7591db6cb96ec2643338cdf49687d83a355a07eb3ce5eadb7ddd | 0.85 | testing_debugging_repair_refactoring | 710 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using static System.Console;
namespace Examples.Purity.ListFormatter.Static
{
public static class ListFormatter
{
static int counter;
static string PrependCounter(string s) => $"{++counter}. {s}";
public static... | la-yumba/functional-csharp-code | Examples/Chapter02/ListFormatter/ListFormatter_Static.cs | https://github.com/la-yumba/functional-csharp-code/blob/HEAD/Examples/Chapter02/ListFormatter/ListFormatter_Static.cs | ghcode:00007:7648efc9b375 | mit | codeparrot/github-code | 7648efc9b37562f0cee371a479e049280a8d100efa2f8978e57c08208ab5e938 | 0.6 | testing_debugging_repair_refactoring | 417 | false | 2026-07-17 |
using System.Collections.Generic;
using Moq;
using NUnit.Framework;
using OpenQA.Selenium;
using Sonneville.FidelityWebDriver.Positions.DetailExtractors;
using Sonneville.FidelityWebDriver.Utilities;
namespace Sonneville.FidelityWebDriver.Tests.Positions.DetailExtractors
{
[TestFixture]
public class PositionT... | SonnevilleJ/FidelityWebDriver | FidelityWebDriver.Tests/Positions/DetailExtractors/PositionTotalGainExtractorTests.cs | https://github.com/SonnevilleJ/FidelityWebDriver/blob/HEAD/FidelityWebDriver.Tests/Positions/DetailExtractors/PositionTotalGainExtractorTests.cs | ghcode:00007:41dcf1f52f3d | mit | codeparrot/github-code | 41dcf1f52f3dada9790b505fdc1acfab218f057fff87a0fee0643854cac3aa22 | 0.75 | testing_debugging_repair_refactoring | 620 | false | 2026-07-17 |
using BellRichM.Logging;
namespace BellRichM.Helpers.Test
{
public class EventLoggingData
{
public EventLoggingData(EventId id, string message)
{
Id = id;
Message = message;
}
public EventId Id { get; }
public string Message { get; }
}
} | bellrichm/weather | api/test/BellRichM.Helpers.Test/EventLoggingData.cs | https://github.com/bellrichm/weather/blob/HEAD/api/test/BellRichM.Helpers.Test/EventLoggingData.cs | ghcode:00007:fb0f862b5aaa | mit | codeparrot/github-code | fb0f862b5aaa69fc611bcfa8c234f67be97e43025db4d3acaf4943b82db2bd3f | 0.85 | testing_debugging_repair_refactoring | 69 | false | 2026-07-17 |
using FluentAssertions;
using Stankins.FileOps;
using Stankins.Interfaces;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Stankins.XML;
using Xbehave;
using Xunit;
using static System.Environment;
namespace S... | ignatandrei/stankins | stankinsv2/solution/StankinsV2/StankinsTestXUnit/TestReceiverXML.cs | https://github.com/ignatandrei/stankins/blob/HEAD/stankinsv2/solution/StankinsV2/StankinsTestXUnit/TestReceiverXML.cs | ghcode:00007:0e947981718a | mit | codeparrot/github-code | 0e947981718ad182e40a1d2d734a7391efa6e414c70f56d047ac747d1ac5ec67 | 0.85 | testing_debugging_repair_refactoring | 775 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.Xml;
using System.IO;
using Moq;
using netlint.framework;
namespace netlint.tests.ProjectFileReaderTests
{
[TestFixture]
class when_reading_projects
{
private List<string> clea... | tkellogg/NetLint | netlint.tests/ProjectFileReaderTests/when_reading_projects.cs | https://github.com/tkellogg/NetLint/blob/HEAD/netlint.tests/ProjectFileReaderTests/when_reading_projects.cs | ghcode:00007:9cd83dbbcd5f | mit | codeparrot/github-code | 9cd83dbbcd5f93e0888d0ace41f47eb76728ee60f31ba9175165fdcedf161225 | 0.6 | testing_debugging_repair_refactoring | 741 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Recipes.SingleColumn;
namespace Recipes.Chain.SingleColumn
{
[TestClass]
public class SingleColumnTests : Recipes.SingleColumn.SingleColumnTests
{
protected override ISingleColumnScenario GetScenario()
{
return new Singl... | Grauenwolf/DotNet-ORM-Cookbook | ORM Cookbook/Recipes.Tortuga.Chain/SingleColumn/SingleColumnTests.cs | https://github.com/Grauenwolf/DotNet-ORM-Cookbook/blob/HEAD/ORM Cookbook/Recipes.Tortuga.Chain/SingleColumn/SingleColumnTests.cs | ghcode:00007:df15cbff5969 | unlicense | codeparrot/github-code | df15cbff5969c054add2b55ac19eca6d4c0d01e10dffe7f2889511d12c459216 | 0.68 | testing_debugging_repair_refactoring | 66 | false | 2026-07-17 |
//--------------------------------------------------------------- @License begins
// "DependencyResolver"
// 2015 Leopoldo Lomas Flores. Torreon, Coahuila. MEXICO
// leopoldolomas [at] gmail
// www.leopoldolomas.info
//
// This is free and unencumbered software released into the public domain.
//
// Anyone is free t... | leopoldolomas/DependencyResolver | DependencyResolverTests/Tutorial02a.cs | https://github.com/leopoldolomas/DependencyResolver/blob/HEAD/DependencyResolverTests/Tutorial02a.cs | ghcode:00007:97414fefffe4 | unlicense | codeparrot/github-code | 97414fefffe4ab15c63b977415533872bfe52e82f305bfb3b9000b068edfb5a9 | 0.63 | testing_debugging_repair_refactoring | 656 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KallynGowdy.ParserGenerator.Parsers;
namespace KallynGowdy.ParserGenerator.Tests
{
/// <summary>
/// Tests for syntax trees.
/// </summary>
public class SyntaxTreeTests
{
public void Test_... | KallynGowdy/Parser.Net | src/test/KallynGowdy.ParserGenerator.Tests/SyntaxTreeTests.cs | https://github.com/KallynGowdy/Parser.Net/blob/HEAD/src/test/KallynGowdy.ParserGenerator.Tests/SyntaxTreeTests.cs | ghcode:00007:9ba47444723a | apache-2.0 | codeparrot/github-code | 9ba47444723af141d2d3d7f19f29d5d19784e25d759437f7ea0179e3b221e01e | 0.95 | testing_debugging_repair_refactoring | 105 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Mvc;
namespace RoutingWebSite
{
public class LG2Controller : Controller
{
public void SomeAction()
{
}
}
}
| aspnet/AspNetCore | src/Mvc/test/WebSites/RoutingWebSite/Controllers/LG2Controller.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LG2Controller.cs | ghcode:00007:a6f712efd259 | apache-2.0 | codeparrot/github-code | a6f712efd259cb675107c782dda4553cce74f305393ae5a176712e89fc585377 | 0.85 | testing_debugging_repair_refactoring | 63 | false | 2026-07-17 |
#region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THI... | gigya/microdot | tests/Gigya.Microdot.ServiceContract.UnitTests/ServiceSchemaTests.cs | https://github.com/gigya/microdot/blob/HEAD/tests/Gigya.Microdot.ServiceContract.UnitTests/ServiceSchemaTests.cs | ghcode:00007:53c666c98195 | apache-2.0 | codeparrot/github-code | 53c666c98195aefbac6c049d46279bf8598ac331c34fc186c2f33a66debb116a | 0.85 | testing_debugging_repair_refactoring | 1,748 | 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 IdentityServer4.Configuration;
using IdentityServer4.Validation;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Dependen... | IdentityServer/IdentityServer4 | src/IdentityServer4/test/IdentityServer.IntegrationTests/Clients/Setup/Startup.cs | https://github.com/IdentityServer/IdentityServer4/blob/HEAD/src/IdentityServer4/test/IdentityServer.IntegrationTests/Clients/Setup/Startup.cs | ghcode:00007:8d00299d8e40 | apache-2.0 | codeparrot/github-code | 8d00299d8e40ec282d9bb79dd9cd1d207df89d6187d435b095ed67d416f1d7dd | 0.95 | testing_debugging_repair_refactoring | 393 | false | 2026-07-17 |
/*
* Copyright 2014 Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | kave-cc/csharp-commons | KaVE.Commons.Tests/Utils/ObjectUsageExport/UsageExtractorTestSuite/MissingInformationTest.cs | https://github.com/kave-cc/csharp-commons/blob/HEAD/KaVE.Commons.Tests/Utils/ObjectUsageExport/UsageExtractorTestSuite/MissingInformationTest.cs | ghcode:00007:db8128a9e476 | apache-2.0 | codeparrot/github-code | db8128a9e476e2e289fd445aefd2bf4625774be72ec45f6227bc057879d0c7ec | 0.7 | testing_debugging_repair_refactoring | 602 | 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.Reflection.Metadata;
using System.Reflection.Metada... | akrisiun/roslyn | src/Compilers/Core/Portable/PEWriter/CustomDebugInfoWriter.cs | https://github.com/akrisiun/roslyn/blob/HEAD/src/Compilers/Core/Portable/PEWriter/CustomDebugInfoWriter.cs | ghcode:00007:ee9bf828edf9 | apache-2.0 | codeparrot/github-code | ee9bf828edf9dc31bd88a6470f6d60f4342c6b66d32034b30a361e84034045fd | 0.85 | testing_debugging_repair_refactoring | 2,160 | false | 2026-07-17 |
using System.Linq;
using MbUnit.Framework;
namespace Lix.Commons.Tests.PagedResult.when_the_result_set_has_zero_items
{
[TestFixture]
public class and_the_total_items_is_zero
{
private Commons.PagedResult pagedResult;
[SetUp]
public void SetUp()
{
... | lukesmith/lix | src/Lix.Commons.Tests/PagedResult/when_the_result_set_has_zero_items/and_the_total_items_is_zero.cs | https://github.com/lukesmith/lix/blob/HEAD/src/Lix.Commons.Tests/PagedResult/when_the_result_set_has_zero_items/and_the_total_items_is_zero.cs | ghcode:00007:02035ae2bc1a | bsd-3-clause | codeparrot/github-code | 02035ae2bc1a4c4a2e44bb2c037db9a42f0bb8358d3f98d87ba1e940b03b2e8d | 0.6 | testing_debugging_repair_refactoring | 277 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using FluentNHibernate.Automapping;
using FluentNHibernate.Testing.Automapping;
using NUnit.Framework;
namespace FluentNHibernate.Testing.AutoMapping.Apm.Conventions
{
[TestFixture]
public class HasManyToManyConventionTests
{
[Test]
... | MiguelMadero/fluent-nhibernate | src/FluentNHibernate.Testing/AutoMapping/Apm/Conventions/HasManyToManyConventionTests.cs | https://github.com/MiguelMadero/fluent-nhibernate/blob/HEAD/src/FluentNHibernate.Testing/AutoMapping/Apm/Conventions/HasManyToManyConventionTests.cs | ghcode:00007:c5a5fa1c3d7c | bsd-3-clause | codeparrot/github-code | c5a5fa1c3d7c88366c85c35e8458628c96a7a926d5c9faca642eeb9134403377 | 0.75 | testing_debugging_repair_refactoring | 250 | 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.Collections.Generic;
using System.Reflection;
namespace Moq.Tests
{
public static class ReflectionExtensions
{
public static IEnumerable<Me... | ocoanet/moq4 | tests/Moq.Tests/ReflectionExtensions.cs | https://github.com/ocoanet/moq4/blob/HEAD/tests/Moq.Tests/ReflectionExtensions.cs | ghcode:00007:86923fc01b17 | bsd-3-clause | codeparrot/github-code | 86923fc01b1756822baee3963ce79cc7e9b4769d6eb9b0a5b727a5a2214f5b95 | 0.6 | testing_debugging_repair_refactoring | 119 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// <copyright file="ContinuousFuturesBrokerTest.cs" company="">
// Copyright 2014 Alexander Soffronow Pagonidis
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Collections.G... | underwater/qdms | QDMSTest/QDMSServer/ContinuousFuturesBrokerTest.cs | https://github.com/underwater/qdms/blob/HEAD/QDMSTest/QDMSServer/ContinuousFuturesBrokerTest.cs | ghcode:00007:9ce0efb1d7ee | bsd-3-clause | codeparrot/github-code | 9ce0efb1d7ee20097244a28fe8dcca6987b5a9b324c7c6ab433d75d7fd661ac4 | 0.57 | testing_debugging_repair_refactoring | 37,140 | false | 2026-07-17 |
using UnityEngine;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace StrumpyShaderEditor
{
[DataContract(Namespace = "http://strumpy.net/ShaderEditor/")]
[NodeMetaData("MxM", "Operation", typeof(MxMNode),"Multiply a matrix by another matrix. For use with vertex shaders primarily, rela... | stramit/SSE | ShaderEditor/Assets/StrumpyShaderEditor/Editor/Graph/Nodes/Operations/MxMNode.cs | https://github.com/stramit/SSE/blob/HEAD/ShaderEditor/Assets/StrumpyShaderEditor/Editor/Graph/Nodes/Operations/MxMNode.cs | ghcode:00007:4fd9012ec3a7 | mit | codeparrot/github-code | 4fd9012ec3a7af87b00d6069c0385f3641b4f817eafe7513b90f988041c4df9f | 0.6 | testing_debugging_repair_refactoring | 536 | 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.Numerics;
using NUnit.Framework;
using osu.Framework.Graphics;
namespace osu.Framework.Tests.Graphics
{
[TestFixture]
public class Col... | ppy/osu-framework | osu.Framework.Tests/Graphics/ColourTest.cs | https://github.com/ppy/osu-framework/blob/HEAD/osu.Framework.Tests/Graphics/ColourTest.cs | ghcode:00007:e9100b4c2dcb | mit | codeparrot/github-code | e9100b4c2dcbbcfd9cc5d64c43018bdfacb458ca4f63d74e04f162c518358dfd | 0.7 | testing_debugging_repair_refactoring | 4,371 | false | 2026-07-17 |
using NUnit.Framework;
namespace FileHelpers.Tests.CommonTests
{
[TestFixture]
public class Trimming
{
[Test]
public void TrimLeft()
{
var engine = new FileHelperEngine<TrimClass>();
var res = TestCommon.ReadTest<TrimClass>(engine, "Good", "Trim1... | MarcosMeli/FileHelpers | FileHelpers.Tests/Tests/Common/Trimming.cs | https://github.com/MarcosMeli/FileHelpers/blob/HEAD/FileHelpers.Tests/Tests/Common/Trimming.cs | ghcode:00007:c910c48b6c39 | mit | codeparrot/github-code | c910c48b6c39547e4450fe35dac9d9267cc02a822c8a480b2173d17fff34be0e | 0.85 | testing_debugging_repair_refactoring | 813 | 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.Linq.... | mafiya69/corefx | src/Common/src/System/Dynamic/Utils/ExpressionUtils.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/Common/src/System/Dynamic/Utils/ExpressionUtils.cs | ghcode:00007:3aed6986ca69 | mit | codeparrot/github-code | 3aed6986ca692107410869f79596f083d0cbf1d5cfec12ed29acd4fc4fda7c74 | 0.95 | testing_debugging_repair_refactoring | 1,661 | 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 DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Wordprocessing;
using NSubstitute;
using System.IO;
using Xunit;
namespace DocumentFormat.OpenXml... | ThomasBarnekow/Open-XML-SDK | test/DocumentFormat.OpenXml.Framework.Tests/Features/FeaturesInOpenXmlPartContainerTests.cs | https://github.com/ThomasBarnekow/Open-XML-SDK/blob/HEAD/test/DocumentFormat.OpenXml.Framework.Tests/Features/FeaturesInOpenXmlPartContainerTests.cs | ghcode:00007:111592dd785e | mit | codeparrot/github-code | 111592dd785e4da5bc2d1ee221db47b056ec871be6a9b23e2422751c2b739fd4 | 0.85 | testing_debugging_repair_refactoring | 822 | false | 2026-07-17 |
//
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | ahosnyms/azure-sdk-for-net | src/ResourceManagement/RecoveryServices.Backup/RecoveryServices.Backup.Tests/ScenarioTests/ItemScenarioTests.cs | https://github.com/ahosnyms/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/RecoveryServices.Backup/RecoveryServices.Backup.Tests/ScenarioTests/ItemScenarioTests.cs | ghcode:00007:7ded6ec8e9bb | mit | codeparrot/github-code | 7ded6ec8e9bbd67d602c8e5f79759637e6845bcab85461a79c5b8ec2c8d21494 | 0.85 | testing_debugging_repair_refactoring | 930 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2007 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, inclu... | jnm2/nunit | src/NUnitFramework/framework/Internal/TestFilter.cs | https://github.com/jnm2/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/TestFilter.cs | ghcode:00007:c66c7c45161d | mit | codeparrot/github-code | c66c7c45161de3a8f6c81cf5c10901a7e4a1e3aa8bc588f4f8bcef1a7805ab7b | 0.85 | testing_debugging_repair_refactoring | 1,804 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.Mlt1
{
public partial class Mlt1YamlTests
{
[NCrunch.Framework.ExclusivelyUses("Elasticse... | NickCraver/NEST | src/Tests/Elasticsearch.Net.Integration.Yaml/mlt/10_basic.yaml.cs | https://github.com/NickCraver/NEST/blob/HEAD/src/Tests/Elasticsearch.Net.Integration.Yaml/mlt/10_basic.yaml.cs | ghcode:00007:079391bee7e6 | apache-2.0 | codeparrot/github-code | 079391bee7e65d830d466bbc28dbcb98fc4ac1f86e02e945a6bbe384131962a1 | 0.95 | testing_debugging_repair_refactoring | 300 | false | 2026-07-17 |
using Serilog.Configuration;
using Serilog.Core;
using Serilog.Events;
using Serilog.Formatting;
using Serilog.Settings.KeyValuePairs;
using Serilog.Tests.Support;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using TestDummies;
using TestDummies.Console;
using TestDummies... | CaioProiete/serilog | test/Serilog.Tests/Settings/KeyValuePairSettingsTests.cs | https://github.com/CaioProiete/serilog/blob/HEAD/test/Serilog.Tests/Settings/KeyValuePairSettingsTests.cs | ghcode:00007:cf1626bb0f49 | apache-2.0 | codeparrot/github-code | cf1626bb0f494b53c5471429e2636107a5daaab9128ceca4b66427f3dce6994f | 0.85 | testing_debugging_repair_refactoring | 5,085 | 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.Diagnostics;
using Microsoft.CodeAnalysis.UnitTests;
using Xunit;
namespace Microsoft.ApiDesignGuidelines.Analyzers.UnitTests
{
... | Anniepoh/roslyn-analyzers | src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/CollectionsShouldImplementGenericInterfaceTests.cs | https://github.com/Anniepoh/roslyn-analyzers/blob/HEAD/src/Microsoft.ApiDesignGuidelines.Analyzers/UnitTests/CollectionsShouldImplementGenericInterfaceTests.cs | ghcode:00007:820e3818dc75 | apache-2.0 | codeparrot/github-code | 820e3818dc75d1e4aca1ad4b034b6a8cc1311af1a09d5c24f14b4b51006263af | 0.75 | testing_debugging_repair_refactoring | 1,685 | false | 2026-07-17 |
using System.Threading.Tasks;
using LightBDD.Framework;
using LightBDD.Framework.Scenarios;
using LightBDD.MsTest2;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Example.LightBDD.MsTest2.UWP.Features
{
/// <summary>
/// This feature class presents that it is possible to construct scenario fluen... | Suremaker/LightBDD | examples/Example.LightBDD.MsTest2.UWP/Features/Basket_feature.cs | https://github.com/Suremaker/LightBDD/blob/HEAD/examples/Example.LightBDD.MsTest2.UWP/Features/Basket_feature.cs | ghcode:00007:ce702c640629 | bsd-2-clause | codeparrot/github-code | ce702c6406299bbbc87015a4cd5cfbed83eed9fb98f8a192dbf27be74ba0bbe6 | 0.78 | testing_debugging_repair_refactoring | 460 | false | 2026-07-17 |
//
// Copyright (c) 2004-2020 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 ... | BrutalCode/NLog | tests/NLog.UnitTests/LayoutRenderers/Wrappers/OnHasPropertiesTests.cs | https://github.com/BrutalCode/NLog/blob/HEAD/tests/NLog.UnitTests/LayoutRenderers/Wrappers/OnHasPropertiesTests.cs | ghcode:00007:0ae7fa66537d | bsd-3-clause | codeparrot/github-code | 0ae7fa66537d24dab54dbc6126dde00fa76538a1966b47e028c2b5db90ffa24e | 0.85 | testing_debugging_repair_refactoring | 597 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Reflection;
using System.Collections;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Build.Framework;
... | Hyrtwol/msbuild | src/XMakeTasks/UnitTests/GenerateResource_Tests.cs | https://github.com/Hyrtwol/msbuild/blob/HEAD/src/XMakeTasks/UnitTests/GenerateResource_Tests.cs | ghcode:00007:2c22f99882ed | mit | codeparrot/github-code | 2c22f99882ed172a570f77841eaed22eb2ae2e65d6d2cf7718ff379b2995cfaa | 0.72 | testing_debugging_repair_refactoring | 28,943 | 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.Diagnostics;
using System.Globalization;
using Microsoft.TeamFoundation.Migration.Toolkit.Linking;
namesp... | adamdriscoll/TfsIntegrationPlatform | IntegrationPlatform/Adapters/TFS/Tfs2010WITAdapter/Linking/TfsChangeListHandler.cs | https://github.com/adamdriscoll/TfsIntegrationPlatform/blob/HEAD/IntegrationPlatform/Adapters/TFS/Tfs2010WITAdapter/Linking/TfsChangeListHandler.cs | ghcode:00007:d019b2ca50fb | mit | codeparrot/github-code | d019b2ca50fb6bd42e2de0f3cfe8afe4d0a2376418044f53bc1cffcee28b1dc3 | 0.7 | testing_debugging_repair_refactoring | 537 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using InstallerLib;
using NUnit.Framework;
namespace InstallerLibUnitTests
{
[TestFixture]
public class ComponentOpenFileTests
{
}
}
| dblock/dotnetinstaller | UnitTests/InstallerLibUnitTests/ComponentOpenFileTests.cs | https://github.com/dblock/dotnetinstaller/blob/HEAD/UnitTests/InstallerLibUnitTests/ComponentOpenFileTests.cs | ghcode:00007:22019acb6a08 | mit | codeparrot/github-code | 22019acb6a08fad79341b5be8833cb316af4a1ddf243b6dc53bdb4bb49080a4e | 0.75 | testing_debugging_repair_refactoring | 44 | 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 Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Analyzer.Utilities;
using System;
using Syst... | qinxgit/roslyn-analyzers | src/Microsoft.ApiDesignGuidelines.Analyzers/Core/UseEventsWhereAppropriate.cs | https://github.com/qinxgit/roslyn-analyzers/blob/HEAD/src/Microsoft.ApiDesignGuidelines.Analyzers/Core/UseEventsWhereAppropriate.cs | ghcode:00007:95e6cd9a5e62 | apache-2.0 | codeparrot/github-code | 95e6cd9a5e6265bc595b7d86987bfd01e71d6509c604b7dec3bda931411f60c3 | 0.7 | testing_debugging_repair_refactoring | 942 | false | 2026-07-17 |
#if !DISABLE_PLAYFABCLIENT_API
using PlayFab.ClientModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
#if !DISABLE_PLAYFABENTITY_API
using PlayFab.AuthenticationModels;
using PlayFab.DataModels;
#endif
namespace PlayFab.UUnit
{
public class PlayFabApiTest : UU... | PlayFab/SDKGenerator | targets/csharp/source/PlayFabSDK/source/Uunit/tests/PlayFabApiTest.cs | https://github.com/PlayFab/SDKGenerator/blob/HEAD/targets/csharp/source/PlayFabSDK/source/Uunit/tests/PlayFabApiTest.cs | ghcode:00007:b5a454b25228 | apache-2.0 | codeparrot/github-code | b5a454b252283e7acce485f8c2da8e74b41ef587bfa8524a45b0c9868646a873 | 0.95 | testing_debugging_repair_refactoring | 5,928 | 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.Metad... | ericfe-ms/roslyn | src/ExpressionEvaluator/Core/Source/ExpressionCompiler/PDB/MethodDebugInfo.Native.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/ExpressionEvaluator/Core/Source/ExpressionCompiler/PDB/MethodDebugInfo.Native.cs | ghcode:00007:ef2c9ceffd4b | apache-2.0 | codeparrot/github-code | ef2c9ceffd4b80612b41758e891189bc83a3f4eacc611ad5c106d17b54a107b8 | 0.85 | testing_debugging_repair_refactoring | 3,453 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace NServiceKit.Redis.Tests
{
[TestFixture]
public class RedisExtensionTests
{
[Test]
public void Can_Parse_Host()
{
var hosts = new[] {"pass@host.com:6123... | nataren/NServiceKit.Redis | tests/NServiceKit.Redis.Tests/RedisExtensionTests.cs | https://github.com/nataren/NServiceKit.Redis/blob/HEAD/tests/NServiceKit.Redis.Tests/RedisExtensionTests.cs | ghcode:00007:9ae3e7e7553f | bsd-3-clause | codeparrot/github-code | 9ae3e7e7553f7d748461255f7f251a4b8632edb7832606c9ffd7699f434abec1 | 0.75 | testing_debugging_repair_refactoring | 240 | false | 2026-07-17 |
using System;
using Moq;
using Ploeh.AutoFixture.Kernel;
namespace Ploeh.AutoFixture.AutoMoq
{
/// <summary>
/// Post-processes a <see cref="Mock{T}"/> instance by setting appropriate default behavioral
/// values.
/// </summary>
public class MockPostprocessor : ISpecimenBuilder
{
... | yuva2achieve/AutoFixture | Src/AutoMoq/MockPostprocessor.cs | https://github.com/yuva2achieve/AutoFixture/blob/HEAD/Src/AutoMoq/MockPostprocessor.cs | ghcode:00007:3521c77230a2 | mit | codeparrot/github-code | 3521c77230a23b01668260fa98ede6256e52df5b873ef1d128041fbd2ad48056 | 0.7 | testing_debugging_repair_refactoring | 639 | false | 2026-07-17 |
#if !SILVERLIGHT
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ServerClassLib
{
/// <summary>
/// This class will compile only in the server project.
/// This allows us to test for file-level sharing independent
/// of assembly level type sharing
... | STAH/OpenRiaServices | OpenRiaServices.DomainServices.Tools/Test/ServerClassLib/SharedClass.cs | https://github.com/STAH/OpenRiaServices/blob/HEAD/OpenRiaServices.DomainServices.Tools/Test/ServerClassLib/SharedClass.cs | ghcode:00007:b16dd9a01a6b | apache-2.0 | codeparrot/github-code | b16dd9a01a6b2ad38cf7a97a68541f3a33d5d8a0e4daa7b0c862562bc855fcbc | 0.95 | testing_debugging_repair_refactoring | 94 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Nimbus.IntegrationTests.Tests.SimpleCommandSendingTests.CommandHandlers;
using Nimbus.IntegrationTests.Tests.SimpleCommandSendingTests.MessageContracts;
using Nimbus.Tests.Common;
using NUnit.Framework;
using Shouldly;
namespace Nimbus.IntegrationTe... | stevescc/Nimbus | src/Tests/Nimbus.IntegrationTests/Tests/SimpleCommandSendingTests/WhenSendingACommandWhoseHandlerRequiresSomeProperties.cs | https://github.com/stevescc/Nimbus/blob/HEAD/src/Tests/Nimbus.IntegrationTests/Tests/SimpleCommandSendingTests/WhenSendingACommandWhoseHandlerRequiresSomeProperties.cs | ghcode:00007:f25333098ea1 | mit | codeparrot/github-code | f25333098ea12dd6e6f9d5700ae1bedd4bd2b17965da7eb8facfa0ecf3403ed2 | 0.85 | testing_debugging_repair_refactoring | 313 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.Identity;
using Azure.Security.KeyVault.Secrets;
using Microsoft.Extensions.Configuration;
using NUnit.Framework;
namespace Azure.Ext... | ayeletshpigelman/azure-sdk-for-net | sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/ConfigurationSecretsFunctionalTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/ConfigurationSecretsFunctionalTests.cs | ghcode:00007:267f26e271e3 | mit | codeparrot/github-code | 267f26e271e3e5aacaed3b9c69e78877cc9d89398cb5a5cdae9ce00698b94ebb | 0.95 | testing_debugging_repair_refactoring | 342 | false | 2026-07-17 |
/* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice, ... | robhoes/xenadmin | XenAdminTests/UnitTests/MiscTests/UtilTests.cs | https://github.com/robhoes/xenadmin/blob/HEAD/XenAdminTests/UnitTests/MiscTests/UtilTests.cs | ghcode:00007:75a89bac5eef | bsd-2-clause | codeparrot/github-code | 75a89bac5eefd2aecfc9447e01173e030074a3953fec20329888c8bbc3e5679e | 0.78 | testing_debugging_repair_refactoring | 3,282 | 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.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
... | panopticoncentral/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/SourceEnumConstantSymbol.cs | https://github.com/panopticoncentral/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/SourceEnumConstantSymbol.cs | ghcode:00007:c2b7bf2d36fc | mit | codeparrot/github-code | c2b7bf2d36fce5fb3260fd858243dabeac8b3530dfaf3eec72e4287bc1caf7d7 | 0.85 | testing_debugging_repair_refactoring | 1,456 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using Xunit;
namespace System.Tests
{
public class EnvironmentTickCount
{
[... | ellismg/corefx | src/System.Runtime.Extensions/tests/System/Environment.TickCount.cs | https://github.com/ellismg/corefx/blob/HEAD/src/System.Runtime.Extensions/tests/System/Environment.TickCount.cs | ghcode:00007:19d483e0ecb2 | mit | codeparrot/github-code | 19d483e0ecb2a9e3bfb9853863ace907d8d02d5a05f7996e2b5755268aad2fb3 | 0.95 | testing_debugging_repair_refactoring | 112 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="DefaultFilterRuleCustomizationFactory.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
names... | KarolKaczmarek/PowerShell | src/Microsoft.PowerShell.GraphicalHost/ManagementList/FilterCore/DefaultFilterRuleCustomizationFactory.cs | https://github.com/KarolKaczmarek/PowerShell/blob/HEAD/src/Microsoft.PowerShell.GraphicalHost/ManagementList/FilterCore/DefaultFilterRuleCustomizationFactory.cs | ghcode:00007:078e8cef3f6a | mit | codeparrot/github-code | 078e8cef3f6a20afdd7b9dbe69b86e600dc53492b36f55b579155d7f460778cb | 0.7 | testing_debugging_repair_refactoring | 2,161 | false | 2026-07-17 |
//
// Copyright (c) 2004-2016 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 s... | tetrodoxin/NLog | tests/NLog.UnitTests/Config/IncludeTests.cs | https://github.com/tetrodoxin/NLog/blob/HEAD/tests/NLog.UnitTests/Config/IncludeTests.cs | ghcode:00007:62ec5e9b0686 | bsd-3-clause | codeparrot/github-code | 62ec5e9b06867a2219f6f7eb344e8a18f533d66a9194918106e64a7465326441 | 0.85 | testing_debugging_repair_refactoring | 1,166 | 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 ... | vinod1988/npoi | testcases/main/POIFS/Crypt/TestEncryptionInfo.cs | https://github.com/vinod1988/npoi/blob/HEAD/testcases/main/POIFS/Crypt/TestEncryptionInfo.cs | ghcode:00007:15530b49a483 | apache-2.0 | codeparrot/github-code | 15530b49a483c08eca64c738abeb1971bed097da9c6c57dd8bdb0c35b17d8f58 | 0.85 | testing_debugging_repair_refactoring | 414 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.