text
stringlengths
40
299k
repo_name
stringlengths
7
71
path
stringlengths
4
235
source_url
stringlengths
45
289
commit_or_blob_id
stringlengths
25
25
license
stringclasses
7 values
source_dataset
stringclasses
1 value
content_sha256
stringlengths
64
64
quality_score
float64
0.2
0.95
category_slice
stringclasses
1 value
token_count
int64
11
109k
is_synthetic
bool
1 class
collected_at
stringdate
2026-07-17 00:00:00
2026-07-17 00:00:00
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Linq; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeRefactorings; using Microsoft.Cod...
davkean/roslyn
src/EditorFeatures/CSharpTest/PullMemberUp/CSharpPullMemberUpTests.cs
https://github.com/davkean/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/PullMemberUp/CSharpPullMemberUpTests.cs
ghcode:00000:fb7ac15548e1
apache-2.0
codeparrot/github-code
fb7ac15548e128232e7fc1afe4b102a905fadb0e91f7b093bec52501ec4830bb
0.72
testing_debugging_repair_refactoring
14,644
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 Cake.Common.Tests.Fixtures.Tools.NuGet.Packer; using Cake.Com...
RehanSaeed/cake
src/Cake.Common.Tests/Unit/Tools/NuGet/Pack/NuGetPackerTests.cs
https://github.com/RehanSaeed/cake/blob/HEAD/src/Cake.Common.Tests/Unit/Tools/NuGet/Pack/NuGetPackerTests.cs
ghcode:00000:a611468c96da
mit
codeparrot/github-code
a611468c96da9a72a49a96092a8623298fdcbc5a60699c06186c66207c660e87
0.85
testing_debugging_repair_refactoring
8,453
false
2026-07-17
using System.IO; using System.Linq; using Bloom.Publish; using Bloom.web.controllers; using NUnit.Framework; namespace BloomTests.Book { public class AccessibilityCheckersTests : BookTestsBase { [SetUp] public void SetupFixture() { _collectionSettings = CreateDefaultCollectionsSettings(); _bookData = Cr...
StephenMcConnel/BloomDesktop
src/BloomTests/Book/AccessibilityCheckersTests.cs
https://github.com/StephenMcConnel/BloomDesktop/blob/HEAD/src/BloomTests/Book/AccessibilityCheckersTests.cs
ghcode:00000:76490ee8aa76
mit
codeparrot/github-code
76490ee8aa76c2684803f54395d3f3552e30b59ff53efce2a3df53ceb134da71
0.85
testing_debugging_repair_refactoring
3,818
false
2026-07-17
using Entitas; public class SomeStartSystem : IStartSystem { public void Start() { } }
michax/Entitas-CSharp
Entitas.Unity.VisualDebugging/Assets/Tests/Systems/SomeStartSystem.cs
https://github.com/michax/Entitas-CSharp/blob/HEAD/Entitas.Unity.VisualDebugging/Assets/Tests/Systems/SomeStartSystem.cs
ghcode:00000:3111b07ed2b3
mit
codeparrot/github-code
3111b07ed2b39d0b6be6e2a4d8e1d0f407b10c286425ff7b526b51fdbb7f707f
0.45
testing_debugging_repair_refactoring
23
false
2026-07-17
using HarshPoint.Provisioning.Implementation; using System; using System.Collections.Generic; using System.Reflection; using Xunit; using Xunit.Abstractions; namespace HarshPoint.Tests.Provisioning { public class TestProvisioningDefaultValuePolicy : SeriloggedTest { public TestProvisioningDefaultValue...
the-ress/HarshPoint
test/HarshPoint.Tests/Provisioning/TestProvisioningDefaultValuePolicy.cs
https://github.com/the-ress/HarshPoint/blob/HEAD/test/HarshPoint.Tests/Provisioning/TestProvisioningDefaultValuePolicy.cs
ghcode:00000:c8800ce937a6
bsd-2-clause
codeparrot/github-code
c8800ce937a683abe30ea1ea894a381f8fe26899ccb2774eaabcaeeb0bb034ea
0.68
testing_debugging_repair_refactoring
478
false
2026-07-17
// DotNetNuke® - http://www.dnnsoftware.com // Copyright (c) 2002-2018, DNN Corp. // All Rights Reserved using System; using System.Linq; using DotNetNuke.Entities.Portals; namespace DNN.Integration.Test.Framework.Helpers { public class PortalInfoHelper { public static PortalInfo GetPortalInfo(int po...
RichardHowells/Dnn.Platform
DNN Platform/Tests/DNN.Integration.Test.Framework/Helpers/PortalInfoHelper.cs
https://github.com/RichardHowells/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DNN.Integration.Test.Framework/Helpers/PortalInfoHelper.cs
ghcode:00000:8caef693fbb5
mit
codeparrot/github-code
8caef693fbb58b1d818fd2daf4b66db14a8290fa5cdd566fa85eb655ff31d9d1
0.95
testing_debugging_repair_refactoring
364
false
2026-07-17
using System; using System.Collections.Generic; using System.Text; using NUnit.Framework; using OpenQA.Selenium.Environment; using System.Text.RegularExpressions; namespace OpenQA.Selenium { [TestFixture] public class TextHandlingTest : DriverTestFixture { private string newLine = "\r\n...
jmt4/Selenium2
dotnet/test/WebDriver.Common.Tests/TextHandlingTest.cs
https://github.com/jmt4/Selenium2/blob/HEAD/dotnet/test/WebDriver.Common.Tests/TextHandlingTest.cs
ghcode:00000:876d39e8bb92
apache-2.0
codeparrot/github-code
876d39e8bb926ef0b7e329a3497f71b323f90f2f8a2e943709f078381506912c
0.95
testing_debugging_repair_refactoring
1,972
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 Microsoft.CodeAnalysis.Test.Utilities; using Microsoft.CodeAnalysis.Text.Shared.Extensions; using Microsoft.V...
davkean/roslyn
src/EditorFeatures/Test/Extensions/ITextSnapshotLineExtensionsTests.cs
https://github.com/davkean/roslyn/blob/HEAD/src/EditorFeatures/Test/Extensions/ITextSnapshotLineExtensionsTests.cs
ghcode:00000:f6a35665af50
apache-2.0
codeparrot/github-code
f6a35665af50059d0e751ef227740e97aea574eb6dc235725dca0ab3a4bed2eb
0.95
testing_debugging_repair_refactoring
1,254
false
2026-07-17
// // Tests for System.Xml.Serialization.SoapElementAttribute // // Author: // Gert Driesen // // (C) 2005 Novell // using System.Xml.Serialization; using NUnit.Framework; namespace MonoTests.System.XmlSerialization { [TestFixture] public class SoapElementAttributeTests { [Test] public void DataTypeDefault ...
matthid/Yaaf.Xmpp.Runtime
src/source/System.XML/Test/System.Xml.Serialization/SoapElementAttributeTests.cs
https://github.com/matthid/Yaaf.Xmpp.Runtime/blob/HEAD/src/source/System.XML/Test/System.Xml.Serialization/SoapElementAttributeTests.cs
ghcode:00000:d7afec1b6629
apache-2.0
codeparrot/github-code
d7afec1b66291798ff77aef04ebe1ca5932a8d1eba84bf438cf1761d258cfe77
0.95
testing_debugging_repair_refactoring
234
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.IO; using Microsoft.Xunit.Performance; namespace System.Tests { public class Perf_Random { [Benchmark] public void ctor() ...
stormleoxia/corefx
src/System.Runtime.Extensions/tests/Performance/Perf.Random.cs
https://github.com/stormleoxia/corefx/blob/HEAD/src/System.Runtime.Extensions/tests/Performance/Perf.Random.cs
ghcode:00000:cf4d76176f4d
mit
codeparrot/github-code
cf4d76176f4d4edb6684c5ec63defda61568684bf52494d41382dae27e4c77ba
0.85
testing_debugging_repair_refactoring
442
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.SpanTests { public static partial class ReadOnlySpanTests { [Fact] ...
BrennanConroy/corefx
src/System.Memory/tests/ReadOnlySpan/SequenceEqual.T.cs
https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Memory/tests/ReadOnlySpan/SequenceEqual.T.cs
ghcode:00000:a8240a1b2a68
mit
codeparrot/github-code
a8240a1b2a68df1b9bb81dcd6d2440680324409b0115224a26679847e0eb8052
0.95
testing_debugging_repair_refactoring
1,202
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Threading; usin...
JohnHamby/roslyn
src/Compilers/CSharp/Portable/Symbols/Source/SourceNamespaceSymbol.cs
https://github.com/JohnHamby/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/SourceNamespaceSymbol.cs
ghcode:00000:4a5ac8ffb6e7
apache-2.0
codeparrot/github-code
4a5ac8ffb6e7ba7cd8d76c1901214496b7668197154da7f2619a7653c41e8b63
0.7
testing_debugging_repair_refactoring
3,403
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces; using Microsoft.CodeAnalys...
DustinCampbell/roslyn
src/VisualStudio/CSharp/Test/Debugging/NameResolverTests.cs
https://github.com/DustinCampbell/roslyn/blob/HEAD/src/VisualStudio/CSharp/Test/Debugging/NameResolverTests.cs
ghcode:00000:02af1e2a4e4c
apache-2.0
codeparrot/github-code
02af1e2a4e4c164b3b033efe3daa282a2f1483ac0ad14deeb7fd92e7831531f9
0.95
testing_debugging_repair_refactoring
5,160
false
2026-07-17
using NUnit.Framework; using Shouldly.Tests.TestHelpers; namespace Shouldly.Tests.Strings.ShouldNotStartWith { public class ShouldIgnoreCaseByDefault : ShouldlyShouldTestScenario { protected override void ShouldThrowAWobbly() { "Cheese".ShouldNotStartWith("cH", "Some additional co...
yannisgu/shouldly
src/Shouldly.Tests/Strings/ShouldNotStartWith/ShouldIgnoreCaseByDefault.cs
https://github.com/yannisgu/shouldly/blob/HEAD/src/Shouldly.Tests/Strings/ShouldNotStartWith/ShouldIgnoreCaseByDefault.cs
ghcode:00000:2687beceee82
bsd-3-clause
codeparrot/github-code
2687beceee8255e4b9d8db02c32373c04f9103be0529ea7b7539adc2e2488b98
0.6
testing_debugging_repair_refactoring
152
false
2026-07-17
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using Microsoft.WindowsAzure.Storage.Blob; using Moq.Language.Flow; namespace Microsoft.Azure.WebJobs.Host.UnitTests.Blobs { internal static class S...
brendankowitz/azure-webjobs-sdk
test/Microsoft.Azure.WebJobs.Host.UnitTests/Blobs/Bindings/SetupOfCloudBlobStreamIAsyncResultExtensions.cs
https://github.com/brendankowitz/azure-webjobs-sdk/blob/HEAD/test/Microsoft.Azure.WebJobs.Host.UnitTests/Blobs/Bindings/SetupOfCloudBlobStreamIAsyncResultExtensions.cs
ghcode:00000:c9634a02c8a7
mit
codeparrot/github-code
c9634a02c8a7146b51d6ecb4f82b6c5c007dc68d4c1e32dde10c63c254535dd1
0.6
testing_debugging_repair_refactoring
424
false
2026-07-17
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; namespace Dashboard.Data { public class FunctionIndexEntry ...
brendankowitz/azure-webjobs-sdk
src/Dashboard/Data/FunctionIndexEntry.cs
https://github.com/brendankowitz/azure-webjobs-sdk/blob/HEAD/src/Dashboard/Data/FunctionIndexEntry.cs
ghcode:00000:3c1e00973b7f
mit
codeparrot/github-code
3c1e00973b7f86ae8a3b7a796a78c0f924611a692a644498dea36ccfe13f8ea0
0.6
testing_debugging_repair_refactoring
968
false
2026-07-17
using System; using System.Net; using Xunit; using Microsoft.Azure.Management.BatchAI; using Microsoft.Azure.Management.BatchAI.Models; using Microsoft.Rest.ClientRuntime.Azure.TestFramework; namespace BatchAI.Tests { public class CreateJobTests { /* Tests simple scenario for a job - submit, check re...
SiddharthChatrolaMs/azure-sdk-for-net
src/SDKs/BatchAI/BatchAI.Tests/CreateJobTests.cs
https://github.com/SiddharthChatrolaMs/azure-sdk-for-net/blob/HEAD/src/SDKs/BatchAI/BatchAI.Tests/CreateJobTests.cs
ghcode:00000:9d2f2876f990
apache-2.0
codeparrot/github-code
9d2f2876f99090883c75e4a2a1e69155f7712288630ad60e96712604e3111da0
0.75
testing_debugging_repair_refactoring
476
false
2026-07-17
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
devigned/azure-powershell
src/ResourceManager/Sql/Commands.Sql.Test/UnitTests/AzureSqlDataSyncTests.cs
https://github.com/devigned/azure-powershell/blob/HEAD/src/ResourceManager/Sql/Commands.Sql.Test/UnitTests/AzureSqlDataSyncTests.cs
ghcode:00000:ad20f0c93734
apache-2.0
codeparrot/github-code
ad20f0c9373498db6f4422059fe4b278d2d6871cbca25ec7ec58110ca5684330
0.85
testing_debugging_repair_refactoring
451
false
2026-07-17
using System; using System.Collections.Generic; using System.Xml; using Moq; using NUnit.Framework; using Umbraco.Core; using Umbraco.Core.Cache; using Umbraco.Core.Composing; using Umbraco.Core.Configuration.UmbracoSettings; using Umbraco.Core.Events; using Umbraco.Core.Logging; using Umbraco.Core.Models; using Umbra...
hfloyd/Umbraco-CMS
src/Umbraco.Tests/Scoping/ScopedXmlTests.cs
https://github.com/hfloyd/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Scoping/ScopedXmlTests.cs
ghcode:00000:3a877535c42a
mit
codeparrot/github-code
3a877535c42a41e9c9a7ed6447ab616c5d20023d5670b61ad74569f22d498cb2
0.85
testing_debugging_repair_refactoring
2,214
false
2026-07-17
// *********************************************************************** // Copyright (c) 2007 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, inclu...
undeadlabs/msgpack-cli
test/NUnitLite/src/tests/Constraints/UniqueItemsConstraintTests.cs
https://github.com/undeadlabs/msgpack-cli/blob/HEAD/test/NUnitLite/src/tests/Constraints/UniqueItemsConstraintTests.cs
ghcode:00000:fded8f78e77f
apache-2.0
codeparrot/github-code
fded8f78e77f912b16556b79ba92710129215bc3cf4ad7ac058b3aedafedb74d
0.95
testing_debugging_repair_refactoring
412
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 ...
agoncharuk/ignite
modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Cache/CacheEntryFilterHolder.cs
https://github.com/agoncharuk/ignite/blob/HEAD/modules/platform/src/main/dotnet/Apache.Ignite.Core/Impl/Cache/CacheEntryFilterHolder.cs
ghcode:00000:74736e0d2d5e
apache-2.0
codeparrot/github-code
74736e0d2d5e1c8c5d61b133536b25b8257cb830299f830af0c4601fa06d3535
0.8
testing_debugging_repair_refactoring
1,110
false
2026-07-17
//--------------------------------------------------------------------- // <copyright file="ODataLibRegressionTests.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //-----------------------------...
hotchandanisagar/odata.net
test/EndToEndTests/Tests/Client/Build.Desktop/RegressionTests/ODataLibRegressionTests.cs
https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/EndToEndTests/Tests/Client/Build.Desktop/RegressionTests/ODataLibRegressionTests.cs
ghcode:00000:17d96cc6e8ec
mit
codeparrot/github-code
17d96cc6e8ecd6f6ca1ab2452a53485854ab713b53b22255452ddc7fe6a1d3f8
0.95
testing_debugging_repair_refactoring
640
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.Linq; using System.Threading; using System.Threading.Tasks; using Xunit; namespace S...
BrennanConroy/corefx
src/System.Net.Http/tests/FunctionalTests/HttpClientTest.cs
https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Net.Http/tests/FunctionalTests/HttpClientTest.cs
ghcode:00000:8b6b834f59b5
mit
codeparrot/github-code
8b6b834f59b5db29e068339880c940b85de17dc6e0ac0e1ee40b484374282104
0.95
testing_debugging_repair_refactoring
3,671
false
2026-07-17
using NUnit.Framework; using RefactoringEssentials.CSharp.CodeRefactorings; namespace RefactoringEssentials.Tests.CSharp.CodeRefactorings { [TestFixture] public class InvertConditionalOperatorTests : CSharpCodeRefactoringTestBase { [Test] public void TestCase1() { Test<I...
mrward/RefactoringEssentials
Tests/CSharp/CodeRefactorings/InvertConditionalOperatorTests.cs
https://github.com/mrward/RefactoringEssentials/blob/HEAD/Tests/CSharp/CodeRefactorings/InvertConditionalOperatorTests.cs
ghcode:00000:3d16b51e1525
mit
codeparrot/github-code
3d16b51e1525efa2f640b76fca3214944fda892c2a6728b3f702008dc63c5148
0.75
testing_debugging_repair_refactoring
577
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 Microsoft.Win32.SafeHandles; using System; using System.IO; using Xunit; namespace System.IO.Tests { publ...
Petermarcu/corefx
src/System.IO.FileSystem/tests/FileStream/ctor_sfh_fa_buffer_async.cs
https://github.com/Petermarcu/corefx/blob/HEAD/src/System.IO.FileSystem/tests/FileStream/ctor_sfh_fa_buffer_async.cs
ghcode:00000:49d1a3a9024c
mit
codeparrot/github-code
49d1a3a9024c62a66cb57155a474a74a71994424651fddde6fcd3eca00af0c79
0.95
testing_debugging_repair_refactoring
418
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.Threading.Tasks; using Microsoft.CodeAnalysis.Completion.Providers; using Microsoft...
ErikSchierboom/roslyn
src/EditorFeatures/CSharpTest2/Recommendations/ULongKeywordRecommenderTests.cs
https://github.com/ErikSchierboom/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/ULongKeywordRecommenderTests.cs
ghcode:00000:a0074df201b2
apache-2.0
codeparrot/github-code
a0074df201b21fd4a620a42265506303db77f5fac757e65d79350c51e3ad70af
0.85
testing_debugging_repair_refactoring
4,824
false
2026-07-17
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ListBuilderTests.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // ----------------------------------------------------------------------------...
oxyplot/oxyplot
Source/OxyPlot.Tests/Utilities/ListBuilderTests.cs
https://github.com/oxyplot/oxyplot/blob/HEAD/Source/OxyPlot.Tests/Utilities/ListBuilderTests.cs
ghcode:00000:eceea10c8dea
mit
codeparrot/github-code
eceea10c8dea3d51a03e3f937b0e68e05c9bece6943b7096f4fcf3c0437f817d
0.85
testing_debugging_repair_refactoring
502
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 Xunit; namespace System.IO.Tests { public class Uma_ReadWriteStruct : Uma_TestStructs {...
krk/corefx
src/System.IO.UnmanagedMemoryStream/tests/Uma.ReadWriteStruct.cs
https://github.com/krk/corefx/blob/HEAD/src/System.IO.UnmanagedMemoryStream/tests/Uma.ReadWriteStruct.cs
ghcode:00000:99ba59c3be2f
mit
codeparrot/github-code
99ba59c3be2fc1e77d1cf9921665e439c7d0f4a13f1c51b8d7adff302d92628f
0.95
testing_debugging_repair_refactoring
1,574
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 System.IO; namespace Microsoft.CodeAnalysis.Scripting.Hosting { internal class ConsoleIO { pub...
pdelvo/roslyn
src/Scripting/Core/Hosting/CommandLine/ConsoleIO.cs
https://github.com/pdelvo/roslyn/blob/HEAD/src/Scripting/Core/Hosting/CommandLine/ConsoleIO.cs
ghcode:00000:62d9a969a299
apache-2.0
codeparrot/github-code
62d9a969a299e36808c63e55d56d2cf61fe522e6544dc44e21f9b7425d924195
0.6
testing_debugging_repair_refactoring
199
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.Linq; using System.Net.Sockets; using Xunit; namespace System.Net.Primitives.PalTests { public class ...
heXelium/corefx
src/System.Net.Primitives/tests/PalTests/SocketAddressPalTest.cs
https://github.com/heXelium/corefx/blob/HEAD/src/System.Net.Primitives/tests/PalTests/SocketAddressPalTest.cs
ghcode:00000:540fa752c4c6
mit
codeparrot/github-code
540fa752c4c6380b8991bd7c0b17be99412a5e5f56b75a2a85b2c29a63c948dc
0.85
testing_debugging_repair_refactoring
1,874
false
2026-07-17
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Xunit; using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; using System.Threading; using System.Threading.Ta...
Yanjing123/corefx
src/System.Threading.Tasks/tests/System.Runtime.CompilerServices/YieldAwaitableTests.cs
https://github.com/Yanjing123/corefx/blob/HEAD/src/System.Threading.Tasks/tests/System.Runtime.CompilerServices/YieldAwaitableTests.cs
ghcode:00000:4d3682720d29
mit
codeparrot/github-code
4d3682720d2900ec59e9ddd06cc3649f09f73442125ccb04a4be16d43949d9c0
0.95
testing_debugging_repair_refactoring
1,542
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.Dynamic.Utils; using System.Globalization; using System.Reflection; using System....
vs-team/corefx
src/System.Linq.Expressions/src/System/Linq/Expressions/ExpressionStringBuilder.cs
https://github.com/vs-team/corefx/blob/HEAD/src/System.Linq.Expressions/src/System/Linq/Expressions/ExpressionStringBuilder.cs
ghcode:00000:a7ad0c054832
mit
codeparrot/github-code
a7ad0c0548327c2ae27be9295af5ddc2fad21caf00ae0472ab83d8c6c18836eb
0.8
testing_debugging_repair_refactoring
4,558
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.Completion; using Microsoft.CodeAnalysis.CSharp.Completion.Providers; using Roslyn.Test.Utilities; using Xunit; namespace Micro...
droyad/roslyn
src/EditorFeatures/CSharpTest/Completion/CompletionProviders/SpeculativeTCompletionProviderTests.cs
https://github.com/droyad/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Completion/CompletionProviders/SpeculativeTCompletionProviderTests.cs
ghcode:00000:8fcda56cadad
apache-2.0
codeparrot/github-code
8fcda56cadad2b4e9ce7ccfdda558c93a6e2a7532592d4ea63a5900c15298023
0.85
testing_debugging_repair_refactoring
1,722
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 System.Threading; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CodeRefac...
DanielRosenwasser/roslyn
src/EditorFeatures/CSharpTest/CodeActions/Preview/PreviewExceptionTests.cs
https://github.com/DanielRosenwasser/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/CodeActions/Preview/PreviewExceptionTests.cs
ghcode:00000:5b697f59c26e
apache-2.0
codeparrot/github-code
5b697f59c26e3850dc943e3238e72cddb17edac3591a3dc0043474baa322fa72
0.75
testing_debugging_repair_refactoring
903
false
2026-07-17
// Licensed to the .NET Foundation under one or more agreements. // See the LICENSE file in the project root for more information. // (C) Ameya Gargesh // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and a...
jlin177/corefx
src/System.Data.Common/tests/System/Data/Common/DataColumnMappingCollectionTest.cs
https://github.com/jlin177/corefx/blob/HEAD/src/System.Data.Common/tests/System/Data/Common/DataColumnMappingCollectionTest.cs
ghcode:00000:f1043bc3e86d
mit
codeparrot/github-code
f1043bc3e86dcf50f98ed35d52a669b78585d385d8c6967b681458357d9d8ff8
0.95
testing_debugging_repair_refactoring
4,715
false
2026-07-17
using System.Xml.Linq; using FluentAssertions; using Nerdle.AutoConfig.Mapping.Mappers; using NUnit.Framework; using System.Collections.ObjectModel; using System; using Nerdle.AutoConfig.Exceptions; namespace Nerdle.AutoConfig.Tests.Unit.Mappers.DictionaryMapperTests { [TestFixture] public class When_mapping_...
edpollitt/Nerdle.AutoConfig
Nerdle.AutoConfig.Tests.Unit/Mappers/KeyedCollectionMapperTests/When_mapping_a_keyed_collection.cs
https://github.com/edpollitt/Nerdle.AutoConfig/blob/HEAD/Nerdle.AutoConfig.Tests.Unit/Mappers/KeyedCollectionMapperTests/When_mapping_a_keyed_collection.cs
ghcode:00000:3dce2b6a4914
mit
codeparrot/github-code
3dce2b6a4914d4b53aa4ef0afb5ee36f2d8304e0725a75e8fb246d84e7e94afd
0.75
testing_debugging_repair_refactoring
588
false
2026-07-17
using System; using System.Linq; using NSlice; using NSliceTests.TestData; using Xunit; using Xunit.Extensions; namespace NSliceTests.Tests.StringTests { public class StringAtTests { [Theory, ClassData(typeof(AtOrDefaultTestCaseSource))] public void At_FromStringExtensions_ReturnsCorrectValues...
nabuk/NSlice
Src/NSliceTests/Tests/StringTests/StringAtTests.cs
https://github.com/nabuk/NSlice/blob/HEAD/Src/NSliceTests/Tests/StringTests/StringAtTests.cs
ghcode:00000:4cf8b5bda67d
mit
codeparrot/github-code
4cf8b5bda67d66c90b5978824956654ebc64739037c87537c28dd33cbae8724f
0.85
testing_debugging_repair_refactoring
283
false
2026-07-17
using System; using System.IO; using System.Linq; using System.Runtime.Serialization; using KoduStore; using Microsoft.VisualStudio.TestPlatform.UnitTestFramework; using Newtonsoft.Json; using Newtonsoft.Json.Bson; namespace CRUDTests { [TestClass] public class CustomSerializersTest { private stat...
maxpert/KoduStore
CRUDTests/CustomSerializersTest.cs
https://github.com/maxpert/KoduStore/blob/HEAD/CRUDTests/CustomSerializersTest.cs
ghcode:00000:f1a8ea7651f5
mit
codeparrot/github-code
f1a8ea7651f582c437be03dd6403546d257bab582b48ddfb9d753cfef9ae645c
0.6
testing_debugging_repair_refactoring
498
false
2026-07-17
using NUnit.Framework; using Umbraco.Core.Persistence.Mappers; using Umbraco.Core.Persistence.SqlSyntax; namespace Umbraco.Tests.Persistence.Mappers { [TestFixture] public class LanguageMapperTest { [Test] public void Can_Map_Id_Property() { // Act string c...
lars-erik/Umbraco-CMS
src/Umbraco.Tests/Persistence/Mappers/LanguageMapperTest.cs
https://github.com/lars-erik/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Persistence/Mappers/LanguageMapperTest.cs
ghcode:00000:c23fb304c6f0
mit
codeparrot/github-code
c23fb304c6f04161f69e2eb78b150a1ef5055240f4db34c611213d610474600e
0.7
testing_debugging_repair_refactoring
226
false
2026-07-17
using System; using NUnit.Framework; using Should; namespace Configurator.Tests { public class GetTests : BaseTest { [Test] [ExpectedException(typeof(ConfigurationKeyNotFoundException))] public void Should_Validate_Key() { Config.Get<int>("test-int2"); } ...
luisrudge/configurator
src/Configurator.Tests/GetTests.cs
https://github.com/luisrudge/configurator/blob/HEAD/src/Configurator.Tests/GetTests.cs
ghcode:00000:1003b448432a
mit
codeparrot/github-code
1003b448432ad6ff791fc2dbe82bfd622ce63e6b358c5eb32764a044655a83c5
0.75
testing_debugging_repair_refactoring
521
false
2026-07-17
namespace P03_AnimalFarm { using System; using System.Diagnostics; using System.Linq; using System.Reflection; using AnimalFarm.Models; public class Program { public static void Main() { Type chickenType = typeof(Chicken); FieldInfo[] fields = chicke...
KristiyanVasilev/OOP-Basics
Encapsulation/AnimalFarm/AnimalFarm/AnimalFarm/Program.cs
https://github.com/KristiyanVasilev/OOP-Basics/blob/HEAD/Encapsulation/AnimalFarm/AnimalFarm/AnimalFarm/Program.cs
ghcode:00000:9b9f091c3fca
mit
codeparrot/github-code
9b9f091c3fca22776b93e142732fa5c53d9e743c132a4d70b8c9eeea54e973ab
0.6
testing_debugging_repair_refactoring
224
false
2026-07-17
using System; using System.Threading.Tasks; using Isidos.CodeMash.ServiceContracts.Api; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CodeMash.Core.Tests { [TestClass] public class CodeTests : CodeTestBase { private Guid _functionId; [TestInitialize] public ...
codemash-io/CodeMash.Net
src/CodeMash.Core.Tests/CodeTests/CodeTests.cs
https://github.com/codemash-io/CodeMash.Net/blob/HEAD/src/CodeMash.Core.Tests/CodeTests/CodeTests.cs
ghcode:00000:63e53cb9f654
mit
codeparrot/github-code
63e53cb9f654ddc153c55d8293660e4aa12ae5c666a4668857a81f50be90cd99
0.75
testing_debugging_repair_refactoring
208
false
2026-07-17
using System; using Agiil.Domain.Tickets; using Agiil.Tests.Attributes; using Ext = Agiil.Web.Rendering.MarkdownExtensions; using Markdig.Helpers; using Moq; using NUnit.Framework; using AutoFixture.NUnit3; namespace Agiil.Tests.Web.Rendering.MarkdownExtensions { public class TicketReferenceParserTests { [Tes...
csf-dev/agiil
Tests/Agiil.Tests.Web/Rendering/MarkdownExtensions/TicketReferenceParserTests.cs
https://github.com/csf-dev/agiil/blob/HEAD/Tests/Agiil.Tests.Web/Rendering/MarkdownExtensions/TicketReferenceParserTests.cs
ghcode:00000:8fc32d0fac40
mit
codeparrot/github-code
8fc32d0fac40c7c171b1731e35b98d90c614295e6603df03a8b9176d76249069
0.85
testing_debugging_repair_refactoring
1,640
false
2026-07-17
namespace NServiceBus.AcceptanceTests.Routing { using System.Threading.Tasks; using AcceptanceTesting; using EndpointTemplates; using NUnit.Framework; using Conventions = AcceptanceTesting.Customization.Conventions; public class When_replying_to_message : NServiceBusAcceptanceTest ...
sbmako/NServiceBus.MongoDB
src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.6.0.0/Routing/When_replying_to_message.cs
https://github.com/sbmako/NServiceBus.MongoDB/blob/HEAD/src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.6.0.0/Routing/When_replying_to_message.cs
ghcode:00000:a6b537b88178
mit
codeparrot/github-code
a6b537b88178d0b04340a768eb793122cf95e77c4806fde1bc597a13f03696c0
0.6
testing_debugging_repair_refactoring
638
false
2026-07-17
namespace DependencyTest { using System; using Farmhand; using Farmhand.API.Debug; using Farmhand.Events; using Farmhand.Registries; /// <summary> /// A dependency test mod. /// </summary> public class DependencyMod : Mod { /// <summary> /// The mod entry method...
ClxS/Stardew-Farmhand
Mods/DependencyTest/DependencyValidator/Mod.cs
https://github.com/ClxS/Stardew-Farmhand/blob/HEAD/Mods/DependencyTest/DependencyValidator/Mod.cs
ghcode:00000:c85acecaa241
mit
codeparrot/github-code
c85acecaa241269295386f87c60ed77ab937f41f98bbe97361bb6628dd1cce71
0.7
testing_debugging_repair_refactoring
519
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using JohnLambe.Util.MathUtilities; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace JohnLambe.Tests.JLUtilsTest.MathUtilities { [TestClass] public class MathUtilTest { ...
JohnLambe/JLCSUtils
JLCSUtils/JLUtilsTest/MathUtilities/MathUtilTest.cs
https://github.com/JohnLambe/JLCSUtils/blob/HEAD/JLCSUtils/JLUtilsTest/MathUtilities/MathUtilTest.cs
ghcode:00000:5615102613f3
mit
codeparrot/github-code
5615102613f3d7ffcb68ee2b8c0952dac4d0144e048cbe46815d7fe54a5d4aa0
0.6
testing_debugging_repair_refactoring
265
false
2026-07-17
using NUnit.Framework; namespace Rocks.Tests; public static class HelpUrlBuilderTests { [Test] public static void Create() => Assert.That(HelpUrlBuilder.Build("a", "b"), Is.EqualTo("https://github.com/JasonBock/Rocks/tree/main/docs/a-b.md")); }
JasonBock/Rocks
src/Rocks.Tests/HelpUrlBuilderTests.cs
https://github.com/JasonBock/Rocks/blob/HEAD/src/Rocks.Tests/HelpUrlBuilderTests.cs
ghcode:00000:944bbc8003da
mit
codeparrot/github-code
944bbc8003da651e3857c9453af3781c44d7be1f4d785e101b78db07f6e3295b
0.75
testing_debugging_repair_refactoring
63
false
2026-07-17
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using PayTrace.Integration; using PayTrace.Integration.API; namespace PayTrace.Integration.Test { [TestClass] public class APIServicesTestHarness { [TestMethod...
PayTrace/paytrace_dotnet
PayTrace.Integration.Test/APIServicesTestHarness.cs
https://github.com/PayTrace/paytrace_dotnet/blob/HEAD/PayTrace.Integration.Test/APIServicesTestHarness.cs
ghcode:00000:1ce25ff35da2
mit
codeparrot/github-code
1ce25ff35da24a4b9fa0722691d659d9e1f17e6cef4b608529d09de22527d930
0.6
testing_debugging_repair_refactoring
947
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using Communist.Search; using Xunit; namespace Communist.Tests { public class SearchTests { [Fact] public void SearchCriteria_IsOrdering_False_WhenOrderByAndOrderDirectionNotSet() { var criteria = new TestSearchCriteria(); Assert....
bsheldrick/communist
test/Communist.Tests/SearchTests.cs
https://github.com/bsheldrick/communist/blob/HEAD/test/Communist.Tests/SearchTests.cs
ghcode:00000:ec1505587798
mit
codeparrot/github-code
ec15055877988cb355734dd9899894728eb511d4de7c60d39bc76b6e872082c0
0.75
testing_debugging_repair_refactoring
2,202
false
2026-07-17
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Mechanical3.Core; using Mechanical3.Misc; using NUnit.Framework; namespace Mechanical3.Tests.Misc { [TestFixture(Category = "Misc")] public static class StringFormatterTests { #region Test helpers ...
MechanicalMen/Mechanical3
source/Mechanical3.Tests/Misc/StringFormatterTests.cs
https://github.com/MechanicalMen/Mechanical3/blob/HEAD/source/Mechanical3.Tests/Misc/StringFormatterTests.cs
ghcode:00000:efc9054d9e9b
mit
codeparrot/github-code
efc9054d9e9ba3beec74a10363fd2a1de5b8274e0d190481542f19c0e5ece4aa
0.85
testing_debugging_repair_refactoring
3,705
false
2026-07-17
using System; namespace FluentMethods.UnitTests { public partial class DateTimeFixture { #if NetCore [Xunit.Fact] #else [NUnit.Framework.Test] #endif public void IsPast() { DateTime @this = DateTime.Now.AddDays(1); bool value1 = @this.IsPas...
edwardmeng/FluentMethods
test/Core/System.DateTime/IsPast.cs
https://github.com/edwardmeng/FluentMethods/blob/HEAD/test/Core/System.DateTime/IsPast.cs
ghcode:00000:fe8d3177bc9f
mit
codeparrot/github-code
fe8d3177bc9f326cb62dcb9eb8527c715fb58e2baf922ae92db656dc0469d7b4
0.6
testing_debugging_repair_refactoring
110
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; using Xom.Core; using Xom.Core.Models; namespace Xom.Tests { [TestClass] public class XomAttributeTypeGeneratorTests { [TestMethod...
KallDrexx/Xom
Xom.Tests/XomAttributeTypeGeneratorTests.cs
https://github.com/KallDrexx/Xom/blob/HEAD/Xom.Tests/XomAttributeTypeGeneratorTests.cs
ghcode:00000:0745aded710b
mit
codeparrot/github-code
0745aded710b767922db65a9b4052938242bec3285a2b119428d46fd3f87c657
0.75
testing_debugging_repair_refactoring
653
false
2026-07-17
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ScratchNet.Test { [TestClass] public class SensorUpdateParserTest { [TestMethod] public void Parse() { var value = SensorUpdateParser.Parse( "sensor-update \"piyo\" 76 " ); ...
kaorun55/ScratchNet
ScratchNet/ScratchNet.Test/SensorUpdateParserTest.cs
https://github.com/kaorun55/ScratchNet/blob/HEAD/ScratchNet/ScratchNet.Test/SensorUpdateParserTest.cs
ghcode:00000:19b590fcac7f
mit
codeparrot/github-code
19b590fcac7f87efe786392f9e68018dd87b0ef451f63c8259194df05e85b38d
0.6
testing_debugging_repair_refactoring
289
false
2026-07-17
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace BenchmarkDotNet.Disassembler { public class Code { public string TextRepresentation { get; set; } public string Comment { get; set; } } public class Sharp : Code { public string FileP...
Teknikaali/BenchmarkDotNet
src/BenchmarkDotNet.Disassembler.x64/DataContracts.cs
https://github.com/Teknikaali/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet.Disassembler.x64/DataContracts.cs
ghcode:00000:b9a8323c24d9
mit
codeparrot/github-code
b9a8323c24d931f0409a1458d6a0f3ef034013309518ac86566040375ccdd0d2
0.85
testing_debugging_repair_refactoring
396
false
2026-07-17
using MbDotNet.Exceptions; using MbDotNet.Models.Imposters; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System.Threading.Tasks; namespace MbDotNet.Tests.Client { [TestClass, TestCategory("Unit")] public class GetTcpImposterTests : MountebankClientTestBase { [TestMethod] ...
mattherman/MbDotNet
MbDotNet.Tests/Client/GetTcpImposterTests.cs
https://github.com/mattherman/MbDotNet/blob/HEAD/MbDotNet.Tests/Client/GetTcpImposterTests.cs
ghcode:00000:5cd95dff0793
mit
codeparrot/github-code
5cd95dff0793fed013f2a8b17278859f279ff6f02f7905c7d456c6e6739588be
0.75
testing_debugging_repair_refactoring
266
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.Build.Construction; using Microsoft.DotNet.Tools.Test.Utilities;...
blackdwarf/cli
test/dotnet-restore.Tests/GivenThatIWantToRestoreApp.cs
https://github.com/blackdwarf/cli/blob/HEAD/test/dotnet-restore.Tests/GivenThatIWantToRestoreApp.cs
ghcode:00000:4b217ecbdce3
mit
codeparrot/github-code
4b217ecbdce32b8b47cc3085fd11f8fad2cafaf4c505b62cf8a8121dd7f27032
0.6
testing_debugging_repair_refactoring
683
false
2026-07-17
using System; using System.Diagnostics; using System.IO; using System.Text; using Ionic.Zlib; namespace VermintideBundleTool.Bundle { public class BundleDecompressionStream : Stream { public BundleDecompressionStream(Stream innerStream) { _reader = new BinaryReader(innerStream, Enc...
Atvaark/VermintideBundleTool
VermintideBundleTool/Bundle/BundleDecompressionStream.cs
https://github.com/Atvaark/VermintideBundleTool/blob/HEAD/VermintideBundleTool/Bundle/BundleDecompressionStream.cs
ghcode:00000:4472d4ffb076
mit
codeparrot/github-code
4472d4ffb076f1349017b6815825de9b363fe2b9e224aec1c66463d48c52863e
0.6
testing_debugging_repair_refactoring
850
false
2026-07-17
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Text; namespace Configuration.Tests { [TestClass] public class Test_ConfigFileWriter : TestBase { static readonly string cfgContent = "Option0 = Value0\nOption1 = Value1\n\nSection0:\n Inner0 = Value2\n\n ...
ConfigIO/ConfigIO_Net
source/ConfigIO_UnitTests/Test_ConfigFileWriter.cs
https://github.com/ConfigIO/ConfigIO_Net/blob/HEAD/source/ConfigIO_UnitTests/Test_ConfigFileWriter.cs
ghcode:00000:1bd06c57dce9
mit
codeparrot/github-code
1bd06c57dce985ffc1012890ec4189adcad06b5858c7e940c9a76f99c13d1480
0.75
testing_debugging_repair_refactoring
615
false
2026-07-17
using System; using System.Collections.Generic; using System.Collections.Concurrent; using System.Globalization; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Diagnostics; using i18n.Helpers; namespace i18n { /// <summary> /// Helper class for parsing and manipulatin...
VladMukhitdinovLic/i18n
src/i18n.Domain/Concrete/LanguageTag.cs
https://github.com/VladMukhitdinovLic/i18n/blob/HEAD/src/i18n.Domain/Concrete/LanguageTag.cs
ghcode:00000:e5f843e659eb
mit
codeparrot/github-code
e5f843e659eb5c28e173a5b0e4d02c2a6a59fa0be789efffe557dfe27b5cb1cc
0.7
testing_debugging_repair_refactoring
8,128
false
2026-07-17
namespace Sitecore.FakeDb.Tests.Data.Engines.DataCommands { using System; using FluentAssertions; using NSubstitute; using Sitecore.Data.Items; using Sitecore.Data.Managers; using Sitecore.FakeDb.Data.Engines.DataCommands; using Sitecore.Reflection; using Xunit; using Version = Site...
sergeyshushlyapin/Sitecore.FakeDb
test/Sitecore.FakeDb.Tests/Data/Engines/DataCommands/GetRootItemCommandTest.cs
https://github.com/sergeyshushlyapin/Sitecore.FakeDb/blob/HEAD/test/Sitecore.FakeDb.Tests/Data/Engines/DataCommands/GetRootItemCommandTest.cs
ghcode:00000:a0f80894ef84
mit
codeparrot/github-code
a0f80894ef848e30e63431152d556a53a0373eab828a3881511ff0fec16234ea
0.7
testing_debugging_repair_refactoring
193
false
2026-07-17
using DnDGen.Core.Mappers.Percentiles; using Ninject; using NUnit.Framework; using System.Collections.Generic; using System.Linq; namespace CharacterGen.Tests.Integration.Tables { [TestFixture] public abstract class PercentileTests : TableTests { [Inject] public PercentileMapper Percentile...
DnDGen/CharacterGen
CharacterGen.Tests.Integration.Tables/PercentileTests.cs
https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/PercentileTests.cs
ghcode:00000:f353c51aec01
mit
codeparrot/github-code
f353c51aec0175a30d20dddafb956b308af224feda86f471c8030ce7700ac5e5
0.75
testing_debugging_repair_refactoring
291
false
2026-07-17
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using System.Collections.Generic; using System.Collections.Immutable; using System.Composition; using System.Linq; namespace FluentAssertions.Analyzers { [Diag...
fluentassertions/fluentassertions.analyzers
src/FluentAssertions.Analyzers/Tips/Strings/StringShouldBeNullOrWhiteSpace.cs
https://github.com/fluentassertions/fluentassertions.analyzers/blob/HEAD/src/FluentAssertions.Analyzers/Tips/Strings/StringShouldBeNullOrWhiteSpace.cs
ghcode:00000:69c95b1fbd50
mit
codeparrot/github-code
69c95b1fbd505bfe3e9415e12d283ae16c55f2f42bc705cc287585e21ec68f27
0.6
testing_debugging_repair_refactoring
441
false
2026-07-17
using System.Collections.Generic; using System.Linq; using NRules.Fluent.Dsl; using NRules.IntegrationTests.TestAssets; using Xunit; namespace NRules.IntegrationTests { public class NodeSharingNonEquivalentExpressionsTest : BaseRuleTestFixture { [Fact] public void Fire_FirstRuleMatchesFacts_On...
NRules/NRules
src/NRules/Tests/NRules.IntegrationTests/NodeSharingNonEquivalentExpressionsTest.cs
https://github.com/NRules/NRules/blob/HEAD/src/NRules/Tests/NRules.IntegrationTests/NodeSharingNonEquivalentExpressionsTest.cs
ghcode:00000:78334ad18d8f
mit
codeparrot/github-code
78334ad18d8f87398e2256d20f38c3f7037b8e949a6a3730b15ee4172286845b
0.95
testing_debugging_repair_refactoring
1,213
false
2026-07-17
using Kekiri.IoC.Autofac; using NUnit.Framework; namespace Kekiri.UnitTests.IoC { [TestFixture] public class When_creating_contexts { [Test] public void If_class_has_default_constructor_then_use_it() { Assert.IsNotNull(new AutofacFluentTest<WithDefaultConstructor>().Con...
jorbor/Kekiri
src/Tests/UnitTests/IoC/When_creating_contexts.cs
https://github.com/jorbor/Kekiri/blob/HEAD/src/Tests/UnitTests/IoC/When_creating_contexts.cs
ghcode:00000:9cc288dcfb41
mit
codeparrot/github-code
9cc288dcfb41e1710c0f57ac38e022fb0af636814ea4029f7cd227abc6bbf1b0
0.85
testing_debugging_repair_refactoring
184
false
2026-07-17
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using JSONAPI.Core; using JSONAPI.Tests.Models; using System.Reflection; using System.Collections.Generic; using System.Collections; namespace JSONAPI.Tests.Core { [TestClass] public class ModelManagerTests { private class InvalidMo...
xotahal/JSONAPI.NET
JSONAPI.Tests/Core/ModelManagerTests.cs
https://github.com/xotahal/JSONAPI.NET/blob/HEAD/JSONAPI.Tests/Core/ModelManagerTests.cs
ghcode:00000:fe0acbf67468
mit
codeparrot/github-code
fe0acbf6746863e05e9b2e4ff6807abfa0455ea6f4740845df2b0b4862efc744
0.85
testing_debugging_repair_refactoring
985
false
2026-07-17
namespace OmniXaml.Tests.Common.DotNetFx { using Common; public class GivenARuntimeTypeSourceWithNodeBuildersNetCore : GivenARuntimeTypeSourceWithNodeBuilders { public GivenARuntimeTypeSourceWithNodeBuildersNetCore() : base() { } } }
jrodrigv/OmniXAML
Tests/OmniXaml.Tests.Common.DotNetFx/GivenAWiringContextWithNodeBuildersNetCore.cs
https://github.com/jrodrigv/OmniXAML/blob/HEAD/Tests/OmniXaml.Tests.Common.DotNetFx/GivenAWiringContextWithNodeBuildersNetCore.cs
ghcode:00000:6673e5741e20
mit
codeparrot/github-code
6673e5741e20dc661ce87eddd480ea40fd74dcaeb66feaaa7f58565d0c0877f3
0.75
testing_debugging_repair_refactoring
63
false
2026-07-17
using System.Diagnostics; using System.Linq; using CommandLine; using IOPriorityGuard.Model; using NUnit.Framework; namespace IOPriorityGuard.Tests { [TestFixture] public class AppOptionsTest { [SetUp] public void SetUp() { _options = new AppOptions(); } ...
rhargreaves/IOPriorityGuard
src/IOPriorityGuard.Tests/AppOptionsTest.cs
https://github.com/rhargreaves/IOPriorityGuard/blob/HEAD/src/IOPriorityGuard.Tests/AppOptionsTest.cs
ghcode:00000:a3a576a148c5
mit
codeparrot/github-code
a3a576a148c5574fcdbb89001e3c7615d864ed70c0ab32a3030b1f585873475f
0.7
testing_debugging_repair_refactoring
466
false
2026-07-17
using System; using System.Linq; using BenchmarkDotNet.Configs; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Exporters; using Xunit; namespace BenchmarkDotNet.Tests { public class ConfigParserTests { [Theory] [InlineData("--jobs=dry", "exporters=html,rplot")] [InlineData("--jobs=d...
Teknikaali/BenchmarkDotNet
tests/BenchmarkDotNet.Tests/ConfigParserTests.cs
https://github.com/Teknikaali/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.Tests/ConfigParserTests.cs
ghcode:00000:fa4be37c3801
mit
codeparrot/github-code
fa4be37c38011566819c4b7828f049c2ed279bfdb06f64bdf3cf076d0c81964f
0.85
testing_debugging_repair_refactoring
402
false
2026-07-17
using Microsoft.VisualStudio.TestTools.UnitTesting; using Orders.com.BLL.Domain; using Orders.com.BLL.Extensions; using Orders.com.BLL.Rules; using Shouldly; using System.Threading.Tasks; namespace Orders.com.BLL.Tests.Rules { [TestClass] public class ValidOrderItemStatusForUpdateRuleTests { [Test...
peasy/Samples
Orders.com.BLL.Tests/Rules/ValidOrderItemStatusForUpdateRuleTests.cs
https://github.com/peasy/Samples/blob/HEAD/Orders.com.BLL.Tests/Rules/ValidOrderItemStatusForUpdateRuleTests.cs
ghcode:00000:01e80f1b0407
mit
codeparrot/github-code
01e80f1b0407f30d7682af041c9428c2b6834c5169dd5e4f7c6f5d5b82c11595
0.85
testing_debugging_repair_refactoring
846
false
2026-07-17
using System; using System.Linq; using FluentAssertions; using NUnit.Framework; using SFA.DAS.EmployerAccounts.Messages.Events; using SFA.DAS.EmployerAccounts.Models.Account; using SFA.DAS.EmployerAccounts.Models.TransferConnections; using SFA.DAS.EmployerAccounts.Models.UserProfile; using SFA.DAS.EmployerAccounts.Uni...
SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerAccounts.UnitTests/Models/TransferConnectionInvitationTests.cs
https://github.com/SkillsFundingAgency/das-employerapprenticeshipsservice/blob/HEAD/src/SFA.DAS.EmployerAccounts.UnitTests/Models/TransferConnectionInvitationTests.cs
ghcode:00000:e3e53e5de75a
mit
codeparrot/github-code
e3e53e5de75af854602e807dee8cf363a0c73af193d419ec3d0470fb18bc5163
0.75
testing_debugging_repair_refactoring
1,050
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using uWebshop.Domain; namespace uWebshop.Test.Domain.IoCContainerTests { [TestFixture] public class ResolveTests { private IoCContainer _container; [SetUp] public void Setup() { _container = ne...
uWebshop/uWebshop-Releases
Tests/uWebshop.Test/Domain/IoCContainerTests/ResolveTests.cs
https://github.com/uWebshop/uWebshop-Releases/blob/HEAD/Tests/uWebshop.Test/Domain/IoCContainerTests/ResolveTests.cs
ghcode:00000:fe0f026b4fa7
mit
codeparrot/github-code
fe0f026b4fa70970b2bc9925aa936fb43a1bc5b121f7e739d455638272397386
0.75
testing_debugging_repair_refactoring
372
false
2026-07-17
using System; using System.Collections.Generic; using GraphShine.DataStructures; using GraphShine.GeometricPrimitives; namespace GraphShine.Tests { public class SegmentTreeTest { public static void SegmentTreeDataStructureTest() { HInterval[] h = new HInterval[9]; h[0] ...
DebajyotiMondal/GraphShine
GraphShine/Tests/SegmentTreeTest.cs
https://github.com/DebajyotiMondal/GraphShine/blob/HEAD/GraphShine/Tests/SegmentTreeTest.cs
ghcode:00000:ac946c520ac1
mit
codeparrot/github-code
ac946c520ac1258404c0c968d9e55001b7dc2ff36b92eecfc29f87f207a0c721
0.95
testing_debugging_repair_refactoring
1,100
false
2026-07-17
using System; using System.Collections; using System.Linq; using Xunit; namespace Popsql.Tests { public class SqlValuesTests { [Fact] public void Add_WithNullValues_ThrowsArgumentNull() { var values = new SqlValues(); Assert.Throws<ArgumentNullException>(() => values.Add(null)); } [Fact] public v...
WouterDemuynck/popsql
src/Popsql.Tests/SqlValuesTests.cs
https://github.com/WouterDemuynck/popsql/blob/HEAD/src/Popsql.Tests/SqlValuesTests.cs
ghcode:00000:b2e0b66544c6
mit
codeparrot/github-code
b2e0b66544c6236b4c208501fe6fd023920c2cb7fb52fc53a5ff07cbfa74ce72
0.75
testing_debugging_repair_refactoring
311
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using IdentityServer3.Core.Events; using IdentityServer3.ElasticSearchEventService.Extensions; using IdentityServer3.ElasticSearchEventService.Mapping; using IdentityServer3.ElasticSearchEventService.Mapping.Configuration...
johnkors/IdentityServer3.Contrib.ElasticSearchEventService
source/Unittests/DefaultLogEventMapperTests.cs
https://github.com/johnkors/IdentityServer3.Contrib.ElasticSearchEventService/blob/HEAD/source/Unittests/DefaultLogEventMapperTests.cs
ghcode:00000:62c95991ce59
mit
codeparrot/github-code
62c95991ce59dd48b18266846fca83773d612e8adb6834a610e83571190b3fb6
0.75
testing_debugging_repair_refactoring
871
false
2026-07-17
using NUnit.Framework; using Ploeh.AutoFixture; using RememBeer.Models.Dtos; using RememBeer.Tests.Utils; namespace RememBeer.Tests.Models.Dtos { [TestFixture] public class BeerDtoTests : TestClassBase { [Test] public void Setters_ShouldSetProperties() { var id = this...
J0hnyBG/RememBeerMe
src/RememBeer.Tests/Models/Dtos/BeerDtoTests.cs
https://github.com/J0hnyBG/RememBeerMe/blob/HEAD/src/RememBeer.Tests/Models/Dtos/BeerDtoTests.cs
ghcode:00000:7688df069cee
mit
codeparrot/github-code
7688df069cee061d06a9cf4763145c8d0d19ffb2df2db9b651302c5f860ccdcc
0.75
testing_debugging_repair_refactoring
202
false
2026-07-17
using Academy.Core.Contracts; using Academy.Commands.Adding; using Moq; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Academy.Tests.Commands.Mocks; namespace Academy.Tests.Commands.AddingTests.AddStudentToSea...
TelerikAcademy/Unit-Testing
Topics/04. Workshops/Workshop (Students)/Academy/Workshop/Academy.Tests/Commands/Adding/AddStudentToSeasonCommandTests/Constructor_Should.cs
https://github.com/TelerikAcademy/Unit-Testing/blob/HEAD/Topics/04. Workshops/Workshop (Students)/Academy/Workshop/Academy.Tests/Commands/Adding/AddStudentToSeasonCommandTests/Constructor_Should.cs
ghcode:00000:cf98a61ff470
mit
codeparrot/github-code
cf98a61ff470b7bc8d239d3b2fcca5f8417c77c3972b82cc8d282a752d246ccc
0.7
testing_debugging_repair_refactoring
376
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Security.AccessControl; using System.Text; using System.Threading.Tasks; namespace DynamicSerializer.Test { public class IX { public int IP { get; set; } } [Serializable] public class A { public A() { ...
conwid/IL-boss
DynamicSerializer.Test/TestClasses.cs
https://github.com/conwid/IL-boss/blob/HEAD/DynamicSerializer.Test/TestClasses.cs
ghcode:00000:b0599c88794e
mit
codeparrot/github-code
b0599c88794e212ffd1bb5eefd7ef1ddbed5f1468c90b2771320f4f3596c696e
0.75
testing_debugging_repair_refactoring
509
false
2026-07-17
using System; using System.Linq; using Cresce.Datasources.Sql; using Cresce.Models; using NUnit.Framework; namespace Cresce.Business.Tests.Integration.Sql { [TestFixture] internal class InvoiceRepositoryTests : SqlTests { private SqlInvoiceRepository _repository; private Patient _patient; ...
AlienEngineer/Cresce
Cresce.Tests.Integration/Sql/InvoiceRepositoryTests.cs
https://github.com/AlienEngineer/Cresce/blob/HEAD/Cresce.Tests.Integration/Sql/InvoiceRepositoryTests.cs
ghcode:00000:0fab7c20c2fc
mit
codeparrot/github-code
0fab7c20c2fcbae7a0c5b16bd7438ce567627b99c246efde169061a8690ad3e6
0.85
testing_debugging_repair_refactoring
815
false
2026-07-17
using Humanizer.Localisation; using Xunit; using Xunit.Extensions; namespace Humanizer.Tests.Localisation.ptBR { public class DateHumanizeTests : AmbientCulture { public DateHumanizeTests() : base("pt-BR") { } [Theory] [InlineData(-2, "2 segundos atrás")] [InlineData(-1, "um s...
hhariri/Humanizer
src/Humanizer.Tests/Localisation/pt-BR/DateHumanizeTests.cs
https://github.com/hhariri/Humanizer/blob/HEAD/src/Humanizer.Tests/Localisation/pt-BR/DateHumanizeTests.cs
ghcode:00000:e78becb08234
mit
codeparrot/github-code
e78becb0823444efdca505f6006b4400a44f5a223c1ca32c876a9391bd38597c
0.75
testing_debugging_repair_refactoring
798
false
2026-07-17
/* ---------------------------------------------------------------------------- * Copyright (C) 2013 Arne F. Claassen * geekblog [at] claassen [dot] net * http://github.com/sdether/Calculon * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated d...
sdether/Calculon
Calculon.Tests/BuilderTests.cs
https://github.com/sdether/Calculon/blob/HEAD/Calculon.Tests/BuilderTests.cs
ghcode:00000:800c1738db87
mit
codeparrot/github-code
800c1738db8760aeb30eac1200717484322497eedf0fc53c319c086230619d48
0.75
testing_debugging_repair_refactoring
436
false
2026-07-17
using System; using Xunit; using System.Linq; using hihapi.Models; using hihapi.Controllers; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.OData.Results; using hihapi.test.common; namespace hihapi.unittest.Finance { [Collection("HIHAPI_Un...
alvachien/achihapi
test/hihapi.test/UnitTests/Finance/Config/FinanceDocumentTypesControllerTest.cs
https://github.com/alvachien/achihapi/blob/HEAD/test/hihapi.test/UnitTests/Finance/Config/FinanceDocumentTypesControllerTest.cs
ghcode:00000:6b7704666b9c
mit
codeparrot/github-code
6b7704666b9c1f641faefa6934fbcb6881dba4477ef13b10d17a3a3c3b6ccf3e
0.7
testing_debugging_repair_refactoring
847
false
2026-07-17
using System; using System.Diagnostics; namespace Oragon.Architecture.IO.Path { partial class PathHelpers { #region Private Classes private sealed class RelativeFilePath : RelativePathBase, IRelativeFilePath { #region Internal Constructors internal RelativeFilePath(string pathString) : base(pathStr...
luizcarlosfaria/Oragon.Architecture
[source]/Oragon.Architecture/IO/Path/PathHelpers+RelativeFilePath.cs
https://github.com/luizcarlosfaria/Oragon.Architecture/blob/HEAD/[source]/Oragon.Architecture/IO/Path/PathHelpers+RelativeFilePath.cs
ghcode:00000:a4a3103dcd0d
mit
codeparrot/github-code
a4a3103dcd0db38c9ac782114b26051a7c6c94efb8c8368c50011f9fb583e761
0.7
testing_debugging_repair_refactoring
987
false
2026-07-17
using System.Threading; using CodeTiger; using Xunit; namespace UnitTests.CodeTiger { public class LazyTests { public class Create1 { [Fact] public void SetsIsValueCreatedToFalse() { var target = Lazy.Create<object>(); Assert...
csdahlberg/CodeTigerLib
UnitTests/UnitTests.CodeTiger.Core/LazyTests.cs
https://github.com/csdahlberg/CodeTigerLib/blob/HEAD/UnitTests/UnitTests.CodeTiger.Core/LazyTests.cs
ghcode:00000:0833948d9d3d
mit
codeparrot/github-code
0833948d9d3d7214c66498d03bef1b0854abb5e89e4fda99ab178734f4e60d40
0.75
testing_debugging_repair_refactoring
1,176
false
2026-07-17
using System.Threading.Tasks; using FluentAssertions; using Histrio.Testing; using Xunit; namespace Histrio.Tests.Cell { public class When_getting_a_value_from_a_cell : GivenWhenThen { [Theory, InlineData(true), InlineData(333), InlineData(new[] {true, true}), Inline...
MCGPPeters/Histrio
old/src/Histrio.Tests/Cell/When_getting_a_value_from_a_cell.cs
https://github.com/MCGPPeters/Histrio/blob/HEAD/old/src/Histrio.Tests/Cell/When_getting_a_value_from_a_cell.cs
ghcode:00000:55722cdd779d
mit
codeparrot/github-code
55722cdd779de79110ed76fe75bf284bf35d78a7fa59dedac5bea519eb2b2a7a
0.7
testing_debugging_repair_refactoring
249
false
2026-07-17
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ModelAppServiceInfoProviderTest.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE fi...
quartz-software/kephas
src/Tests/Kephas.Model.Tests/ModelAppServiceInfoProviderTest.cs
https://github.com/quartz-software/kephas/blob/HEAD/src/Tests/Kephas.Model.Tests/ModelAppServiceInfoProviderTest.cs
ghcode:00000:84df201141dc
mit
codeparrot/github-code
84df201141dc50911478f83c0f7a6316bceacc76ec482595fe78052da1f42cb2
0.95
testing_debugging_repair_refactoring
317
false
2026-07-17
using System.IO; using System.Diagnostics; using NDepend.Path; namespace NDepend.Test.Unit { public static class DirForTest { public static IAbsoluteDirectoryPath ExecutingAssemblyDir { get { // If this following line doesn't work, it is because of ShadowCopyCache with NUnit ...
psmacchia/NDepend.Path
NDepend.Path.Tests/DirForTest.cs
https://github.com/psmacchia/NDepend.Path/blob/HEAD/NDepend.Path.Tests/DirForTest.cs
ghcode:00000:6732923fde6f
mit
codeparrot/github-code
6732923fde6f0fc174f6575c0f19d3d864e10fdf49673948c6df54d1738e0166
0.7
testing_debugging_repair_refactoring
724
false
2026-07-17
using System; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Xunit; namespace MR.AspNetCore.Jobs.Server { public class InfiniteRetryProcessorTest { [Fact] public async Task Process_ThrowingProcessingCanceledException_Returns() { // Arr...
mrahhal/MR.AspNetCore.Jobs
test/MR.AspNetCore.Jobs.Tests/Server/InfiniteRetryProcessorTest.cs
https://github.com/mrahhal/MR.AspNetCore.Jobs/blob/HEAD/test/MR.AspNetCore.Jobs.Tests/Server/InfiniteRetryProcessorTest.cs
ghcode:00000:2084f9a17c20
mit
codeparrot/github-code
2084f9a17c20905529eeeb8b48bf620db6b160405c0ba61d4a2a6e77f32b494b
0.6
testing_debugging_repair_refactoring
185
false
2026-07-17
namespace RapidFTP.Chilkat.Tests.Utilities { using System.Diagnostics; using RapidFTP.Models; using RapidFTP.Utilities; using Xunit; using Xunit.Extensions; public class UnixPathTest { [InlineData("/lv1", 1)] [InlineData("/lv1/lv2", 2)] [InlineData("/lv1/lv2/", 2)...
khoale/RapidFTP
src/RapidFTP.Chilkat.Tests/Utilities/UnixPathTest.cs
https://github.com/khoale/RapidFTP/blob/HEAD/src/RapidFTP.Chilkat.Tests/Utilities/UnixPathTest.cs
ghcode:00000:3df1a7e2411b
mit
codeparrot/github-code
3df1a7e2411babc769d4d95e840d61e837f83e9bda0dd24948df1d7138808782
0.6
testing_debugging_repair_refactoring
357
false
2026-07-17
using System.Collections.Generic; using System.IO; using Reinforced.Typings.Fluent; using Xunit; namespace Reinforced.Typings.Tests.SpecificCases { public partial class SpecificTestCases { [Fact] public void ReferencesPart6ByDanielWest() { /** * Specific test ca...
reinforced/Reinforced.Typings
Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ReferencesPart6ByDanielWest.cs
https://github.com/reinforced/Reinforced.Typings/blob/HEAD/Reinforced.Typings.Tests/SpecificCases/SpecificTestCases.ReferencesPart6ByDanielWest.cs
ghcode:00000:96c6f879a28e
mit
codeparrot/github-code
96c6f879a28e175ac2e845234c792e4b598e15938c585132661ee9304523c3eb
0.6
testing_debugging_repair_refactoring
330
false
2026-07-17
namespace UrlBuilderTests { using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Se.Url; [TestClass] public class QueryParamTest { [TestMethod] public void DefaultQueryParam() { var url = new UrlBuilde...
shoutem/UrlBuilder
UrlBuilderTests/QueryParamTest.cs
https://github.com/shoutem/UrlBuilder/blob/HEAD/UrlBuilderTests/QueryParamTest.cs
ghcode:00000:4937306189eb
mit
codeparrot/github-code
4937306189eb006d90592d94969ceb96bfba81b1b93c7184ecfb53ed67528b18
0.7
testing_debugging_repair_refactoring
1,174
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. using System.Threading.Tasks; using Test.Utilities; using Xunit; using VerifyCS = Test.Utilities.CSharpCodeFixVerifier< Microsoft.CodeQuality.Analyzers.ApiDesignGuidelin...
dotnet/roslyn-analyzers
src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/EnumsShouldHaveZeroValueTests.Fixer.cs
https://github.com/dotnet/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/EnumsShouldHaveZeroValueTests.Fixer.cs
ghcode:00000:69fb81f06b5e
mit
codeparrot/github-code
69fb81f06b5e4bcf90c043b1b1f8feb093ba933fdfb3a65f8765ed2c58913c1b
0.7
testing_debugging_repair_refactoring
2,703
false
2026-07-17
// // PgpMimeTests.cs // // Author: Jeffrey Stedfast <jestedfa@microsoft.com> // // Copyright (c) 2013-2022 .NET Foundation and Contributors // // 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 Soft...
jstedfast/MimeKit
UnitTests/Cryptography/PgpMimeTests.cs
https://github.com/jstedfast/MimeKit/blob/HEAD/UnitTests/Cryptography/PgpMimeTests.cs
ghcode:00000:aca8107dc99f
mit
codeparrot/github-code
aca8107dc99fd7a408a8568f2729692369a5adf320322237f9d1520911b55e94
0.72
testing_debugging_repair_refactoring
24,267
false
2026-07-17
using System; using System.IO; using Xunit; namespace OpenSage.Tests.Data { internal static class TestUtility { public static T DoRoundtripTest<T>( Func<Stream> getOriginalStream, Func<Stream, T> parseCallback, Action<T, Stream> serializeCallback, bool s...
feliwir/openSage
src/OpenSage.Game.Tests/Data/TestUtility.cs
https://github.com/feliwir/openSage/blob/HEAD/src/OpenSage.Game.Tests/Data/TestUtility.cs
ghcode:00000:ecc693f1e704
mit
codeparrot/github-code
ecc693f1e70482d389a401b0b838efa4578e8f5dae3174bb3b5e4693d2dd86e1
0.75
testing_debugging_repair_refactoring
325
false
2026-07-17
using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using PholioVisualisation.DataAccess; using PholioVisualisation.DataConstruction; using PholioVisualisation.Export; using PholioVisualisation.Export.FileBuilder.Containers; using PholioVisualisation.Export.FileBuilder.SupportModels; using PholioVisualisati...
PublicHealthEngland/fingertips-open
PholioVisualisationWS/ExportTest/FileBuilder/Writers/CsvBuilderIndicatorDataWriterTest.cs
https://github.com/PublicHealthEngland/fingertips-open/blob/HEAD/PholioVisualisationWS/ExportTest/FileBuilder/Writers/CsvBuilderIndicatorDataWriterTest.cs
ghcode:00000:671920d52e2f
mit
codeparrot/github-code
671920d52e2f08e82efcb37877f2b2c56c8b0cc7369b84f4f2e183739b222eaa
0.6
testing_debugging_repair_refactoring
1,250
false
2026-07-17
using System; using NUnit.Framework; namespace MyApp.Repository.Testing { internal class InMemoryRepositoryTests { //================================================================================ [Test] public void Standard() { var repo...
antanta/MyApp
MyApp.Repository/Testing/Tests.cs
https://github.com/antanta/MyApp/blob/HEAD/MyApp.Repository/Testing/Tests.cs
ghcode:00000:f2bb11d2088d
mit
codeparrot/github-code
f2bb11d2088dafaa27ab530c6ecf3788d3295d141439bdff90386276f6f63255
0.85
testing_debugging_repair_refactoring
431
false
2026-07-17
// ReSharper disable RedundantNameQualifier // ReSharper disable InconsistentNaming namespace Gu.Analyzers.Benchmarks.Benchmarks { public class GU0050IgnoreEventsWhenSerializingBenchmarks { private static readonly Gu.Roslyn.Asserts.Benchmark Benchmark = Gu.Roslyn.Asserts.Benchmark.Create(Code.AnalyzersP...
JohanLarsson/Gu.Analyzers
Gu.Analyzers.Benchmarks/Benchmarks/GU0050IgnoreEventsWhenSerializingBenchmarks.cs
https://github.com/JohanLarsson/Gu.Analyzers/blob/HEAD/Gu.Analyzers.Benchmarks/Benchmarks/GU0050IgnoreEventsWhenSerializingBenchmarks.cs
ghcode:00000:a7a66d8353a8
mit
codeparrot/github-code
a7a66d8353a821a4450c94c3ab32e9308a0a7a109138cdbb65a2e19968cf5ba4
0.6
testing_debugging_repair_refactoring
124
false
2026-07-17
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by Brian Nelson 2016. * * See license in repo for more information * * https://github.com/sharpHDF/sharpHDF * * ...
sharpHDF/sharpHDF
src/sharpHDFTests/Objects/Hdf5AttributeTests.cs
https://github.com/sharpHDF/sharpHDF/blob/HEAD/src/sharpHDFTests/Objects/Hdf5AttributeTests.cs
ghcode:00000:e57e44b358f3
mit
codeparrot/github-code
e57e44b358f3e52b88b97968c8af1586ccedfa59e74837bf76eeb929b49b01b2
0.75
testing_debugging_repair_refactoring
4,932
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using Moq; using NUnit.Framework; using Ploeh.AutoFixture; using RememBeer.Models.Contracts; using RememBeer.Models.Dtos; using RememBeer.Models.Factories; using RememBeer.Services.RankingStrategies; using RememBeer.Tests.Utils; namespace RememBee...
J0hnyBG/RememBeerMeMvc
src/RememBeer.Tests/Services/RankingStrategies/DoubleOverallScoreStrategyTests/GetBeerRank_Should.cs
https://github.com/J0hnyBG/RememBeerMeMvc/blob/HEAD/src/RememBeer.Tests/Services/RankingStrategies/DoubleOverallScoreStrategyTests/GetBeerRank_Should.cs
ghcode:00000:a42eb10ecd07
mit
codeparrot/github-code
a42eb10ecd077c4ff7bc5e3f3bf50e669c234077855afc451d462778d0c1b0a7
0.7
testing_debugging_repair_refactoring
1,160
false
2026-07-17
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using CommonCache.Test.Common; using Microso...
AzureAD/microsoft-authentication-library-for-dotnet
tests/CacheCompat/CommonCache.Test.Unit/Utils/CacheTestExecutor.cs
https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/HEAD/tests/CacheCompat/CommonCache.Test.Unit/Utils/CacheTestExecutor.cs
ghcode:00000:4f30d9d8aafe
mit
codeparrot/github-code
4f30d9d8aafe66e9952f30af5f5b6d7d9178b1baf5f143b2ae5b7a9e9870ec1f
0.75
testing_debugging_repair_refactoring
911
false
2026-07-17
using System; using System.Collections.Generic; namespace RefinId.Specs { public class TestStorage : ILongIdStorage { private List<long> _values; public TestStorage(params long[] values) { _values = new List<long>(values); } public List<long> Values { get { return _values; } } public List<l...
OlegAxenow/refinid
Refinid.Specs/TestStorage.cs
https://github.com/OlegAxenow/refinid/blob/HEAD/Refinid.Specs/TestStorage.cs
ghcode:00000:78864d93940e
mit
codeparrot/github-code
78864d93940ec74c407b1b2c2f95b304bc041a328517aa19c7822b97cce5c7d7
0.75
testing_debugging_repair_refactoring
196
false
2026-07-17