text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using System.Diagnostics.CodeAnalysis;
namespace TInjector.Reflection.Tests.Unit
{
[ExcludeFromCodeCoverage]
public class Service3<T1, T2> : IService3<T2, T1>
{
public T1 Value1 { get; }
public T2 Value2 { get; }
}
}
| bungeemonkee/TInjector | TInjector.Reflection.Tests.Unit/Service3.cs | https://github.com/bungeemonkee/TInjector/blob/HEAD/TInjector.Reflection.Tests.Unit/Service3.cs | ghcode:00006:2855748cee1a | mit | codeparrot/github-code | 2855748cee1acb141d4bc76b9b3da6b37c6c6af5494b57ac47212adcc8fcd996 | 0.75 | testing_debugging_repair_refactoring | 65 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Fr... | naoey/osu | osu.Game.Tests/Visual/TestCaseStoryboard.cs | https://github.com/naoey/osu/blob/HEAD/osu.Game.Tests/Visual/TestCaseStoryboard.cs | ghcode:00006:21d37d81f004 | mit | codeparrot/github-code | 21d37d81f004e1ec9af28a823a2d445d2be5f552014fe7fa5765fc0fdd014025 | 0.75 | testing_debugging_repair_refactoring | 505 | false | 2026-07-17 |
using System.IO;
using System.Text;
using FluentAssertions;
using Xunit;
#pragma warning disable CS0436 // Type conflicts with imported type
namespace Light.Serialization.Json.Tests.DeserializationTests
{
public sealed class BinaryJsonTests : BaseJsonDeserializerTest
{
[Theory(DisplayName = "The dese... | feO2x/Light.Serialization | Code/Light.Serialization.Json.Tests/DeserializationTests/BinaryJsonTests.cs | https://github.com/feO2x/Light.Serialization/blob/HEAD/Code/Light.Serialization.Json.Tests/DeserializationTests/BinaryJsonTests.cs | ghcode:00006:a9e8a2b8ee0f | mit | codeparrot/github-code | a9e8a2b8ee0f4836a8c090150bef402563d6f56670146c67c93cb3ac961778f7 | 0.75 | testing_debugging_repair_refactoring | 256 | false | 2026-07-17 |
using System.Threading.Tasks;
using NSubstitute;
using NUnit.Framework;
using ygo.core.Models.Db;
using ygo.domain.Repository;
using ygo.domain.Services;
using ygo.tests.core;
namespace ygo.domain.unit.tests.ServiceTests.BanlistServiceTests
{
[TestFixture]
[Category(TestType.Unit)]
public class GetBanlist... | fablecode/ygo-api | tests/unit/ygo.domain.unit.tests/ServiceTests/BanlistServiceTests/GetBanlistByIdTests.cs | https://github.com/fablecode/ygo-api/blob/HEAD/tests/unit/ygo.domain.unit.tests/ServiceTests/BanlistServiceTests/GetBanlistByIdTests.cs | ghcode:00006:e0d8c6bfb2aa | mit | codeparrot/github-code | e0d8c6bfb2aa31dc1e00a797f24abccd0c04ffd1f1c7cbbc59717f158a7b60c9 | 0.85 | testing_debugging_repair_refactoring | 247 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using Disqus.NET.Requests;
using NUnit.Framework;
namespace Disqus.NET.Tests
{
[TestFixture]
public class DisqusApplicationApiTests : DisqusTestsInitializer
{
[Test]
public async Task ListUsageAsync_Test()
{
/* arrange */... | akaSybe/Disqus.NET | src/Disqus.NET.Tests/DisqusApplicationApiTests.cs | https://github.com/akaSybe/Disqus.NET/blob/HEAD/src/Disqus.NET.Tests/DisqusApplicationApiTests.cs | ghcode:00006:8ff527d16840 | mit | codeparrot/github-code | 8ff527d16840cafc81ca661ac83c89b7b8112cf5c33e6ae7ef96f98c82019181 | 0.85 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MaybeTest.cs" company="Dani Michel">
// Dani Michel 2013
// </copyright>
// -------------------------------------------------------------------------------------------------... | thedmi/MayBee | Sources/MayBeeTest/MayBee/MaybeTest.cs | https://github.com/thedmi/MayBee/blob/HEAD/Sources/MayBeeTest/MayBee/MaybeTest.cs | ghcode:00006:a659975e47e1 | mit | codeparrot/github-code | a659975e47e13b8836355e78f5f6ff587e2aca447332b5297215db0a72c08f8a | 0.7 | testing_debugging_repair_refactoring | 1,367 | false | 2026-07-17 |
namespace EnergyTrading.MDM.Test
{
using System.Configuration;
using System.Linq;
using System.Net;
using System.Runtime.Serialization;
using Microsoft.Http;
using NUnit.Framework;
using EnergyTrading.MDM.Contracts.Sample; using EnergyTrading.Mdm.Contracts;
using Person = EnergyTradin... | RWE-Nexus/EnergyTrading-MDM-Sample | Code/Service/MDM.IntegrationTest.Sample/Person/get_mapping_for_entity/successful.cs | https://github.com/RWE-Nexus/EnergyTrading-MDM-Sample/blob/HEAD/Code/Service/MDM.IntegrationTest.Sample/Person/get_mapping_for_entity/successful.cs | ghcode:00006:6a16ef798ad6 | mit | codeparrot/github-code | 6a16ef798ad6e5a4a5cbb1637ffcdfe8b2c37a8bf7229bb57763da56cf34ab59 | 0.6 | testing_debugging_repair_refactoring | 419 | false | 2026-07-17 |
namespace MVCHoldem.UnitTests.Web.Controllers.PostControllerTests
{
using System.Collections.Generic;
using System.Linq;
using Moq;
using MVCHoldem.Data.Models;
using MVCHoldem.Services.Contracts;
using MVCHoldem.Web.Controllers;
using MVCHoldem.Web.ViewModels.Post;
using NUnit.Framewor... | gchankov/MVCHoldem | MVCHoldem/MVCHoldem.UnitTests/Web/Controllers/PostControllerTests/AllPostsWithoutDeleted_Should.cs | https://github.com/gchankov/MVCHoldem/blob/HEAD/MVCHoldem/MVCHoldem.UnitTests/Web/Controllers/PostControllerTests/AllPostsWithoutDeleted_Should.cs | ghcode:00006:bb9eac1bff4c | mit | codeparrot/github-code | bb9eac1bff4cd2526a3c065de4f165b1da172ed428e7d5698dca5673b1cb329e | 0.7 | testing_debugging_repair_refactoring | 356 | false | 2026-07-17 |
using Dewey.Build.Models;
using Dewey.Manifest.Messages;
using Dewey.Manifest.Models;
using Ark3.Event;
using Ark3.Command;
using Dewey.Test;
using Moq;
using Ploeh.AutoFixture;
using System.Linq;
using Xunit;
namespace Dewey.Build.Test
{
public class BuildCommandHandlerTest
{
Mock<ICommandProcessor> ... | pburls/dewey | Dewey.Build.Test/BuildCommandHandlerTest.cs | https://github.com/pburls/dewey/blob/HEAD/Dewey.Build.Test/BuildCommandHandlerTest.cs | ghcode:00006:626e21333797 | mit | codeparrot/github-code | 626e2133379747d5faf9cd27b5717bb9b06275db3da42f8ca84593df43b5904c | 0.7 | testing_debugging_repair_refactoring | 942 | false | 2026-07-17 |
using System;
using System.Threading;
using Framework;
using HeartBeat;
using Microsoft.Kinect;
using NUnit.Framework;
namespace HeartBeatTests
{
public class HeartBeatCore_UnitTests
{
[Test]
public void ConstructorTest_Null()
{
var heartBeat = new HeartBeatCore(null, Kine... | KinectBerlinMeetup/KinectTestFramework | src/HeartBeat/HeartBeat/HeartBeatTests/HeartBeatCore_UnitTests.cs | https://github.com/KinectBerlinMeetup/KinectTestFramework/blob/HEAD/src/HeartBeat/HeartBeat/HeartBeatTests/HeartBeatCore_UnitTests.cs | ghcode:00006:22e135b387e5 | mit | codeparrot/github-code | 22e135b387e5004f8d7e9c771404dfccfaa2b6261a201507f39fb1ee2a2a5753 | 0.75 | testing_debugging_repair_refactoring | 1,134 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RefactoringEssentials.Tests.VB.Converter
{
[TestFixture]
public class SpecialConversionTests : ConverterTestBase
{
[Test]
public void TestSim... | cstick/RefactoringEssentials | Tests/VB/Converter/SpecialConversionTests.cs | https://github.com/cstick/RefactoringEssentials/blob/HEAD/Tests/VB/Converter/SpecialConversionTests.cs | ghcode:00006:430bb54154e5 | mit | codeparrot/github-code | 430bb54154e5fab6a9d09a14d9dad448795c5a34ce370c4dce3854e709b83b74 | 0.75 | testing_debugging_repair_refactoring | 319 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cocos2D;
namespace tests
{
public class ParticlePerformTest1 : ParticleMainScene
{
public override string title()
{
//char str[20] = {0};
string str;
//sprintf(str, "A... | mono/cocos2d-xna | tests/tests/classes/tests/PerformanceTest/PerformanceParticleTest/ParticlePerformTest1.cs | https://github.com/mono/cocos2d-xna/blob/HEAD/tests/tests/classes/tests/PerformanceTest/PerformanceParticleTest/ParticlePerformTest1.cs | ghcode:00006:31361a2d5c35 | mit | codeparrot/github-code | 31361a2d5c3501788c741ae76bfde85f30f9cf46cf1dc7333486e8c1967ecd72 | 0.95 | testing_debugging_repair_refactoring | 661 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Wyam.Abstractions;
namespace Wyam.Core.Tests
{
[TestFixture]
public class DocumentCollectionExtensionsFixture
{
[Test]
public void ToLookupOfIntR... | tareq-s/Wyam | Wyam.Core.Tests/DocumentCollectionExtensionsFixture.cs | https://github.com/tareq-s/Wyam/blob/HEAD/Wyam.Core.Tests/DocumentCollectionExtensionsFixture.cs | ghcode:00006:d4a81db60da2 | mit | codeparrot/github-code | d4a81db60da2d250abb341fc54652d68c76df02bf5957ddcc40d27a672aa08c1 | 0.7 | testing_debugging_repair_refactoring | 635 | false | 2026-07-17 |
using Xunit;
namespace ParticleSwarmOptimizer.Tests.Integration
{
public class SimpleSwarmOptimizerTests
{
private OptimizationResult Result { get; set; }
private SimpleSwarmOptimizer Sut { get; set; }
private OptimizerSettings OptimiterSettings { get; set; }
private Function F... | sqeezy/ParticleSwarmOptimizer | test/ParticleSwarmOptimizer.Tests.Integration/SimpleSwarmOptimizerTests.cs | https://github.com/sqeezy/ParticleSwarmOptimizer/blob/HEAD/test/ParticleSwarmOptimizer.Tests.Integration/SimpleSwarmOptimizerTests.cs | ghcode:00006:3aa9d92f07ea | mit | codeparrot/github-code | 3aa9d92f07eabc7545749a7a812910a3d4c82d801fba4cd3e544ff0d7c15e202 | 0.75 | testing_debugging_repair_refactoring | 381 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
namespace Tests
{
using PostcodeParser.UK;
using Xunit;
public class ValidationTests
{
[Fact]
public void FailsNullPostcode()
{
var result = Postcode.IsValid(null);
Assert.Equal(false, ... | NewOrbit/NewOrbit.PostcodeParser.UK | test/Tests/ValidationTests.cs | https://github.com/NewOrbit/NewOrbit.PostcodeParser.UK/blob/HEAD/test/Tests/ValidationTests.cs | ghcode:00006:73ad413a24dc | mit | codeparrot/github-code | 73ad413a24dc28f611cc77d726d34726059937b75ce10a3aeea6b43eee26fa81 | 0.85 | testing_debugging_repair_refactoring | 802 | 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.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.T... | xingshenglu/MIEngine | src/MICore/Transports/StreamTransport.cs | https://github.com/xingshenglu/MIEngine/blob/HEAD/src/MICore/Transports/StreamTransport.cs | ghcode:00006:e9bde1b28a4a | mit | codeparrot/github-code | e9bde1b28a4a2080bc482d6865bb34929d869733afaa9a5b6f16e0b2f3782da2 | 0.7 | testing_debugging_repair_refactoring | 880 | false | 2026-07-17 |
namespace UnitTestAnalyzers.Test.Naming
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Diagnostics;
using Settings.ObjectModel;
using TestData;
using TestHelper;
using Xunit;
public class UseUnitTestsSuffixFunctionalTests : DiagnosticVeri... | DotNetAnalyzers/UnitTestAnalyzers | UnitTestAnalyzers/UnitTestAnalyzers.Test/Naming/UseUnitTestsSuffixFunctionalTests.cs | https://github.com/DotNetAnalyzers/UnitTestAnalyzers/blob/HEAD/UnitTestAnalyzers/UnitTestAnalyzers.Test/Naming/UseUnitTestsSuffixFunctionalTests.cs | ghcode:00006:a8c2e43ee629 | mit | codeparrot/github-code | a8c2e43ee6297e07e5f0dafcb4c819f2bcf039bd34762701161206d4467417d6 | 0.75 | testing_debugging_repair_refactoring | 699 | false | 2026-07-17 |
namespace Ocelot.UnitTests.Request.Mapper
{
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Internal;
using Microsoft.Extensions.Primitives;
using Ocelot.Request.Mapper;
using Ocelot.Responses;... | TomPallister/Ocelot | test/Ocelot.UnitTests/Request/Mapper/RequestMapperTests.cs | https://github.com/TomPallister/Ocelot/blob/HEAD/test/Ocelot.UnitTests/Request/Mapper/RequestMapperTests.cs | ghcode:00006:2eb48b5b1973 | mit | codeparrot/github-code | 2eb48b5b1973effdc7efd587acb13dfc465e9bd41d8fc65a5c94a598db454e5b | 0.85 | testing_debugging_repair_refactoring | 3,444 | false | 2026-07-17 |
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov
*
* 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 t... | alphaleonis/AlphaFS | tests/AlphaFS.UnitTest/Directory Class/AlphaFS_Directory.Copy/AlphaFS_Directory.Copy_NonExistingSourceDirectory_ThrowsDirectoryNotFoundException.cs | https://github.com/alphaleonis/AlphaFS/blob/HEAD/tests/AlphaFS.UnitTest/Directory Class/AlphaFS_Directory.Copy/AlphaFS_Directory.Copy_NonExistingSourceDirectory_ThrowsDirectoryNotFoundException.cs | ghcode:00006:b1195efe6117 | mit | codeparrot/github-code | b1195efe61173b838eadcad291204fb546886fee0de65cadd6ac90ce84e5d4d5 | 0.6 | testing_debugging_repair_refactoring | 602 | false | 2026-07-17 |
using GraphQL;
using GraphQL.Types;
using Microsoft.OData.Edm;
using Microsoft.OData.Edm.Csdl;
using OdataToEntity.EfCore;
using OdataToEntity.GraphQL;
using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace OdataToEntity.Test.GraphQL
{
public abstract class DbF... | voronov-maxim/OdataToEntity | test/OdataToEntity.Test.GraphQL/DbFixture.cs | https://github.com/voronov-maxim/OdataToEntity/blob/HEAD/test/OdataToEntity.Test.GraphQL/DbFixture.cs | ghcode:00006:8e90abf296e5 | mit | codeparrot/github-code | 8e90abf296e5f0fd5928ac36e056b4e19a51fc20f57b13a4c1ec2fb8e53fb2a6 | 0.75 | testing_debugging_repair_refactoring | 375 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.DotNet.InternalAbstractions;
using Microsoft.DotNet.ProjectMode... | naamunds/cli | test/dotnet-test.Tests/GivenThatWeWantToRunTestsInTheConsole.cs | https://github.com/naamunds/cli/blob/HEAD/test/dotnet-test.Tests/GivenThatWeWantToRunTestsInTheConsole.cs | ghcode:00006:653a61ee34bb | mit | codeparrot/github-code | 653a61ee34bb82eaf8bfa67d07fe47e0d2be9e29da0fe258555fe587f1fa12e9 | 0.7 | testing_debugging_repair_refactoring | 1,155 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace UniversalAnalyticsHttpWrapper.Tests
{
[TestFixture]
public class TrackingResultTests
{
[Test]
public void IfAnExceptionIsPresentTrackingResultFailedIsTrue()
{
var exception = new Exception("whoa!");
var tracking... | RIDGIDSoftwareSolutions/Universal-Analytics-For-DotNet | Tests/UniversalAnalyticsHttpWrapper.Tests/TrackingResultTests.cs | https://github.com/RIDGIDSoftwareSolutions/Universal-Analytics-For-DotNet/blob/HEAD/Tests/UniversalAnalyticsHttpWrapper.Tests/TrackingResultTests.cs | ghcode:00006:7ce6c66c47dd | mit | codeparrot/github-code | 7ce6c66c47dd67640a626b500dfb6b577d39d4f4b33b809ede925ed7ae1455c1 | 0.75 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentAssertions;
using Stankins.AzureDevOps;
using Stankins.FileOps;
using Stankins.Interpreter;
using Stankins.SimpleRecipes;
using StankinsHelperCommands;
using StankinsObjects;
using Xbehave;
using Xunit;
namespace Stankin... | ignatandrei/stankins | stankinsv2/solution/StankinsV2/StankinsTestXUnit/TestResultStankins.cs | https://github.com/ignatandrei/stankins/blob/HEAD/stankinsv2/solution/StankinsV2/StankinsTestXUnit/TestResultStankins.cs | ghcode:00006:9b06ee40fa43 | mit | codeparrot/github-code | 9b06ee40fa43095dc497c8dc120e7c76472e932b5ba448659d176acb892bb77b | 0.75 | testing_debugging_repair_refactoring | 545 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Milaneze.Helpers.Test
{
[TestClass]
public class StringHelper_EscreverNumerosPorExtenso
{
[TestMethod]
public void StringHelper_EscreverNumerosPorExtenso_UmNumero()
{
string frase = "Avenida 23 ... | ericmilaneze/Milaneze.Helpers | Solution/Milaneze.Helpers.Test/StringHelper_EscreverNumerosPorExtenso.cs | https://github.com/ericmilaneze/Milaneze.Helpers/blob/HEAD/Solution/Milaneze.Helpers.Test/StringHelper_EscreverNumerosPorExtenso.cs | ghcode:00006:1fc157947713 | apache-2.0 | codeparrot/github-code | 1fc157947713426786768a62fa3e7ebb2df20a44b8c886220600d0d236e031e6 | 0.6 | testing_debugging_repair_refactoring | 471 | false | 2026-07-17 |
// Copyright 2007-2008 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/ReflectiveVisitor_Specs.cs | https://github.com/eswann/Burrows/blob/HEAD/src/Tests/Burrows.Tests/Pipeline/ReflectiveVisitor_Specs.cs | ghcode:00006:8d5503b47acd | apache-2.0 | codeparrot/github-code | 8d5503b47acddf6865c965f28cf899538922edecd19bc60e48821276db2c8521 | 0.95 | testing_debugging_repair_refactoring | 643 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CompanySales.UnitTest
{
[TestClass]
public class TestDepartment
{
[TestMethod]
public void TestGetD... | imwyw/.net | Src/CompanySalesDemo/CompanySales.UnitTest/TestDepartment.cs | https://github.com/imwyw/.net/blob/HEAD/Src/CompanySalesDemo/CompanySales.UnitTest/TestDepartment.cs | ghcode:00006:b37443692144 | apache-2.0 | codeparrot/github-code | b37443692144290ecfaa0d8d679a2d6501d485bffd52ae24380d8b21f4f54f8b | 0.75 | testing_debugging_repair_refactoring | 108 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SciChart.UI.Reactive.Tests.QualityTools;
using Abt.Framework.Core.Workflow;
using NUnit.Framework;
namespace Abt.Framework.Core.Tests.Async
{
public class SimpleWorkflowTests
{
pub... | ABTSoftware/SciChart.Wpf.UI | SciChart.UI.Reactive.Tests/Async/SimpleWorkflowTests.cs | https://github.com/ABTSoftware/SciChart.Wpf.UI/blob/HEAD/SciChart.UI.Reactive.Tests/Async/SimpleWorkflowTests.cs | ghcode:00006:f1d6233ccf4e | apache-2.0 | codeparrot/github-code | f1d6233ccf4e5d53bfb36ddc2efa6967abcc6c9843b8e4563d7787770e75f6c5 | 0.85 | testing_debugging_repair_refactoring | 310 | false | 2026-07-17 |
using Xunit;
namespace Testify
{
public class AnonymousCharTests
{
[Fact]
public void AnyAlphaChar()
{
var anon = new AnonymousData();
var classifier = new Classifier<char>();
classifier.AddClassification("Alpha", d => char.IsLetter(d));
... | wekempf/testify | src/Tests/Testify.Tests/AnonymousCharTests.cs | https://github.com/wekempf/testify/blob/HEAD/src/Tests/Testify.Tests/AnonymousCharTests.cs | ghcode:00006:afc43dda1e22 | apache-2.0 | codeparrot/github-code | afc43dda1e22dd60f64bd1f0f8b93bcbc19f6153447c4bb8c822bb40b828dead | 0.85 | testing_debugging_repair_refactoring | 1,558 | false | 2026-07-17 |
/*
Copyright 2013 Imre Pühvel, AS Nortal
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 to... | nortal/Utilities.Csv | Tests/LexerTests.cs | https://github.com/nortal/Utilities.Csv/blob/HEAD/Tests/LexerTests.cs | ghcode:00006:142100e6390e | apache-2.0 | codeparrot/github-code | 142100e6390e854ef0281d26e472ce31f258d362116bbafe12682cf4c2cc50bd | 0.85 | testing_debugging_repair_refactoring | 768 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="LogManagerFixture.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 t... | chinnurtb/OpenAdStack-1 | Common/CommonUnitTests/LogManagerFixture.cs | https://github.com/chinnurtb/OpenAdStack-1/blob/HEAD/Common/CommonUnitTests/LogManagerFixture.cs | ghcode:00006:e35e3a805de5 | apache-2.0 | codeparrot/github-code | e35e3a805de5ebc5387e7feace189f96d2a25cf40c71460b80a87bf83aa933ec | 0.7 | testing_debugging_repair_refactoring | 1,023 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SQLite.CodeFirst.Statement.ColumnConstraint;
namespace SQLite.CodeFirst.Test.UnitTests.Statement.ColumnConstraint
{
[TestClass]
public class DefaultValueConstraintTest
{
[TestMethod]
public void CreateStatement_StatementIsCorrect_In... | msallin/SQLiteCodeFirst | SQLite.CodeFirst.Test/UnitTests/Statement/ColumnConstraint/DefaultValueConstraintTest.cs | https://github.com/msallin/SQLiteCodeFirst/blob/HEAD/SQLite.CodeFirst.Test/UnitTests/Statement/ColumnConstraint/DefaultValueConstraintTest.cs | ghcode:00006:5f4892aaa9ec | apache-2.0 | codeparrot/github-code | 5f4892aaa9ecd2797e07c4cb5dc884648d2a715b7d12d13261dd10e56d22b97d | 0.6 | testing_debugging_repair_refactoring | 220 | false | 2026-07-17 |
// Source: http://sysmagazine.com/posts/156325/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
// ReSharper disable once CheckNamespace
namespace NUnit.Specification
{
public abstract class SpecificationBase
{
[TestFixtu... | tomasdeml/chalk | test/Chalk.Tests/SpecificationBase.cs | https://github.com/tomasdeml/chalk/blob/HEAD/test/Chalk.Tests/SpecificationBase.cs | ghcode:00006:effd0fd5d497 | apache-2.0 | codeparrot/github-code | effd0fd5d497da94a704d1176ce4c27852eb1d07bed9ecd3e3f414ae5c39b24d | 0.7 | testing_debugging_repair_refactoring | 331 | false | 2026-07-17 |
using System;
using System.Security.Cryptography;
using FluentAssertions;
using Xunit;
namespace Tests.Security
{
public class EncryptionTests
{
public EncryptionTests()
{
}
const string Key = "123456";
[Fact]
public void encrypt()
{
var t... | sapiens/cavemantools | src/Tests/Security/EncryptionTests.cs | https://github.com/sapiens/cavemantools/blob/HEAD/src/Tests/Security/EncryptionTests.cs | ghcode:00006:c7b217aa85c0 | apache-2.0 | codeparrot/github-code | c7b217aa85c0c292d1ad8b9f9851a4f133019b0c35f5fb36b01328e1f5ea5114 | 0.85 | testing_debugging_repair_refactoring | 126 | 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
//... | Microsoft/PTVS | Python/Tests/TestAdapterTests/MockTestExecutionRecorder.cs | https://github.com/Microsoft/PTVS/blob/HEAD/Python/Tests/TestAdapterTests/MockTestExecutionRecorder.cs | ghcode:00006:bd9879bfb4f1 | apache-2.0 | codeparrot/github-code | bd9879bfb4f1f20d68a0b8c35dc496e042ba62c3749f446105db888d5e189e7a | 0.95 | testing_debugging_repair_refactoring | 383 | false | 2026-07-17 |
/*
* Copyright 2013-2016 Guardtime, Inc.
*
* This file is part of the Guardtime client SDK.
*
* 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/LICEN... | GuardTime/ksi-sdk-samples | net-sdk/ksi-net-sdk-samples/KsiSamples.cs | https://github.com/GuardTime/ksi-sdk-samples/blob/HEAD/net-sdk/ksi-net-sdk-samples/KsiSamples.cs | ghcode:00006:05b68f6e8676 | apache-2.0 | codeparrot/github-code | 05b68f6e8676fea8cda2282cd07746aed33c69cec0a653ab2426735f01ebef55 | 0.7 | testing_debugging_repair_refactoring | 1,055 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace NUnit.InstanceSpecification
{
public abstract class InstanceSpecification_for_ICloneable<TSubjectUnderTest> : InstanceSpecification<TSubjectUnderTest>
where TSubjectUnderTest : ICloneable
{
[Test]
public void Subject_under_test_should_()
{
var clone = Subje... | arekbee/NUnit.InstanceSpecification | Src/NUnit.InstanceSpecification/NUnit.InstanceSpecification/Custom/InstanceSpecification_for_ICloneable.cs | https://github.com/arekbee/NUnit.InstanceSpecification/blob/HEAD/Src/NUnit.InstanceSpecification/NUnit.InstanceSpecification/Custom/InstanceSpecification_for_ICloneable.cs | ghcode:00006:75d07b18f409 | apache-2.0 | codeparrot/github-code | 75d07b18f409b0ce6346a24a9afef18d6dd354383d78c44b18dcdd8de5b4429f | 0.6 | testing_debugging_repair_refactoring | 89 | false | 2026-07-17 |
using Indy.Sdk.Dotnet.Wrapper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
using System;
using System.Threading.Tasks;
namespace Indy.Sdk.Dotnet.Test.Wrapper.AnonCredsTests
{
[TestClass]
public class IssuerCreateAndStoreClaimDefinitionTest : AnonCredsIntegrationTestBase
... | korsimoro/indy-sdk | wrappers/dotnet/indy-sdk-dotnet-test/Wrapper/AnonCredsTests/IssuerCreateAndStoreClaimDefinitionTest.cs | https://github.com/korsimoro/indy-sdk/blob/HEAD/wrappers/dotnet/indy-sdk-dotnet-test/Wrapper/AnonCredsTests/IssuerCreateAndStoreClaimDefinitionTest.cs | ghcode:00006:d19cf43ec1ce | apache-2.0 | codeparrot/github-code | d19cf43ec1cedb6e38dd7a97b94ebdd799a0f2d6beb1b46a458fc6b53668f3d0 | 0.6 | testing_debugging_repair_refactoring | 1,021 | false | 2026-07-17 |
using RestSharp.Authenticators;
using RestSharp.Authenticators.OAuth;
namespace RestSharp.Tests;
public class OAuth1AuthenticatorTests {
public OAuth1AuthenticatorTests()
=> _authenticator = new OAuth1Authenticator {
CallbackUrl = "CallbackUrl",
ClientPassword = "Client... | restsharp/RestSharp | test/RestSharp.Tests/OAuth1AuthenticatorTests.cs | https://github.com/restsharp/RestSharp/blob/HEAD/test/RestSharp.Tests/OAuth1AuthenticatorTests.cs | ghcode:00006:fc678c464d69 | apache-2.0 | codeparrot/github-code | fc678c464d69eb7be7a7bdd5383a1744127c3d4634c11062f704a434bf3816ff | 0.85 | testing_debugging_repair_refactoring | 1,484 | false | 2026-07-17 |
#region WatiN Copyright (C) 2006-2011 Jeroen van Menen
//Copyright 2006-2011 Jeroen van Menen
//
// 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.... | adymitruk/altnetdllstack | Watin/src/UnitTests/ComparerTests/PredicateComparerTests.cs | https://github.com/adymitruk/altnetdllstack/blob/HEAD/Watin/src/UnitTests/ComparerTests/PredicateComparerTests.cs | ghcode:00006:ea5f4a4192a7 | apache-2.0 | codeparrot/github-code | ea5f4a4192a781a36f1970706da6be0725ecefbbbc7eac2ae1621cd80e79bf82 | 0.95 | testing_debugging_repair_refactoring | 647 | 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.Generic;
using System.Composition;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis... | kelltrick/roslyn | src/Features/CSharp/Portable/ImplementInterface/CSharpImplementInterfaceService.cs | https://github.com/kelltrick/roslyn/blob/HEAD/src/Features/CSharp/Portable/ImplementInterface/CSharpImplementInterfaceService.cs | ghcode:00006:be1eefcf69ea | apache-2.0 | codeparrot/github-code | be1eefcf69ea76514a42da55eb2eadf38130290e4e955925e93589237ca24f26 | 0.85 | testing_debugging_repair_refactoring | 1,342 | 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.Collections.Immutable;
using System... | AmadeusW/roslyn | src/EditorFeatures/Core/Implementation/InlineRename/InlineRenameSession.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/EditorFeatures/Core/Implementation/InlineRename/InlineRenameSession.cs | ghcode:00006:72008674fc54 | apache-2.0 | codeparrot/github-code | 72008674fc5497e035518d0ddd247cdf676bc9e8083305afe1371d6484de4907 | 0.85 | testing_debugging_repair_refactoring | 7,046 | false | 2026-07-17 |
#region license
// Copyright (c) 2007-2010 Mauricio Scheffer
//
// 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 requir... | vladen/SolrNet | SolrNet.Tests/AttributesMappingManagerTests.cs | https://github.com/vladen/SolrNet/blob/HEAD/SolrNet.Tests/AttributesMappingManagerTests.cs | ghcode:00006:153a6678d5a6 | apache-2.0 | codeparrot/github-code | 153a6678d5a6028170277468b5189a86b8357500829ac872bf995b03ba4af84c | 0.85 | testing_debugging_repair_refactoring | 810 | false | 2026-07-17 |
/* Copyright 2010-2014 MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... | antonnik/code-classifier | naive_bayes/resources/c#/MongoQueryableTests.cs | https://github.com/antonnik/code-classifier/blob/HEAD/naive_bayes/resources/c#/MongoQueryableTests.cs | ghcode:00006:4ecfa011c683 | apache-2.0 | codeparrot/github-code | 4ecfa011c683eeef1ec4b74b77c6f63ba3f287574f658e37d70c3e7ea0e066bd | 0.75 | testing_debugging_repair_refactoring | 445 | false | 2026-07-17 |
using System.Threading.Tasks;
using JustSaying.Messaging.MessageHandling;
using JustSaying.Models;
using NSubstitute;
using Xunit;
namespace JustSaying.UnitTests.JustSayingFluently.AddingHandlers
{
public class WhenAddingASubscriptionHandlerWithoutCustomConfig : JustSayingFluentlyTestBase
{
private rea... | eric-davis/JustSaying | JustSaying.UnitTests/JustSayingFluently/AddingHandlers/WhenAddingASubscriptionHandlerWithoutCustomConfig.cs | https://github.com/eric-davis/JustSaying/blob/HEAD/JustSaying.UnitTests/JustSayingFluently/AddingHandlers/WhenAddingASubscriptionHandlerWithoutCustomConfig.cs | ghcode:00006:05bc9d966893 | apache-2.0 | codeparrot/github-code | 05bc9d96689392d8f7fa50041f327c225969eef491a576f447fa3c994820244c | 0.6 | testing_debugging_repair_refactoring | 223 | 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
//... | DinoV/PTVS | Python/Tests/Analysis/AnalysisTest.cs | https://github.com/DinoV/PTVS/blob/HEAD/Python/Tests/Analysis/AnalysisTest.cs | ghcode:00006:879e5af8a824 | apache-2.0 | codeparrot/github-code | 879e5af8a8247281b80373cb5dcc4b5443b952619cfa5fe3b20689c654ddac8b | 0.75 | testing_debugging_repair_refactoring | 57,809 | 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 o... | aricooperman/jLean | orig-src/Tests/Indicators/KeltnerChannelsTests.cs | https://github.com/aricooperman/jLean/blob/HEAD/orig-src/Tests/Indicators/KeltnerChannelsTests.cs | ghcode:00006:b431b3a8bfa9 | apache-2.0 | codeparrot/github-code | b431b3a8bfa94c202d47e22df5979ef8f019932d36a429c65e80501f1be1b91f | 0.85 | testing_debugging_repair_refactoring | 678 | 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.Composition;
using System.Diagnostics;
using System.... | eriawan/roslyn | src/Features/LanguageServer/Protocol/Handler/Hover/HoverHandler.cs | https://github.com/eriawan/roslyn/blob/HEAD/src/Features/LanguageServer/Protocol/Handler/Hover/HoverHandler.cs | ghcode:00006:cb084269c339 | apache-2.0 | codeparrot/github-code | cb084269c3393b9096ba888067a72c119db9f2732e69316240c133761e6d2ad6 | 0.7 | testing_debugging_repair_refactoring | 1,060 | false | 2026-07-17 |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Globalization;
using System.Reflection;
using System.Threading;
namespace Microsoft.TestCommon
{
/// <summary>
/// Replaces the current culture and U... | Terminator-Aaron/Katana | OData/test/Microsoft.TestCommon/ReplaceCultureAttribute.cs | https://github.com/Terminator-Aaron/Katana/blob/HEAD/OData/test/Microsoft.TestCommon/ReplaceCultureAttribute.cs | ghcode:00006:4ed55715e434 | apache-2.0 | codeparrot/github-code | 4ed55715e4347a0b785306c4ccd29bb0c85eadd8fa442008b00c5d9f26448731 | 0.95 | testing_debugging_repair_refactoring | 401 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sentiment.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sentiment.Models.Tests
{
[TestClass()]
public class HappyFunTokenizerTests
{
[TestMethod()]
... | AngelOD/AAU-WI | WebIntelligence/SentimentTests/Models/HappyFunTokenizerTests.cs | https://github.com/AngelOD/AAU-WI/blob/HEAD/WebIntelligence/SentimentTests/Models/HappyFunTokenizerTests.cs | ghcode:00006:caeb7c3b0120 | apache-2.0 | codeparrot/github-code | caeb7c3b012017b58d3f9d0761fff9fc78b1b7023192ed5273b1f74d23fbf610 | 0.75 | testing_debugging_repair_refactoring | 82 | false | 2026-07-17 |
using DBTM.Application;
using DBTM.Application.Commands;
using DBTM.Application.ViewModels;
using DBTM.Application.Views;
using DBTM.Domain.Entities;
using NUnit.Framework;
using Rhino.Mocks;
namespace Tests.Application.Commands
{
[TestFixture]
public class FullBuildCommandTests
{
private FullBuil... | mwissman/DBTM | Source/Tests.Application/Commands/FullBuildCommandTests.cs | https://github.com/mwissman/DBTM/blob/HEAD/Source/Tests.Application/Commands/FullBuildCommandTests.cs | ghcode:00006:bb00059f8090 | apache-2.0 | codeparrot/github-code | bb00059f80905748fb477e66f75051e3b0be334fffca1f1371f65c48d97d816b | 0.75 | testing_debugging_repair_refactoring | 1,115 | false | 2026-07-17 |
/* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice, this li... | aftabahmedsajid/XenCenter-Complete-dependencies- | XenAdminTests/UnitTests/WlbTests/WlbReportSubscriptionTests.cs | https://github.com/aftabahmedsajid/XenCenter-Complete-dependencies-/blob/HEAD/XenAdminTests/UnitTests/WlbTests/WlbReportSubscriptionTests.cs | ghcode:00006:7c9b120a68aa | bsd-2-clause | codeparrot/github-code | 7c9b120a68aaf72376a60d07732c6f0421caa7d0ed293bcbb6626ab0667d495c | 0.68 | testing_debugging_repair_refactoring | 966 | false | 2026-07-17 |
#region License
/*
Copyright (c) 2014, the TMD.Algo authors.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of c... | Tilps/TMD.Algo | TMD.AlgoTest/BaseGCJTest.cs | https://github.com/Tilps/TMD.Algo/blob/HEAD/TMD.AlgoTest/BaseGCJTest.cs | ghcode:00006:33879249212d | bsd-3-clause | codeparrot/github-code | 33879249212dec9991b025990d8afea81661d6ce91b3a06bd33c32a3952a9ba2 | 0.6 | testing_debugging_repair_refactoring | 1,344 | false | 2026-07-17 |
// Code generated by Microsoft (R) AutoRest Code Generator 1.2.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace ApplicationGateway
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collection... | veronicagg/autorest | Samples/test/end-to-end/network/Client/IPublicIPAddressesOperations.cs | https://github.com/veronicagg/autorest/blob/HEAD/Samples/test/end-to-end/network/Client/IPublicIPAddressesOperations.cs | ghcode:00006:4be9640d0ec8 | mit | codeparrot/github-code | 4be9640d0ec848ab9c63fc91542a26a162cc7b1cd767ef68fec78b4883367e26 | 0.95 | testing_debugging_repair_refactoring | 2,172 | false | 2026-07-17 |
using System;
using LionFire.Applications.Hosting;
using LionFire.Hosting;
using LionFire.ObjectBus;
using LionFire.ObjectBus.RedisPub;
using LionFire.Persistence;
using LionFire.Referencing;
using Xunit;
namespace RedisPub_
{
public class PubSub
{
private string ReceivedMessage = null;
... | jaredthirsk/Core | src/LionFire.ObjectBus.Redis.Tests/PubSub/PubSub.cs | https://github.com/jaredthirsk/Core/blob/HEAD/src/LionFire.ObjectBus.Redis.Tests/PubSub/PubSub.cs | ghcode:00006:7fb9dc53e6fc | mit | codeparrot/github-code | 7fb9dc53e6fc8af6c7fa87ca514dfe4d5510c5feb704f7aafa2470b0dac268d3 | 0.6 | testing_debugging_repair_refactoring | 267 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Moq;
using OnTheRoad.Domain.Enumerations;
using OnTheRoad.Domain.Models;
using OnTheRoad.Logic.Contracts;
using OnTheRoad.Mvp.Presenters;
using OnTheRoad.Mvp.Views;
using OnTheRoad.Mvp.Models;
using OnTheRoad.Mvp.EventArgsClasses;
namespace ... | WeWantAngular/on-the-road | OnTheRoad/OnTheRoad.Tests/Presenters/ReviewPresenterTests.cs | https://github.com/WeWantAngular/on-the-road/blob/HEAD/OnTheRoad/OnTheRoad.Tests/Presenters/ReviewPresenterTests.cs | ghcode:00006:b6924d8c9373 | mit | codeparrot/github-code | b6924d8c9373c04d7b6b5a482879e822f0072c59e0e36d5f03e65f86c4119884 | 0.75 | testing_debugging_repair_refactoring | 696 | false | 2026-07-17 |
// ---------------------------------------------------------------------------------
// <copyright file="TicketUserAlertComposer.cs" company="https://github.com/sant0ro/Yupi">
// Copyright (c) 2016 Claudio Santoro, TheDoctor
// </copyright>
// <license>
// Permission is hereby granted, free of charge, to any perso... | sant0ro/Yupi | Yupi.Messages/Composer/Support/TicketUserAlertComposer.cs | https://github.com/sant0ro/Yupi/blob/HEAD/Yupi.Messages/Composer/Support/TicketUserAlertComposer.cs | ghcode:00006:be54b6aea079 | mit | codeparrot/github-code | be54b6aea07930419aa2542d6a26bd5df5476d57aaa70707703d9f41ec51ab2e | 0.7 | testing_debugging_repair_refactoring | 477 | 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.Diagnostics;
using System.Threading;
using Microsoft.C... | abock/roslyn | src/Workspaces/Core/Portable/Formatting/Engine/TokenStream.cs | https://github.com/abock/roslyn/blob/HEAD/src/Workspaces/Core/Portable/Formatting/Engine/TokenStream.cs | ghcode:00006:a24739c4fd19 | mit | codeparrot/github-code | a24739c4fd19585ccd98587781dd58fe490eebc5e47f754dba8ffdf0c8611025 | 0.85 | testing_debugging_repair_refactoring | 4,302 | false | 2026-07-17 |
using Microsoft.AspNetCore.Mvc;
namespace NSwag.Generation.AspNetCore.Tests.Web.Controllers.Parameters
{
[ApiController]
[Route("api/[controller]")]
public class RenamedQueryParameterController : Controller
{
[HttpGet]
public ActionResult GetMonths([FromQuery(Name = "month")] string[] ... | quails4Eva/NSwag | src/NSwag.Generation.AspNetCore.Tests.Web/Controllers/Parameters/RenamedQueryParameterController.cs | https://github.com/quails4Eva/NSwag/blob/HEAD/src/NSwag.Generation.AspNetCore.Tests.Web/Controllers/Parameters/RenamedQueryParameterController.cs | ghcode:00006:722f582869e7 | mit | codeparrot/github-code | 722f582869e7fa7cd3c19fbe556835528bad2c500ad3922b1f3318432cacf433 | 0.75 | testing_debugging_repair_refactoring | 74 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Networks.Tests
{
using System;
using System.Collections.Generic;
using System.Net;
using System.Security.Cryptography.X509Certificates;... | shahabhijeet/azure-sdk-for-net | src/SDKs/Network/Network.Tests/Tests/ApplicationGatewayTests.cs | https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/SDKs/Network/Network.Tests/Tests/ApplicationGatewayTests.cs | ghcode:00006:777dcabcd7d1 | mit | codeparrot/github-code | 777dcabcd7d1c59167c62f44355f798c9b5671db68cbb6246ac94a8ec086551b | 0.95 | testing_debugging_repair_refactoring | 5,790 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Portability;
using BenchmarkDotNet.Validators;
using JetBrains.Annotations;
namespace BenchmarkDot... | alinasmirnova/BenchmarkDotNet | src/BenchmarkDotNet/Environments/BenchmarkEnvironmentInfo.cs | https://github.com/alinasmirnova/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Environments/BenchmarkEnvironmentInfo.cs | ghcode:00006:e5cb062c92cc | mit | codeparrot/github-code | e5cb062c92cc820ecbc04543b27f8e08fa863f4e00343c54e23494982bbcb365 | 0.6 | testing_debugging_repair_refactoring | 789 | false | 2026-07-17 |
using System.Collections.Generic;
using RegTesting.Contracts.Enums;
namespace RegTesting.Contracts.DTO
{
/// <summary>
/// the TestWorkerDto
/// </summary>
public class TestWorkerDto
{
/// <summary>
/// the supported Systems
/// </summary>
public IList<string> SupportedBrowsers { get; set; }
/// <sum... | hotelde/regtesting | RegTesting.Contracts/DTO/TestWorkerDto.cs | https://github.com/hotelde/regtesting/blob/HEAD/RegTesting.Contracts/DTO/TestWorkerDto.cs | ghcode:00006:1ecaad6c8505 | apache-2.0 | codeparrot/github-code | 1ecaad6c8505e8adbe0a1ae086d709adb8e9fa77ba5d8fefa8bebe3c8764615d | 0.85 | testing_debugging_repair_refactoring | 331 | false | 2026-07-17 |
using NUnit.Framework;
using System;
namespace MyWorks
{
[TestFixture()]
public class StringListClassTest
{
private StringList list;
[SetUp()]
public void Initialise()
{
list = new StringList();
}
[Test()]
public void PopTest()
{
list.Push("test");
Assert.AreSame("test", list.Pop());
}
... | arthurnage/university-tasks | second_sem/hw3/2_3/HashTableTest/StringListClassTest.cs | https://github.com/arthurnage/university-tasks/blob/HEAD/second_sem/hw3/2_3/HashTableTest/StringListClassTest.cs | ghcode:00006:dbc8ee74d44e | apache-2.0 | codeparrot/github-code | dbc8ee74d44eb1c82a27bc0af9efdc18085fa3b47e5856630d0b6ee43cbe433f | 0.6 | testing_debugging_repair_refactoring | 375 | false | 2026-07-17 |
using NUnit.Framework;
using Pickles.Extensions;
using Should;
namespace Pickles.Test
{
[TestFixture]
public class WhenFormattingWikiWords : BaseFixture
{
[Test]
public void ThenCanFormatTextAsWikiWordSuccessfully()
{
string actual = "ThisIsTheWikiWord".ExpandWikiWord()... | x97mdr/pickles | src/Pickles/Pickles.Test/WhenFormattingWikiWords.cs | https://github.com/x97mdr/pickles/blob/HEAD/src/Pickles/Pickles.Test/WhenFormattingWikiWords.cs | ghcode:00006:1e136bd882b0 | apache-2.0 | codeparrot/github-code | 1e136bd882b0394ff3b45760c9065aa128ac87dc1dd4869f7ece2524128bd1d3 | 0.6 | testing_debugging_repair_refactoring | 406 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright company="Metamorphic">
// Copyright (c) Metamorphic. All rights reserved.
// Licensed under the Apache License, Version 2.0 license. See LICENCE.md file in the project root for full license information.
// </copyright>
//----------... | metamorpher/Metamorphic | src/Test.Unit.Core/Signals/SignalTest.cs | https://github.com/metamorpher/Metamorphic/blob/HEAD/src/Test.Unit.Core/Signals/SignalTest.cs | ghcode:00006:20bf5cb36c5e | apache-2.0 | codeparrot/github-code | 20bf5cb36c5e9bdf6954d7105594c965abad7c5b379a525f165c1204c51343c2 | 0.7 | testing_debugging_repair_refactoring | 1,037 | false | 2026-07-17 |
using System;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using FluentAssertions.Common;
using FluentAssertions.Events;
using FluentAssertions.Execution;
namespace FluentAssertions
{
/// <summary>
/// Provides extension methods for monitoring and querying events.
/// <... | msackton/FluentAssertions | Src/Shared/PropertyChangedSourceExtensions.cs | https://github.com/msackton/FluentAssertions/blob/HEAD/Src/Shared/PropertyChangedSourceExtensions.cs | ghcode:00006:741bc8dadc23 | apache-2.0 | codeparrot/github-code | 741bc8dadc2381bab68457a6e3f1ecb8965ed26af0821e608c62ae61dd801380 | 0.7 | testing_debugging_repair_refactoring | 1,532 | 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.Collections.Immutable;
using System.Diagnostics;
using... | abock/roslyn | src/Test/Utilities/Portable/CommonTestBase.cs | https://github.com/abock/roslyn/blob/HEAD/src/Test/Utilities/Portable/CommonTestBase.cs | ghcode:00006:a20c29101d3a | mit | codeparrot/github-code | a20c29101d3a6ca919a3d6bf847d8340cb24ee3f56d57037b70d9379b4f39fea | 0.95 | testing_debugging_repair_refactoring | 4,541 | 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 global::System;
using global::System.IO;
using global::System.Text;
using global::System.Diagnostics;
using gl... | schellap/corert | src/System.Private.Reflection.Core/src/System/Reflection/Runtime/Assemblies/RuntimeAssemblyName.cs | https://github.com/schellap/corert/blob/HEAD/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/Assemblies/RuntimeAssemblyName.cs | ghcode:00006:51240636cbd5 | mit | codeparrot/github-code | 51240636cbd546c05c35623d3dbb21b6f09d2cf8389235d6039fa7a2e58cfa31 | 0.8 | testing_debugging_repair_refactoring | 1,204 | false | 2026-07-17 |
#region Copyright (c) 2002-2003, James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, Charlie Poole, Philip A. Craig
/************************************************************************************
'
' Copyright © 2002-2003 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, Charlie Poole
' Copyright © 2000-2... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/nunit20/framework/TestFixtureSetUpAttribute.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/nunit20/framework/TestFixtureSetUpAttribute.cs | ghcode:00006:a1bf727eaa13 | mit | codeparrot/github-code | a1bf727eaa1390ef848be561291ec1dda30d262f41ed0602c30bca830ac9cef0 | 0.95 | testing_debugging_repair_refactoring | 394 | false | 2026-07-17 |
using System;
using Xunit;
namespace Marten.Testing.Bugs
{
public class Bug_628_fk_from_doc_to_itself : IntegratedFixture
{
public class Category
{
public Guid Id { get; set; }
public Guid? ParentId { get; set; }
public string Name { get; set; }
}
... | jokokko/marten | src/Marten.Testing/Bugs/Bug_628_fk_from_doc_to_itself.cs | https://github.com/jokokko/marten/blob/HEAD/src/Marten.Testing/Bugs/Bug_628_fk_from_doc_to_itself.cs | ghcode:00006:982b87c157a9 | mit | codeparrot/github-code | 982b87c157a9839d1ed6417a83bc4434bb55646ceebbb9931c9ce139bd40bdba | 0.6 | testing_debugging_repair_refactoring | 134 | false | 2026-07-17 |
// Copyright 2011 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | BrightstarDB/odata-sparql | ODataLib/Spatial/Silverlight/Microsoft/Data/Spatial/GmlWriter.cs | https://github.com/BrightstarDB/odata-sparql/blob/HEAD/ODataLib/Spatial/Silverlight/Microsoft/Data/Spatial/GmlWriter.cs | ghcode:00006:d062c39360d2 | mit | codeparrot/github-code | d062c39360d235d38c9f05466cdd68ae0aced0d3befc6ed8b8fe443531dabcc0 | 0.7 | testing_debugging_repair_refactoring | 2,615 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Xunit;
using Xunit.Extensions;
namespace ExtraLinq.Tests
{
public class ChunkTests
{
[Fact]
public static void Throws_ArgumentNullException_when_sequence_is_null()
{
IEnumerable<... | JBTech/ExtraLINQ | src/tests/ExtraLINQ.Tests/IEnumerable/ChunkTests.cs | https://github.com/JBTech/ExtraLINQ/blob/HEAD/src/tests/ExtraLINQ.Tests/IEnumerable/ChunkTests.cs | ghcode:00006:79a4e39175ad | mit | codeparrot/github-code | 79a4e39175ad888e51785c03711cc4e1f31b5e9f4368f25822c21eb8d536ba92 | 0.85 | testing_debugging_repair_refactoring | 672 | false | 2026-07-17 |
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace ApplicationGateway.Models
{
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Collections;
... | dsgouda/autorest | Samples/test/end-to-end/network/Client/Models/NetworkWatcher.cs | https://github.com/dsgouda/autorest/blob/HEAD/Samples/test/end-to-end/network/Client/Models/NetworkWatcher.cs | ghcode:00006:6c4b019a1a2a | mit | codeparrot/github-code | 6c4b019a1a2afbe6d1bfb39f05fc75ed4e0a4995fe6c31a80f7cb6e8b6888eb8 | 0.95 | testing_debugging_repair_refactoring | 542 | 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.
/*============================================================
**
**
**
** Object is the root class for all CLR obje... | schellap/corert | src/Runtime.Base/src/System/Object.cs | https://github.com/schellap/corert/blob/HEAD/src/Runtime.Base/src/System/Object.cs | ghcode:00006:3f0e0df76114 | mit | codeparrot/github-code | 3f0e0df76114a02fde0218182ccd10e73a332dd0d7c1870f86992ae1f13b6b9c | 0.8 | testing_debugging_repair_refactoring | 575 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Diagnostics;
using System.IO;
namespace Test
{
[TestFixture]
public static class TestCmd
{
[Test]
[Ignore("Ignored on AppVeyor")]
public static void TestCommandLineMicroVignette()
{
//Stopwatch s = new Stopwatch(... | rmillikin/MetaMorpheus | Test/TestCmd.cs | https://github.com/rmillikin/MetaMorpheus/blob/HEAD/Test/TestCmd.cs | ghcode:00006:9052915e8955 | mit | codeparrot/github-code | 9052915e8955779330df6baef4b509d2e50ee38cf7a80c11ae2784f95569b151 | 0.85 | testing_debugging_repair_refactoring | 173 | false | 2026-07-17 |
// <copyright file="MatrixStructureTheory.Functional.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obt... | albertp007/mathnet-numerics | src/UnitTests/LinearAlgebraTests/MatrixStructureTheory.Functional.cs | https://github.com/albertp007/mathnet-numerics/blob/HEAD/src/UnitTests/LinearAlgebraTests/MatrixStructureTheory.Functional.cs | ghcode:00006:6f21b919245d | mit | codeparrot/github-code | 6f21b919245d629035cf8654fbf82d0ec3296dc50f9f5e92462412586b8d3c96 | 0.85 | testing_debugging_repair_refactoring | 4,207 | 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.Collections.Immutable;
using System.Diagnostics;
using... | jmarolf/roslyn | src/Compilers/Core/Portable/SourceGeneration/GeneratorDriverState.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Compilers/Core/Portable/SourceGeneration/GeneratorDriverState.cs | ghcode:00006:710b8c06ec5d | mit | codeparrot/github-code | 710b8c06ec5dcaadb5db7fde7337d25c88c7fde9c312a5601ea6a90d4b3591c9 | 0.85 | testing_debugging_repair_refactoring | 731 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using CSharpWriterUnitTests.Properties;
using FluentAssertions;
using Vipr.Reader.OData.v4;
using System;
using System.Reflec... | ysanghi/Vipr | test/CSharpWriterUnitTests/Given_well_known_EDMX.cs | https://github.com/ysanghi/Vipr/blob/HEAD/test/CSharpWriterUnitTests/Given_well_known_EDMX.cs | ghcode:00006:1d27019186e2 | mit | codeparrot/github-code | 1d27019186e24235c79a37e9d81a0aaf42096eff34542a8877ae23747e8f90fe | 0.6 | testing_debugging_repair_refactoring | 432 | 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.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using... | bbarry/roslyn | src/Features/Core/Portable/AddImport/SearchScope.cs | https://github.com/bbarry/roslyn/blob/HEAD/src/Features/Core/Portable/AddImport/SearchScope.cs | ghcode:00006:3ec3e7925e44 | apache-2.0 | codeparrot/github-code | 3ec3e7925e44b52ed9125116f541b5a5c8f509c6a1a6c7fd27eb7cec15b4cff8 | 0.85 | testing_debugging_repair_refactoring | 1,646 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Structure;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Structur... | ljw1004/roslyn | src/EditorFeatures/CSharpTest/Structure/SimpleLambdaExpressionStructureTests.cs | https://github.com/ljw1004/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Structure/SimpleLambdaExpressionStructureTests.cs | ghcode:00006:46c5b4fd991a | apache-2.0 | codeparrot/github-code | 46c5b4fd991acd6b09e86d7b3a8d9e125110b872c62e7f720266995d0167cf04 | 0.75 | testing_debugging_repair_refactoring | 516 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | vadopolski/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Services/ServicesTest.cs | https://github.com/vadopolski/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Services/ServicesTest.cs | ghcode:00006:2d74a8e84408 | apache-2.0 | codeparrot/github-code | 2d74a8e844086194c3fced21230f69ebc4868c21149e6ad9ae294eaed24f2e77 | 0.7 | testing_debugging_repair_refactoring | 7,249 | false | 2026-07-17 |
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice... | geosharath/xenadmin | XenAdminTests/PluginTests/PlaceholdersTests.cs | https://github.com/geosharath/xenadmin/blob/HEAD/XenAdminTests/PluginTests/PlaceholdersTests.cs | ghcode:00006:a13c01e9ad23 | bsd-2-clause | codeparrot/github-code | a13c01e9ad23e13105aafca060c219bb20f2cad35384a9ae3f805eb6b60c815a | 0.78 | testing_debugging_repair_refactoring | 1,235 | 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
... | KarolKaczmarek/PowerShell | src/System.Management.Automation/engine/interpreter/InterpretedFrame.cs | https://github.com/KarolKaczmarek/PowerShell/blob/HEAD/src/System.Management.Automation/engine/interpreter/InterpretedFrame.cs | ghcode:00006:10a7a808a38d | mit | codeparrot/github-code | 10a7a808a38d4a991e4e27a9ef4732a8716e19b0a01c07e8ce457e5798304bae | 0.7 | testing_debugging_repair_refactoring | 2,118 | 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.ComponentModel.Composition;
using System.Diagnostics;
using System.IO... | wvdd007/roslyn | src/EditorFeatures/Core.Wpf/Interactive/InteractivePasteCommandHandler.cs | https://github.com/wvdd007/roslyn/blob/HEAD/src/EditorFeatures/Core.Wpf/Interactive/InteractivePasteCommandHandler.cs | ghcode:00006:51d8788c7afe | apache-2.0 | codeparrot/github-code | 51d8788c7afe7bf154b1cedc926faf24c3602334c006ef44e3bb3f0574a077f8 | 0.7 | testing_debugging_repair_refactoring | 1,339 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
using Microsoft.AzureStack.Management.InfrastructureInsights.Admin;
using Microsoft.AzureStack.Management.InfrastructureInsights.Admin.Models;
using Xunit;... | SiddharthChatrolaMs/azure-sdk-for-net | src/AzureStack/InfrastructureInsightsAdmin/InfrastructureInsights.Admin.Tests/src/AlertTests.cs | https://github.com/SiddharthChatrolaMs/azure-sdk-for-net/blob/HEAD/src/AzureStack/InfrastructureInsightsAdmin/InfrastructureInsights.Admin.Tests/src/AlertTests.cs | ghcode:00006:ca92bb19b1d0 | apache-2.0 | codeparrot/github-code | ca92bb19b1d033d3854a41a17721281da44f3456cf4a5f01d1392a4419ae582b | 0.95 | testing_debugging_repair_refactoring | 996 | false | 2026-07-17 |
#region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Kooboo.CMS.Content.Persist... | lingxyd/CMS | Kooboo.CMS/Kooboo.CMS.Content/Kooboo.CMS.Content.Tests/Persistence/RepositoryProviderTests.cs | https://github.com/lingxyd/CMS/blob/HEAD/Kooboo.CMS/Kooboo.CMS.Content/Kooboo.CMS.Content.Tests/Persistence/RepositoryProviderTests.cs | ghcode:00006:1b17df040891 | bsd-3-clause | codeparrot/github-code | 1b17df040891b4eb16efc84e026521513498e748807a6f620205f09a236dfe4b | 0.85 | testing_debugging_repair_refactoring | 257 | false | 2026-07-17 |
namespace Merchello.Tests.PaymentProviders.Resolvers
{
using System.Linq;
using Merchello.Core;
using Merchello.Core.Gateways;
using Merchello.Core.Gateways.Payment;
using Merchello.Providers.Payment.PayPal.Provider;
using Merchello.Tests.Base.TestHelpers;
using NUnit.Framework;
usin... | clausjensen/Merchello | test/Merchello.Tests.PaymentProviders/Resolvers/ResolverTests.cs | https://github.com/clausjensen/Merchello/blob/HEAD/test/Merchello.Tests.PaymentProviders/Resolvers/ResolverTests.cs | ghcode:00006:d3722dfb9221 | mit | codeparrot/github-code | d3722dfb922141ba28bc60fec1e4e899a5ab40a5741066bab53e497ec83c299f | 0.85 | testing_debugging_repair_refactoring | 201 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Media;
using Microsoft.Azure.Management.Media.Models;
using Microsoft.Azure.Management.Resources;
using Microsoft.Rest.ClientRunt... | ayeletshpigelman/azure-sdk-for-net | sdk/mediaservices/Microsoft.Azure.Management.Media/tests/ScenarioTests/JobTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/mediaservices/Microsoft.Azure.Management.Media/tests/ScenarioTests/JobTests.cs | ghcode:00006:7766070200f1 | mit | codeparrot/github-code | 7766070200f1b21be399bc54a9fb42e5444b868528624f00145c902625d7bf69 | 0.95 | testing_debugging_repair_refactoring | 1,444 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.... | spring-projects/spring-net | test/Spring/Spring.Template.Velocity.Tests/Template/Velocity/VelocityEngineTestBase.cs | https://github.com/spring-projects/spring-net/blob/HEAD/test/Spring/Spring.Template.Velocity.Tests/Template/Velocity/VelocityEngineTestBase.cs | ghcode:00006:446025d8afe5 | apache-2.0 | codeparrot/github-code | 446025d8afe5e9987c68c5d5cdf32a5caa45f2834971a7ef28c2c963560a596e | 0.85 | testing_debugging_repair_refactoring | 526 | 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 Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utiliti... | DustinCampbell/roslyn | src/Compilers/CSharp/Test/Symbol/Compilation/ForEachStatementInfoTests.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Compilation/ForEachStatementInfoTests.cs | ghcode:00006:41ba2f536814 | apache-2.0 | codeparrot/github-code | 41ba2f53681420d05bab1cb44a1b0cafa1968745624f6c066d1428fe334055d4 | 0.85 | testing_debugging_repair_refactoring | 827 | false | 2026-07-17 |
/* The MIT License
*
* Copyright (c) 2010 Intel Corporation.
* All rights reserved.
*
* Based on the convexdecomposition library from
* <http://codesuppository.googlecode.com> by John W. Ratcliff and Stan Melax.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... | emperorstarfinder/halcyon | OpenSim/Region/Physics/ConvexDecompositionDotNet/PlaneTri.cs | https://github.com/emperorstarfinder/halcyon/blob/HEAD/OpenSim/Region/Physics/ConvexDecompositionDotNet/PlaneTri.cs | ghcode:00006:3007124f1482 | bsd-3-clause | codeparrot/github-code | 3007124f1482e2697f771e4b2292a004d7747ad1fe61d98f6d85bcca177eac00 | 0.85 | testing_debugging_repair_refactoring | 1,674 | 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.ComponentModel.Design;
using System.Globalization;
using Xunit;
namespace Sy... | BrennanConroy/corefx | src/System.ComponentModel.TypeConverter/tests/TypeDescriptorTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.ComponentModel.TypeConverter/tests/TypeDescriptorTests.cs | ghcode:00006:d01016b7c516 | mit | codeparrot/github-code | d01016b7c5164278c8c35898e0c2dc203a57cf871f37ee466aac180d4268c4ac | 0.95 | testing_debugging_repair_refactoring | 2,042 | false | 2026-07-17 |
/*
Copyright 2012 Michael Edwards
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 ag... | csteeg/Glass.Mapper | Tests/Integration Tests/Umbraco/Glass.Mapper.Umb.Integration/DataMappers/UmbracoPropertyTypeMapperFixture.cs | https://github.com/csteeg/Glass.Mapper/blob/HEAD/Tests/Integration Tests/Umbraco/Glass.Mapper.Umb.Integration/DataMappers/UmbracoPropertyTypeMapperFixture.cs | ghcode:00006:2333e4b84371 | apache-2.0 | codeparrot/github-code | 2333e4b84371ae6975ebe5cc0ddf5217997a7870337e29ff4308224df52841d2 | 0.7 | testing_debugging_repair_refactoring | 2,734 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Threading;
namespace System.Net.Security.Tests
{
internal class MockNetwork
{
private readonly Queue<byt... | 690486439/corefx | src/System.Net.Security/tests/FunctionalTests/MockNetwork.cs | https://github.com/690486439/corefx/blob/HEAD/src/System.Net.Security/tests/FunctionalTests/MockNetwork.cs | ghcode:00006:264e17148f96 | mit | codeparrot/github-code | 264e17148f963a9a63e003c2cd833ebd23051f65e94f53155a8a48dd70656aa8 | 0.85 | testing_debugging_repair_refactoring | 329 | 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... | bolabola/PTVS | Python/Product/Analysis/Interpreter/SharedDatabaseState.cs | https://github.com/bolabola/PTVS/blob/HEAD/Python/Product/Analysis/Interpreter/SharedDatabaseState.cs | ghcode:00006:5910d9c2ada7 | apache-2.0 | codeparrot/github-code | 5910d9c2ada735e4b7391ba3ebaad7081d1eb11243def288a4a7cc5a98350362 | 0.7 | testing_debugging_repair_refactoring | 7,305 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
... | AmadeusW/roslyn | src/Compilers/CSharp/Portable/Binder/InMethodBinder.cs | https://github.com/AmadeusW/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/InMethodBinder.cs | ghcode:00006:6951974a990b | apache-2.0 | codeparrot/github-code | 6951974a990b1a93a83375ec6715a6595d35f90b27ddd388aed487b03d566fd9 | 0.85 | testing_debugging_repair_refactoring | 2,419 | 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.Test.Utilities;
using Microsoft.VisualStudio.LanguageServices.CSharp.Debugging;
using Roslyn.Test.Utilities;
using Xunit;
names... | OmarTawfik/roslyn | src/VisualStudio/CSharp/Test/Debugging/ProximityExpressionsGetterTests.Statements.cs | https://github.com/OmarTawfik/roslyn/blob/HEAD/src/VisualStudio/CSharp/Test/Debugging/ProximityExpressionsGetterTests.Statements.cs | ghcode:00006:853f94aba1cd | apache-2.0 | codeparrot/github-code | 853f94aba1cdc3e39f7d3ab1162ca10337ebfa16ee9ee08ef9abd249c015c6bd | 0.82 | testing_debugging_repair_refactoring | 19,031 | 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.Xml.Tests
{
public class CreateElementTests
{
[Fact]
public s... | jlin177/corefx | src/System.Private.Xml/tests/XmlDocument/XmlDocumentTests/CreateElementTests.cs | https://github.com/jlin177/corefx/blob/HEAD/src/System.Private.Xml/tests/XmlDocument/XmlDocumentTests/CreateElementTests.cs | ghcode:00006:c0ae93eb35bb | mit | codeparrot/github-code | c0ae93eb35bb6fd7c98bd6cb98759226dba8bc55699334688a943259a567d49c | 0.95 | testing_debugging_repair_refactoring | 595 | 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 ManagedTests.DynamicCSharp.Conformance.dynamic.dynamicType.conversions.common.common;
using Xunit;
namespace ... | nbarbettini/corefx | src/System.Dynamic.Runtime/tests/Dynamic.DynamicType/Conformance.dynamic.dynamicType.conversions.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Dynamic.Runtime/tests/Dynamic.DynamicType/Conformance.dynamic.dynamicType.conversions.cs | ghcode:00006:71881a556a97 | mit | codeparrot/github-code | 71881a556a972f9f02163d3e3c5980e41deac3a003edd1c861efa5b5053d2a99 | 0.75 | testing_debugging_repair_refactoring | 35,072 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections;
using System.Collections.Generic;
using Tests.HashSet_HashSetTestSupport;
using Tests.HashSet_SetCollectionComparerTests;
namespace Tests
{
... | misterzik/corefx | src/System.Collections/tests/Generic/HashSet/SetCollectionComparerTests.cs | https://github.com/misterzik/corefx/blob/HEAD/src/System.Collections/tests/Generic/HashSet/SetCollectionComparerTests.cs | ghcode:00006:b646a59f5ce0 | mit | codeparrot/github-code | b646a59f5ce0ee84fa22611cdbaa39f947772625731d1f6199f1295b1415b6a7 | 0.95 | testing_debugging_repair_refactoring | 2,743 | false | 2026-07-17 |
using System;
using System.Threading;
using FluentAssertions;
using Moq;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Xunit;
using ProcessingOperations.Tests.TestInfrastructure;
using Xunit.Extensions;
namespace ProcessingOperations.Tests
{
public class RepeatingOperationProcessingManagerTest
{
[T... | arzion/ProcessingOperations | ProcessingOperations.Tests/RepeatingOperationProcessingManagerTest.cs | https://github.com/arzion/ProcessingOperations/blob/HEAD/ProcessingOperations.Tests/RepeatingOperationProcessingManagerTest.cs | ghcode:00006:77216f567c5b | isc | codeparrot/github-code | 77216f567c5bbc7fdb5871538f6f6950bc95fb7b238a2c67bc5cbc576a294be7 | 0.7 | testing_debugging_repair_refactoring | 1,329 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.