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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// 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.Xml.X... | Petermarcu/corefx | src/System.Private.Xml/src/System/Xml/Xsl/Xslt/Compiler.cs | https://github.com/Petermarcu/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Xsl/Xslt/Compiler.cs | ghcode:00007:63141ce242ba | mit | codeparrot/github-code | 63141ce242bae89461aeebb35651b58f109467b88b1f61eeb3717a56e82200cc | 0.95 | testing_debugging_repair_refactoring | 3,412 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// <copyright file="XPathDocumentBuilder.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" pr... | sekcheong/referencesource | System.Xml/System/Xml/Cache/XPathDocumentBuilder.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Xml/System/Xml/Cache/XPathDocumentBuilder.cs | ghcode:00007:95b7744f7d00 | mit | codeparrot/github-code | 95b7744f7d006945bbc5d1c48036f8612bdf9d43bb3f97c3f123c8b544e5dd67 | 0.7 | testing_debugging_repair_refactoring | 7,325 | 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.Data.Common;
using System.Data.SqlTypes;
using System.Diagnostics;
us... | Ermiar/corefx | src/System.Data.SqlClient/src/System/Data/SqlClient/SqlEnums.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.Data.SqlClient/src/System/Data/SqlClient/SqlEnums.cs | ghcode:00007:c06eba720bfe | mit | codeparrot/github-code | c06eba720bfe1c20a952c06a0aeb3101860a3577a67e96373b0147f5a621be03 | 0.95 | testing_debugging_repair_refactoring | 9,347 | 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.Http;
using Microsoft.DotNet.RemoteExecutor;
using Xunit;
namesp... | BrennanConroy/corefx | src/System.Net.Http/tests/UnitTests/SystemProxyInfoTest.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Net.Http/tests/UnitTests/SystemProxyInfoTest.cs | ghcode:00007:ec736da08600 | mit | codeparrot/github-code | ec736da08600bf0a7022a93563cef2b8a47f52f23fadd83f6c8173d62bb929f7 | 0.95 | testing_debugging_repair_refactoring | 388 | false | 2026-07-17 |
using System.Buffers;
namespace System.IO.Pipelines.Tests
{
// This pool returns exact buffer sizes using heap memory
public class HeapBufferPool : MemoryPool<byte>
{
public override int MaxBufferSize => int.MaxValue;
public override IMemoryOwner<byte> Rent(int minBufferSize = -1)
... | BrennanConroy/corefx | src/System.IO.Pipelines/tests/Infrastructure/HeapBufferPool.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.IO.Pipelines/tests/Infrastructure/HeapBufferPool.cs | ghcode:00007:424951d014f9 | mit | codeparrot/github-code | 424951d014f965d256741ccc53bf6ad257356567a5d65b2c071b54eaa64a1683 | 0.85 | 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.Xml;
namespace XmlDocumentTests.XmlDocumentTests
{
public class CreateElementTests
{
[Fact]
public stat... | vs-team/corefx | src/System.Xml.XmlDocument/tests/XmlDocumentTests/CreateElementTests.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Xml.XmlDocument/tests/XmlDocumentTests/CreateElementTests.cs | ghcode:00007:96528cab5bca | mit | codeparrot/github-code | 96528cab5bca860b9fff9a1f4a9a1b3dfb3192fecaa11ed76bd9aea9d1ac819a | 0.85 | testing_debugging_repair_refactoring | 589 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection.Metada... | BrennanConroy/corefx | src/System.Reflection.Metadata/src/System/Reflection/Metadata/PortablePdb/HandleCollections.Debug.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Reflection.Metadata/src/System/Reflection/Metadata/PortablePdb/HandleCollections.Debug.cs | ghcode:00007:52f7a9d183ac | mit | codeparrot/github-code | 52f7a9d183acbaba06e78100d5e894a71ed0178b12ef7bf24c38b106e51660fe | 0.95 | testing_debugging_repair_refactoring | 4,453 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using P3Net.Kraken.Data;
using P3Net.Kraken.UnitTesting;
namespace Tests.P3Net.Kraken.Data
{
[TestClass]
public partial class DataReaderExtensions... | CoolDadTx/kraken | Tests/Tests.P3Net.Kraken.Data/DataReaderExtensionsTests.cs | https://github.com/CoolDadTx/kraken/blob/HEAD/Tests/Tests.P3Net.Kraken.Data/DataReaderExtensionsTests.cs | ghcode:00007:e67f3e16851d | mit | codeparrot/github-code | e67f3e16851dd446653824ad8059cf7131a00a83d50dc06b96bf319ec814984f | 0.85 | testing_debugging_repair_refactoring | 2,492 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Ploeh.AutoFixture;
using Xunit;
namespace TwoWayMapper.Test
{
public class TwoWayMapperListArrayCopyTest
{
private readonly IFixture fixture = new Fixture();
[Fact]
public void Map_WhenInvoked_ShouldMapArrayMember()
{
... | rd-dev-ukraine/two-way-mapper | TwoWayMapper.Test/TwoWayMapperListArrayCopyTest.cs | https://github.com/rd-dev-ukraine/two-way-mapper/blob/HEAD/TwoWayMapper.Test/TwoWayMapperListArrayCopyTest.cs | ghcode:00007:f8491691814d | mit | codeparrot/github-code | f8491691814d084f6dca622f2b2cbb1750ead4bc720e0467ff8c0256df68cc50 | 0.7 | testing_debugging_repair_refactoring | 1,221 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using Syste... | sharwell/roslyn | src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs | https://github.com/sharwell/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs | ghcode:00007:8c51aa327b19 | mit | codeparrot/github-code | 8c51aa327b1937c49db98b40846c36fc1792dfa1cefe7a5dce6f02eb607644f0 | 0.72 | testing_debugging_repair_refactoring | 17,765 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace RootCert
{
public class Class1
{
public void InstallRootCert()
{
string file = "mytest.pfx"; // Contains... | github/codeql | csharp/ql/test/query-tests/Security Features/CWE-327/DontInstallRootCert/Test.cs | https://github.com/github/codeql/blob/HEAD/csharp/ql/test/query-tests/Security Features/CWE-327/DontInstallRootCert/Test.cs | ghcode:00007:bfbcd8ee4e6c | mit | codeparrot/github-code | bfbcd8ee4e6cbed8977843310fe0c63c063252c385b148666de018271398dcc6 | 0.95 | testing_debugging_repair_refactoring | 691 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using OpenRasta.Sina;
using OpenRasta.Sina.Rules;
using Should;
using Xunit;
namespace Tests.conditional
{
public class match : contexts.parsing_text_to<string>
{
public match()
{
given_rule(from any in AnyCharacter().Any().Selec... | openrasta/sina | src/Tests/conditional/match.cs | https://github.com/openrasta/sina/blob/HEAD/src/Tests/conditional/match.cs | ghcode:00007:23e67831d255 | mit | codeparrot/github-code | 23e67831d2559d7555b6ecf9b832e144758afa9717472d820b895977fe921ba9 | 0.85 | testing_debugging_repair_refactoring | 132 | false | 2026-07-17 |
using Castle.DynamicProxy;
using Xunit;
namespace Autofac.Extras.DynamicProxy.Test
{
public class ClassInterceptorsFixture
{
[Fact]
public void InterceptorCanBeWiredUsingInterceptedBy()
{
var builder = new ContainerBuilder();
builder.RegisterType<D>()
... | jango2015/Autofac.Extras.DynamicProxy | test/Autofac.Extras.DynamicProxy.Test/ClassInterceptorsFixture.cs | https://github.com/jango2015/Autofac.Extras.DynamicProxy/blob/HEAD/test/Autofac.Extras.DynamicProxy.Test/ClassInterceptorsFixture.cs | ghcode:00007:e2998bfc1caa | mit | codeparrot/github-code | e2998bfc1caaab970b1184092d484176b261a94f26d1686c0f9e45e6d96c4d54 | 0.6 | testing_debugging_repair_refactoring | 397 | false | 2026-07-17 |
#if NETCOREAPP
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
#endif
using System;
using System.Runtime.CompilerServices;
using BenchmarkDotNet.Attributes;
using Robust.Shared.Maths;
using Robust.Shared.Random;
using SysVector4 = System.Numerics.Vector4;
namespace Content.Benchmarks
{
[Disas... | space-wizards/space-station-14-content | Content.Benchmarks/ColorInterpolateBenchmark.cs | https://github.com/space-wizards/space-station-14-content/blob/HEAD/Content.Benchmarks/ColorInterpolateBenchmark.cs | ghcode:00007:2f25b243188b | mit | codeparrot/github-code | 2f25b243188b6bf1a6850f392ee23538e101fbfa06859d07eb7c0311d50a2818 | 0.6 | testing_debugging_repair_refactoring | 1,224 | false | 2026-07-17 |
using System.Threading.Tasks;
using Nimbus.Handlers;
using Nimbus.IntegrationTests.Tests.AbstractBaseTypeMessageTests.MessageContracts;
using Nimbus.Tests.Common;
namespace Nimbus.IntegrationTests.Tests.AbstractBaseTypeMessageTests.Handlers
{
#pragma warning disable 4014 // Because this call is not awaited, execution... | rebase42/Anubus | src/Tests/Nimbus.IntegrationTests/Tests/AbstractBaseTypeMessageTests/Handlers/SomeConcreteRequestTypeHandler.cs | https://github.com/rebase42/Anubus/blob/HEAD/src/Tests/Nimbus.IntegrationTests/Tests/AbstractBaseTypeMessageTests/Handlers/SomeConcreteRequestTypeHandler.cs | ghcode:00007:47855272184b | mit | codeparrot/github-code | 47855272184bd787bc42917ab694cf5f7e37919982bb3c65243e6992dafd1db0 | 0.85 | testing_debugging_repair_refactoring | 144 | false | 2026-07-17 |
using System.Threading.Tasks;
using Amplified.CSharp.Extensions;
using Xunit;
using static Amplified.CSharp.Maybe;
namespace Amplified.CSharp
{
// ReSharper disable once InconsistentNaming
public class AsyncMaybe_OrDefault
{
[Fact]
public async Task Sync_OnSome_ReturnsResultOfSom... | Nillerr/Amplified.CSharp | Amplified.CSharp.Tests/Extensions/AsyncMaybe/OrDefault.cs | https://github.com/Nillerr/Amplified.CSharp/blob/HEAD/Amplified.CSharp.Tests/Extensions/AsyncMaybe/OrDefault.cs | ghcode:00007:a10f904cebcb | mit | codeparrot/github-code | a10f904cebcba26b9ac7b0fe0850f581d10ad6dab4b7d59cf8a048e1d44fa995 | 0.6 | testing_debugging_repair_refactoring | 146 | false | 2026-07-17 |
using Xunit;
namespace Carbon.Css.Tests
{
public class MediaTests
{
[Fact]
public void RgbaTest()
{
var sheet = StyleSheet.Parse("div { color: rgba(100, 100, 100, 0.5); }");
Assert.Equal("div { color: rgba(100, 100, 100, 0.5); }", sheet.ToString())... | Carbon/Css | src/Carbon.Css.Tests/MediaTests.cs | https://github.com/Carbon/Css/blob/HEAD/src/Carbon.Css.Tests/MediaTests.cs | ghcode:00007:f8a720f1e276 | mit | codeparrot/github-code | f8a720f1e2766b8fbe11ef367f97288adaf0c36785fc36ebc5e89aa6510960d4 | 0.75 | testing_debugging_repair_refactoring | 475 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Modules.TraktSearchModule
{
using FluentAssertions;
using System;
using System.Net;
using System.Threading.Tasks;
using TestUtils;
using Traits;
using TraktApiSharp.Enums;
using TraktApiSharp.Exceptions;
using TraktApiSharp.Objects.Basic;
using Trak... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Modules/TraktSearchModule/TraktSearchModule_GetTextQueryResults_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Modules/TraktSearchModule/TraktSearchModule_GetTextQueryResults_Tests.cs | ghcode:00007:0ee340597824 | mit | codeparrot/github-code | 0ee340597824235f03e54492d75765c4e65b1e14b1bf0524ee7386ff35fa03b5 | 0.72 | testing_debugging_repair_refactoring | 23,813 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using FluentAssertions;
using OpenWeather.DataClient.Utilities;
using Xunit;
namespace OpenWeather.DataClient.Tests.Utilities
{
public class RegionCodeHelperTests
{
public static IEnumerable<object[]> RegionCodes
{
... | R3turnz/OpenWeather | OpenWeather.DataClient.Tests/Utilities/RegionCodeHelperTests.cs | https://github.com/R3turnz/OpenWeather/blob/HEAD/OpenWeather.DataClient.Tests/Utilities/RegionCodeHelperTests.cs | ghcode:00007:ea65e2fa46c6 | mit | codeparrot/github-code | ea65e2fa46c6c7a7d10d16ef65fe0dbd06d907f4306f52b3f44c8f28003f9578 | 0.75 | testing_debugging_repair_refactoring | 439 | false | 2026-07-17 |
using LiteApi.Services;
using LiteApi.Services.Builders;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace LiteApi.Tests
{
public class FileDownloadTests
{
[Fact]
public async Task CanDownloadFileFromBytes()
{
await Asser... | stanac/LiteApi | LiteApi/LiteApi.Tests/FileDownloadTests.cs | https://github.com/stanac/LiteApi/blob/HEAD/LiteApi/LiteApi.Tests/FileDownloadTests.cs | ghcode:00007:0bc67076b21f | mit | codeparrot/github-code | 0bc67076b21fd653a4a6535d411cfba622d9bc430008408494806ee86ba1864f | 0.75 | testing_debugging_repair_refactoring | 570 | false | 2026-07-17 |
using System.Collections.Generic/*<List>*/;
using NUnit.Framework;
namespace Finegamedesign.Utils
{
public sealed class TestProgress
{
[Test]
public void CreepUp()
{
Progress progress = new Progress();
progress.levelMax = 200;
progress.radius = 0.25f;
Assert.AreEqual(0.0f, progress.Creep(0.0f / 100... | ethankennerly/one-room | Assets/Scripts/UnityToykit/Editor/Tests/TestProgress.cs | https://github.com/ethankennerly/one-room/blob/HEAD/Assets/Scripts/UnityToykit/Editor/Tests/TestProgress.cs | ghcode:00007:10e06e768b00 | mit | codeparrot/github-code | 10e06e768b0023fb27e6b58d636a4982da1c5c3588c233a92593a1f2f49811e3 | 0.85 | testing_debugging_repair_refactoring | 1,765 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RR.PedidoVendas.Domain.Models;
using System.Linq;
namespace RR.PedidoVendas.Domain.Tests.Validation.Itens
{
[TestClass]
public class ItemValidationTests
{
[TestMethod]
public void Item_AutoValidacao_Valido()
{
va... | ricardorinco/PedidoVendas | tests/RR.PedidoVendas.Domain.Tests/Validation/Itens/ItemValidationTests.cs | https://github.com/ricardorinco/PedidoVendas/blob/HEAD/tests/RR.PedidoVendas.Domain.Tests/Validation/Itens/ItemValidationTests.cs | ghcode:00007:6babb9fdd89f | mit | codeparrot/github-code | 6babb9fdd89f7c9263c29b783bbb226112eb029d87e0d24a979a2505175c7135 | 0.75 | testing_debugging_repair_refactoring | 385 | false | 2026-07-17 |
using Aggregates.Contracts;
using Aggregates.Messages;
using FakeItEasy;
using FluentAssertions;
using NServiceBus;
using NServiceBus.Pipeline;
using NServiceBus.Testing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Aggregat... | volak/Aggregates.NET | src/Aggregates.NET.UnitTests/NServiceBus/MutateIncoming.cs | https://github.com/volak/Aggregates.NET/blob/HEAD/src/Aggregates.NET.UnitTests/NServiceBus/MutateIncoming.cs | ghcode:00007:9e6a231fb237 | mit | codeparrot/github-code | 9e6a231fb23777ff6635cec41910f3fb802db4e460b05486fe90b13b0822de83 | 0.6 | testing_debugging_repair_refactoring | 530 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Abstractions.Extensions;
using BTCPayServer.Abstractions.Models;
using BTCPayServer.Lightning;
using BTCPayServer.Lightning.CLightning;
using BTCPayServer.Views.Manage;
using BTCPayServer.Views... | btcpayserver/btcpayserver | BTCPayServer.Tests/SeleniumTester.cs | https://github.com/btcpayserver/btcpayserver/blob/HEAD/BTCPayServer.Tests/SeleniumTester.cs | ghcode:00007:34d055a9e28e | mit | codeparrot/github-code | 34d055a9e28ee90e0095d9f127cf33aa8df8f9c26527ffee8868184119f258cb | 0.7 | testing_debugging_repair_refactoring | 4,763 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Arango.Client;
namespace Arango.Tests
{
[TestFixture()]
public class EdgeOperationsTests : IDisposable
{
readonly List<Dictionary<string, object>> _documents;
public EdgeOp... | kangkot/ArangoDB-NET | src/Arango/Arango.Tests/EdgeOperations/EdgeOperationsTests.cs | https://github.com/kangkot/ArangoDB-NET/blob/HEAD/src/Arango/Arango.Tests/EdgeOperations/EdgeOperationsTests.cs | ghcode:00007:7999a515153b | mit | codeparrot/github-code | 7999a515153ba47f736f776bde9530722f412ddbd80118cb78c99a4b46991eb2 | 0.72 | testing_debugging_repair_refactoring | 11,366 | false | 2026-07-17 |
using NUnit.Framework;
using Ploeh.AutoFixture;
using RememBeer.Business.Logic.Account.Register;
using RememBeer.Tests.Utils;
namespace RememBeer.Tests.Business.Logic.Account.Register.EventArgs
{
[TestFixture]
public class Ctor_Should : TestClassBase
{
[Test]
public void SetPropertiesCor... | J0hnyBG/RememBeerMe | src/RememBeer.Tests/Business/Logic/Account/Register/EventArgs/Ctor_Should.cs | https://github.com/J0hnyBG/RememBeerMe/blob/HEAD/src/RememBeer.Tests/Business/Logic/Account/Register/EventArgs/Ctor_Should.cs | ghcode:00007:08bfe98cc6d2 | mit | codeparrot/github-code | 08bfe98cc6d2ef5a9ed0af09f79b72378ca3d2c7d4f55eea85174d1a2629045a | 0.75 | testing_debugging_repair_refactoring | 155 | false | 2026-07-17 |
// Copyright (c) Autofac Project. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.ComponentModel.Composition;
using Autofac.Core;
using Autofac.Integration.Mef.Test.TestTypes;
using Xunit;
namespace Autofac.Integration.Mef.Tes... | autofac/Autofac.Mef | test/Autofac.Integration.Mef.Test/LazyWithMetadataWhenNoMatchingMetadataIsSuppliedTests.cs | https://github.com/autofac/Autofac.Mef/blob/HEAD/test/Autofac.Integration.Mef.Test/LazyWithMetadataWhenNoMatchingMetadataIsSuppliedTests.cs | ghcode:00007:7ad1290a34df | mit | codeparrot/github-code | 7ad1290a34df60f79c88f8118464bc1265bdfbe586f63832f9e7c611cd134708 | 0.75 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using log4net;
using log4net.Appender;
using log4net.Config;
using log4net.Util;
using SoftwarePassion.LogBridge.Tests.Shared;
namespace SoftwarePassion.LogBridge.Log4Net.Tests.Unit
{
public class LogDataVerifier ... | TorbenRahbekKoch/LogBridge | Source/LogBridge.Log4Net.Tests.Unit/LogDataVerifier.cs | https://github.com/TorbenRahbekKoch/LogBridge/blob/HEAD/Source/LogBridge.Log4Net.Tests.Unit/LogDataVerifier.cs | ghcode:00007:c6326f3aafb0 | mit | codeparrot/github-code | c6326f3aafb09a46257eaa7a8e9e23075eb653c28596882ba4ef2a676b644248 | 0.75 | testing_debugging_repair_refactoring | 878 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace ParameterExtensions.Tests
{
[TestFixture]
public class ParameterExtensionsTests
{
[Test]
public void Should_throw_argument_null_exception_when_value_is_null()
{
Assert.Throws<ArgumentNullException>(() => ParameterExtensions.ThrowIfNull(null, "paramName"));
... | sduplooy/ParameterExtensions | ParameterExtensions/ParameterExtensions.Tests/ParameterExtensionsTests.cs | https://github.com/sduplooy/ParameterExtensions/blob/HEAD/ParameterExtensions/ParameterExtensions.Tests/ParameterExtensionsTests.cs | ghcode:00007:a9950fbfbf75 | mit | codeparrot/github-code | a9950fbfbf75fd8bec80197d0b3dd3ee81ccdad60008b04775ca2eb9c8826a7b | 0.75 | testing_debugging_repair_refactoring | 154 | false | 2026-07-17 |
using Aggregates.Contracts;
using FakeItEasy;
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Aggregates.Extensions;
namespace Aggregates.Common.Extensions
{
public class Store : Test
{
[Fact]
public vo... | volak/Aggregates.NET | src/Aggregates.NET.UnitTests/Common/Extensions/Store.cs | https://github.com/volak/Aggregates.NET/blob/HEAD/src/Aggregates.NET.UnitTests/Common/Extensions/Store.cs | ghcode:00007:bced4dcad512 | mit | codeparrot/github-code | bced4dcad512909439e71ec845f2f1f80f2cced4c3cc303c72ebf25e8e521304 | 0.6 | testing_debugging_repair_refactoring | 179 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System;
using NUnit.Framework.Internal;
using NUnit.TestUtilities;
namespace NUnit.Framework.Assertions
{
[TestFixture]
public class AssertThrowsTests
{
[Test]
public void ThrowsSucceedsWithDel... | nunit/nunit | src/NUnitFramework/tests/Assertions/AssertThrowsTests.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/tests/Assertions/AssertThrowsTests.cs | ghcode:00007:8b396d8a22ed | mit | codeparrot/github-code | 8b396d8a22ed79dcc750d48156b2bb518b0172067b5921019d9f261dda4eca93 | 0.85 | testing_debugging_repair_refactoring | 1,272 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Features.Test
{
[TestFixture]
public class PerFeatureCheckerTest
{
private PerFeatureChecker _pfc;
[SetUp]
public void SetUp()
... | ryber/Features | Features.Test/PerFeatureCheckerTest.cs | https://github.com/ryber/Features/blob/HEAD/Features.Test/PerFeatureCheckerTest.cs | ghcode:00007:f0c228de705b | mit | codeparrot/github-code | f0c228de705b42293fb19dde30bb7dbb223fe08722de0bb19f50dcc1f953ce81 | 0.6 | testing_debugging_repair_refactoring | 448 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using NUnit.Framework;
using Azure.ResourceManager.ConnectedVMwarevSphere.Models;
using Azure.ResourceManager.ConnectedVMwarevSphere.Tests.Helpers;
namespace A... | Azure/azure-sdk-for-net | sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/ResourcePoolTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/ResourcePoolTests.cs | ghcode:00007:e09200a3e773 | mit | codeparrot/github-code | e09200a3e7732550fda3b86671e7d4c33488677c7ee9ed474e201ef2b5c72e16 | 0.95 | testing_debugging_repair_refactoring | 1,262 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using Moq;
using TestHelperExtensions;
using PPTail.Interfaces;
using PPTail.Exceptions;
using PPTail.Entities;
using Microsoft.Extensions.DependencyInjection;
namespace PPTail.Generator.Search.Test
{
[Sy... | bsstahl/PPTail | PrehensilePonyTail/PPTail.Generator.Search.Test/PageGenerator_Ctor_Should.cs | https://github.com/bsstahl/PPTail/blob/HEAD/PrehensilePonyTail/PPTail.Generator.Search.Test/PageGenerator_Ctor_Should.cs | ghcode:00007:0f5bcfb5d899 | mit | codeparrot/github-code | 0f5bcfb5d899b036b311f97a50e69ecb1b12ea592037c856ea1c30ff1076dbc2 | 0.6 | testing_debugging_repair_refactoring | 618 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Partisk.API.Tests
{
[TestClass]
public class PartyTests
{
[TestCategory("AllInstances")]
[TestMethod]
public void TestGetParties()
{
var client = new PartiskClient();
var pa... | mikaeldui/Partisk.NET | Partisk.API.Tests/PartyTests.cs | https://github.com/mikaeldui/Partisk.NET/blob/HEAD/Partisk.API.Tests/PartyTests.cs | ghcode:00007:515f8d571f52 | mit | codeparrot/github-code | 515f8d571f52fec8b3542a75cd83f1ad995a610be99ddee1c32025c0f1573514 | 0.85 | testing_debugging_repair_refactoring | 173 | false | 2026-07-17 |
using System.Diagnostics;
using System.IO;
using System.Reflection;
using BudgetAnalyser.Engine;
namespace BudgetAnalyser
{
[AutoRegisterWithIoC(SingleInstance = true)]
public class DemoFileHelper
{
private const string DemoFileName = "BudgetAnalyserDemo.bax";
public string Fi... | Benrnz/BudgetAnalyser | BudgetAnalyser/DemoFileHelper.cs | https://github.com/Benrnz/BudgetAnalyser/blob/HEAD/BudgetAnalyser/DemoFileHelper.cs | ghcode:00007:bd412a7dc438 | mit | codeparrot/github-code | bd412a7dc4383a388731c19b364e7a172f006297a996753f394254b8e196e09b | 0.6 | testing_debugging_repair_refactoring | 208 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using TestWebSite;
using Microsoft.AspNetCore.TestHost;
namespace Tmds.SockJS.Tests
{
public class WebSocketHixie76Test : TestWebsiteTest
{
... | tmds/Tmds.SockJS | test/Tmds.SockJS.Tests/WebsocketHixie76Test.cs | https://github.com/tmds/Tmds.SockJS/blob/HEAD/test/Tmds.SockJS.Tests/WebsocketHixie76Test.cs | ghcode:00007:67443b4124c9 | mit | codeparrot/github-code | 67443b4124c95be864d91106d825c0a033ee93815a8852df9007e468e4d8c9b3 | 0.6 | testing_debugging_repair_refactoring | 1,583 | false | 2026-07-17 |
using Academy.Models;
using Academy.Models.Contracts;
using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace Academy.NewTests.Models.CourseTests
{
[TestFixture]
public class Constructor_Should
{
public const string name = "Petar";
public const int lecturesPerWeek ... | VVoev/Telerik-Academy | 07.Unit Testing with C#/05. Workshop (Students)/Academy/Workshop/Academy.NewTests/Models/CourseTests/Constructor_Should.cs | https://github.com/VVoev/Telerik-Academy/blob/HEAD/07.Unit Testing with C#/05. Workshop (Students)/Academy/Workshop/Academy.NewTests/Models/CourseTests/Constructor_Should.cs | ghcode:00007:35ad6e10aa9b | mit | codeparrot/github-code | 35ad6e10aa9bf28182526b96bc2edfb090d7bbb30188771794579b775c23e8dc | 0.7 | testing_debugging_repair_refactoring | 563 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ProcessRunnerTests.cs" company="SonarSource SA and Microsoft Corporation">
// Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project... | dbolkensteyn/sonar-msbuild-runner | Tests/SonarQube.Common.UnitTests/ProcessRunnerTests.cs | https://github.com/dbolkensteyn/sonar-msbuild-runner/blob/HEAD/Tests/SonarQube.Common.UnitTests/ProcessRunnerTests.cs | ghcode:00007:7323095bfcbc | mit | codeparrot/github-code | 7323095bfcbccc8199c5488aa71223985dc8560cb4450069f800fef78c2059c2 | 0.85 | testing_debugging_repair_refactoring | 3,238 | false | 2026-07-17 |
// ASB doesn't work with the ScenarioContext.Current property which uses the logical CallContext
// as the OnMessage callback looses the previous CallContext.
// To avoid exceptions when accessing the logger, a custom logger with a fixed ScenarioContext needs to be used.
// This requires all tests to run sequentially ... | SzymonPobiega/NServiceBus.Bridge | src/NServiceBus.Bridge.AcceptanceTests/Infrastructure/StaticLoggerFactory.cs | https://github.com/SzymonPobiega/NServiceBus.Bridge/blob/HEAD/src/NServiceBus.Bridge.AcceptanceTests/Infrastructure/StaticLoggerFactory.cs | ghcode:00007:0e3762e5617c | mit | codeparrot/github-code | 0e3762e5617cdd6e52d47cd26f15936e68d91fb14a56164de8238df58970f902 | 0.7 | testing_debugging_repair_refactoring | 844 | false | 2026-07-17 |
using System.Linq;
using System.Reflection;
using Xunit;
public static class VirtualTester
{
public static void EnsureMembersAreVirtual(this Assembly assembly, string className, params string[] memberNames)
{
var type = assembly.GetType(className, true);
foreach (var memberName in memberNames... | Fody/Virtuosity | Tests/VirtualTester.cs | https://github.com/Fody/Virtuosity/blob/HEAD/Tests/VirtualTester.cs | ghcode:00007:d949d804ffd9 | mit | codeparrot/github-code | d949d804ffd92b308fdbafb605d328116fd6db55d541dcec6623a215434899a6 | 0.6 | testing_debugging_repair_refactoring | 751 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using NUnit.Framework;
using OpenQA.Selenium;
namespace Protractor.Extensions
{
public static class Ex... | sergueik/protractor-net | src/Protractor.Extensions/Extensions.cs | https://github.com/sergueik/protractor-net/blob/HEAD/src/Protractor.Extensions/Extensions.cs | ghcode:00007:211fd716f354 | mit | codeparrot/github-code | 211fd716f3547c9487c954ccc4841234754152f84b3c904156ae7edddb50b7dd | 0.7 | testing_debugging_repair_refactoring | 1,670 | false | 2026-07-17 |
#if LESSTHAN_NET35
extern alias nunitlinq;
#endif
//
// ExpressionTest_GreaterThan.cs
//
// Author:
// Jb Evain (jbevain@novell.com)
//
// (C) 2008 Novell, Inc. (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation... | theraot/Theraot | Tests/System/Linq/Expressions/ExpressionTest_GreaterThan.cs | https://github.com/theraot/Theraot/blob/HEAD/Tests/System/Linq/Expressions/ExpressionTest_GreaterThan.cs | ghcode:00007:5fabfb334d61 | mit | codeparrot/github-code | 5fabfb334d61d645670fb1aa19b04d7fef43506794f59ebb69a77ef771253f2a | 0.7 | testing_debugging_repair_refactoring | 1,882 | 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.ComponentModel;
using Vipr.Writer.CSharp.Settings;
using FluentAssertions;
using Microsoft.Its.Recipes;
using Moq;
using Vipr.Core;... | v-am/Vipr | test/CSharpWriterUnitTests/Given_an_OdcmClass_Complex_Property_forced_to_pascal_case.cs | https://github.com/v-am/Vipr/blob/HEAD/test/CSharpWriterUnitTests/Given_an_OdcmClass_Complex_Property_forced_to_pascal_case.cs | ghcode:00007:0557e9570bfa | mit | codeparrot/github-code | 0557e9570bfa282e4ff9562eb4edf9bd63d659493b3316a603991a42abd5b48e | 0.7 | testing_debugging_repair_refactoring | 567 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Codebook.Runtime {
[TestFixture]
public class EitherTest {
[Test]
public void IsRightTest() {
Assert.IsTrue(Either<int, String>.Right("OK").IsRight);
Assert.IsFalse(Either<int, String>.Left(0).IsRight);
}
[Test]
public void IsLeftT... | RustyRaven/CodebookRuntime | csharp/CodebookRuntimeTest/test/EitherTest.cs | https://github.com/RustyRaven/CodebookRuntime/blob/HEAD/csharp/CodebookRuntimeTest/test/EitherTest.cs | ghcode:00007:988f4de2f51e | mit | codeparrot/github-code | 988f4de2f51eeb5fafc4ad6a446542d695f199c284aaf29514ee202a598929fe | 0.85 | testing_debugging_repair_refactoring | 226 | false | 2026-07-17 |
using ErrorProne.NET.TestHelpers;
using NUnit.Framework;
using System.Collections.Generic;
using System.Threading.Tasks;
using VerifyCS = ErrorProne.NET.TestHelpers.CSharpCodeFixVerifier<
ErrorProne.NET.StructAnalyzers.MakeStructReadOnlyAnalyzer,
ErrorProne.NET.StructAnalyzers.MakeStructReadOnlyCodeFixProvider... | SergeyTeplyakov/ErrorProne.NET | src/ErrorProne.NET.StructAnalyzers.Tests/MakeStructReadOnlyAnalyzerTests.cs | https://github.com/SergeyTeplyakov/ErrorProne.NET/blob/HEAD/src/ErrorProne.NET.StructAnalyzers.Tests/MakeStructReadOnlyAnalyzerTests.cs | ghcode:00007:26a26b633d32 | mit | codeparrot/github-code | 26a26b633d324c82e9ecbe4012ec24246de1a52e00d326cfc621ebebf9eae129 | 0.85 | testing_debugging_repair_refactoring | 1,639 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using CSharpFunctionalExtensions;
using Microsoft.AspNetCore.Mvc;
using NBitcoin;
using Stratis.Bitcoin.Features.SmartContracts;
using Stratis.Bitcoin.Features.SmartContracts.Models;
using Stratis.Bitcoin.Features.Smart... | mikedennis/StratisBitcoinFullNode | src/Stratis.SmartContracts.Tests.Common/MockChain/MockChainNode.cs | https://github.com/mikedennis/StratisBitcoinFullNode/blob/HEAD/src/Stratis.SmartContracts.Tests.Common/MockChain/MockChainNode.cs | ghcode:00007:b38f1c9d97d0 | mit | codeparrot/github-code | b38f1c9d97d001f108cf128275c9f8dac1360f29fdfd7ff3d5a90e57a4cb53e9 | 0.85 | testing_debugging_repair_refactoring | 2,721 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.Extensions.Primitives;
using Xunit;
namespace Stubbery.IntegrationTests
{
public class DynamicValuesTest
{
[Fact]
public void Constructor_CalledWithNullStringStringValues_NoExceptionThrown()
{
// Act
... | markvincze/Stubbery | test/Stubbery.IntegrationTests/DynamicValuesTest.cs | https://github.com/markvincze/Stubbery/blob/HEAD/test/Stubbery.IntegrationTests/DynamicValuesTest.cs | ghcode:00007:2d13fddfd7e5 | mit | codeparrot/github-code | 2d13fddfd7e55b6fe6183ff413203aad8a006f3f1e6841ea86b1636f7fcab953 | 0.7 | testing_debugging_repair_refactoring | 183 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="HandleRecordOpTest.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// -----------------------------------------------------... | NaosProject/Naos.Database | Naos.Database.Domain.Test/Operations/Classes/Stream/Subscriber/HandleRecordOpTest.cs | https://github.com/NaosProject/Naos.Database/blob/HEAD/Naos.Database.Domain.Test/Operations/Classes/Stream/Subscriber/HandleRecordOpTest.cs | ghcode:00007:5ba2e19b5ac5 | mit | codeparrot/github-code | 5ba2e19b5ac53fd0a82c12cf2365202eb0c73ee9273a7871019c2816258561f4 | 0.7 | testing_debugging_repair_refactoring | 314 | false | 2026-07-17 |
// This file was auto-generated based on version 2.0.0 of the canonical data.
using Xunit;
public class AllergiesTests
{
[Fact]
public void Testing_for_eggs_allergy_not_allergic_to_anything()
{
var sut = new Allergies(0);
Assert.False(sut.IsAllergicTo(Allergen.Eggs));
}
[Fact]
... | stanciua/exercism | csharp/allergies/AllergiesTests.cs | https://github.com/stanciua/exercism/blob/HEAD/csharp/allergies/AllergiesTests.cs | ghcode:00007:93ba7e8e7446 | mit | codeparrot/github-code | 93ba7e8e744664b72b6815d45127620f46bceee5e117256b99e80fb9df08c692 | 0.75 | testing_debugging_repair_refactoring | 2,738 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using RockLib.Logging.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace RockLib.Logging.Tests.DependencyInjection
{
public class Logger... | RockFramework/Rock.Logging | Tests/RockLib.Logging.Tests/DependencyInjection/LoggerBuilderExtensionsTests.cs | https://github.com/RockFramework/Rock.Logging/blob/HEAD/Tests/RockLib.Logging.Tests/DependencyInjection/LoggerBuilderExtensionsTests.cs | ghcode:00007:3b21d8a55b01 | mit | codeparrot/github-code | 3b21d8a55b014afbc048c4b968de4274697f6d43c796580abf909d6e00d77894 | 0.75 | testing_debugging_repair_refactoring | 5,413 | false | 2026-07-17 |
using System;
using Newtonsoft.Json;
using NUnit.Framework;
namespace Mastodon.API.Tests
{
[TestFixture]
public class MastodonAppTest
{
[Test]
public void DeserializeTest()
{
var jsonString = TestUtils.GetResource("Mastodon.API.Tests.Resources.get_mastodon_app.json");
... | pawotter/mastodon-api-cs | Mastodon.API.Tests/Entities/MastodonAppTest.cs | https://github.com/pawotter/mastodon-api-cs/blob/HEAD/Mastodon.API.Tests/Entities/MastodonAppTest.cs | ghcode:00007:e3beeaaf6b37 | mit | codeparrot/github-code | e3beeaaf6b3718c1ec4548d62d5f7504f1330c6fb8b678717a512b9e86dcf269 | 0.6 | testing_debugging_repair_refactoring | 138 | false | 2026-07-17 |
using Idaas;
using NUnit.Framework;
namespace Ida.Client.Test
{
[TestFixture]
public class DescribeInstructions : DatabaseSpec
{
[Test]
public void ItShouldParseRegisterOperand()
{
var initInstance = Database.Functions.FindByName("InitInstance");
var instruc... | mirasrael/idaas | IDA.Client.Test/DescribeInstructions.cs | https://github.com/mirasrael/idaas/blob/HEAD/IDA.Client.Test/DescribeInstructions.cs | ghcode:00007:c1d5451d8511 | mit | codeparrot/github-code | c1d5451d85119d474d19cbb0efe7a9d57eed821394fa2ce0051d0ba617552fed | 0.6 | testing_debugging_repair_refactoring | 676 | false | 2026-07-17 |
namespace LogAnalyzer.BLL.Test.Builders
{
using Interfaces;
using Moq;
internal class LogAnalyzerBuilder
{
private IExtensionManager extensionManager;
private IWebService webService;
public LogAnalyzerBuilder()
{
extensionManager = new Mock<IExtensionManager>().Object;
... | HeSitates/UnittestDemo | Builder/LogAnalyzer.BLL.Tests/Builders/LogAnalyzerBuilder.cs | https://github.com/HeSitates/UnittestDemo/blob/HEAD/Builder/LogAnalyzer.BLL.Tests/Builders/LogAnalyzerBuilder.cs | ghcode:00007:6b0c6db7f5f9 | unlicense | codeparrot/github-code | 6b0c6db7f5f90891cf00edc9b7b87798638d24f3882c707a79ab4e6f049a44a6 | 0.63 | testing_debugging_repair_refactoring | 287 | false | 2026-07-17 |
using System;
using System.IO;
using Microsoft.Extensions.Configuration;
namespace Lucid.Lib.Testing
{
public class TestUtil
{
public static string ProjectPath()
{
var cd = Path.GetFullPath(".");
while (Directory.GetFiles(cd, "*.csproj").Length == 0)
... | FlukeFan/LucidDotNet | Lib/Testing/TestUtil.cs | https://github.com/FlukeFan/LucidDotNet/blob/HEAD/Lib/Testing/TestUtil.cs | ghcode:00007:8e04400c5566 | unlicense | codeparrot/github-code | 8e04400c556669dfd43eee68fa81781270fa0122c39205f45477373cd2fb17e3 | 0.68 | testing_debugging_repair_refactoring | 263 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Recipes.MultipleCrud;
using Recipes.NHibernate.Entities;
namespace Recipes.NHibernate.MultipleCrud
{
[TestClass]
public class MultipleCrudTests : MultipleCrudTests<Employee>
{
protected override IMultipleCrudScenario<Employee> GetScenario()... | Grauenwolf/DotNet-ORM-Cookbook | ORM Cookbook/Recipes.NHibernate/MultipleCrud/MultipleCrudTests.cs | https://github.com/Grauenwolf/DotNet-ORM-Cookbook/blob/HEAD/ORM Cookbook/Recipes.NHibernate/MultipleCrud/MultipleCrudTests.cs | ghcode:00007:5b9da3dce103 | unlicense | codeparrot/github-code | 5b9da3dce103fb1686734ada9d3199be53b9623430fa1b4dd98922dc7d2ea2f9 | 0.68 | testing_debugging_repair_refactoring | 75 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="MixinWithProtectedConstructorAndParametersSpecTest.cs" company="Copacetic Software">
// Copyright (c) Copacetic Software.
// <author>Philip Pittle</author>
// <date>Friday, October 11, 2013 5:04:38 PM</date>
// Licensed... | ppittle/pMixins | pMixins.TheorySandbox/COVERED/MixinWithProtectedConstructor/MixinWithProtectedConstructorAndParametersSpecTest.cs | https://github.com/ppittle/pMixins/blob/HEAD/pMixins.TheorySandbox/COVERED/MixinWithProtectedConstructor/MixinWithProtectedConstructorAndParametersSpecTest.cs | ghcode:00007:df0bc5230e11 | apache-2.0 | codeparrot/github-code | df0bc5230e11dea7023a299e49ffcbbef89e1f910c472249c0a009556a7b59f9 | 0.7 | testing_debugging_repair_refactoring | 416 | false | 2026-07-17 |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | justasabc/kubernetes-ubuntu | ke/images/robust/image/opensim80/OpenSim/Tests/Common/Mock/TestClient.cs | https://github.com/justasabc/kubernetes-ubuntu/blob/HEAD/ke/images/robust/image/opensim80/OpenSim/Tests/Common/Mock/TestClient.cs | ghcode:00007:3740d355ca7e | apache-2.0 | codeparrot/github-code | 3740d355ca7ea72f1acf181a71f94e023bf8409a295c961ddf36f9620ad29c00 | 0.95 | testing_debugging_repair_refactoring | 9,353 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MVCDashboard.Domain.Messages
{
public class TestingDashboardRequest
{
public int NumberOfBlogs { get; set; }
public int NumberOfProjects { get; set; }
}
}
| jonathanody/MVCDashboard | MVCDashboard.Domain/Messages/TestingDashboardRequest.cs | https://github.com/jonathanody/MVCDashboard/blob/HEAD/MVCDashboard.Domain/Messages/TestingDashboardRequest.cs | ghcode:00007:aa06f95c61c9 | apache-2.0 | codeparrot/github-code | aa06f95c61c9ef8b63b0292c32fbd3c80bb275225d498b0104a2fede7eb83203 | 0.75 | testing_debugging_repair_refactoring | 58 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Xunit;
namespace Tests.Cat.CatSegments
{
[Collection(IntegrationContext.ReadOnly)]
public clas... | jonyadamit/elasticsearch-net | src/Tests/Cat/CatSegments/CatSegmentsApiTests.cs | https://github.com/jonyadamit/elasticsearch-net/blob/HEAD/src/Tests/Cat/CatSegments/CatSegmentsApiTests.cs | ghcode:00007:ba3ee8bc614a | apache-2.0 | codeparrot/github-code | ba3ee8bc614a7ab5acaa1630908cf7ac53ec3df7074601672c5d62e13fd783ff | 0.85 | testing_debugging_repair_refactoring | 283 | 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.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.... | yeaicc/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenOperators.cs | https://github.com/yeaicc/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenOperators.cs | ghcode:00007:1a13af5117e3 | apache-2.0 | codeparrot/github-code | 1a13af5117e3ad54e136311f318addd4f8e99e6b2604b4763700e867b2765af7 | 0.82 | testing_debugging_repair_refactoring | 43,724 | false | 2026-07-17 |
#if TESTFRAMEWORK
// LUCENENET NOTE: This is incomplete
using System;
namespace Lucene.Net.Util
{
/*
* 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 copyrig... | NightOwl888/lucenenet | src/Lucene.Net.TestFramework/Util/TestRuleStoreClassName.cs | https://github.com/NightOwl888/lucenenet/blob/HEAD/src/Lucene.Net.TestFramework/Util/TestRuleStoreClassName.cs | ghcode:00007:7ee3cbaaacd9 | apache-2.0 | codeparrot/github-code | 7ee3cbaaacd98a168128d07fb0bbc3efcfb0b138ef5f7e342012314f33260f6b | 0.85 | testing_debugging_repair_refactoring | 554 | false | 2026-07-17 |
/*
Copyright 2011-2020 Rolf Michelsen
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | rolfmichelsen/dragontools | DragonTools.test/Tape/CasTapeTest.cs | https://github.com/rolfmichelsen/dragontools/blob/HEAD/DragonTools.test/Tape/CasTapeTest.cs | ghcode:00007:48372b5bf859 | apache-2.0 | codeparrot/github-code | 48372b5bf859b5f435cebcabf43df7dced473b4047388b45346a6f4652ab2b56 | 0.6 | testing_debugging_repair_refactoring | 987 | false | 2026-07-17 |
using Xunit;
namespace IxMilia.Pdf.Test
{
public class PdfMeasurementTests
{
[Fact]
public void RawPointsNoopTest()
{
var m = PdfMeasurement.Points(42.0);
Assert.Equal(42.0, m.AsPoints());
}
[Fact]
public void ConvertTest()
{
... | IxMilia/Pdf | src/IxMilia.Pdf.Test/PdfMeasurementTests.cs | https://github.com/IxMilia/Pdf/blob/HEAD/src/IxMilia.Pdf.Test/PdfMeasurementTests.cs | ghcode:00007:42c63335cf33 | apache-2.0 | codeparrot/github-code | 42c63335cf335da7b0c66831c2601807cda59098852e391ceb76e60df2d6fc09 | 0.75 | testing_debugging_repair_refactoring | 377 | false | 2026-07-17 |
using System;
using System.ComponentModel.DataAnnotations.Schema;
using Vigil.Domain.EventSourcing;
namespace Vigil.WebApi
{
public class TestEventSourced : EventSourced
{
[NotMapped]
public bool OnTestVersionedEventCalled { get; protected set; } = false;
protected TestEventSourced() ... | drovani/Vigil | test/Vigil.WebApi.Tests/TestClasses/TestEventSourced.cs | https://github.com/drovani/Vigil/blob/HEAD/test/Vigil.WebApi.Tests/TestClasses/TestEventSourced.cs | ghcode:00007:f28d76beef6e | apache-2.0 | codeparrot/github-code | f28d76beef6ed3c36c976ce4e52f40ae6ee52d3f27519a83af236f0543f881a4 | 0.75 | testing_debugging_repair_refactoring | 187 | false | 2026-07-17 |
using System.IO;
namespace Vinco.Uploader.Mock
{
public class MemoryFileInfo : FileInfoBase
{
private readonly Stream _stream;
public MemoryFileInfo(string text)
{
_stream = new MemoryStream(System.Text.Encoding.UTF8.GetBytes(text));
}
public override str... | vincoss/uploader-toolkit | src/Test/Vinco.Uploader.Test/Uploader/Mock/MemoryFileInfo.cs | https://github.com/vincoss/uploader-toolkit/blob/HEAD/src/Test/Vinco.Uploader.Test/Uploader/Mock/MemoryFileInfo.cs | ghcode:00007:6a7886ee3cb8 | apache-2.0 | codeparrot/github-code | 6a7886ee3cb82727e3119e2f09306953ad56c2f3df64778a08cc0537bcd3f596 | 0.85 | testing_debugging_repair_refactoring | 137 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.Linq;
using System.Linq.Dynamic;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using DotVVM.Framework.Controls;
using Netfox.Core.Interfaces.Model.Exports;
using Netfox.Framework.Models.Snoopers;
using Netfox.Web.BL.DTO;
using Netfox.Web.BL.Providers;
us... | nesfit/NetfoxDetective | Web/Netfox.Web.BL/Queries/CallQuery.cs | https://github.com/nesfit/NetfoxDetective/blob/HEAD/Web/Netfox.Web.BL/Queries/CallQuery.cs | ghcode:00007:a8d563f8e5f8 | apache-2.0 | codeparrot/github-code | a8d563f8e5f8b13a09c8cd579b156e18e035312a83d7cde2c1bac802b8a220cc | 0.85 | testing_debugging_repair_refactoring | 989 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.Linq;
using GoogleAPI.Maps.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace GoogleAPI.Maps.Tests
{
/// <summary>
///This is a test class for GeocodingTest and is intended
///to contain all GeocodingTest Unit Tests
///</s... | angegar/CDI-WebApplication | GoogleMap/GoogleAPI.Maps.Tests/GeocodingTest.cs | https://github.com/angegar/CDI-WebApplication/blob/HEAD/GoogleMap/GoogleAPI.Maps.Tests/GeocodingTest.cs | ghcode:00007:bce33e1ad624 | apache-2.0 | codeparrot/github-code | bce33e1ad62442d7f48be912dd46292289c2231219216a0b76d8f9d5f9db05c0 | 0.7 | testing_debugging_repair_refactoring | 934 | false | 2026-07-17 |
#region License
// Copyright 2015-2021 John Källén
//
// 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 a... | uxmal/pytocs | src/Core/Syntax/CommentFilter.cs | https://github.com/uxmal/pytocs/blob/HEAD/src/Core/Syntax/CommentFilter.cs | ghcode:00007:134a1b459b5b | apache-2.0 | codeparrot/github-code | 134a1b459b5b5b3278171cf0f31a24b82fe9fd72b5d6aca5583dda700d7f01af | 0.7 | testing_debugging_repair_refactoring | 1,367 | 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.Http;
namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_
{
[ApiController]
[Route("[controller]/[action]")]
public class CodeFixAddsSta... | aspnet/AspNetCore | src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromConstructorParameters.Input.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromConstructorParameters.Input.cs | ghcode:00007:f04510a076a5 | apache-2.0 | codeparrot/github-code | f04510a076a52c95aba2cc0779334785d1b2ba0938f4779ec94bb435a82343b7 | 0.85 | testing_debugging_repair_refactoring | 206 | false | 2026-07-17 |
using DeftPack.TestAutomation.Selenium.PageObjects.Elements;
using DeftPack.TestAutomation.Selenium.PageObjects.UnitTests.Factories;
using NUnit.Framework;
using System;
namespace DeftPack.TestAutomation.Selenium.PageObjects.UnitTests
{
[TestFixture]
public class ElementTypeFinderTests
{
private r... | deftpack/testautomation | UnitTests/DeftPack.TestAutomation.Selenium.PageObjects.UnitTests/ElementTypeFinderTests.cs | https://github.com/deftpack/testautomation/blob/HEAD/UnitTests/DeftPack.TestAutomation.Selenium.PageObjects.UnitTests/ElementTypeFinderTests.cs | ghcode:00007:78b3d7ad4eb1 | apache-2.0 | codeparrot/github-code | 78b3d7ad4eb1a682bc619aa132db9ee41281c3708c34bcd1976043f080da5392 | 0.75 | testing_debugging_repair_refactoring | 742 | false | 2026-07-17 |
// Copyright 2007-2010 The Apache Software Foundation.
//
// 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 re... | eswann/Burrows | src/Tests/Burrows.Tests/Pipeline/SubscribeConsumer_Specs.cs | https://github.com/eswann/Burrows/blob/HEAD/src/Tests/Burrows.Tests/Pipeline/SubscribeConsumer_Specs.cs | ghcode:00007:615e1177139a | apache-2.0 | codeparrot/github-code | 615e1177139abcc5dfd1a3b1f79145945cfad45dd8e48b8d2a762f66a1217c3b | 0.95 | testing_debugging_repair_refactoring | 1,435 | false | 2026-07-17 |
using System;
using AGXUnity;
using AGXUnity.Collide;
using UnityEditor;
namespace AGXUnityEditor.Editors
{
[CustomEditor( typeof( AGXUnity.RigidBodyEmitterSink ) )]
[CanEditMultipleObjects]
public class AGXUnityRigidBodyEmitterSinkEditor : InspectorEditor
{ }
} | Algoryx/agxUnity | Editor/CustomEditors/AGXUnity+RigidBodyEmitterSinkEditor.cs | https://github.com/Algoryx/agxUnity/blob/HEAD/Editor/CustomEditors/AGXUnity+RigidBodyEmitterSinkEditor.cs | ghcode:00007:295dbbfcc93b | apache-2.0 | codeparrot/github-code | 295dbbfcc93b6f502793cb255dbdc7d77cb5ebb563606117d755ab05595729c8 | 0.6 | testing_debugging_repair_refactoring | 71 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="UserTestFixture.cs" company="Rare Crowds Inc">
// Copyright 2012-2013 Rare Crowds, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Lice... | chinnurtb/OpenAdStack | EntityActivities/EntityActivitiesUnitTests/UserTestFixture.cs | https://github.com/chinnurtb/OpenAdStack/blob/HEAD/EntityActivities/EntityActivitiesUnitTests/UserTestFixture.cs | ghcode:00007:ba05bacfd2e9 | apache-2.0 | codeparrot/github-code | ba05bacfd2e98e69b1a343b469e0e4a5aed863ea1df1633b5e80293f2f65f4de | 0.7 | testing_debugging_repair_refactoring | 4,608 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.IO;
using System.Text;
using DocaLabs.Utils.Conversion;
using NUnit.Framework;
namespace DocaLabs.Utils.Tests.Conversion
{
[TestFixture]
public class CustomConverterFactoryTests
{
[Test]
public void RegisterConverterAddsNe... | alexey-kadyrov/DocaLabs-Utils | tests/DocaLabs.Utils.Tests/Conversion/CustomConverterFactoryTests.cs | https://github.com/alexey-kadyrov/DocaLabs-Utils/blob/HEAD/tests/DocaLabs.Utils.Tests/Conversion/CustomConverterFactoryTests.cs | ghcode:00007:7d809bc26cb2 | apache-2.0 | codeparrot/github-code | 7d809bc26cb2bc53c4d877dde84f9d1bf70462532c392dec7929d4b90cebd14f | 0.85 | testing_debugging_repair_refactoring | 10,868 | false | 2026-07-17 |
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using RestSharp.Portable.Authenticators;
using RestSharp.Portable.HttpClient;
using RestSharp.Portable.HttpClient.Impl;
using RestSharp.Portable.Tests.HttpBin;
using RestSharp.Portable.WebRequest.... | gabornemeth/restsharp.portable | test/FubarCoder.RestSharp.Portable.Tests/IssueTests.cs | https://github.com/gabornemeth/restsharp.portable/blob/HEAD/test/FubarCoder.RestSharp.Portable.Tests/IssueTests.cs | ghcode:00007:3834a2d9686b | bsd-2-clause | codeparrot/github-code | 3834a2d9686b944b34fd31458f39f2b37b156b893441ffc7988099bd964560fb | 0.78 | testing_debugging_repair_refactoring | 2,993 | false | 2026-07-17 |
namespace Message.MQ.Adapter.UnitTests
{
using System.Collections.Generic;
using Megadotnet.Message.MQ.IAdapter;
using Moq;
using Xunit;
using BusniessEntities.Models;
/// <summary>
/// The imq adapter tests.
/// </summary>
public class MQAdapterTests
{
/// <summary... | megadotnet/MQAdapter | Message.MQ.Adapter.UnitTests/MQAdapterTests.cs | https://github.com/megadotnet/MQAdapter/blob/HEAD/Message.MQ.Adapter.UnitTests/MQAdapterTests.cs | ghcode:00007:f99476cb945d | bsd-3-clause | codeparrot/github-code | f99476cb945d72923947d99baa1d104f4393a59883bfdce13fa2fb71b53fd2b1 | 0.85 | testing_debugging_repair_refactoring | 537 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Shouldly.Tests.TestHelpers
{
public class TestShouldlyAssertionContext : IShouldlyAssertionContext
{
public bool DeterminedOriginatingFrame { get; set; }
public string ShouldMethod { get; set; }
... | MitjaBezensek/shouldly | src/Shouldly.Tests/TestHelpers/TestShouldlyAssertionContext.cs | https://github.com/MitjaBezensek/shouldly/blob/HEAD/src/Shouldly.Tests/TestHelpers/TestShouldlyAssertionContext.cs | ghcode:00007:0260a012e5d2 | bsd-3-clause | codeparrot/github-code | 0260a012e5d273b05d44890a6295a8f6ffb15dbaa828d66ad208094f4f46a32f | 0.75 | testing_debugging_repair_refactoring | 240 | false | 2026-07-17 |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | AlexRa/opensim-mods-Alex | OpenSim/Tests/Common/Setup/UserProfileTestUtils.cs | https://github.com/AlexRa/opensim-mods-Alex/blob/HEAD/OpenSim/Tests/Common/Setup/UserProfileTestUtils.cs | ghcode:00007:11aa5f04b2e9 | bsd-3-clause | codeparrot/github-code | 11aa5f04b2e97f89add04a7228faa27bf314f8ca760e6d9e6e81faf809ec7019 | 0.95 | testing_debugging_repair_refactoring | 1,382 | false | 2026-07-17 |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | ft-/opensim-optimizations-wip-tests | OpenSim/Region/Framework/Scenes/Tests/SceneObjectCrossingTests.cs | https://github.com/ft-/opensim-optimizations-wip-tests/blob/HEAD/OpenSim/Region/Framework/Scenes/Tests/SceneObjectCrossingTests.cs | ghcode:00007:babd2d2b3ebc | bsd-3-clause | codeparrot/github-code | babd2d2b3ebc63c788d98bde4785b619d45c870df84e890ec2c43080c53546d2 | 0.95 | testing_debugging_repair_refactoring | 2,772 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Mjollnir.Collections.Generic.Tests
{
[TestClass]
public class ComparerTest
{
[TestMethod]
public void CreateInstance()
{
var compare = ((Func<int, int, int>)((x... | hidori/Mjollnir | Mjollnir.Tests/Collections/Generic/ComparerFactoryTest.cs | https://github.com/hidori/Mjollnir/blob/HEAD/Mjollnir.Tests/Collections/Generic/ComparerFactoryTest.cs | ghcode:00007:1f81a1e68f2e | bsd-3-clause | codeparrot/github-code | 1f81a1e68f2e396b24998d83db6f76a4d6f16eed757b71fa20bf516362a4ac14 | 0.6 | testing_debugging_repair_refactoring | 152 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using School.Contracts;
using Telerik.JustMock;
using System.Collections.Generic;
namespace School.Tests.Models
{
[TestClass]
public class StudentTest
{
[TestMethod]
public void StudentCreate_WIthNameNull_ShouldThrowAnExcept... | KaloyanchoSt/Telerik-Academy | 1. Programming C#/4. Unit-Testing/01. Unit Testing/School/School.Tests/Models/StudentTest.cs | https://github.com/KaloyanchoSt/Telerik-Academy/blob/HEAD/1. Programming C#/4. Unit-Testing/01. Unit Testing/School/School.Tests/Models/StudentTest.cs | ghcode:00007:596be4f718f1 | mit | codeparrot/github-code | 596be4f718f116c1ad26768be990dbd097fbb75159bfc725e5e3719eb4946038 | 0.6 | testing_debugging_repair_refactoring | 1,400 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2009, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org
// ****************************************************************
using System;
namespa... | acken/AutoTest.Net | lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/tests/Syntax/SimpleConstraints.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/tests/Syntax/SimpleConstraints.cs | ghcode:00007:8a88b6f3c857 | mit | codeparrot/github-code | 8a88b6f3c85755ef2ffe55b8bd0ce1a961d910ed4144ffc9af909fee724f573b | 0.95 | testing_debugging_repair_refactoring | 456 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Nito.AsyncEx;
using System.Linq;
using System.Threading;
using System.Diagnostics.CodeAnalysis;
using Xunit;
using Nito.AsyncEx.Testing;
#pragma warning disable CS0162
namespace UnitTests
{
public class AsyncLazyUnitTests
{
[Fact]
public void... | StephenCleary/AsyncEx.Coordination | test/UnitTests/AsyncLazyUnitTests.cs | https://github.com/StephenCleary/AsyncEx.Coordination/blob/HEAD/test/UnitTests/AsyncLazyUnitTests.cs | ghcode:00007:5a87de38ab62 | mit | codeparrot/github-code | 5a87de38ab6286872e0f4c034b60fe4c1fbcc520ba000b5a0469f1951c7dd544 | 0.75 | testing_debugging_repair_refactoring | 1,126 | false | 2026-07-17 |
namespace Gu.Persist.SystemXml.Tests
{
using System.IO;
using System.Threading.Tasks;
using Gu.Persist.Core;
using Gu.Persist.Core.Tests;
using NUnit.Framework;
public class XmlFileTests
{
private readonly DirectoryInfo directory;
public XmlFileTests()
{
... | JohanLarsson/Gu.Settings | Gu.Persist.SystemXml.Tests/XmlFileTests.cs | https://github.com/JohanLarsson/Gu.Settings/blob/HEAD/Gu.Persist.SystemXml.Tests/XmlFileTests.cs | ghcode:00007:634a6887ff68 | mit | codeparrot/github-code | 634a6887ff6883061797085e7baeeeab4ef8b2680c4c13debf86a8c2528475f2 | 0.75 | testing_debugging_repair_refactoring | 759 | false | 2026-07-17 |
using KenticoInspector.Core.Constants;
using KenticoInspector.Reports.TemplateLayoutAnalysis;
using KenticoInspector.Reports.TemplateLayoutAnalysis.Models;
using NUnit.Framework;
using System.Collections.Generic;
namespace KenticoInspector.Reports.Tests
{
[TestFixture(10)]
[TestFixture(11)]
[TestFixture(1... | ChristopherJennings/KInspector | KenticoInspector.Reports.Tests/TemplateLayoutAnalysisTest.cs | https://github.com/ChristopherJennings/KInspector/blob/HEAD/KenticoInspector.Reports.Tests/TemplateLayoutAnalysisTest.cs | ghcode:00007:2807a7b15dd8 | mit | codeparrot/github-code | 2807a7b15dd809d2cf7978c73194ece8b7d447787390721ff9da8f95037d869b | 0.85 | testing_debugging_repair_refactoring | 1,098 | false | 2026-07-17 |
extern alias Legacy;
using EnvDTE;
using NuGet.Configuration;
using NuGet.PackageManagement;
using NuGet.Versioning;
using NuGet.VisualStudio.Resources;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using System.Threading;
using NuGet.Proto... | csharpfritz/NuGet.VisualStudioExtension | src/VisualStudioAPI/Extensibility/VsPackageInstallerServices.cs | https://github.com/csharpfritz/NuGet.VisualStudioExtension/blob/HEAD/src/VisualStudioAPI/Extensibility/VsPackageInstallerServices.cs | ghcode:00007:980b918bc180 | apache-2.0 | codeparrot/github-code | 980b918bc180f70eca1a0af189ab68a261b681f282c39ca6d046ed1b572a4b5d | 0.7 | testing_debugging_repair_refactoring | 1,269 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using LightBDD.Core.Execution;
using LightBDD.Core.Extensibility.Execution;
using LightBDD.XUnit2.Implementation.Customization;
namespace LightBDD.XUnit2
{
/// <summary>
/// Attribute allowing to ignore scenario in declarative way. It can be applied on scenario metho... | Suremaker/LightBDD | src/LightBDD.XUnit2/IgnoreScenarioAttribute.cs | https://github.com/Suremaker/LightBDD/blob/HEAD/src/LightBDD.XUnit2/IgnoreScenarioAttribute.cs | ghcode:00007:f25c26cb60ed | bsd-2-clause | codeparrot/github-code | f25c26cb60ed940a0a4a316425971658e2042cd18d1e958d41f23ede3c09ced2 | 0.78 | testing_debugging_repair_refactoring | 370 | false | 2026-07-17 |
using System.Threading.Tasks;
using Abp.Application.Navigation;
using Abp.Authorization;
using Abp.Configuration.Startup;
using Abp.Dependency;
using Abp.Localization;
using NSubstitute;
namespace Abp.Tests.Application.Navigation
{
internal class NavigationTestCase
{
public NavigationManager Navigation... | MaikelE/aspnetboilerplate-fork | src/Tests/Abp.Tests/Application/Navigation/NavigationTestCase.cs | https://github.com/MaikelE/aspnetboilerplate-fork/blob/HEAD/src/Tests/Abp.Tests/Application/Navigation/NavigationTestCase.cs | ghcode:00007:d61901de8c1f | mit | codeparrot/github-code | d61901de8c1fb55753798b76cc4a991ca09a949f11b82b036215528db1e5489a | 0.95 | testing_debugging_repair_refactoring | 634 | 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... | mabeale/Lean | Tests/Common/Securities/Cfd/CfdTests.cs | https://github.com/mabeale/Lean/blob/HEAD/Tests/Common/Securities/Cfd/CfdTests.cs | ghcode:00007:d16dbd908bc8 | apache-2.0 | codeparrot/github-code | d16dbd908bc8edf0cca5c758266b5e5973bcca8425265dcace4cacff77afd35e | 0.75 | testing_debugging_repair_refactoring | 362 | false | 2026-07-17 |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... | tempbottle/ironpython3 | Src/IronPython/Compiler/Ast/AugmentedAssignStatement.cs | https://github.com/tempbottle/ironpython3/blob/HEAD/Src/IronPython/Compiler/Ast/AugmentedAssignStatement.cs | ghcode:00007:fce1d6a3c8ca | apache-2.0 | codeparrot/github-code | fce1d6a3c8ca6f3d2df5ed37aa3dfef8c259a3e26fb8a19fa0275aec15c2feed | 0.6 | testing_debugging_repair_refactoring | 681 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.CodeRefactorings;
using Microsoft.CodeAnalysis.Options;
using Microso... | amcasey/roslyn | src/EditorFeatures/CSharpTest/CodeActions/ReplacePropertyWithMethods/ReplacePropertyWithMethodsTests.cs | https://github.com/amcasey/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/CodeActions/ReplacePropertyWithMethods/ReplacePropertyWithMethodsTests.cs | ghcode:00007:0656d8356b17 | apache-2.0 | codeparrot/github-code | 0656d8356b170b4ce89b80b951bef181975380fd761806ae2953ca7930b551fd | 0.85 | testing_debugging_repair_refactoring | 7,994 | 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... | rohmano/azure-sdk-for-net | src/ResourceManagement/TrafficManager/TrafficManager.Tests/ScenarioTests/GeographicHierarchyScenarioTests.cs | https://github.com/rohmano/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/TrafficManager/TrafficManager.Tests/ScenarioTests/GeographicHierarchyScenarioTests.cs | ghcode:00007:02fd749ad8b2 | apache-2.0 | codeparrot/github-code | 02fd749ad8b2224dbe8473aeebfb63adc07ff35f66590fc414f7aa9dc6f41e12 | 0.85 | testing_debugging_repair_refactoring | 438 | 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 ... | smithab/azure-sdk-for-net | src/ResourceManagement/Cdn/Cdn.Tests/ScenarioTests/OperationsTest.cs | https://github.com/smithab/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/Cdn/Cdn.Tests/ScenarioTests/OperationsTest.cs | ghcode:00007:e83c767418a3 | apache-2.0 | codeparrot/github-code | e83c767418a320f4ab186a7fdf0b2e5140d41d70e6bc1dac1f88f427a1ba893d | 0.7 | testing_debugging_repair_refactoring | 333 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | atpham256/azure-powershell | src/ServiceManagement/Common/Commands.ScenarioTest/Common/PowerShellTest.cs | https://github.com/atpham256/azure-powershell/blob/HEAD/src/ServiceManagement/Common/Commands.ScenarioTest/Common/PowerShellTest.cs | ghcode:00007:c882b69170a3 | apache-2.0 | codeparrot/github-code | c882b69170a3e5424be465028da5584053cc6a633ab9cd262619f7d79fa99a97 | 0.7 | testing_debugging_repair_refactoring | 916 | 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... | MichaelCommo/azure-sdk-for-net | src/ResourceManagement/Compute/Compute.Tests/ScenarioTests/VMDiskEncryptionTests.cs | https://github.com/MichaelCommo/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/Compute/Compute.Tests/ScenarioTests/VMDiskEncryptionTests.cs | ghcode:00007:794b915459fe | mit | codeparrot/github-code | 794b915459fe8677f39fa959f988b29b95c5c026a91776885ccefeccbdb94002 | 0.85 | testing_debugging_repair_refactoring | 658 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System... | mavasani/roslyn | src/Compilers/CSharp/Test/Emit2/Attributes/AttributeTests_Assembly.cs | https://github.com/mavasani/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit2/Attributes/AttributeTests_Assembly.cs | ghcode:00007:16c444b3e970 | mit | codeparrot/github-code | 16c444b3e97040e8ee08c571f4360b4ad3a56d102efeab955911ff17971fd5e7 | 0.82 | testing_debugging_repair_refactoring | 24,500 | 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 Microsoft.Build.Construction;
using Microsoft.Build.Evaluation;
using Microsoft.Build.Shared;
using Shouldly;
using Xunit;
namespace Microsoft.Bui... | cdmihai/msbuild | src/Build.UnitTests/Evaluation/SimpleProjectRootElementCache_Tests.cs | https://github.com/cdmihai/msbuild/blob/HEAD/src/Build.UnitTests/Evaluation/SimpleProjectRootElementCache_Tests.cs | ghcode:00007:434d96547ca7 | mit | codeparrot/github-code | 434d96547ca74893c02600e034b735de8f615eb2d7ac1ab667b08f54d2a6a8f7 | 0.85 | testing_debugging_repair_refactoring | 1,128 | 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 Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.CSharp.UnitTest... | DavidKarlas/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenIterators.cs | https://github.com/DavidKarlas/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenIterators.cs | ghcode:00007:d0d9e033f30c | apache-2.0 | codeparrot/github-code | d0d9e033f30cc621e6043e65fbda938f2d0500385e4a4f9ce4d61060bc0dc64f | 0.95 | testing_debugging_repair_refactoring | 16,842 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="InputStreamSourceSpec.cs" company="Akka.NET Project">
// Copyright (C) 2015-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyr... | derwasp/akka.net | src/core/Akka.Streams.Tests/IO/InputStreamSourceSpec.cs | https://github.com/derwasp/akka.net/blob/HEAD/src/core/Akka.Streams.Tests/IO/InputStreamSourceSpec.cs | ghcode:00007:99798f5ff72e | apache-2.0 | codeparrot/github-code | 99798f5ff72e65fedb11771937fb0bf7997c8a55ef112536693b3e81d7fddea8 | 0.85 | testing_debugging_repair_refactoring | 1,235 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.