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; using System.Collections.Generic; using System.Diagnostics; namespace Lucene.Net.Util { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with this * work for additional information regarding copyri...
laimis/lucenenet
src/Lucene.Net/Util/BytesRefArray.cs
https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net/Util/BytesRefArray.cs
ghcode:00002:46b281383911
apache-2.0
codeparrot/github-code
46b2813839111f01e8132bdddcc1a82fd1b08bbba80355b4c806289637314f40
0.85
testing_debugging_repair_refactoring
1,875
false
2026-07-17
using System; using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; using Akka.Remote.Transport; using Akka.TestKit; using Akka.Util; using Akka.Util.Internal; using Google.ProtocolBuffers; using Xunit; namespace Akka.Remote.Tests { public class RemotingSpec : Akka...
forki/akka.net
src/core/Akka.Remote.Tests/RemotingSpec.cs
https://github.com/forki/akka.net/blob/HEAD/src/core/Akka.Remote.Tests/RemotingSpec.cs
ghcode:00002:b7cb4c56ff16
apache-2.0
codeparrot/github-code
b7cb4c56ff16ea39e9e729cacbc8b0a4e0387ddade939624a221a34460e3530b
0.85
testing_debugging_repair_refactoring
2,428
false
2026-07-17
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace Elasticsearch.Net.Integration.Yaml.Index10 { public partial class Index10YamlTests { [NCrunch.Framework.ExclusivelyUses("Ela...
alanprot/elasticsearch-net
src/Tests/Elasticsearch.Net.Integration.Yaml/index/55_parent_with_routing.yaml.cs
https://github.com/alanprot/elasticsearch-net/blob/HEAD/src/Tests/Elasticsearch.Net.Integration.Yaml/index/55_parent_with_routing.yaml.cs
ghcode:00002:8bc2d6428c19
apache-2.0
codeparrot/github-code
8bc2d6428c196f359c0cdfe8169285568a62395b9b22a896a59455c48c43163d
0.95
testing_debugging_repair_refactoring
534
false
2026-07-17
//----------------------------------------------------------------------- // <copyright file="Request.cs" company="Microsoft"> // 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. // ...
richorama/azure-sdk-for-mono
microsoft-azure-api/StorageClient/Protocol/Request.cs
https://github.com/richorama/azure-sdk-for-mono/blob/HEAD/microsoft-azure-api/StorageClient/Protocol/Request.cs
ghcode:00002:1be561de3f00
apache-2.0
codeparrot/github-code
1be561de3f00cbeaa8271189d41bbe5b9a43fb773870ba093d2b5c547c36fbf1
0.7
testing_debugging_repair_refactoring
4,043
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.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Completion; using Microsof...
HellBrick/roslyn
src/EditorFeatures/CSharpTest/Completion/CompletionProviders/CrefCompletionProviderTests.cs
https://github.com/HellBrick/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Completion/CompletionProviders/CrefCompletionProviderTests.cs
ghcode:00002:4a304ee15875
apache-2.0
codeparrot/github-code
4a304ee15875e2aed597f8391ef88a75d11ee039b5074db69f0f02a7fb1c411d
0.85
testing_debugging_repair_refactoring
4,970
false
2026-07-17
using System; using static AspectInjector.Tests.Assets.IAssetIface1Wrapper<AspectInjector.Tests.Assets.Asset1>; namespace AspectInjector.Tests.Assets { public class TestAssets { public static int asset1 = 1; public static Asset1 asset2 = new Asset1(); public static short asset3 = 2; ...
pamidur/aspect-injector
tests/AspectInjector.Tests.RuntimeAssets/TestAssets.cs
https://github.com/pamidur/aspect-injector/blob/HEAD/tests/AspectInjector.Tests.RuntimeAssets/TestAssets.cs
ghcode:00002:3efc74bdb86e
apache-2.0
codeparrot/github-code
3efc74bdb86e039dd072420aaa1580876040529905aa80abfcd94363e4aaf01d
0.75
testing_debugging_repair_refactoring
493
false
2026-07-17
// // Copyright 2015 Gustavo J Knuppe (https://github.com/knuppe) // // 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 // /...
knuppe/SharpNL
src/SharpNL.Tests/ML/MaxEnt/QuasiNewton/QNMinimizerTest.cs
https://github.com/knuppe/SharpNL/blob/HEAD/src/SharpNL.Tests/ML/MaxEnt/QuasiNewton/QNMinimizerTest.cs
ghcode:00002:50ee2bd446ef
apache-2.0
codeparrot/github-code
50ee2bd446ef9030b7a3cd2b3b07371d055d338efb37955b934b92d63647ce3f
0.7
testing_debugging_repair_refactoring
604
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Threading; using Microsoft.CodeAna...
MatthieuMEZIL/roslyn
src/Compilers/CSharp/Portable/Symbols/Compilation_WellKnownMembers.cs
https://github.com/MatthieuMEZIL/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Compilation_WellKnownMembers.cs
ghcode:00002:09d94bdcf118
apache-2.0
codeparrot/github-code
09d94bdcf118cd2e61cff4b6fc9596aed2f6a924fd70019ea3fae30437ad6e6f
0.7
testing_debugging_repair_refactoring
6,675
false
2026-07-17
using System.Threading; using FluentAssertions; using GalaSoft.MvvmLight.Messaging; using Ignite.Client.Messaging.EventAggregator; using NUnit.Framework; namespace Ignite.Client.Messaging.Tests { [TestFixture] public class EventAggregatorMvvmLightTests { private bool _messageRecieved; priv...
suchitkkhanna/Ignite
Ignite/Tests/Client/Ignite.Client.Messaging.Tests/EventAggregatorMvvmLightTests.cs
https://github.com/suchitkkhanna/Ignite/blob/HEAD/Ignite/Tests/Client/Ignite.Client.Messaging.Tests/EventAggregatorMvvmLightTests.cs
ghcode:00002:e0e38aeabf2d
apache-2.0
codeparrot/github-code
e0e38aeabf2dc0860dea22538f3b477f3c6441928a532ae4bb6b75925391976f
0.85
testing_debugging_repair_refactoring
257
false
2026-07-17
using System.Linq; using NMoneys; using NUnit.Framework; [TestFixture] public class Linq { [Test] public void all_currencies_can_be_obtained_and_linq_operators_applied() { Assert.That(Currency.FindAll(), Is.Not.Null.And.All.InstanceOf<Currency>()); var allCurrenciesWithoutMinorUnits = Currency.FindAll().Whe...
dgg/NMoneys.Web
src/Web/Content/src/CodeProject/04.Linq.cs
https://github.com/dgg/NMoneys.Web/blob/HEAD/src/Web/Content/src/CodeProject/04.Linq.cs
ghcode:00002:baa43b3b56f6
bsd-2-clause
codeparrot/github-code
baa43b3b56f61e625cd839e51af5cd314bcf8ff6a5fe56b51e0713152509da8e
0.63
testing_debugging_repair_refactoring
113
false
2026-07-17
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace HotDocs.SdkTest { [TestClass] public class UtilTest { [TestMethod] public void GetMimeType() { Assert.AreEqual("image/bmp", HotDocs.Sdk.Util.GetMimeType(".bmp", true)); Assert.AreEqual("image/bmp", HotDocs.Sdk.Util.GetMimeType(".bmp", false)...
HotDocsCorp/hotdocs-open-sdk
HotDocs.SdkTest/UtilTest.cs
https://github.com/HotDocsCorp/hotdocs-open-sdk/blob/HEAD/HotDocs.SdkTest/UtilTest.cs
ghcode:00002:1e673b4ccfa4
bsd-3-clause
codeparrot/github-code
1e673b4ccfa48283ecffea328144b32a25ce372c1e768bd16969da28115cd21a
0.6
testing_debugging_repair_refactoring
348
false
2026-07-17
namespace Samples { using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Owin.Builder; using Owin; using Xunit; public class TestingMsOwinStartup { [Fact] public async Task Should_get_OK() { var app...
Jonne/OwinHttpMessageHandler
src/Samples/TestingMsOwinStartup.cs
https://github.com/Jonne/OwinHttpMessageHandler/blob/HEAD/src/Samples/TestingMsOwinStartup.cs
ghcode:00002:82985ba34f98
mit
codeparrot/github-code
82985ba34f989a66a9e77b50a212cdc935f4f278039bddf6646ed43b5202278c
0.75
testing_debugging_repair_refactoring
254
false
2026-07-17
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Globalization; using Xunit; namespace System.Globalization.Tests { public class Date...
mafiya69/corefx
src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoFullDateTimePattern.cs
https://github.com/mafiya69/corefx/blob/HEAD/src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoFullDateTimePattern.cs
ghcode:00002:d1cf6ab771ee
mit
codeparrot/github-code
d1cf6ab771eeb7d6fad6ec9a6991590986e8a5793908509abd35a862759f17a9
0.95
testing_debugging_repair_refactoring
452
false
2026-07-17
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace SpecEasy { [TestFixture] public class Spec { [...
dpbackes/speceasy
SpecEasy/Spec.cs
https://github.com/dpbackes/speceasy/blob/HEAD/SpecEasy/Spec.cs
ghcode:00002:16fe80016139
mit
codeparrot/github-code
16fe8001613906a89f34323ef11cb09e1da109cd544cbde3ef6242b30141254d
0.75
testing_debugging_repair_refactoring
1,626
false
2026-07-17
using System; using NUnit.Framework; using Raksha.Crypto; using Raksha.Crypto.Engines; using Raksha.Crypto.Parameters; using Raksha.Utilities; using Raksha.Utilities.Encoders; using Raksha.Tests.Utilities; namespace Raksha.Tests.Crypto { /// <summary> Test vectors from the NIST standard tests and Brian Gladman's...
Taggersoft/Raksha
src/Raksha.Tests (net45)/Crypto/AESTest.cs
https://github.com/Taggersoft/Raksha/blob/HEAD/src/Raksha.Tests (net45)/Crypto/AESTest.cs
ghcode:00002:36d8dda07829
mit
codeparrot/github-code
36d8dda0782960aadf8dee7cfd69b3f68d035fbdfeda9c67e75d785deb763d48
0.7
testing_debugging_repair_refactoring
5,057
false
2026-07-17
//----------------------------------------------------------------------- // <copyright file="JournalSpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> //---...
ilhadad/Akka.Persistence.CouchBase
src/Akka.Persistence.TestKit/Journal/JournalSpec.cs
https://github.com/ilhadad/Akka.Persistence.CouchBase/blob/HEAD/src/Akka.Persistence.TestKit/Journal/JournalSpec.cs
ghcode:00002:fa9d7c83b354
apache-2.0
codeparrot/github-code
fa9d7c83b354fae01cc2c7ea355eb08cac4d94111e8982de3b71ef687fd1fe5f
0.85
testing_debugging_repair_refactoring
2,189
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. // Taken from csharp\LanguageAnalysis\Compiler\IDE\LIB\CMEvents.cpp using System; using System.Collections.Generic; using System.Collections.Immutable; usin...
nguerrera/roslyn
src/VisualStudio/CSharp/Impl/CodeModel/CSharpCodeModelService.CodeModelEventCollector.cs
https://github.com/nguerrera/roslyn/blob/HEAD/src/VisualStudio/CSharp/Impl/CodeModel/CSharpCodeModelService.CodeModelEventCollector.cs
ghcode:00002:239bd30df056
apache-2.0
codeparrot/github-code
239bd30df0566c0727bc1d13f7b6d95621621459473fa8cec28e974b6c040eb6
0.85
testing_debugging_repair_refactoring
6,333
false
2026-07-17
// Copyright 2015, 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 applicab...
stevemanderson/googleads-dotnet-lib
tests/AdXBuyer/Util/v201506/MapUtilitiesTest.cs
https://github.com/stevemanderson/googleads-dotnet-lib/blob/HEAD/tests/AdXBuyer/Util/v201506/MapUtilitiesTest.cs
ghcode:00002:cb9d2885f253
apache-2.0
codeparrot/github-code
cb9d2885f253054c38e22371a7477195005d7f83eaa795864f183d8b97e90893
0.85
testing_debugging_repair_refactoring
988
false
2026-07-17
using Lucene.Net.Documents; using Lucene.Net.Index.Extensions; using Lucene.Net.Store; using NUnit.Framework; using System; using Assert = Lucene.Net.TestFramework.Assert; using Console = Lucene.Net.Util.SystemConsole; namespace Lucene.Net.Index { /* * Licensed to the Apache Software Foundation (ASF) under on...
jeme/lucenenet
src/Lucene.Net.Tests/Index/Test2BBinaryDocValues.cs
https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Index/Test2BBinaryDocValues.cs
ghcode:00002:4ab59adc870f
apache-2.0
codeparrot/github-code
4ab59adc870f894f2bbeb8fa6b59f2bf1a31823ab0b202a98a83736ca6654c74
0.85
testing_debugging_repair_refactoring
1,490
false
2026-07-17
using Microsoft.Bot.Connector; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Linq; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Tests.Resource; using Microsoft.Bot.Builder.Resource; using Microsoft.Bot.Builder.Dialogs.Internals; namespace Microsoft.Bot.Builder.Test...
stevengum97/BotBuilder
CSharp/Tests/Microsoft.Bot.Builder.Tests/PromptRecognizerTests.cs
https://github.com/stevengum97/BotBuilder/blob/HEAD/CSharp/Tests/Microsoft.Bot.Builder.Tests/PromptRecognizerTests.cs
ghcode:00002:049f8d9d4359
mit
codeparrot/github-code
049f8d9d4359b17ee233a3e5d68ff06f3fba949e12448de189a58c5a9af42ccc
0.85
testing_debugging_repair_refactoring
3,122
false
2026-07-17
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Collections.Generic; using System.Linq; using Xunit.Abstractions; using Xunit.Sdk; namespace Microsoft.UnitTests.Core.XUnit { public class InlineAr...
AlexanderSher/RTVS
src/UnitTests/Core/Impl/XUnit/InlineArrayDiscoverer.cs
https://github.com/AlexanderSher/RTVS/blob/HEAD/src/UnitTests/Core/Impl/XUnit/InlineArrayDiscoverer.cs
ghcode:00002:657e0ff3beca
mit
codeparrot/github-code
657e0ff3becac4d8b636acd4309914991e7de83c4eec6f4c8358204143fa7e0d
0.85
testing_debugging_repair_refactoring
157
false
2026-07-17
using System; using System.Threading; using System.Collections.Generic; using NUnit.Framework; using StatsdClient; using Tests.Helpers; namespace Tests { // Most of StatsUDP is tested in StatsdUnitTests. This is mainly to test the splitting of oversized UDP packets [TestFixture] public class StatsUDPTests ...
DarrellMozingo/statsd-csharp-client
src/Tests/StatsdUDPTests.cs
https://github.com/DarrellMozingo/statsd-csharp-client/blob/HEAD/src/Tests/StatsdUDPTests.cs
ghcode:00002:f840efaa4378
mit
codeparrot/github-code
f840efaa437843824140bdc4f4b02645f008933241e2072ef45ee9549350c8d0
0.95
testing_debugging_repair_refactoring
1,239
false
2026-07-17
using System.IO; using Calamari.Integration.FileSystem; using Calamari.Tests.Helpers; using NUnit.Framework; using Octostache; namespace Calamari.Tests.Fixtures.ScriptCS { [TestFixture] public class ScriptCSFixture : CalamariFixture { [Test, RequiresDotNet45] public void ShouldPrintEncoded...
allansson/Calamari
source/Calamari.Tests/Fixtures/ScriptCS/ScriptCSFixture.cs
https://github.com/allansson/Calamari/blob/HEAD/source/Calamari.Tests/Fixtures/ScriptCS/ScriptCSFixture.cs
ghcode:00002:2627981b7868
apache-2.0
codeparrot/github-code
2627981b78684da0a9289430aab74de1c360b3628d757b495baa8938de9bb692
0.6
testing_debugging_repair_refactoring
416
false
2026-07-17
using System; using Nest; namespace Tests.Mapping.Types.Core.Binary { public class BinaryTest { [Binary( DocValues = true, IndexName = "myindex", Similarity = SimilarityOption.Default, Store = true)] public string Full { get; set; } [Binary] public string Minimal { get; set; } } public cl...
jonyadamit/elasticsearch-net
src/Tests/Mapping/Types/Core/Binary/BinaryMappingTests.cs
https://github.com/jonyadamit/elasticsearch-net/blob/HEAD/src/Tests/Mapping/Types/Core/Binary/BinaryMappingTests.cs
ghcode:00002:2fdc83cd54d0
apache-2.0
codeparrot/github-code
2fdc83cd54d0adca47f39cfa61aed2f1e5c4d6bc6ed4dd5ba199029010f2e958
0.85
testing_debugging_repair_refactoring
283
false
2026-07-17
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
papicella/snappy-store
gemfirexd/client/test/csharp/adonet-auto/AdoNetTest.BIN/Connection/GetSchemaFunctions.cs
https://github.com/papicella/snappy-store/blob/HEAD/gemfirexd/client/test/csharp/adonet-auto/AdoNetTest.BIN/Connection/GetSchemaFunctions.cs
ghcode:00002:73f540cc5872
apache-2.0
codeparrot/github-code
73f540cc58721e8bb5419fb01bbacfd9ae4f5ecf2ead249e02760c03b4c91ca6
0.95
testing_debugging_repair_refactoring
349
false
2026-07-17
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="LongRelatedTests.cs" company=""> // Copyright 2013 Thomas PIERRAIN // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in ...
NFluent/NFluent
code/tests/NFluent.Tests.Generated/LongRelatedTests.cs
https://github.com/NFluent/NFluent/blob/HEAD/code/tests/NFluent.Tests.Generated/LongRelatedTests.cs
ghcode:00002:676b0833129b
apache-2.0
codeparrot/github-code
676b0833129b17b3ea9debf9f6efea4a36f80f456a4cebe8bab8a3d5849d65ae
0.95
testing_debugging_repair_refactoring
4,593
false
2026-07-17
using System; namespace ExpressMapper.Tests.Model.ViewModels { public class FlattenFatherSonDtoForGrandsonDto { public int MyInt { get; set; } public string MyString { get; set; } public int SonMyInt { get; set; } public string SonMyString { get; set; } public Flatten...
bo-stig-christensen/ExpressMapper
ExpressMapper.Tests.Model/ViewModels/FlattenFatherSonDtoForGrandsonDto.cs
https://github.com/bo-stig-christensen/ExpressMapper/blob/HEAD/ExpressMapper.Tests.Model/ViewModels/FlattenFatherSonDtoForGrandsonDto.cs
ghcode:00002:a52ab4eb2c06
apache-2.0
codeparrot/github-code
a52ab4eb2c06ddd3694106ece7ef295d083cdd8dbdb0d836801888b75c245df8
0.75
testing_debugging_repair_refactoring
88
false
2026-07-17
namespace Microsoft.WindowsAzure.Management.ExpressRoute.Testing { using System; using System.Linq; using System.Net; using Azure.Management.ExpressRoute.Testing; using Azure.Test; using ExpressRoute; using ExpressRoute.Models; using Hyak.Common; using Management; using Xunit; ...
ailn/azure-sdk-for-net
src/ServiceManagement/ExpressRoute/ExpressRoute.Tests/DedicatedCircuitOperationTests.cs
https://github.com/ailn/azure-sdk-for-net/blob/HEAD/src/ServiceManagement/ExpressRoute/ExpressRoute.Tests/DedicatedCircuitOperationTests.cs
ghcode:00002:0c603fb14953
apache-2.0
codeparrot/github-code
0c603fb1495366d0329827d75eae22389be1f42207e4fed9c0956d0db0b66193
0.75
testing_debugging_repair_refactoring
2,728
false
2026-07-17
#if DOTNET35 using Xunit; namespace Rhino.Mocks.Tests { public class WhenCalledTests { [Fact] public void Shortcut_to_arg_is_equal() { // minor hack to get this to work reliably, we reset the arg manager, // and restore on in the MockRepository ctor, so we do it this way new MockRepository(); As...
hibernating-rhinos/rhino-mocks
Rhino.Mocks.Tests/WhenCalledTests.cs
https://github.com/hibernating-rhinos/rhino-mocks/blob/HEAD/Rhino.Mocks.Tests/WhenCalledTests.cs
ghcode:00002:5c2199468ebc
bsd-3-clause
codeparrot/github-code
5c2199468ebc48ed8f8736184649e3ab8c6656834309ea4f94964e4fbb892faf
0.75
testing_debugging_repair_refactoring
373
false
2026-07-17
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using Xunit; namespace System.Linq.Parallel.Tests { public class GroupByTests...
shahid-pk/corefx
src/System.Linq.Parallel/tests/QueryOperators/GroupByTests.cs
https://github.com/shahid-pk/corefx/blob/HEAD/src/System.Linq.Parallel/tests/QueryOperators/GroupByTests.cs
ghcode:00002:abb02db5f169
mit
codeparrot/github-code
abb02db5f169c6431c8a25f6894b1aa66564db8b05e3aea50e8f9a36f887fbce
0.95
testing_debugging_repair_refactoring
6,026
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.Immutable; using System.Linq; using System.Text; using System.Threading; using System.Thre...
mavasani/roslyn
src/Workspaces/CoreTest/SolutionTests/SolutionWithSourceGeneratorTests.cs
https://github.com/mavasani/roslyn/blob/HEAD/src/Workspaces/CoreTest/SolutionTests/SolutionWithSourceGeneratorTests.cs
ghcode:00002:4e2c3f0486ad
mit
codeparrot/github-code
4e2c3f0486adbd79e1e0109a247bff422d826275c06a1a6a2999e9a274378507
0.85
testing_debugging_repair_refactoring
7,806
false
2026-07-17
using Xunit; using System; using System.Xml; namespace XmlDocumentTests.XmlDocumentTests { public class CreateAttributeTests { [Fact] public static void CreateBasicAttributeTest() { var xmlDocument = new XmlDocument(); var attribute = xmlDocument.CreateAttribute(...
0xMF/corefx
src/System.Xml.XmlDocument/tests/XmlDocumentTests/CreateAttributeTests.cs
https://github.com/0xMF/corefx/blob/HEAD/src/System.Xml.XmlDocument/tests/XmlDocumentTests/CreateAttributeTests.cs
ghcode:00002:a8ef9fe1ee5e
mit
codeparrot/github-code
a8ef9fe1ee5ee830e8875319ac38725838055f5a34017f9222b65a7405df88d1
0.85
testing_debugging_repair_refactoring
355
false
2026-07-17
// *********************************************************************** // Copyright (c) 2012-2014 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, ...
jeremymeng/nunit
src/NUnitFramework/framework/Api/DefaultTestAssemblyBuilder.cs
https://github.com/jeremymeng/nunit/blob/HEAD/src/NUnitFramework/framework/Api/DefaultTestAssemblyBuilder.cs
ghcode:00002:e5a20f0ba316
mit
codeparrot/github-code
e5a20f0ba3165fa434a2c9e7ac8f9b036cca9a440fb28eb616acf9189fcd45e4
0.7
testing_debugging_repair_refactoring
1,656
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Diagnostics; using Microsoft.VisualStudio.Text; namespace TestUtilities.Mocks { public class MockTextSnapshotLine : ITextSnaps...
lukedgr/nodejstools
Common/Tests/Utilities/Mocks/MockTextSnapshotLine.cs
https://github.com/lukedgr/nodejstools/blob/HEAD/Common/Tests/Utilities/Mocks/MockTextSnapshotLine.cs
ghcode:00002:7ab464c71362
apache-2.0
codeparrot/github-code
7ab464c713622ce904036765a535524860d811dc380c7c7776142e5606f72818
0.85
testing_debugging_repair_refactoring
498
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.Diagnostics; using System.Reflection; using System.Reflection.Emit; using Sys...
shmao/corefx
src/System.Private.Xml/src/System/Xml/Xsl/IlGen/XmlILModule.cs
https://github.com/shmao/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Xsl/IlGen/XmlILModule.cs
ghcode:00002:cb67f433b541
mit
codeparrot/github-code
cb67f433b54123757278130c3d4853a3067318fb851bd563b26e53831a584848
0.95
testing_debugging_repair_refactoring
2,900
false
2026-07-17
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.IO; using System.Xml; using System.Xml.Schema; using Xunit; using Xunit.Abstractions; namespace System...
shmao/corefx
src/System.Private.Xml/tests/XmlSchema/XmlSchemaValidatorApi/GetExpectedParticles.cs
https://github.com/shmao/corefx/blob/HEAD/src/System.Private.Xml/tests/XmlSchema/XmlSchemaValidatorApi/GetExpectedParticles.cs
ghcode:00002:33d4023b50ed
mit
codeparrot/github-code
33d4023b50edad6930aa5ca4dd8c8a0edd12cd55b1075ae1498e388021b3916f
0.95
testing_debugging_repair_refactoring
4,309
false
2026-07-17
#region License // // Copyright (c) 2018, Fluent Migrator Project // // 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 ...
schambers/fluentmigrator
test/FluentMigrator.Tests/Unit/Expressions/DeleteSchemaExpressionTests.cs
https://github.com/schambers/fluentmigrator/blob/HEAD/test/FluentMigrator.Tests/Unit/Expressions/DeleteSchemaExpressionTests.cs
ghcode:00002:c2ce9ea94e46
apache-2.0
codeparrot/github-code
c2ce9ea94e463bce68426a9f746c65cf26b045291fb6064bc12fb7e3957746b6
0.85
testing_debugging_repair_refactoring
319
false
2026-07-17
/* * Copyright 2011 Software Freedom Conservancy. * * 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...
jmt4/Selenium2
dotnet/test/Selenium.Core.Tests/DefaultSeleniumTest.cs
https://github.com/jmt4/Selenium2/blob/HEAD/dotnet/test/Selenium.Core.Tests/DefaultSeleniumTest.cs
ghcode:00002:340bd395f089
apache-2.0
codeparrot/github-code
340bd395f0895bd3b9d3c090019b1319a86e2278240f7369d04c8073380ec52e
0.95
testing_debugging_repair_refactoring
1,066
false
2026-07-17
using System; using System.Collections.Generic; namespace ServiceStack.Logging { /// <summary> /// Tests logger which stores all log messages in a member list which can be examined later /// /// Made public so its testable /// </summary> public class TestLogger : ILog { /// <summary>...
Pathfinder-Fr/YAFNET
yafsrc/ServiceStack/ServiceStack.Interfaces/Logging/TestLogger.cs
https://github.com/Pathfinder-Fr/YAFNET/blob/HEAD/yafsrc/ServiceStack/ServiceStack.Interfaces/Logging/TestLogger.cs
ghcode:00002:47efcaa47a46
apache-2.0
codeparrot/github-code
47efcaa47a46ab8a773a45598c3a998a0da07a04e112db9cac9cd69c41973c43
0.85
testing_debugging_repair_refactoring
869
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.Immutable; using System.IO; using Microsoft.CodeAnalysis.CSharp.Test.Utilities; using Rosl...
jmarolf/roslyn
src/Compilers/CSharp/Test/Emit/Emit/DesktopStrongNameProviderTests.cs
https://github.com/jmarolf/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/Emit/DesktopStrongNameProviderTests.cs
ghcode:00002:95a66a155ae3
mit
codeparrot/github-code
95a66a155ae31a70b0f6d54d4cdea4ed5d55b1e173b0b328f1456c9ae5d82edf
0.95
testing_debugging_repair_refactoring
478
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 BatchClientIntegrationTests { using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Syste...
ayeletshpigelman/azure-sdk-for-net
sdk/batch/Microsoft.Azure.Batch/tests/IntegrationTests/CloudPoolIntegrationTests.cs
https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/batch/Microsoft.Azure.Batch/tests/IntegrationTests/CloudPoolIntegrationTests.cs
ghcode:00002:8b215bc0bc04
mit
codeparrot/github-code
8b215bc0bc040faf531e4b0166fa92c607561c553736d0416c9bba903d94c984
0.82
testing_debugging_repair_refactoring
13,248
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.Linq; using System.Threading; using System.Threading.Tasks; using Mi...
DustinCampbell/roslyn
src/VisualStudio/Core/Def/Implementation/FindReferences/Contexts/WithReferencesFindUsagesContext.cs
https://github.com/DustinCampbell/roslyn/blob/HEAD/src/VisualStudio/Core/Def/Implementation/FindReferences/Contexts/WithReferencesFindUsagesContext.cs
ghcode:00002:b41db0ea1dc6
apache-2.0
codeparrot/github-code
b41db0ea1dc6b75c47e3f783d1d90b4f4c3dd3f955e2770fcc99c20591a4bf68
0.85
testing_debugging_repair_refactoring
2,063
false
2026-07-17
using MyGUI.Sharp; namespace TestApp.Sharp { public class Test_TextBox { public static void Test() { TextBox text = Gui.Instance.CreateWidget<TextBox>("TextBox", new IntCoord(320, 220, 100, 100), Align.Default, "Main"); text.Caption = "TextBox"; Colour colour = text.TextColour; text.TextColour = Col...
al2950/mygui
Wrappers/TestApp_Sharp/Test_TextBox.cs
https://github.com/al2950/mygui/blob/HEAD/Wrappers/TestApp_Sharp/Test_TextBox.cs
ghcode:00002:29bcb64e6bd9
mit
codeparrot/github-code
29bcb64e6bd99246ea97a0b9dd628d32ce8fb308bd301b9c19167f34697b8ca7
0.75
testing_debugging_repair_refactoring
164
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.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using ...
weltkante/roslyn
src/Compilers/CSharp/Portable/Symbols/Source/SourceUserDefinedOperatorSymbolBase.cs
https://github.com/weltkante/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/SourceUserDefinedOperatorSymbolBase.cs
ghcode:00002:5eafc2afbe2c
apache-2.0
codeparrot/github-code
5eafc2afbe2c3d327aff1ef533e83934deb2a730f8819aaced2637052ff491c9
0.85
testing_debugging_repair_refactoring
5,525
false
2026-07-17
using NUnit.Framework; using SIL.DictionaryServices.Model; using SIL.TestUtilities; namespace SIL.DictionaryServices.Tests { [TestFixture] public class LiftLexEntryRepositoryEventTests { private bool _gotEventCall; [SetUp] public void Setup() { _gotEventCall = false; } [Test] public void NewEntr...
tombogle/libpalaso
SIL.DictionaryServices.Tests/LexEntryRepositoryEventTests.cs
https://github.com/tombogle/libpalaso/blob/HEAD/SIL.DictionaryServices.Tests/LexEntryRepositoryEventTests.cs
ghcode:00002:8a018b0f39bf
mit
codeparrot/github-code
8a018b0f39bf55e56b79eae6ecb0f0fb680626ae04b6aceb8ab6f1a826ac7e12
0.75
testing_debugging_repair_refactoring
556
false
2026-07-17
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Microsoft.Extensions.DependencyModel.Tests , PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c56...
borgdylan/dotnet-cli
test/Microsoft.DotNet.Tools.Tests.Utilities/Properties/Properties.cs
https://github.com/borgdylan/dotnet-cli/blob/HEAD/test/Microsoft.DotNet.Tools.Tests.Utilities/Properties/Properties.cs
ghcode:00002:2282ca969e5b
mit
codeparrot/github-code
2282ca969e5b0f84b0305fd1bfb51dd2b3f0a900e5fd25c541d1f3c7a10ed8ce
0.75
testing_debugging_repair_refactoring
617
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 ...
antony-liu/npoi
testcases/main/SS/Formula/Functions/TestComplex.cs
https://github.com/antony-liu/npoi/blob/HEAD/testcases/main/SS/Formula/Functions/TestComplex.cs
ghcode:00002:23bb3ba9f0ea
apache-2.0
codeparrot/github-code
23bb3ba9f0ea25e46ffe95be94319c0bba5bcc2a85db4422c163298b2d902d1d
0.85
testing_debugging_repair_refactoring
879
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.Diagnostics; using System.Runtime.CompilerServices; using System.Threading.Tasks; using Xunit; namespace System.Threadin...
lydonchandra/corefx
src/System.Threading/tests/ThreadLocalTests.cs
https://github.com/lydonchandra/corefx/blob/HEAD/src/System.Threading/tests/ThreadLocalTests.cs
ghcode:00002:b72b9d20cd1b
mit
codeparrot/github-code
b72b9d20cd1be86349b629d2e3a908e04f2cedc50b74a41e9657ee7da01f783e
0.95
testing_debugging_repair_refactoring
3,611
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.Dynamic.Utils; using System.Reflection; namespace System.Linq....
mafiya69/corefx
src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/SubInstruction.cs
https://github.com/mafiya69/corefx/blob/HEAD/src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/SubInstruction.cs
ghcode:00003:26115b74e28a
mit
codeparrot/github-code
26115b74e28a1feab800521cbb450b0a112f450d1693a3b894ac9b43609940a2
0.95
testing_debugging_repair_refactoring
2,986
false
2026-07-17
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.IO; using System.Reflection; using System.Reflection.Emit; using System.Linq; using Xunit; namespace S...
Jiayili1/corefx
src/System.Diagnostics.TraceSource/tests/DefaultTraceListenerClassTests.netcoreapp.cs
https://github.com/Jiayili1/corefx/blob/HEAD/src/System.Diagnostics.TraceSource/tests/DefaultTraceListenerClassTests.netcoreapp.cs
ghcode:00003:4cf2476b573d
mit
codeparrot/github-code
4cf2476b573d0b410b648465a81d2fbad1fea2870121860dc1cb97394aed19b4
0.95
testing_debugging_repair_refactoring
689
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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp; using Microsoft....
VSadov/roslyn
src/EditorFeatures/CSharpTest/UseExpressionBody/Analyzer/UseExpressionBodyForPropertiesAnalyzerTests.cs
https://github.com/VSadov/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/UseExpressionBody/Analyzer/UseExpressionBodyForPropertiesAnalyzerTests.cs
ghcode:00003:196c8979e6e3
apache-2.0
codeparrot/github-code
196c8979e6e3716e8201c7408761ffe19265cacd1281c465d9171868c9221f3a
0.85
testing_debugging_repair_refactoring
2,490
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Immutable; using System.IO; using System.Linq; using System.Text; using Microsoft.CodeAnalysis.CSharp.Symbols; using M...
v-codeel/roslyn
src/Compilers/CSharp/Test/Symbol/Symbols/CompilationCreationTests.cs
https://github.com/v-codeel/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Symbols/CompilationCreationTests.cs
ghcode:00003:dec18cd30ec0
apache-2.0
codeparrot/github-code
dec18cd30ec0497809878cab9d545e979130f2fcd92613105e9c2d5ef3a8626b
0.75
testing_debugging_repair_refactoring
36,058
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.Linq; using System.Reflection; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.Co...
MatthieuMEZIL/roslyn
src/Compilers/CSharp/Test/Semantic/Semantics/ScriptSemanticsTests.cs
https://github.com/MatthieuMEZIL/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/ScriptSemanticsTests.cs
ghcode:00003:dfef159a90b7
apache-2.0
codeparrot/github-code
dfef159a90b79841f27b9a7af036132caf4b724a7f56a1e73f1565acaaf89d01
0.95
testing_debugging_repair_refactoring
8,842
false
2026-07-17
using FluentMigrator.Exceptions; using FluentMigrator.Runner.Generators.Oracle; using NUnit.Framework; using NUnit.Should; namespace FluentMigrator.Tests.Unit.Generators.OracleWithQuotedIdentifier { [TestFixture] public class OracleColumnTests : BaseColumnTests { protected OracleGenerator Generato...
wolfascu/fluentmigrator
src/FluentMigrator.Tests/Unit/Generators/OracleWithQuotedIdentifier/OracleColumnTests.cs
https://github.com/wolfascu/fluentmigrator/blob/HEAD/src/FluentMigrator.Tests/Unit/Generators/OracleWithQuotedIdentifier/OracleColumnTests.cs
ghcode:00003:712c877e7499
apache-2.0
codeparrot/github-code
712c877e7499c750ce0fd0e709d19d18c556179e3bfed7e03cc950533a782f0b
0.75
testing_debugging_repair_refactoring
1,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. #nullable disable using Microsoft.CodeAnalysis.Shared.Extensions; using Microsoft.CodeAnalysis.Text; using Roslyn....
physhi/roslyn
src/Workspaces/CoreTest/Shared/Extensions/TextSpanExtensions/SubtractTests.cs
https://github.com/physhi/roslyn/blob/HEAD/src/Workspaces/CoreTest/Shared/Extensions/TextSpanExtensions/SubtractTests.cs
ghcode:00003:d73187a7c5fd
apache-2.0
codeparrot/github-code
d73187a7c5fdab9cf3b2ad554923d92a23acfacd3309da046191ef080687962d
0.85
testing_debugging_repair_refactoring
2,382
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. // Summary: Test suite for the below scenario: // An array of tasks that can have different workloads // WaitAny and...
shimingsg/corefx
src/System.Threading.Tasks/tests/Task/TaskWaitAllAnyTest.cs
https://github.com/shimingsg/corefx/blob/HEAD/src/System.Threading.Tasks/tests/Task/TaskWaitAllAnyTest.cs
ghcode:00003:617367964922
mit
codeparrot/github-code
617367964922a9cbae745183ae013e910d54dc18c9a32f1118bc949af40d9608
0.95
testing_debugging_repair_refactoring
13,438
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.Linq; using Xunit; namespace System.Collections.Tests { /// <sum...
iamjasonp/corefx
src/System.Collections/tests/Generic/List/List.Generic.Tests.Reverse.cs
https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Collections/tests/Generic/List/List.Generic.Tests.Reverse.cs
ghcode:00003:8d694e145189
mit
codeparrot/github-code
8d694e14518925536ee91a3dd2d26f67b8a42f3b219a40de9fea2c04a392c783
0.95
testing_debugging_repair_refactoring
1,330
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.Linq; using Microsoft.CodeAnalysis.Text; using Roslyn.Test.Utilities; using Xunit; namespace Microsoft.CodeAn...
robinsedlaczek/roslyn
src/Test/Utilities/Portable/Metadata/MetadataSignatureUnitTestHelper.cs
https://github.com/robinsedlaczek/roslyn/blob/HEAD/src/Test/Utilities/Portable/Metadata/MetadataSignatureUnitTestHelper.cs
ghcode:00003:617f20ef9a19
apache-2.0
codeparrot/github-code
617f20ef9a19c40522d04af7f5975cf1119622330c4dca5ff4f0dd8d6afd9f35
0.95
testing_debugging_repair_refactoring
1,300
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.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Diagnostics; using System.Net; using Sy...
vs-team/corefx
src/System.Net.WebSockets.Client/src/System/Net/WebSockets/ClientWebSocket.cs
https://github.com/vs-team/corefx/blob/HEAD/src/System.Net.WebSockets.Client/src/System/Net/WebSockets/ClientWebSocket.cs
ghcode:00003:9fd45f5395be
mit
codeparrot/github-code
9fd45f5395be838ebdbd982554823792ae9f9922b4f89f1345ebede9c2c0741c
0.95
testing_debugging_repair_refactoring
1,651
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.Globalization; using Xunit; namespace System.Globalization.Tests { public class StringInfoGetTextElementEnumerator2 { privat...
vs-team/corefx
src/System.Globalization/tests/StringInfo/StringInfoGetTextElementEnumerator2.cs
https://github.com/vs-team/corefx/blob/HEAD/src/System.Globalization/tests/StringInfo/StringInfoGetTextElementEnumerator2.cs
ghcode:00003:6dcebaefc395
mit
codeparrot/github-code
6dcebaefc39509a50f3814ad6cd70abe7c32f394b525e6d118eb90b64091fd98
0.95
testing_debugging_repair_refactoring
755
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.Concurrent; using System.Diagnostics; using Xunit; namespace System.Threading.Tasks.Tests ...
iamjasonp/corefx
src/System.Threading.Tasks.Parallel/tests/RangePartitionerTests.cs
https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Threading.Tasks.Parallel/tests/RangePartitionerTests.cs
ghcode:00003:431418150c11
mit
codeparrot/github-code
431418150c117d2cdb44e7122d7858b4a54bac47c63a64b2c62fdfa093602184
0.95
testing_debugging_repair_refactoring
2,355
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.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; usi...
robinsedlaczek/roslyn
src/Compilers/Test/Utilities/CSharp/CSharpTrackingDiagnosticAnalyzer.cs
https://github.com/robinsedlaczek/roslyn/blob/HEAD/src/Compilers/Test/Utilities/CSharp/CSharpTrackingDiagnosticAnalyzer.cs
ghcode:00003:daef10c33df3
apache-2.0
codeparrot/github-code
daef10c33df3fddd0385ebad45bdfb035793c93915ba6358b8c97462959a8aa3
0.85
testing_debugging_repair_refactoring
248
false
2026-07-17
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.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.Linq; /// <...
sergey-shandar/autorest
Samples/test/end-to-end/network/Client/Models/ApplicationGatewayHttpListener.cs
https://github.com/sergey-shandar/autorest/blob/HEAD/Samples/test/end-to-end/network/Client/Models/ApplicationGatewayHttpListener.cs
ghcode:00003:3ed023fb49ea
mit
codeparrot/github-code
3ed023fb49ea7afa9fa6e1d7ae27b50d394075074606025d5c0afbb7f5a93dec
0.95
testing_debugging_repair_refactoring
1,129
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CK.Releaser; using NUnit.Framework; namespace CK.Stamp.Fody.Tests { [TestFixture] public class ReleaseTagVersionTests { [TestCase( "v0.0.0-master" )] [TestCase( "v3.0.1-develop" )] [TestCase...
Invenietis/CK-Stamp
Tests/CK.Stamp.Fody.Tests/ReleaseTagVersionTests.cs
https://github.com/Invenietis/CK-Stamp/blob/HEAD/Tests/CK.Stamp.Fody.Tests/ReleaseTagVersionTests.cs
ghcode:00003:691715249e7c
mit
codeparrot/github-code
691715249e7ca4f2ed9db88e76f2cde7e536cdebaa04d32fe65925053e1f1bfd
0.75
testing_debugging_repair_refactoring
413
false
2026-07-17
using System.Collections.Generic; using System.Linq; using NRack.Helpers; using NRack.Mock; using NUnit.Framework; namespace NRack.Specs { [TestFixture] public class UrlMap_Specs { [Test] public void Should_Dispatch_Paths_Correctly() { var app = DetachedApp...
kevinswiber/NRack
test/NRack.Specs/UrlMap_Specs.cs
https://github.com/kevinswiber/NRack/blob/HEAD/test/NRack.Specs/UrlMap_Specs.cs
ghcode:00003:dff4aab5be72
mit
codeparrot/github-code
dff4aab5be72b102d0930b4f810427747fd4219970708d236cab716f1853dd60
0.7
testing_debugging_repair_refactoring
2,177
false
2026-07-17
using System; using UnityEngine; public class CsTestGlobalFunction { static TestClass _p = null; static private int GetTestClassObject(IntPtr ctx) { if (_p == null) _p = new TestClass(); Uts.Bind.PushCsObject(ctx, _p, "TestClass"); return 1; } static public void Reg...
freedot/uts
Assets/Scripts/test/CsTestGlobalFunction.cs
https://github.com/freedot/uts/blob/HEAD/Assets/Scripts/test/CsTestGlobalFunction.cs
ghcode:00003:80e269f01884
mit
codeparrot/github-code
80e269f0188463de4e8dce747428be61b7045053a533281630b030ad0708dc24
0.85
testing_debugging_repair_refactoring
122
false
2026-07-17
// // System.Xml.XmlNodeTests // // Authors: // Kral Ferch <kral_ferch@hotmail.com> // Martin Willemoes Hansen // // (C) 2002 Kral Ferch // (C) 2003 Martin Willemoes Hansen // using System; using System.IO; using System.Text; using System.Xml; using NUnit.Framework; namespace MonoTests.System.Xml { [TestFixture...
jjenki11/blaze-chem-rendering
qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.XML/Test/System.Xml/XmlNodeTests.cs
https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.XML/Test/System.Xml/XmlNodeTests.cs
ghcode:00003:cd533f77310b
mit
codeparrot/github-code
cd533f77310b4ac3af097f9a62a1fc7b6946b86be5860e3f6ee7faea2fab16e4
0.95
testing_debugging_repair_refactoring
4,109
false
2026-07-17
using System; using NUnit.Framework; namespace MatrixRefactoring.Tests { [TestFixture] public class MatrixTests { [Test] public void Martix_WhenInvalidRows_ShouldThrowArgumentOutOfRangeException() { Assert.Throws<ArgumentOutOfRangeException>(() => new Matrix(-5, 2, 0));...
marianamn/Telerik-Academy-Activities
Homeworks/11. CSharp-High quality code Part2/03. Refactoring/MatrixRefactoring.Tests/MatrixTests.cs
https://github.com/marianamn/Telerik-Academy-Activities/blob/HEAD/Homeworks/11. CSharp-High quality code Part2/03. Refactoring/MatrixRefactoring.Tests/MatrixTests.cs
ghcode:00003:f4ab775b22fe
mit
codeparrot/github-code
f4ab775b22fedb08f42c66b52a52d016ac1a921ef3570ce88eb62f0730728fc5
0.75
testing_debugging_repair_refactoring
324
false
2026-07-17
using System; using System.Linq; using System.Diagnostics; using DataStructures.Graphs; namespace C_Sharp_Algorithms.DataStructuresTests { public static class Graphs_UndirectedWeightedSparseGraphTest { public static void DoTest() { var graph = new UndirectedWeightedSparseGraph<str...
qdimka/C-Sharp-Algorithms
MainProgram/DataStructuresTests/Graphs_UndirectedWeightedSparseGraphTest.cs
https://github.com/qdimka/C-Sharp-Algorithms/blob/HEAD/MainProgram/DataStructuresTests/Graphs_UndirectedWeightedSparseGraphTest.cs
ghcode:00003:9e0e0afa38ef
mit
codeparrot/github-code
9e0e0afa38ef4fb3ab85a62622ddd81893255984cfaf3864811b80862eecb4e9
0.7
testing_debugging_repair_refactoring
2,290
false
2026-07-17
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Azure.Core.TestFramework; using Azure.Monitor.Query.Models; using NUnit.Framework; namespace Azure.Monitor.Query.Tests...
Azure/azure-sdk-for-net
sdk/monitor/Azure.Monitor.Query/tests/MetricsQueryClientLiveTests.cs
https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/monitor/Azure.Monitor.Query/tests/MetricsQueryClientLiveTests.cs
ghcode:00003:d41a2b7ecdae
mit
codeparrot/github-code
d41a2b7ecdaeb204f764bec1069f171d4f70410f2860a1ef31d950934db4a936
0.95
testing_debugging_repair_refactoring
2,314
false
2026-07-17
using Xunit; namespace AspNetMvcSeo.Tests { public class SeoMetaKeywordsAttributeTest { [Fact] public void OnHandleSeoValues_TestMetaKeywords_SetsMetaKeywords() { // Arrange var attribute = new SeoMetaKeywordsAttribute(TestData.TestMetaKeywords); va...
sebnilsson/AspNetMvcSeo
tests/AspNetMvcSeo.Tests/SeoMetaKeywordsAttributeTest.cs
https://github.com/sebnilsson/AspNetMvcSeo/blob/HEAD/tests/AspNetMvcSeo.Tests/SeoMetaKeywordsAttributeTest.cs
ghcode:00003:674da5e53e94
mit
codeparrot/github-code
674da5e53e94aadc5733bc8ae288ba8dd335856b8010f3823f4e348a8b39ef63
0.7
testing_debugging_repair_refactoring
220
false
2026-07-17
// Licensed under the MIT License. See LICENSE in the git repository root for license information. using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading; using Ecwid.Legacy; using Xunit; namespace Ecwid.Test.Real.Legacy { /// <summary> /// Tests with real http responses. /// </...
kroniak/extensions-ecwid
test/Ecwid.Test/Real.Legacy/LegacyClientOrdersRealTest.cs
https://github.com/kroniak/extensions-ecwid/blob/HEAD/test/Ecwid.Test/Real.Legacy/LegacyClientOrdersRealTest.cs
ghcode:00003:57151057953e
mit
codeparrot/github-code
57151057953ed4e58df7259700cb17f9f9e6f8d43550c0184115930903b800bf
0.7
testing_debugging_repair_refactoring
1,813
false
2026-07-17
using FclEx.Enums; using Xunit; namespace FclEx.Extensions.ObjectExtensions { public class CastToTests { [Fact] public void ObjectToIntCastTest() { object i = 5; var actual = i.CastTo<int>(); var expected = (int)i; Assert.Equal(expected, ...
huoshan12345/FclEx
test/FclEx.Test/FclEx/Extensions/ObjectExtensions/CastToTests.cs
https://github.com/huoshan12345/FclEx/blob/HEAD/test/FclEx.Test/FclEx/Extensions/ObjectExtensions/CastToTests.cs
ghcode:00003:beecafaf6d80
mit
codeparrot/github-code
beecafaf6d80a64c99dbc8d43694df25d417e83e3984cfb238f6bd4fe55d1fda
0.75
testing_debugging_repair_refactoring
519
false
2026-07-17
// File name: AbstractCache.cs // // Author(s): Alessio Parma <alessio.parma@gmail.com> // // The MIT License (MIT) // // Copyright (c) 2014-2018 Alessio Parma <alessio.parma@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and // associated documentation f...
pomma89/KVLite
src/PommaLabs.KVLite/AbstractCache.cs
https://github.com/pomma89/KVLite/blob/HEAD/src/PommaLabs.KVLite/AbstractCache.cs
ghcode:00003:304c7c93be9a
mit
codeparrot/github-code
304c7c93be9a4bc4616a3e3d65adccbfcc1a4a1c15c5bd372591da0095cca608
0.57
testing_debugging_repair_refactoring
14,905
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"); y...
joshball/Lucene.In.Action.NET
vendor/lucene.net/test/contrib/Memory/MemoryIndexTest.cs
https://github.com/joshball/Lucene.In.Action.NET/blob/HEAD/vendor/lucene.net/test/contrib/Memory/MemoryIndexTest.cs
ghcode:00003:a61b960dda3a
mit
codeparrot/github-code
a61b960dda3a193839ff4e2de3b0273d9bb1dc3fb1e1e54632c4d242eb5fc3da
0.95
testing_debugging_repair_refactoring
1,824
false
2026-07-17
namespace Slinqy.Test.Functional.Models.ExampleAppPages { using System; using System.Globalization; using OpenQA.Selenium; using OpenQA.Selenium.Support.PageObjects; using OpenQA.Selenium.Support.UI; using Utilities.Polling; using Utilities.Selenium; using Utilities.Strings; /// <s...
rakutensf-malex/slinqy
Source/Slinqy.Test.Functional/Models/ExampleAppPages/QueueClientSection.cs
https://github.com/rakutensf-malex/slinqy/blob/HEAD/Source/Slinqy.Test.Functional/Models/ExampleAppPages/QueueClientSection.cs
ghcode:00003:055e4f598b7f
mit
codeparrot/github-code
055e4f598b7f975c2f89eb3723b29c28e0b6df26a216f9cda144487a56153c45
0.85
testing_debugging_repair_refactoring
1,691
false
2026-07-17
using System; class ForwardingTests { void Fn() { string s = null; if (!s.IsNullOrEmpty()) { Console.WriteLine(s.Length); // GOOD } if (s.IsNotNullOrEmpty()) { Console.WriteLine(s.Length); // GOOD } if (!s.IsNull()) ...
github/codeql
csharp/ql/test/query-tests/Nullness/Forwarding.cs
https://github.com/github/codeql/blob/HEAD/csharp/ql/test/query-tests/Nullness/Forwarding.cs
ghcode:00003:0a2bea58af06
mit
codeparrot/github-code
0a2bea58af06b009ce31c42f12e17b3385cf71512ff48768f8ab7993371308da
0.95
testing_debugging_repair_refactoring
347
false
2026-07-17
#pragma warning disable RCS1210 // Return completed task instead of returning null using NUnit.Framework; using System; using System.Threading; using System.Threading.Tasks; namespace MonoTests.System.Threading.Tasks { internal class TaskContinuationChainLeakTester { private int _counter; pri...
theraot/Theraot
Tests/System/Threading/Tasks/TaskContinuationChainLeakTester.cs
https://github.com/theraot/Theraot/blob/HEAD/Tests/System/Threading/Tasks/TaskContinuationChainLeakTester.cs
ghcode:00003:7e48eb6a6dc0
mit
codeparrot/github-code
7e48eb6a6dc0d9b2251a68bb09fe17a131c3dbe4e0715a4671a437c1d4441b14
0.6
testing_debugging_repair_refactoring
246
false
2026-07-17
using System.Collections.Generic; using System.Linq; using NUnit.Framework; using VkNet.Tests.Infrastructure; namespace VkNet.Tests.Categories.Audio { [TestFixture] public class AudioAddToPlaylistTest : CategoryBaseTest { protected override string Folder => "Audio"; [Test] public void AddToPlaylistTest() ...
vknet/vk
VkNet.Tests/Categories/Audio/AudioAddToPlaylistTest.cs
https://github.com/vknet/vk/blob/HEAD/VkNet.Tests/Categories/Audio/AudioAddToPlaylistTest.cs
ghcode:00003:e188057237c5
mit
codeparrot/github-code
e188057237c57150660f081d214cc8fea72f8dc69296fb4a732e693473273b88
0.6
testing_debugging_repair_refactoring
185
false
2026-07-17
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using F23Bag.AutomaticUI; using F23Bag.AutomaticUI.Layouts; using F23Bag.Tests.AutomaticUITestElements; using F23Bag.Domain; using System.Reflection; namespace F23Bag.Tests { [TestClass] publ...
olgstein/F23Bag
Src/F23Bag.Tests/AutomaticUITests.cs
https://github.com/olgstein/F23Bag/blob/HEAD/Src/F23Bag.Tests/AutomaticUITests.cs
ghcode:00003:e10fc10ddcbe
mit
codeparrot/github-code
e10fc10ddcbe2973d7ba95c817f4b08a2cab5fddba09640b55999efb5d8ddb47
0.75
testing_debugging_repair_refactoring
2,374
false
2026-07-17
/* * Farseer Physics Engine: * Copyright (c) 2012 Ian Qvist * * Original source Box2D: * Copyright (c) 2006-2011 Erin Catto http://www.box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of ...
Xaer033/YellowSign
YellowSignUnity/Assets/ThirdParty/Networking/TrueSync/Physics/Farseer/Collision/DynamicTree.cs
https://github.com/Xaer033/YellowSign/blob/HEAD/YellowSignUnity/Assets/ThirdParty/Networking/TrueSync/Physics/Farseer/Collision/DynamicTree.cs
ghcode:00003:1dd91a36bf86
mit
codeparrot/github-code
1dd91a36bf86eb300b7e98d418c358da4a629d1d0fc282080cb2dceae6fc4352
0.7
testing_debugging_repair_refactoring
7,333
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace System.Text.Tests { [TestClass()] public class IndexOfCharTests { [TestMethod()] public void TestContainingCharac...
xperiandri/StringBuilderExtensions
StringBuilderExtensionsTests/IndexOfCharTests.cs
https://github.com/xperiandri/StringBuilderExtensions/blob/HEAD/StringBuilderExtensionsTests/IndexOfCharTests.cs
ghcode:00003:d97ddde1aca4
mit
codeparrot/github-code
d97ddde1aca4cf7caf3010e2ebcbbc11aac769ba017f47eb67ab8150c957fb0c
0.75
testing_debugging_repair_refactoring
1,253
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MassiveDynamicProxyGenerator.SimpleInjector.Tests.Services { public interface ITestMessager { void Send(); } }
harrison314/MassiveDynamicProxyGenerator
src/Test/MassiveDynamicProxyGenerator.SimpleInjector.Tests/Services/ITestMessager.cs
https://github.com/harrison314/MassiveDynamicProxyGenerator/blob/HEAD/src/Test/MassiveDynamicProxyGenerator.SimpleInjector.Tests/Services/ITestMessager.cs
ghcode:00003:b2e80d619520
mit
codeparrot/github-code
b2e80d619520d251c90a51c1ed34cd830809885d1e8ac513d0e48c86ffee9ea8
0.85
testing_debugging_repair_refactoring
49
false
2026-07-17
using System; using NUnit.Framework; using TAlex.Common.Helpers; namespace TAlex.Common.Tests.Helpers { [TestFixture] public class ConvertExTests { [TestCase(20, "20 bytes")] [TestCase(2049, "2 KB")] [TestCase(2500, "2.44 KB")] [TestCase(2703360, "2.58 MB")] [TestCa...
T-Alex/Common
src/TAlex.Common.Tests/Helpers/ConvertExTests.cs
https://github.com/T-Alex/Common/blob/HEAD/src/TAlex.Common.Tests/Helpers/ConvertExTests.cs
ghcode:00003:53e0a80c8eee
mit
codeparrot/github-code
53e0a80c8eeea25ee508b85200673974d97bdeba515e6526bc2839a12cde8400
0.75
testing_debugging_repair_refactoring
193
false
2026-07-17
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using PokerLeagueManager.Commands.Domain.Infrastructure; using PokerLeagueManager.Common.Infrastructure; using PokerLeagueManager.Common.Tests...
dylan-smith/pokerleaguemanager
src/PokerLeagueManager.Commands.Tests/Infrastructure/BaseCommandTest.cs
https://github.com/dylan-smith/pokerleaguemanager/blob/HEAD/src/PokerLeagueManager.Commands.Tests/Infrastructure/BaseCommandTest.cs
ghcode:00003:86548b33f93f
mit
codeparrot/github-code
86548b33f93fc50e8e4b15f3b4ee7da609e24fa68ba43916735436138eb63f4f
0.6
testing_debugging_repair_refactoring
1,056
false
2026-07-17
using System.Threading; using System.Threading.Tasks; using Moq; using Platibus.Diagnostics; using Xunit; namespace Platibus.UnitTests.Diagnostics { [Trait("Category", "UnitTests")] public class FilteringSinkTests { protected Mock<IDiagnosticEventSink> Inner; protected DiagnosticEvent Even...
sweetlandj/Platibus
Source/Platibus.UnitTests/Diagnostics/FilteringSinkTests.cs
https://github.com/sweetlandj/Platibus/blob/HEAD/Source/Platibus.UnitTests/Diagnostics/FilteringSinkTests.cs
ghcode:00003:321f279d0b75
mit
codeparrot/github-code
321f279d0b7553e9b4dfdac263c2ba1567f9925c8ff6210904dab0399c9002e5
0.75
testing_debugging_repair_refactoring
639
false
2026-07-17
/******************************************************************** The Multiverse Platform is made available under the MIT License. Copyright (c) 2012 The Multiverse Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
longde123/MultiversePlatform
client/Serialization/HardwareBufferHelper.cs
https://github.com/longde123/MultiversePlatform/blob/HEAD/client/Serialization/HardwareBufferHelper.cs
ghcode:00003:88b0d205c9e2
mit
codeparrot/github-code
88b0d205c9e257f4da122594a973154f0273f301b54942cd0c37a87bac9a7b34
0.85
testing_debugging_repair_refactoring
4,731
false
2026-07-17
using Xunit; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Nexmo.Api.Voice.Nccos; using Nexmo.Api.Voice.EventWebhooks; using Newtonsoft.Json; namespace Nexmo.Api.Test.Unit { public class MultiInputTests : TestBase { [Fact]...
Nexmo/nexmo-dotnet
Nexmo.Api.Test.Unit/MultiInputTests.cs
https://github.com/Nexmo/nexmo-dotnet/blob/HEAD/Nexmo.Api.Test.Unit/MultiInputTests.cs
ghcode:00003:5f0d47415b8c
mit
codeparrot/github-code
5f0d47415b8c526dcb9c92d98b27bf1da3c2f025ef58a3a04a174de519c83c82
0.85
testing_debugging_repair_refactoring
1,198
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AllReady.Areas.Admin.Features.Tasks; using AllReady.Features.Notifications; using AllReady.Models; using MediatR; using Microsoft.Extensions.DependencyInjection; using Moq; using Xunit; using Shouldly; us...
auroraocciduusadmin/allReady
AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Tasks/TaskStatusChangeHandlerTests.cs
https://github.com/auroraocciduusadmin/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Tasks/TaskStatusChangeHandlerTests.cs
ghcode:00003:92e4bd56d81c
mit
codeparrot/github-code
92e4bd56d81c289556e12aa1ede3583c4fdf782d7c40c56a515da76e4da853ec
0.75
testing_debugging_repair_refactoring
3,461
false
2026-07-17
using NUnit.Framework; using Unity; using UnityConfiguration.Services; namespace UnityConfiguration { [TestFixture] public class ScanForRegistriesConventionTests { [Test] public void Finds_all_registries() { var container = new UnityContainer(); ...
thedersen/UnityConfiguration
src/UnityConfiguration.Tests/ScanForRegistriesConventionTests.cs
https://github.com/thedersen/UnityConfiguration/blob/HEAD/src/UnityConfiguration.Tests/ScanForRegistriesConventionTests.cs
ghcode:00003:0ffcfa78042f
mit
codeparrot/github-code
0ffcfa78042f8287cb80e0b07097f6ff733e25f73f3fcd0c86cd85c3f037a333
0.75
testing_debugging_repair_refactoring
261
false
2026-07-17
using Xunit; namespace Nethereum.Util.UnitTests { public class Sha3Tests { [Fact] public void ShouldCalculateHashFromHexForMultipleStrings() { var keccak = new Sha3Keccack(); var result = keccak.CalculateHashFromHex( "0x93cdeb708b7545dc668eb928017...
Nethereum/Nethereum
tests/Nethereum.Util.UnitTests/Sha3Tests.cs
https://github.com/Nethereum/Nethereum/blob/HEAD/tests/Nethereum.Util.UnitTests/Sha3Tests.cs
ghcode:00003:8a177be7503a
mit
codeparrot/github-code
8a177be7503aeb363057e51e18170f79a54a50fd61c552e648551bd4c1770aaf
0.75
testing_debugging_repair_refactoring
252
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 Microsoft.CSharp; using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; us...
v-am/Vipr
test/CSharpLiteWriterUnitTests/CodeGenTestBase.cs
https://github.com/v-am/Vipr/blob/HEAD/test/CSharpLiteWriterUnitTests/CodeGenTestBase.cs
ghcode:00003:20ed3271428e
mit
codeparrot/github-code
20ed3271428e3b402d21b67e189cb9e233f0d7ecd3f739be956c68fda7cb9356
0.6
testing_debugging_repair_refactoring
1,317
false
2026-07-17
using Llvm.NET; using Llvm.NET.DebugInfo; using Llvm.NET.Instructions; using Llvm.NET.Types; using Llvm.NET.Values; using Microsoft.Zelig.CodeGeneration.IR; using Microsoft.Zelig.Debugging; using Microsoft.Zelig.Runtime.TypeSystem; using System; using System.Collections.Generic; using System.Diagnostics; using System....
ZachNL/llilum
Zelig/Zelig/CompileTime/CodeGenerator/CodeTransformation/LLVM/_BasicBlock.cs
https://github.com/ZachNL/llilum/blob/HEAD/Zelig/Zelig/CompileTime/CodeGenerator/CodeTransformation/LLVM/_BasicBlock.cs
ghcode:00003:c28fac427518
mit
codeparrot/github-code
c28fac427518a22fa156b81023b4eccfada7b83145bed6c8d0c9511c876b6b47
0.85
testing_debugging_repair_refactoring
5,979
false
2026-07-17
/* -*- Mode: csharp; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ // // DeflateStreamTest.cs - NUnit Test Cases for the System.IO.Compression.DeflateStream class // // Authors: // Christopher James Lahey <clahey@ximian.com> // // (C) 2004 Novell, Inc. <http://www.novell.com> // #if NET_2_0 using NUn...
jjenki11/blaze-chem-rendering
qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System/Test/System.IO.Compression/DeflateStreamTest.cs
https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System/Test/System.IO.Compression/DeflateStreamTest.cs
ghcode:00003:1d6e15327ec5
mit
codeparrot/github-code
1d6e15327ec567acd018516d40e92ec254a29182fea45d6d899f31a5c26cb54f
0.95
testing_debugging_repair_refactoring
2,388
false
2026-07-17
using FluentAssertions; using Machine.Specifications; using SkyFilter.Azure.Contracts; using SkyFilter.Azure.Tables; namespace SkyFilter.Azure.Tests.WhereLessThanOrEqual { [Subject(typeof(GenerateTableFilter), "WhereLessThanOrEqual")] internal class When_I_generate_a_filter_where_a_long_partition_key_is_less_t...
Bomret/SkyFilter.Azure
SkyFilter.Azure.Tests/WhereLessThanOrEqual/When_I_generate_a_filter_where_a_long_partition_key_is_less_than_or_equal_to_10L.cs
https://github.com/Bomret/SkyFilter.Azure/blob/HEAD/SkyFilter.Azure.Tests/WhereLessThanOrEqual/When_I_generate_a_filter_where_a_long_partition_key_is_less_than_or_equal_to_10L.cs
ghcode:00003:39655b4a3376
mit
codeparrot/github-code
39655b4a337656ba9d67e8b573e1ea243b269f7f5c5e3c9cdb97bdda25054155
0.6
testing_debugging_repair_refactoring
163
false
2026-07-17
using Xunit; public class MarkdownTests { [Fact] public void Parses_normal_text_as_a_paragraph() { var markdown = "This will be a paragraph"; var expected = "<p>This will be a paragraph</p>"; Assert.Equal(expected, Markdown.Parse(markdown)); } [Fact] public void Parsing...
exercism/xcsharp
exercises/practice/markdown/MarkdownTests.cs
https://github.com/exercism/xcsharp/blob/HEAD/exercises/practice/markdown/MarkdownTests.cs
ghcode:00003:dfe0b58c4e68
mit
codeparrot/github-code
dfe0b58c4e6865c1dcdf6b7247a59735d60e637faf75ba0fd619f86adfb904ba
0.75
testing_debugging_repair_refactoring
944
false
2026-07-17
namespace StudentGroups_09_19 { using System; using System.Collections.Generic; using System.Linq; class TestLINQandExtension { public static void Main() { var graduateStudents = new List<Student> { new Student("Dimitar", "Dimitrov", 122102, "+359883665456",...
PikataGitHub/CSharp-OOP
03. Extension Methods - LINQ/StudentGroups-09-19/TestLINQandExtension.cs
https://github.com/PikataGitHub/CSharp-OOP/blob/HEAD/03. Extension Methods - LINQ/StudentGroups-09-19/TestLINQandExtension.cs
ghcode:00003:23623129e3b5
mit
codeparrot/github-code
23623129e3b5c7dbb426c9377cc0a41883b9910f33c591104cc6f9b089e17334
0.85
testing_debugging_repair_refactoring
1,782
false
2026-07-17
using Nancy.OpenApi.Models; using Nancy.OpenApi.Tests.Fakes; using Nancy.Testing; using Newtonsoft.Json; using NUnit.Framework; namespace Nancy.OpenApi.Tests { public class GivenOpenApiModule { [Test] public void WhenIMakeDocumentationRequestOnDefaultRoute_ThenSwaggerDocumentationIsRendered() ...
thesheps/nancy.openapi
tests/Nancy.OpenApi.Tests/GivenOpenApiModule.cs
https://github.com/thesheps/nancy.openapi/blob/HEAD/tests/Nancy.OpenApi.Tests/GivenOpenApiModule.cs
ghcode:00003:f9ae73dcde80
mit
codeparrot/github-code
f9ae73dcde80107ecfa40a4979741b75340747336d0f4e7baabbace413454241
0.6
testing_debugging_repair_refactoring
969
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. #nullable enable using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using...
peppy/osu-new
osu.Game/Online/Multiplayer/MultiplayerClient.cs
https://github.com/peppy/osu-new/blob/HEAD/osu.Game/Online/Multiplayer/MultiplayerClient.cs
ghcode:00003:bb1eb61a6688
mit
codeparrot/github-code
bb1eb61a6688270c9181422668747b2c59f61b4437e7d87a686b981bcc537a90
0.85
testing_debugging_repair_refactoring
4,853
false
2026-07-17
using ApprovalTests; using ApprovalTests.Reporters; using NUnit.Framework; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SnapDb.Tests.Unit { [TestFixture(Category = "Unit")] [UseReporter(typeof(DiffReporter))] ...
jessebarocio/SnapDb
SnapDb.Tests/Unit/TestJsonNetSnapSerializer.cs
https://github.com/jessebarocio/SnapDb/blob/HEAD/SnapDb.Tests/Unit/TestJsonNetSnapSerializer.cs
ghcode:00003:e9e9c3d2bf65
mit
codeparrot/github-code
e9e9c3d2bf65d7b0bb512569e7d7f8f83c45bdce36d8d5e4edcb86c02bd7057f
0.75
testing_debugging_repair_refactoring
401
false
2026-07-17