text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
//-----------------------------------------------------------------------
// <copyright file="Discovery.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//---... | willieferguson/akka.net | src/core/Akka.NodeTestRunner/Discovery.cs | https://github.com/willieferguson/akka.net/blob/HEAD/src/core/Akka.NodeTestRunner/Discovery.cs | ghcode:00160:fe337a87b4a6 | apache-2.0 | codeparrot/github-code | fe337a87b4a6d1088650a7f45ca9887554c29d01fb0fa1eb9e29597f2c61b940 | 0.85 | testing_debugging_repair_refactoring | 295 | 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.Reflection;
using System.Runtime.CompilerServices;
using Xunit;
name... | ptoonen/corefx | src/System.Threading.Tasks/tests/Task/ExecutionContextFlowTest.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Threading.Tasks/tests/Task/ExecutionContextFlowTest.cs | ghcode:00160:b54e80c78cf4 | mit | codeparrot/github-code | b54e80c78cf48b9fb039ac9908a8f45bbdd623797fc03ace0186181e10885215 | 0.95 | testing_debugging_repair_refactoring | 1,059 | 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.Reflection;
using System.Reflection.Emit;
using Xunit;
namespace System.Reflection.Emit.... | mafiya69/corefx | src/System.Reflection.Emit/tests/GenericTypeParameterBuilder/GenericTypeParameterBuilderSetGenericParameterAttributes.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Reflection.Emit/tests/GenericTypeParameterBuilder/GenericTypeParameterBuilderSetGenericParameterAttributes.cs | ghcode:00160:cd4dd36bd25d | mit | codeparrot/github-code | cd4dd36bd25d5ee43c0b9d7a53a3ffca800064a66d6e83351f9d72e85ed9444a | 0.95 | testing_debugging_repair_refactoring | 1,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 Xunit;
namespace System.IO.Tests
{
public class File_GetSetAttributes : BaseGetSetAttributes
{
... | nbarbettini/corefx | src/System.IO.FileSystem/tests/File/GetSetAttributes.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.IO.FileSystem/tests/File/GetSetAttributes.cs | ghcode:00160:22132c546f3d | mit | codeparrot/github-code | 22132c546f3ddef259bac665a24845abe8df50b109dc4cd512ce9fb68b5a59a6 | 0.95 | testing_debugging_repair_refactoring | 212 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using Bolt.Test.Common;
using Xunit;
namespace Bolt.Core.Test
{
public class JsonSerializerTest
{
public JsonSerializerTest()
{
Serializer = new JsonSerializer();
}
public ISerializer Serializer { get... | yonglehou/Bolt | test/Automatic/Bolt.Core.Test/SerializerTest.cs | https://github.com/yonglehou/Bolt/blob/HEAD/test/Automatic/Bolt.Core.Test/SerializerTest.cs | ghcode:00160:2217ab320ffa | mit | codeparrot/github-code | 2217ab320ffa727a7cccc9a39662718138f282aee3b6ef64244c59db45be8efe | 0.6 | testing_debugging_repair_refactoring | 597 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2015-2016 Rasmus Mikkelsen
// Copyright (c) 2015-2016 eBay Software Foundation
// https://github.com/rasmus/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), ... | AntoineGa/EventFlow | Source/EventFlow.Tests/UnitTests/Core/Cache/InMemoryCacheTests.cs | https://github.com/AntoineGa/EventFlow/blob/HEAD/Source/EventFlow.Tests/UnitTests/Core/Cache/InMemoryCacheTests.cs | ghcode:00160:c42b6f0467e6 | mit | codeparrot/github-code | c42b6f0467e6472e00015573b7946cfcafe58f6401a5add98bb1c461d67b138c | 0.85 | testing_debugging_repair_refactoring | 345 | false | 2026-07-17 |
using FluentAssertions;
using Xunit;
namespace Moon.Tests
{
public class MimeTypeTests
{
[Fact]
public void GettingTypeOfKnownExtension()
{
var result = MimeType.Get(".json");
result.Should().Be("application/json");
}
[Fact]
public void ... | djanosik/Moon.Libraries | test/Moon.Runtime.Tests/MimeTypeTests.cs | https://github.com/djanosik/Moon.Libraries/blob/HEAD/test/Moon.Runtime.Tests/MimeTypeTests.cs | ghcode:00160:43615c866f38 | mit | codeparrot/github-code | 43615c866f38afb8797089e68a76a40b62c54b75dfbcc81b65e7c343dc4f78e1 | 0.75 | testing_debugging_repair_refactoring | 134 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Esfa.Vacancy.Application.Queries.SearchApprenticeshipVacancies;
using Esfa.Vacancy.Domain.Validation;
using FluentAssertions;
using FluentValidation.Results;
using NUnit.Framework;
namespace Esfa.Vacancy.UnitTests.SearchApprenticeship.Application.GivenASearchAppre... | SkillsFundingAgency/vacancy-register-api | src/Esfa.Vacancy.UnitTests/SearchApprenticeship/Application/GivenASearchApprenticeshipVacanciesRequestValidator/WhenValidatingPostedInDays.cs | https://github.com/SkillsFundingAgency/vacancy-register-api/blob/HEAD/src/Esfa.Vacancy.UnitTests/SearchApprenticeship/Application/GivenASearchApprenticeshipVacanciesRequestValidator/WhenValidatingPostedInDays.cs | ghcode:00160:d7c370cf7920 | mit | codeparrot/github-code | d7c370cf79205b3342df9304a62ee4b8386becbe5b4c98d6022e2143db97d062 | 0.75 | testing_debugging_repair_refactoring | 539 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Network.Models;
using Azure.ResourceManager.Network.Tests.Helpers;
using NUnit.... | AsrOneSdk/azure-sdk-for-net | sdk/network/Azure.ResourceManager.Network/tests/Tests/PacketCaptureTests.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/network/Azure.ResourceManager.Network/tests/Tests/PacketCaptureTests.cs | ghcode:00160:6c7b779e5772 | mit | codeparrot/github-code | 6c7b779e5772c627fbf08e85abe041d596daaf62193c900e53becb38323f3a21 | 0.95 | testing_debugging_repair_refactoring | 960 | false | 2026-07-17 |
using ClosedXML_Examples;
using NUnit.Framework;
namespace ClosedXML_Tests.Examples
{
[TestFixture]
public class AutoFilterTests
{
[Test]
public void CustomAutoFilter()
{
TestHelper.RunTestExample<CustomAutoFilter>(@"AutoFilter\CustomAutoFilter.xlsx");
... | vbjay/ClosedXML | ClosedXML_Tests/Examples/AutoFilterTests.cs | https://github.com/vbjay/ClosedXML/blob/HEAD/ClosedXML_Tests/Examples/AutoFilterTests.cs | ghcode:00160:e089ec9befe9 | mit | codeparrot/github-code | e089ec9befe99f1093d9b541c7ca11b209991c31083633c012a30aeaabbbfefd | 0.75 | testing_debugging_repair_refactoring | 178 | false | 2026-07-17 |
using Tact.Diagnostics.Implementation;
using Tact.Practices.Implementation;
using Xunit;
namespace Tact.Tests.Practices
{
public class ProxyLifetimeManagerTests
{
[Fact]
public void SingletonProxy()
{
using (var resolver = new TactContainer(new InMemoryLog()))
{... | tdupont750/tact.net | framework/tests/Tact.Tests/Practices/ProxyLifetimeManagerTests.cs | https://github.com/tdupont750/tact.net/blob/HEAD/framework/tests/Tact.Tests/Practices/ProxyLifetimeManagerTests.cs | ghcode:00160:0d56491cd8c1 | mit | codeparrot/github-code | 0d56491cd8c1cc0f3ce12a8af499b485d65567fbe7ee734574a33fd23a041f7f | 0.85 | testing_debugging_repair_refactoring | 404 | false | 2026-07-17 |
// <copyright file="MonoAlphabeticSymmetricTests.cs" company="APH Software">
// Copyright (c) Andrew Hawkins. All rights reserved.
// </copyright>
namespace Useful.Security.Cryptography.Tests
{
using System;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using Useful.Sec... | aphawkins/Useful | test/Useful.Security.Cryptography.Streams.Tests/Security/Cryptography/MonoAlphabeticSymmetricTests.cs | https://github.com/aphawkins/Useful/blob/HEAD/test/Useful.Security.Cryptography.Streams.Tests/Security/Cryptography/MonoAlphabeticSymmetricTests.cs | ghcode:00160:58575c439771 | mit | codeparrot/github-code | 58575c439771c7cbbebdf5d03206a4b757192e491fc910e8754fab180a331714 | 0.85 | testing_debugging_repair_refactoring | 2,898 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PublisherAppenderTest.cs" company="Orcomp development team">
// Copyright (c) 2008 - 2014 Orcomp development team. All rights reserved.
// </copyright>
// ----------------------... | Orcomp/NUnitBenchmarker | src/NUnitBenchmarker.Core.Tests/Logging/PublisherAppenderTest.cs | https://github.com/Orcomp/NUnitBenchmarker/blob/HEAD/src/NUnitBenchmarker.Core.Tests/Logging/PublisherAppenderTest.cs | ghcode:00160:bc314d12bc91 | mit | codeparrot/github-code | bc314d12bc91cc89ed4a10575b2261c408a8a62e8b107a0562c229eadf9375ba | 0.7 | testing_debugging_repair_refactoring | 229 | false | 2026-07-17 |
using Xunit;
namespace Carbon.Css.Tests
{
public class CssUnitTests
{
// switch = 224ms
// dictionary = 149ms
[Fact]
public void Lookup()
{
Assert.Equal(CssUnitInfo.Px, CssUnitInfo.Get("px"));
Assert.Equal(CssUnitInfo.Pt, CssUnitInf... | Carbon/Css | src/Carbon.Css.Tests/CssUnitTests.cs | https://github.com/Carbon/Css/blob/HEAD/src/Carbon.Css.Tests/CssUnitTests.cs | ghcode:00160:f7bbb37e0e93 | mit | codeparrot/github-code | f7bbb37e0e939314bb0005d01d0758d22c7f012fe59d6e596d9bd0ebfabc65eb | 0.75 | testing_debugging_repair_refactoring | 282 | false | 2026-07-17 |
// Copyright (C) E5R Development Team. All rights reserved.
// Licensed under the MIT License. See LICENSE file for license information.
using System;
using Xunit;
namespace E5R.Framework.Security.Auth.Data.Tests
{
public class AuthIdTests
{
[Fact]
public void Is_Unique()
{
... | e5r/E5R.Framework | test/E5R.Framework.Security.Auth.Data.Test/AuthIdTests.cs | https://github.com/e5r/E5R.Framework/blob/HEAD/test/E5R.Framework.Security.Auth.Data.Test/AuthIdTests.cs | ghcode:00160:79bf8147ed3a | mit | codeparrot/github-code | 79bf8147ed3add364705497e69f5f24eafc76cb43fefc5e5ca7d9a4107414ab0 | 0.85 | testing_debugging_repair_refactoring | 782 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Fpm.MainUI.Helpers;
using Fpm.ProfileData;
using Fpm.ProfileData.Repositories;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Fpm.MainUITest.Helpers
{
[TestClass]
public class IndicatorOwnerChangerTest
{
privat... | PublicHealthEngland/fingertips-open | FingertipsProfileManager/MainUITest/Helpers/IndicatorOwnerChangerTest.cs | https://github.com/PublicHealthEngland/fingertips-open/blob/HEAD/FingertipsProfileManager/MainUITest/Helpers/IndicatorOwnerChangerTest.cs | ghcode:00160:3715906a6589 | mit | codeparrot/github-code | 3715906a65897d3c91e287f24312f836ec0e39a0649bd87aa84b8ed4d2a3edfe | 0.85 | testing_debugging_repair_refactoring | 438 | false | 2026-07-17 |
using NUnit.Framework;
using System.Diagnostics.CodeAnalysis;
namespace BDDoc.Samples.Warehouse.Nunit.UnitTest.PlainScenarios
{
[ExcludeFromCodeCoverage]
[StoryInfo("NUnit-ReturnsGoToStockStory", GroupName = "Warehouse")]
[Story("Returns go to stock")]
[InOrderTo("keep track of stock")]
[AsA("stor... | ngallo/BDDoc | samples/BDDoc.Samples.Warehouse.Nunit.UnitTest/PlainScenarios/ReturnsGoToStockStory.cs | https://github.com/ngallo/BDDoc/blob/HEAD/samples/BDDoc.Samples.Warehouse.Nunit.UnitTest/PlainScenarios/ReturnsGoToStockStory.cs | ghcode:00160:dabe3a9f9ba0 | mit | codeparrot/github-code | dabe3a9f9ba00a1ed08b400a02230842ab225d424720f557d188ad7f56a805de | 0.85 | testing_debugging_repair_refactoring | 765 | false | 2026-07-17 |
using Moq;
using System.Data;
namespace PokerTracker.Tests.BLL.Mocks
{
public class DbConnectionMock : Mock<IDbConnection>
{
public DbConnectionMock()
{
Setup(x => x.Dispose());
}
}
}
| rdhammond/poker-tracker | Tests/BLL/Mocks/DbConnectionMock.cs | https://github.com/rdhammond/poker-tracker/blob/HEAD/Tests/BLL/Mocks/DbConnectionMock.cs | ghcode:00160:053fbeadfc65 | mit | codeparrot/github-code | 053fbeadfc650f90ab106250c57255e5ccc9bbb645e394fabc81cb5899876a6c | 0.6 | testing_debugging_repair_refactoring | 51 | false | 2026-07-17 |
using AutoMapper.XpressionMapper.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Shouldly;
using Xunit;
namespace AutoMapper.UnitTests
{
using Configuration.Internal;
public class XpressionMapperForPathTests
{
public XpressionMap... | gentledepp/AutoMapper | src/UnitTests/XpressionMapper.ForPath.Tests.cs | https://github.com/gentledepp/AutoMapper/blob/HEAD/src/UnitTests/XpressionMapper.ForPath.Tests.cs | ghcode:00160:f2b8d13503be | mit | codeparrot/github-code | f2b8d13503befc06a14925e36318e61a88a66a58d3a423462c6172ea712f81ba | 0.85 | testing_debugging_repair_refactoring | 1,554 | false | 2026-07-17 |
using System;
using System.Reflection;
using System.Security;
using System.Security.Permissions;
public class Program {
[SecurityPermission (SecurityAction.LinkDemand, ControlPrincipal=true)]
public static int Test ()
{
return 0;
}
static int TestReflectedCall ()
{
MethodInfo mi = typeof (Program).GetMetho... | jbatonnet/system | Source/[Libraries]/Mono/mono/tests/cas/linkdemand/refcas1.cs | https://github.com/jbatonnet/system/blob/HEAD/Source/[Libraries]/Mono/mono/tests/cas/linkdemand/refcas1.cs | ghcode:00160:6d8393cd8f5a | mit | codeparrot/github-code | 6d8393cd8f5a77a4bd2e417610778a368809b443cc97455c8653054b8b638db3 | 0.85 | testing_debugging_repair_refactoring | 236 | false | 2026-07-17 |
using System.Net;
using DediLib.Net;
using Xunit;
namespace Test.DediLib.Net
{
public class TestIPAddressHelper
{
[Theory]
[InlineData("192.168.1.1", "255.255.255.0", "192.168.1.255")]
[InlineData("192.168.1.1", "255.255.0.0", "192.168.255.255")]
[InlineData("192.168.1.1", "255... | hanswolff/dedilib.core | src/test/Test.DediLib/Net/TestIPAddressHelper.cs | https://github.com/hanswolff/dedilib.core/blob/HEAD/src/test/Test.DediLib/Net/TestIPAddressHelper.cs | ghcode:00160:8e5cf9698985 | mit | codeparrot/github-code | 8e5cf9698985bdb1c1048998a00144a2427be23f5e60003bef62804f7f669656 | 0.85 | testing_debugging_repair_refactoring | 1,086 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
namespace SeptaBus
{
[TestFixture]
public class BusTests
{
[Test]
public void Publish_CallsHandleOnHandlerProvider()
{
var handler1 = new MyEventHandler();
... | jkodroff/SeptaBus | src/SeptaBus.Core.Tests/BusTests.cs | https://github.com/jkodroff/SeptaBus/blob/HEAD/src/SeptaBus.Core.Tests/BusTests.cs | ghcode:00160:aef778e5dbf7 | mit | codeparrot/github-code | aef778e5dbf7ba69d31aa62898e206c91367fa8925dc37124793c6762b84404c | 0.75 | testing_debugging_repair_refactoring | 1,268 | false | 2026-07-17 |
using Erp.Logic;
using System;
using Xunit;
namespace Erp.Test
{
public class TestRevenueCalculator
{
[Fact]
public void TestTotalRevenueCalculation()
{
Assert.Equal(42, RevenueCalculator.CalculateTotalRevenue(2, 21));
}
}
}
| software-architects/msft-intelligent-app-workshop | Exercises/exercise1-devops/Erp/Erp.Test/TestRevenueCalculator.cs | https://github.com/software-architects/msft-intelligent-app-workshop/blob/HEAD/Exercises/exercise1-devops/Erp/Erp.Test/TestRevenueCalculator.cs | ghcode:00160:f29859292945 | mit | codeparrot/github-code | f298592929455c0e0d3a254a58a3fdda93f68d96073aa91e51639527170f0488 | 0.75 | testing_debugging_repair_refactoring | 66 | false | 2026-07-17 |
/*
Copyright (c) 2012 <a href="http://www.gutgames.com">James Craig</a>
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, ... | khellang/Craig-s-Utility-Library | UnitTests/DataTypes/ExtensionMethods/ReflectionExtensions.cs | https://github.com/khellang/Craig-s-Utility-Library/blob/HEAD/UnitTests/DataTypes/ExtensionMethods/ReflectionExtensions.cs | ghcode:00160:7d4c1e9d2397 | mit | codeparrot/github-code | 7d4c1e9d23977d47e22508fdc781d7e7207608d15259d1d9d01aea3108fe37f6 | 0.6 | testing_debugging_repair_refactoring | 2,038 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using FryProxy.Readers;
using NUnit.Framework;
namespace FryProxy.Tests.Readers
{
public class HttpHeaderReaderTests : AssertionHelper
{
[Test]
public void ShouldReadHttpHeaders()
{
... | eger-geger/FryProxy | FryProxy.Tests/src/Readers/HttpHeaderReaderTests.cs | https://github.com/eger-geger/FryProxy/blob/HEAD/FryProxy.Tests/src/Readers/HttpHeaderReaderTests.cs | ghcode:00160:a9f781f4fa59 | mit | codeparrot/github-code | a9f781f4fa59f065ac16a728c8f7658e95b43c5cd9cc0d4f75576a4b9ba4d7f1 | 0.85 | testing_debugging_repair_refactoring | 434 | false | 2026-07-17 |
using System;
using System.Diagnostics;
namespace Assertions
{
public static class SortMethods
{
public static void SelectionSort<T>(T[] arr) where T : IComparable<T>
{
for (int index = 0; index < arr.Length - 1; index++)
{
int minElementIndex = FindMinE... | studware/Ange-Git | MyTelerikAcademyHomeWorks/HighQualityCode/HQC2-2016/HW1.Defensive-Programming-and-Exceptions/Assertions/SortMethods.cs | https://github.com/studware/Ange-Git/blob/HEAD/MyTelerikAcademyHomeWorks/HighQualityCode/HQC2-2016/HW1.Defensive-Programming-and-Exceptions/Assertions/SortMethods.cs | ghcode:00160:97575b71f262 | mit | codeparrot/github-code | 97575b71f262f90231392d40a865bcf41c9a3f96e003143a42c3066d3c99375f | 0.75 | testing_debugging_repair_refactoring | 296 | false | 2026-07-17 |
/*
* SonarScanner for .NET
* Copyright (C) 2016-2022 SonarSource SA
* mailto: info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of ... | SonarSource-DotNet/sonar-msbuild-runner | Tests/SonarScanner.MSBuild.Test/ArgumentProcessorTests.cs | https://github.com/SonarSource-DotNet/sonar-msbuild-runner/blob/HEAD/Tests/SonarScanner.MSBuild.Test/ArgumentProcessorTests.cs | ghcode:00160:f4ff2d3abe00 | mit | codeparrot/github-code | f4ff2d3abe004cab0b2cf55ce10074cc9901bfc86427db3afe7512778de1fc29 | 0.85 | testing_debugging_repair_refactoring | 3,264 | false | 2026-07-17 |
using System;
using System.Diagnostics.CodeAnalysis;
using Maxxor.PCL.Result;
using Maxxor.PCL.Tests.Tests.Base;
using NUnit.Framework;
namespace Maxxor.PCL.Tests.Tests.MxResultsTests.MxTryTests
{
[TestFixture, ExcludeFromCodeCoverage]
public class GetResultTests
{
[TestFixture]
public cla... | Maxxor-Business-Solutions/Maxxor.PCL | Maxxor.PCL.Tests/Tests/MxResultsTests/MxTryTests/GetResultTests.cs | https://github.com/Maxxor-Business-Solutions/Maxxor.PCL/blob/HEAD/Maxxor.PCL.Tests/Tests/MxResultsTests/MxTryTests/GetResultTests.cs | ghcode:00160:402c028fdf78 | mit | codeparrot/github-code | 402c028fdf782ce2b758397b513b10b1c6f5a0ed4a12b3efa8d832ae0fa7ad93 | 0.95 | testing_debugging_repair_refactoring | 1,364 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Qwack.Options;
using Qwack.Paths;
using Qwack.Paths.Payoffs;
using Qwack.Paths.Processes;
using Qwack.Math.Extensions;
using Xunit;
using Qwack.Transport.BasicTypes;
namespace Qwack.Mo... | cetusfinance/qwack | test/Qwack.MonteCarlo.Test/MCConstantVolFacts.cs | https://github.com/cetusfinance/qwack/blob/HEAD/test/Qwack.MonteCarlo.Test/MCConstantVolFacts.cs | ghcode:00160:679604dca590 | mit | codeparrot/github-code | 679604dca59045e13273b9ec3cc024389ed216c5b4c60f4f19c57abe109fea38 | 0.75 | testing_debugging_repair_refactoring | 392 | false | 2026-07-17 |
// Copyright (c) Gaurav Aroraa
// Licensed under the MIT License. See License.txt in the project root for license information.
using NUnit.Framework;
namespace TDD_Katas_NETCore.TheGameOfLifeKata
{
[TestFixture]
[Category("GameOfLifeKata")]
public class TestGameOfLife
{
[SetUp]
public... | cjhnim/TDD-Katas | Src/CSharp/Net Core/TheGameOfLifeKata/TestGameOfLife.cs | https://github.com/cjhnim/TDD-Katas/blob/HEAD/Src/CSharp/Net Core/TheGameOfLifeKata/TestGameOfLife.cs | ghcode:00160:13418032b150 | mit | codeparrot/github-code | 13418032b15029e67f053bb6319a6dd1988ccfdabc648cc783a8308a2d0dee69 | 0.85 | testing_debugging_repair_refactoring | 115 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace Pliant.Tests.Common
{
public static class FluentAssertions
{
public static TValue AssertInBoundsAndNavigate<T, TValue>(this T value, Func<T, IReadOnlyList<TValue>> property, int index)
... | patrickhuber/Pliant | tests/Pliant.Tests.Common/FluentAssertions.cs | https://github.com/patrickhuber/Pliant/blob/HEAD/tests/Pliant.Tests.Common/FluentAssertions.cs | ghcode:00160:0e5beeb4176d | mit | codeparrot/github-code | 0e5beeb4176d7b8ab2333166d5d3e21b58272689f62959e3e392357bb814acd4 | 0.75 | testing_debugging_repair_refactoring | 135 | false | 2026-07-17 |
// <copyright company="XATA">
// Copyright (c) 2016 by Shogun, All Right Reserved
// </copyright>
// <author>Ivan Ivchenko</author>
// <email>iivchenko@live.com</email>
using System;
using NUnit.Framework;
namespace ShogunLib.Tests
{
[TestFixture]
public class UnitsTests
{
[Test]
pub... | iivchenko/ShogunLib | ShogunLib.Tests/UnitsTests.cs | https://github.com/iivchenko/ShogunLib/blob/HEAD/ShogunLib.Tests/UnitsTests.cs | ghcode:00160:0930fabc44ea | mit | codeparrot/github-code | 0930fabc44eabc1c13c6175141a9a6df4a7953c29a85bf21a66aa78e4e66b18e | 0.85 | testing_debugging_repair_refactoring | 706 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="NorthwindCustomer.cs" company="Reimers.dk">
// Copyright © Reimers.dk 2014
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsof... | daveh551/Highway.Data | Highway/test/Highway.Data.Tests/OData/Fakes/NorthwindCustomer.cs | https://github.com/daveh551/Highway.Data/blob/HEAD/Highway/test/Highway.Data.Tests/OData/Fakes/NorthwindCustomer.cs | ghcode:00160:18a65b4edbf0 | mit | codeparrot/github-code | 18a65b4edbf0a568c08367f225796e825d586d736c20864b63147be5323c1bac | 0.95 | testing_debugging_repair_refactoring | 228 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FluentAssertions;
using NUnit.Framework;
using StructureComparer.Tests.Fakes;
using StructureComparer.Tests.Fakes.StructureA;
using StructureComparer.Validators;
namespace StructureComparer.Tests.Validators
{
[TestFixture]
public class TypeValidatorTests
... | jeduardocosta/structure-comparer | test/StructureComparer.Tests/Validators/TypeValidatorTests.cs | https://github.com/jeduardocosta/structure-comparer/blob/HEAD/test/StructureComparer.Tests/Validators/TypeValidatorTests.cs | ghcode:00160:618377e5ffec | mit | codeparrot/github-code | 618377e5ffecf93d348697eac0a59ba1c025590a277ab849b47453b670babced | 0.75 | testing_debugging_repair_refactoring | 1,604 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All Rights Reserved.
// Licensed under the MIT License.
using Datasync.Common.Test;
using Datasync.Common.Test.Models;
using Microsoft.AspNetCore.Datasync;
using Microsoft.AspNetCore.Datasync.Extensions;
using System;
using System.Collections.Generic;
using System.Diagnostics.C... | Azure/azure-mobile-apps | sdk/dotnet/test/Microsoft.Datasync.Integration.Test/Server/Replace.Test.cs | https://github.com/Azure/azure-mobile-apps/blob/HEAD/sdk/dotnet/test/Microsoft.Datasync.Integration.Test/Server/Replace.Test.cs | ghcode:00160:5de4050523db | mit | codeparrot/github-code | 5de4050523db50d6b3a7e283312906f0e8afc1b0dc6f9dfc0b8fc066c55765ca | 0.95 | testing_debugging_repair_refactoring | 2,642 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
using NUnit.Framework;
public class Perf03
{
//ContainsById
[TestCase]
public void ContainsById_100000_ShouldWorkFast()
{
IArena ar = new RoyaleArena();
int count = 100000;
List<Battle... | MrPIvanov/SoftUni | 07-Data Structure/20-EXAM PREPARATION/02/02_RoyaleArena/RoyaleArena.Tests/Performance/Perf03.cs | https://github.com/MrPIvanov/SoftUni/blob/HEAD/07-Data Structure/20-EXAM PREPARATION/02/02_RoyaleArena/RoyaleArena.Tests/Performance/Perf03.cs | ghcode:00160:72dcd1581503 | mit | codeparrot/github-code | 72dcd1581503811b29f93d5e976756952db7cba8242b4bfea2b78dbc3b7aac4e | 0.75 | testing_debugging_repair_refactoring | 276 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using TaskHistory.Api.History;
using TaskHistory.Api.History.DataTransferObjects;
using TaskHistory.Api.TaskLists;
using TaskHistory.Api.TaskPriorities;
using TaskHistory.Api.Tasks;
using TaskHistory.Api.Users;
using TaskHistory.Impl.History;
using TaskHistory.Impl.Sql;
... | rhsu/TaskHistory | TaskHistory.Test.Framework/TestFixtures.cs | https://github.com/rhsu/TaskHistory/blob/HEAD/TaskHistory.Test.Framework/TestFixtures.cs | ghcode:00160:b52ccae2624e | mit | codeparrot/github-code | b52ccae2624e62852b2daad6b99ffd9f1f57343a48f9f768a10684acc5976edf | 0.75 | testing_debugging_repair_refactoring | 821 | false | 2026-07-17 |
using PGP.Domain.DomainHelpers;
using PGP.Infrastructure.Framework.Specifications;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PGP.Domain.Tasks.Specs
{
/// <summary>
///
/// </summary>
public class TaskHasCreatedByUserS... | pmajoras/PGPBaseWebApi | src/PGP.Domain/Tasks/Specs/TaskHasCreatedByUserSpec.cs | https://github.com/pmajoras/PGPBaseWebApi/blob/HEAD/src/PGP.Domain/Tasks/Specs/TaskHasCreatedByUserSpec.cs | ghcode:00160:79230c0c91b7 | mit | codeparrot/github-code | 79230c0c91b7897a501b37b803ab9f27b9e025b43fa22f3a360e90c50f885bc6 | 0.85 | testing_debugging_repair_refactoring | 194 | false | 2026-07-17 |
using NUnit.Framework;
using TDDBlackJack;
using FluentAssertions;
using System;
namespace BlackJack
{
[TestFixture]
public class DeckTests
{
[Test]
public void DrawingOneCardResultsInOneCardBeingRemovedFromDeck()
{
Deck theDeck = new Deck();
int number = ... | genecyber/TDD-BlackJack | BlackJackTests/DeckTests.cs | https://github.com/genecyber/TDD-BlackJack/blob/HEAD/BlackJackTests/DeckTests.cs | ghcode:00160:c6551cd3e35d | mit | codeparrot/github-code | c6551cd3e35d58f1a74eeb919ab7bc127b0ae14976c4e64fb377869b7b629d23 | 0.75 | testing_debugging_repair_refactoring | 440 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using FileHelpers.Dynamic;
using NUnit.Framework;
using NFluent;
namespace FileHelpers.Tests.CommonTests
{
[TestFixture]
public class NullWriters
{
[Test]
public void WriteNull()
{
var engine... | guillaumejay/FileHelpers | FileHelpers.Tests/Tests/Common/NullValues.cs | https://github.com/guillaumejay/FileHelpers/blob/HEAD/FileHelpers.Tests/Tests/Common/NullValues.cs | ghcode:00160:ef7c535c3353 | mit | codeparrot/github-code | ef7c535c3353b51cdf2c7fd020daae4855a4a08770e79478a318d2cb3860800f | 0.85 | testing_debugging_repair_refactoring | 1,508 | false | 2026-07-17 |
//#define DEBUG_STATEIMPL
// Using this define defaults to fingerprinting to the old, nonincremental version
#define NONINC_FINGERPRINTS
// Turn these defines to debug incremental fingerprinting
//#define DEBUG_INC_FINGERPRINTS
//#define COMPARE_INC_NONINC_FINGERPRINTS
//#define PRINT_FINGERPRINTS
using System;
usin... | ZingModelChecker/Zing | Microsoft.Zing.Runtime/StateImpl.cs | https://github.com/ZingModelChecker/Zing/blob/HEAD/Microsoft.Zing.Runtime/StateImpl.cs | ghcode:00160:46ea866fa2cb | mit | codeparrot/github-code | 46ea866fa2cbdde14d415eddc3251ab86f5a7c9271c15bac76808aadc8772c0a | 0.57 | testing_debugging_repair_refactoring | 17,665 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using LinqInfer.Text;
using NUnit.Framework;
namespace LinqInfer.UnitTests.Text.Tokenisers
{
[TestFixture]
public class TokenisingTextWriterTests
{
[Test]
public void DefaultCo... | roberino/linqinfer | tests/LinqInfer.UnitTests/Text/Tokenisers/TokenisingTextWriterTests.cs | https://github.com/roberino/linqinfer/blob/HEAD/tests/LinqInfer.UnitTests/Text/Tokenisers/TokenisingTextWriterTests.cs | ghcode:00160:3742c838d0d6 | mit | codeparrot/github-code | 3742c838d0d6e8bd5233637a14971a6cd5968e4661392d52b9ba3bdc11e57980 | 0.75 | testing_debugging_repair_refactoring | 1,118 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Syntaxiom.Liquid.Tests.Integration.Original.Tags
{
[TestFixture]
public class IncludeTagTests : TagTestsBase
{
[Test]
public void ImplementBelowCommentedTests()
{
throw new NotImplementedException();
}
}
}
//cl... | SteveLillis/Syntaxiom | src/Syntaxiom.Liquid.Tests/Integration/Original/Tags/IncludeTagTests.cs | https://github.com/SteveLillis/Syntaxiom/blob/HEAD/src/Syntaxiom.Liquid.Tests/Integration/Original/Tags/IncludeTagTests.cs | ghcode:00160:284516a187ff | mit | codeparrot/github-code | 284516a187ff96023751f412170416797d1947260ff858baa6f6bb5ea35f43e0 | 0.85 | testing_debugging_repair_refactoring | 2,264 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Talks.C2DF.Interfaces;
using Talks.C2DF.Interfaces.Models;
using Talks.C2DF.BetterApp;
using Talks.C2DF.BetterApp.Lib.Logging;
namespace Talks.C2DF.Tests.BetterAppTests
{
[TestClass]
public class When_Send_with_SendingMicroApp_
{
... | calebjenkins/Talks.CodeToDiFor | Talks.CodeToDiFor.Solution/Talks.C2DF.Tests/BetterAppTests/When_Send_with_SendingMicroApp_.cs | https://github.com/calebjenkins/Talks.CodeToDiFor/blob/HEAD/Talks.CodeToDiFor.Solution/Talks.C2DF.Tests/BetterAppTests/When_Send_with_SendingMicroApp_.cs | ghcode:00160:eb27d1010cdf | mit | codeparrot/github-code | eb27d1010cdf0b279f94cb8d7cb4b82a550a1cd1868eee4644d850ad7a6e0fb4 | 0.6 | testing_debugging_repair_refactoring | 521 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using UIKit;
namespace osu.Game.Rulesets.Taiko.Tests.iOS
{
public class Application
{
public static void Main(string[] args)
{
UIApp... | ZLima12/osu | osu.Game.Rulesets.Taiko.Tests.iOS/Application.cs | https://github.com/ZLima12/osu/blob/HEAD/osu.Game.Rulesets.Taiko.Tests.iOS/Application.cs | ghcode:00160:9b41311e3e9e | mit | codeparrot/github-code | 9b41311e3e9ee02bb561e992dc10621fc5c0271ae0e5e3e663d3e80620d14ee8 | 0.75 | testing_debugging_repair_refactoring | 88 | false | 2026-07-17 |
#region License
// Copyright 2014 Ken Worst - R.C. Worst & Company 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
//
// ... | worstone/Americommerce4Net | Americommerce4Net_Tests/Clients/ClientOrderProc_TF.cs | https://github.com/worstone/Americommerce4Net/blob/HEAD/Americommerce4Net_Tests/Clients/ClientOrderProc_TF.cs | ghcode:00160:787f4259bad2 | apache-2.0 | codeparrot/github-code | 787f4259bad2d8914d6368518ac5af15c55120e0394067bd3d03945186e8ca67 | 0.7 | testing_debugging_repair_refactoring | 487 | false | 2026-07-17 |
/*
* Forge SDK
*
* The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
*
* OpenAPI spec version: 0.1.0
* Contact: forge.help@autodesk.com
* Ge... | Autodesk-Forge/forge-api-dotnet-client | src/Autodesk.Forge.Test/Model/ProjectsTests.cs | https://github.com/Autodesk-Forge/forge-api-dotnet-client/blob/HEAD/src/Autodesk.Forge.Test/Model/ProjectsTests.cs | ghcode:00160:306eef14135c | apache-2.0 | codeparrot/github-code | 306eef14135cc1c7864714e682dfa69aaf74597f05651ad00dad0077a5193cec | 0.85 | testing_debugging_repair_refactoring | 578 | false | 2026-07-17 |
using Atata;
using NUnit.Framework;
namespace AtataSampleApp.UITests
{
public class SignInTests : UITestFixture
{
[Test]
public void SignIn()
{
Login();
}
[Test]
public void Validation_Required()
{
Go.To<SignInPage>()
... | atata-framework/atata-sample-app-tests | test/AtataSampleApp.UITests/SignInTests.cs | https://github.com/atata-framework/atata-sample-app-tests/blob/HEAD/test/AtataSampleApp.UITests/SignInTests.cs | ghcode:00160:f99e25468bd9 | apache-2.0 | codeparrot/github-code | f99e25468bd97ee0fb32cae3f7363dd012e07d7adf30facbe7cef11d3141b3a9 | 0.75 | testing_debugging_repair_refactoring | 195 | false | 2026-07-17 |
// Python Tools for Visual Studio
// 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
//... | DEVSENSE/PTVS | Python/Product/Debugger/DkmDebugger/Proxies/StructProxy.cs | https://github.com/DEVSENSE/PTVS/blob/HEAD/Python/Product/Debugger/DkmDebugger/Proxies/StructProxy.cs | ghcode:00160:4882d9a7bd23 | apache-2.0 | codeparrot/github-code | 4882d9a7bd23dd8faeafa9cc7031c11d32bafebea7efca70f040e222f44606c9 | 0.85 | testing_debugging_repair_refactoring | 1,844 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NEvilES.DataStore.SQL;
namespace NEvilES.Tests
{
//public class WriteThruCacheTests
//{
// private readonly WriteThruCache cache;
// private readonly IWriteData dataWriter;
// private readonly User[] activeUser;
// p... | CRGCode/NEvilES | src/NEvilES.Tests/WriteThruCacheTests.cs | https://github.com/CRGCode/NEvilES/blob/HEAD/src/NEvilES.Tests/WriteThruCacheTests.cs | ghcode:00160:a3218777fe0e | apache-2.0 | codeparrot/github-code | a3218777fe0edb0803d7360c1431daadecaad286d5b2d03b8cf704ef04e4302a | 0.85 | testing_debugging_repair_refactoring | 1,104 | false | 2026-07-17 |
//-------------------------------------------------------------------------------
// <copyright file="DefaultTopicConventionTest.cs" company="Appccelerate">
// Copyright (c) 2008-2015
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the L... | appccelerate/mappingeventbroker | source/Appccelerate.MappingEventBroker.Facts/Conventions/DefaultTopicConventionTest.cs | https://github.com/appccelerate/mappingeventbroker/blob/HEAD/source/Appccelerate.MappingEventBroker.Facts/Conventions/DefaultTopicConventionTest.cs | ghcode:00160:7cf0a0a7767c | apache-2.0 | codeparrot/github-code | 7cf0a0a7767c99d0c90f6ed968de43f05422a3f4169e8dcf47774f0fa81d48ee | 0.7 | testing_debugging_repair_refactoring | 475 | false | 2026-07-17 |
/*
* Copyright (C) Alibaba Cloud Computing
* All rights reserved.
*
* 版权所有 (C)阿里云计算有限公司
*/
using System.Collections.Generic;
using System.Diagnostics;
namespace Aliyun.OpenServices.OpenStorageService
{
/// <summary>
/// 包含了在发送OSS GET请求时可以重载的返回请求头。
/// </summary>
public class Resp... | chenxihoho/FirstFrame | 007.FileIO/aliyun_dotnet_sdk_20150115/FileIO_ALIYUN/src/Domain/ResponseHeaderOverrides.cs | https://github.com/chenxihoho/FirstFrame/blob/HEAD/007.FileIO/aliyun_dotnet_sdk_20150115/FileIO_ALIYUN/src/Domain/ResponseHeaderOverrides.cs | ghcode:00160:317a240eb179 | apache-2.0 | codeparrot/github-code | 317a240eb179aba42391f7be8af7cf3a9446c7f01b4fc08960bf022767e0b9fd | 0.8 | testing_debugging_repair_refactoring | 579 | false | 2026-07-17 |
using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.Plugins.Unity.CSharp.Feature.Services.QuickFixes;
using NUnit.Framework;
namespace JetBrains.ReSharper.Plugins.Tests.Unity.CSharp.Intentions.QuickFixes
{
[TestUnity]
public class InvalidSignatureFixAvailabilityTests : QuickF... | JetBrains/resharper-unity | resharper/resharper-unity/test/src/Unity.Tests/Unity/CSharp/Intentions/QuickFixes/InvalidSignatureFixTests.cs | https://github.com/JetBrains/resharper-unity/blob/HEAD/resharper/resharper-unity/test/src/Unity.Tests/Unity/CSharp/Intentions/QuickFixes/InvalidSignatureFixTests.cs | ghcode:00160:e5ce4259a20d | apache-2.0 | codeparrot/github-code | e5ce4259a20d3acace8510a27430f7ec1949066c0c2bd8fef005eb5ff610022d | 0.85 | testing_debugging_repair_refactoring | 725 | false | 2026-07-17 |
using System;
using Xunit;
using Xunit.Abstractions;
using MinimalContainer.Tests.Utility;
namespace MinimalContainer.Tests.Constructor
{
public class ConstructorArgumentTests : BaseUnitTest
{
public class Class0 { }
private readonly Container Container;
public ConstructorArgumentTes... | dshe/InternalContainer.cs | MinimalContainer.Tests/Tests/Constructor/ConstructorArgumentsTests.cs | https://github.com/dshe/InternalContainer.cs/blob/HEAD/MinimalContainer.Tests/Tests/Constructor/ConstructorArgumentsTests.cs | ghcode:00160:51210a3815d0 | apache-2.0 | codeparrot/github-code | 51210a3815d0954e8efed1abcc216d65b4afaddb4dc0c0e3caffbecac97b101a | 0.85 | testing_debugging_repair_refactoring | 416 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using MVCBlog.Business.Commands;
using MVCBlog.Data;
using Xunit;
namespace MVCBlog.Business.Test.Commands;
public class AddOrUpdateBlogEntryCommandHandlerTest
{
private readonly EFUnitOfWork unitOfWork;
public AddOrUpdateBlogEntryCommandHandlerTest()
{
... | danielpalme/MVCBlog | src/MVCBlog.Business.Test/Commands/BlogEntry/AddOrUpdateBlogEntryCommandHandlerTest.cs | https://github.com/danielpalme/MVCBlog/blob/HEAD/src/MVCBlog.Business.Test/Commands/BlogEntry/AddOrUpdateBlogEntryCommandHandlerTest.cs | ghcode:00160:3733f0985c1c | apache-2.0 | codeparrot/github-code | 3733f0985c1c0f4097a8f1579f34043f63cc305123ee1b573ba704e18dabf4ef | 0.6 | testing_debugging_repair_refactoring | 414 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
namespace IFSSharedObjects.Models
{
public class IFS : Dictionary<Int32, IFSElement>
{
private String _name;
private Double _avgMu;
private Double _avgNu;
private Double _avgH;
private Double _avgDistanceMuNu;
private bool _isDirty;
public Double AvgMu... | ifsmetrics-lab/ifsmetrics | IFSSharedObjects/Models/IFS.cs | https://github.com/ifsmetrics-lab/ifsmetrics/blob/HEAD/IFSSharedObjects/Models/IFS.cs | ghcode:00160:d8ee35eada4d | apache-2.0 | codeparrot/github-code | d8ee35eada4d3e103cb73f9acba617edae1fa4d018aa4193f1cefa5f161ca497 | 0.6 | testing_debugging_repair_refactoring | 521 | false | 2026-07-17 |
//
// 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
//
// Unless r... | fearthecowboy/Swidtag_deprecated | Test/Support/Tests.cs | https://github.com/fearthecowboy/Swidtag_deprecated/blob/HEAD/Test/Support/Tests.cs | ghcode:00160:391f40b4859d | apache-2.0 | codeparrot/github-code | 391f40b4859d0a81ab32dcbc0151db9fc97ba9351525fa89ee7996a91e35436d | 0.85 | testing_debugging_repair_refactoring | 704 | 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.Linq;
using System.Reflection.Metadata;
using System.Reflection.PortableExecutable;
using System.Text;
using Microsoft.CodeAnalysis.CSharp.Symbo... | aelij/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenAsyncIteratorTests.cs | https://github.com/aelij/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenAsyncIteratorTests.cs | ghcode:00160:8bd47ba53437 | apache-2.0 | codeparrot/github-code | 8bd47ba534374ea7207b4b424deb3ec4bc85fef8e1b23d74f340cc4bb1ac9cf6 | 0.75 | testing_debugging_repair_refactoring | 67,836 | false | 2026-07-17 |
using Calculateur.Backend;
using System.Collections.Generic;
using Xunit;
namespace Calculateur.Tests
{
public class CharacterTest
{
readonly ITalentsManager talentsManager = new MockTalentManager();
[Fact]
public void CharacterSimpleConstructorTest()
{
string... | Jupotter/Terre-Natale-Calculateur | CalculateurTests/CharacterTest.cs | https://github.com/Jupotter/Terre-Natale-Calculateur/blob/HEAD/CalculateurTests/CharacterTest.cs | ghcode:00160:bc4f7159dfc8 | apache-2.0 | codeparrot/github-code | bc4f7159dfc8fe4a48db6ed5b76b223a9dac8b99ec394de2812f58e058151cef | 0.75 | testing_debugging_repair_refactoring | 338 | 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... | Jay-Jay-D/LeanSTP | Tests/Algorithm/Framework/Alphas/CommonAlphaModelTests.cs | https://github.com/Jay-Jay-D/LeanSTP/blob/HEAD/Tests/Algorithm/Framework/Alphas/CommonAlphaModelTests.cs | ghcode:00160:3ff011181316 | apache-2.0 | codeparrot/github-code | 3ff011181316d567c95acc2f2b5a75157f2ef51b106ebd2fe266410a4d076e8b | 0.85 | testing_debugging_repair_refactoring | 2,691 | false | 2026-07-17 |
// Copyright (c) morrisjdev. All rights reserved.
// Original copyright (c) .NET Foundation. All rights reserved.
// Modified version by morrisjdev
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Runtime.CompilerServices;
// for Moq
[assembl... | morrisjdev/FileContextCore | FileContextCore/Properties/InternalsVisibleTo.cs | https://github.com/morrisjdev/FileContextCore/blob/HEAD/FileContextCore/Properties/InternalsVisibleTo.cs | ghcode:00160:6101bb8e5773 | apache-2.0 | codeparrot/github-code | 6101bb8e57738195d40dbf22471d7c3a3f6b044bfa001f01e418b77cda9af1c0 | 0.7 | testing_debugging_repair_refactoring | 375 | false | 2026-07-17 |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// 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 ... | alaendle/rhino-mocks | Rhino.Mocks.Tests/FieldsProblem/UsingEvents.cs | https://github.com/alaendle/rhino-mocks/blob/HEAD/Rhino.Mocks.Tests/FieldsProblem/UsingEvents.cs | ghcode:00160:bef783d64328 | bsd-3-clause | codeparrot/github-code | bef783d6432860b165b2b4a86becefcfbcd51d4fc98695dd729af27ae304d771 | 0.85 | testing_debugging_repair_refactoring | 2,101 | false | 2026-07-17 |
namespace Sitecore.FakeDb.Tests.Data.Engines
{
using System;
using System.IO;
using FluentAssertions;
using Ploeh.AutoFixture.Xunit2;
using Sitecore.Data;
using Sitecore.Data.Items;
using Sitecore.FakeDb.Data.Engines;
using Sitecore.Globalization;
using Xunit;
public class DataStorageTest
{
... | pveller/Sitecore.FakeDb | test/Sitecore.FakeDb.Tests/Data/Engines/DataStorageTest.cs | https://github.com/pveller/Sitecore.FakeDb/blob/HEAD/test/Sitecore.FakeDb.Tests/Data/Engines/DataStorageTest.cs | ghcode:00160:b299b41f4fe5 | mit | codeparrot/github-code | b299b41f4fe5c44fa94ae99905047adc292762a851dc37484f23e81f7277a8fe | 0.7 | testing_debugging_repair_refactoring | 2,157 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit... | jmarolf/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/AndKeywordRecommenderTests.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/AndKeywordRecommenderTests.cs | ghcode:00160:6b26b5d23624 | mit | codeparrot/github-code | 6b26b5d236243310cc1f697bd78bd5d6837043c5be49ad8d50a9e798212c2230 | 0.85 | testing_debugging_repair_refactoring | 3,249 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ReTester.Thats;
namespace ReTester.Whens
{
/// <summary>
/// Handles the testing of something that should throw an exception.
/// </summary>
internal class WhenThrows<TException... | thinkingmedia/ReTester | ReTester/Whens/WhenThrows.cs | https://github.com/thinkingmedia/ReTester/blob/HEAD/ReTester/Whens/WhenThrows.cs | ghcode:00160:95df149a9610 | mit | codeparrot/github-code | 95df149a96102616ceaf5685cc89546026a59c04b46b4429bb171baea87e1567 | 0.7 | testing_debugging_repair_refactoring | 396 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using JetBrains.Annotations;
using BenchmarkDotNet.Extensions;
namespace BenchmarkDotNet.Environments
{
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")]
public class OsBrandStringHelper
{
// S... | ig-sinicyn/BenchmarkDotNet | src/BenchmarkDotNet/Environments/OsBrandStringHelper.cs | https://github.com/ig-sinicyn/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Environments/OsBrandStringHelper.cs | ghcode:00160:d6fa774f67f6 | mit | codeparrot/github-code | d6fa774f67f6c1c786e96cb92196cbef24f4f637beb134b8cccaf44c3ed9a438 | 0.85 | testing_debugging_repair_refactoring | 3,384 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2016 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | JohanO/nunit | src/NUnitConsole/nunit3-console.tests/TestEventHandlerTests.cs | https://github.com/JohanO/nunit/blob/HEAD/src/NUnitConsole/nunit3-console.tests/TestEventHandlerTests.cs | ghcode:00160:e99ac4cfec04 | mit | codeparrot/github-code | e99ac4cfec041333c32f9548952b40654e26264eb1ec239cbca0cf0bfdd6d3de | 0.85 | testing_debugging_repair_refactoring | 937 | 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.apac... | OctopusDeploy/azure-sdk-tools | WindowsAzurePowershell/src/Management.ServiceManagement.Test/UnitTests/Cmdlets/HostedServices/MoveAzureDeploymentCommandTests.cs | https://github.com/OctopusDeploy/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.ServiceManagement.Test/UnitTests/Cmdlets/HostedServices/MoveAzureDeploymentCommandTests.cs | ghcode:00160:b92ef93b808f | apache-2.0 | codeparrot/github-code | b92ef93b808ffc479d3ed1a8524bdb6ded19836d654e44c067f359d61cdec79d | 0.95 | testing_debugging_repair_refactoring | 1,594 | 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.Diagnostics;
using System.Reflection.Metadata;
using Microsoft.CodeAnalysis.CodeGen;
using Mic... | weltkante/roslyn | src/Compilers/CSharp/Portable/CodeGen/EmitExpression.cs | https://github.com/weltkante/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/CodeGen/EmitExpression.cs | ghcode:00160:1edab3bdc9b7 | apache-2.0 | codeparrot/github-code | 1edab3bdc9b76f69f6e0ee2a6958698e6d8c8dc20820b398b4fa931a899b4d0d | 0.72 | testing_debugging_repair_refactoring | 23,535 | 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.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Thr... | DustinCampbell/roslyn | src/Tools/Source/RunTests/Program.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/Tools/Source/RunTests/Program.cs | ghcode:00160:4a5a717363ca | apache-2.0 | codeparrot/github-code | 4a5a717363caa7422e6b013af00e96c1cbd27908c2ba6b6c7142791f1e378329 | 0.85 | testing_debugging_repair_refactoring | 3,024 | false | 2026-07-17 |
// Copyright 2018 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | evildour/google-cloud-dotnet | apis/Google.Cloud.Diagnostics.Common/Google.Cloud.Diagnostics.Common.IntegrationTests/ErrorReporting/ErrorEventEntryVerifiers.cs | https://github.com/evildour/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.Diagnostics.Common/Google.Cloud.Diagnostics.Common.IntegrationTests/ErrorReporting/ErrorEventEntryVerifiers.cs | ghcode:00160:c5899dc563ae | apache-2.0 | codeparrot/github-code | c5899dc563ae1faa041b819fe315f199f8f75c61662c15771f7a81145cc85756 | 0.85 | testing_debugging_repair_refactoring | 565 | false | 2026-07-17 |
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for Additional information regarding copyright ownership.
The ASF licenses this file to Y... | tonyqus/npoi | testcases/main/SS/Formula/Eval/TestMinusZeroResult.cs | https://github.com/tonyqus/npoi/blob/HEAD/testcases/main/SS/Formula/Eval/TestMinusZeroResult.cs | ghcode:00160:fe08fdad3d74 | apache-2.0 | codeparrot/github-code | fe08fdad3d7422ab273ad71cb804de12a5a7bf7488d288925b0ae477840ee573 | 0.85 | testing_debugging_repair_refactoring | 1,739 | false | 2026-07-17 |
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | chrisdunelm/google-cloud-dotnet | apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.Snippets/StorageSnippetFixture.cs | https://github.com/chrisdunelm/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.Snippets/StorageSnippetFixture.cs | ghcode:00160:9539955e152a | apache-2.0 | codeparrot/github-code | 9539955e152af32a1315f4a5e595f3cbf5ce07c21d510ac9a2910c5d4b83459d | 0.85 | testing_debugging_repair_refactoring | 1,063 | false | 2026-07-17 |
#region License, Terms and Author(s)
//
// ELMAH - Error Logging Modules and Handlers for ASP.NET
// Copyright (c) 2004-9 Atif Aziz. All rights reserved.
//
// Author(s):
//
// Atif Aziz, http://www.raboof.com
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this ... | mikefrey/ELMAH | src/Elmah/SimpleServiceProviderFactory.cs | https://github.com/mikefrey/ELMAH/blob/HEAD/src/Elmah/SimpleServiceProviderFactory.cs | ghcode:00160:ec22295d86bc | apache-2.0 | codeparrot/github-code | ec22295d86bce887579d36a9f616cd3f1092a7c2776ee324ab3d1a8ba1ccd2b0 | 0.7 | testing_debugging_repair_refactoring | 511 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Riganti.Selenium.Core;
using Riganti.Selenium.Core.Api;
using Riganti.Selenium.Core.Exceptions;
namespace SeleniumCore.Samples.Tests
{
[TestClass]
public class TitleTestsNewApi : SeleniumTest
{
[TestMethod]
public void CheckIfTitleE... | riganti/selenium-utils | src/Tests/SeleniumCoreSamples.Tests/TitleTestsNewApi.cs | https://github.com/riganti/selenium-utils/blob/HEAD/src/Tests/SeleniumCoreSamples.Tests/TitleTestsNewApi.cs | ghcode:00160:b930fbc171da | apache-2.0 | codeparrot/github-code | b930fbc171da4222e98f4d178707d1ad6a404fe9cd44467fcb375ff329cec083 | 0.85 | testing_debugging_repair_refactoring | 394 | false | 2026-07-17 |
using System;
using System.Text;
using NUnit.Framework;
using Org.BouncyCastle.Asn1;
using Org.BouncyCastle.Asn1.TeleTrust;
using Org.BouncyCastle.Asn1.X509;
using Org.BouncyCastle.Asn1.X9;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Generators;
using Org.BouncyCastle.Crypto.Parameters;
u... | GaloisInc/hacrypto | src/C#/BouncyCastle/BouncyCastle-1.7/crypto/test/src/test/DSATest.cs | https://github.com/GaloisInc/hacrypto/blob/HEAD/src/C#/BouncyCastle/BouncyCastle-1.7/crypto/test/src/test/DSATest.cs | ghcode:00160:f52498adfe49 | bsd-3-clause | codeparrot/github-code | f52498adfe4998140e27235809cd2501486d37ab9930d82a08f398c65dd9892a | 0.95 | testing_debugging_repair_refactoring | 8,297 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2010-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/tests/Internal/Results/TestResultInconclusiveTests.cs | https://github.com/jadarnel27/nunit/blob/HEAD/src/NUnitFramework/tests/Internal/Results/TestResultInconclusiveTests.cs | ghcode:00160:b04c47a2ce22 | mit | codeparrot/github-code | b04c47a2ce223efcf9e1ef08afb760117f4c2c66013bcc4d5f66b405cb89933e | 0.95 | testing_debugging_repair_refactoring | 984 | false | 2026-07-17 |
using FluentAssertions;
using NUnit.Framework;
namespace NSpec.Tests.WhenRunningSpecs
{
public class describe_levels_inheritance : when_running_specs
{
class parent_context : nspec { }
class child_context : parent_context
{
void it_is()
{
Assert... | BennieCopeland/NSpec | sln/test/NSpec.Tests/WhenRunningSpecs/describe_levels_inheritance.cs | https://github.com/BennieCopeland/NSpec/blob/HEAD/sln/test/NSpec.Tests/WhenRunningSpecs/describe_levels_inheritance.cs | ghcode:00160:2da8542e0eeb | mit | codeparrot/github-code | 2da8542e0eeb77f6bbf504b4b6bd08e3cc4fd099e64f24bfe800b1b743ea11d3 | 0.85 | testing_debugging_repair_refactoring | 167 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Moq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Configuration.UmbracoSettings;
using Umbraco.Core.Events;
using Umbraco.Core.IO;
using Umbraco.Core.Logging;
using Um... | sargin48/Umbraco-CMS | src/Umbraco.Tests/Services/ContentServiceTests.cs | https://github.com/sargin48/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Services/ContentServiceTests.cs | ghcode:00160:c41b6b6aa064 | mit | codeparrot/github-code | c41b6b6aa064cdb5cdbfb79e946c6c81d56b1d8d481b58a413788a1083c6df9c | 0.72 | testing_debugging_repair_refactoring | 13,859 | false | 2026-07-17 |
// Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | chrisdunelm/google-cloud-dotnet | apis/Google.Cloud.Diagnostics.AspNetCore/Google.Cloud.Diagnostics.AspNetCore.Tests/Trace/CloudTraceExtensionTest.cs | https://github.com/chrisdunelm/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.Diagnostics.AspNetCore/Google.Cloud.Diagnostics.AspNetCore.Tests/Trace/CloudTraceExtensionTest.cs | ghcode:00160:a6fc751a42f4 | apache-2.0 | codeparrot/github-code | a6fc751a42f4f45adf30beeda22b2ef4eb7e485cad60f47f67fe016356f7701d | 0.85 | testing_debugging_repair_refactoring | 858 | 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 Microsoft.CodeAnalysis.Text;
using Microsoft.VisualStudio.Debugger.Contracts.EditAn... | physhi/roslyn | src/Features/Core/Portable/EditAndContinue/ActiveStatement.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Features/Core/Portable/EditAndContinue/ActiveStatement.cs | ghcode:00160:818639013df7 | apache-2.0 | codeparrot/github-code | 818639013df7f25c47f130f668e4a566aa82edce59bbb009f5389c538f53f7fe | 0.85 | testing_debugging_repair_refactoring | 609 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Cake.Common.Tests.Fixtures;
using Cake.Common.Tests.Fixtures.Tools;
using Cake.Common.Tools.WiX;
using Cake.Core;
using Cake.Core.IO;
using NSubstitute;
using Xunit;
namespace Cake.Common.Tests.Unit.Tools.WiX
{
public sealed cla... | os-alan/cake | src/Cake.Common.Tests/Unit/Tools/WiX/CandleRunnerTests.cs | https://github.com/os-alan/cake/blob/HEAD/src/Cake.Common.Tests/Unit/Tools/WiX/CandleRunnerTests.cs | ghcode:00160:6f614e3a7704 | mit | codeparrot/github-code | 6f614e3a77047ba8a013a2877d7b5180fcc464eb3fc7422a52e87d9d5ad9af11 | 0.85 | testing_debugging_repair_refactoring | 2,647 | false | 2026-07-17 |
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using NPoco;
using NUnit.Framework;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Models.Entities;
using Umbraco.Cms.Cor... | marcemarc/Umbraco-CMS | tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MemberServiceTests.cs | https://github.com/marcemarc/Umbraco-CMS/blob/HEAD/tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MemberServiceTests.cs | ghcode:00160:c5ccc90d6ddf | mit | codeparrot/github-code | c5ccc90d6ddfa7c1a2aff9cb4b045312b406ae22e69b7233d4d2a0a62c495df7 | 0.72 | testing_debugging_repair_refactoring | 12,314 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Net;
using System.Threading;
using System.Threading.... | CyrusNajmabadi/roslyn | src/EditorFeatures/DiagnosticsTestUtilities/CodeActions/CSharpCodeFixVerifier`2+Test.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/EditorFeatures/DiagnosticsTestUtilities/CodeActions/CSharpCodeFixVerifier`2+Test.cs | ghcode:00160:3554f856ed44 | mit | codeparrot/github-code | 3554f856ed44ed3547f27c28506b5b1a436756fcad9a3f2774b9c8787c8b0cd5 | 0.85 | testing_debugging_repair_refactoring | 1,151 | 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.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.IntegrationTest.Utilities;
using Microsoft.VisualStudio.Inte... | tmeschter/roslyn | src/VisualStudio/IntegrationTest/IntegrationTests/AbstractIntegrationTest.cs | https://github.com/tmeschter/roslyn/blob/HEAD/src/VisualStudio/IntegrationTest/IntegrationTests/AbstractIntegrationTest.cs | ghcode:00160:3513881861b6 | apache-2.0 | codeparrot/github-code | 3513881861b68aa330534e4ca78593894c4c2471d2f12e16f5646198fd1996ac | 0.85 | testing_debugging_repair_refactoring | 703 | 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.
namespace DotNetty.Tests.End2End
{
using System;
using System.Diagnostics.Contracts;
using DotNetty.Transport.Channels;
class ExceptionCatchHandler : C... | seedyoon/DotNetty | test/DotNetty.Tests.End2End/ExceptionCatchHandler.cs | https://github.com/seedyoon/DotNetty/blob/HEAD/test/DotNetty.Tests.End2End/ExceptionCatchHandler.cs | ghcode:00160:eab09c99d78c | mit | codeparrot/github-code | eab09c99d78c90924072abe2ce967956367e1b1ab7355ac2ee696925f8b98b6f | 0.75 | testing_debugging_repair_refactoring | 145 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using NUnit.Framework;
namespace ReferenceTests.Language
{
[TestFixture]
public class FileRedirectionTests : ReferenceTestBase
{
private string _tempFileName;
private string GenerateTempFileName(string fileName = "outputfile.txt")
... | mrward/Pash | Source/ReferenceTests/Language/FileRedirectionTests.cs | https://github.com/mrward/Pash/blob/HEAD/Source/ReferenceTests/Language/FileRedirectionTests.cs | ghcode:00160:c2275d511859 | bsd-3-clause | codeparrot/github-code | c2275d511859a6f40488dcf69a4770490ff074e9893408bb279d9ea972c86487 | 0.85 | testing_debugging_repair_refactoring | 1,168 | false | 2026-07-17 |
using System;
using Microsoft.Spark.CSharp.Network;
using NUnit.Framework;
namespace AdapterTest
{
[TestFixture]
public class ByteBufChunkTest
{
private ByteBufPool managedBufPool;
private ByteBufPool unsafeBufPool;
[OneTimeSetUp]
public void CreatePooledBuffer()
{... | hebinhuang/Mobius | csharp/AdapterTest/ByteBufChunkTest.cs | https://github.com/hebinhuang/Mobius/blob/HEAD/csharp/AdapterTest/ByteBufChunkTest.cs | ghcode:00160:79bc3514395f | mit | codeparrot/github-code | 79bc3514395f0377357d5e92e42c1697ab104c016e5d03d1093413e7e942a325 | 0.7 | testing_debugging_repair_refactoring | 718 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Cake.Common.Tests.Fixtures.Tools.DotNetCore.NuGet.Delete;
using Cake.Common.Tools.DotNetCore.NuGet.Delete;
us... | phenixdotnet/cake | src/Cake.Common.Tests/Unit/Tools/DotNetCore/NuGet/Delete/DotNetCoreDeleterTests.cs | https://github.com/phenixdotnet/cake/blob/HEAD/src/Cake.Common.Tests/Unit/Tools/DotNetCore/NuGet/Delete/DotNetCoreDeleterTests.cs | ghcode:00160:ef788dbade3b | mit | codeparrot/github-code | ef788dbade3be77212ceb75d939f0814de66e075636fc40baded45362e91d11e | 0.85 | testing_debugging_repair_refactoring | 877 | false | 2026-07-17 |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | ndykman/CodeContracts | Foxtrot/Tests/Sources/InheritedInterfaceImplementationGeneric.cs | https://github.com/ndykman/CodeContracts/blob/HEAD/Foxtrot/Tests/Sources/InheritedInterfaceImplementationGeneric.cs | ghcode:00160:c23c37618189 | mit | codeparrot/github-code | c23c376181890a62ee0710d24869cbe7dcf26f8ac8434a3972500c17746477ee | 0.95 | testing_debugging_repair_refactoring | 482 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis
{
/// <summary>
//... | paladique/roslyn | src/Compilers/Core/Portable/ReferenceManager/ModuleReferences.cs | https://github.com/paladique/roslyn/blob/HEAD/src/Compilers/Core/Portable/ReferenceManager/ModuleReferences.cs | ghcode:00160:e01a96df82e4 | apache-2.0 | codeparrot/github-code | e01a96df82e47efbb1613e1844122669264b2cc8ca70d6a973aae54232cfb026 | 0.85 | testing_debugging_repair_refactoring | 405 | 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.Threading.Tasks;
namespace System.Xml
{
internal partial class ReadCont... | iamjasonp/corefx | src/System.Xml.ReaderWriter/src/System/Xml/Core/ReadContentAsBinaryHelperAsync.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Xml.ReaderWriter/src/System/Xml/Core/ReadContentAsBinaryHelperAsync.cs | ghcode:00160:31fbc6a81ef3 | mit | codeparrot/github-code | 31fbc6a81ef365ad5c8c3581554aa45868fa82b4d6e7388ab184d8e5fb5c2655 | 0.95 | testing_debugging_repair_refactoring | 2,493 | false | 2026-07-17 |
using System;
using System.Linq;
using NuGet.Runtime;
using NuGet.Test.Mocks;
using Xunit;
namespace NuGet.Test
{
public class BindingRedirectResolverTest
{
[Fact]
public void GetBindingRedirectsTest()
{
// A, B, C2, G
// A -> C1
// ... | mrward/NuGet.V2 | test/Core.Test/BindingRedirectResolverTest.cs | https://github.com/mrward/NuGet.V2/blob/HEAD/test/Core.Test/BindingRedirectResolverTest.cs | ghcode:00160:d2c026aacda9 | apache-2.0 | codeparrot/github-code | d2c026aacda9fcfb87999d3b78267973bf63c1d497a08cbadf31403a6987bfd0 | 0.7 | testing_debugging_repair_refactoring | 733 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Dyna... | DnlHarvey/corefx | src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/ControlFlowInstructions.cs | https://github.com/DnlHarvey/corefx/blob/HEAD/src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/ControlFlowInstructions.cs | ghcode:00160:38373ac28249 | mit | codeparrot/github-code | 38373ac28249d5ee57c17e0b73fbbd113746fa9ca5c280acdb5172533908902a | 0.95 | testing_debugging_repair_refactoring | 6,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 System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace Microsoft.CSharp.RuntimeB... | BrennanConroy/corefx | src/Microsoft.CSharp/tests/EnumArithmeticTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/Microsoft.CSharp/tests/EnumArithmeticTests.cs | ghcode:00160:8cfe1b27d439 | mit | codeparrot/github-code | 8cfe1b27d439ac604844dbcd46a5011096100ddd96647b9df9d4b8c7d4dae511 | 0.95 | testing_debugging_repair_refactoring | 8,603 | 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.Diagnostics;
using System.Security.Cryptography;
namespace Internal.Cryptography
{
/... | BrennanConroy/corefx | src/Common/src/Internal/Cryptography/UniversalCryptoDecryptor.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/Common/src/Internal/Cryptography/UniversalCryptoDecryptor.cs | ghcode:00160:2defa680a02c | mit | codeparrot/github-code | 2defa680a02c4a1c5851da7683b1e6b06c58a421f4cf1d533804a1e7ae6266d0 | 0.95 | testing_debugging_repair_refactoring | 1,969 | 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.Runtime.CompilerServices;
using Xunit;
namespace System.Runtime.CompilerServices.Tests
{... | nbarbettini/corefx | src/System.Runtime/tests/System/Runtime/CompilerServices/RuntimeHelpersTests.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Runtime/tests/System/Runtime/CompilerServices/RuntimeHelpersTests.cs | ghcode:00160:b7c086c003d6 | mit | codeparrot/github-code | b7c086c003d62bb0c2ddd5938c558ee966851e252783757aa87d68c1d772a35c | 0.95 | testing_debugging_repair_refactoring | 944 | 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.Xml;
using OLEDB.Test.ModuleCore;
namespace XmlConvertTests
{
internal class XmlEmbeddedNullCharConvertTests1 : XmlEmbeddedNullCharConv... | fffej/corefx | src/System.Xml.ReaderWriter/tests/XmlConvert/XmlEmbeddedNullCharConvertTests1.cs | https://github.com/fffej/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/XmlConvert/XmlEmbeddedNullCharConvertTests1.cs | ghcode:00160:d8c54dff4893 | mit | codeparrot/github-code | d8c54dff4893848b6f725d5a24206cb035ac10337d2081030e1346163b5b9326 | 0.85 | testing_debugging_repair_refactoring | 276 | 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.Reflection;
// Comments
[assembly:AssemblyDescriptionAttribute("Have you played a Contoso amusement device today?")]
// CompanyName
[assembly:AssemblyComp... | vs-team/corefx | src/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.TestAssembly/Assembly1.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.TestAssembly/Assembly1.cs | ghcode:00160:fb9cfc313064 | mit | codeparrot/github-code | fb9cfc31306425b84f1b528f55b923a491382245cf5089f3c3aed49f3dea843d | 0.95 | testing_debugging_repair_refactoring | 164 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.IO.Enumeration;
using System.Linq;
using Xunit;
namespace System.IO.Tests.Enumeration
{
public cl... | BrennanConroy/corefx | src/System.IO.FileSystem/tests/Enumeration/SkipAttributeTests.netcoreapp.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.IO.FileSystem/tests/Enumeration/SkipAttributeTests.netcoreapp.cs | ghcode:00160:e4b94d1a9ee9 | mit | codeparrot/github-code | e4b94d1a9ee972da7db1081f9bf85fee9a3165e0e1b2cf0dda8e392658e0e4d0 | 0.95 | testing_debugging_repair_refactoring | 878 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.