text
stringlengths
40
299k
repo_name
stringlengths
7
71
path
stringlengths
4
235
source_url
stringlengths
45
289
commit_or_blob_id
stringlengths
25
25
license
stringclasses
7 values
source_dataset
stringclasses
1 value
content_sha256
stringlengths
64
64
quality_score
float64
0.2
0.95
category_slice
stringclasses
1 value
token_count
int64
11
109k
is_synthetic
bool
1 class
collected_at
stringdate
2026-07-17 00:00:00
2026-07-17 00:00:00
//--------------------------------------------------------------------- // <copyright file="Northwind.NamedStreamPartial.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/FunctionalTests/Tests/DataServices/Models/northwind/Northwind.NamedStreamPartial.cs
https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataServices/Models/northwind/Northwind.NamedStreamPartial.cs
ghcode:00001:14bf3efdc7f5
mit
codeparrot/github-code
14bf3efdc7f52039ff6f929364b5b04947a2b3b181f1b19d0fa303a67e5dbfdb
0.95
testing_debugging_repair_refactoring
177
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.Buffers; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.Contracts...
Petermarcu/corefx
src/System.IO.FileSystem/src/System/IO/File.cs
https://github.com/Petermarcu/corefx/blob/HEAD/src/System.IO.FileSystem/src/System/IO/File.cs
ghcode:00001:67909d5d6fc4
mit
codeparrot/github-code
67909d5d6fc47d884864cdd75a637782007c4e55db6483d451d7c49b200ed179
0.95
testing_debugging_repair_refactoring
7,518
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.IO; using System.Linq; using Syste...
bbarry/roslyn
src/Compilers/CSharp/Portable/CommandLine/CSharpCompiler.cs
https://github.com/bbarry/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/CommandLine/CSharpCompiler.cs
ghcode:00001:b2d8bb52d6a9
apache-2.0
codeparrot/github-code
b2d8bb52d6a97bb9fa83477c00cb8dfa87cd5bc34a833687debbd71f6f0a0415
0.7
testing_debugging_repair_refactoring
2,485
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. // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // A barrier allows mul...
Jiayili1/corefx
src/System.Threading/src/System/Threading/Barrier.cs
https://github.com/Jiayili1/corefx/blob/HEAD/src/System.Threading/src/System/Threading/Barrier.cs
ghcode:00001:99a6532cf8df
mit
codeparrot/github-code
99a6532cf8df48d8f1c3a06c2af836a96bbfa56f96a12474f90efe439f961db3
0.8
testing_debugging_repair_refactoring
8,594
false
2026-07-17
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy ...
AnshulYADAV007/Lean
Tests/Common/Securities/Equity/EquityTransactionModelTests.cs
https://github.com/AnshulYADAV007/Lean/blob/HEAD/Tests/Common/Securities/Equity/EquityTransactionModelTests.cs
ghcode:00001:1a1aabd0a393
apache-2.0
codeparrot/github-code
1a1aabd0a3939d1579cf2665f4e8ee43d82f11175521cfa2b51a2b935b91dcad
0.85
testing_debugging_repair_refactoring
2,600
false
2026-07-17
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics; using System.Reflection.Runtime.General; namespace System.Reflection.Runtime.BindingFlagS...
zenos-os/zenos
vendor/corert/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/BindingFlagSupport/Shared.cs
https://github.com/zenos-os/zenos/blob/HEAD/vendor/corert/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/BindingFlagSupport/Shared.cs
ghcode:00001:dc44e3802acf
mit
codeparrot/github-code
dc44e3802acfc70734adf10c7615b437d0f77528cf5d1e858f6ded67d140ca45
0.8
testing_debugging_repair_refactoring
1,571
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.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis...
VPashkov/roslyn
src/Compilers/CSharp/Portable/Binder/Semantics/Conversions/ConversionsBase.cs
https://github.com/VPashkov/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/Semantics/Conversions/ConversionsBase.cs
ghcode:00001:20149df9940c
apache-2.0
codeparrot/github-code
20149df9940c482151a9f4428d25d03ed8c2f9f8a208584b280d4ab63943c40e
0.72
testing_debugging_repair_refactoring
17,287
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.Text; using Xunit; namespace System.Xml.Tests { //Unit testing class for all reading related metho...
shimingsg/corefx
src/System.Private.Xml/tests/XmlNodeReader/System.Xml.XmlNodeReader.Tests/XmlNodeReaderReadTests.cs
https://github.com/shimingsg/corefx/blob/HEAD/src/System.Private.Xml/tests/XmlNodeReader/System.Xml.XmlNodeReader.Tests/XmlNodeReaderReadTests.cs
ghcode:00001:be27a1d2c949
mit
codeparrot/github-code
be27a1d2c9493bebaec68443fd61cf3777e1f22f453f8830cb25b9aed011ee35
0.95
testing_debugging_repair_refactoring
2,318
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. #if USE_MDT_EVENTSOURCE using Microsoft.Diagnostics.Tracing; #else using System.Diagnostics.Tracing; #endif using Xu...
ptoonen/corefx
src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestEventCounter.cs
https://github.com/ptoonen/corefx/blob/HEAD/src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestEventCounter.cs
ghcode:00001:846a3fb4cb6d
mit
codeparrot/github-code
846a3fb4cb6db753eeffabeac850ea2c48e5a54e0fd7b02b2b2da012827f0ec1
0.95
testing_debugging_repair_refactoring
3,291
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.Linq.Expressions; using Xunit; namespace System.Linq.Tests { public class SingleTests : Enumerable...
iamjasonp/corefx
src/System.Linq.Queryable/tests/SingleTests.cs
https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Linq.Queryable/tests/SingleTests.cs
ghcode:00001:655890bab856
mit
codeparrot/github-code
655890bab856b15cbb06974e52340b2fc8059c1b578f2a41bf39dc79c3eedc56
0.95
testing_debugging_repair_refactoring
630
false
2026-07-17
namespace Nancy.Tests.Unit.Conventions { using System; using System.Collections.Generic; using System.Linq; using System.Text; using Nancy.Conventions; using Xunit; using System.Globalization; public class DefaultCultureConventionsFixture { private readonly Nanc...
AlexPuiu/Nancy
src/Nancy.Tests/Unit/Conventions/DefaultCultureConventionsFixture.cs
https://github.com/AlexPuiu/Nancy/blob/HEAD/src/Nancy.Tests/Unit/Conventions/DefaultCultureConventionsFixture.cs
ghcode:00001:4d6771e4b029
mit
codeparrot/github-code
4d6771e4b029fab5b9c2d34937aeedfd16fc2704d05d8bba1972128d95ea41ee
0.7
testing_debugging_repair_refactoring
666
false
2026-07-17
namespace Nancy.ViewEngines.DotLiquid.Tests.Functional { using Testing; using Xunit; public class PartialRenderingFixture { private readonly Browser browser; public PartialRenderingFixture() { var bootstrapper = new ConfigurableBootstrapper(with => { ...
AlexPuiu/Nancy
src/Nancy.ViewEngines.DotLiquid.Tests/Functional/PartialRenderingFixture.cs
https://github.com/AlexPuiu/Nancy/blob/HEAD/src/Nancy.ViewEngines.DotLiquid.Tests/Functional/PartialRenderingFixture.cs
ghcode:00001:ca955f23cb55
mit
codeparrot/github-code
ca955f23cb55f3fdb00991d098b1693da2eb5a3716b3b451e920cbc448ab25e8
0.7
testing_debugging_repair_refactoring
376
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.Composition; using System.Diagnostics; using System.Linq; us...
MatthieuMEZIL/roslyn
src/Workspaces/Core/Portable/SemanticModelWorkspaceService/SemanticModelWorkspaceServiceFactory.cs
https://github.com/MatthieuMEZIL/roslyn/blob/HEAD/src/Workspaces/Core/Portable/SemanticModelWorkspaceService/SemanticModelWorkspaceServiceFactory.cs
ghcode:00001:c4eb6a02bd5a
apache-2.0
codeparrot/github-code
c4eb6a02bd5a43b8a14bd9dfcd45f6b310a84788f8ba19779c2f18ffe038ba2b
0.7
testing_debugging_repair_refactoring
4,123
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 System.Threading; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalys...
v-codeel/roslyn
src/Compilers/CSharp/Portable/Symbols/Source/SourceDelegateMethodSymbol.cs
https://github.com/v-codeel/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/SourceDelegateMethodSymbol.cs
ghcode:00001:f5387ebe523b
apache-2.0
codeparrot/github-code
f5387ebe523b0554fe227dbeb0e66a796b778caac417ec215f8591c5840cb9e6
0.7
testing_debugging_repair_refactoring
2,711
false
2026-07-17
using System; using NUnit.Framework; using OpenQA.Selenium.Environment; namespace OpenQA.Selenium { [TestFixture] public class DriverDisposalTest : DriverTestFixture { [Test] [IgnoreBrowser(Browser.Safari)] public void ShouldOpenAndCloseBrowserRepeatedly() { for ...
jerome-jacob/selenium
dotnet/test/common/DriverDisposalTest.cs
https://github.com/jerome-jacob/selenium/blob/HEAD/dotnet/test/common/DriverDisposalTest.cs
ghcode:00001:db767d1fc5b1
apache-2.0
codeparrot/github-code
db767d1fc5b1d878bb73492b72ea31f0a7366521379a8b4920ada984defea013
0.85
testing_debugging_repair_refactoring
1,063
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.ObjectModel; using System.Linq; using System.Linq.Expressions; using Xunit; namespace Sys...
dotnet-bot/corefx
src/System.Linq.Expressions/tests/Dynamic/CallSiteBinderDefaultBehaviourTests.cs
https://github.com/dotnet-bot/corefx/blob/HEAD/src/System.Linq.Expressions/tests/Dynamic/CallSiteBinderDefaultBehaviourTests.cs
ghcode:00001:f8ea60d5b332
mit
codeparrot/github-code
f8ea60d5b33212a988add6f6b55ce8ea5f1d46437dd2dcac8fc8b709d9e04326
0.95
testing_debugging_repair_refactoring
447
false
2026-07-17
using System.Collections.Generic; using libcmdline; using NUnit.Framework; namespace test { [TestFixture] public class CommandLineArgsTests { [TestCase("-a", "testarg")] [TestCase("-a=testarg")] public void Option_WithArg(params string[] args) { ...
sbennett1990/libcmdline
test/CommandLineArgsTests.cs
https://github.com/sbennett1990/libcmdline/blob/HEAD/test/CommandLineArgsTests.cs
ghcode:00001:4b80b580adfb
isc
codeparrot/github-code
4b80b580adfb3d52212b9b5dda1893cc7aa50276c5b341a4b8d6e4fe052f5bad
0.75
testing_debugging_repair_refactoring
606
false
2026-07-17
namespace EnumPlusPlus.Tests { using System; using Xunit; public class IsValidExtensionTests { [Fact] public void IsValidOnInt_NotEnumType_ThrowsArgumentException() { Assert.Throws<ArgumentException>(() => { 2.IsValid<LookAlike>(); ...
boriseetgerink/EnumPlusPlus
src/EnumPlusPlus.Tests/IsValidExtensionTests.cs
https://github.com/boriseetgerink/EnumPlusPlus/blob/HEAD/src/EnumPlusPlus.Tests/IsValidExtensionTests.cs
ghcode:00001:0cea4398259a
mit
codeparrot/github-code
0cea4398259afc20a2a5049b47455e108b4578a460f8cb3cc593fd328a158ebf
0.75
testing_debugging_repair_refactoring
1,374
false
2026-07-17
using System.Linq; using System.Threading.Tasks; using LinqToDB; using LinqToDB.DataProvider.SqlServer; using LinqToDB.Linq; using NUnit.Framework; using Tests.Model; namespace Tests.Linq { [TestFixture] public class IsNullTests : TestBase { [Test] public void TestExceptionThrown_IsNull_ServerSideOnly() { ...
linq2db/linq2db
Tests/Linq/Linq/IsNullTests.SqlServer.cs
https://github.com/linq2db/linq2db/blob/HEAD/Tests/Linq/Linq/IsNullTests.SqlServer.cs
ghcode:00001:ce00154f82ce
mit
codeparrot/github-code
ce00154f82ce75c5b02f007a13cfefbc3bf4e346c373a6f93fd1f3f1e1f53da1
0.6
testing_debugging_repair_refactoring
461
false
2026-07-17
/* Copyright (c) 2014 <a href="http://www.gutgames.com">James Craig</a> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, ...
JaCraig/Craig-s-Utility-Library
UnitTests/ORM/Manager/QueryProvider/Manager.cs
https://github.com/JaCraig/Craig-s-Utility-Library/blob/HEAD/UnitTests/ORM/Manager/QueryProvider/Manager.cs
ghcode:00001:7e013a591d9f
mit
codeparrot/github-code
7e013a591d9f3f3f309f88334fba3cc092efd048c9ec27429fdcb1ee5257ffa4
0.6
testing_debugging_repair_refactoring
660
false
2026-07-17
namespace SchoolTests { using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using School; [TestClass] public class SchoolTests { [TestMethod] public void SchoolShouldNotThrowException() { var school = new School("Telerik ...
GeorgiPetrovGH/TelerikAcademy
08.High-Quality-Code/Unit Testing Homework/Students and courses/StudentsAndCourses/SchoolTests/SchoolTests.cs
https://github.com/GeorgiPetrovGH/TelerikAcademy/blob/HEAD/08.High-Quality-Code/Unit Testing Homework/Students and courses/StudentsAndCourses/SchoolTests/SchoolTests.cs
ghcode:00001:00c84f8a8e58
mit
codeparrot/github-code
00c84f8a8e5895048f97e962f35fd9f90527e07be291ca94e151335f91911c91
0.75
testing_debugging_repair_refactoring
1,012
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using Xunit; // Given a triangle, find the minimum path sum from top to bottom. // Each step you may move to adjacent numbers on the row below. // For example, given the following triangle // [ // [2], // [3,4], // [6,5,7], // [4,1,8,3]...
txchen/localleet
csharp/Q120_Triangle.cs
https://github.com/txchen/localleet/blob/HEAD/csharp/Q120_Triangle.cs
ghcode:00001:12b9ea1b8cab
mit
codeparrot/github-code
12b9ea1b8cab564ab9828ce7f591851f58835b71ab6585fd67695855c2006265
0.7
testing_debugging_repair_refactoring
325
false
2026-07-17
// SPDX-License-Identifier: MIT // Copyright wtfsckgh@gmail.com // Copyright iced contributors #if MASM using System.Collections.Generic; using Iced.Intel; using Iced.UnitTests.Intel.DecoderTests; using Xunit; namespace Iced.UnitTests.Intel.FormatterTests.Masm { public sealed class FormatterTest64 : FormatterTest { ...
0xd4d/iced
src/csharp/Intel/Iced.UnitTests/Intel/FormatterTests/Masm/FormatterTest64.cs
https://github.com/0xd4d/iced/blob/HEAD/src/csharp/Intel/Iced.UnitTests/Intel/FormatterTests/Masm/FormatterTest64.cs
ghcode:00001:2c1fc1ae9fc5
mit
codeparrot/github-code
2c1fc1ae9fc56809ccf7efe8d1ba91fb1c1f78539643d6c226ee0facc5b24180
0.7
testing_debugging_repair_refactoring
718
false
2026-07-17
namespace Microsoft.ApplicationInsights.AspNetCore.Tests.Helpers { using System; using Microsoft.ApplicationInsights.AspNetCore.DiagnosticListeners; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc...
pharring/ApplicationInsights-dotnet
NETCORE/test/Microsoft.ApplicationInsights.AspNetCore.Tests/Helpers/HttpContextAccessorHelper.cs
https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/NETCORE/test/Microsoft.ApplicationInsights.AspNetCore.Tests/Helpers/HttpContextAccessorHelper.cs
ghcode:00001:7e5101b3c19a
mit
codeparrot/github-code
7e5101b3c19a0193d7e51e36883381d6436c76e38ff6e68beecde8bb75012782
0.85
testing_debugging_repair_refactoring
398
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 ...
kainazzzo/FRBInput
Apache.NMS/src/test/csharp/XmlMessageTest.cs
https://github.com/kainazzzo/FRBInput/blob/HEAD/Apache.NMS/src/test/csharp/XmlMessageTest.cs
ghcode:00001:6ee2c86c97de
mit
codeparrot/github-code
6ee2c86c97de114bf05194218e14493a448aca747b2a15c46c0d5bda792369e2
0.95
testing_debugging_repair_refactoring
1,562
false
2026-07-17
/* * SonarScanner for .NET * Copyright (C) 2016-2022 SonarSource SA * mailto: info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of ...
SonarSource-DotNet/sonar-msbuild-runner
Tests/SonarScanner.MSBuild.Tasks.IntegrationTest/TargetsTests/ImportBeforeTargetsTests.cs
https://github.com/SonarSource-DotNet/sonar-msbuild-runner/blob/HEAD/Tests/SonarScanner.MSBuild.Tasks.IntegrationTest/TargetsTests/ImportBeforeTargetsTests.cs
ghcode:00001:c074489acdb8
mit
codeparrot/github-code
c074489acdb859329e679114223185baefa6f3d7c9bbb4104dfcddc18fdd10b5
0.85
testing_debugging_repair_refactoring
1,827
false
2026-07-17
using Moq; using Ocelot.Infrastructure; using Ocelot.Logging; using Ocelot.Provider.Kubernetes; using Ocelot.ServiceDiscovery.Providers; using Ocelot.Values; using Shouldly; using System; using System.Collections.Generic; using TestStack.BDDfy; using Xunit; namespace Ocelot.UnitTests.Kubernetes { public class Pol...
geffzhang/Ocelot
test/Ocelot.UnitTests/Kubernetes/PollingKubeServiceDiscoveryProviderTests.cs
https://github.com/geffzhang/Ocelot/blob/HEAD/test/Ocelot.UnitTests/Kubernetes/PollingKubeServiceDiscoveryProviderTests.cs
ghcode:00001:ba082801db46
mit
codeparrot/github-code
ba082801db464dd146063166137ad5b59eb30690a257f5daf560c1ff44e9e288
0.75
testing_debugging_repair_refactoring
508
false
2026-07-17
namespace Promact.Trappist.DomainModel.Enum { public enum TestStatus { AllCandidates = 0, CompletedTest = 1, ExpiredTest = 2, BlockedTest = 3, UnfinishedTest = 4 } }
Promact/trappist
Trappist/src/Promact.Trappist.DomainModel/Enum/TestStatus.cs
https://github.com/Promact/trappist/blob/HEAD/Trappist/src/Promact.Trappist.DomainModel/Enum/TestStatus.cs
ghcode:00001:c1407c9a9a46
mit
codeparrot/github-code
c1407c9a9a46cf26424e4158b37a473b94b49f46bc9d93ef85d0dc56c50dbd1c
0.85
testing_debugging_repair_refactoring
59
false
2026-07-17
using SumIntList; using System; using Xunit; namespace SumIntListTest { public class SumIntListTest { Random _generator = new Random(); [Fact] public void ShouldReturnNoElementsWhenNoInput() { // Arrange int[] elements = new int[] { }; ...
slimktari/tdd_code_katas
src/SumIntList/SumIntListTest/SumIntListTest.cs
https://github.com/slimktari/tdd_code_katas/blob/HEAD/src/SumIntList/SumIntListTest/SumIntListTest.cs
ghcode:00001:28c716ea160c
mit
codeparrot/github-code
28c716ea160c9a27f96dc8b082eabdbf3b2ba121f94e59fc656b4ccad53ece28
0.7
testing_debugging_repair_refactoring
688
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.Protocols.TestTools; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.Protocols.TestSuites.FileSharing.Common.Adapter; using Microso...
chenlu0616/WindowsProtocolTestSuites
TestSuites/FileServer/src/RSVD/TestSuite/ReadWriteSharedVHD.cs
https://github.com/chenlu0616/WindowsProtocolTestSuites/blob/HEAD/TestSuites/FileServer/src/RSVD/TestSuite/ReadWriteSharedVHD.cs
ghcode:00001:73a1c4dd9426
mit
codeparrot/github-code
73a1c4dd9426a0dee2e31beb4f764c7aca0f53cb1aa0e0b6a3c428093f7dee15
0.8
testing_debugging_repair_refactoring
682
false
2026-07-17
using UnityEngine; using UnityEditor; using System.Collections; using System.Collections.Generic; namespace Igor { public class MonsterTestInputOutputBox : InputOutputBox<MonsterTestBase> { public MonsterTestInputOutputBox(MonsterTestWindow Owner, MonsterTestBase EntityToWatch, string InBoxTitle, bool InbIsInputBox) ...
mikamikem/Igor
Modules/MonsterTest/Core/Editor/Test/MonsterTestInputOutputBox.cs
https://github.com/mikamikem/Igor/blob/HEAD/Modules/MonsterTest/Core/Editor/Test/MonsterTestInputOutputBox.cs
ghcode:00001:670dddb56724
mit
codeparrot/github-code
670dddb56724bd4f8e2cf78551a0659f2657993700612be3725e5a9cbf978056
0.85
testing_debugging_repair_refactoring
545
false
2026-07-17
using System; using System.Collections; using System.Collections.Generic; using Bender.Configuration; using Bender.Nodes; using Bender.Nodes.Object.Values; using Bender.Reflection; using NUnit.Framework; using Should; namespace Tests.Nodes.Object.Values { [TestFixture] public class ValueFactoryTe...
mikeobrien/Bender
src/Tests/Nodes/Object/Values/ValueFactoryTests.cs
https://github.com/mikeobrien/Bender/blob/HEAD/src/Tests/Nodes/Object/Values/ValueFactoryTests.cs
ghcode:00001:f4ee5873bd4d
mit
codeparrot/github-code
f4ee5873bd4dfff35461dfd17ef54002fbc7de2698fb1065d8c2748848e49f77
0.95
testing_debugging_repair_refactoring
1,069
false
2026-07-17
using System; using System.Threading.Tasks; using System.Linq; using System.Collections.Generic; using System.Globalization; using NUnit.Framework; using TimeAndDate.Services.Tests; using TimeAndDate.Services.DataTypes.Places; using TimeAndDate.Services.DataTypes.Time; namespace TimeAndDate.Services.Tests.IntegrationT...
timeanddate/libtad-net
TimeAndDate.Services.Tests/IntegrationTests/async/ConvertTimeServiceTests.cs
https://github.com/timeanddate/libtad-net/blob/HEAD/TimeAndDate.Services.Tests/IntegrationTests/async/ConvertTimeServiceTests.cs
ghcode:00001:59614db893af
mit
codeparrot/github-code
59614db893af72f66cdccd73a77b8bcf17502ffcc56f7c2cfd9d69740018432d
0.85
testing_debugging_repair_refactoring
2,940
false
2026-07-17
//using System; // //using NUnit.Framework; // //using SoundCloud.Api.Utils; // //namespace SoundCloud.Api.Test.Utils //{ // [TestFixture] // public class UriExtensionTest // { // [Test] // public void Test_AppendCredentials_AccessToken() // { // var credentials = new SoundClou...
prayzzz/SoundCloud.Api
test/SoundCloud.Api.Test/Utils/UriExtensionTest.cs
https://github.com/prayzzz/SoundCloud.Api/blob/HEAD/test/SoundCloud.Api.Test/Utils/UriExtensionTest.cs
ghcode:00001:8a3c45b66591
mit
codeparrot/github-code
8a3c45b66591e9100603e5bb53443868ee663cb62064dd9396a41a67d511c040
0.7
testing_debugging_repair_refactoring
480
false
2026-07-17
using CodeJam._2015.QualificationRound.InfiniteHouseOfPancakes.src; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Tests._2015.QualificationRound { [TestClass] public class InfiniteHouseOfPancakesTest { [TestMethod] public void DinersEatTest() { var solve...
michaelmilessmith/code-jam-solutions
C#/Tests/2015/QualificationRound/InfiniteHouseOfPancakesTest.cs
https://github.com/michaelmilessmith/code-jam-solutions/blob/HEAD/C#/Tests/2015/QualificationRound/InfiniteHouseOfPancakesTest.cs
ghcode:00001:098458b57a94
mit
codeparrot/github-code
098458b57a94880a9f7cce73cb6bbdc2f3c00983112e4b86931bf75714968601
0.85
testing_debugging_repair_refactoring
1,012
false
2026-07-17
using System.Text; using Hie.Core.Mocks; using Hie.Core.Model; using Hie.Core.Modules.JavaScript; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Hie.Core { [TestClass] public class HieEngineTest { [TestMethod] public void BasicRoutingFilteringTransformationTest() { // A new application A...
NiclasOlofsson/HIE
Hie/Hie.Core.Test/HieEngineTest.cs
https://github.com/NiclasOlofsson/HIE/blob/HEAD/Hie/Hie.Core.Test/HieEngineTest.cs
ghcode:00001:12c8730e7e89
mit
codeparrot/github-code
12c8730e7e8987375dfa65d3202f14f599f18c25d3f37293cfe4a024d937b0a2
0.7
testing_debugging_repair_refactoring
819
false
2026-07-17
using Microsoft.SqlServer.TransactSql.ScriptDom; using System; using System.IO; using System.Linq; using Xunit; using FluentAssertions; namespace Prequel.Tests { internal static class TestData { } public class ArgumentsTests { [Fact] public void NoArgumentsRaisesUsageExce...
edyoung/prequel
Prequel.Tests/ArgumentsTests.cs
https://github.com/edyoung/prequel/blob/HEAD/Prequel.Tests/ArgumentsTests.cs
ghcode:00001:9e2d76b588f1
mit
codeparrot/github-code
9e2d76b588f14e5b95dab089a03fb1d8d22ea32abe5700a739106f59e132b88f
0.75
testing_debugging_repair_refactoring
857
false
2026-07-17
using NUnit.Framework; using OnlineShop.Clients.MVC.Controllers; using OnlineShop.Clients.MVC.Models; using OnlineShop.Configuration.Common.Constants; using TestStack.FluentMVCTesting; namespace OnlineShop.Clients.MVC.Tests.ControllersTests.ErrorControllerTests { [TestFixture] public class ServerError_Should ...
StoikoNeykov/OnlineShop
OnlineShop/Tests/ClientTests/OnlineShop.Clients.MVC.Tests/ControllersTests/ErrorControllerTests/ServerError_Should.cs
https://github.com/StoikoNeykov/OnlineShop/blob/HEAD/OnlineShop/Tests/ClientTests/OnlineShop.Clients.MVC.Tests/ControllersTests/ErrorControllerTests/ServerError_Should.cs
ghcode:00001:34510076c7a4
mit
codeparrot/github-code
34510076c7a4caaa0a750fc4d5efa80cf6876b8a61be964ca9b176676ccef0c3
0.95
testing_debugging_repair_refactoring
217
false
2026-07-17
namespace R3.Geometry { using OpenTK.Graphics.OpenGL; using R3.Math; using System; using System.Numerics; public enum HyperbolicModel { Poincare, Klein, Pseudosphere, Hyperboloid, Band, UpperHalfPlane, Orthographic, } public class HyperbolicModels { private static void Vertex( Vector3D v ) ...
roice3/MagicTile
R3/R3.Core/Geometry/HyperbolicModels.cs
https://github.com/roice3/MagicTile/blob/HEAD/R3/R3.Core/Geometry/HyperbolicModels.cs
ghcode:00001:9dacb0b31b30
mit
codeparrot/github-code
9dacb0b31b3097ee6f51260cc9e332addf1f932c9e130b1e3e0756f455b71634
0.7
testing_debugging_repair_refactoring
2,111
false
2026-07-17
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using HaloSharp.Extension; using HaloSharp.Model.Halo5.Metadata; using HaloSharp.Query.Halo5.Metadata; using HaloSharp.Test.Config; using HaloSharp.Test.Utility; using Moq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; ...
gitFurious/HaloSharp
Source/HaloSharp.Test/Query/Halo5/Metadata/GetSeasonsTests.cs
https://github.com/gitFurious/HaloSharp/blob/HEAD/Source/HaloSharp.Test/Query/Halo5/Metadata/GetSeasonsTests.cs
ghcode:00001:ce92970a94f6
mit
codeparrot/github-code
ce92970a94f6c4e2106b72d6d7a908922cba7a2002901893e89a02eb9376ba31
0.75
testing_debugging_repair_refactoring
678
false
2026-07-17
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; using QuickDALTests.TestCaseClasses; namespace QuickDALTests { [TestClass] public class DataObjectTests : ScopedTestClass { public static void AssertFullMatch(SimpleDataObject a, SimpleDataObject b) ...
svidgen/QuickDAL
QuickDALTests/DataObjectTests.cs
https://github.com/svidgen/QuickDAL/blob/HEAD/QuickDALTests/DataObjectTests.cs
ghcode:00001:f06798208a25
mit
codeparrot/github-code
f06798208a2566d77d18fe4e8d1bca700405c32bc2efec0bc44f3129c836a845
0.75
testing_debugging_repair_refactoring
997
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; using System.Diagnostics; using System.Runtime.CompilerServices; using Syste...
ruben-ayrapetyan/coreclr
src/mscorlib/shared/System/Collections/Generic/Dictionary.cs
https://github.com/ruben-ayrapetyan/coreclr/blob/HEAD/src/mscorlib/shared/System/Collections/Generic/Dictionary.cs
ghcode:00001:8d08c6cbc818
mit
codeparrot/github-code
8d08c6cbc818f886f3730e779a2cd3c3f23d881d7f550a976e1daab71c7cad96
0.7
testing_debugging_repair_refactoring
9,799
false
2026-07-17
namespace StorageAdapters.WebDAV.Test { using System; using System.Threading.Tasks; using Xunit; public class WebDAVStorageAdapterTests : StorageAdapters.Test.StorageAdapterTests<WebDAVStorageAdapterFixture, WebDAVStorageAdapter> { public WebDAVStorageAdapterTests(WebDAVStorageAdapterFixtu...
NsdWorkBook/StorageAdapters
StorageAdapters.WebDAV.Test/WebDAVStorageAdapterTests.cs
https://github.com/NsdWorkBook/StorageAdapters/blob/HEAD/StorageAdapters.WebDAV.Test/WebDAVStorageAdapterTests.cs
ghcode:00001:e08c63eb82e8
mit
codeparrot/github-code
e08c63eb82e88cad36de50c88381653c2ca3026569bf76f6b064ae900ce95e5b
0.75
testing_debugging_repair_refactoring
358
false
2026-07-17
using System; using NUnit.Framework; using StructureMap; namespace TinyHandler.Tests { using TinyHandler.Tests.Mocks; using TinyHandler.Tests.Mocks.Exceptions; [TestFixture] public class OnFailSequenceTests { [Test] public void OnFailExecuted() { ...
ApmeM/TinyHandler
Source/TinyHandler.Tests/OnFailSequenceTests.cs
https://github.com/ApmeM/TinyHandler/blob/HEAD/Source/TinyHandler.Tests/OnFailSequenceTests.cs
ghcode:00001:1aff1e3a5924
mit
codeparrot/github-code
1aff1e3a592475157ae08514a49b2d24fb8d2c85b0b5f14071b7c845adf347a1
0.85
testing_debugging_repair_refactoring
890
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.Tasks; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.S...
Hosch250/roslyn
src/EditorFeatures/CSharpTest/SignatureHelp/InvocationExpressionSignatureHelpProviderTests.cs
https://github.com/Hosch250/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/SignatureHelp/InvocationExpressionSignatureHelpProviderTests.cs
ghcode:00001:befd23eb7794
apache-2.0
codeparrot/github-code
befd23eb7794109abb8627ee96c07186c8b5c2ff4788a16ef27e9bee9c5e4390
0.72
testing_debugging_repair_refactoring
14,596
false
2026-07-17
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AppNexusLiveDataFixture.cs" company="Rare Crowds Inc"> // Copyright 2012-2013 Rare Crowds, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // y...
chinnurtb/OpenAdStack-1
Reporting/ReportingActivitiesIntegrationTests/AppNexusLiveDataFixture.cs
https://github.com/chinnurtb/OpenAdStack-1/blob/HEAD/Reporting/ReportingActivitiesIntegrationTests/AppNexusLiveDataFixture.cs
ghcode:00001:548076cd2ad0
apache-2.0
codeparrot/github-code
548076cd2ad0e454bdd583a65a08440d6819e197b9d51d713532b150e1a5ee32
0.7
testing_debugging_repair_refactoring
2,289
false
2026-07-17
namespace Test.NDatabase.Odb.Test.VO.Inheritance { public class OutdoorPlayer : Player { private string groundName; //1 public string GroundName { get { return groundName; } set { groundName = value; } } } }
WaltChen/NDatabase
tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/VO/Inheritance/OutdoorPlayer.cs
https://github.com/WaltChen/NDatabase/blob/HEAD/tests/NDatabase.Old.UnitTests/NDatabase/Odb/Test/VO/Inheritance/OutdoorPlayer.cs
ghcode:00001:303f75238205
apache-2.0
codeparrot/github-code
303f75238205ff955a920e15b50914c59ca6ab894c25250de9abdbb573b2617d
0.85
testing_debugging_repair_refactoring
62
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.Testing; using Test.Utilities; using Xunit; using VerifyCS = Test.Utilities.CSharpSecurityCodeFixV...
pakdev/roslyn-analyzers
src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Data/ReviewSQLQueriesForSecurityVulnerabilitiesTests_FlowAnalysis.cs
https://github.com/pakdev/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Data/ReviewSQLQueriesForSecurityVulnerabilitiesTests_FlowAnalysis.cs
ghcode:00001:49b67aa4c944
apache-2.0
codeparrot/github-code
49b67aa4c944fb25f87dd1a335d43d35df95b8a90de7757248684ca9d7763306
0.65
testing_debugging_repair_refactoring
60,845
false
2026-07-17
using System; using BuildAProject.BuildManagement.BuildManagers.Definitions; using BuildAProject.BuildManagement.BuildManagers.TaskManagers; using BuildAProject.BuildManagement.Test.TestSupport.Builders; using Moq; using NUnit.Framework; using Ploeh.AutoFixture; using Ploeh.AutoFixture.AutoMoq; using Ploeh.AutoFixture...
kristianhald/BuildAProject
BuildManagement.Test/BuildManagers/TaskManagers/BuildTaskProviderManagerTests.cs
https://github.com/kristianhald/BuildAProject/blob/HEAD/BuildManagement.Test/BuildManagers/TaskManagers/BuildTaskProviderManagerTests.cs
ghcode:00001:d30acd8b3305
apache-2.0
codeparrot/github-code
d30acd8b330569352ba3b3b5d348faa8ba59366d3b95b9ffd657fe4e9f9b2fd0
0.85
testing_debugging_repair_refactoring
535
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.Linq; using System.Threading; using System.Threading.Tasks; using Roslyn.Test.Utilities;...
reaction1989/roslyn
src/Features/LanguageServer/ProtocolUnitTests/Formatting/FormatDocumentTests.cs
https://github.com/reaction1989/roslyn/blob/HEAD/src/Features/LanguageServer/ProtocolUnitTests/Formatting/FormatDocumentTests.cs
ghcode:00001:c8d6c853c3c8
apache-2.0
codeparrot/github-code
c8d6c853c3c83eb55f8c471c8fcc6528cf80dfd09ecf9f6ed1d87791d7a4617c
0.85
testing_debugging_repair_refactoring
368
false
2026-07-17
namespace Climbing.Web.Tests.Unit { using System; using Climbing.Web.Utilities.Mapper; using Xunit; public class AutoMapperTests { [Theory] [AutoMoqData] public void ShouldMap(ClassFrom from) { // Arrange AutoMapper.Setup((ClassFrom cf) => cf....
ivankaurov/ClimbingCompetitionWeb
WebClimbingNew/Tests.Unit/AutoMapperTests.cs
https://github.com/ivankaurov/ClimbingCompetitionWeb/blob/HEAD/WebClimbingNew/Tests.Unit/AutoMapperTests.cs
ghcode:00001:3ff0d7fc1ddb
apache-2.0
codeparrot/github-code
3ff0d7fc1ddbacf6d3fa7e77cc1a76c4283bec79834a4f6caa743fe32b9981bd
0.85
testing_debugging_repair_refactoring
322
false
2026-07-17
using UnityEngine; public class Test { public void Method() { // This won't complete, because we don't complete ALL types, and this resolves to UnityEngine.Grid var so = ScriptableObject.CreateInstance("Edit{caret}"); } }
JetBrains/resharper-unity
resharper/resharper-unity/test/data/Unity/CSharp/Resolve/UnityObjectTypeInStringLiteral/CodeCompletion/ScriptableObjectCreateInstance03.cs
https://github.com/JetBrains/resharper-unity/blob/HEAD/resharper/resharper-unity/test/data/Unity/CSharp/Resolve/UnityObjectTypeInStringLiteral/CodeCompletion/ScriptableObjectCreateInstance03.cs
ghcode:00001:695a6e365d0d
apache-2.0
codeparrot/github-code
695a6e365d0d3a39bb4ea8423e06af60f0638f34e7f92daed41ed823cc9dccf1
0.85
testing_debugging_repair_refactoring
52
false
2026-07-17
using Fidget.Validation.Addresses.Metadata; using System.Collections.Generic; using System.Linq; using Xunit; namespace Fidget.Validation.Addresses.Validation.Validators { public class CountryValidatorTests { IAddressValidator instance => new CountryValidator(); ValidationContext c...
seanterry42/Fidget.Validation.Addresses
test/Validation/Validators/CountryValidatorTests.cs
https://github.com/seanterry42/Fidget.Validation.Addresses/blob/HEAD/test/Validation/Validators/CountryValidatorTests.cs
ghcode:00001:013433195c48
apache-2.0
codeparrot/github-code
013433195c48f0c85f54300f4e80ad0f3a275eecadf420ec4f65a1dbced7d25f
0.85
testing_debugging_repair_refactoring
433
false
2026-07-17
using Microsoft.VisualStudio.TestTools.UnitTesting; using EveScalper; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EveScalper.Tests { [TestClass()] public class RandomWalkerTests { private RandomWalker walker; ...
brainscrape/EveScalper
EveScalperTests/RandomWalkerTests.cs
https://github.com/brainscrape/EveScalper/blob/HEAD/EveScalperTests/RandomWalkerTests.cs
ghcode:00001:a6e353818cd0
apache-2.0
codeparrot/github-code
a6e353818cd09e74a5bb97055b214bd65320af6e8dd148809c76b4a9c6348c98
0.75
testing_debugging_repair_refactoring
269
false
2026-07-17
using NUnit.Framework; using System; namespace Reactor.Core.Test { [TestFixture] [Timeout(30000)] public class TimeoutTest { [Test] public void Timeout_Normal() { var first = new DirectProcessor<int>(); var item = new DirectProcessor<int>(); ...
reactor/reactor-core-dotnet
Reactor.Core.Test/TimeoutTest.cs
https://github.com/reactor/reactor-core-dotnet/blob/HEAD/Reactor.Core.Test/TimeoutTest.cs
ghcode:00001:cd357bb94ad0
apache-2.0
codeparrot/github-code
cd357bb94ad0dfda0f36787c7387ef920dca2a068eb4a5bbb11107e7cd15723e
0.6
testing_debugging_repair_refactoring
900
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Cassandra.Data.Linq; using Cassandra.Mapping; using Cassandra.Tasks; using Cassandra.Tests.Mapping.Pocos; using Cassandra.Tests.Mapping.TestData; using Moq; using NUnit.Framework; namespace Cassandra.Tests.Mappin...
mintsoft/csharp-driver
src/Cassandra.Tests/Mapping/Linq/LinqMappingUnitTests.cs
https://github.com/mintsoft/csharp-driver/blob/HEAD/src/Cassandra.Tests/Mapping/Linq/LinqMappingUnitTests.cs
ghcode:00001:eb64e975f84e
apache-2.0
codeparrot/github-code
eb64e975f84ec6d0b108fc439346fba6c8110b881b2e8b3b15a0f9d322fe868b
0.75
testing_debugging_repair_refactoring
1,691
false
2026-07-17
// Copyright 2003-2004 DigitalCraftsmen - http://www.digitalcraftsmen.com.br/ // // 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 // //...
castleproject/castle-READONLY-SVN-dump
Experiments/Attic/ManagedExtensions/ManagementExtensionsTest/InterfacedComponentTestCase.cs
https://github.com/castleproject/castle-READONLY-SVN-dump/blob/HEAD/Experiments/Attic/ManagedExtensions/ManagementExtensionsTest/InterfacedComponentTestCase.cs
ghcode:00001:256d89722161
apache-2.0
codeparrot/github-code
256d8972216131608dfa7f0f4474c52d34176dd26a12cc589c733092a0513bfc
0.7
testing_debugging_repair_refactoring
372
false
2026-07-17
//MIT, 2014-present, WinterDev using System; using System.Collections.Generic; using PixelFarm.Drawing; using PixelFarm.DrawingGL; namespace Mini { public delegate void GLSwapBufferDelegate(); public delegate IntPtr GetGLControlDisplay(); public delegate IntPtr GetGLSurface(); public abstract class...
LayoutFarm/PixelFarm
src/Tests/TestSamples_Painting_Focus/00_DemoBase/DemoBase1.cs
https://github.com/LayoutFarm/PixelFarm/blob/HEAD/src/Tests/TestSamples_Painting_Focus/00_DemoBase/DemoBase1.cs
ghcode:00001:bd0275557de0
bsd-2-clause
codeparrot/github-code
bd0275557de0aace6e19dabd174376e5fa4d2c2f689025e6de4da9d5e692449d
0.88
testing_debugging_repair_refactoring
3,452
false
2026-07-17
using FlubuCore.Commanding; using Xunit; namespace FlubuCore.Tests.Commanding { public class FlubuConfigurationProviderTests { private FlubuConfigurationProvider _flubuConfigurationProvider; public FlubuConfigurationProviderTests() { _flubuConfigurationProvider = new Flubu...
flubu-core/flubu.core
src/FlubuCore.Tests/Commanding/FlubuConfigurationProviderTests.cs
https://github.com/flubu-core/flubu.core/blob/HEAD/src/FlubuCore.Tests/Commanding/FlubuConfigurationProviderTests.cs
ghcode:00001:a9703d2381d8
bsd-2-clause
codeparrot/github-code
a9703d2381d861e7842f4cb15a07bdaf25de9136d4a5099b791746d1892d23a3
0.68
testing_debugging_repair_refactoring
258
false
2026-07-17
using System; using Shouldly.Tests.TestHelpers; namespace Shouldly.Tests.ShouldNotBe.WithTolerance { public class TimeSpanScenario : ShouldlyShouldTestScenario { protected override void ShouldThrowAWobbly() { var timeSpan = TimeSpan.FromHours(1); timeSpan.ShouldNotBe(tim...
MitjaBezensek/shouldly
src/Shouldly.Tests/ShouldNotBe/WithTolerance/TimeSpanScenario.cs
https://github.com/MitjaBezensek/shouldly/blob/HEAD/src/Shouldly.Tests/ShouldNotBe/WithTolerance/TimeSpanScenario.cs
ghcode:00001:fd034f80e711
bsd-3-clause
codeparrot/github-code
fd034f80e7119af615c48cfc93b5646dca4d25216a389352a6c08b14d20a3c02
0.6
testing_debugging_repair_refactoring
195
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; using Biggy; using Biggy.Postgres; namespace Tests.Postgres { [Trait("Database Column Mapping", "")] public class PGList_Column_Mapping { // WHAT DOES THIS DO? Runs basic CRUD aga...
upta/biggy
Tests/Postgres/PGList_Column_Mapping.cs
https://github.com/upta/biggy/blob/HEAD/Tests/Postgres/PGList_Column_Mapping.cs
ghcode:00001:6c5cc4a2dd84
bsd-3-clause
codeparrot/github-code
6c5cc4a2dd846afc1565ce148e361e9394c4504cebd180e5f4e22849e31e665a
0.7
testing_debugging_repair_refactoring
1,252
false
2026-07-17
using System; using MongoDB.Bson; using MongoDB.Driver; using NUnit.Framework; namespace DataAccess.Tests.Repository { [TestFixture] public class ExtensionsFixture { [Test] public void ToQueryDocReturnsNullForNullString() { Assert.Null(((string)null).ToQuer...
TellagoDevLabs/Hermes
src/DataAccess.MongoDB.Tests/Repository/ExtensionsTest.cs
https://github.com/TellagoDevLabs/Hermes/blob/HEAD/src/DataAccess.MongoDB.Tests/Repository/ExtensionsTest.cs
ghcode:00001:6f9bf69666a6
bsd-3-clause
codeparrot/github-code
6f9bf69666a675d5fe3e850462e7cb056f654d67f528b3ce533c8a017b538737
0.6
testing_debugging_repair_refactoring
200
false
2026-07-17
#region Copyright (c) 2003-2005, Luke T. Maxon /******************************************************************************************************************** ' ' Copyright (c) 2003-2005, Luke T. Maxon ' All rights reserved. ' ' Redistribution and use in source and binary forms, with or without modificat...
ChrisPelatari/XunitForms
source/XunitForms.Test/Recorder/NameResolverTest.cs
https://github.com/ChrisPelatari/XunitForms/blob/HEAD/source/XunitForms.Test/Recorder/NameResolverTest.cs
ghcode:00001:50b590bcf26e
bsd-3-clause
codeparrot/github-code
50b590bcf26e87353eceb0be0b77b86de42cb2311ee31635d40a1c4f38b8e67e
0.6
testing_debugging_repair_refactoring
656
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using NUnit.Framework; using Projac.Testing; namespace Projac.Tests.Testing { namespace ProjectionScenarioTests { [TestFixture] public class AnyState { [...
yreynhout/Projac
src/Projac.Tests/Testing/ProjectionScenarioTests.cs
https://github.com/yreynhout/Projac/blob/HEAD/src/Projac.Tests/Testing/ProjectionScenarioTests.cs
ghcode:00001:687ea26e9a7d
bsd-3-clause
codeparrot/github-code
687ea26e9a7db34f4a6bfb26471ca0f81de3655574053ac1b8f48a94754a538c
0.75
testing_debugging_repair_refactoring
1,821
false
2026-07-17
using GitVersion.Helpers; namespace GitVersion.Core.Tests.Helpers; public class TestFileSystem : IFileSystem { private readonly Dictionary<string, byte[]> fileSystem = new(StringComparerUtils.OsDependentComparer); public void Copy(string from, string to, bool overwrite) { var fromPath = Path.GetF...
asbjornu/GitVersion
src/GitVersion.Core.Tests/Helpers/TestFileSystem.cs
https://github.com/asbjornu/GitVersion/blob/HEAD/src/GitVersion.Core.Tests/Helpers/TestFileSystem.cs
ghcode:00001:21e49623c9b4
mit
codeparrot/github-code
21e49623c9b4fa7751e713e6c61a9605f8c13458c5921f6d9a6cb7af7f6a7733
0.75
testing_debugging_repair_refactoring
740
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 enable using System; using System.Collections.Generic; using System.Collections.Immutable; using System....
jmarolf/roslyn
src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalysisScope.cs
https://github.com/jmarolf/roslyn/blob/HEAD/src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalysisScope.cs
ghcode:00001:8783e83d47a5
mit
codeparrot/github-code
8783e83d47a5626ede28a1785de72fedfea14f34907d5e66a185f7098f861c62
0.7
testing_debugging_repair_refactoring
1,684
false
2026-07-17
using System; class Bad { class Range { private int[] rarray = new int[2]; public Range(int min, int max) { if (min <= max) { rarray[0] = min; rarray[1] = max; } } public int[] Get() => rarray; } ...
github/codeql
csharp/ql/test/query-tests/Bad Practices/Implementation Hiding/ExposeRepresentation/ExposeRepresentationBad.cs
https://github.com/github/codeql/blob/HEAD/csharp/ql/test/query-tests/Bad Practices/Implementation Hiding/ExposeRepresentation/ExposeRepresentationBad.cs
ghcode:00001:89394cec0b2e
mit
codeparrot/github-code
89394cec0b2e892ab997c1011f0ba29f6f790e457f6e1c5360cd4dbe975c9489
0.85
testing_debugging_repair_refactoring
166
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using AutoPoco.Configuration; namespace AutoPoco.Tests.Integration.Configuration { [TestFixture] public class ConfigurationBaseTest { public EngineConfigurationBuilder Builder { ...
KCL5South/KCLAutoPoco
AutoPoco.Tests.Integration/Configuration/ConfigurationBaseTest.cs
https://github.com/KCL5South/KCLAutoPoco/blob/HEAD/AutoPoco.Tests.Integration/Configuration/ConfigurationBaseTest.cs
ghcode:00001:cb031185393f
mit
codeparrot/github-code
cb031185393f907e349396885499c36c1a3f1ee47daff55281c2049fd7ad736a
0.75
testing_debugging_repair_refactoring
94
false
2026-07-17
// The MIT License (MIT) // // Copyright (c) 2014-2017, Institute for Software & Systems Engineering // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including wi...
maul-esel/ssharp
SafetySharpTests/Execution/ProvidedPorts/Methods/non-inherited.cs
https://github.com/maul-esel/ssharp/blob/HEAD/SafetySharpTests/Execution/ProvidedPorts/Methods/non-inherited.cs
ghcode:00001:f9446cf6ba28
mit
codeparrot/github-code
f9446cf6ba283ae0ef02f53d85a2f358226622d85717b9e6c956d28ca93c7ae4
0.7
testing_debugging_repair_refactoring
339
false
2026-07-17
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Extensions; using osu.Framework.Input.Bindings; using osu.Framework.Testing;...
ppy/osu
osu.Game.Tests/Visual/Navigation/TestSceneChangeAndUseGameplayBindings.cs
https://github.com/ppy/osu/blob/HEAD/osu.Game.Tests/Visual/Navigation/TestSceneChangeAndUseGameplayBindings.cs
ghcode:00001:1380127d6ce0
mit
codeparrot/github-code
1380127d6ce09c471d65405f9ca267d9f33af381da3e29a15863041c15c8df71
0.85
testing_debugging_repair_refactoring
941
false
2026-07-17
using MediatR; using Microsoft.AspNetCore.Mvc; using Microsoft.eShopOnContainers.Services.Ordering.API.Application.Commands; using Microsoft.eShopOnContainers.Services.Ordering.API.Application.Queries; using Microsoft.eShopOnContainers.Services.Ordering.API.Controllers; using Microsoft.eShopOnContainers.Services.Order...
TypeW/eShopOnContainers
test/Services/UnitTest/Ordering/Application/OrdersWebApiTest.cs
https://github.com/TypeW/eShopOnContainers/blob/HEAD/test/Services/UnitTest/Ordering/Application/OrdersWebApiTest.cs
ghcode:00001:2eac07411dab
mit
codeparrot/github-code
2eac07411dabae5570209118d2fccd88bc9298c380d90fe742998556a18c8307
0.7
testing_debugging_repair_refactoring
1,098
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.Immutable; using System.Diagnostics; using System.Reflection.Metadata.Ecma335; namespace System.Reflection.Metadata { public struct TypeDe...
FiveTimesTheFun/corefx
src/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeDefinition.cs
https://github.com/FiveTimesTheFun/corefx/blob/HEAD/src/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeDefinition.cs
ghcode:00001:36f0cbf4a28c
mit
codeparrot/github-code
36f0cbf4a28cff062f89434228b8c3513485b3092714d20329f48fa7ee4f5ff2
0.95
testing_debugging_repair_refactoring
1,602
false
2026-07-17
using System; using Elasticsearch.Net; using Nest; using Tests.Framework; using Tests.Framework.MockData; using Tests.Framework.Integration; using Tests.Framework.ManagedElasticsearch.Clusters; namespace Tests.Mapping.Types.Core.Binary { public class BinaryPropertyTests : PropertyTestsBase { public BinaryProperty...
CSGOpenSource/elasticsearch-net
src/Tests/Mapping/Types/Core/Binary/BinaryPropertyTests.cs
https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/Mapping/Types/Core/Binary/BinaryPropertyTests.cs
ghcode:00001:40cd0a0a2ba4
apache-2.0
codeparrot/github-code
40cd0a0a2ba4a0de5674448c6a2145932ab45c0e7ed5f9eb4359081b3c6b48bf
0.85
testing_debugging_repair_refactoring
265
false
2026-07-17
using Bridge.Test.NUnit; using System.Linq; namespace Bridge.ClientTest.Batch3.BridgeIssues { [Category(Constants.MODULE_ISSUES)] [TestFixture(TestNameFormat = "#1266 - {0}")] public class Bridge1266 { [Test] public static void TestArrayToEnumerable() { var arr = new...
AndreyZM/Bridge
Tests/Batch3/BridgeIssues/1200/N1266.cs
https://github.com/AndreyZM/Bridge/blob/HEAD/Tests/Batch3/BridgeIssues/1200/N1266.cs
ghcode:00001:5f6423dc114a
apache-2.0
codeparrot/github-code
5f6423dc114abaf797f0314f52f4a7cebf4c0329058b858df4cefa0201eb25eb
0.75
testing_debugging_repair_refactoring
131
false
2026-07-17
// Copyright (c) 2012, Event Store LLP // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // Redistributions of source code must retain the above copyright notice, // this list of condit...
msbahrul/EventStore
src/EventStore/EventStore.Core.Tests/Services/Transport/Tcp/ssl_connection.cs
https://github.com/msbahrul/EventStore/blob/HEAD/src/EventStore/EventStore.Core.Tests/Services/Transport/Tcp/ssl_connection.cs
ghcode:00001:9fe617fe0d37
bsd-3-clause
codeparrot/github-code
9fe617fe0d372b2d6e3108983fbea1de83d65de0a0a87c7cef746cc6043dd103
0.7
testing_debugging_repair_refactoring
983
false
2026-07-17
using System; using System.Collections.Generic; using System.Threading; using System.Reflection; using System.Xml; using OpenMetaverse; using OpenMetaverse.Packets; using OpenMetaverse.Utilities; namespace OpenMetaverse.TestClient { public class TestClient : GridClient { public UUID GroupID = UUID.Zero...
N3X15/VoxelSim
ThirdParty/libomv/Programs/examples/TestClient/TestClient.cs
https://github.com/N3X15/VoxelSim/blob/HEAD/ThirdParty/libomv/Programs/examples/TestClient/TestClient.cs
ghcode:00001:981ef41280a9
bsd-3-clause
codeparrot/github-code
981ef41280a99c285d11202d61437d8cba4bb750b57af194a7bc2451e3f21ae5
0.85
testing_debugging_repair_refactoring
1,670
false
2026-07-17
using GraphQL.Validation.Rules; using Xunit; namespace GraphQL.Tests.Validation { public class UniqueFragmentNamesTests : ValidationTestBase<UniqueFragmentNames, ValidationSchema> { [Fact] public void no_fragments() { ShouldPassRule(@" { field } "); } [Fa...
dNetGuru/graphql-dotnet
src/GraphQL.Tests/Validation/UniqueFragmentNamesTests.cs
https://github.com/dNetGuru/graphql-dotnet/blob/HEAD/src/GraphQL.Tests/Validation/UniqueFragmentNamesTests.cs
ghcode:00001:ec5c1ff5f42a
mit
codeparrot/github-code
ec5c1ff5f42a7fce63dfb24aa7620466f4f5da7dbd2172f3a2085be8c43dde1b
0.75
testing_debugging_repair_refactoring
594
false
2026-07-17
using System; using System.Text; using Bloom.Api; using Bloom.ErrorReporter; using Bloom.MiscUI; using Bloom.web.controllers; using BloomTests.DataBuilders; using Moq; using NUnit.Framework; using SIL.Reporting; namespace BloomTests.ErrorReporter { [TestFixture] public class HtmlErrorReporterTests { private stri...
StephenMcConnel/BloomDesktop
src/BloomTests/ErrorReporter/HtmlErrorReporterTests.cs
https://github.com/StephenMcConnel/BloomDesktop/blob/HEAD/src/BloomTests/ErrorReporter/HtmlErrorReporterTests.cs
ghcode:00001:7f275926726f
mit
codeparrot/github-code
7f275926726f6a508a2385ddde33a03ac8f8df9a1d1122ce605e0865b2fe5569
0.85
testing_debugging_repair_refactoring
2,823
false
2026-07-17
// Copyright 2009 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System; using NodaTime.Calendars; using NodaTime.Test.TimeZones.IO; using NodaTime.TimeZones; using NUnit.Framework; namespace NodaTime.Test.TimeZo...
BenJenkinson/nodatime
src/NodaTime.Test/TimeZones/ZoneRecurrenceTest.cs
https://github.com/BenJenkinson/nodatime/blob/HEAD/src/NodaTime.Test/TimeZones/ZoneRecurrenceTest.cs
ghcode:00001:28f0cd264d6f
apache-2.0
codeparrot/github-code
28f0cd264d6f336d38f26c625f0ea909603a4557929b840624ca56c9f34cc0c5
0.7
testing_debugging_repair_refactoring
2,542
false
2026-07-17
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
AlexCatarino/Lean
Tests/Api/ParameterSetJsonConverterTests.cs
https://github.com/AlexCatarino/Lean/blob/HEAD/Tests/Api/ParameterSetJsonConverterTests.cs
ghcode:00001:a711443d8f3d
apache-2.0
codeparrot/github-code
a711443d8f3ddfbd05603710de99fd644f0f230a7858a0513e56fc4a3be00855
0.75
testing_debugging_repair_refactoring
470
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 Roslyn.Test.Utilities; using Xunit; using Xunit.Abstractions; namespace Microsoft.CodeAna...
physhi/roslyn
src/Compilers/CSharp/Test/Syntax/Parsing/LambdaParameterParsingTests.cs
https://github.com/physhi/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/Parsing/LambdaParameterParsingTests.cs
ghcode:00001:d48695777dd5
apache-2.0
codeparrot/github-code
d48695777dd51ab165fdfb9e3e12ef94a0bfd17156aaeeb0328592415edc5cbd
0.95
testing_debugging_repair_refactoring
3,743
false
2026-07-17
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenProtocolInterpreter.IOInterface; namespace MIDTesters.IOInterface { [TestClass] public class TestMid0200 : MidTester { [TestMethod] public void Mid0200Revision1() { string pac...
Rickedb/OpenProtocolInterpreter
src/MIDTesters/IOInterface/TestMid0200.cs
https://github.com/Rickedb/OpenProtocolInterpreter/blob/HEAD/src/MIDTesters/IOInterface/TestMid0200.cs
ghcode:00001:cc73ac9ad7f5
mit
codeparrot/github-code
cc73ac9ad7f5376762f8bceed472ea5d27e805ebb8c82c59f204cc6b29eac318
0.75
testing_debugging_repair_refactoring
414
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.Collections.Tests { public static class CollectionBaseTests { [Fact] ...
marksmeltzer/corefx
src/System.Collections.NonGeneric/tests/CollectionBaseTests.cs
https://github.com/marksmeltzer/corefx/blob/HEAD/src/System.Collections.NonGeneric/tests/CollectionBaseTests.cs
ghcode:00001:55bb18581432
mit
codeparrot/github-code
55bb18581432e79d4984cdd0513ac4900013f7c64af4f63b62f8dbdae5bfaa2e
0.95
testing_debugging_repair_refactoring
5,281
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 t...
Blucky87/Nez
Nez.FarseerPhysics/Farseer/Collision/Shapes/PolygonShape.cs
https://github.com/Blucky87/Nez/blob/HEAD/Nez.FarseerPhysics/Farseer/Collision/Shapes/PolygonShape.cs
ghcode:00001:c06d5c22872c
mit
codeparrot/github-code
c06d5c22872cd4b6a2e04e42dcfa458fc7aebb9d8f0247a3fc930d2fbb3a438d
0.7
testing_debugging_repair_refactoring
4,096
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.Globalization; using System.Resources; using System.Threadin...
paladique/roslyn
src/Compilers/Core/CodeAnalysisTest/Diagnostics/DiagnosticLocalizationTests.cs
https://github.com/paladique/roslyn/blob/HEAD/src/Compilers/Core/CodeAnalysisTest/Diagnostics/DiagnosticLocalizationTests.cs
ghcode:00001:d49b15d28786
apache-2.0
codeparrot/github-code
d49b15d287868f699ea3717b7c82ab2a9a42dcafc536cb316ed88cafe567eb2d
0.85
testing_debugging_repair_refactoring
2,763
false
2026-07-17
// ------------------------------------------------------------------------------ // Copyright (c) 2014 Microsoft Corporation // // 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 ...
arashkeivan/LiveSDK-for-Windows
src/WP8/Source/Public/LiveConnectClient.cs
https://github.com/arashkeivan/LiveSDK-for-Windows/blob/HEAD/src/WP8/Source/Public/LiveConnectClient.cs
ghcode:00001:d551056323e3
mit
codeparrot/github-code
d551056323e34cfc2a436ba6d552bf8c6008aae41afa0e1f62df33a8e293c694
0.7
testing_debugging_repair_refactoring
3,309
false
2026-07-17
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Moq; using NUnit.Framework; using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.IO; using Umbraco.Core.Logging; using Umbraco.Core.Scoping; using Umbraco.Tests.TestHelpers; namespace Umbraco.T...
hfloyd/Umbraco-CMS
src/Umbraco.Tests/IO/ShadowFileSystemTests.cs
https://github.com/hfloyd/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/IO/ShadowFileSystemTests.cs
ghcode:00001:60b95be98140
mit
codeparrot/github-code
60b95be981405c49410102c0e3fafadd2b3b11aa7a54ba8997ced6b437e5ea4f
0.85
testing_debugging_repair_refactoring
7,813
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; using Ploeh.AutoFixture.Dsl; using Ploeh.AutoFixture.Kernel; using Ploeh.AutoFixtureUnitTest.Kernel; using Ploeh.TestTypeFoundation; using Xunit.Extensions; namespace Ploeh.AutoFixtureUnitTest.Dsl { pub...
StevenJiang2015/AutoFixture
Src/AutoFixtureUnitTest/Dsl/NodeComposerTest.cs
https://github.com/StevenJiang2015/AutoFixture/blob/HEAD/Src/AutoFixtureUnitTest/Dsl/NodeComposerTest.cs
ghcode:00001:2be814b6c74d
mit
codeparrot/github-code
2be814b6c74d66a2392c84b75beeb70176feeec85d0d01d2301959f2d1b300d9
0.7
testing_debugging_repair_refactoring
5,216
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 Microsoft.VisualStudio.Text; namespace TestUtilities.Mocks { public class MockTrackingSpan : ITrack...
paulvanbrenk/nodejstools
Common/Tests/Utilities/Mocks/MockTrackingSpan.cs
https://github.com/paulvanbrenk/nodejstools/blob/HEAD/Common/Tests/Utilities/Mocks/MockTrackingSpan.cs
ghcode:00001:fe10dc694504
apache-2.0
codeparrot/github-code
fe10dc6945044da90432bd98aaff2ef17fcfce27e3a64f8c6155cf61895989c2
0.85
testing_debugging_repair_refactoring
613
false
2026-07-17
using Shouldly; using System.Diagnostics; using Xunit; namespace StructureMap.Testing.Bugs { public class container_configuration_with_generics_inheritance { public class Base { } public class Derived1 : Base { } public class Derived2 : Derived1 { } public class Derived3 : D...
DixonD-git/structuremap
src/StructureMap.Testing/Bugs/container_configuration_with_generics_inheritance.cs
https://github.com/DixonD-git/structuremap/blob/HEAD/src/StructureMap.Testing/Bugs/container_configuration_with_generics_inheritance.cs
ghcode:00001:1f9c60e9e490
apache-2.0
codeparrot/github-code
1f9c60e9e49084e0c54ec276be7995f1958f3bd100d0744d0ec2dcd368d55bc7
0.7
testing_debugging_repair_refactoring
2,062
false
2026-07-17
using System.Threading; using Microsoft.CodeAnalysis.Internal.Log; namespace Roslyn.Hosting.Diagnostics.PerfMargin { // A slightly modified version of Roslyn.Services.Internal.Log.EtwLogger. // This version updates the DataModel whenever an operations starts or stops. There // isn't an efficient way to li...
DavidKarlas/roslyn
src/Test/Diagnostics/PerfMargin/PerfEventActivityLogger.cs
https://github.com/DavidKarlas/roslyn/blob/HEAD/src/Test/Diagnostics/PerfMargin/PerfEventActivityLogger.cs
ghcode:00001:bccbc0c41b0a
apache-2.0
codeparrot/github-code
bccbc0c41b0aaa7c018ff0b3e783fb5519d2ccca8d9c8f12a6e3857403d8db6d
0.95
testing_debugging_repair_refactoring
247
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.Numerics.Tests { public class logTest { private static int s_samples ...
mokchhya/corefx
src/System.Runtime.Numerics/tests/BigInteger/log.cs
https://github.com/mokchhya/corefx/blob/HEAD/src/System.Runtime.Numerics/tests/BigInteger/log.cs
ghcode:00001:dc3842365db9
mit
codeparrot/github-code
dc3842365db91f14f3ea2419454845eab91a30e7148e2f33b8a4d75856399917
0.95
testing_debugging_repair_refactoring
2,152
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 namespace DotNetNuke.Tests.Core.ComponentModel.Helpers { public interface IService { int Id { ge...
EPTamminga/Dnn.Platform
DNN Platform/Tests/DotNetNuke.Tests.Core/ComponentModel/Helpers/IService.cs
https://github.com/EPTamminga/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DotNetNuke.Tests.Core/ComponentModel/Helpers/IService.cs
ghcode:00001:739ff0a55e47
mit
codeparrot/github-code
739ff0a55e473f2dab24b6be9e44f25feb51c29bd4cbe04ff4bb05512771a5f0
0.95
testing_debugging_repair_refactoring
69
false
2026-07-17
using System; using NUnit.Framework; using Umbraco.Core.Models; using Umbraco.Core.Models.Membership; using Umbraco.Core.Models.Rdbms; using Umbraco.Core.Persistence; using Umbraco.Core.Persistence.Repositories; using Umbraco.Tests.TestHelpers; namespace Umbraco.Tests.Persistence.Querying { [TestFixtur...
bowserm/Umbraco-CMS
src/Umbraco.Tests/Persistence/Querying/PetaPocoSqlTests.cs
https://github.com/bowserm/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Persistence/Querying/PetaPocoSqlTests.cs
ghcode:00001:1f488029552d
mit
codeparrot/github-code
1f488029552d691782cd177b9c7ad338a1c4cc55aac8e2b26a5ae15f5def8d28
0.75
testing_debugging_repair_refactoring
716
false
2026-07-17
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Thinktecture.IdentityManager; namespace Core.Tests.Core { [TestClass] public class IdentityManagerResult_Of_T_Tests { public class FooResult{} IdentityManagerResult<FooResult> subject; [Tes...
Ernesto99/IdentityManager
source/Core.Tests/Core/IdentityManagerResult`1Tests.cs
https://github.com/Ernesto99/IdentityManager/blob/HEAD/source/Core.Tests/Core/IdentityManagerResult`1Tests.cs
ghcode:00001:7d8a8d05f2c5
apache-2.0
codeparrot/github-code
7d8a8d05f2c5518941597d616bbed5fd8205ab2947c1404fefcc1505ec031174
0.75
testing_debugging_repair_refactoring
150
false
2026-07-17
// Copyright 2009-2015 Josh Close and Contributors // This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0. // See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0. // http://csvhelper.co...
erdincay/CsvHelper
src/CsvHelper.Tests/Exceptions/ExceptionTests.cs
https://github.com/erdincay/CsvHelper/blob/HEAD/src/CsvHelper.Tests/Exceptions/ExceptionTests.cs
ghcode:00001:e9cd9a5af71f
apache-2.0
codeparrot/github-code
e9cd9a5af71f78af933bcdaf2e146bf9ac6da296e74a902fcc84ce3bd2d71bb2
0.85
testing_debugging_repair_refactoring
427
false
2026-07-17
using Nop.Core.Domain.Messages; using Nop.Tests; using NUnit.Framework; namespace Nop.Data.Tests.Messages { [TestFixture] public class EmailAccountPersistenceTests : PersistenceTest { [Test] public void Can_save_and_load_emailAccount() { var emailAccount = new EmailAcco...
jornfilho/nopCommerce
source/Tests/Nop.Data.Tests/Messages/EmailAccountPersistenceTests.cs
https://github.com/jornfilho/nopCommerce/blob/HEAD/source/Tests/Nop.Data.Tests/Messages/EmailAccountPersistenceTests.cs
ghcode:00001:2c77bdc2f8ec
apache-2.0
codeparrot/github-code
2c77bdc2f8eceba71a3d9f838c84ce1a3161e22992f987a6b00905f913fed68c
0.85
testing_debugging_repair_refactoring
248
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.Threading; using Xunit; namespace System.Linq.Parallel.Tests { p...
ptoonen/corefx
src/System.Linq.Parallel/tests/QueryOperators/GroupJoinTests.cs
https://github.com/ptoonen/corefx/blob/HEAD/src/System.Linq.Parallel/tests/QueryOperators/GroupJoinTests.cs
ghcode:00001:cc5b141c9a94
mit
codeparrot/github-code
cc5b141c9a94d12b7e14636eb7ea17832ed89bddd65bc8d672fa184b8502b6ea
0.95
testing_debugging_repair_refactoring
5,135
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/testdata/FixtureSetUpTearDownData.cs
https://github.com/undeadlabs/msgpack-cli/blob/HEAD/test/NUnitLite/src/testdata/FixtureSetUpTearDownData.cs
ghcode:00001:a0293cdfca1f
apache-2.0
codeparrot/github-code
a0293cdfca1f50053d6c54e5c4dae7e6bac2a02a452600187db2f3a3625f40d8
0.95
testing_debugging_repair_refactoring
1,800
false
2026-07-17
// Copyright (c) Microsoft Open Technologies, Inc. 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.Diagnostics; using DocumentFormat.Op...
JesseQin/Open-XML-SDK
src/ofapi/Validation/SemanticValidation/SemanticConstraint/RelationshipTypeConstraint.cs
https://github.com/JesseQin/Open-XML-SDK/blob/HEAD/src/ofapi/Validation/SemanticValidation/SemanticConstraint/RelationshipTypeConstraint.cs
ghcode:00001:e46cea2e946b
apache-2.0
codeparrot/github-code
e46cea2e946bc080154a3d9be82fa2e5a6daac7e7824580464e7d2a0d463383c
0.6
testing_debugging_repair_refactoring
446
false
2026-07-17