text
stringlengths
40
299k
repo_name
stringlengths
7
71
path
stringlengths
4
235
source_url
stringlengths
45
289
commit_or_blob_id
stringlengths
25
25
license
stringclasses
7 values
source_dataset
stringclasses
1 value
content_sha256
stringlengths
64
64
quality_score
float64
0.2
0.95
category_slice
stringclasses
1 value
token_count
int64
11
109k
is_synthetic
bool
1 class
collected_at
stringdate
2026-07-17 00:00:00
2026-07-17 00:00:00
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Fody; using Xunit; public class VBNetAssemblyWithInterceptorTests { static string assembly = "VBNetAssemblyWithInterceptor"; static FieldInfo methodBaseField; static FieldInfo me...
Fody/MethodTimer
Tests/AssemblyTesterSets/VBNetAssemblyWithInterceptorTests.cs
https://github.com/Fody/MethodTimer/blob/HEAD/Tests/AssemblyTesterSets/VBNetAssemblyWithInterceptorTests.cs
ghcode:00159:92a842105f4f
mit
codeparrot/github-code
92a842105f4f57e38b7c3106d8020d7f7ce0e58fc83d49e1b29741e4024341fb
0.75
testing_debugging_repair_refactoring
383
false
2026-07-17
using JetBrains.Application.Components; using JetBrains.Application.Settings; using JetBrains.Application.Settings.Store.Implementation; using JetBrains.DataFlow; using JetBrains.ProjectModel; using JetBrains.ReSharper.PostfixTemplates.Settings; using JetBrains.ReSharper.TestFramework; using NUnit.Framework; namespac...
controlflow/resharper-postfix
PostfixTemplates/Tests/Completion/PostfixTemplatesTest.cs
https://github.com/controlflow/resharper-postfix/blob/HEAD/PostfixTemplates/Tests/Completion/PostfixTemplatesTest.cs
ghcode:00159:b3e391875d85
mit
codeparrot/github-code
b3e391875d855f1558ad710c5775a0e61fa6836fe742174de78a55009411a794
0.85
testing_debugging_repair_refactoring
1,769
false
2026-07-17
#region License // Copyright (c) K2 Workflow (SourceCode Technology Holdings Inc.). All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. #endregion using System; using System.Buffers; using System.Collections.Generic; using System.Diagnostics; usi...
jannesrsa/Chasm
src/SourceCode.Chasm/Sha1.cs
https://github.com/jannesrsa/Chasm/blob/HEAD/src/SourceCode.Chasm/Sha1.cs
ghcode:00159:e7fd460e9496
mit
codeparrot/github-code
e7fd460e9496539c7e8c1dcd4afefdae9ba262f2188f7ebc5be4353028f83e9b
0.85
testing_debugging_repair_refactoring
5,090
false
2026-07-17
using System; using System.Collections.Generic; using IDI.Central.Tests.Utils; using IDI.Core.Authentication.TokenAuthentication; using IDI.Core.Common; using IDI.Core.Common.Extensions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace IDI.Central.Tests { [TestClass] [TestCategory("api/token")] ...
idi-studio/com.idi.central.api
src/IDI.Central.Tests/TokenTests.cs
https://github.com/idi-studio/com.idi.central.api/blob/HEAD/src/IDI.Central.Tests/TokenTests.cs
ghcode:00159:f3423c5ce47b
mit
codeparrot/github-code
f3423c5ce47bbac8b7003ab81cf2237ad89c4742f7b75671495a48e0ec288065
0.75
testing_debugging_repair_refactoring
332
false
2026-07-17
using NUnit.Framework; using AOC2021.Day01; using FluentAssertions; namespace AocTests { public class Day01Tests { private static readonly string[] _testInput = new[] { "199", "200", "208", "210", "200", "207", ...
GreenOlvi/AdventOfCode2015
2021/AocTests/Day01Tests.cs
https://github.com/GreenOlvi/AdventOfCode2015/blob/HEAD/2021/AocTests/Day01Tests.cs
ghcode:00159:7a319ec608cc
mit
codeparrot/github-code
7a319ec608cc3665abc5e7999f30674117c5baa7ce2e71da6461515be601d31e
0.75
testing_debugging_repair_refactoring
184
false
2026-07-17
using ADETAttributes; using ADETTypes; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using NUnit.Framework; using Rocks.Extensions; using System.Collections.Immutable; namespace ADETTypes { public class TypeOfThis { } public class OpenGeneric<T1, T2>...
JasonBock/Rocks
src/Rocks.Tests/Extensions/AttributeDataExtensionsTests.cs
https://github.com/JasonBock/Rocks/blob/HEAD/src/Rocks.Tests/Extensions/AttributeDataExtensionsTests.cs
ghcode:00159:80a69ef3f63e
mit
codeparrot/github-code
80a69ef3f63e39e859203930d83b96ae89ddb349828402c3942bb3f9441284d9
0.75
testing_debugging_repair_refactoring
1,427
false
2026-07-17
using System.Threading.Tasks; using Apollo.Commands.UserSettings; using Apollo.CommandSystem; using Apollo.Data; using Apollo.Services; using Apollo.Utilities; using Moq; using Xunit; namespace Apollo.Tests.Commands.UserSettings { public class ChangePasswordTests : BaseUnitTest<ChangePassword> { privat...
charlesj/Apollo
server/Apollo.Tests/Commands/UserSettings/ChangePasswordTests.cs
https://github.com/charlesj/Apollo/blob/HEAD/server/Apollo.Tests/Commands/UserSettings/ChangePasswordTests.cs
ghcode:00159:4e625853326e
mit
codeparrot/github-code
4e625853326edf5b2986150f55679706cd465a426768ee5b7a93f2e217746c92
0.75
testing_debugging_repair_refactoring
621
false
2026-07-17
using System; using System.Data; using System.Data.Common; namespace Utilitron.Tests.Data.Profiling { public class TestingCommand : DbCommand { private readonly DbDataReader reader; public override string CommandText { get => throw new NotImplementedException(); set => throw new NotImplemente...
bungeemonkee/Utilitron
Utilitron.Tests/Data/Profiling/TestingCommand.cs
https://github.com/bungeemonkee/Utilitron/blob/HEAD/Utilitron.Tests/Data/Profiling/TestingCommand.cs
ghcode:00159:46eead27ade9
mit
codeparrot/github-code
46eead27ade96fc73e1ceaa30170f3d8e365ad73c3b448e285f9564a25b35008
0.75
testing_debugging_repair_refactoring
305
false
2026-07-17
namespace Packer.Test { using System; using System.Text; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Poker; [TestClass] public class HandTest { public void Hand_ShouldCreateNotNullableObject() { // Arrange ...
shopOFF/TelerikAcademyCourses
Unit-Testing/TelerikUnitTestingg/UnitTestingHomeworks/TDDHomework/HW_Test-Driven-Development (1)/PokerHomework/Poker.Test/HandTest.cs
https://github.com/shopOFF/TelerikAcademyCourses/blob/HEAD/Unit-Testing/TelerikUnitTestingg/UnitTestingHomeworks/TDDHomework/HW_Test-Driven-Development (1)/PokerHomework/Poker.Test/HandTest.cs
ghcode:00159:738a9f0e3bf2
mit
codeparrot/github-code
738a9f0e3bf2e829c32b88f0e307a15ba79e3a97c9df8904237d3d05cba6d43a
0.85
testing_debugging_repair_refactoring
562
false
2026-07-17
namespace Ocelot.UnitTests.ServiceDiscovery { using System; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Values; using System.Collections.Generic; using Moq; using Ocelot.Configuration; using Ocelot.Configuration.Builder; using Ocelot.Logging; ...
TomPallister/Ocelot
test/Ocelot.UnitTests/ServiceDiscovery/ServiceDiscoveryProviderFactoryTests.cs
https://github.com/TomPallister/Ocelot/blob/HEAD/test/Ocelot.UnitTests/ServiceDiscovery/ServiceDiscoveryProviderFactoryTests.cs
ghcode:00159:6c50ba4fb10a
mit
codeparrot/github-code
6c50ba4fb10a3ad831e917bb8a4ac6937cc323b8631e007863fcd2f55df422a6
0.75
testing_debugging_repair_refactoring
1,264
false
2026-07-17
namespace Tests.Caliburn.Fakes { public class TestService : ITestService { } public class TestService<T> : ITestService<T> { public T Item { get; set; } } }
CaliburnFx/Caliburn
src/Tests.Caliburn/Fakes/TestService.cs
https://github.com/CaliburnFx/Caliburn/blob/HEAD/src/Tests.Caliburn/Fakes/TestService.cs
ghcode:00159:147da5524bdf
mit
codeparrot/github-code
147da5524bdf3ddc30d2b4d8c63bd833f1b25a34e439bcbe162eeb84ade15ec1
0.5
testing_debugging_repair_refactoring
51
false
2026-07-17
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Immutable; using System.IO; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.Code...
diryboy/roslyn
src/Compilers/Core/CodeAnalysisTest/ShadowCopyAnalyzerAssemblyLoaderTests.cs
https://github.com/diryboy/roslyn/blob/HEAD/src/Compilers/Core/CodeAnalysisTest/ShadowCopyAnalyzerAssemblyLoaderTests.cs
ghcode:00159:f3d6cc81ceda
mit
codeparrot/github-code
f3d6cc81ceda4ab3dc119970deaa7353c7e8384efacb4a6d4cd4a52890f367a5
0.85
testing_debugging_repair_refactoring
793
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.Collections.Generic; using Xunit; using SortedList_SortedListUt...
mafiya69/corefx
src/System.Collections/tests/Generic/SortedList/TryGetValue_K_V.cs
https://github.com/mafiya69/corefx/blob/HEAD/src/System.Collections/tests/Generic/SortedList/TryGetValue_K_V.cs
ghcode:00159:8707d63f8536
mit
codeparrot/github-code
8707d63f8536e711cd64032a24d97744de96d228cb6f81fcfd1e1ff2ed0699b1
0.95
testing_debugging_repair_refactoring
1,530
false
2026-07-17
using System.Collections.Generic; using System.Threading.Tasks; using Moq; using NUnit.Framework; using SFA.DAS.Commitments.Application.Queries.GetEmployerAccountIds; namespace SFA.DAS.Commitments.Api.UnitTests.Orchestrators.Employer { [TestFixture] public class WhenGettingEmployerAccountIds : EmployerOrchest...
SkillsFundingAgency/das-commitments
src/SFA.DAS.Commitments.Api.UnitTests/Orchestrators/Employer/WhenGettingEmployerAccountIds.cs
https://github.com/SkillsFundingAgency/das-commitments/blob/HEAD/src/SFA.DAS.Commitments.Api.UnitTests/Orchestrators/Employer/WhenGettingEmployerAccountIds.cs
ghcode:00159:bde51b0c154a
mit
codeparrot/github-code
bde51b0c154a8eb7f958e6857930ef9bbdacec8fbc5b2ee4e5dca8f70eac0f30
0.85
testing_debugging_repair_refactoring
272
false
2026-07-17
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Vectors.Tests { class WektorOperationsTests { [TestMethod] public void Coefficients_textBookExample() { var oper = new WektorOperations(); var pyramid = new Wektor[3, 3]; var x = new[] { 1, 2, 4 }; var y = new[] { 0, 2, 1...
Nemeczek/Metody.Neville
Vectors.Tests/WektorOperationsTests.cs
https://github.com/Nemeczek/Metody.Neville/blob/HEAD/Vectors.Tests/WektorOperationsTests.cs
ghcode:00159:260c9a29350e
mit
codeparrot/github-code
260c9a29350ebbe38d36c5ceec6cf997a15e0359a0de528352e0afe25d4354e2
0.75
testing_debugging_repair_refactoring
246
false
2026-07-17
using NUnit.Framework; using Vertica.AnalyticsTracker.Messages.Ecommerce; namespace AnalyticsTracker.Tests.Messages { [TestFixture] public class TransactionMessageTester { [Test] public void RenderMessage_Rendered() { var subj = new TransactionMessage("t12345", "Acme", 100.50M,10,10, new [] { new T...
vertica-as/AnalyticsTracker
src/AnalyticsTracker.Tests/Messages/TransactionMessageTester.cs
https://github.com/vertica-as/AnalyticsTracker/blob/HEAD/src/AnalyticsTracker.Tests/Messages/TransactionMessageTester.cs
ghcode:00159:5bd41c95e064
mit
codeparrot/github-code
5bd41c95e0645cde040368bf05887d03c5897bb55ede88da04b07199d0ea920a
0.6
testing_debugging_repair_refactoring
351
false
2026-07-17
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using NNSharp.DataTypes; using static NNSharp.DataTypes.Data2D; using NNSharp.SequentialBased.SequentialLayers; using NNSharp.IO; using NNSharp.Models; using UnitTests.Properties; namespace UnitTests { [TestClass] public class TestGlobalAvgPool...
adamtiger/NNSharp
UnitTests/TestGlobalAvgPool1D.cs
https://github.com/adamtiger/NNSharp/blob/HEAD/UnitTests/TestGlobalAvgPool1D.cs
ghcode:00159:7773338deaec
mit
codeparrot/github-code
7773338deaecd8cbaa6a057d5a33b650750e080fad275e92e53d88c880c79efa
0.85
testing_debugging_repair_refactoring
609
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using mdryden.cflapi.v1.Client; using mdryden.cflapi.v1.Client.Players; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace mdryden.cflapi.v1.Tests.Client.Players { [TestClass] public class ...
pudds/cfl-api.net
src/v1/Tests/Client/Players/PlayerSortTests.cs
https://github.com/pudds/cfl-api.net/blob/HEAD/src/v1/Tests/Client/Players/PlayerSortTests.cs
ghcode:00159:62dda7c5050e
mit
codeparrot/github-code
62dda7c5050e7228b82dffe122fc2c9f12cc397d8805eb2e380c99ac66a3b2f7
0.95
testing_debugging_repair_refactoring
2,727
false
2026-07-17
using NUnit.Framework; using CodeIt.Data.Models; namespace CodeIt.UnitTests.DbModels.FileInfoTests { [TestFixture] public class FileInfo_Should { [Test] public void Be_AbstractBaseClass() { // Arrange & Act bool isAbstractClass = typeof(FileInfo).IsAbstract;...
sguzunov/CodeIt
CodeIt/CodeIt.UnitTests/DbModels/FileInfoTests/FileInfo_Should.cs
https://github.com/sguzunov/CodeIt/blob/HEAD/CodeIt/CodeIt.UnitTests/DbModels/FileInfoTests/FileInfo_Should.cs
ghcode:00159:09ad78d0f52a
mit
codeparrot/github-code
09ad78d0f52aba26785844b6550f441831c37f05d145a7af16eb65ce648c833f
0.6
testing_debugging_repair_refactoring
84
false
2026-07-17
using ColorManager; namespace ColorManagerTests { public sealed class TestWhitepoint : Whitepoint { public override string Name { get { return "Test"; } } public override double Cx { get { return _Cx; } } public override double Cy...
JBildstein/NCM
ColorManagerTests/ClassImplementations/TestWhitepoint.cs
https://github.com/JBildstein/NCM/blob/HEAD/ColorManagerTests/ClassImplementations/TestWhitepoint.cs
ghcode:00159:86eab56ded2e
mit
codeparrot/github-code
86eab56ded2e27ea44dd58430a74c9ebe190c1025588c6449068a8910f237ec3
0.75
testing_debugging_repair_refactoring
240
false
2026-07-17
using CDLib; using CDLib.Domain; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; namespace CDUnitTests { public partial class CompanyTests { [TestClass] public class OfferTests { private Random _random; publi...
johnwalters/CD
CDUnitTests/OfferTests.cs
https://github.com/johnwalters/CD/blob/HEAD/CDUnitTests/OfferTests.cs
ghcode:00159:d650517380b5
mit
codeparrot/github-code
d650517380b582122c6bd7dd43801fcd04c4246141033dfbd8057f672e263720
0.85
testing_debugging_repair_refactoring
1,275
false
2026-07-17
using NUnit.Framework; using SilverNeedle.Characters; using SilverNeedle.Mechanics.CharacterGenerator; using System.Collections.Generic; using System.Linq; using SilverNeedle.Dice; using NUnit.Framework.Constraints; using SilverNeedle; using SilverNeedle.Equipment; namespace Characters { [TestFixture] public...
shortlegstudio/silverneedle
Assets/SilverNeedle/Tests/Editor/Characters/CharacterSheetTests.cs
https://github.com/shortlegstudio/silverneedle/blob/HEAD/Assets/SilverNeedle/Tests/Editor/Characters/CharacterSheetTests.cs
ghcode:00159:b61829d603bb
mit
codeparrot/github-code
b61829d603bbed3e163fbc18a96a64cdfab75f599badaf55736d47ede67f5b27
0.85
testing_debugging_repair_refactoring
1,020
false
2026-07-17
using FluentAssertions; using NUnit.Framework; namespace FluentExtensions.Benchmarks.String { [TestFixture] public class StringToByteArray { private const string Str = "Foo Bar"; [Test] public void Comparison() { Helper.DisplayResult("BlockCopyMeth...
gnazareth/FluentExtensions
FluentExtensions.Benchmarks/String/StringToByteArray.cs
https://github.com/gnazareth/FluentExtensions/blob/HEAD/FluentExtensions.Benchmarks/String/StringToByteArray.cs
ghcode:00159:27d4fe50320b
mit
codeparrot/github-code
27d4fe50320b761d8c2a67509608c941d65f44da3a2bc56215cf5534fc040a34
0.75
testing_debugging_repair_refactoring
307
false
2026-07-17
using CharacterGen.Domain.Tables; using CharacterGen.Feats; using CharacterGen.Races; using NUnit.Framework; using System; namespace CharacterGen.Tests.Integration.Tables.Feats.Data.Racial.Metaraces.Species { [TestFixture] public class BlackFeatDataTests : RacialFeatDataTests { protected override ...
DnDGen/CharacterGen
CharacterGen.Tests.Integration.Tables/Feats/Data/Racial/Metaraces/Species/BlackFeatDataTests.cs
https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/Feats/Data/Racial/Metaraces/Species/BlackFeatDataTests.cs
ghcode:00159:298368da73d7
mit
codeparrot/github-code
298368da73d799c75f7c22c4d017ab7ab5ebde86359655dc8edd37bd99ee6475
0.75
testing_debugging_repair_refactoring
394
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using NBitcoin; using NSubstitute; using Stratis.Bitcoin.Connection; using Stratis.Bitcoin.Features.Wallet; using Stratis.Bitcoin.Features.Wallet.Models; using Stratis.Bitcoin.Networks...
bokobza/StratisBitcoinFullNode
src/Stratis.Features.FederatedPeg.Tests/ControllersTests/FederationWalletControllerTests.cs
https://github.com/bokobza/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Features.FederatedPeg.Tests/ControllersTests/FederationWalletControllerTests.cs
ghcode:00159:b7f397f1e6ef
mit
codeparrot/github-code
b7f397f1e6efbfbb7cdd5b3538a53cfeb1fa594dedf54cb924fa447949063379
0.75
testing_debugging_repair_refactoring
1,157
false
2026-07-17
namespace AjErl.Tests.Expressions { using System; using System.Collections.Generic; using System.Linq; using System.Text; using AjErl.Expressions; using AjErl.Language; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class FunExpressionTests {...
ajlopez/AjErl
Src/AjErl.Tests/Expressions/FunExpressionTests.cs
https://github.com/ajlopez/AjErl/blob/HEAD/Src/AjErl.Tests/Expressions/FunExpressionTests.cs
ghcode:00159:88967eb03804
mit
codeparrot/github-code
88967eb03804acb5aa9c99802b7ea05ae03af4044312cfaf9d7d5e0e65b23527
0.75
testing_debugging_repair_refactoring
236
false
2026-07-17
// This file is part of YamlDotNet - A .NET library for YAML. // Copyright (c) Antoine Aubry 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 Software without restriction, ...
aaubry/YamlDotNet
YamlDotNet/Serialization/StreamFragment.cs
https://github.com/aaubry/YamlDotNet/blob/HEAD/YamlDotNet/Serialization/StreamFragment.cs
ghcode:00159:e119faa9e6fb
mit
codeparrot/github-code
e119faa9e6fb0d204add9a452edb55f38fd5eb7504c59d103c99486e4bb16bf7
0.85
testing_debugging_repair_refactoring
591
false
2026-07-17
using NotifyPropertyChanged.BetterManual; using Xunit; namespace NotifyPropertyChanged.Tests { public class BetterManualImplementationTests { [Fact] public void FirstNamePropertyChanged() { var firstNameChanged = false; var person = new Person(); per...
mswietlicki/NotifyPropertyChanged
NotifyPropertyChanged.Tests/BetterManualImplementationTests.cs
https://github.com/mswietlicki/NotifyPropertyChanged/blob/HEAD/NotifyPropertyChanged.Tests/BetterManualImplementationTests.cs
ghcode:00159:7d5d0b9365d4
mit
codeparrot/github-code
7d5d0b9365d413423a4755a253cb5cff89b853aded5b3e39e0f5172c38356c15
0.75
testing_debugging_repair_refactoring
171
false
2026-07-17
using NUnit.Framework; namespace MeetMe.Data.Models.Tests.UserFriendTests { [TestFixture] public class Constructor_Should { [Test] public void ReturnInstanceOfUserFriend_WithSetCorrectProperties() { // Arrange int userId = 2; string friendIdentit...
Warez-VD/MeetMe
MeetMe/MeetMe.Data.Models.Tests/UserFriendTests/Constructor_Should.cs
https://github.com/Warez-VD/MeetMe/blob/HEAD/MeetMe/MeetMe.Data.Models.Tests/UserFriendTests/Constructor_Should.cs
ghcode:00159:619cf7b2370d
mit
codeparrot/github-code
619cf7b2370d03389840f3b6fd06929ec1417f5bd02ffe4667250aaf7c6c041e
0.7
testing_debugging_repair_refactoring
154
false
2026-07-17
using System; using BrumWithMe.Data.Contracts; using BrumWithMe.Data.Models.Entities; using BrumWithMe.Services.Data.Services; using Moq; using NUnit.Framework; namespace BrumWithMe.Services.Data.Tests.AccountManagementServiceTests { [TestFixture] class Constructor_Should { [Test] public v...
RuzmanovDev/BrumWithMe
BrumWithMe/Tests/BrumWithMe.Services.Data.Tests/AccountManagementServiceTests/Constructor_Should.cs
https://github.com/RuzmanovDev/BrumWithMe/blob/HEAD/BrumWithMe/Tests/BrumWithMe.Services.Data.Tests/AccountManagementServiceTests/Constructor_Should.cs
ghcode:00159:aead3b255fbd
mit
codeparrot/github-code
aead3b255fbd4fd57a0e0f3c11d7a7ed99ea5f8137c22911a7dd288330084ebb
0.95
testing_debugging_repair_refactoring
392
false
2026-07-17
using ElFinder; using NUnit.Framework; using System; using System.Diagnostics.Contracts; using System.IO; namespace ElFinderTests { [TestFixture] public class LocalFileSystemRootTests : LocalSystemTestsBase { [Test] public void TestVolumeId() { LocalFileSystemRoot root ...
EvgenNoskov/ElFinder
test/ElFinderTests/LocalFileSystemRootTests.cs
https://github.com/EvgenNoskov/ElFinder/blob/HEAD/test/ElFinderTests/LocalFileSystemRootTests.cs
ghcode:00159:ef6c2e9139c5
mit
codeparrot/github-code
ef6c2e9139c5c17aec5e8e893bf630bbc3c5e1cdb32fce94bfbae179af8506f8
0.75
testing_debugging_repair_refactoring
710
false
2026-07-17
using System; using System.Text; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.Practices.Unity; using MVCAngularJS.Aplicacao.Fachada; using MVCAngularJS.Infraestrutura.IoC.Unity; using MVCAngularJS.Aplicacao.Dto; using MVCAngularJS.Dominio.Contrato.Repositorio; u...
gabrielsimas/SistemasExemplo
DDD/SPAAngularJSMVC/Solucao/Teste.MVCAngularJS.Aplicacao/TesteCategoriaAplicacaoServico.cs
https://github.com/gabrielsimas/SistemasExemplo/blob/HEAD/DDD/SPAAngularJSMVC/Solucao/Teste.MVCAngularJS.Aplicacao/TesteCategoriaAplicacaoServico.cs
ghcode:00159:a6705076f9b6
mit
codeparrot/github-code
a6705076f9b6ef84249f7341621993351df7a652b3ec9d1ce13d94d5045d717f
0.85
testing_debugging_repair_refactoring
611
false
2026-07-17
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; namespace SharprWowApi.Test { [TestClass] public class AchievementTests : TestBase { [TestMethod] [TestCategory("Achievement")] public async Task Achievment_By_Id() { ...
bpfz/SharprWowApi
SharprWowApi.Test/AchievementTests.cs
https://github.com/bpfz/SharprWowApi/blob/HEAD/SharprWowApi.Test/AchievementTests.cs
ghcode:00159:662223a138e2
unlicense
codeparrot/github-code
662223a138e27fa7dd11269002705bcb418dd6991bbc5b1bb07e3516d9a0255f
0.68
testing_debugging_repair_refactoring
250
false
2026-07-17
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.Text; using Ical.Net.CalendarComponents; using Ical.Net.DataTypes; using Ical.Net.Serialization; using Ical.Net.Serialization.DataTypes; using NUnit.Framework; namespace Ical.Net.Framew...
ONLYOFFICE/CommunityServer
redistributable/ICal.Net_v4/Ical.Net.FrameworkUnitTests/SimpleDeserializationTests.cs
https://github.com/ONLYOFFICE/CommunityServer/blob/HEAD/redistributable/ICal.Net_v4/Ical.Net.FrameworkUnitTests/SimpleDeserializationTests.cs
ghcode:00159:0182069a13e8
apache-2.0
codeparrot/github-code
0182069a13e893e1bad280280ce20fd9e0c3774fd9e08ea5cd866f0d08b252b6
0.85
testing_debugging_repair_refactoring
5,639
false
2026-07-17
using System; using System.IO; using System.Net; using NUnit.Framework; using Ubiety.Dns.Records; namespace Ubiety.Dns.Tests.Records { [TestFixture] public class ARecordTest { private MemoryStream _stream = new MemoryStream(); [SetUp] public void Init() { var d...
ubiety/Ubiety.Dns
Ubiety.Dns.Tests/Records/ARecordTest.cs
https://github.com/ubiety/Ubiety.Dns/blob/HEAD/Ubiety.Dns.Tests/Records/ARecordTest.cs
ghcode:00159:0e6157637ae4
apache-2.0
codeparrot/github-code
0e6157637ae493ea13c75554fc056ec2f9c7a45350867e885b13e57c285981ca
0.6
testing_debugging_repair_refactoring
210
false
2026-07-17
using System; using UnityEngine; namespace AGXUnity.Rendering { /// <summary> /// Shape visual for shape type HollowCylinder. /// </summary> [DoNotGenerateCustomEditor] public class ShapeVisualHollowCylinder : ShapeVisual { private Mesh m_mesh = null; private const int m_resolution = 40; ///...
Algoryx/agxUnity
AGXUnity/Rendering/ShapeVisualHollowCylinder.cs
https://github.com/Algoryx/agxUnity/blob/HEAD/AGXUnity/Rendering/ShapeVisualHollowCylinder.cs
ghcode:00159:d763efc290c8
apache-2.0
codeparrot/github-code
d763efc290c8327f731135ff77a2c84278e7b15e05cfc8d6df0636c62eba9427
0.7
testing_debugging_repair_refactoring
949
false
2026-07-17
using System; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using FluentNHibernate.Cfg; using FluentNHibernate.Cfg.Db; using FluentNHibernate.Mapping; using NHibernate; using NHibernate.Tool.hbm2ddl; using ToolKit.Cryptography; using ToolKit.Data; using ToolKit.Data.NHibernate; using ToolKi...
dcjulian29/toolkit
UnitTests/Data/NHibernateSymmetricEncryptedStringTests.cs
https://github.com/dcjulian29/toolkit/blob/HEAD/UnitTests/Data/NHibernateSymmetricEncryptedStringTests.cs
ghcode:00159:e6fb4f8eaa4a
apache-2.0
codeparrot/github-code
e6fb4f8eaa4a80ad207149aca118fe7f0675ada15ffca6591d8df94f19e3d8b7
0.85
testing_debugging_repair_refactoring
1,840
false
2026-07-17
using Atata; using NUnit.Framework; namespace AtataSamples.ConfirmationPopups { [SetUpFixture] public class SetUpFixture { [OneTimeSetUp] public void GlobalSetUp() { AtataContext.GlobalConfiguration .UseChrome() .WithArguments("start-...
atata-framework/atata-samples
ConfirmationPopups/AtataSamples.ConfirmationPopups/SetUpFixture.cs
https://github.com/atata-framework/atata-samples/blob/HEAD/ConfirmationPopups/AtataSamples.ConfirmationPopups/SetUpFixture.cs
ghcode:00159:9f771c0eae18
apache-2.0
codeparrot/github-code
9f771c0eae185955b4b563c403a58c06fa4a18a5497c26b87638eb61b5a80e06
0.75
testing_debugging_repair_refactoring
112
false
2026-07-17
using Microsoft.CodeAnalysis.CodeStyle; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace Microsoft.CodeAnalysis.UnitTests.CodeStyle { public class EditorConfigCodeStyleParserTests { [Theory] [InlineData("...
yeaicc/roslyn
src/Workspaces/CoreTest/CodeStyle/EditorConfigCodeStyleParserTests.cs
https://github.com/yeaicc/roslyn/blob/HEAD/src/Workspaces/CoreTest/CodeStyle/EditorConfigCodeStyleParserTests.cs
ghcode:00159:7151aca3f453
apache-2.0
codeparrot/github-code
7151aca3f453f31a82362762178cb758f9498726b9cc54d5fd7e34cae2eadb75
0.75
testing_debugging_repair_refactoring
444
false
2026-07-17
// Copyright (c) "Neo4j" // Neo4j Sweden AB [http://neo4j.com] // // This file is part of Neo4j. // // 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/licens...
neo4j/neo4j-dotnet-driver
Neo4j.Driver/Neo4j.Driver.Tests/Result/ResultCursorTests.cs
https://github.com/neo4j/neo4j-dotnet-driver/blob/HEAD/Neo4j.Driver/Neo4j.Driver.Tests/Result/ResultCursorTests.cs
ghcode:00159:2fc894a0b5dc
apache-2.0
codeparrot/github-code
2fc894a0b5dcdbcd25e4d7f577177070fea6ffce10ada8904c85f55e594523e0
0.85
testing_debugging_repair_refactoring
2,965
false
2026-07-17
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using CsvHelper.Configuration; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CsvHelper.Tests.Reading { [TestClass] public class DetectColumnCountChangesTes...
ravensorb/CsvHelper
src/CsvHelper.Tests/Reading/DetectColumnCountChangesTests.cs
https://github.com/ravensorb/CsvHelper/blob/HEAD/src/CsvHelper.Tests/Reading/DetectColumnCountChangesTests.cs
ghcode:00159:7265167b4312
apache-2.0
codeparrot/github-code
7265167b4312df010dc4815e6b0ad0438ff70602b12915dbd9ef8a5f827b0feb
0.85
testing_debugging_repair_refactoring
1,159
false
2026-07-17
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // 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.a...
citizenmatt/gallio
src/Gallio/Gallio.UI.Tests/DataBinding/ObservableListTest.cs
https://github.com/citizenmatt/gallio/blob/HEAD/src/Gallio/Gallio.UI.Tests/DataBinding/ObservableListTest.cs
ghcode:00159:4ff70195fc29
apache-2.0
codeparrot/github-code
4ff70195fc29a67c82652bcf74c21059b4452a61dda830527406bd326fa0f545
0.85
testing_debugging_repair_refactoring
466
false
2026-07-17
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Moq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Arch.CFramework.Configuration.Mapping; using Arch.CFramework.Utility; using Arch.CFramework.TestCommon; namespace Arch.CFramework.Configuration.Test { /// <sum...
felix-tien/TechLab
CSharpLab/TestCFX/Testing/UnitTest/Arch.CFramework.Configuration.Test/NameValueMapTests.cs
https://github.com/felix-tien/TechLab/blob/HEAD/CSharpLab/TestCFX/Testing/UnitTest/Arch.CFramework.Configuration.Test/NameValueMapTests.cs
ghcode:00159:4a1a437b170d
apache-2.0
codeparrot/github-code
4a1a437b170d914d74371e1c700e1228c0d2592ff3fcddde491fbcc51a45e073
0.85
testing_debugging_repair_refactoring
1,191
false
2026-07-17
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Xunit; namespace BadMishka.Security.Cryptography { public class ProtectedMemoryStringTests { public class Constructor { [Fact] ...
badmishkallc/GoDark
test/BadMishka.GoDark.Tests/Security/Cryptography/ProtectedMemoryStringTests.cs
https://github.com/badmishkallc/GoDark/blob/HEAD/test/BadMishka.GoDark.Tests/Security/Cryptography/ProtectedMemoryStringTests.cs
ghcode:00159:4299ac2473d3
apache-2.0
codeparrot/github-code
4299ac2473d3d8a83f2611f734b0aa6acc99b096fc5e91852f1aabecdeff78a6
0.75
testing_debugging_repair_refactoring
890
false
2026-07-17
using System; using System.Text.RegularExpressions; using Akka.Actor; using Akka.Remote.TestKit; using Akka.Remote.Transport; namespace Akka.Remote.Tests.MultiNode { public class AttemptSysMsgRedeliveryMultiNetSpec : MultiNodeConfig { public AttemptSysMsgRedeliveryMultiNetSpec() { ...
rogeralsing/akka.net
src/core/Akka.Remote.Tests.MultiNode/AttemptSysMsgRedeliverySpec.cs
https://github.com/rogeralsing/akka.net/blob/HEAD/src/core/Akka.Remote.Tests.MultiNode/AttemptSysMsgRedeliverySpec.cs
ghcode:00159:fe655a08f7ba
apache-2.0
codeparrot/github-code
fe655a08f7ba87e8a6dca801d14d421c9c8b092bbf7b778ba6675cf01d802f02
0.75
testing_debugging_repair_refactoring
703
false
2026-07-17
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using FluentAssertions; using IdentityModel; using IdentityServer4.Configuration; using IdentityServer4.Models; using IdentityServer4.Respons...
jbijlsma/IdentityServer4
test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests_Login.cs
https://github.com/jbijlsma/IdentityServer4/blob/HEAD/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests_Login.cs
ghcode:00159:2a0b8b6c2ed6
apache-2.0
codeparrot/github-code
2a0b8b6c2ed6170d51b190fa5e5f20f7d5f43a863f28c665f31debb0e51b9a49
0.75
testing_debugging_repair_refactoring
1,250
false
2026-07-17
using NUnit.Framework; using Golem.Core; namespace Golem.Tests { public class ConfigTests : TestBase { [SetUp] public void init() { Config.settings.runTimeSettings.ElementTimeoutSec = 27; } [Test] public void TestCustomConfigSettings() { ...
ProtoTest/ProtoTest.Golem
ProtoTest.Golem/Tests/ConfigTests.cs
https://github.com/ProtoTest/ProtoTest.Golem/blob/HEAD/ProtoTest.Golem/Tests/ConfigTests.cs
ghcode:00159:adc8ae7c9aab
apache-2.0
codeparrot/github-code
adc8ae7c9aab2bcb0694524582d5d0220d03fb26405faf38433790d523a5f520
0.85
testing_debugging_repair_refactoring
250
false
2026-07-17
using System; using System.Collections.Generic; using Quartz.Impl; using Quartz.Job; using Quartz.Simpl; using Quartz.Spi; using Xunit; namespace Quartz.DynamoDB.Tests.Integration.JobStore { public class TriggerRemoveTests : JobStoreIntegrationTest { public TriggerRemoveTests() { _t...
lukeryannetnz/quartznet-dynamodb
src/QuartzNET-DynamoDB.Tests/Integration/JobStore/TriggerRemoveTests.cs
https://github.com/lukeryannetnz/quartznet-dynamodb/blob/HEAD/src/QuartzNET-DynamoDB.Tests/Integration/JobStore/TriggerRemoveTests.cs
ghcode:00159:8b256a5a5ca2
apache-2.0
codeparrot/github-code
8b256a5a5ca2085f0e98b2bafbb93355e59f483b604400d05b67090291dac7da
0.85
testing_debugging_repair_refactoring
1,108
false
2026-07-17
using System.Collections.Generic; using System.Diagnostics; namespace Shouldly { [DebuggerStepThrough] [ShouldlyMethods] public static class ShouldBeDictionaryTestExtensions { public static void ShouldContainKey<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key) { ...
invisibledrygoods/GivenWhenUnity
GivenWhenUnity/Assets/Scripts/Shouldly/ShouldBeDictionaryTestExtensions.cs
https://github.com/invisibledrygoods/GivenWhenUnity/blob/HEAD/GivenWhenUnity/Assets/Scripts/Shouldly/ShouldBeDictionaryTestExtensions.cs
ghcode:00159:bc9963ac8332
bsd-2-clause
codeparrot/github-code
bc9963ac833250713ed1565a10dfefd414685a2c346b37e7b8aef2673f356db7
0.53
testing_debugging_repair_refactoring
307
false
2026-07-17
using NUnit.Framework; namespace ServiceStack.OrmLite.FirebirdTests.Expressions { public class MultiplicativeExpressionsTest : ExpressionsTestBase { [Test] public void Can_select_constant_multiply_expression() { var expected = new TestType() {...
telerik/ServiceStack.OrmLite
tests/ServiceStack.OrmLite.FirebirdTests/Expressions/MultiplicativeExpressionsTest.cs
https://github.com/telerik/ServiceStack.OrmLite/blob/HEAD/tests/ServiceStack.OrmLite.FirebirdTests/Expressions/MultiplicativeExpressionsTest.cs
ghcode:00159:eccb44d8e9c0
bsd-3-clause
codeparrot/github-code
eccb44d8e9c07f97e4855b8647c251576366df4f29588710c00e293539389436
0.85
testing_debugging_repair_refactoring
1,198
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.Diagnostics; using System.IO; using System.Runtime.CompilerServices; using System...
zhenlan/corefx
src/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs
https://github.com/zhenlan/corefx/blob/HEAD/src/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs
ghcode:00159:535ea33580f5
mit
codeparrot/github-code
535ea33580f57c73f247cacf69f60ab692288ecc297e98560dbba9a24b9756d7
0.95
testing_debugging_repair_refactoring
7,174
false
2026-07-17
// Copyright (c) 2015 ZZZ Projects. All rights reserved // Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods) // Website: http://www.zzzprojects.com/ // Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927 // All ZZZ Projects products: Entity Framework ...
huoxudong125/Z.ExtensionMethods
test/Z.Core.Test/System.String/String.ExtractInt64.cs
https://github.com/huoxudong125/Z.ExtensionMethods/blob/HEAD/test/Z.Core.Test/System.String/String.ExtractInt64.cs
ghcode:00159:10cf029f6025
mit
codeparrot/github-code
10cf029f6025051edefe7da7e79bdd81d52d838ae9c573d4ec186ddf45f75882
0.7
testing_debugging_repair_refactoring
362
false
2026-07-17
using MvcMusicStore.Domain.Interfaces.Validation; namespace MvcMusicStore.Domain.Entities.Specifications.AlbumSpecs { public class AlbumTitleLenthMustBeLowerThan160Spec : ISpecification<Album> { public bool IsSatisfiedBy(Album album) { return album.Title.Trim().Length < 160; ...
jedielson/MvcMusicStoreDDD
MvcMusicStore.Domain/Entities/Specifications/AlbumSpecs/AlbumTitleLenthMustBeLowerThan160Spec.cs
https://github.com/jedielson/MvcMusicStoreDDD/blob/HEAD/MvcMusicStore.Domain/Entities/Specifications/AlbumSpecs/AlbumTitleLenthMustBeLowerThan160Spec.cs
ghcode:00159:2adb93ad5b77
mit
codeparrot/github-code
2adb93ad5b77f8a9067bc21120e037da35217fec32b392a10872aec51a2822df
0.75
testing_debugging_repair_refactoring
77
false
2026-07-17
using System.Threading.Tasks; using Abp.Application.Features; using Abp.Application.Navigation; using Abp.Authorization; using Abp.Configuration.Startup; using Abp.Dependency; using Abp.Localization; using NSubstitute; namespace Abp.Tests.Application.Navigation { internal class NavigationTestCase { pub...
burakaydemir/aspnetboilerplate
src/Tests/Abp.Tests/Application/Navigation/NavigationTestCase.cs
https://github.com/burakaydemir/aspnetboilerplate/blob/HEAD/src/Tests/Abp.Tests/Application/Navigation/NavigationTestCase.cs
ghcode:00159:af472e12f60d
mit
codeparrot/github-code
af472e12f60d3d25c0ef784446d00f0539f44c42cd27e9488e16677446594566
0.95
testing_debugging_repair_refactoring
734
false
2026-07-17
namespace PokerTests { using System; using System.Collections.Generic; using NUnit.Framework; using Telerik.JustMock; using Poker; [TestFixture] public class HandTests { [Test] [TestCase(5)] [TestCase(20)] [TestCase(50)] public void HandToStrin...
dobri19/OldRepos
Telerik/01-Programming-with-C#/02-C#-UnitTesting-2017-January/05-TestDrivenDev/PokerTests/HandTests.cs
https://github.com/dobri19/OldRepos/blob/HEAD/Telerik/01-Programming-with-C#/02-C#-UnitTesting-2017-January/05-TestDrivenDev/PokerTests/HandTests.cs
ghcode:00159:f7d378094d58
mit
codeparrot/github-code
f7d378094d584215b5a8a8a914b3fc00be6c97da9fe4143cedef215f0aceb4d0
0.75
testing_debugging_repair_refactoring
594
false
2026-07-17
namespace Nancy.Tests.Unit.Routing { using Nancy.Testing; using Xunit; public class ConstraintNodeRouteScoringFixture { private readonly Browser browser; public ConstraintNodeRouteScoringFixture() { this.browser = new Browser(with => with.Module<TestMo...
jonathanfoster/Nancy
src/Nancy.Tests/Unit/Routing/ConstraintNodeRouteScoringFixture.cs
https://github.com/jonathanfoster/Nancy/blob/HEAD/src/Nancy.Tests/Unit/Routing/ConstraintNodeRouteScoringFixture.cs
ghcode:00159:dda0ebb77515
mit
codeparrot/github-code
dda0ebb775158fc254ee84b486e5859d7d93be834557ccde29de00ee0524f355
0.75
testing_debugging_repair_refactoring
204
false
2026-07-17
/* * nMQTT, a .Net MQTT v3 client implementation. * http://wiki.github.com/markallanson/nmqtt * * Copyright (c) 2009 Mark Allanson (mark@markallanson.net) & Contributors * * Licensed under the MIT License. You may not use this file except * in compliance with the License. You may obtain a copy of the License ...
markallanson/nmqtt
nMQTTTests/Messages/Unsubscribe/Serialization.cs
https://github.com/markallanson/nmqtt/blob/HEAD/nMQTTTests/Messages/Unsubscribe/Serialization.cs
ghcode:00159:8277d78a2303
mit
codeparrot/github-code
8277d78a230344a01d70f3f29bab8a58030c876ce74dfb4d64e17ae5d8ab34bf
0.85
testing_debugging_repair_refactoring
1,175
false
2026-07-17
using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; class Bad { public static int InvokeSerialized(FileStream fs) { var formatter = new BinaryFormatter(); // BAD var f = (Func<int>)formatter.Deserialize(fs); return f(); } }
github/codeql
csharp/ql/test/query-tests/Security Features/CWE-502/DeserializedDelegate/DeserializedDelegateBad.cs
https://github.com/github/codeql/blob/HEAD/csharp/ql/test/query-tests/Security Features/CWE-502/DeserializedDelegate/DeserializedDelegateBad.cs
ghcode:00159:f20b1652e3ec
mit
codeparrot/github-code
f20b1652e3ec00cd0a03ebdc197fa097057787075db76fd6621d4761f64cb3b3
0.85
testing_debugging_repair_refactoring
62
false
2026-07-17
#pragma warning disable 67 namespace Typewriter.Tests.CodeModel.Support { /// <summary> /// summary /// </summary> [AttributeInfo] public class ClassInfo : BaseClassInfo, IInterfaceInfo { public ClassInfo() { } public const string PublicConstant = ""; in...
frhagn/Typewriter
src/Tests/CodeModel/Support/ClassInfo.cs
https://github.com/frhagn/Typewriter/blob/HEAD/src/Tests/CodeModel/Support/ClassInfo.cs
ghcode:00159:6fc7f4cb6859
apache-2.0
codeparrot/github-code
6fc7f4cb6859e9bb643aa911d27c359c248821cf3463800409422879b59fb3d5
0.95
testing_debugging_repair_refactoring
347
false
2026-07-17
//----------------------------------------------------------------------- // <copyright company="Metamorphic"> // Copyright (c) Metamorphic. All rights reserved. // Licensed under the Apache License, Version 2.0 license. See LICENCE.md file in the project root for full license information. // </copyright> //----------...
metamorpher/Metamorphic
src/Test.Unit.Server/FailedToConnectToStorageExceptionTest.cs
https://github.com/metamorpher/Metamorphic/blob/HEAD/src/Test.Unit.Server/FailedToConnectToStorageExceptionTest.cs
ghcode:00159:ac41ecfc1148
apache-2.0
codeparrot/github-code
ac41ecfc11484bfe4a6cadf95a00a0711bbff2b7771c80d3cbf065acc315230f
0.7
testing_debugging_repair_refactoring
110
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 Xunit; using VerifyCS = Test.Utilities.CSharpCodeFixVerifier< Microsoft.NetCore...
mavasani/roslyn-analyzers
src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Runtime/UseOrdinalStringComparisonTests.Fixer.cs
https://github.com/mavasani/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Runtime/UseOrdinalStringComparisonTests.Fixer.cs
ghcode:00159:746c3b9f677c
apache-2.0
codeparrot/github-code
746c3b9f677c3174c4c55be17e2bfaa18aa7b2ba818d855fc821fc72675c19d0
0.85
testing_debugging_repair_refactoring
2,542
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 conditi...
msbahrul/EventStore
src/EventStore/EventStore.Core.Tests/Index/when_marking_an_index_map_as_corrupt_then_ok.cs
https://github.com/msbahrul/EventStore/blob/HEAD/src/EventStore/EventStore.Core.Tests/Index/when_marking_an_index_map_as_corrupt_then_ok.cs
ghcode:00159:89a45ad10da1
bsd-3-clause
codeparrot/github-code
89a45ad10da1c690eb6267eecc0b4e042a8984de39b76769201d01dd44b4fc27
0.85
testing_debugging_repair_refactoring
469
false
2026-07-17
using System; using System.Globalization; namespace BenchmarkDotNet.Exporters.Csv { public static class CsvSeparatorExtensions { /// <summary> /// Return a string which represent real CSV separator which can be used as plain text. /// </summary> public static string ToRealSepar...
ig-sinicyn/BenchmarkDotNet
src/BenchmarkDotNet/Exporters/Csv/CsvSeparatorExtensions.cs
https://github.com/ig-sinicyn/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Exporters/Csv/CsvSeparatorExtensions.cs
ghcode:00159:0728d2efd0dd
mit
codeparrot/github-code
0728d2efd0dd6140f1969d2f1b5c9500a30b1459dc5ca98e0b3d443f7f34c766
0.85
testing_debugging_repair_refactoring
130
false
2026-07-17
// Class1.cs // using ClientUI.ViewModel; using QUnitApi; using Slick; using SparkleXrm; using System; using System.Collections.Generic; using System.Html; using Xrm.Sdk; namespace ClientUI.UnitTests { public class ConnectionViewModelTests { static List<Entity> accounts; static EntityRefere...
scottdurow/SparkleXrm
SparkleXrmSamples/ConnectionsUI/ClientUI.UnitTests/ConnectionViewModelTests.cs
https://github.com/scottdurow/SparkleXrm/blob/HEAD/SparkleXrmSamples/ConnectionsUI/ClientUI.UnitTests/ConnectionViewModelTests.cs
ghcode:00159:f71542003b4c
mit
codeparrot/github-code
f71542003b4c7457cdc6ce79740632056833433acd72938f02532171cde6038b
0.85
testing_debugging_repair_refactoring
767
false
2026-07-17
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Identity; using Azure.Security.KeyVault.Keys.Cryptography; using NUnit.Framework; using System; using System.Diagnostics; using System.Security.Cryptography; using System.Text; using System.Threading; using Azu...
ayeletshpigelman/azure-sdk-for-net
sdk/keyvault/Azure.Security.KeyVault.Keys/tests/samples/Sample5_SignVerify.cs
https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/samples/Sample5_SignVerify.cs
ghcode:00159:50af91eb7077
mit
codeparrot/github-code
50af91eb70771dbf505829bbaf653693e3222e82c659e3aa55416a5e1afc09d5
0.95
testing_debugging_repair_refactoring
1,290
false
2026-07-17
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeAc...
davkean/roslyn
src/EditorFeatures/CSharpTest/Diagnostics/Configuration/ConfigureCodeStyle/MultipleCodeStyleOptionConfigurationTests.cs
https://github.com/davkean/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/Configuration/ConfigureCodeStyle/MultipleCodeStyleOptionConfigurationTests.cs
ghcode:00159:e51d68fc6160
apache-2.0
codeparrot/github-code
e51d68fc6160e7c587f4ee55763f904084feb8e0027c6d5e8c9f0deb373c1e00
0.85
testing_debugging_repair_refactoring
3,951
false
2026-07-17
using System; using FluentScheduler.Model; using Moq; using NUnit.Framework; namespace FluentScheduler.Tests.ScheduleTests { [TestFixture] public class HoursTests { [Test] public void Should_Add_Specified_Hours_To_Next_Run_Date() { var task = new Mock<ITask>(); var schedule = new Schedule(task.Object); ...
ThreeScreenStudios/FluentScheduler
FluentScheduler.Tests/ScheduleTests/HoursTests.cs
https://github.com/ThreeScreenStudios/FluentScheduler/blob/HEAD/FluentScheduler.Tests/ScheduleTests/HoursTests.cs
ghcode:00159:d7d1557610ce
bsd-3-clause
codeparrot/github-code
d7d1557610cea177973e707832d46a0b505b78b0fbdc4715b53051ee91b91c81
0.75
testing_debugging_repair_refactoring
1,236
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.Bindables; using osu.Framework.Graphics; using osu.Framework.Testing; using osu.Framework.Utils; using osu.G...
ppy/osu
osu.Game.Tests/Visual/Gameplay/TestSceneGameplayLeaderboard.cs
https://github.com/ppy/osu/blob/HEAD/osu.Game.Tests/Visual/Gameplay/TestSceneGameplayLeaderboard.cs
ghcode:00159:a136bb608517
mit
codeparrot/github-code
a136bb608517703addcae43d51ab3e62d3dd4d3a13c9324ab74189699cdf9b54
0.75
testing_debugging_repair_refactoring
1,314
false
2026-07-17
using System; using System.IO; using System.Xml; namespace BenchmarkDotNet.Exporters.Xml { internal class SimpleXmlWriter : IXmlWriter, IDisposable { private readonly XmlWriter writer; public SimpleXmlWriter(TextWriter writer, bool indent) { if (writer == null) ...
ig-sinicyn/BenchmarkDotNet
src/BenchmarkDotNet/Exporters/Xml/SimpleXmlWriter.cs
https://github.com/ig-sinicyn/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Exporters/Xml/SimpleXmlWriter.cs
ghcode:00159:f31cbaf20191
mit
codeparrot/github-code
f31cbaf20191e55e4167265a5542adb05ad403e468f0663860ca59f86be708af
0.75
testing_debugging_repair_refactoring
184
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 ...
NSAmelchev/ignite
modules/platforms/dotnet/Apache.Ignite.Core.Tests/Services/ServicesTestAsync.cs
https://github.com/NSAmelchev/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Services/ServicesTestAsync.cs
ghcode:00159:435e0a17ef7c
apache-2.0
codeparrot/github-code
435e0a17ef7cd7cea2bb9033c89ccdf1819201035760e2960b87d77aa2c1e535
0.85
testing_debugging_repair_refactoring
370
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.Linq; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp.EncapsulateField; using Microsoft.CodeAnalysis.Editor.Comm...
VPashkov/roslyn
src/EditorFeatures/CSharpTest/EncapsulateField/EncapsulateFieldTestState.cs
https://github.com/VPashkov/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/EncapsulateField/EncapsulateFieldTestState.cs
ghcode:00159:9da23e5518ee
apache-2.0
codeparrot/github-code
9da23e5518eef69e91b7ad588d1a0acec60884c713caf6666afff73611434957
0.75
testing_debugging_repair_refactoring
584
false
2026-07-17
namespace Microsoft.TemplateEngine.Core.UnitTests { public class EncodingTests { } }
seancpeters/templating
test/Microsoft.TemplateEngine.Core.UnitTests/EncodingTests.cs
https://github.com/seancpeters/templating/blob/HEAD/test/Microsoft.TemplateEngine.Core.UnitTests/EncodingTests.cs
ghcode:00159:ebf90346c785
mit
codeparrot/github-code
ebf90346c7851dc6fbf2792016437c4a702e97564b255dfb2d32597604d0a8a0
0.35
testing_debugging_repair_refactoring
20
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 ...
tzaavi/Lean
Tests/Algorithm/AlgorithmTradingTests.cs
https://github.com/tzaavi/Lean/blob/HEAD/Tests/Algorithm/AlgorithmTradingTests.cs
ghcode:00159:d55febf1d80e
apache-2.0
codeparrot/github-code
d55febf1d80e7b49280e8639550d7659bb8ac32636dcc9e9a4261f43a93bd8a8
0.85
testing_debugging_repair_refactoring
6,896
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.Composition; using System.IO; using System.Linq; using System.Reflection; using System.Threading...
KevinH-MS/roslyn
src/Workspaces/CoreTest/Execution/SnapshotSerializationTests.cs
https://github.com/KevinH-MS/roslyn/blob/HEAD/src/Workspaces/CoreTest/Execution/SnapshotSerializationTests.cs
ghcode:00159:134acecd932e
apache-2.0
codeparrot/github-code
134acecd932e2efe590e08aa5d53bae58896eeec0044c2c10bee6b4cfa48d132
0.85
testing_debugging_repair_refactoring
5,760
false
2026-07-17
using System; using System.Diagnostics; using System.Collections.Generic; using DataStructures.Heaps; namespace C_Sharp_Algorithms.DataStructuresTests { public static class BinomialHeapsTest { public static void DoTest() { int i = 37; int numberOfItems = 100000; ...
offbyoneprogrammer/C-Sharp-Algorithms
MainProgram/DataStructuresTests/BinomialHeapsTest.cs
https://github.com/offbyoneprogrammer/C-Sharp-Algorithms/blob/HEAD/MainProgram/DataStructuresTests/BinomialHeapsTest.cs
ghcode:00159:89d92e4a3852
mit
codeparrot/github-code
89d92e4a385215012a78ae5eb75c297d68aa56e35311927961642ec53bb3355c
0.6
testing_debugging_repair_refactoring
275
false
2026-07-17
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CodeStyle; using...
CyrusNajmabadi/roslyn
src/Analyzers/CSharp/Tests/AddBraces/AddBracesTests.cs
https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/Analyzers/CSharp/Tests/AddBraces/AddBracesTests.cs
ghcode:00159:ae41e292ed2a
mit
codeparrot/github-code
ae41e292ed2af113f38486cd3afd1440ab24466fc76549e7c1f05d89c832ad4c
0.95
testing_debugging_repair_refactoring
10,852
false
2026-07-17
namespace Bau.Test.Acceptance.CreateFile { using System; using System.IO; class Program { static void Main(string[] args) { Console.WriteLine(typeof(Program).Assembly.GetName().Name); Console.WriteLine("Working directory is: {0}", Directory.GetCurrentD...
bau-build/bau
src/test/Bau.Test.Acceptance.CreateFile/Program.cs
https://github.com/bau-build/bau/blob/HEAD/src/test/Bau.Test.Acceptance.CreateFile/Program.cs
ghcode:00159:17e63b45f176
mit
codeparrot/github-code
17e63b45f17652affb7b20de1d179ee09967afe53d138cf604823c1888ebfecc
0.85
testing_debugging_repair_refactoring
145
false
2026-07-17
using System; using System.Diagnostics; using System.Collections.Generic; using Algorithms.Graphs; using DataStructures.Graphs; using DataStructures.Lists; namespace C_Sharp_Algorithms.AlgorithmsTests { public static class GraphsBellmanFordShortestPaths { public static void DoTest() { ...
jianweishi/C-Sharp-Algorithms
MainProgram/AlgorithmsTests/GraphsBellmanFordShortestPaths.cs
https://github.com/jianweishi/C-Sharp-Algorithms/blob/HEAD/MainProgram/AlgorithmsTests/GraphsBellmanFordShortestPaths.cs
ghcode:00159:38f2e66e625f
mit
codeparrot/github-code
38f2e66e625fd639d5834450b65ebf0ecb6b3a27616cb0607d1674a757c67fca
0.7
testing_debugging_repair_refactoring
1,920
false
2026-07-17
using System.Threading.Tasks; using Nest; using Tests.Framework; using static Tests.Framework.UrlTester; namespace Tests.Modules.SnapshotAndRestore.Repositories.GetRepository { public class GetRepositoryUrlTests { [U] public async Task Urls() { var repositories = "repos1,repos2"; await GET($"/_snapshot/r...
CSGOpenSource/elasticsearch-net
src/Tests/Modules/SnapshotAndRestore/Repositories/GetRepository/GetRepositoryUrlTests.cs
https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/Modules/SnapshotAndRestore/Repositories/GetRepository/GetRepositoryUrlTests.cs
ghcode:00159:eb4d53739afd
apache-2.0
codeparrot/github-code
eb4d53739afdb16a38ad528edac9315e011153287871ed0ff2cfb50617adc076
0.85
testing_debugging_repair_refactoring
217
false
2026-07-17
using System.Collections.Specialized; using System.Security.Cryptography; using System.Text; using HttpServer.Authentication; using Xunit; namespace HttpServer.Test.Authentication { /// <summary> /// http://en.wikipedia.org/wiki/Digest_authentication /// </summary> public class DigestAuthTest ...
Vinhold/halcyon
ThirdParty/HttpServer/HttpServer.Test/Authentication/DigestAuthTest.cs
https://github.com/Vinhold/halcyon/blob/HEAD/ThirdParty/HttpServer/HttpServer.Test/Authentication/DigestAuthTest.cs
ghcode:00159:cadb2fdad0eb
bsd-3-clause
codeparrot/github-code
cadb2fdad0eb4fc092d4f9a43ebee70f3b03890246b5b6b507ba051c564e112e
0.7
testing_debugging_repair_refactoring
1,529
false
2026-07-17
// *********************************************************************** // Copyright (c) 2008 Charlie Poole, Rob Prouse // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restr...
OmicronPersei/nunit
src/NUnitFramework/tests/TestUtilities/TestDelegates.cs
https://github.com/OmicronPersei/nunit/blob/HEAD/src/NUnitFramework/tests/TestUtilities/TestDelegates.cs
ghcode:00159:01a86cc8bc52
mit
codeparrot/github-code
01a86cc8bc529ecd1ab6c873e2b61fe2a98196217f6a68cab900db0ab302aeca
0.95
testing_debugging_repair_refactoring
453
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.DiagnosticComments.CodeFixes; using Microsof...
bbarry/roslyn
src/EditorFeatures/CSharpTest/DocumentationComments/CodeFixes/AddDocCommentNodesCodeFixProviderTests.cs
https://github.com/bbarry/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/DocumentationComments/CodeFixes/AddDocCommentNodesCodeFixProviderTests.cs
ghcode:00159:074703c802ec
apache-2.0
codeparrot/github-code
074703c802ecd65c33794b0d49de7686d540fd693c6036ceb7dfacab25c309ed
0.85
testing_debugging_repair_refactoring
4,981
false
2026-07-17
using System.Collections.Generic; using System.Net; using NUnit.Framework; using SevenDigital.Api.Wrapper.Responses; namespace SevenDigital.Api.Wrapper.Unit.Tests.Responses { [TestFixture] public class ResponseTests { [Test] public void Should_not_be_json_when_content_type_header_is_absent() { var headers...
danbadge/SevenDigital.Api.Wrapper
src/SevenDigital.Api.Wrapper.Unit.Tests/Responses/ResponseTests.cs
https://github.com/danbadge/SevenDigital.Api.Wrapper/blob/HEAD/src/SevenDigital.Api.Wrapper.Unit.Tests/Responses/ResponseTests.cs
ghcode:00159:ce8caa85c791
mit
codeparrot/github-code
ce8caa85c791c38fa8f49b972732668e59311d98de5b0c461247079ec7b7ca3b
0.75
testing_debugging_repair_refactoring
414
false
2026-07-17
using NUnit.Framework; using OpenQA.Selenium.Internal; using System.Collections.ObjectModel; namespace OpenQA.Selenium.Interactions { [TestFixture] public class CombinedInputActionsTest : DriverTestFixture { [SetUp] public void Setup() { new Actions(driver).SendKeys(Key...
kalyanjvn1/selenium
dotnet/test/common/Interactions/CombinedInputActionsTest.cs
https://github.com/kalyanjvn1/selenium/blob/HEAD/dotnet/test/common/Interactions/CombinedInputActionsTest.cs
ghcode:00159:b51f82f6d21e
apache-2.0
codeparrot/github-code
b51f82f6d21e78b513c65c0216bcf3b54fd8ab5b8ef146f94a2927c832e8494e
0.95
testing_debugging_repair_refactoring
2,599
false
2026-07-17
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using Monitor.Tests.Helpers; using Microsoft.Azure.Management.Monitor; u...
shahabhijeet/azure-sdk-for-net
src/SDKs/Monitor/Monitor.Tests/BasicTests/DiagnosticSettingsTests.cs
https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/SDKs/Monitor/Monitor.Tests/BasicTests/DiagnosticSettingsTests.cs
ghcode:00159:f98a554575b4
mit
codeparrot/github-code
f98a554575b4d8c63261a647d12c5e74e56b8e4b275acade1bdfc38730f99999
0.75
testing_debugging_repair_refactoring
1,662
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. // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // HashJoinQueryOperato...
shimingsg/corefx
src/System.Linq.Parallel/src/System/Linq/Parallel/QueryOperators/Binary/HashJoinQueryOperatorEnumerator.cs
https://github.com/shimingsg/corefx/blob/HEAD/src/System.Linq.Parallel/src/System/Linq/Parallel/QueryOperators/Binary/HashJoinQueryOperatorEnumerator.cs
ghcode:00159:b8231b7de1a2
mit
codeparrot/github-code
b8231b7de1a2f846bd0fffce0a653f78aa977ef8006a73733e73ffdc3a78e771
0.95
testing_debugging_repair_refactoring
3,509
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...
dulems/azure-powershell
src/ServiceManagement/Common/Commands.ScenarioTest/ServiceManagement/ScenarioTests.cs
https://github.com/dulems/azure-powershell/blob/HEAD/src/ServiceManagement/Common/Commands.ScenarioTest/ServiceManagement/ScenarioTests.cs
ghcode:00159:4c938eaac0c4
apache-2.0
codeparrot/github-code
4c938eaac0c4e949781ffa10e39ee2c94fcfd5985e1017e3f96e6f293fec74fd
0.85
testing_debugging_repair_refactoring
1,048
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.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using Syst...
JakeGinnivan/roslyn
src/Compilers/Core/Portable/Compilation/Compilation.cs
https://github.com/JakeGinnivan/roslyn/blob/HEAD/src/Compilers/Core/Portable/Compilation/Compilation.cs
ghcode:00159:b7e9dd95d984
apache-2.0
codeparrot/github-code
b7e9dd95d98443dc41014fffa8e053bd4f46919556adb442ac24d95cb7a3e05c
0.72
testing_debugging_repair_refactoring
16,254
false
2026-07-17
using System; using System.Text; using Elasticsearch.Net; using FluentAssertions; using Nest.DSL.Visitor; using Nest.Tests.MockData.Domain; using NUnit.Framework; namespace Nest.Tests.Integration.Mapping { [TestFixture] public class MappingVisitorTests : IntegrationTests { [Test] public void VisitorToPrettyPri...
amyzheng424/elasticsearch-net
src/Tests/Nest.Tests.Integration/Mapping/MappingVisitorTests.cs
https://github.com/amyzheng424/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Integration/Mapping/MappingVisitorTests.cs
ghcode:00159:d919926718ea
apache-2.0
codeparrot/github-code
d919926718ea476e2e228305852ec33a6c18629e338a00f239b24b82b14d8853
0.85
testing_debugging_repair_refactoring
551
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 Xunit; namespace System.Linq.Tests { public class Element...
shahid-pk/corefx
src/System.Linq/tests/ElementAtTests.cs
https://github.com/shahid-pk/corefx/blob/HEAD/src/System.Linq/tests/ElementAtTests.cs
ghcode:00159:5027d7b2566b
mit
codeparrot/github-code
5027d7b2566bbc790327562669a0f34a26a9f44bb3221756a960bb5f95664f85
0.95
testing_debugging_repair_refactoring
906
false
2026-07-17
using NUnit.Framework; namespace Saltarelle.Compiler.Tests.StateMachineTests { [TestFixture] public class IteratorBlockTests : StateMachineRewriterTestBase { [Test] public void IteratorBlockWithoutYieldBreak() { AssertCorrect(@" { a; yield return b; c; yield return d; lbl1: e; }", @"{ var $state1 = 0;...
cezary12/SaltarelleCompiler
Compiler/Saltarelle.Compiler.Tests/StateMachineTests/IteratorBlockTests.cs
https://github.com/cezary12/SaltarelleCompiler/blob/HEAD/Compiler/Saltarelle.Compiler.Tests/StateMachineTests/IteratorBlockTests.cs
ghcode:00159:6db330a0ad18
apache-2.0
codeparrot/github-code
6db330a0ad18d96b0ca120621455a9fc0425ac7cb03d13517fd8812e4b3856b9
0.75
testing_debugging_repair_refactoring
10,911
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.SqlServer.Server...
shimingsg/corefx
src/System.Data.SqlClient/src/System/Data/SqlClient/TdsValueSetter.cs
https://github.com/shimingsg/corefx/blob/HEAD/src/System.Data.SqlClient/src/System/Data/SqlClient/TdsValueSetter.cs
ghcode:00159:92292f366c7e
mit
codeparrot/github-code
92292f366c7eb1cac29c577ddf608cd63d224784e4aa630ee8ab9b35fae7a8e6
0.95
testing_debugging_repair_refactoring
6,054
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 Roslyn.Test.Utilities; using Xunit; // The way the specification describes, and the way the native compiler reports name // collision errors is incons...
paladique/roslyn
src/Compilers/CSharp/Test/Semantic/Semantics/NameCollisionTests.cs
https://github.com/paladique/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/NameCollisionTests.cs
ghcode:00159:4413f8c412bb
apache-2.0
codeparrot/github-code
4413f8c412bb7925a009a8b48968bcd33e5cc6c8f60f8fef28849c068184f6c9
0.82
testing_debugging_repair_refactoring
19,011
false
2026-07-17
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Formatting; using Microsoft.CodeAnalysis....
MatthieuMEZIL/roslyn
src/Workspaces/CoreTest/Formatting/FormattingTestBase.cs
https://github.com/MatthieuMEZIL/roslyn/blob/HEAD/src/Workspaces/CoreTest/Formatting/FormattingTestBase.cs
ghcode:00159:e1638dec7969
apache-2.0
codeparrot/github-code
e1638dec796942943e57512bbb8945b17ee2df01dc63702ad1f929389981e852
0.85
testing_debugging_repair_refactoring
716
false
2026-07-17
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace System.Net.S...
shimingsg/corefx
src/System.Net.Sockets/tests/FunctionalTests/Accept.cs
https://github.com/shimingsg/corefx/blob/HEAD/src/System.Net.Sockets/tests/FunctionalTests/Accept.cs
ghcode:00159:cbc0e97add68
mit
codeparrot/github-code
cbc0e97add68260b62d11a3544eeeaa6d7179bec5f8b31c8c6a0162acacf5f76
0.95
testing_debugging_repair_refactoring
2,717
false
2026-07-17
using System; namespace VirtualFunctionOverride { interface IIFaceWithGenericMethod { void GenMethod<T>(); } class HasMethodInterfaceOverrideOfGenericMethod : IIFaceWithGenericMethod { void IIFaceWithGenericMethod.GenMethod<T>() { } } class SimpleGeneric<T> { ...
zenos-os/zenos
vendor/corert/src/ILCompiler.TypeSystem/tests/CoreTestAssembly/VirtualFunctionOverride.cs
https://github.com/zenos-os/zenos/blob/HEAD/vendor/corert/src/ILCompiler.TypeSystem/tests/CoreTestAssembly/VirtualFunctionOverride.cs
ghcode:00159:540757e41e08
mit
codeparrot/github-code
540757e41e0827d7959cf69f3caf2b8cf96e68589811e6b54c71da2eb7f566f9
0.85
testing_debugging_repair_refactoring
188
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.Buffers; using Xunit; namespace System.Memory.Tests.SequenceReader { public class C...
shimingsg/corefx
src/System.Memory/tests/SequenceReader/CopyTo.cs
https://github.com/shimingsg/corefx/blob/HEAD/src/System.Memory/tests/SequenceReader/CopyTo.cs
ghcode:00159:3cfb38d16076
mit
codeparrot/github-code
3cfb38d1607663075d1279d41bf972bf7ab075db4f705c640113c6fbe42b02f6
0.95
testing_debugging_repair_refactoring
448
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.Editing; using Microsoft.CodeAnalysis.Formatting; using Microsoft.CodeAnalysis.Options; using Microsoft.CodeAnalysis.Simplificat...
droyad/roslyn
src/Workspaces/CSharpTest/CodeGeneration/AddImportsTests.cs
https://github.com/droyad/roslyn/blob/HEAD/src/Workspaces/CSharpTest/CodeGeneration/AddImportsTests.cs
ghcode:00159:b20cb57129e7
apache-2.0
codeparrot/github-code
b20cb57129e78087029ca618455315878fab8e184b98a5bbd618b40eda9961cc
0.85
testing_debugging_repair_refactoring
1,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. using System.Collections.Generic; using System.Diagnostics; namespace System.Reflection.Context.Delegation { i...
BrennanConroy/corefx
src/System.Reflection.Context/src/System/Reflection/Context/Delegation/DelegatingCustomAttributeData.cs
https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Reflection.Context/src/System/Reflection/Context/Delegation/DelegatingCustomAttributeData.cs
ghcode:00159:0b07464611b1
mit
codeparrot/github-code
0b07464611b167d09727bd5fc12e12e8f46ef6f25ec0fd155fc81c14e39c4380
0.95
testing_debugging_repair_refactoring
217
false
2026-07-17
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using UnityEngine; using HoloToolkit.Unity; namespace HoloToolkit.Sharing.Tests { /// <summary> /...
haveagit/TranslatorDemo
Assets/HoloToolKit/Sharing/Tests/Scripts/RemoteHeadManager.cs
https://github.com/haveagit/TranslatorDemo/blob/HEAD/Assets/HoloToolKit/Sharing/Tests/Scripts/RemoteHeadManager.cs
ghcode:00159:5dddb8eab292
mit
codeparrot/github-code
5dddb8eab292d6a3b87bc0e021b91269c400509820829aa2e90a002ea7693af8
0.95
testing_debugging_repair_refactoring
1,097
false
2026-07-17