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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
/*
* REST API Documentation for the MOTI Hired Equipment Tracking System (HETS) Application
*
* The Hired Equipment Program is for owners/operators who have a dump truck, bulldozer, backhoe or other piece of equipment they want to hire out to the transportation ministry for day labour and emergency projects. The ... | plavoieBC/hets | Server/test/Models/CurrentUserViewModelTests.cs | https://github.com/plavoieBC/hets/blob/HEAD/Server/test/Models/CurrentUserViewModelTests.cs | ghcode:00008:828b2ea09de7 | apache-2.0 | codeparrot/github-code | 828b2ea09de776b77c8d504cb6bf0443549e3deb53ca87950ee2036aa5e5d9dd | 0.95 | testing_debugging_repair_refactoring | 700 | false | 2026-07-17 |
/*
* Licensed to SharpSoftware under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* SharpSoftware licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not us... | itinero/routing | test/Itinero.Test/TestExtensions.cs | https://github.com/itinero/routing/blob/HEAD/test/Itinero.Test/TestExtensions.cs | ghcode:00008:324da66cb4ad | apache-2.0 | codeparrot/github-code | 324da66cb4ade63dc6ffbcf24214a04de324c32c184e036d2f1d192c8cf655aa | 0.85 | testing_debugging_repair_refactoring | 788 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Appium;
using OpenQA.Selenium.Appium.Interfaces;
using OpenQA.Selenium.Appium.MultiTouch;
using OpenQA.Selenium.Interactions;
using OpenQA.Selenium.Remote;
using OpenQA.Selenium.Appium.Android;
using System.Collections.ObjectModel;
using... | andreypetukhov/AppiumGigya | samples/AndreyTests.cs | https://github.com/andreypetukhov/AppiumGigya/blob/HEAD/samples/AndreyTests.cs | ghcode:00008:e7d8865469b0 | apache-2.0 | codeparrot/github-code | e7d8865469b0b08a370dabb5446eda0e86ff6b140d9c0fd38256dc183319fd50 | 0.85 | testing_debugging_repair_refactoring | 611 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Tibre.Core.Factories;
using System.Collections.Generic;
using Tibre.Core.Objects;
using Microsoft.SqlServer.Dac.Model;
namespace Tibre.Core.UnitTesting.Factories
{
[TestClass]
public class LinkInfoFactoryTest
{
[TestMethod]
... | Seddryck/Tibre | Core.UnitTesting/Factories/LinkInfoFactoryTest.cs | https://github.com/Seddryck/Tibre/blob/HEAD/Core.UnitTesting/Factories/LinkInfoFactoryTest.cs | ghcode:00008:0f600b253564 | apache-2.0 | codeparrot/github-code | 0f600b25356485f351345af9c30058a08d518dd19b133e1fc54fadc11abc1ef6 | 0.6 | testing_debugging_repair_refactoring | 447 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Reflection;
using System.Reflection.Metada... | HellBrick/roslyn | src/Compilers/CSharp/Test/Symbol/Symbols/Metadata/PE/TypeForwarders.cs | https://github.com/HellBrick/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Symbols/Metadata/PE/TypeForwarders.cs | ghcode:00008:afe15ed226ef | apache-2.0 | codeparrot/github-code | afe15ed226efd9c01a1f1b6d1e98993fac492e89274b66b76c6241873f770947 | 0.82 | testing_debugging_repair_refactoring | 14,663 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using RazorLight.Compilation;
using RazorLight.Host;
using RazorLight.Templating;
using Xunit;
namespace RazorLight.Tests
{
public class RoslynCompilerTest
{
private CompilationResult? testCompilation;
private readonly IMetadataResolver metadataResolver = new UseE... | gr8woo/RazorLight | tests/RazorLight.Tests/RoslynCompilerTest.cs | https://github.com/gr8woo/RazorLight/blob/HEAD/tests/RazorLight.Tests/RoslynCompilerTest.cs | ghcode:00008:42bfd9baa251 | apache-2.0 | codeparrot/github-code | 42bfd9baa25152c05361ea35e71011a2aff24b1b2400eac9931c68e7c309a86a | 0.6 | testing_debugging_repair_refactoring | 454 | false | 2026-07-17 |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Cassandra.Tests.TestAttributes;
using NUnit.Framework;
namespace Cassandra.Tests
{
[TestFixture]
publ... | mintsoft/csharp-driver | src/Cassandra.Tests/TimestampTests.cs | https://github.com/mintsoft/csharp-driver/blob/HEAD/src/Cassandra.Tests/TimestampTests.cs | ghcode:00008:ff4249997006 | apache-2.0 | codeparrot/github-code | ff42499970063a6f6edfdbdad3d5f2b4ff551dd3de67eed35a3b847fb262cbc2 | 0.85 | testing_debugging_repair_refactoring | 1,334 | false | 2026-07-17 |
using System;
using System.Reflection;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.MockData;
namespace Tests.ClientConcepts
{
public class DebuggerDisplayTests
{
private string DebugFor<T>(T o)
{
var property = o.GetType().GetProperty("DebugDisplay", BindingFlags.NonPublic... | adam-mccoy/elasticsearch-net | src/Tests/ClientConcepts/DebuggerDisplayTests.cs | https://github.com/adam-mccoy/elasticsearch-net/blob/HEAD/src/Tests/ClientConcepts/DebuggerDisplayTests.cs | ghcode:00008:9fb7cb533b59 | apache-2.0 | codeparrot/github-code | 9fb7cb533b594ba2a10de91daf821d4eb1e3c89ee69be9490cc2f617e38db68e | 0.85 | testing_debugging_repair_refactoring | 1,362 | false | 2026-07-17 |
namespace DocaLabs.Http.Client.Remote.Integration.Tests._Contract._MixedPost
{
public class MixedPostDataJsonResponse
{
public string Value { get; set; }
}
} | alexey-kadyrov/DocaLabs.Http.Client | tests/DocaLabs.Http.Client.Remote.Integration.Tests.DotNet/_Contract/_MixedPost/MixedPostDataJsonResponse.cs | https://github.com/alexey-kadyrov/DocaLabs.Http.Client/blob/HEAD/tests/DocaLabs.Http.Client.Remote.Integration.Tests.DotNet/_Contract/_MixedPost/MixedPostDataJsonResponse.cs | ghcode:00008:4f6cb6202b00 | apache-2.0 | codeparrot/github-code | 4f6cb6202b000af8f341f10e5fc846db3e41e52656f344800f779971dd7ac6ba | 0.5 | testing_debugging_repair_refactoring | 42 | false | 2026-07-17 |
namespace AdventureWorks.Repository.Test.Repository.Sales
{
using EntityClasses.Sales;
using Main;
using NUnit.Framework;
[TestFixture]
[Category("Sales")]
public class SalesPersonQuotaHistoryRepositoryTest : BaseRepositoryTest<SalesPersonQuotaHistory, SalesPersonQuotaHistoryRepositoryTest>
... | krzysztofkolek/AdventureWorksAPI | Repository.Test/Repository/Sales/SalesPersonQuotaHistoryRepositoryTest.cs | https://github.com/krzysztofkolek/AdventureWorksAPI/blob/HEAD/Repository.Test/Repository/Sales/SalesPersonQuotaHistoryRepositoryTest.cs | ghcode:00008:d4fd91bdf923 | apache-2.0 | codeparrot/github-code | d4fd91bdf92304e33be51b7f909fdc3d67a441cc7b608f6efc696bb07ba53e32 | 0.75 | testing_debugging_repair_refactoring | 297 | false | 2026-07-17 |
using System.Diagnostics.Contracts;
namespace Test
{
internal class Class
{
[ContractClass(typeof(InterfaceContract))]
internal interface IInterface
{
string InterfaceMethod{caret}();
}
[ContractClassFor(typeof(IInterface))]
private abstract class I... | prodot/ReCommended-Extension | Sources/ReCommendedExtension.Tests/test/data/ContextActions/CodeContracts/Elements/Method/ExecuteWithInterfaceMethod.cs | https://github.com/prodot/ReCommended-Extension/blob/HEAD/Sources/ReCommendedExtension.Tests/test/data/ContextActions/CodeContracts/Elements/Method/ExecuteWithInterfaceMethod.cs | ghcode:00008:e693b5f16324 | apache-2.0 | codeparrot/github-code | e693b5f1632480cc09f2023495a0de01889c4f27a020f83b692ffc6acab16879 | 0.85 | testing_debugging_repair_refactoring | 66 | false | 2026-07-17 |
#region License
/*
* Copyright © 2014-2016 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
*
... | ProteusProject/Proteus.Retry | test/Proteus.Retry.Test/WhenManipulatingConstrainedTypesList.cs | https://github.com/ProteusProject/Proteus.Retry/blob/HEAD/test/Proteus.Retry.Test/WhenManipulatingConstrainedTypesList.cs | ghcode:00008:0f91760577a7 | apache-2.0 | codeparrot/github-code | 0f91760577a7ee8762a9915ca9282c932c0490f8ad2726bd4e7d74d2c4badca4 | 0.6 | testing_debugging_repair_refactoring | 581 | false | 2026-07-17 |
using EnvCrypt.Core.EncrypedData.XmlPoco;
using EnvCrypt.Core.Utils;
using FluentAssertions;
using NUnit.Framework;
namespace EnvCrypt.Core.UnitTest.EncryptedData.XmlPoco
{
[TestFixture]
public class EcDatXmlTest
{
[Test]
public void Given_ValidDatXML_When_Parsed_Then_CountsCorrect()
... | lammichael/EnvCrypt.Core | src/EnvCrypt.Core.UnitTest/EncryptedData/XmlPoco/EcDatXmlTest.cs | https://github.com/lammichael/EnvCrypt.Core/blob/HEAD/src/EnvCrypt.Core.UnitTest/EncryptedData/XmlPoco/EcDatXmlTest.cs | ghcode:00008:3941e406b326 | apache-2.0 | codeparrot/github-code | 3941e406b326582b7b1f2f2fc88197ad42f679a84cb6d5428546908fe1a2e4df | 0.7 | testing_debugging_repair_refactoring | 529 | false | 2026-07-17 |
#region Copyright
/*Copyright (C) 2015 Kodestruct Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law... | Kodestruct/Kodestruct.Design | Tests/Kodestruct.Loads.Tests/ASCE7/ASCE7_10/C03_DeadLoads/WoodDoubleFloorTests.cs | https://github.com/Kodestruct/Kodestruct.Design/blob/HEAD/Tests/Kodestruct.Loads.Tests/ASCE7/ASCE7_10/C03_DeadLoads/WoodDoubleFloorTests.cs | ghcode:00008:ea684e9bba59 | apache-2.0 | codeparrot/github-code | ea684e9bba59f5741919dbc0d17887dd15e135f3d1b98221790103d008544913 | 0.75 | testing_debugging_repair_refactoring | 287 | false | 2026-07-17 |
using System;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using Xunit.Abstractions;
namespace Xunit.Sdk
{
[Serializable]
public class RetryTestCase : XunitTestCase
{
private Int32 m_maxRetries;
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Called by the de-s... | cuteant/xunit-v2-net40-fork | xunit.extensions.net45/Retry/RetryTestCase.cs | https://github.com/cuteant/xunit-v2-net40-fork/blob/HEAD/xunit.extensions.net45/Retry/RetryTestCase.cs | ghcode:00008:d85ad9ce1bf8 | apache-2.0 | codeparrot/github-code | d85ad9ce1bf85107dfae1e374d702ae0dcb782250f75fb31e5351eb65faa7403 | 0.85 | testing_debugging_repair_refactoring | 557 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.IO;
using Microsoft.CodeAnalysis;
using Roslyn.Utilities;
namespace Microsoft.DiaSymReader
{
... | 1234-/roslyn | src/Test/PdbUtilities/Shared/SymUnmanagedReaderTestExtensions.cs | https://github.com/1234-/roslyn/blob/HEAD/src/Test/PdbUtilities/Shared/SymUnmanagedReaderTestExtensions.cs | ghcode:00008:2f306a7ba943 | apache-2.0 | codeparrot/github-code | 2f306a7ba943e913d488385152a769abcd3e14378741f0f4ce744e9c3db5075f | 0.85 | testing_debugging_repair_refactoring | 556 | false | 2026-07-17 |
using BepuUtilities;
using BepuUtilities.Collections;
using BepuUtilities.Memory;
using BepuPhysics;
using BepuPhysics.Collidables;
using System;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Diagnostics;
namespace DemoRenderer.ShapeDrawing
{
public struct ShapeCache
{
int... | bepu/bepuphysics2 | DemoRenderer.GL/ShapeDrawing/ShapesExtractor.cs | https://github.com/bepu/bepuphysics2/blob/HEAD/DemoRenderer.GL/ShapeDrawing/ShapesExtractor.cs | ghcode:00008:a04d5b63b713 | apache-2.0 | codeparrot/github-code | a04d5b63b713e179e4e2b4f5dc0517aa2dfe9025f922e4a5a780d90ef6745428 | 0.7 | testing_debugging_repair_refactoring | 4,869 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy ... | aricooperman/jLean | orig-src/Tests/Common/Securities/Equity/EquityTransactionModelTests.cs | https://github.com/aricooperman/jLean/blob/HEAD/orig-src/Tests/Common/Securities/Equity/EquityTransactionModelTests.cs | ghcode:00008:6ec08bd4f04c | apache-2.0 | codeparrot/github-code | 6ec08bd4f04ca73d78019d97c3bc9b55424bbde05a63f0ce28aa493e10a39750 | 0.95 | testing_debugging_repair_refactoring | 2,555 | false | 2026-07-17 |
using System;
using System.Net;
using System.Net.Cache;
using System.Net.Security;
using System.Security.Principal;
using Grapevine.Client;
using Grapevine.Shared;
using NSubstitute;
using Shouldly;
using Xunit;
namespace Grapevine.Tests.Client
{
public class RestRequestFacts
{
public class Constructo... | sukona/Grapevine | src/Grapevine.Tests/Client/RestRequestFacts.cs | https://github.com/sukona/Grapevine/blob/HEAD/src/Grapevine.Tests/Client/RestRequestFacts.cs | ghcode:00008:e4e480c33e12 | apache-2.0 | codeparrot/github-code | e4e480c33e124ea78a32c017ddea06783318ac1041a8aa9cb387458aff6e8d9a | 0.6 | testing_debugging_repair_refactoring | 792 | 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.Linq;
using Microsoft.Extensions.Logging;
using Xunit;
namespace Microsoft.AspNetCore.Identity.Test
{
/// <summary>
/// Helper for tests to validate identity re... | aspnet/AspNetCore | src/Identity/Specification.Tests/src/IdentityResultAssert.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Identity/Specification.Tests/src/IdentityResultAssert.cs | ghcode:00008:2982dc531a4b | apache-2.0 | codeparrot/github-code | 2982dc531a4bf13fc24efd4e399d1665710d2bd61cc0cb98771662f0dce0c2fb | 0.95 | testing_debugging_repair_refactoring | 482 | false | 2026-07-17 |
//BSD, 2018-present, WinterDev
using PixelFarm.Drawing;
using PixelFarm.CpuBlit.BitmapAtlas;
using Typography.Text;
using Mini;
namespace PixelFarm.CpuBlit.Sample_LionAlphaMask
{
[Info(OrderCode = "00")]
public class MiniAggWithTextPrinterDemo : DemoBase
{
bool _fontAtlasPrinterReady;
... | LayoutFarm/PixelFarm | src/Tests/TestSamples_Painting_Focus/3_Samples/05_AlphaMask2/MiniAggWithTextPrinterDemo.cs | https://github.com/LayoutFarm/PixelFarm/blob/HEAD/src/Tests/TestSamples_Painting_Focus/3_Samples/05_AlphaMask2/MiniAggWithTextPrinterDemo.cs | ghcode:00008:e8f9fef5bfc4 | bsd-2-clause | codeparrot/github-code | e8f9fef5bfc493926f3dad93b20221a214b116005e146935b82832fb7cea09d0 | 0.88 | testing_debugging_repair_refactoring | 1,100 | false | 2026-07-17 |
using System;
using System.IO;
using Cosmos.TestRunner;
using Cosmos.Debug.Kernel;
using Cosmos.Common.Extensions;
using static Cosmos.Kernel.Tests.Fat.System.IO.HelperMethods;
using System.Text;
namespace Cosmos.Kernel.Tests.Fat.System.IO
{
public class FileTest
{
/// <summary>
/// Tests Syst... | jp2masa/Cosmos | Tests/Kernels/Cosmos.Kernel.Tests.Fat/System.IO/FileTest.cs | https://github.com/jp2masa/Cosmos/blob/HEAD/Tests/Kernels/Cosmos.Kernel.Tests.Fat/System.IO/FileTest.cs | ghcode:00008:965c36209ad4 | bsd-3-clause | codeparrot/github-code | 965c36209ad4e5f9409b4fbd13ea02e4d11d68aa7f734a74150f2fb0439313cf | 0.85 | testing_debugging_repair_refactoring | 2,838 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NiL.JS.Core;
namespace IntegrationTests.Core
{
[TestClass]
public class ContextTests
{
[TestMethod]
public void Eval_ThisBindShouldBeOverridable()
{
var context = new Context();
var oldT... | Oceanswave/NiL.JS | IntegrationTests/Core/ContextTests.cs | https://github.com/Oceanswave/NiL.JS/blob/HEAD/IntegrationTests/Core/ContextTests.cs | ghcode:00008:7db57ab376ca | bsd-3-clause | codeparrot/github-code | 7db57ab376cad74f49cf4ea16490509b689d3883186d5451748809edae469f3e | 0.75 | testing_debugging_repair_refactoring | 280 | false | 2026-07-17 |
using System.Collections.Generic;
using DataExplorer.Domain.Columns;
using DataExplorer.Domain.Semantics;
using NUnit.Framework;
namespace DataExplorer.Domain.Tests.Columns
{
[TestFixture]
public class ColumnTests
{
private Column _column;
[SetUp]
public void SetUp()
{
... | dataexplorer/dataexplorer | Domain.Tests/Columns/ColumnTests.cs | https://github.com/dataexplorer/dataexplorer/blob/HEAD/Domain.Tests/Columns/ColumnTests.cs | ghcode:00008:27e16c72e48d | bsd-3-clause | codeparrot/github-code | 27e16c72e48d61e1dcb40ce535c03a977f6a2a88d45c7125a1899147abacf5e7 | 0.75 | testing_debugging_repair_refactoring | 361 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using TestExtensions;
using UnitTests.GrainInterfaces;
using Xunit;
using Xunit.Abstractions;
namespace UnitTests.General
{
/// <summary>
/// Tests that exceptions are correctly propagated.
/// </summary>
public class ExceptionPropagationTests : HostedTestClu... | LoveElectronics/orleans | test/Tester/ExceptionPropagationTests.cs | https://github.com/LoveElectronics/orleans/blob/HEAD/test/Tester/ExceptionPropagationTests.cs | ghcode:00008:f5a32e1e97e8 | mit | codeparrot/github-code | f5a32e1e97e86537383b0eaae5bab497a046605fe262f24edc8b996eb3b3de10 | 0.85 | testing_debugging_repair_refactoring | 1,675 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Raksha.Crypto.Engines;
using Raksha.Crypto.Parameters;
using Raksha.Utilities.Encoders;
using Raksha.Tests.Utilities;
namespace Raksha.Tests.Crypto
{
/// <remarks>Cast6 tester - vectors from http://www.ietf.org/rfc/rfc2612.txt</remarks>
[TestFixture]
public clas... | Everbytes/Raksha | src/Raksha.Tests (net45)/Crypto/CAST6Test.cs | https://github.com/Everbytes/Raksha/blob/HEAD/src/Raksha.Tests (net45)/Crypto/CAST6Test.cs | ghcode:00008:54c1778f61f0 | mit | codeparrot/github-code | 54c1778f61f0212f192e7be9241ab02ad4abbd9bb9139544b5b19cd6d31aa9cd | 0.6 | testing_debugging_repair_refactoring | 630 | false | 2026-07-17 |
#if !LESSTHAN_NET40
using System;
using NUnit.Framework;
namespace CodeJam.Reflection
{
[TestFixture]
public class TypeAccessorTests
{
private class TestType
{
public string Field1;
public string Field2 { get; set; }
// ReSharper disable once ConvertToConstant.Local
private readonly string _field... | NN---/CodeJam | CodeJam.Main.Tests/Reflection/TypeAccessorTests.cs | https://github.com/NN---/CodeJam/blob/HEAD/CodeJam.Main.Tests/Reflection/TypeAccessorTests.cs | ghcode:00008:0f491508b535 | mit | codeparrot/github-code | 0f491508b53576558bdea0183ffcb4ff491757a66eb4e604ec97d5d600810166 | 0.85 | testing_debugging_repair_refactoring | 542 | false | 2026-07-17 |
using NUnit.Framework;
using RefactoringEssentials.CSharp.Diagnostics;
namespace RefactoringEssentials.Tests.CSharp.Diagnostics
{
[TestFixture]
public class ConvertIfToAndExpressionTests : CSharpDiagnosticTestBase
{
[Test]
public void TestVariableDeclarationCase()
{
Anal... | Rpinski/RefactoringEssentials | Tests/CSharp/Diagnostics/ConvertIfToAndExpressionTests.cs | https://github.com/Rpinski/RefactoringEssentials/blob/HEAD/Tests/CSharp/Diagnostics/ConvertIfToAndExpressionTests.cs | ghcode:00008:126e9478fd82 | mit | codeparrot/github-code | 126e9478fd828ae37d5363a29b19bc14f925ed50fafc374c07f89a2173de62ee | 0.85 | testing_debugging_repair_refactoring | 1,183 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using DBreeze;
using DBreeze.DataTypes;
using Microsoft.Extensions.Logging;
using NBitcoin;
using Stratis.Bitcoin.Base;
using Stratis.Bitcoin.Tests.Common;
using Stratis.Bitcoin.Utilities;
using Xunit;
namespace Stratis.Bitcoin.Tests.Base
{
public class ChainReposit... | Aprogiena/StratisBitcoinFullNode | src/Stratis.Bitcoin.Tests/Base/ChainRepositoryTest.cs | https://github.com/Aprogiena/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.Tests/Base/ChainRepositoryTest.cs | ghcode:00008:e9400a182ce6 | mit | codeparrot/github-code | e9400a182ce6038d132e9c9d4c6a7284259488916fdc2358c87ea061bd74714d | 0.75 | testing_debugging_repair_refactoring | 745 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Linq;
using NUnit.Framework;
using Moq;
using Sharpduino.Base;
using Sharpduino.Constants;
using Sharpduino.Exceptions;
using Sharpduino.Handlers;
using Sharpduino.Messages;
using Sharpduino.Messages.TwoWay;
namespace Sharpduino.Library.Tests.Handlers
{
[TestFixtur... | thutch/sharpduino | Sharpduino.Tests/Handlers/DigitalMessageHandlerTest.cs | https://github.com/thutch/sharpduino/blob/HEAD/Sharpduino.Tests/Handlers/DigitalMessageHandlerTest.cs | ghcode:00008:42d4f61bad6d | mit | codeparrot/github-code | 42d4f61bad6d683a702ff894b150072bc6ace55ae0e6e691d7192e49ce5404f4 | 0.7 | testing_debugging_repair_refactoring | 529 | 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 enable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.... | jmarolf/roslyn | src/Compilers/CSharp/Portable/Lowering/SyntheticBoundNodeFactory.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/SyntheticBoundNodeFactory.cs | ghcode:00008:b8febb116ea6 | mit | codeparrot/github-code | b8febb116ea693484da6892d614032458f578929a274378db8b95eade22637e6 | 0.72 | testing_debugging_repair_refactoring | 12,322 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Runtime;
using System.Runtime.CompilerServices;
using EditorBrowsableState = ... | russellhadley/coreclr | src/mscorlib/shared/System/Span.cs | https://github.com/russellhadley/coreclr/blob/HEAD/src/mscorlib/shared/System/Span.cs | ghcode:00008:b5cd0baf7d30 | mit | codeparrot/github-code | b5cd0baf7d305cd178a02a21d27525ecbb3ef7482d9b40b4079b9979ee162837 | 0.7 | testing_debugging_repair_refactoring | 3,750 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using NSwag.Generation.AspNetCore.Tests.Web.Controllers;
using Xunit;
namespace NSwag.Generation.AspNetCore.Tests
{
public class ExtensionDataTests : AspNetCoreTestsBase
{
[Fact]
public async Task When_controller_has_extension_data_attributes_th... | RSuter/NSwag | src/NSwag.Generation.AspNetCore.Tests/ExtensionDataTests.cs | https://github.com/RSuter/NSwag/blob/HEAD/src/NSwag.Generation.AspNetCore.Tests/ExtensionDataTests.cs | ghcode:00008:2c9af49b774f | mit | codeparrot/github-code | 2c9af49b774fdd5f73b91e1f95c508eb8c85378809f7d1e8643d5ccb65c6137a | 0.85 | testing_debugging_repair_refactoring | 315 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="RootGuardianActorRef_Tests.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </... | simonlaroche/akka.net | src/core/Akka.Tests/Actor/RootGuardianActorRef_Tests.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/core/Akka.Tests/Actor/RootGuardianActorRef_Tests.cs | ghcode:00008:751d9b93f426 | apache-2.0 | codeparrot/github-code | 751d9b93f426c4a34cf1c6c93d42f1eb8251a6ad3f626f82d219e5f59113969f | 0.85 | testing_debugging_repair_refactoring | 1,191 | false | 2026-07-17 |
// Copyright 2012 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
#if !PCL
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using NUnit.Framework;
using NodaTime.TimeZones;
namespac... | zaccharles/nodatime | src/NodaTime.Test/TimeZones/BclDateTimeZoneTest.cs | https://github.com/zaccharles/nodatime/blob/HEAD/src/NodaTime.Test/TimeZones/BclDateTimeZoneTest.cs | ghcode:00008:3ff5418b8dc7 | apache-2.0 | codeparrot/github-code | 3ff5418b8dc754747507aecf0329267f86c0a7881b37b46933841277d0888812 | 0.7 | testing_debugging_repair_refactoring | 1,909 | 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.Threading;
using... | weltkante/roslyn | src/Compilers/CSharp/Portable/Compilation/MemberSemanticModel.cs | https://github.com/weltkante/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Compilation/MemberSemanticModel.cs | ghcode:00008:7523a56f5cc0 | apache-2.0 | codeparrot/github-code | 7523a56f5cc0d88ae5f1b4585dc388333e99765dae6cf91d34930e1c35bf2983 | 0.72 | testing_debugging_repair_refactoring | 14,586 | false | 2026-07-17 |
//
// Copyright (C) DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | datastax/csharp-driver | src/Cassandra.IntegrationTests/CqlFunctions/Tests/Token.cs | https://github.com/datastax/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/CqlFunctions/Tests/Token.cs | ghcode:00008:3fbbcbbcda6b | apache-2.0 | codeparrot/github-code | 3fbbcbbcda6bd9810976f9751f0eb91524cd76e2b5980d334a32478729089c9c | 0.95 | testing_debugging_repair_refactoring | 1,408 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RNCFunc.Tests
{
[TestFixture]
public class RomanNumeralConverterTests
{
[TestCase(1, "I")]
[TestCase(2, "II")]
[TestCase(3, "III")]
[TestCase(4, "IV")]
[Tes... | jonathanody/RNCFunc | RNCFunc.Tests/RomanNumeralConverterTests.cs | https://github.com/jonathanody/RNCFunc/blob/HEAD/RNCFunc.Tests/RomanNumeralConverterTests.cs | ghcode:00008:4a44752c7ecf | apache-2.0 | codeparrot/github-code | 4a44752c7ecf1ecc007fc076ea63c0fd75f042ce54ede44ba3b7916345b6ab3f | 0.85 | testing_debugging_repair_refactoring | 1,001 | false | 2026-07-17 |
/*
* MindTouch Dream - a distributed REST framework
* Copyright (C) 2006-2011 MindTouch, Inc.
* www.mindtouch.com oss@mindtouch.com
*
* For community documentation and downloads visit wiki.developer.mindtouch.com;
* please review the licensing section.
*
* Licensed under the Apache License, Version 2... | yurigorokhov/DReAM | src/tests/DreamMisc/TransactionalQueue/TransactionalQueueTests.cs | https://github.com/yurigorokhov/DReAM/blob/HEAD/src/tests/DreamMisc/TransactionalQueue/TransactionalQueueTests.cs | ghcode:00009:b8dc435fd8e9 | apache-2.0 | codeparrot/github-code | b8dc435fd8e9eca01011a0d20f11cf93b839310233a496cf5ae7ee10dffed2c4 | 0.95 | testing_debugging_repair_refactoring | 1,797 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using Sys... | slozier/ironpython2 | Src/IronPython/Runtime/Generator.cs | https://github.com/slozier/ironpython2/blob/HEAD/Src/IronPython/Runtime/Generator.cs | ghcode:00009:31736840122e | apache-2.0 | codeparrot/github-code | 31736840122e5926901832d4590c41451b062230919fbab1d36effb6da164219 | 0.7 | testing_debugging_repair_refactoring | 4,634 | 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,... | agimofcarmen/xenadmin | XenAdminTests/XenModelTests/PureAsyncActionTests.cs | https://github.com/agimofcarmen/xenadmin/blob/HEAD/XenAdminTests/XenModelTests/PureAsyncActionTests.cs | ghcode:00009:23246ea8adc0 | bsd-2-clause | codeparrot/github-code | 23246ea8adc08c7f5e4c0ee4b2c7d4f223df609be709fc4459f7f83a6a194c16 | 0.78 | testing_debugging_repair_refactoring | 1,325 | false | 2026-07-17 |
using Xunit;
namespace Shouldly.Tests.Strings.DetailedDifference.CaseInsensitive.LongStrings
{
// Just after the edge case for the end of string truncation. Now, both start and end should be truncated.
public class LongStringsAreTruncatedAtTheStartBorderConditionBorderConditionTwo
{
[Fact]
... | JoeMighty/shouldly | src/Shouldly.Tests/Strings/DetailedDifference/CaseInsensitive/LongStrings/LongStringsAreTruncatedAtTheStartAndTheEndBorderConditionTwo.cs | https://github.com/JoeMighty/shouldly/blob/HEAD/src/Shouldly.Tests/Strings/DetailedDifference/CaseInsensitive/LongStrings/LongStringsAreTruncatedAtTheStartAndTheEndBorderConditionTwo.cs | ghcode:00009:9339647e0e17 | bsd-3-clause | codeparrot/github-code | 9339647e0e17a5b1a2e9b29177808ee751cbf3b6281ff29c112690b4e3f5d198 | 0.6 | testing_debugging_repair_refactoring | 1,561 | 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.Diagnostics.CodeAnalysis;
using Microsoft.Languages.Core.Test.Utility;
using Microsoft.R.Core.Tokens;
using Microsoft.UnitTests.Core.XUnit;
namespace M... | AlexanderSher/RTVS | src/R/Core/Test/Tokens/TokenizeExpressionsTest.cs | https://github.com/AlexanderSher/RTVS/blob/HEAD/src/R/Core/Test/Tokens/TokenizeExpressionsTest.cs | ghcode:00009:947dff1c1a4d | mit | codeparrot/github-code | 947dff1c1a4dde3c7ad490ceb71d60075dd662783f4a2f16c92ce77a444ada7d | 0.85 | testing_debugging_repair_refactoring | 164 | 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.Diagnostics.CodeAnalysis;
using Microsoft.Common.Core.UI.Commands;
using Microsoft.Languages.Editor.Text;
namespace Microsoft.R.Editor.Test.Mocks {
... | AlexanderSher/RTVS | src/Windows/R/Editor/Test/Mocks/EditorSupportMock.cs | https://github.com/AlexanderSher/RTVS/blob/HEAD/src/Windows/R/Editor/Test/Mocks/EditorSupportMock.cs | ghcode:00009:ca1b70b98af8 | mit | codeparrot/github-code | ca1b70b98af891bb1caf465883064a160e7106b284928ab863e83cf0e8cca035 | 0.85 | testing_debugging_repair_refactoring | 146 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------
// <copyright file="CsvReader.cs" company="Effort Team">
// Copyright (C) 2011-2014 Effort Team
// Copyright (C) 2006 Sébastien Lorion
//
// Permission is hereby granted, free of charge, to any person obtain... | arangas/effort | Main/Source/Effort/Internal/Csv/CsvReader.cs | https://github.com/arangas/effort/blob/HEAD/Main/Source/Effort/Internal/Csv/CsvReader.cs | ghcode:00009:84c85cd6efd3 | mit | codeparrot/github-code | 84c85cd6efd3e70b490c1b57a044e700e68331690bf7227bdf8050090f6c96ee | 0.72 | testing_debugging_repair_refactoring | 18,819 | false | 2026-07-17 |
using System;
using ElmahLogAnalyzer.Core.Domain.Export;
using ElmahLogAnalyzer.Core.Infrastructure.Settings;
using ElmahLogAnalyzer.Core.Presentation;
using Moq;
using NUnit.Framework;
namespace ElmahLogAnalyzer.UnitTests.Presentation
{
[TestFixture]
public class ExportPresenterTests : UnitTestBase
{
... | pellehenriksson/elmah-loganalyzer | src/ElmahLogAnalyzer.UnitTests/Presentation/ExportPresenterTests.cs | https://github.com/pellehenriksson/elmah-loganalyzer/blob/HEAD/src/ElmahLogAnalyzer.UnitTests/Presentation/ExportPresenterTests.cs | ghcode:00009:c61d1515cb3b | apache-2.0 | codeparrot/github-code | c61d1515cb3b810625ce95e4aa5d621aa5e75f0c6363723b5490dafc1d2eb69a | 0.85 | testing_debugging_repair_refactoring | 890 | 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
//
... | DinoV/PTVS | Common/Tests/Utilities/SharedProject/CustomItem.cs | https://github.com/DinoV/PTVS/blob/HEAD/Common/Tests/Utilities/SharedProject/CustomItem.cs | ghcode:00009:25d8887083ba | apache-2.0 | codeparrot/github-code | 25d8887083ba14709f8e0a987be89f0b0ba64129ae18e9908d09e3486d3fc437 | 0.95 | testing_debugging_repair_refactoring | 444 | 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.Threading;
using... | ericfe-ms/roslyn | src/Compilers/CSharp/Portable/Compilation/MemberSemanticModel.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Compilation/MemberSemanticModel.cs | ghcode:00009:a3e8bc45301f | apache-2.0 | codeparrot/github-code | a3e8bc45301f7914b3b688674986abd5cc6e0385d6734f134e9a06600af36ab4 | 0.72 | testing_debugging_repair_refactoring | 13,677 | 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;
using Xunit.Abstractions;
namespace System.Linq.Tests
{
public c... | mokchhya/corefx | src/System.Linq/tests/SkipTests.cs | https://github.com/mokchhya/corefx/blob/HEAD/src/System.Linq/tests/SkipTests.cs | ghcode:00009:2488eb84da5b | mit | codeparrot/github-code | 2488eb84da5bb78e598e77fdddb8758465c6a508fd3cccf1e9fabf70753fccca | 0.95 | testing_debugging_repair_refactoring | 4,030 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using System.Text;
using Microsoft.TemplateEngine.Core.Contracts;
using Xunit;
namespace Microsoft.TemplateEngine.Core.UnitTests
{
public partial class ConditionalTests
{
[Fact(DisplayName = nameof(VerifyMixedConditionalsThreeLevelEmbedding))]
... | seancpeters/templating | test/Microsoft.TemplateEngine.Core.UnitTests/ConditionalTests.UncommentingBehavior.cs | https://github.com/seancpeters/templating/blob/HEAD/test/Microsoft.TemplateEngine.Core.UnitTests/ConditionalTests.UncommentingBehavior.cs | ghcode:00009:3b0e656f133c | mit | codeparrot/github-code | 3b0e656f133c8cf740c3f85653ed60cb04b6f4a785b0a83ec492c227714f5477 | 0.85 | testing_debugging_repair_refactoring | 5,496 | 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.Linq;
using System.Threading;
using System.Threading.Tasks;
using Roslyn.Test.Utilities;
using Xunit;
... | jmarolf/roslyn | src/Features/LanguageServer/ProtocolUnitTests/Definitions/GoToTypeDefinitionTests.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Features/LanguageServer/ProtocolUnitTests/Definitions/GoToTypeDefinitionTests.cs | ghcode:00009:84ed0ddcfef1 | mit | codeparrot/github-code | 84ed0ddcfef1dd10b387064af260bcbf873fc3ec1ab30c710c387788a350aaff | 0.85 | testing_debugging_repair_refactoring | 483 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | StefanoRaggi/Lean | Tests/Brokerages/Oanda/OandaBrokerageTests.cs | https://github.com/StefanoRaggi/Lean/blob/HEAD/Tests/Brokerages/Oanda/OandaBrokerageTests.cs | ghcode:00009:30207512f584 | apache-2.0 | codeparrot/github-code | 30207512f5842467c8d4e58c3e0feda51ce66e2bfbbcfc0f7a566c9fe7a2f1c9 | 0.85 | testing_debugging_repair_refactoring | 2,756 | 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.Globalization;
using Xunit;
namespace System.Globalization.Tests
{
public class Numb... | mafiya69/corefx | src/System.Globalization/tests/NumberFormatInfo/NumberFormatInfoNumberNegativePattern.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Globalization/tests/NumberFormatInfo/NumberFormatInfoNumberNegativePattern.cs | ghcode:00009:abf2f68c6d42 | mit | codeparrot/github-code | abf2f68c6d4207a700cc4a15b50b712d47d1b75026ffe7c98c8ff0e4153987c9 | 0.95 | testing_debugging_repair_refactoring | 477 | false | 2026-07-17 |
using Xunit;
namespace Humanizer.Tests.Localisation.ukUA
{
[UseCulture("uk-UA")]
public class NumberToWordsTests
{
[Theory]
[InlineData(0, "нуль")]
[InlineData(1, "один")]
[InlineData(10, "десять")]
[InlineData(11, "одинадцять")]
[InlineData(12, "дванадцять"... | hazzik/Humanizer | src/Humanizer.Tests.Shared/Localisation/uk-UA/NumberToWordsTests.cs | https://github.com/hazzik/Humanizer/blob/HEAD/src/Humanizer.Tests.Shared/Localisation/uk-UA/NumberToWordsTests.cs | ghcode:00009:ccb261fd96ad | mit | codeparrot/github-code | ccb261fd96ad729d7b1c9b17ba6fa086ce8e116ffc9f6caa5e7e02be6fa1d33d | 0.75 | testing_debugging_repair_refactoring | 4,975 | false | 2026-07-17 |
using System.Xml;
using NUnit.Framework;
using Palaso.IO;
using System.Linq;
using Palaso.UI.WindowsForms.ClearShare;
namespace PalasoUIWindowsForms.Tests.ClearShare
{
/// <summary>
/// High-level examples of using ClearShare
/// </summary>
public class ClearShareUsage
{
[Test, Ignore("not yet")]
public void... | darcywong00/libpalaso | PalasoUIWindowsForms.Tests/ClearShare/ClearShareUsage.cs | https://github.com/darcywong00/libpalaso/blob/HEAD/PalasoUIWindowsForms.Tests/ClearShare/ClearShareUsage.cs | ghcode:00009:6db366d9cac4 | mit | codeparrot/github-code | 6db366d9cac46b750172cb44bcc0184569ddc9bb344f6e74cb0f1053c1715741 | 0.85 | testing_debugging_repair_refactoring | 568 | 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.Diagnostics;
using Microsoft.CodeAnalysis.CodeGen;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.Emit
{
[DebuggerD... | ManishJayaswal/roslyn | src/Compilers/Core/Portable/Emit/EditAndContinue/EncHoistedLocalInfo.cs | https://github.com/ManishJayaswal/roslyn/blob/HEAD/src/Compilers/Core/Portable/Emit/EditAndContinue/EncHoistedLocalInfo.cs | ghcode:00009:3c30a979f0bc | apache-2.0 | codeparrot/github-code | 3c30a979f0bc3ecc5b6cc26ddc630e4dd9765d13b128d693bd1431cc9d2b5565 | 0.75 | testing_debugging_repair_refactoring | 398 | false | 2026-07-17 |
#pragma warning disable 169
// ReSharper disable InconsistentNaming
namespace NEventStore
{
using System;
using System.Collections.Generic;
using System.Linq;
using FakeItEasy;
using NEventStore.Persistence;
using NEventStore.Persistence.AcceptanceTests;
using NEventStore.Persistence.Acc... | paritoshmmmec/NEventStore | src/NEventStore.Tests/OptimisticEventStoreTests.cs | https://github.com/paritoshmmmec/NEventStore/blob/HEAD/src/NEventStore.Tests/OptimisticEventStoreTests.cs | ghcode:00009:b7d8088fd892 | mit | codeparrot/github-code | b7d8088fd89287c70acc4674e285876880a20b38fe9e032364226b13d249bcbc | 0.85 | testing_debugging_repair_refactoring | 3,459 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Reflection;
using FluentAssertions.Common;
using FluentAssertions.Execution;
namespace FluentAssertions.Types
{
/// <summary>
/// Contains a number of methods to assert that a <see cref="MethodInfo"/> is in the expected state.
/// </summary>
[Debugge... | msackton/FluentAssertions | Src/Core/Types/MethodInfoAssertions.cs | https://github.com/msackton/FluentAssertions/blob/HEAD/Src/Core/Types/MethodInfoAssertions.cs | ghcode:00009:f7b37c0fc107 | apache-2.0 | codeparrot/github-code | f7b37c0fc1071a30721edcfd8e222bb1af0f3232249e442bad4b49b0441e279b | 0.7 | testing_debugging_repair_refactoring | 1,295 | 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 Xunit;
namespace System.Collections.Tests
{
public class MVD_TestBase
{
private static Random rand = new Rando... | livarcocc/corefxlab | tests/System.Collections.Generic.MultiValueDictionary.Tests/Generic/MultiValueDictionary/MVD.TestBase.cs | https://github.com/livarcocc/corefxlab/blob/HEAD/tests/System.Collections.Generic.MultiValueDictionary.Tests/Generic/MultiValueDictionary/MVD.TestBase.cs | ghcode:00009:a1edca1b7a0a | mit | codeparrot/github-code | a1edca1b7a0af09cc150170075673353980bde37874c7a061d22c6e6000e443c | 0.85 | testing_debugging_repair_refactoring | 1,380 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="DSPTestUtils.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/DataServices/UnitTests/ServerUnitTests/Stubs/DataServiceProvider/DSPTestUtils.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataServices/UnitTests/ServerUnitTests/Stubs/DataServiceProvider/DSPTestUtils.cs | ghcode:00009:10d882e61363 | mit | codeparrot/github-code | 10d882e6136343da7f24909ab1f7d15cf16d3f0a47a38ab40b457e98c6433c6a | 0.95 | testing_debugging_repair_refactoring | 1,499 | 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.IO;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.C... | ErikSchierboom/roslyn | src/CodeStyle/CSharp/Tests/FormattingAnalyzerTests.cs | https://github.com/ErikSchierboom/roslyn/blob/HEAD/src/CodeStyle/CSharp/Tests/FormattingAnalyzerTests.cs | ghcode:00009:8bf4c40775c9 | apache-2.0 | codeparrot/github-code | 8bf4c40775c9ddf3ad9f0a9d483d483fa140bde8fd1e731042a60d84a035250c | 0.95 | testing_debugging_repair_refactoring | 1,194 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ViewSimplifier.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// @owner [....], [....]
// @backupOwner [....]
//---------------------------------------------------... | sekcheong/referencesource | System.Data.Entity/System/Data/Common/CommandTrees/Internal/ViewSimplifier.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Data.Entity/System/Data/Common/CommandTrees/Internal/ViewSimplifier.cs | ghcode:00009:978680c9de0c | mit | codeparrot/github-code | 978680c9de0ccd34bfb3cef1567d6a6b91ccdc56fc74eacaa5b229d828618b11 | 0.7 | testing_debugging_repair_refactoring | 7,589 | 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.CSharp.Structure;
using Microsoft.CodeAnalysis.CSharp.Structure.MetadataAsSource;
using Microsoft.... | MichalStrehovsky/roslyn | src/EditorFeatures/CSharpTest/Structure/MetadataAsSource/TypeDeclarationStructureTests.cs | https://github.com/MichalStrehovsky/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Structure/MetadataAsSource/TypeDeclarationStructureTests.cs | ghcode:00009:d05c848b712d | apache-2.0 | codeparrot/github-code | d05c848b712d28129ad4784c86ce35ed8b892899be14add61f4a2e331e93d787 | 0.85 | testing_debugging_repair_refactoring | 398 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Edit... | mmitche/roslyn | src/EditorFeatures/CSharpTest/LineSeparators/LineSeparatorTests.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/LineSeparators/LineSeparatorTests.cs | ghcode:00009:6f3b7987481d | apache-2.0 | codeparrot/github-code | 6f3b7987481d0dd6a560bc38930d1c729fe230589d3c836e94f472172c7aced1 | 0.85 | testing_debugging_repair_refactoring | 3,419 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | oschwald/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Documentation/Samples/Linq/ParseJsonArray.cs | https://github.com/oschwald/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Documentation/Samples/Linq/ParseJsonArray.cs | ghcode:00009:b74aebc9b3a8 | mit | codeparrot/github-code | b74aebc9b3a80ff8bdfc5fa5e70fe60e2861e47786c12ba5ffdd45bfcef3b888 | 0.85 | testing_debugging_repair_refactoring | 434 | 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 Xunit;
namespace System.IO.Tests
{
public class FileStream_Seek : FileSystemTest
{
[Fact]
public void Inv... | heXelium/corefx | src/System.IO.FileSystem/tests/FileStream/Seek.cs | https://github.com/heXelium/corefx/blob/HEAD/src/System.IO.FileSystem/tests/FileStream/Seek.cs | ghcode:00009:b2c1ce943cce | mit | codeparrot/github-code | b2c1ce943cce54a8534ccbf6e62238d96f7cc4a3116776d84d78728cbe719cc7 | 0.95 | testing_debugging_repair_refactoring | 2,320 | 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.Reflection.Tests
{
public class AssemblyFileVersionAttributeTests
{
[... | shimingsg/corefx | src/System.Runtime/tests/System/Reflection/AssemblyFileVersionAttributeTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Runtime/tests/System/Reflection/AssemblyFileVersionAttributeTests.cs | ghcode:00009:fd8d767f663c | mit | codeparrot/github-code | fd8d767f663c61ff08cff0c9c6b9e7ae4cc61e3b5f738f6cb7132cb6acc421f0 | 0.95 | testing_debugging_repair_refactoring | 155 | 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 Xunit;
using System;
using System.Collections;
using System.Collections.Specialized;
using GenStrings;
namespace System.Collections.Specialized.Tests
{
publi... | vs-team/corefx | src/System.Collections.Specialized/tests/NameValueCollection/GetValuesIntTests.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Collections.Specialized/tests/NameValueCollection/GetValuesIntTests.cs | ghcode:00009:a2a9817d0fef | mit | codeparrot/github-code | a2a9817d0fefdd7d33a02eca9e8e656b689144418ccda1c38dd1aa3d0ea7fa38 | 0.95 | testing_debugging_repair_refactoring | 2,183 | 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.Diagnostics;
using System.Xml;
using System.Xml.XPath;
using System.Xml.Xsl;
using FT = MS.Internal.Xml.XPath.Function.FunctionType;
namespa... | vs-team/corefx | src/System.Xml.XPath/src/System/Xml/XPath/Internal/BooleanFunctions.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Xml.XPath/src/System/Xml/XPath/Internal/BooleanFunctions.cs | ghcode:00009:4a519c054b3d | mit | codeparrot/github-code | 4a519c054b3d7fc6f5c2008a468665faa750169ef5e0c2c0a1f1b5f62f38dea5 | 0.85 | testing_debugging_repair_refactoring | 623 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using GAP.TechnicalTest.API.Utilities;
using GAP.TechnicalTest.API.Controllers;
using GAP.TechnicalTest.API;
namespace GAP.TechnicalTest.UnitTests.Controllers
{
[TestClass]
public class ArticleControl... | carlosdumar/GAP | GAP.TechnicalTest/GAP.TechnicalTest.UnitTests/Controllers/ArticleControllerTest.cs | https://github.com/carlosdumar/GAP/blob/HEAD/GAP.TechnicalTest/GAP.TechnicalTest.UnitTests/Controllers/ArticleControllerTest.cs | ghcode:00009:cc51480af0f2 | mit | codeparrot/github-code | cc51480af0f2e6f68469ed61f0985b6c535ff3ef7e00d6ae024e5009b8fcaabb | 0.6 | testing_debugging_repair_refactoring | 340 | false | 2026-07-17 |
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using JordansLibrary.Xml;
namespace JordansLibrary.Tests.Xml
{
[TestClass()]
public class ElementFixture
{
[TestMethod()]
public void TestTextlessConstructor()
{
string namespaceUri = "namespac... | hanson-andrew/RockSolidIoc | RockSolidIoc.Tests/XML/ElementFixture.cs | https://github.com/hanson-andrew/RockSolidIoc/blob/HEAD/RockSolidIoc.Tests/XML/ElementFixture.cs | ghcode:00009:d2a627260df3 | mit | codeparrot/github-code | d2a627260df3bb862c966cd2bea8d4d578f4a01e19a3c12170640c7b87b614cc | 0.6 | testing_debugging_repair_refactoring | 814 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using GildedRose.Console;
using System.Collections.Generic;
namespace GildedRose.Console.Tests
{
[TestClass()]
public class ProgramTests
{
/*- All items have a SellIn value which denotes the number of days we have
to sell... | Ziukas/simple-tests | src/GildedRose.ConsoleTests/ProgramTests.cs | https://github.com/Ziukas/simple-tests/blob/HEAD/src/GildedRose.ConsoleTests/ProgramTests.cs | ghcode:00009:24450d1c8175 | mit | codeparrot/github-code | 24450d1c817586bff007c2ebaba0f71be208f701548d13bf329a38371095cd82 | 0.85 | testing_debugging_repair_refactoring | 2,446 | false | 2026-07-17 |
using System;
using System.Linq;
using FluentAssertions;
using Flurl.Http.Testing;
using Newtonsoft.Json;
using Z.ExtensionMethods;
namespace Coinbase.Tests
{
internal static class ExtensionsForTesting
{
public static void Dump(this object obj)
{
Console.WriteLine(obj.DumpString());
}
... | bchavez/Coinbase | Source/Coinbase.Tests/ExtensionsForTesting.cs | https://github.com/bchavez/Coinbase/blob/HEAD/Source/Coinbase.Tests/ExtensionsForTesting.cs | ghcode:00009:50aac11106c1 | mit | codeparrot/github-code | 50aac11106c10214e68876aad49ac4819be045417f3a4f43d32fcc8c3c1e6e94 | 0.75 | testing_debugging_repair_refactoring | 236 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TopGearApi.Domain.Models;
namespace TopGearApi.Test
{
[TestClass]
public class ItemControllerTest : BaseControllerTest<Item>
... | cayodonatti/TopGearApi | TopGearApi.Test/ItemControllerTest.cs | https://github.com/cayodonatti/TopGearApi/blob/HEAD/TopGearApi.Test/ItemControllerTest.cs | ghcode:00009:f5cb986ed266 | mit | codeparrot/github-code | f5cb986ed26653b2d4f456b40178f13692f88d0a11a3efdd02c052c9e5dd30e1 | 0.6 | testing_debugging_repair_refactoring | 78 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Zergatul.Security.Tests.MessageDigest
{
[TestClass]
public class CubeHash512Tests
{
private static SecurityPr... | Zergatul/ZergatulLib | Zergatul.Security.Tests/MessageDigest/CubeHash512Tests.cs | https://github.com/Zergatul/ZergatulLib/blob/HEAD/Zergatul.Security.Tests/MessageDigest/CubeHash512Tests.cs | ghcode:00009:7bb6c0c01db3 | mit | codeparrot/github-code | 7bb6c0c01db3375c2c4140afd64ebc8900fe8105e7478a892dd06ba6b660153f | 0.75 | testing_debugging_repair_refactoring | 919 | false | 2026-07-17 |
using System;
using System.IO;
using Grappachu.Core.Lang.Domain;
using Grappachu.Core.Runtime.Compilers;
using NUnit.Framework;
using SharpTestsEx;
namespace Grappachu.Core.Test.Runtime.Compilers
{
[TestFixture]
public class CsCompilerTest
{
[Test]
public void Compile_should_dinamically_co... | grappachu/core | src/Grappachu.Core.Test/Runtime/Compilers/CsCompilerTest.cs | https://github.com/grappachu/core/blob/HEAD/src/Grappachu.Core.Test/Runtime/Compilers/CsCompilerTest.cs | ghcode:00009:02572a6711f8 | mit | codeparrot/github-code | 02572a6711f8318a6704cf059a265a60423e06302b76572a43d2c5a18a5060f5 | 0.6 | testing_debugging_repair_refactoring | 245 | false | 2026-07-17 |
using System.Configuration;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Affecto.AuthenticationServer.Configuration.Tests
{
[TestClass]
public class IncompleteScopeConfigurationTests : ConfigurationTestsBase
{
[TestMethod]
[ExpectedException(typeof(Config... | affecto/dotnet-AuthenticationServer | Source/AuthenticationServer.Configuration.Tests/IncompleteScopeConfigurationTests.cs | https://github.com/affecto/dotnet-AuthenticationServer/blob/HEAD/Source/AuthenticationServer.Configuration.Tests/IncompleteScopeConfigurationTests.cs | ghcode:00009:db86d1f4b203 | mit | codeparrot/github-code | db86d1f4b203a4ac49772f6e9a570d6986286e018144989bab86838970c649cd | 0.75 | testing_debugging_repair_refactoring | 255 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using CatSkald.Tools;
using NUnit.Framework;
namespace CatSkald.Test.Tools.UnitTests
{
public class ThrowTests
{
#region IfNull
[Test]
public void IfNull_ThrowsNothing_ForNotNull()
{
Assert.That(() =... | CatSkald/Roguelike | test/CatSkald.Test.Tools.UnitTests/ThrowTests.cs | https://github.com/CatSkald/Roguelike/blob/HEAD/test/CatSkald.Test.Tools.UnitTests/ThrowTests.cs | ghcode:00009:cb90982c6d53 | mit | codeparrot/github-code | cb90982c6d53398dedd81f9369bc5c9ce0c561cfa78c8789060c781f085c9b9d | 0.75 | testing_debugging_repair_refactoring | 1,120 | false | 2026-07-17 |
using FTF.Core.Extensions;
using Xunit;
namespace FTF.Tests.XUnit.Unit
{
public class TagNameParserTest
{
[Theory]
[InlineData("", new string[0])]
[InlineData("#Learn kung fu", new[] { "Learn" })]
[InlineData("#Buy cheese in the #SuperMarket", new[] { "Buy", "SuperMarket" })]
... | orodriguez/FTF | FTF.Tests.XUnit/Unit/TagNameParserTest.cs | https://github.com/orodriguez/FTF/blob/HEAD/FTF.Tests.XUnit/Unit/TagNameParserTest.cs | ghcode:00009:69d4a359261e | mit | codeparrot/github-code | 69d4a359261eb2e92fe0fd00c0d0595c858966909e338a3867baa14689eb73b1 | 0.75 | testing_debugging_repair_refactoring | 142 | false | 2026-07-17 |
using System.Reflection;
using ApprovalTests.Reporters;
using ConsoleToolkit.ConsoleIO;
using ConsoleToolkit.ConsoleIO.Internal;
using ConsoleToolkit.Testing;
using ConsoleToolkitTests.TestingUtilities;
using NUnit.Framework;
namespace ConsoleToolkitTests.ConsoleIO.Internal
{
[TestFixture]
[UseReporter(typeof ... | jamie-davis/ConsoleTools | ConsoleToolkitTests/ConsoleIO/Internal/TestConstructPromptText.cs | https://github.com/jamie-davis/ConsoleTools/blob/HEAD/ConsoleToolkitTests/ConsoleIO/Internal/TestConstructPromptText.cs | ghcode:00009:683d3111f0fc | mit | codeparrot/github-code | 683d3111f0fc59ac3b6c22973bd09b34b9373d6e0f7cd86ec6304596696f289b | 0.85 | testing_debugging_repair_refactoring | 966 | false | 2026-07-17 |
using Ninject;
using NUnit.Framework;
using System;
using UnityEngine;
namespace Tests {
[TestFixture]
public class TestCollisions : BaseInjectedTest {
[Test]
public void testBouncingLightDoesNotDestroyItselfAboveThresholdHeight() {
BouncingLight light = kernel.Get... | banderous/Uniject | src/test/tests/src/Tests/TestCollisions.cs | https://github.com/banderous/Uniject/blob/HEAD/src/test/tests/src/Tests/TestCollisions.cs | ghcode:00009:c0941bcacfd9 | mit | codeparrot/github-code | c0941bcacfd953a7b26a8f1cc7d72d87663a222a48072b48f1919aaf187876fd | 0.85 | testing_debugging_repair_refactoring | 202 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Toolchains.CsProj;
using sly.lexer;
using sly.buildresult;
using System.IO;
using System.Linq;
using bench.json;
using BenchmarkDotNet.Analysers;
namespace bench
{
[MemoryDiagnoser]
[Config... | b3b00/csly | bench/GenericLexerBench.cs | https://github.com/b3b00/csly/blob/HEAD/bench/GenericLexerBench.cs | ghcode:00009:04471133aabb | mit | codeparrot/github-code | 04471133aabb3a2feeeff8540a0e8e1db763ec9256e1f5a61266de411e220a0b | 0.6 | testing_debugging_repair_refactoring | 376 | false | 2026-07-17 |
using FluentAssertions;
using Machine.Specifications;
using NeverNull.Combinators;
namespace NeverNull.Tests.Combinators {
[Subject(typeof (TransformExt), "Transform")]
public class When_I_transform_a_some_containing_three_to_a_some_of_string {
static Option<string> _result;
Because o... | bryansoto/NeverNull | NeverNull.Tests/Combinators/When_I_transform_a_some_containing_three_to_a_some_of_string.cs | https://github.com/bryansoto/NeverNull/blob/HEAD/NeverNull.Tests/Combinators/When_I_transform_a_some_containing_three_to_a_some_of_string.cs | ghcode:00009:1a5dedecac50 | mit | codeparrot/github-code | 1a5dedecac50006534c870b6b6a536d639d1226fd4598db8b47bf5dbb5e2504d | 0.6 | testing_debugging_repair_refactoring | 134 | false | 2026-07-17 |
using System.Collections.Generic;
using NancyContrib.Chameleon.Templates;
using NUnit.Framework;
namespace NancyContrib.Chameleon.Tests.Templates
{
[TestFixture]
class HtmlAttributesShould
{
private HtmlAttributes ReturnAsHtmlAttributes(HtmlAttributes attrs)
{
return... | GiscardBiamby/NancyContrib.Chameleon | ChameleonForms.Tests/Templates/HtmlAttributesTests.cs | https://github.com/GiscardBiamby/NancyContrib.Chameleon/blob/HEAD/ChameleonForms.Tests/Templates/HtmlAttributesTests.cs | ghcode:00009:35bae7fedc38 | mit | codeparrot/github-code | 35bae7fedc38123d204148b6bdbc2d96353d69454aba31de948c3c5914d8198d | 0.85 | testing_debugging_repair_refactoring | 1,066 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Core.Infrastructure.Logging;
using Core.Models.Logging;
namespace Tests.Fakes
{
public class TestTraceLogger: ITraceLogger
{
private static List<LogEntry... | MiniverCheevy/spa-starter-kit | src/Tests/Fakes/TestTraceLogger.cs | https://github.com/MiniverCheevy/spa-starter-kit/blob/HEAD/src/Tests/Fakes/TestTraceLogger.cs | ghcode:00009:bdf9fb802184 | mit | codeparrot/github-code | bdf9fb8021843ada30cd9166d2ba0c9282b9dd9bb7790bc87390e6db1a5cbc2d | 0.85 | testing_debugging_repair_refactoring | 171 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
using TechTalk.SpecFlow;
namespace FeatureExtractor.Specs
{
[Binding]
public class LectureDesScenariosSteps
{
[Given(@"Le fichier ESD\.agex contenant les lignes:")]
public... | Ambrou/Ambrex.FeatureExtractor | FeatureExtractor.Specs/Sources/LectureDesScenariosSteps.cs | https://github.com/Ambrou/Ambrex.FeatureExtractor/blob/HEAD/FeatureExtractor.Specs/Sources/LectureDesScenariosSteps.cs | ghcode:00009:6df43b6f9785 | mit | codeparrot/github-code | 6df43b6f97853fe2eabb4896f05bfe660bdd767ad8a3deb92abbe3719a15db64 | 0.6 | testing_debugging_repair_refactoring | 301 | false | 2026-07-17 |
using Halcyon.HAL;
using Halcyon.Tests.HAL.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Halcyon.Tests.HAL {
public class HALResponseTests {
[Theory]
... | visualeyes/halcyon | test/Halcyon.Tests/HAL/HALResponseTests.cs | https://github.com/visualeyes/halcyon/blob/HEAD/test/Halcyon.Tests/HAL/HALResponseTests.cs | ghcode:00009:c6a4aafc3b70 | mit | codeparrot/github-code | c6a4aafc3b70ea75889f8c2075edacac1ffb8e9355024ffbc661c7882fc2de55 | 0.75 | testing_debugging_repair_refactoring | 1,702 | false | 2026-07-17 |
using System;
using System.Linq;
using Xunit;
namespace Stripe.Tests
{
public class SubscriptionTests
{
private dynamic _plan;
private dynamic _customer;
private StripeClient _client;
public SubscriptionTests()
{
_client = new StripeClient(Constants.ApiKey... | ChadBurggraf/stripe-dotnet | test/Stripe.Tests/SubscriptionTests.cs | https://github.com/ChadBurggraf/stripe-dotnet/blob/HEAD/test/Stripe.Tests/SubscriptionTests.cs | ghcode:00009:eca6d02eb564 | mit | codeparrot/github-code | eca6d02eb564b37196ba45f596c540f97c4e542aacadd36f0338be4d68a43219 | 0.75 | testing_debugging_repair_refactoring | 383 | false | 2026-07-17 |
namespace ImGui
{
// Simple column measurement currently used for MenuItem() only. This is very short-sighted for now and NOT a generic helper.
internal class ImGuiSimpleColumns
{
internal int Count;
internal float Spacing;
internal float Width, NextWidth;
internal float[] P... | xposure/ImGuiSharp | ImGuiSharp.Shared/ImGui_Internal.h/ImGuiSimpleColumns.cs | https://github.com/xposure/ImGuiSharp/blob/HEAD/ImGuiSharp.Shared/ImGui_Internal.h/ImGuiSimpleColumns.cs | ghcode:00009:51aeecb4bf18 | mit | codeparrot/github-code | 51aeecb4bf182b35d5bd4bf652df66ebd9294cb896e8f998d3f9b30332ee9d32 | 0.6 | testing_debugging_repair_refactoring | 437 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2007-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 r... | jadarnel27/nunit | src/NUnitFramework/framework/Internal/RuntimeFramework.cs | https://github.com/jadarnel27/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/RuntimeFramework.cs | ghcode:00009:a3a1c28a766c | mit | codeparrot/github-code | a3a1c28a766cfbf8539f37993d81cce5570f71302e26ced7a1afd8e013f6e2e8 | 0.85 | testing_debugging_repair_refactoring | 2,639 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2014 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/tests/Attributes/ApplyToContextTests.cs | https://github.com/jadarnel27/nunit/blob/HEAD/src/NUnitFramework/tests/Attributes/ApplyToContextTests.cs | ghcode:00009:de0272f27966 | mit | codeparrot/github-code | de0272f279666d02d0604a50a05b6f7bcf781c88e82833e7e0f4761b12ee83fe | 0.95 | testing_debugging_repair_refactoring | 548 | false | 2026-07-17 |
namespace TBag.BloomFilter.Test.Invertible.Standard
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using BloomFilters;
using System.Linq;
using BloomFilters.Invertible;
using Infrastructure; /// <summary>
/// Simpl... | theezak/BloomFilters | TBag.BloomFilter.Test/Invertible/Standard/ContainsTest.cs | https://github.com/theezak/BloomFilters/blob/HEAD/TBag.BloomFilter.Test/Invertible/Standard/ContainsTest.cs | ghcode:00009:dd92f177e1d7 | mit | codeparrot/github-code | dd92f177e1d7ddf20daa60b621b29588d633610234ccdd2ab163211082b3519f | 0.7 | testing_debugging_repair_refactoring | 398 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using TrustStampCore.Service;
using TrustStampCore.Extensions;
using TrustStampCore.Repository;
using TrustStampCore.Workflows;
using Newtonsoft.Json.Linq;
namespace TrustStampTests.Core.Services
{
[TestFixture]
public c... | keutmann/TrustStamp | TrustStampTests/Core/Workflows/WorkflowTest.cs | https://github.com/keutmann/TrustStamp/blob/HEAD/TrustStampTests/Core/Workflows/WorkflowTest.cs | ghcode:00009:67b34cc9960b | mit | codeparrot/github-code | 67b34cc9960b432ff01327ac5d2b7109e4813d7de29a859fe93c830dc23b6d4d | 0.7 | testing_debugging_repair_refactoring | 632 | false | 2026-07-17 |
// Description: C# Extension Methods | Enhance the .NET Framework and .NET Core with over 1000 extension methods.
// Website & Documentation: https://csharp-extension.com/
// Issues: https://github.com/zzzprojects/Z.ExtensionMethods/issues
// License (MIT): https://github.com/zzzprojects/Z.ExtensionMethods/blob/master/... | zzzprojects/Z.ExtensionMethods | test/Z.Reflection.Test/GetDeclaration/Constructor/ParamsParameterConstructor.cs | https://github.com/zzzprojects/Z.ExtensionMethods/blob/HEAD/test/Z.Reflection.Test/GetDeclaration/Constructor/ParamsParameterConstructor.cs | ghcode:00009:fc1671b9afd2 | mit | codeparrot/github-code | fc1671b9afd2dcfd7bc52bdcc3425509e760197d40f1b4110897d1c8f64c9078 | 0.7 | testing_debugging_repair_refactoring | 211 | false | 2026-07-17 |
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// --------------------------------------------------------... | p-org/PSharp | Tests/StaticAnalysis.Tests/AccessChecking/WriteAccessAfterSendTests.cs | https://github.com/p-org/PSharp/blob/HEAD/Tests/StaticAnalysis.Tests/AccessChecking/WriteAccessAfterSendTests.cs | ghcode:00009:a3adb766ee08 | mit | codeparrot/github-code | a3adb766ee08b2ff42d429c616366fd5701ffe67bd5b19c91a931d99cbd6f212 | 0.85 | testing_debugging_repair_refactoring | 2,777 | false | 2026-07-17 |
using System;
using System.Reflection;
using Chauffeur.Jenkins.Client;
using Chauffeur.Jenkins.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Chauffeur.Tests.Jenkins.Client
{
[TestClass]
public abstract class JenkinsClientTest
{
#region Fields
/// <summary>... | Jumpercables/Chauffeur | tests/Chauffeur.Tests/Jenkins/Client/JenkinsClientTest.cs | https://github.com/Jumpercables/Chauffeur/blob/HEAD/tests/Chauffeur.Tests/Jenkins/Client/JenkinsClientTest.cs | ghcode:00009:480a65614d7c | mit | codeparrot/github-code | 480a65614d7c7918e0dc6760a654bddfb24a2d1deb48150cac5cac690e603954 | 0.7 | testing_debugging_repair_refactoring | 406 | false | 2026-07-17 |
namespace Assertions
{
using System;
using System.Diagnostics;
public static class Search
{
public static int BinarySearch<T>(T[] arr, T value) where T : IComparable<T>
{
return BinarySearch(arr, value, 0, arr.Length - 1);
}
private static int BinarySearch<... | DennyGD/High-Quality-Code | DefensiveProgrammingAndExceptions/Assertions/Search.cs | https://github.com/DennyGD/High-Quality-Code/blob/HEAD/DefensiveProgrammingAndExceptions/Assertions/Search.cs | ghcode:00009:34eb9b30167b | mit | codeparrot/github-code | 34eb9b30167b7cf24ee9cdd68e10a384b3ea70b10dbf032bb704d1cd7bb020c4 | 0.7 | testing_debugging_repair_refactoring | 279 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuizSystemGeneral
{
public class Test
{
public string Title { get; set; }
public List<Question> Questions { get; set; }
public List<Score> Scoreboar... | ivovachkov/RaspberryQuizSystem | Class-Diagram/QuizSystemGeneral/Test.cs | https://github.com/ivovachkov/RaspberryQuizSystem/blob/HEAD/Class-Diagram/QuizSystemGeneral/Test.cs | ghcode:00009:474ac8019264 | mit | codeparrot/github-code | 474ac801926496e7934e264a468e7255395c93e5193ae1c93e2da06a4830a571 | 0.75 | testing_debugging_repair_refactoring | 134 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Threading.Tasks;
using System.Xml.Linq;
using Azure.Core.TestFramework;
using Azure.Storage;
using Azure.Storage.Blobs;
using Microsoft.AspNetCore.DataProtection;
using Microsoft... | Azure/azure-sdk-for-net | sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Blobs/tests/DataProtectionBlobFunctionalTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Blobs/tests/DataProtectionBlobFunctionalTests.cs | ghcode:00009:ee284dba47ed | mit | codeparrot/github-code | ee284dba47ed417405fa4783bc54e748b3cb466f7351358afd78fb616f08c94e | 0.95 | testing_debugging_repair_refactoring | 654 | false | 2026-07-17 |
using System.Collections.Generic;
using EasyReflection;
using NUnit.Framework;
namespace EasyReflectionTests
{
[TestFixture]
public class DictionaryExtensionsTests
{
[Test]
public void MapsFromDictionary()
{
var dictionary = new Dictionary<string, object> { { "PublicPro... | garrypas/EasyReflection | EasyReflectionTests/DictionaryExtensionsTests.cs | https://github.com/garrypas/EasyReflection/blob/HEAD/EasyReflectionTests/DictionaryExtensionsTests.cs | ghcode:00009:85ef2dc40cae | mit | codeparrot/github-code | 85ef2dc40cae08b9fd8b60e41f96ec689a7e0c05e68e6309c77b05045735a0ed | 0.75 | testing_debugging_repair_refactoring | 183 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.