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.Threading;
using System.Threading.Tasks;
using AspectCore.DynamicProxy;
using AspectCore.Extensions.LightInject;
using LightInject;
using Xunit;
namespace AspectCoreTest.LightInject
{
[AttributeUsage(AttributeTargets.Method)]
publ... | AspectCore/Abstractions | tests/AspectCore.Extensions.LightInject.Test/ExcuteTimesTests.cs | https://github.com/AspectCore/Abstractions/blob/HEAD/tests/AspectCore.Extensions.LightInject.Test/ExcuteTimesTests.cs | ghcode:00005:02e804ca0925 | mit | codeparrot/github-code | 02e804ca09257291385a898f31e515a4b74312c35a52e335f1dad040befddd8b | 0.75 | testing_debugging_repair_refactoring | 527 | false | 2026-07-17 |
#nullable enable
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Pchp.Core.Reflection
{
/// <summary>
/// Runtime information about a function.
/... | iolevel/peachpie-concept | src/Peachpie.Runtime/Reflection/PhpRoutineInfo.cs | https://github.com/iolevel/peachpie-concept/blob/HEAD/src/Peachpie.Runtime/Reflection/PhpRoutineInfo.cs | ghcode:00005:75db7e8a22c0 | apache-2.0 | codeparrot/github-code | 75db7e8a22c089b13f8375c6e2db88fb97054cde7001aab636e8b7faf2ae3ecf | 0.7 | testing_debugging_repair_refactoring | 2,530 | false | 2026-07-17 |
using Lucene.Net.Analysis;
using Lucene.Net.Analysis.TokenAttributes;
using Lucene.Net.Analysis.Util;
using System.Diagnostics;
namespace Lucene.Net.Search.Suggest.Analyzing
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file d... | laimis/lucenenet | src/Lucene.Net.Suggest/Suggest/Analyzing/SuggestStopFilter.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Suggest/Suggest/Analyzing/SuggestStopFilter.cs | ghcode:00005:7037843bc38d | apache-2.0 | codeparrot/github-code | 7037843bc38da92b810b9c5d9f303844b2813baad890f8849cc1bc3de22dbcf4 | 0.85 | testing_debugging_repair_refactoring | 1,011 | false | 2026-07-17 |
using Bridge.Test.NUnit;
namespace Bridge.ClientTest.Batch3.BridgeIssues
{
/// <summary>
/// The test here consists of ensuring the call count for the Create()
/// method from the Fac class is one and only one if the return type
/// is generic type 'out'.
/// </summary>
[TestFixture(TestNameFor... | bridgedotnet/Bridge | Tests/Batch3/BridgeIssues/3800/N3876.cs | https://github.com/bridgedotnet/Bridge/blob/HEAD/Tests/Batch3/BridgeIssues/3800/N3876.cs | ghcode:00005:962b5f7a6658 | apache-2.0 | codeparrot/github-code | 962b5f7a6658d5cbce154eac98f45657668ba4f507ce6399b53e4990a9b0fb5e | 0.85 | testing_debugging_repair_refactoring | 240 | false | 2026-07-17 |
using FluentAssertions;
using Xunit;
namespace ConcurrencyUtilities.Tests
{
public class AtomicLongArrayTests
{
[Fact]
public void AtomicLongArray_CanCreateArray()
{
var array = new AtomicLongArray(10);
array.Length.Should().Be(10);
}
[Fact]
... | mattwarren/ConcurrencyUtilities | Tests/ConcurrencyUtilities.Tests/AtomicLongArrayTests.cs | https://github.com/mattwarren/ConcurrencyUtilities/blob/HEAD/Tests/ConcurrencyUtilities.Tests/AtomicLongArrayTests.cs | ghcode:00005:4b826fb87901 | apache-2.0 | codeparrot/github-code | 4b826fb8790136d7f4c9ef8fdf3f3ccac45f9087163d81e7b9b52d25486a6c3c | 0.75 | testing_debugging_repair_refactoring | 476 | false | 2026-07-17 |
using Moq;
using Prism.Forms.Tests.Mocks.Modules;
using Prism.Modularity;
using Xunit;
namespace Prism.Forms.Tests.Modularity
{
public class ModuleManagerExtensionsFixture
{
[Fact]
public void ModuleManagerExposesIModuleCatalogModules()
{
var modules = new[]
{
... | karlfl/Prism | tests/Forms/Prism.Forms.Tests/Modularity/ModuleManagerExtensionsFixture.cs | https://github.com/karlfl/Prism/blob/HEAD/tests/Forms/Prism.Forms.Tests/Modularity/ModuleManagerExtensionsFixture.cs | ghcode:00005:6d7e26ffae3d | apache-2.0 | codeparrot/github-code | 6d7e26ffae3d78a28e2de1f9a0b9298e03edb96abcd3922cda94d4c779186a8a | 0.75 | testing_debugging_repair_refactoring | 709 | false | 2026-07-17 |
/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using System.Diagnostics;
using System.Security.Claims;
using Sy... | ibrmohammed/openiddict-core | src/OpenIddict.Core/OpenIddictProvider.Userinfo.cs | https://github.com/ibrmohammed/openiddict-core/blob/HEAD/src/OpenIddict.Core/OpenIddictProvider.Userinfo.cs | ghcode:00005:3752f64b8fd4 | apache-2.0 | codeparrot/github-code | 3752f64b8fd446fe76c59d0b4383bbf464fe048e4300548c78e966444c91c551 | 0.7 | testing_debugging_repair_refactoring | 803 | false | 2026-07-17 |
using Abp.Configuration;
namespace Abp.Modules.Core.Tests.Settings
{
public class MemorySettingRepository : MemoryBasedRepository<Setting, long>, ISettingRepository
{
public MemorySettingRepository(IPrimaryKeyGenerator<long> primaryKeyGenerator)
: base(primaryKeyGenerator)
{
... | aspnetboilerplate/module-core-forsaken | src/Tests/Abp.Modules.Core.Tests/Settings/MemorySettingRepository.cs | https://github.com/aspnetboilerplate/module-core-forsaken/blob/HEAD/src/Tests/Abp.Modules.Core.Tests/Settings/MemorySettingRepository.cs | ghcode:00005:90981fda681a | mit | codeparrot/github-code | 90981fda681a60ca8798b063a97302d6b75e8c092643cb85867b90f77081ad27 | 0.85 | testing_debugging_repair_refactoring | 65 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
// Need to disable warning related to CLS Compliance as using Array ... | alphonsekurian/corefx | src/System.Reflection/tests/MethodInfo/MethodInfo_CustomAttributeTests.cs | https://github.com/alphonsekurian/corefx/blob/HEAD/src/System.Reflection/tests/MethodInfo/MethodInfo_CustomAttributeTests.cs | ghcode:00005:8a2aa4997edc | mit | codeparrot/github-code | 8a2aa4997edc4a9d7970035104cffe720ed36808054d0e143574f029c1d62400 | 0.95 | testing_debugging_repair_refactoring | 866 | false | 2026-07-17 |
using CodeCracker.CSharp.Usage;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Testing;
using System.Threading.Tasks;
using Xunit;
namespace CodeCracker.Test.CSharp.Usage
{
public class UnusedParametersTests : CodeFixVerifier<UnusedParametersAnalyzer, UnusedParametersCodeFixProvider>
{
[Fa... | code-cracker/code-cracker | test/CSharp/CodeCracker.Test/Usage/UnusedParametersTests.cs | https://github.com/code-cracker/code-cracker/blob/HEAD/test/CSharp/CodeCracker.Test/Usage/UnusedParametersTests.cs | ghcode:00005:69ace871bc7f | apache-2.0 | codeparrot/github-code | 69ace871bc7f85c5672959c6c1832cd3499432c941527b8a626d02823aadcef7 | 0.85 | testing_debugging_repair_refactoring | 4,474 | false | 2026-07-17 |
//
// XsltCompileExceptionTests.cs
// - Unit tests for System.Xml.Xsl.XsltCompileException
//
// Author:
// Gert Driesen <drieseng@users.sourceforge.net>
//
// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software a... | matthid/Yaaf.Xmpp.Runtime | src/source/System.XML/Test/System.Xml.Xsl/XsltCompileExceptionTests.cs | https://github.com/matthid/Yaaf.Xmpp.Runtime/blob/HEAD/src/source/System.XML/Test/System.Xml.Xsl/XsltCompileExceptionTests.cs | ghcode:00005:f9674ae4f791 | apache-2.0 | codeparrot/github-code | f9674ae4f791c88e18fd988c1be60a66350ad4db8a3fcbb49b045608659c96c5 | 0.95 | testing_debugging_repair_refactoring | 3,135 | false | 2026-07-17 |
/* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice, ... | cheng--zhang/xenadmin | XenModel/XenAPI-Extensions/VM.cs | https://github.com/cheng--zhang/xenadmin/blob/HEAD/XenModel/XenAPI-Extensions/VM.cs | ghcode:00005:350ecfac4306 | bsd-2-clause | codeparrot/github-code | 350ecfac4306fec126ed8968ca436146fe73afd673ded0f2b03caaec86b5d059 | 0.65 | testing_debugging_repair_refactoring | 13,265 | 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.IO;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Platform;
using osu.Game.Rulesets;
using osu.Game.Tests;
namespace osu.Game.T... | UselessToucan/osu | osu.Game.Tournament.Tests/NonVisual/DataLoadTest.cs | https://github.com/UselessToucan/osu/blob/HEAD/osu.Game.Tournament.Tests/NonVisual/DataLoadTest.cs | ghcode:00005:d56d4b581e13 | mit | codeparrot/github-code | d56d4b581e13f719c42c1249845b212f5e6dc98efbe2d2ffdb3e065f50ee0f05 | 0.85 | testing_debugging_repair_refactoring | 259 | 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.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Roslyn.Utilities;
using System.Collections.Generic;
using Syst... | TyOverby/roslyn | src/Compilers/CSharp/Portable/Binder/Binder_Patterns.cs | https://github.com/TyOverby/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/Binder_Patterns.cs | ghcode:00005:ef2fcfb98afe | apache-2.0 | codeparrot/github-code | ef2fcfb98afe06da2a10e40d2e21f2380d23c7ef2c5c3d77b5095ccd4dd4923b | 0.7 | testing_debugging_repair_refactoring | 2,638 | false | 2026-07-17 |
using System.Linq;
using Cassette.BundleProcessing;
using Cassette.TinyIoC;
using Moq;
using Should;
using Xunit;
namespace Cassette.Stylesheets
{
public class StylesheetBundleExtensions_Tests
{
readonly StylesheetPipeline pipeline;
readonly StylesheetBundle bundle;
publ... | andrewdavey/cassette | src/Cassette.UnitTests/Stylesheets/StylesheetBundleExtensions.cs | https://github.com/andrewdavey/cassette/blob/HEAD/src/Cassette.UnitTests/Stylesheets/StylesheetBundleExtensions.cs | ghcode:00005:124e96158941 | mit | codeparrot/github-code | 124e961589414e826f6478fa6f0b2b096b428b5c4058b834b2a990708a976122 | 0.6 | testing_debugging_repair_refactoring | 375 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
usi... | bartdesmet/roslyn | src/VisualStudio/Core/Def/Preview/TopLevelChange.cs | https://github.com/bartdesmet/roslyn/blob/HEAD/src/VisualStudio/Core/Def/Preview/TopLevelChange.cs | ghcode:00005:fc3eb976171e | mit | codeparrot/github-code | fc3eb976171e880e7439147769ffae0752dc4bf5721ab794bdbccf7e74e22d09 | 0.7 | testing_debugging_repair_refactoring | 1,510 | 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.Text.RegularExpressions;
namespace Roslyn.Test.Utilities
{
public static class RegexExtensions
{
... | DavidKarlas/roslyn | src/Test/Utilities/RegexExtensions.cs | https://github.com/DavidKarlas/roslyn/blob/HEAD/src/Test/Utilities/RegexExtensions.cs | ghcode:00005:b914be6155f6 | apache-2.0 | codeparrot/github-code | b914be6155f6b37bcc5bbd70d96898638f85cbf1e7daf79ebb30cf7dd70928f0 | 0.85 | testing_debugging_repair_refactoring | 100 | 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.IO;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
usi... | lukedgr/nodejstools | Common/Tests/Utilities/Classification.cs | https://github.com/lukedgr/nodejstools/blob/HEAD/Common/Tests/Utilities/Classification.cs | ghcode:00005:f24f7ed07ac8 | apache-2.0 | codeparrot/github-code | f24f7ed07ac8cb6ba6dda3a738056c2f85d34b430fc25bfe6499da872710bde0 | 0.85 | testing_debugging_repair_refactoring | 685 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols.Retargeting;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.... | mono/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/StructsTests.cs | https://github.com/mono/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/StructsTests.cs | ghcode:00005:f31af37e2384 | apache-2.0 | codeparrot/github-code | f31af37e2384788d3feb47ab409a21946f1aca30046bee8fbb8376ae2c2d166e | 0.95 | testing_debugging_repair_refactoring | 4,270 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | vadopolski/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Linq/CacheLinqTest.Custom.cs | https://github.com/vadopolski/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/Linq/CacheLinqTest.Custom.cs | ghcode:00005:a28cbd35ea07 | apache-2.0 | codeparrot/github-code | a28cbd35ea075b17f88f0a26d3e9620c864296d985899e32bbec2b42dd0173fe | 0.7 | testing_debugging_repair_refactoring | 933 | 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... | mlorbetske/azure-sdk-tools | WindowsAzurePowershell/src/Management.Test.Utilities/Websites/WebsitesTestBase.cs | https://github.com/mlorbetske/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.Test.Utilities/Websites/WebsitesTestBase.cs | ghcode:00005:a74dcc43ea56 | apache-2.0 | codeparrot/github-code | a74dcc43ea56f05277aff6eaf04214c1a86eeca90f86124e30116ea8426021a5 | 0.95 | testing_debugging_repair_refactoring | 353 | 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... | AzureAutomationTeam/azure-powershell | src/ResourceManager/Reservations/Commands.Reservations.Test/ScenarioTests/ReservationOrderTests.cs | https://github.com/AzureAutomationTeam/azure-powershell/blob/HEAD/src/ResourceManager/Reservations/Commands.Reservations.Test/ScenarioTests/ReservationOrderTests.cs | ghcode:00005:160bebd81644 | apache-2.0 | codeparrot/github-code | 160bebd816444b86e4a23a3eda2740a78d9a46b75f4690fbcd0d549a0fc69cb8 | 0.85 | testing_debugging_repair_refactoring | 360 | 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;
using System.Diagnostics.CodeAnalysis;
using System.Diag... | tijoytom/corefx | src/System.Net.Http/src/System/Net/Http/MultipartContent.cs | https://github.com/tijoytom/corefx/blob/HEAD/src/System.Net.Http/src/System/Net/Http/MultipartContent.cs | ghcode:00005:8afe6de694d2 | mit | codeparrot/github-code | 8afe6de694d226f3a44f5066ee14fbd7488f40205b6fe6dc4d4a930e909c7358 | 0.8 | testing_debugging_repair_refactoring | 3,507 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ProjectedWrapper.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/Service/Microsoft/OData/Service/Internal/ProjectedWrapper.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Service/Microsoft/OData/Service/Internal/ProjectedWrapper.cs | ghcode:00005:a58fae3aa1a4 | mit | codeparrot/github-code | a58fae3aa1a477ea070a0e17df844668182cff20b1c2bd61c9ef3f836733aede | 0.85 | testing_debugging_repair_refactoring | 8,784 | 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... | antonba/azure-sdk-tools | WindowsAzurePowershell/src/Management.Test/CloudService/Development/Scaffolding/AddAzurePHPWebRoleTests.cs | https://github.com/antonba/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.Test/CloudService/Development/Scaffolding/AddAzurePHPWebRoleTests.cs | ghcode:00005:db0d957a4dc8 | apache-2.0 | codeparrot/github-code | db0d957a4dc86a008cfb2d806e237f4ddb877c7a0ef55f52cd52f71d1d845384 | 0.95 | testing_debugging_repair_refactoring | 744 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ProtectImports_Tests.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <summary>Tests for protecting imported files while editing</summary>
//-----------------------... | MetSystem/msbuild | src/XMakeBuildEngine/UnitTestsPublicOM/Definition/ProtectImports_Tests.cs | https://github.com/MetSystem/msbuild/blob/HEAD/src/XMakeBuildEngine/UnitTestsPublicOM/Definition/ProtectImports_Tests.cs | ghcode:00005:37c46e732ac3 | mit | codeparrot/github-code | 37c46e732ac397e89fdb7d535678aee57e50305db400dc8b4b00133fae5a9158 | 0.85 | testing_debugging_repair_refactoring | 4,365 | 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.Editor.UnitTests.Diagnostics;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
namespace... | OmarTawfik/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/Suppression/SuppressionTest_FixAllTests.cs | https://github.com/OmarTawfik/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/Suppression/SuppressionTest_FixAllTests.cs | ghcode:00005:bfe5a4ee4600 | apache-2.0 | codeparrot/github-code | bfe5a4ee4600a47ff3151aac06a077baa54cc563f7f33e3a4413846512b3021b | 0.85 | testing_debugging_repair_refactoring | 4,168 | false | 2026-07-17 |
using System.Reflection;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
using System.Collections.Generic;
namespace Nest.Tests.Unit.Search.Query.Singles.GeoShape
{
[TestFixture]
public class GeoShapeEnvelopeJson : BaseJsonTests
{
[Test]
public void GeoShapeEnvelope()
{
var s = new SearchDescript... | SeanKilleen/elasticsearch-net | src/Tests/Nest.Tests.Unit/Search/Query/Singles/GeoShape/GeoShapeEnvelopeJson.cs | https://github.com/SeanKilleen/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Unit/Search/Query/Singles/GeoShape/GeoShapeEnvelopeJson.cs | ghcode:00005:6572cd5eddd9 | apache-2.0 | codeparrot/github-code | 6572cd5eddd972b97bff3d770b3190a994032b404ffdafce52bf732a3fd30f78 | 0.85 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
using Xunit;
namespace Jint.Tests.Ecma
{
public class Test_15_9_5_29 : EcmaTest
{
[Fact]
[Trait("Category", "15.9.5.29")]
public void TheDatePrototypePropertySetutcmillisecondsHasDontenumAttributes()
{
RunTest(@"TestCases/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T1.js", false... | mgentile/jint | Jint.Tests.Ecma/Ecma/15.9.5.29.cs | https://github.com/mgentile/jint/blob/HEAD/Jint.Tests.Ecma/Ecma/15.9.5.29.cs | ghcode:00005:fe8ea98da873 | bsd-2-clause | codeparrot/github-code | fe8ea98da873ba779a293ae170db8da3340780624d587074f904a9f6a15d1b68 | 0.68 | testing_debugging_repair_refactoring | 693 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Elasticsearch.Net;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
using FluentAssertions;
namespace Nest.Tests.Integration.Reproduce
{
[TestFixture]
public class Reproduce643Tests : IntegrationTests
{
/// <summary>
/// https://... | Grastveit/NEST | src/Tests/Nest.Tests.Integration/Reproduce/Reproduce643Tests.cs | https://github.com/Grastveit/NEST/blob/HEAD/src/Tests/Nest.Tests.Integration/Reproduce/Reproduce643Tests.cs | ghcode:00005:fb4304fd49a0 | apache-2.0 | codeparrot/github-code | fb4304fd49a032a38230d87444b1f12d158f0bd210be5d880eca162fb6d631a1 | 0.95 | testing_debugging_repair_refactoring | 233 | 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.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// BlockingCollection.c... | shimingsg/corefx | src/System.Collections.Concurrent/src/System/Collections/Concurrent/BlockingCollection.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Collections.Concurrent/src/System/Collections/Concurrent/BlockingCollection.cs | ghcode:00005:64722c597cac | mit | codeparrot/github-code | 64722c597cac095518ad554b02fa8835a8e2f1cf29b2a3acc8545648847b3fb9 | 0.82 | testing_debugging_repair_refactoring | 19,985 | 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;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Reflecti... | MattWindsor91/roslyn | src/Compilers/Core/Portable/TreeDumper.cs | https://github.com/MattWindsor91/roslyn/blob/HEAD/src/Compilers/Core/Portable/TreeDumper.cs | ghcode:00005:7a1dcf4432b4 | apache-2.0 | codeparrot/github-code | 7a1dcf4432b4adad51c8970c331e8ec87f21b9f4ef6b8cc14fc1c1172c3ffc67 | 0.7 | testing_debugging_repair_refactoring | 1,690 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Threading;
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class Typ... | vs-team/corefx | src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDeclaringType.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDeclaringType.cs | ghcode:00005:067bdba62f67 | mit | codeparrot/github-code | 067bdba62f67724770713b3db2a76ce6d9fbfa7ddbc75ad630c94e2c6393b964 | 0.85 | testing_debugging_repair_refactoring | 271 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using Xunit;
public class SetOut
{
[Fact]
public static void SetOutThrowsOnNull()
{
TextWriter savedOut = Console.Ou... | vs-team/corefx | src/System.Console/tests/SetOut.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Console/tests/SetOut.cs | ghcode:00005:fc80737e6f7e | mit | codeparrot/github-code | fc80737e6f7e3d53a642c2cd8da08997bbf499265fc3b15ecd666c17707bdbd7 | 0.85 | testing_debugging_repair_refactoring | 191 | 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.Tests
{
public class ConvertToBase64CharArrayTests
{
[Fact]
p... | nbarbettini/corefx | src/System.Runtime.Extensions/tests/System/Convert.ToBase64CharArray.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Runtime.Extensions/tests/System/Convert.ToBase64CharArray.cs | ghcode:00005:3977d448d147 | mit | codeparrot/github-code | 3977d448d1478ef3d089ac0fd61724b7ae44fc533ab7aabf809e15a6d9dae098 | 0.95 | testing_debugging_repair_refactoring | 1,004 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Xunit;
namespace System.D... | nbarbettini/corefx | src/System.Linq.Expressions/tests/Dynamic/BindingRestrictionsTests.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Linq.Expressions/tests/Dynamic/BindingRestrictionsTests.cs | ghcode:00005:bcd95afbb20c | mit | codeparrot/github-code | bcd95afbb20cb16f6e3a42705354066c28b04d4c65f64c999f0805046a3639b8 | 0.95 | testing_debugging_repair_refactoring | 2,397 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class ThaiBuddhist... | krytarowski/corefx | src/System.Globalization.Calendars/tests/ThaiBuddhistCalendar/ThaiBuddhistCalendarAddYears.cs | https://github.com/krytarowski/corefx/blob/HEAD/src/System.Globalization.Calendars/tests/ThaiBuddhistCalendar/ThaiBuddhistCalendarAddYears.cs | ghcode:00005:488028c5c5c6 | mit | codeparrot/github-code | 488028c5c5c6b0a676a7887a399c585fce8fcee6038fb936f1d3ae03982c41ec | 0.95 | testing_debugging_repair_refactoring | 339 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
usin... | iamjasonp/corefx | src/System.Threading.Tasks.Dataflow/src/Internal/Threading.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Threading.Tasks.Dataflow/src/Internal/Threading.cs | ghcode:00005:fd8d60b9b87d | mit | codeparrot/github-code | fd8d60b9b87d785dbc96af62f97d2a263c23dc56f4f0d1d41a6fdd6573697c4a | 0.95 | testing_debugging_repair_refactoring | 342 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using sama.Extensions;
using sama.Models;
using System;
using System.Collections.Generic;
namespace TestSama.Extensions
{
[TestClass]
public class EndpointConversionExtensionsTests
{
[TestMethod]
public void ShouldConvertHttpEndpointToVie... | sep/sama | unit-tests/Extensions/EndpointConversionExtensionsTests.cs | https://github.com/sep/sama/blob/HEAD/unit-tests/Extensions/EndpointConversionExtensionsTests.cs | ghcode:00005:275d27aff1ba | isc | codeparrot/github-code | 275d27aff1ba33b73189f5cdd24ade3497ca3cd9c5725324b3434ca91ba69c51 | 0.75 | testing_debugging_repair_refactoring | 1,051 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="GenericApiValidator.cs" company="ShareKnowledge">
// Copyright (c) ShareKnowledge. All rights reserved.
// </copyright>
// <author>Alejandro Perdomo</author>
//-------------------------------------------------------------... | Kathooloo/DesignPatternForTesters | csharp/Testing.FacadePattern/Testing.FacadePattern/Validation/GenericApiValidator.cs | https://github.com/Kathooloo/DesignPatternForTesters/blob/HEAD/csharp/Testing.FacadePattern/Testing.FacadePattern/Validation/GenericApiValidator.cs | ghcode:00005:31efc9030e08 | mit | codeparrot/github-code | 31efc9030e0898f4db6a7f1cfc366798ee8411aaa8d1dfc7ccdba10903ec70eb | 0.7 | testing_debugging_repair_refactoring | 199 | false | 2026-07-17 |
using CharacterGen.Abilities;
using CharacterGen.Domain.Tables;
using CharacterGen.Races;
using NUnit.Framework;
namespace CharacterGen.Tests.Integration.Tables.Abilities.Races
{
[TestFixture]
public class DerroAbilityAdjustmentsTests : AdjustmentsTests
{
protected override string tableName
... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/Abilities/Races/DerroAbilityAdjustmentsTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/Abilities/Races/DerroAbilityAdjustmentsTests.cs | ghcode:00005:6dff5d710b05 | mit | codeparrot/github-code | 6dff5d710b05fe4a1b6bdf643b8311dbefd0140fc15bb60ddcf23bf1351890e3 | 0.75 | testing_debugging_repair_refactoring | 248 | false | 2026-07-17 |
using System.Collections.Generic;
using Cake.Common.Tests.Fixtures.Tools;
using Cake.Common.Tools.Fixie;
using Cake.Core;
using Cake.Core.IO;
using NSubstitute;
using Xunit;
namespace Cake.Common.Tests.Unit.Tools.Fixie
{
public sealed class FixieRunnerTests
{
public sealed class TheRunMethod
{
... | Invenietis/cake | src/Cake.Common.Tests/Unit/Tools/Fixie/FixieRunnerTests.cs | https://github.com/Invenietis/cake/blob/HEAD/src/Cake.Common.Tests/Unit/Tools/Fixie/FixieRunnerTests.cs | ghcode:00005:1a5dd3f90a4b | mit | codeparrot/github-code | 1a5dd3f90a4beb7dcd298a2df3020f07bd9fcebe5c31ae851c08dd266b976949 | 0.85 | testing_debugging_repair_refactoring | 1,799 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrightcoveMapiWrapper.Api;
using BrightcoveMapiWrapper.Model.Containers;
using BrightcoveMapiWrapper.Model.Items;
using NUnit.Framework;
namespace BrightcoveOS.NET_MAPI_Wrapper.Tests.IntegrationTests.AudioTrackWrite
{
public ... | EMPIR/brightcove | tests/BrightcoveOS .NET-MAPI-Wrapper.Tests/IntegrationTests/AudioTrackWrite/AudioTrackWriteTestBase.cs | https://github.com/EMPIR/brightcove/blob/HEAD/tests/BrightcoveOS .NET-MAPI-Wrapper.Tests/IntegrationTests/AudioTrackWrite/AudioTrackWriteTestBase.cs | ghcode:00005:13b37a0d15c7 | mit | codeparrot/github-code | 13b37a0d15c75bdf799b0b52ccb2fff26131e71a56ca12259fbe5e43f68c28be | 0.7 | testing_debugging_repair_refactoring | 296 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using OpenTK;
namespace COG.Graphics
{
//public class FrustumPlane
//{
// private float m_a, m_b, m_c, m_d;
// public FrustumPlane() { }
// public FrustumPlane(float a, float ... | xposure/COG | Source/OpenTK/COG.Graphics/Frustum.cs | https://github.com/xposure/COG/blob/HEAD/Source/OpenTK/COG.Graphics/Frustum.cs | ghcode:00005:6fecf55fedfa | mit | codeparrot/github-code | 6fecf55fedfa2eb650560a2ef25f4d02013f8aae6e5ed3104dc3f47d9e451666 | 0.57 | testing_debugging_repair_refactoring | 16,614 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using Xunit;
using SimMetrics.Net.Metric;
namespace SimMetrics.Net.Tests.SimilarityClasses.LengthBased
{
// [TestFixture]
public sealed class ChapmanMeanLengthUnitTests
{
#region Test Data Setup
struct TestRecord
... | StefH/SimMetrics.Net | tests/SimMetrics.Net.Tests/SimilarityClasses/LengthBased/ChapmanMeanLengthUnitTests.cs | https://github.com/StefH/SimMetrics.Net/blob/HEAD/tests/SimMetrics.Net.Tests/SimilarityClasses/LengthBased/ChapmanMeanLengthUnitTests.cs | ghcode:00005:ff516d6695e1 | mit | codeparrot/github-code | ff516d6695e131f40d819384893a8af58721687dd0fcb9508aa37c6a37dd833f | 0.85 | testing_debugging_repair_refactoring | 551 | false | 2026-07-17 |
using FeatureBee.GodMode;
using FeatureBee.WireUp;
using FluentAssertions;
using Machine.Fakes;
using Machine.Specifications;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FeatureBee.Acceptance.Units.HttpHandlerRouting.GodMode
{
class... | AutoScout24/FeatureBee | FeatureBee.Client.Acceptance/Units/HttpHandlerRouting/GodMode/GodModeParseSpecs.cs | https://github.com/AutoScout24/FeatureBee/blob/HEAD/FeatureBee.Client.Acceptance/Units/HttpHandlerRouting/GodMode/GodModeParseSpecs.cs | ghcode:00005:dc8199b1f34f | mit | codeparrot/github-code | dc8199b1f34fd344824ff77d0848bfaac924ee01ea1df889f60b52dc01af6a98 | 0.6 | testing_debugging_repair_refactoring | 488 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Dolkens.Framework.UnitTests.Utilities
{
[TestClass]
public class CryptoUtilitiesTests
{
[TestMethod]
[TestCategory(nameof(Dolkens.Framework.Utilities.CryptoUtilities))]
public void ToHex()
{
... | dolkensp/Dolkens.Framework | Dolkens.Framework.UnitTests/Utilities/CryptoUtilitiesTests.cs | https://github.com/dolkensp/Dolkens.Framework/blob/HEAD/Dolkens.Framework.UnitTests/Utilities/CryptoUtilitiesTests.cs | ghcode:00005:a5e5f579bd4a | mit | codeparrot/github-code | a5e5f579bd4ab1ac782d54895d3c7243eb1d56f737e83366964e6bfca2e3c9fc | 0.75 | testing_debugging_repair_refactoring | 238 | 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 Internal.IL;
using Internal.IL.Stubs;
using Internal.TypeSystem;
using Debug = System.Diagnostics.Debug;
pub... | manu-silicon/corert | src/Common/src/TypeSystem/IL/Stubs/DelegateMethodILEmitter.cs | https://github.com/manu-silicon/corert/blob/HEAD/src/Common/src/TypeSystem/IL/Stubs/DelegateMethodILEmitter.cs | ghcode:00005:1b312107414a | mit | codeparrot/github-code | 1b312107414ac4bb1f4c7fb0b2c1de8360e6529a45370214dec97d57c11eef14 | 0.8 | testing_debugging_repair_refactoring | 456 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using ServiceRegister.Api.Organization;
using ServiceRegister.Application.Localization;
using ServiceRegister.Application.Organization;
using ServiceRegister.Common;
namespace Serv... | City-of-Helsinki/palvelutietovaranto | Source/Api.Tests/Organization/OrganizationNameMapperTests.cs | https://github.com/City-of-Helsinki/palvelutietovaranto/blob/HEAD/Source/Api.Tests/Organization/OrganizationNameMapperTests.cs | ghcode:00005:0129305204e9 | mit | codeparrot/github-code | 0129305204e9d55127bb66a36f1826d1c20b6b96e6614710d833a737328c41fc | 0.75 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
// Copyright (c) 2017 Trevor Redfern
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
namespace Tests.Actions.CharacterGeneration
{
using Moq;
using Xunit;
using SilverNeedle.Actions.CharacterGeneration;
using SilverNeedle.Characters;
using SilverNeedle... | shortlegstudio/silverneedle-web | silverneedle-tests/Actions/CharacterGeneration/DesignerExecuterStepTests.cs | https://github.com/shortlegstudio/silverneedle-web/blob/HEAD/silverneedle-tests/Actions/CharacterGeneration/DesignerExecuterStepTests.cs | ghcode:00005:49eccf8a1054 | mit | codeparrot/github-code | 49eccf8a1054e46edf2aee284123d3324fff03dab7a2b61b8961ae9ba6432dc1 | 0.85 | testing_debugging_repair_refactoring | 212 | 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 UnityEngine;
#if UNITY_WSA
using UnityEngine.XR.WSA.Input;
using System.Collections.Generic;
#endif
namespace HoloToolkit.Unity.InputModule
{
/// <summar... | out-of-pixel/HoloToolkit-Unity | Assets/HoloToolkit/Input/Scripts/InputSources/InteractionInputSource.cs | https://github.com/out-of-pixel/HoloToolkit-Unity/blob/HEAD/Assets/HoloToolkit/Input/Scripts/InputSources/InteractionInputSource.cs | ghcode:00005:77320c54d905 | mit | codeparrot/github-code | 77320c54d905d7fb6ed3e67dee0afe42872138217b2c7a72b73dcd128b06c25d | 0.7 | testing_debugging_repair_refactoring | 6,288 | false | 2026-07-17 |
using NUnit.Framework;
using Moq;
using System.Reflection;
using Underscore.Object;
using Underscore.Object.Reflection;
namespace Underscore.Test.Object.Transformation
{
[TestFixture]
public class TransposeTest
{
public class Person
{
public string FirstName { get; set; }
public string LastName { get; s... | konkked/Underscore.cs | Underscore.Test/Object/Transformation/TransposeTest.cs | https://github.com/konkked/Underscore.cs/blob/HEAD/Underscore.Test/Object/Transformation/TransposeTest.cs | ghcode:00005:26bffb4d564b | mit | codeparrot/github-code | 26bffb4d564bf0f17ace50138e9a48dfdf0f3e4cbfa214cc35e5206b6c057127 | 0.6 | testing_debugging_repair_refactoring | 1,680 | false | 2026-07-17 |
using System;
namespace _01.SchoolClasses
{
class Test
{
static void Main()
{
// Even with empty constructors so defined class functionalitites can be tested
var newSchoolClass = new SchoolClass();
Console.WriteLine(newSchoolClass);
var newStudent = new Student();
Console.WriteLine(... | Stev3nT/Telerik-Academy | 03. C# OOP/04. OOPPrinciplesPartOne/01. SchoolClasses/Test.cs | https://github.com/Stev3nT/Telerik-Academy/blob/HEAD/03. C# OOP/04. OOPPrinciplesPartOne/01. SchoolClasses/Test.cs | ghcode:00005:2aa372c03b6f | mit | codeparrot/github-code | 2aa372c03b6f5f40c513de324da2650fe10690ad0dc91ebfb37e79beb9189a92 | 0.75 | testing_debugging_repair_refactoring | 93 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FluentAssertions;
using P3Net.Kraken.Collections;
using P3Net.Kraken.UnitTesting;
namespace Tests.P3Net.Kraken.Collections
{
[TestClass]
public partial class ObjectDictionaryExtensionsTests : UnitTest
... | CoolDadTx/kraken | Tests/Tests.P3Net.Kraken/Collections/ObjectDictionaryExtensionsTests.cs | https://github.com/CoolDadTx/kraken/blob/HEAD/Tests/Tests.P3Net.Kraken/Collections/ObjectDictionaryExtensionsTests.cs | ghcode:00005:14a3eaed2e33 | mit | codeparrot/github-code | 14a3eaed2e3304b1b35ad9d850a5dde0200c61a38098468558fb6acb9c3fdd03 | 0.75 | testing_debugging_repair_refactoring | 68 | false | 2026-07-17 |
using FreeEverything;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FreeEverythingTest
{
[TestClass]
public class FilterTest
{
[TestMethod]
public void ShouldSkipReturenFalseIfEmpty()
{
Filter filter = new Filter();
Assert.IsFalse(filter.Shou... | fresky/FreeEverything | FreeEverythingTest/FilterTest.cs | https://github.com/fresky/FreeEverything/blob/HEAD/FreeEverythingTest/FilterTest.cs | ghcode:00005:729e01def26f | mit | codeparrot/github-code | 729e01def26f5cb0c033cd8237103c8ecfab94de50a0e360d0d9485a573b32f9 | 0.6 | testing_debugging_repair_refactoring | 473 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2016, 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... | cubeme/ssharp | Tests/End2End/Tests/compilation error.cs | https://github.com/cubeme/ssharp/blob/HEAD/Tests/End2End/Tests/compilation error.cs | ghcode:00005:c335cdeb8663 | mit | codeparrot/github-code | c335cdeb86630ae0ed032db49a769a2484e3cb198b52880cfea4a1f0320962da | 0.95 | testing_debugging_repair_refactoring | 342 | false | 2026-07-17 |
using System;
using Dot.Net.DevFast.Collections;
using Dot.Net.DevFast.Etc;
using NUnit.Framework;
namespace Dot.Net.DevFast.Tests.Collections
{
[TestFixture]
public class MinMaxHeapsTest
{
[Test]
[TestCase(-1)]
[TestCase(int.MinValue)]
public void MinHeap_Ctor_Throws_Error... | samaysar/dotdotnet | Dot.Net.DevFast/src/Dot.Net.DevFast.Tests/Collections/MinMaxHeapsTest.cs | https://github.com/samaysar/dotdotnet/blob/HEAD/Dot.Net.DevFast/src/Dot.Net.DevFast.Tests/Collections/MinMaxHeapsTest.cs | ghcode:00005:9f17b29ca9dc | mit | codeparrot/github-code | 9f17b29ca9dce97f00386e738c6a7efea0a6f5df8a6b4c1843dd25bf3371f864 | 0.7 | testing_debugging_repair_refactoring | 899 | false | 2026-07-17 |
namespace Schema.NET.Test.Examples;
using System;
using Xunit;
// https://developers.google.com/search/docs/data-types/local-businesses
public class RestaurantTest
{
private readonly Restaurant restaurant = new()
{
Id = new Uri("https://davessteakhouse.example.com"),
Name = "Dave's Steak House... | RehanSaeed/Schema.NET | Tests/Schema.NET.Test/Examples/RestaurantTest.cs | https://github.com/RehanSaeed/Schema.NET/blob/HEAD/Tests/Schema.NET.Test/Examples/RestaurantTest.cs | ghcode:00005:d72491af4356 | mit | codeparrot/github-code | d72491af435693399512762b344e6e47ed6257c697426bb5efdc5d60a3b2f0ad | 0.7 | testing_debugging_repair_refactoring | 1,150 | false | 2026-07-17 |
namespace BitArray
{
using System;
class TestArray
{
static void Main(string[] args)
{
BitArray arr = new BitArray(1111u);
BitArray arr2 = new BitArray(33333u);
Console.WriteLine(arr);
arr[1] = 0;
Console.WriteLine(arr);
... | Andro0/TelerikAcademy | OOP/06.HomeworkCommonTypeSystem/BitArray/TestArray.cs | https://github.com/Andro0/TelerikAcademy/blob/HEAD/OOP/06.HomeworkCommonTypeSystem/BitArray/TestArray.cs | ghcode:00005:abf8c83b0f5a | mit | codeparrot/github-code | abf8c83b0f5a8b66ab56d5ecb9d5f8624b0dd71b2bfda4221dceaffa1b24cabd | 0.75 | testing_debugging_repair_refactoring | 106 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp10.OrderingRules
{
using StyleCop.Analyzers.Test.CSharp9.OrderingRules;
public class SA... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1207CSharp10UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/OrderingRules/SA1207CSharp10UnitTests.cs | ghcode:00005:72724d8671b2 | mit | codeparrot/github-code | 72724d8671b2fd10e11e8c050c09e0c845d7ff4e061bce5e72637a70a776cda8 | 0.75 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Test
{
public class ExceptConcatReverseTests
{
//
// ... | FiveTimesTheFun/corefx | src/System.Linq.Parallel/tests/ExceptConcatReverseTests.cs | https://github.com/FiveTimesTheFun/corefx/blob/HEAD/src/System.Linq.Parallel/tests/ExceptConcatReverseTests.cs | ghcode:00005:8701a54c0963 | mit | codeparrot/github-code | 8701a54c09638106148ab444856f0e5669a6df1d90b6ae6f030a5110073dbb1b | 0.95 | testing_debugging_repair_refactoring | 2,282 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Autofac;
using DatenMeister.Core.EMOF.Interface.Reflection;
using DatenMeister.Core.Helper;
using DatenMeister.Core.Models;
using DatenMeister.Core.Provider;
using DatenMeister.Core.Provider.InMemory;
usi... | mbrenn/datenmeister-new | src/Tests/DatenMeister.Tests/Excel/ExcelTests.cs | https://github.com/mbrenn/datenmeister-new/blob/HEAD/src/Tests/DatenMeister.Tests/Excel/ExcelTests.cs | ghcode:00005:0b89eefad5a3 | mit | codeparrot/github-code | 0b89eefad5a349d788a87bbc883acbf59d72c52e416749fe0d6801f005685dfe | 0.95 | testing_debugging_repair_refactoring | 2,123 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Newtonsoft.Json.Linq;
using Obacher.RandomOrgSharp.Core;
using Obacher.RandomOrgSharp.Core.Parameter;
using Obacher.RandomOrgSharp.Core.Response;
using Obacher.R... | gsteinbacher/RandomOrgSharp | Obacher.RandomOrgSharp.JsonRPC.UnitTest/Response/GenericResponseParserTest.cs | https://github.com/gsteinbacher/RandomOrgSharp/blob/HEAD/Obacher.RandomOrgSharp.JsonRPC.UnitTest/Response/GenericResponseParserTest.cs | ghcode:00005:cfd5a4ef0a03 | mit | codeparrot/github-code | cfd5a4ef0a03dc80838fdf03d81a3b010d6ca025428abaf6ccea32156f432633 | 0.7 | testing_debugging_repair_refactoring | 1,427 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.DotNet.Cli.Utils;
using Microsoft.DotNet.PlatformAbstractions;
using System.IO;
using System.Linq;
using Xunit.Abstractions;
nam... | nkolev92/sdk | test/Microsoft.NET.TestFramework/Commands/ComposeStoreCommand.cs | https://github.com/nkolev92/sdk/blob/HEAD/test/Microsoft.NET.TestFramework/Commands/ComposeStoreCommand.cs | ghcode:00005:2b9b00b13853 | mit | codeparrot/github-code | 2b9b00b1385355e84149e21f6e8a23165031b3ebd778f02d1fa95237de04a5ef | 0.6 | testing_debugging_repair_refactoring | 330 | false | 2026-07-17 |
using System.Collections.Generic;
using Entitas.Serialization;
using NSpec;
class describe_Properties : nspec {
void assertProperties(string input, string expectedOutput, Dictionary<string, string>expectedProperties) {
var p = new Properties(input);
var expectedCount = expectedProperties != null ... | vkuskov/Entitas-CSharp | Tests/Tests/Entitas/Serialization/describe_Properties.cs | https://github.com/vkuskov/Entitas-CSharp/blob/HEAD/Tests/Tests/Entitas/Serialization/describe_Properties.cs | ghcode:00005:7547c82cf479 | mit | codeparrot/github-code | 7547c82cf479168890c9c1f15aec37f90cbfa5d9c7c3f1316d78501f29d972fc | 0.85 | testing_debugging_repair_refactoring | 2,564 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConfigLoader.UnitTests
{
[TestFixture]
public class JsonTests
{
[Test]
public void CanLoadFromFile()
{
// lets get the co... | webcanvas/ConfigLoader | ConfigLoader.UnitTests/JsonTests.cs | https://github.com/webcanvas/ConfigLoader/blob/HEAD/ConfigLoader.UnitTests/JsonTests.cs | ghcode:00005:fe06b3283440 | mit | codeparrot/github-code | fe06b32834405d33cdd9628dc6b86c2d530783017c2ef25e648973a69ab7251b | 0.75 | testing_debugging_repair_refactoring | 122 | false | 2026-07-17 |
using RegistrationApp.DataAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace RegistrationApp.Test
{
public partial class EFDataTest
{
private Student LocalStudent;
public bool EFDataInsertTest()
{
... | PeritusVenatus/RevatureTraining | RegistrationApp/RegistrationApp.Test/EFDataInsertTest.cs | https://github.com/PeritusVenatus/RevatureTraining/blob/HEAD/RegistrationApp/RegistrationApp.Test/EFDataInsertTest.cs | ghcode:00005:32790d468d91 | mit | codeparrot/github-code | 32790d468d91df3119a1afce224a40adc420cb912c40412d4b35a4c253e87564 | 0.6 | testing_debugging_repair_refactoring | 170 | false | 2026-07-17 |
using System.Collections.Generic;
using JetBrains.ReSharper.Daemon;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using JetBrains.ReSharper.Psi.Tree;
using MockMetrics.Eating;
namespace MockMetrics.Fake
{
public class FakesElementProcessor : IRecursiveElementProcessor
{
pub... | KozhevnikovDmitry/MockMetrics | MockMetrics/MockMetrics.Fake/FakesElementProcessor.cs | https://github.com/KozhevnikovDmitry/MockMetrics/blob/HEAD/MockMetrics/MockMetrics.Fake/FakesElementProcessor.cs | ghcode:00005:1a5d10904139 | mit | codeparrot/github-code | 1a5d109041392f55b254aa1616773739217fe3b54f0b52af81b3b2cac86fa582 | 0.75 | testing_debugging_repair_refactoring | 399 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FB2SMV.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ModuleVariablesTest
{
[TestClass]
public class UnitTest1
{
ShowMessageDelegate del = delegate(string message) { };
Settings s = new Settings();
[TestMet... | dmitrydrozdov/fb2smv | tests/ModuleVariablesTest/UnitTest1.cs | https://github.com/dmitrydrozdov/fb2smv/blob/HEAD/tests/ModuleVariablesTest/UnitTest1.cs | ghcode:00005:1ccfd3033712 | mit | codeparrot/github-code | 1ccfd3033712206871cddf6eb0f120c8415365ba90c15c0dd23421e91849b1e4 | 0.6 | testing_debugging_repair_refactoring | 216 | 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 Cake.Common.Tests.Fixtures.Tools.DotNetCore.Test;
using Cake.Core;
using Cake.Testing;
using Xunit;
namespac... | patriksvensson/cake | src/Cake.Common.Tests/Unit/Tools/DotNetCore/Test/DotNetCoreTesterTests.cs | https://github.com/patriksvensson/cake/blob/HEAD/src/Cake.Common.Tests/Unit/Tools/DotNetCore/Test/DotNetCoreTesterTests.cs | ghcode:00005:b9fda9a31710 | mit | codeparrot/github-code | b9fda9a3171092e584937141c1fcea079eefca472b3fda60779f8e5ecaa5f47e | 0.95 | testing_debugging_repair_refactoring | 1,225 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Threading.Tasks;
using Azure.ResourceManager.Resources;
using Azure.ResourceManager.Cdn.Models;
using Azure.ResourceManager.Cdn.Tests.Helper;
using Azure.Core.TestFramework;
u... | Azure/azure-sdk-for-net | sdk/cdn/Azure.ResourceManager.Cdn/tests/Scenario/AfdEndpointOperationsTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/cdn/Azure.ResourceManager.Cdn/tests/Scenario/AfdEndpointOperationsTests.cs | ghcode:00005:516efbea9dce | mit | codeparrot/github-code | 516efbea9dcea3ddb99c1fbc19305477b53554c233ae3c278b3cc84e144c228c | 0.95 | testing_debugging_repair_refactoring | 1,100 | false | 2026-07-17 |
using LanguageBasics.Common;
using LanguageBasics.Extensions;
using Xunit;
namespace LanguageBasics
{
public class Interfaces
{
[Fact]
public void should_implement_more_than_one_interface()
{
var duck = new Duck();
var castToMoveable = (IMoveable) du... | WorkSharp/01_NewbieVillage | src/LanguageBasics/07_Interfaces.cs | https://github.com/WorkSharp/01_NewbieVillage/blob/HEAD/src/LanguageBasics/07_Interfaces.cs | ghcode:00005:0b78ffe669a0 | mit | codeparrot/github-code | 0b78ffe669a0e7992cc8598ae635068ec2805025b497daaa22a3197d0d4b72b2 | 0.7 | testing_debugging_repair_refactoring | 389 | false | 2026-07-17 |
using DotCommon.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using Xunit;
namespace DotCommon.Test.Utility
{
public class NetUtilTest
{
[Fact]
public void GetValidPort_Test()
{
var p1 = NetUtil.GetValidPort... | cocosip/DotCommon | test/DotCommon.Test/Utility/NetUtilTest.cs | https://github.com/cocosip/DotCommon/blob/HEAD/test/DotCommon.Test/Utility/NetUtilTest.cs | ghcode:00005:9a611ef8d680 | mit | codeparrot/github-code | 9a611ef8d6803f43cade833c3e736cb24d68655e481efad85e56031387a34a25 | 0.6 | testing_debugging_repair_refactoring | 493 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp9.DocumentationRules
{
using StyleCop.Analyzers.Test.CSharp8.DocumentationRules;
public... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1649CSharp9UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/DocumentationRules/SA1649CSharp9UnitTests.cs | ghcode:00005:a142f93266c9 | mit | codeparrot/github-code | a142f93266c9bf015c5ad79095abb90f491d67e92991a0d97f1c55d35bbf8e2d | 0.75 | testing_debugging_repair_refactoring | 96 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using Merchello.Core;
using Merchello.Core.Models;
using Merchello.Web.Models.ContentEditing;
using NUnit.Framework;
using umbraco.presentation.umbraco.dialogs;
namespace Merchello.Tests.Base.DataMakers
{
using System.Linq;
using Merch... | rasmusjp/Merchello | test/Merchello.Tests.Base/DataMakers/MockProductDataMaker.cs | https://github.com/rasmusjp/Merchello/blob/HEAD/test/Merchello.Tests.Base/DataMakers/MockProductDataMaker.cs | ghcode:00005:4fbf2e71e40f | mit | codeparrot/github-code | 4fbf2e71e40fb8537101cc4768ac881b363255b5cc169c6fa1af3c9aab767d03 | 0.85 | testing_debugging_repair_refactoring | 954 | false | 2026-07-17 |
using System.Diagnostics;
using System.Text;
namespace System.Data.SQLite
{
using sqlite3_int64 = System.Int64;
using i64 = System.Int64;
using sqlite3_uint64 = System.UInt64;
using u32 = System.UInt32;
using System;
internal partial class Sqlite3
{
/*
** 2001 September 15
**
** The author disclaims co... | jcwmoore/athena | Athena.SQLite/src/malloc_c.cs | https://github.com/jcwmoore/athena/blob/HEAD/Athena.SQLite/src/malloc_c.cs | ghcode:00005:1217ee6b7292 | mit | codeparrot/github-code | 1217ee6b7292d8c0b6470e0b1821f7194619ce23219e6a585299f3a431f38ed1 | 0.8 | testing_debugging_repair_refactoring | 9,741 | false | 2026-07-17 |
using System;
using System.Linq;
using Business.Logic.Layer.Helpers.Reflector;
using Business.Logic.Layer.Managers.ServiceBus;
using Business.Objects.Layer.Interfaces.Logging;
using Business.Objects.Layer.Models.TaskRunner;
using Dependency.Resolver.Loaders;
using Gui.Layer.Controllers;
using Gui.Layer.I... | Foxpips/LayeredArchitecture | Tests.Integration/TaskRunnerTests/SqlTaskRunnerTests.cs | https://github.com/Foxpips/LayeredArchitecture/blob/HEAD/Tests.Integration/TaskRunnerTests/SqlTaskRunnerTests.cs | ghcode:00005:c7a120775cc5 | mit | codeparrot/github-code | c7a120775cc50430c28a97208b35a6cff1d506fcffa10370f987f6f95237c73f | 0.75 | testing_debugging_repair_refactoring | 374 | 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.TFS.Test/ProgramTests.cs | https://github.com/SonarSource-DotNet/sonar-msbuild-runner/blob/HEAD/Tests/SonarScanner.MSBuild.TFS.Test/ProgramTests.cs | ghcode:00005:3270d3632795 | mit | codeparrot/github-code | 3270d3632795a78519eecef3906d1f265b7e9c38375f9681141736ea323318c1 | 0.85 | testing_debugging_repair_refactoring | 1,393 | false | 2026-07-17 |
using System.Threading.Tasks;
using Nimbus.Handlers;
using Nimbus.Tests.Common;
using Nimbus.Tests.Common.TestUtilities;
using Nimbus.UnitTests.DependencyResolverTests.AllComponentTypes.MessageContracts;
#pragma warning disable 4014
namespace Nimbus.UnitTests.DependencyResolverTests.AllComponentTypes.Handlers
{
... | KodrAus/Nimbus | src/Tests/Nimbus.UnitTests/DependencyResolverTests/AllComponentTypes/Handlers/BrokerTestCommandHandler.cs | https://github.com/KodrAus/Nimbus/blob/HEAD/src/Tests/Nimbus.UnitTests/DependencyResolverTests/AllComponentTypes/Handlers/BrokerTestCommandHandler.cs | ghcode:00005:c24bdfbe50e6 | mit | codeparrot/github-code | c24bdfbe50e635f41fd454c59316470f574c1d3fe65459d207d41f0cf19e65ec | 0.85 | testing_debugging_repair_refactoring | 112 | false | 2026-07-17 |
using System.Threading.Tasks;
using NServiceBus;
using NServiceBus.AcceptanceTesting;
using NServiceBus.AcceptanceTests;
using NServiceBus.AcceptanceTests.EndpointTemplates;
using NServiceBus.Extensibility;
using NServiceBus.Persistence;
using NServiceBus.Persistence.Sql;
using NServiceBus.Sagas;
using NUnit.Framework... | NServiceBusSqlPersistence/NServiceBus.SqlPersistence | src/MsSqlMicrosoftDataClientAcceptanceTests/When_all_messages_have_finders.cs | https://github.com/NServiceBusSqlPersistence/NServiceBus.SqlPersistence/blob/HEAD/src/MsSqlMicrosoftDataClientAcceptanceTests/When_all_messages_have_finders.cs | ghcode:00005:2ed266ba6dc0 | mit | codeparrot/github-code | 2ed266ba6dc0eb3c1b657564211a78ae6482a7e46ebc2ec0bfe1646601264bd6 | 0.7 | testing_debugging_repair_refactoring | 874 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics;
namespace System.Net.Sockets
{
internal static partial class SocketPal
{
public const bool SupportsMultipleConnectAttempts = ... | pgavlin/corefx | src/System.Net.Sockets/src/System/Net/Sockets/SocketPal.Linux.cs | https://github.com/pgavlin/corefx/blob/HEAD/src/System.Net.Sockets/src/System/Net/Sockets/SocketPal.Linux.cs | ghcode:00005:bc27da509ef1 | mit | codeparrot/github-code | bc27da509ef11534da9f74cd3fca27ba0087c99098fb5308a0773c2b2dfc82ad | 0.8 | testing_debugging_repair_refactoring | 294 | false | 2026-07-17 |
using NUnit.Framework;
using DnDGen.TreasureGen.Coins;
using DnDGen.TreasureGen.Tables;
namespace DnDGen.TreasureGen.Tests.Integration.Tables.Coins
{
[TestFixture]
public class Level9CoinsTests : TypeAndAmountPercentileTests
{
protected override string tableName
{
get { return ... | DnDGen/TreasureGen | DnDGen.TreasureGen.Tests.Integration.Tables/Coins/Level9CoinsTests.cs | https://github.com/DnDGen/TreasureGen/blob/HEAD/DnDGen.TreasureGen.Tests.Integration.Tables/Coins/Level9CoinsTests.cs | ghcode:00005:53d4464c0ec6 | mit | codeparrot/github-code | 53d4464c0ec6429cb71669586d181ad17b5aed9778a240430bc704b79ad71b06 | 0.75 | testing_debugging_repair_refactoring | 346 | false | 2026-07-17 |
// Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the Microsoft Public License (Ms-PL). See LICENSE.txt file in the project root for full license information.
namespace Xunit
{
using System;
using Sdk;
/// <summary>
/// Attribute that is applied to a method to indicate that it is... | jhgbrt/yadal | Net.Code.ADONet.Tests.Integration/Xunit/SkippableFactAttribute.cs | https://github.com/jhgbrt/yadal/blob/HEAD/Net.Code.ADONet.Tests.Integration/Xunit/SkippableFactAttribute.cs | ghcode:00005:16ea50d3dc21 | mit | codeparrot/github-code | 16ea50d3dc214aae09725c4a40bd157b60b12052bc0c220a3d475cf4b112ece9 | 0.85 | testing_debugging_repair_refactoring | 268 | false | 2026-07-17 |
using Http2;
using Xunit;
namespace Http2Tests
{
public class FramePrinterTests
{
[Fact]
public void ShouldPrintFramesWithASingleFlag()
{
var fh = new FrameHeader
{
Type = FrameType.Continuation,
Flags = (byte)ContinuationFrameFla... | Matthias247/http2dotnet | Http2Tests/FramePrinterTests.cs | https://github.com/Matthias247/http2dotnet/blob/HEAD/Http2Tests/FramePrinterTests.cs | ghcode:00005:4fed10aa36a0 | mit | codeparrot/github-code | 4fed10aa36a0a80f782fd1efcc3b8f0bcd73be2410936f4a8a6e0aef03f6bfd2 | 0.75 | testing_debugging_repair_refactoring | 467 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using Shielded;
namespace ShieldedTests
{
[TestFixture()]
public class TreeTests
{
[Test]
public void IndexerTest()
{
var objectA = new object();
... | jbakic/Shielded | ShieldedTests/TreeTests.cs | https://github.com/jbakic/Shielded/blob/HEAD/ShieldedTests/TreeTests.cs | ghcode:00005:d9c19ea83243 | mit | codeparrot/github-code | d9c19ea83243693647a5e8e4d61deb17403c7aab8e65c3795b8eedca06a6d68f | 0.85 | testing_debugging_repair_refactoring | 2,682 | false | 2026-07-17 |
using SharpEqualsTester.Exceptions;
using SharpEqualsTester.Tests.TestObjects;
using Xunit;
namespace SharpEqualsTester.Tests
{
public class EqualsTesterTests
{
[Fact]
public void ShouldPassIfEqualsAndHashcodePerfectlyImplemented()
{
var object00 = new PerfectClass("test"... | Choc13/SharpEqualsTester | test/SharpEqualsTester.Tests/EqualsTesterTests.cs | https://github.com/Choc13/SharpEqualsTester/blob/HEAD/test/SharpEqualsTester.Tests/EqualsTesterTests.cs | ghcode:00005:45382fd8579d | mit | codeparrot/github-code | 45382fd8579dc1f020a6e4313c8ff0f50a2fe867c4c2680e07a911ced32b7967 | 0.75 | testing_debugging_repair_refactoring | 999 | 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;
using Xunit;
namespace System.ComponentModel.Tests
{
public class MemberDescriptorTests
... | marksmeltzer/corefx | src/System.ComponentModel.TypeConverter/tests/MemberDescriptorTests.cs | https://github.com/marksmeltzer/corefx/blob/HEAD/src/System.ComponentModel.TypeConverter/tests/MemberDescriptorTests.cs | ghcode:00005:ae56e325d423 | mit | codeparrot/github-code | ae56e325d42354b0f306dcbbe7454868d53a7eeb92d5c67046ee19281f3120a2 | 0.95 | testing_debugging_repair_refactoring | 763 | false | 2026-07-17 |
using DragonSpark.Activation.Location;
using DragonSpark.Composition;
using DragonSpark.Extensions;
using DragonSpark.Testing.Framework;
using DragonSpark.Testing.Framework.Application;
using DragonSpark.Testing.Framework.Application.Setup;
using DragonSpark.Testing.Objects;
using System;
using System.Collections.Immu... | DevelopersWin/VoteReporter | Framework/DragonSpark.Testing/Composition/ConventionBuilderTests.cs | https://github.com/DevelopersWin/VoteReporter/blob/HEAD/Framework/DragonSpark.Testing/Composition/ConventionBuilderTests.cs | ghcode:00005:01f4632e94a2 | mit | codeparrot/github-code | 01f4632e94a2d342a53511226e04f899c5e3216271884715b5898eba77b86c32 | 0.75 | testing_debugging_repair_refactoring | 481 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Fixie;
using Fixie.Conventions;
using Should.Fluent;
namespace FixieTestExample
{
public class TestsWeeb
{
public void Test()
{
}
public void Test2Frob()
{
Co... | JohnStov/ReSharperFixieRunner | FixieTestExample/FixieTestExample/Tests.cs | https://github.com/JohnStov/ReSharperFixieRunner/blob/HEAD/FixieTestExample/FixieTestExample/Tests.cs | ghcode:00005:1e246a15350f | mit | codeparrot/github-code | 1e246a15350f404249ff6ed3dbe95612851d6921dd9dbf61142eccd660242703 | 0.75 | testing_debugging_repair_refactoring | 344 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RiotSharp;
using RiotSharp.Misc;
namespace RiotSharp.Test
{
[TestClass]
public class StatusRiotApiTest : CommonTestBase
{
private static StatusRiotApi api = StatusRiotApi.GetInstance(CommonTestBase.apiKey);
[TestMethod]
[T... | Challengermode/RiotSharp | RiotSharp.Test/StatusRiotApiTest.cs | https://github.com/Challengermode/RiotSharp/blob/HEAD/RiotSharp.Test/StatusRiotApiTest.cs | ghcode:00005:ad1921d701f7 | mit | codeparrot/github-code | ad1921d701f71288a8f928f0a18a17ee4231fa7f82ff491cf463810d6285328f | 0.6 | testing_debugging_repair_refactoring | 238 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using DeepEqual;
using DeepEqual.Syntax;
using NUnit.Framework;
using Shouldly;
using StatePrinter;
namespace TestingTools
{
[TestFixture]
[Explicit]
public class DeepEqualDemo
{
private ProviderData data1;
private ProviderData data2;
[SetUp... | xoposhiy/testing-course | TestingTools/DeepEqualDemo.cs | https://github.com/xoposhiy/testing-course/blob/HEAD/TestingTools/DeepEqualDemo.cs | ghcode:00005:05f41bb622de | cc0-1.0 | codeparrot/github-code | 05f41bb622de8f1c424bc38d12ccb24736965179db43c8dcbdb4e7c94d812bd7 | 0.53 | testing_debugging_repair_refactoring | 354 | false | 2026-07-17 |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
using MvcTemplate.Components.Alerts;
using MvcTemplate.Components.Security;
using MvcTemplate.Controllers;
using MvcTemplate.... | liyanippon/working | data/work/asp.net/MVC6.Template-develop/test/MvcTemplate.Tests/Unit/Controllers/Profile/ProfileControllerTests.cs | https://github.com/liyanippon/working/blob/HEAD/data/work/asp.net/MVC6.Template-develop/test/MvcTemplate.Tests/Unit/Controllers/Profile/ProfileControllerTests.cs | ghcode:00005:4c84c7d2f6e4 | apache-2.0 | codeparrot/github-code | 4c84c7d2f6e49297ba16c15108d87799402054ad9a801078847a0c690406ade2 | 0.85 | testing_debugging_repair_refactoring | 1,437 | false | 2026-07-17 |
namespace Sentinel.Tests.Unit
{
using System;
using Microsoft.Owin;
using Moq;
using NUnit.Framework;
using Sentinel.OAuth.Extensions;
[TestFixture]
[Category("Unit")]
public class OwinRequestExtensionsTests
{
[TestCase("/something/test")]
[TestCase("/#something... | azzlack/Sentinel.OAuth | src/Sentinel.Tests/Unit/OwinRequestExtensionsTests.cs | https://github.com/azzlack/Sentinel.OAuth/blob/HEAD/src/Sentinel.Tests/Unit/OwinRequestExtensionsTests.cs | ghcode:00005:007417bb35ad | apache-2.0 | codeparrot/github-code | 007417bb35addde507fa76b1de71a4fd208157501bd379e205b97ffa9c73e59c | 0.85 | testing_debugging_repair_refactoring | 472 | 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.CSharpSecurityCodeFixVerifier<
Microsoft... | pakdev/roslyn-analyzers | src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Security/DoNotCallDangerousMethodsInDeserializationTests.cs | https://github.com/pakdev/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Security/DoNotCallDangerousMethodsInDeserializationTests.cs | ghcode:00005:06755aa7de13 | apache-2.0 | codeparrot/github-code | 06755aa7de13bad39b5f5283a0ecdf4a75cb6cf0b57c0b71e6727d4c35625ac1 | 0.62 | testing_debugging_repair_refactoring | 14,105 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Text;
using LogProxy.Lib.Http;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LogProxy.Lib.Tests.Unit
{
[TestClass]
public class ChunkSearchBufferTests
{
[TestMethod]
public void AddContentDataTest1()
{
var ... | koonuf/LogProxy | LogProxy.Lib.Tests.Unit/ChunkSearchBufferTests.cs | https://github.com/koonuf/LogProxy/blob/HEAD/LogProxy.Lib.Tests.Unit/ChunkSearchBufferTests.cs | ghcode:00005:a695e685d6a7 | apache-2.0 | codeparrot/github-code | a695e685d6a7d5d72234a670843df06044ea2dcc380e7ea684ac2becab976a12 | 0.85 | testing_debugging_repair_refactoring | 3,456 | false | 2026-07-17 |
// Copyright 2015, Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | stevemanderson/googleads-dotnet-lib | tests/AdWords/v201506/AdvancedOperationsTest.cs | https://github.com/stevemanderson/googleads-dotnet-lib/blob/HEAD/tests/AdWords/v201506/AdvancedOperationsTest.cs | ghcode:00005:65d23b7554cc | apache-2.0 | codeparrot/github-code | 65d23b7554cc1c93e5b51c299d113115da63395605aa4091b132c4e7337cf120 | 0.85 | testing_debugging_repair_refactoring | 1,461 | false | 2026-07-17 |
/*
* Forge SDK
*
* The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
*
* OpenAPI spec version: 0.1.0
* Contact: forge.help@autodesk.com
* Ge... | Autodesk-Forge/forge-api-dotnet-client | src/Autodesk.Forge.Test/Api/UserProfileApiTests.cs | https://github.com/Autodesk-Forge/forge-api-dotnet-client/blob/HEAD/src/Autodesk.Forge.Test/Api/UserProfileApiTests.cs | ghcode:00005:54437dab9d11 | apache-2.0 | codeparrot/github-code | 54437dab9d117a0c02104a7f12da675908c75bd2b0c6197dfa9494b1febb7445 | 0.85 | testing_debugging_repair_refactoring | 552 | false | 2026-07-17 |
using FluentAssertions;
using System.Collections.Generic;
using NFugue.Staccato.Preprocessors;
using Xunit;
namespace Staccato.Tests.Preprocessors
{
public class ReplacementMapPreprocessorTests
{
private readonly IDictionary<string, string> replacementMap = new Dictionary<string, string>();
pr... | mdileep/NFugue | tests/NFugue.Tests/Staccato/Preprocessors/ReplacementMapPreprocessorTests.cs | https://github.com/mdileep/NFugue/blob/HEAD/tests/NFugue.Tests/Staccato/Preprocessors/ReplacementMapPreprocessorTests.cs | ghcode:00005:7ebcde0d5f9d | apache-2.0 | codeparrot/github-code | 7ebcde0d5f9d1202f6cdf993e9a59f07735e9219872f5494fcfda99ad52f10bf | 0.75 | testing_debugging_repair_refactoring | 276 | false | 2026-07-17 |
using UnityEngine;
using System.Collections;
public class testFetchQuest : QuestBase_Fetch{
override public void CheckConditions(string str)
{
if (currentState != State.TURNED_IN)
{
if (str == "givereward")
{
GiveReward();
... | carlsc2/SuperstitionJam | Superstition Game/Assets/Scripts/Quests/testFetchQuest.cs | https://github.com/carlsc2/SuperstitionJam/blob/HEAD/Superstition Game/Assets/Scripts/Quests/testFetchQuest.cs | ghcode:00005:0f6c638b2e7c | apache-2.0 | codeparrot/github-code | 0f6c638b2e7c059b0cc345576d11fd5213f31924aec785a01c4101151476242e | 0.75 | testing_debugging_repair_refactoring | 67 | 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.CodeFixes;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
usi... | heejaechang/roslyn-analyzers | src/Microsoft.NetCore.Analyzers/Core/Runtime/TestForNaNCorrectly.Fixer.cs | https://github.com/heejaechang/roslyn-analyzers/blob/HEAD/src/Microsoft.NetCore.Analyzers/Core/Runtime/TestForNaNCorrectly.Fixer.cs | ghcode:00005:60e7886df77b | apache-2.0 | codeparrot/github-code | 60e7886df77b70f465cbf9785e74c6d39e44b865ad4438465c32268118c02d42 | 0.85 | testing_debugging_repair_refactoring | 1,191 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.