text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSha... | jmarolf/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/ConditionalOperatorTests.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/ConditionalOperatorTests.cs | ghcode:00008:3cb38fe2358b | mit | codeparrot/github-code | 3cb38fe2358b5d8aad942394427a11c3015a3d9905763021a6a029aa72eacb43 | 0.95 | testing_debugging_repair_refactoring | 15,282 | 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.IO;
using System.Linq;
using System.Reflection;
usin... | jmarolf/roslyn | src/VisualStudio/Core/Test.Next/Remote/SnapshotSerializationTests.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/VisualStudio/Core/Test.Next/Remote/SnapshotSerializationTests.cs | ghcode:00008:83c993ccf7e0 | mit | codeparrot/github-code | 83c993ccf7e0ac9d1e88fd9cd749234dc0972c3890e7429c0a470438a4011367 | 0.85 | testing_debugging_repair_refactoring | 7,693 | false | 2026-07-17 |
namespace Automation.Tests.ScenarioTests.UpdateManagement
{
using System;
using Microsoft.Azure.Management.Automation;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using Xunit;
public class SoftwareUpdateConfigurationRunTests : BaseTest
{
[Fact]
public void CanGetR... | shahabhijeet/azure-sdk-for-net | src/SDKs/Automation/Automation.Tests/ScenarioTests/UpdateManagement/SoftwareUpdateConfigurationRunTests.cs | https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/SDKs/Automation/Automation.Tests/ScenarioTests/UpdateManagement/SoftwareUpdateConfigurationRunTests.cs | ghcode:00008:6fe75113fc84 | mit | codeparrot/github-code | 6fe75113fc84737574452b0328d2d1943bb828e1aacc8db8e5aaa339bfa2d2f9 | 0.75 | testing_debugging_repair_refactoring | 657 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Threading.Tasks;
using System.Xml;
using Microsoft.Build.BackEnd;... | cdmihai/msbuild | src/Build.UnitTests/BackEnd/TaskBuilder_Tests.cs | https://github.com/cdmihai/msbuild/blob/HEAD/src/Build.UnitTests/BackEnd/TaskBuilder_Tests.cs | ghcode:00008:2496910ec281 | mit | codeparrot/github-code | 2496910ec2817958a72726af46fbb6fa5ccb07f0d116d5fb90ce3bb47efc5626 | 0.85 | testing_debugging_repair_refactoring | 9,288 | false | 2026-07-17 |
#region License, Terms and Author(s)
//
// ELMAH - Error Logging Modules and Handlers for ASP.NET
// Copyright (c) 2004-9 Atif Aziz. All rights reserved.
//
// Author(s):
//
// Atif Aziz, http://www.raboof.com
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file excep... | ockertv/Elmah | src/Elmah/MemoryErrorLog.cs | https://github.com/ockertv/Elmah/blob/HEAD/src/Elmah/MemoryErrorLog.cs | ghcode:00008:acde9e159da1 | apache-2.0 | codeparrot/github-code | acde9e159da14f6b1ab099440c2971d9d46fa20effca896dded41b47b30b50f8 | 0.7 | testing_debugging_repair_refactoring | 1,930 | 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... | MihaelaStoica/xenadmin | XenAdminTests/SearchTests/DatePropertyQueryTests.cs | https://github.com/MihaelaStoica/xenadmin/blob/HEAD/XenAdminTests/SearchTests/DatePropertyQueryTests.cs | ghcode:00008:e5812cb7a318 | bsd-2-clause | codeparrot/github-code | e5812cb7a31802e1ac751b71734fef81843c70dd12c4a99a47ecf4509621c005 | 0.78 | testing_debugging_repair_refactoring | 4,818 | false | 2026-07-17 |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using dnlib.DotNet;
using Mosa.Compiler.Common;
using System;
using System.Collections.Generic;
namespace Mosa.Compiler.MosaTypeSystem.Metadata
{
internal class MetadataLoader
{
private class TypeSigComparer : EqualityComparer<TypeSig>
{
pub... | modulexcite/MOSA-Project | Source/Mosa.Compiler.MosaTypeSystem/Metadata/MetadataLoader.cs | https://github.com/modulexcite/MOSA-Project/blob/HEAD/Source/Mosa.Compiler.MosaTypeSystem/Metadata/MetadataLoader.cs | ghcode:00008:395093968607 | bsd-3-clause | codeparrot/github-code | 395093968607d32bba306795854951c862739ea69d5595d034002743dab772d5 | 0.85 | testing_debugging_repair_refactoring | 3,955 | false | 2026-07-17 |
// Authors:
// Rafael Mizrahi <rafim@mainsoft.com>
// Erez Lotan <erezl@mainsoft.com>
// Oren Gurfinkel <oreng@mainsoft.com>
// Ofer Borstein
//
// Copyright (c) 2004 Mainsoft Co.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated do... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Data/Test/System.Data.Tests.Mainsoft/System.Data/DataView/DataView_ctor.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Data/Test/System.Data.Tests.Mainsoft/System.Data/DataView/DataView_ctor.cs | ghcode:00008:3b7d230b62d9 | mit | codeparrot/github-code | 3b7d230b62d9a9a67886ae197a1bb12d7e18758b02b905c188bfd69eb5c45f35 | 0.95 | testing_debugging_repair_refactoring | 619 | false | 2026-07-17 |
using System;
using System.IO;
using Ionic.Zip;
using NUnit.Framework;
using SIL.DblBundle.Text;
using SIL.IO;
using SIL.WritingSystems;
namespace SIL.DblBundle.Tests
{
[TestFixture]
public class BundleTests
{
private TestBundle m_bundle;
[TestFixtureSetUp]
public void TestFixtureSetup()
{
using (var z... | tombogle/libpalaso | SIL.DblBundle.Tests/BundleTests.cs | https://github.com/tombogle/libpalaso/blob/HEAD/SIL.DblBundle.Tests/BundleTests.cs | ghcode:00008:09909a4d5bec | mit | codeparrot/github-code | 09909a4d5beca44df6fbd74d729467cbe75149acc6ec62fbf0aab4bae098daa9 | 0.85 | testing_debugging_repair_refactoring | 541 | false | 2026-07-17 |
// Copyright © Microsoft Corporation. All Rights Reserved.
// This code released under the terms of the
// Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Xml.Serialization;
using Sy... | adamdriscoll/TfsIntegrationPlatform | IntegrationPlatform/Core/Toolkit/Configuration/SettingsCollection.cs | https://github.com/adamdriscoll/TfsIntegrationPlatform/blob/HEAD/IntegrationPlatform/Core/Toolkit/Configuration/SettingsCollection.cs | ghcode:00008:ed09127491f3 | mit | codeparrot/github-code | ed09127491f3cebdf56f06250f296887472a098ed65046f52f95e8886eb5aa6a | 0.7 | testing_debugging_repair_refactoring | 2,157 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Oxide.Core;
using Oxide.Core.Configuration;
namespace Oxide.Tests
{
[TestClass]
public class CoreTests
{
[TestMethod]
public void TestCommandLine()
{
CommandLi... | MSylvia/Oxide | Oxide.Tests/CoreTests.cs | https://github.com/MSylvia/Oxide/blob/HEAD/Oxide.Tests/CoreTests.cs | ghcode:00008:7c0a8f9bfa0e | mit | codeparrot/github-code | 7c0a8f9bfa0ef6f1812b0a16d9edd21b863c50d4020ed2bca1ae62c7e3999681 | 0.75 | testing_debugging_repair_refactoring | 919 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics;
namespace Microsoft.Xml
{
using System;
internal class Base64Deco... | mconnew/wcf | src/dotnet-svcutil/lib/src/FrameworkFork/Microsoft.Xml/Xml/Base64Decoder.cs | https://github.com/mconnew/wcf/blob/HEAD/src/dotnet-svcutil/lib/src/FrameworkFork/Microsoft.Xml/Xml/Base64Decoder.cs | ghcode:00008:24eaa94e3d8c | mit | codeparrot/github-code | 24eaa94e3d8c936b83dfd3d8dcbb3620236f51679bcec938ba66a84a807201ca | 0.95 | testing_debugging_repair_refactoring | 1,556 | false | 2026-07-17 |
using Chutzpah.Models;
using Chutzpah.Transformers;
using Chutzpah.Wrappers;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace Chutzpah.Facts.Library.Transformers
{
public class TransformProcessorFacts
{
private List<T... | johnm25/chutzpah | Facts/Library/Transformers/TransformProcessorFacts.cs | https://github.com/johnm25/chutzpah/blob/HEAD/Facts/Library/Transformers/TransformProcessorFacts.cs | ghcode:00008:703d5b61e7d5 | apache-2.0 | codeparrot/github-code | 703d5b61e7d5c5682b15bdc2768649f3e826a97a9d80a9ea9aa1ccc447a1e15a | 0.6 | testing_debugging_repair_refactoring | 1,325 | 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... | OctopusDeploy/azure-sdk-tools | WindowsAzurePowershell/src/Management.CloudService.Test/Tests/Node/Cmdlet/AddAzureNodeWebRoleTests.cs | https://github.com/OctopusDeploy/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.CloudService.Test/Tests/Node/Cmdlet/AddAzureNodeWebRoleTests.cs | ghcode:00008:ae1adc782dcc | apache-2.0 | codeparrot/github-code | ae1adc782dcc16819af847357e6e7b8f2802ab6944865b0bbfa7cb0d6894077d | 0.95 | testing_debugging_repair_refactoring | 768 | 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 ma... | yunseong/incubator-reef | lang/cs/Org.Apache.REEF.IO.Tests/TestHadoopFileSystem.cs | https://github.com/yunseong/incubator-reef/blob/HEAD/lang/cs/Org.Apache.REEF.IO.Tests/TestHadoopFileSystem.cs | ghcode:00008:01fcfc258008 | apache-2.0 | codeparrot/github-code | 01fcfc258008ba599f0e72fc3a23458d42c69e9e199aa6fe3022a2771b95a7b3 | 0.85 | testing_debugging_repair_refactoring | 1,363 | 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.Reflection.Emit.Tests
{
public class TypeBuilderIsGenericParameter
{
... | alphonsekurian/corefx | src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderIsGenericParameter.cs | https://github.com/alphonsekurian/corefx/blob/HEAD/src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderIsGenericParameter.cs | ghcode:00008:04ca6e3531f6 | mit | codeparrot/github-code | 04ca6e3531f6c8d5ff05592e210433ee851b9531c6392ad55afe5eafe8cf94b8 | 0.95 | testing_debugging_repair_refactoring | 197 | false | 2026-07-17 |
using System.Diagnostics;
namespace Lucene.Net.Codecs
{
/*
* 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 f... | jpsullivan/lucenenet | src/Lucene.Net.Core/Codecs/MappingMultiDocsEnum.cs | https://github.com/jpsullivan/lucenenet/blob/HEAD/src/Lucene.Net.Core/Codecs/MappingMultiDocsEnum.cs | ghcode:00008:e3e5705ed602 | apache-2.0 | codeparrot/github-code | e3e5705ed602213194e04d39fbe6a7730f93818786511927ba036f56b092a30a | 0.85 | testing_debugging_repair_refactoring | 1,003 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="SqlJournalConnectionFailureSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>... | ali-ince/akka.net | src/contrib/persistence/Akka.Persistence.Sql.TestKit/SqlJournalConnectionFailureSpec.cs | https://github.com/ali-ince/akka.net/blob/HEAD/src/contrib/persistence/Akka.Persistence.Sql.TestKit/SqlJournalConnectionFailureSpec.cs | ghcode:00008:fd02c951f8d5 | apache-2.0 | codeparrot/github-code | fd02c951f8d54c22e321c41b6c02fbe2a6a6f24ff1796045b6cb1a5e26bf70d0 | 0.85 | testing_debugging_repair_refactoring | 436 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2015 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, inclu... | Suremaker/nunit | src/NUnitFramework/tests/Internal/AsyncSetupTeardownTests.cs | https://github.com/Suremaker/nunit/blob/HEAD/src/NUnitFramework/tests/Internal/AsyncSetupTeardownTests.cs | ghcode:00008:c30646dfeac9 | mit | codeparrot/github-code | c30646dfeac9386f750b180698b02c2dd326251dc281506c585fbcf64827a132 | 0.95 | testing_debugging_repair_refactoring | 811 | 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.CSharp.CodeFixes.Async;
using Microsoft.CodeA... | Pvlerick/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/Async/AddAwaitTests.cs | https://github.com/Pvlerick/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/Async/AddAwaitTests.cs | ghcode:00008:abb414068010 | apache-2.0 | codeparrot/github-code | abb4140680104b9febdf8d0c23ff812bda9fed0d8f035f9ce1dba0ca041b28ec | 0.85 | testing_debugging_repair_refactoring | 4,348 | false | 2026-07-17 |
#region License
/*
* Copyright 2004 the original author or authors.
*
* 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
*
... | yonglehou/spring-net | test/Spring/Spring.Core.Tests/Core/RegularExpressionMethodNameCriteriaTests.cs | https://github.com/yonglehou/spring-net/blob/HEAD/test/Spring/Spring.Core.Tests/Core/RegularExpressionMethodNameCriteriaTests.cs | ghcode:00008:302798fe040e | apache-2.0 | codeparrot/github-code | 302798fe040e95800983c7f97edde0454399ddf5cf93f065a5df479647ba4f3c | 0.85 | testing_debugging_repair_refactoring | 419 | 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.apac... | devigned/azure-powershell | src/StackAdmin/AzureStackStorage/Commands.AzureStackStorage.Tests/ScenarioTests/FarmsTests.cs | https://github.com/devigned/azure-powershell/blob/HEAD/src/StackAdmin/AzureStackStorage/Commands.AzureStackStorage.Tests/ScenarioTests/FarmsTests.cs | ghcode:00008:ca93fda93db6 | apache-2.0 | codeparrot/github-code | ca93fda93db68472f03026b8160ee91b48a1df1b82c00038171213f8b7c1c836 | 0.85 | testing_debugging_repair_refactoring | 381 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2007 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, inclu... | undeadlabs/msgpack-cli | test/NUnitLite/src/framework/Constraints/MessageWriter.cs | https://github.com/undeadlabs/msgpack-cli/blob/HEAD/test/NUnitLite/src/framework/Constraints/MessageWriter.cs | ghcode:00008:5ba491b626f3 | apache-2.0 | codeparrot/github-code | 5ba491b626f3496ab2022418e9e42da57b16d8a7812629d3bf315ef80e903304 | 0.95 | testing_debugging_repair_refactoring | 1,435 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ODataVCardScenarioTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-----------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.PluggableFormat.Tests/VCard/Test/ODataVCardScenarioTests.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.PluggableFormat.Tests/VCard/Test/ODataVCardScenarioTests.cs | ghcode:00008:8a6f1a54bcdb | mit | codeparrot/github-code | 8a6f1a54bcdbcab82087423608691062bc270feb7c1f8f108a63eb76d1e4ffd9 | 0.95 | testing_debugging_repair_refactoring | 843 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace ClientRuntime.NetCore.Tests
{
using ClientRuntime.Tests.Common.Fakes;
using System.Collections.Generic;
using System.Linq;
using Syste... | shahabhijeet/azure-sdk-for-net | src/SdkCommon/ClientRuntime/Tests/ClientRuntime.NetCore.Tests/UserAgentTests.cs | https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/SdkCommon/ClientRuntime/Tests/ClientRuntime.NetCore.Tests/UserAgentTests.cs | ghcode:00008:3e140d25ea5f | mit | codeparrot/github-code | 3e140d25ea5fdf9443c80731bd4f49e0588df7bd445d41b5082ba01f0dc40a41 | 0.95 | testing_debugging_repair_refactoring | 1,051 | false | 2026-07-17 |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | Microsoft/CodeContracts | Microsoft.Research/AbstractInterpretation/Abstract Domains/Numerical/IntervalsWithSymbolicUpperBounds.cs | https://github.com/Microsoft/CodeContracts/blob/HEAD/Microsoft.Research/AbstractInterpretation/Abstract Domains/Numerical/IntervalsWithSymbolicUpperBounds.cs | ghcode:00008:322bc6e4ba0b | mit | codeparrot/github-code | 322bc6e4ba0b64087f2b356744eec5272848624cb36156bc9efacd29231d24ce | 0.7 | testing_debugging_repair_refactoring | 5,428 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.CodeAnalysis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespa... | Maxwe11/codeformatter | src/Microsoft.DotNet.CodeFormatting.Tests/Rules/ExplicitVisibilityRuleTests.cs | https://github.com/Maxwe11/codeformatter/blob/HEAD/src/Microsoft.DotNet.CodeFormatting.Tests/Rules/ExplicitVisibilityRuleTests.cs | ghcode:00008:9d65a07fa2c3 | mit | codeparrot/github-code | 9d65a07fa2c33edc41cc30c2ea23d331486a3901282187f026ceb397e966ec52 | 0.85 | testing_debugging_repair_refactoring | 3,806 | 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.Linq;
using Xunit;
namespace System.Colle... | ellismg/corefx | src/System.Collections/tests/Generic/List/List.Generic.Tests.ForEach.cs | https://github.com/ellismg/corefx/blob/HEAD/src/System.Collections/tests/Generic/List/List.Generic.Tests.ForEach.cs | ghcode:00008:cedf889cf086 | mit | codeparrot/github-code | cedf889cf086c80a0c92aa5d50b3f9560ddb7667a5b4a1a9ce5af3392e9cdfd2 | 0.95 | testing_debugging_repair_refactoring | 247 | 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 System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Security.Cryptography;
using Test.Cryptography;
usi... | comdiv/corefx | src/System.Security.Cryptography.Cng/tests/InvasiveCngTests.cs | https://github.com/comdiv/corefx/blob/HEAD/src/System.Security.Cryptography.Cng/tests/InvasiveCngTests.cs | ghcode:00008:44b0d6079215 | mit | codeparrot/github-code | 44b0d60792150566ebde93937125df8ae426538692b1263ec3a0ea2aa294f3f1 | 0.95 | testing_debugging_repair_refactoring | 794 | false | 2026-07-17 |
//
// Copyright (c) Microsoft. 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 applicable l... | gubookgu/azure-sdk-for-net | src/ResourceManagement/HDInsight/HDInsight.Tests/ScenarioTests/HttpTests.cs | https://github.com/gubookgu/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/HDInsight/HDInsight.Tests/ScenarioTests/HttpTests.cs | ghcode:00008:13c23348bedc | apache-2.0 | codeparrot/github-code | 13c23348bedc3cc182b7ebae6186f4e65128db82a5357316c630fa33a88b7188 | 0.85 | testing_debugging_repair_refactoring | 1,395 | 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 ... | bizcad/Lean | Tests/Indicators/CommodityChannelIndexTests.cs | https://github.com/bizcad/Lean/blob/HEAD/Tests/Indicators/CommodityChannelIndexTests.cs | ghcode:00008:6e6653d38d18 | apache-2.0 | codeparrot/github-code | 6e6653d38d18cc33e7ce37ac81cfc6f80e612da41060af53caba897b59df4da9 | 0.75 | testing_debugging_repair_refactoring | 487 | 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 Xunit;
public static unsafe class EnumTests
{
[Fact]
public static void TestParse()
{
{
Type t = typeof(SimpleEnum)... | Frank125/corefx | src/System.Runtime/tests/System/Enum.cs | https://github.com/Frank125/corefx/blob/HEAD/src/System.Runtime/tests/System/Enum.cs | ghcode:00008:3f7b1477000d | mit | codeparrot/github-code | 3f7b1477000d54b2dfe1b8e93ae225be332860cec58928528e860b8346c6fd4c | 0.95 | testing_debugging_repair_refactoring | 7,635 | 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;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.basic.field01.field01
{
using ManagedTests.DynamicCSharp.Conformance... | vs-team/corefx | src/System.Dynamic.Runtime/tests/Dynamic.Context/Conformance.dynamic.context.operator.compound.basic.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Dynamic.Runtime/tests/Dynamic.Context/Conformance.dynamic.context.operator.compound.basic.cs | ghcode:00008:b75ad4e9a348 | mit | codeparrot/github-code | b75ad4e9a348ae3a9363590a5b3af0496581961617eb513328265e08baec224e | 0.95 | testing_debugging_repair_refactoring | 7,940 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
namespace System.Configuration
{
[AttributeUsage(AttributeTargets.Property)]
publ... | nbarbettini/corefx | src/System.Configuration.ConfigurationManager/src/System/Configuration/ConfigurationValidatorAttribute.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Configuration.ConfigurationManager/src/System/Configuration/ConfigurationValidatorAttribute.cs | ghcode:00008:9c9b93e7c771 | mit | codeparrot/github-code | 9c9b93e7c771220008cb4d5ad0cdd6ceccc45391490582205656ed75d5af48f1 | 0.95 | testing_debugging_repair_refactoring | 404 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace System.Buffers.Text
{
/// <summary>
... | zenos-os/zenos | vendor/corert/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.Default.cs | https://github.com/zenos-os/zenos/blob/HEAD/vendor/corert/src/System.Private.CoreLib/shared/System/Buffers/Text/Utf8Formatter/Utf8Formatter.Integer.Signed.Default.cs | ghcode:00008:50703103ebd7 | mit | codeparrot/github-code | 50703103ebd7bfac8bcb419c5933a97322a72a140ef761abfec7e1ff6b8ce4ac | 0.8 | testing_debugging_repair_refactoring | 1,351 | 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.IO.Tests
{
public class Directory_GetDirectoryRoot : FileSystemTest
{
... | nbarbettini/corefx | src/System.IO.FileSystem/tests/Directory/GetDirectoryRoot.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.IO.FileSystem/tests/Directory/GetDirectoryRoot.cs | ghcode:00008:5c04e690493d | mit | codeparrot/github-code | 5c04e690493dafb3a5b722b36cd7435c490f3f80cae2dd30b9e15ec2e9338a15 | 0.95 | testing_debugging_repair_refactoring | 438 | false | 2026-07-17 |
using System;
using System.Linq.Expressions;
using DotJEM.NUnit.Json.Constraints;
using DotJEM.NUnit.Json.Helpers;
using NUnit.Framework.Constraints;
namespace DotJEM.NUnit.Json
{
public static class ObjectHas
{
public static ResolvableConstraintExpression Property<T>(Expression<Func<T, object>> prope... | dotJEM/json-nunit | DotJEM.NUnit.Json/ObjectHas.cs | https://github.com/dotJEM/json-nunit/blob/HEAD/DotJEM.NUnit.Json/ObjectHas.cs | ghcode:00008:aa0f6ffcb940 | mit | codeparrot/github-code | aa0f6ffcb94014ea498545587da3c723f7abdc27b157ed82c4dcd98d187d0a86 | 0.6 | testing_debugging_repair_refactoring | 142 | false | 2026-07-17 |
// Copyright (c). All rights reserved.
//
// Licensed under the MIT license.
using Shouldly;
using System;
using Xunit;
using Xunit.Abstractions;
namespace Microsoft.Dism.Tests
{
public class CheckImageHealthTest : DismTestBase
{
public CheckImageHealthTest(TestWimTemplate template, ITestOutputHelper... | josemesona/ManagedDism | src/Microsoft.Dism.Tests/CheckImageHealthTest.cs | https://github.com/josemesona/ManagedDism/blob/HEAD/src/Microsoft.Dism.Tests/CheckImageHealthTest.cs | ghcode:00008:9d25628c07aa | mit | codeparrot/github-code | 9d25628c07aab5c7fd7ad70573bf7e79aa6082bc4e85484dfe33c28652ee6a78 | 0.7 | testing_debugging_repair_refactoring | 393 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Moq;
using IntergalacticTravel.Contracts;
namespace IntergalacticTravel.Test
{
[TestClass]
public class UnitTests
{
[TestMet... | iliyaST/TelerikAcademy | High-Quality-Code-Unit-Testing/3-Exams/01.09-August-2016/IntergalacticTravel.Test/UnitTests.cs | https://github.com/iliyaST/TelerikAcademy/blob/HEAD/High-Quality-Code-Unit-Testing/3-Exams/01.09-August-2016/IntergalacticTravel.Test/UnitTests.cs | ghcode:00008:e53faa46649c | mit | codeparrot/github-code | e53faa46649cd7347446d92acdf6baddd0d040e2d82262d7a52431c52de927f8 | 0.75 | testing_debugging_repair_refactoring | 621 | false | 2026-07-17 |
using FluentAssertions;
using Xunit;
namespace Eris.Packets.Test.PacketReaderTests
{
public class CollectReadActionsReadUnicodeTests
{
private readonly byte[] _data = new byte[] { 4, 0, (byte)'t', 0, (byte)'e', 0, (byte)'x', 0, (byte)'t', 0 };
[Fact]
public void Collect_ReadUnicode_Sh... | wazowsk1/eris-packets | test/Eris.Packets.Test/PacketReaderTests/CollectReadActionsReadUnicodeTests.cs | https://github.com/wazowsk1/eris-packets/blob/HEAD/test/Eris.Packets.Test/PacketReaderTests/CollectReadActionsReadUnicodeTests.cs | ghcode:00008:71d119202432 | mit | codeparrot/github-code | 71d1192024329fb6aa610c4b46cf54f3b2e392dd1c029ca34c2cfa81ff1426ce | 0.75 | testing_debugging_repair_refactoring | 459 | false | 2026-07-17 |
// Copyright (c) 2018-2020 Alexander Bogarsukov.
// Licensed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
namespace UnityFx.Async
{
/// <summary>
/// A single-threaded imple... | Arvtesh/UnityFx.Async | src/UnityFx.Async/Implementation/Callbacks/SingleContextCallbackCollection.cs | https://github.com/Arvtesh/UnityFx.Async/blob/HEAD/src/UnityFx.Async/Implementation/Callbacks/SingleContextCallbackCollection.cs | ghcode:00008:c799c50bd9ea | mit | codeparrot/github-code | c799c50bd9ead9b7f09a467f134fe15d0623547829e67931196ff2af0140c999 | 0.7 | testing_debugging_repair_refactoring | 1,129 | false | 2026-07-17 |
namespace Aspects.Logging.Tests.Helpers
{
using System;
using FluentAssertions;
using Logging.Helpers;
using NUnit.Framework;
using PostSharp.Aspects;
/// <summary>
/// The message formatter tests.
/// </summary>
[TestFixture]
public class MessageFormatterTests
{
//... | vnvizitiu/AOP | PostSharpImp/Aspects.Logging.Tests/Helpers/MessageFormatterTests.cs | https://github.com/vnvizitiu/AOP/blob/HEAD/PostSharpImp/Aspects.Logging.Tests/Helpers/MessageFormatterTests.cs | ghcode:00008:4e9c4086c620 | mit | codeparrot/github-code | 4e9c4086c6200947b7fbaa82998dca2d6a30c15fb89524c8d8762d2a155b9896 | 0.85 | testing_debugging_repair_refactoring | 179 | false | 2026-07-17 |
using Jarvis.Framework.Shared.Events;
using Jarvis.Framework.Shared.ReadModel.Atomic;
using Jarvis.Framework.Tests.ProjectionsTests.Atomic.Support;
using NUnit.Framework;
using System;
using System.Threading.Tasks;
namespace Jarvis.Framework.Tests.ProjectionsTests.Atomic
{
[TestFixture]
public class... | ProximoSrl/Jarvis.Framework | Jarvis.Framework.Tests/ProjectionsTests/Atomic/LiveAtomicReadModelProcessorTests.cs | https://github.com/ProximoSrl/Jarvis.Framework/blob/HEAD/Jarvis.Framework.Tests/ProjectionsTests/Atomic/LiveAtomicReadModelProcessorTests.cs | ghcode:00008:12df607c3762 | mit | codeparrot/github-code | 12df607c37625b26e90949ef1d8d00f641cbd6dfd380d75c4250552957f2b36e | 0.85 | testing_debugging_repair_refactoring | 1,319 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Affecto.Identifiers.Finnish.Tests
{
[TestClass]
public class PostalCodeTests
{
private const string ValidPostalCode = "20610";
private PostalCode sut;
[TestMethod]
public void FiveDigitPos... | affecto/dotnet-Identifiers.Finnish | Identifiers.Finnish.Tests/PostalCodeTests.cs | https://github.com/affecto/dotnet-Identifiers.Finnish/blob/HEAD/Identifiers.Finnish.Tests/PostalCodeTests.cs | ghcode:00008:3ed1d45c6fa6 | mit | codeparrot/github-code | 3ed1d45c6fa67e676877869dc7926216368eab9783e8944054da2530c78b833d | 0.75 | testing_debugging_repair_refactoring | 740 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using SotnWiki.Data.Common;
using SotnWiki.Data.Common.Contracts;
using SotnWiki.DataServices.Contracts;
using SotnWiki.Models;
using System;
namespace SotnWiki.DataServices.Tests.ContentSubmissionServiceTests
{
[TestFixture]
public class DismissEditShould
{
[Test... | TalicZealot/Frontslide-Wiki | SotnWiki/UnitTests/Services/SotnWiki.DataServices.Tests/ContentSubmissionServiceTests/DismissEditShould.cs | https://github.com/TalicZealot/Frontslide-Wiki/blob/HEAD/SotnWiki/UnitTests/Services/SotnWiki.DataServices.Tests/ContentSubmissionServiceTests/DismissEditShould.cs | ghcode:00008:2660a359c316 | mit | codeparrot/github-code | 2660a359c3161d128c299c82bcdfd9562eaf162a4b539224e83c7e09b5caef28 | 0.7 | testing_debugging_repair_refactoring | 495 | false | 2026-07-17 |
using System.Text;
using Xunit;
using Yggdrasil.Network.WebSocket;
namespace Yggdrasil.Test.Network
{
public class WebSocketFrameTests
{
[Fact]
public void InitUnmasked()
{
var framer = new WebSocketFramer(1024);
var buffer = framer.Frame(new byte[] { 4, 5, 6 }, false);
var frame = new WebSocketFram... | aura-project/Yggdrasil | Yggdrasil.Test/Network/WebSocketFrame.cs | https://github.com/aura-project/Yggdrasil/blob/HEAD/Yggdrasil.Test/Network/WebSocketFrame.cs | ghcode:00008:ba0be043c995 | mit | codeparrot/github-code | ba0be043c9956915fadb293fb71cbd80791b34c57525e143887a7497004d5af3 | 0.6 | testing_debugging_repair_refactoring | 354 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Moq;
using SocketConnection = MorseL.Sockets.Connection;
using Xunit;
using MorseL.Shared.Tests;
namespace MorseL.Tests
{
[Trait("Category", "Hub")]
public class HubWebSocketHandlerTests
{
public class DefaultHub : Hub<IClientInvoker>
{ }
... | ryanwersal/MorseL | test/MorseL.Tests/HubWebSocketHandlerTests.cs | https://github.com/ryanwersal/MorseL/blob/HEAD/test/MorseL.Tests/HubWebSocketHandlerTests.cs | ghcode:00008:af9aa3f60e86 | mit | codeparrot/github-code | af9aa3f60e8645b40a172f448765eecb662a71880f6ef1eab1711f440111e90b | 0.75 | testing_debugging_repair_refactoring | 966 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using Anotar.Catel;
// ReSharper disable UnusedVariable
#pragma warning disable 162
#pragma warning disable 649
public class ReturnFixerTests
{
[LogToDebugOnException]
public object MethodWithHangingHandlerEnd()
{
try
{
throw new Exceptio... | mstyura/Anotar | CatelAssemblyToProcess/ReturnFixerTests.cs | https://github.com/mstyura/Anotar/blob/HEAD/CatelAssemblyToProcess/ReturnFixerTests.cs | ghcode:00008:54fecc26576a | mit | codeparrot/github-code | 54fecc26576a08545ef20daa7f486c55114ebcfff827dacba1584d0dea23ff95 | 0.85 | testing_debugging_repair_refactoring | 630 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Pacman_Tests
{
/// <summary>
/// Description résumée pour TestsGhost
/// </summary>
[TestClass]
public class TestsGhost
{
public TestsGhost()
{
... | Malpp/TP2-Pacman | Pacman_Tests/TestsGhost.cs | https://github.com/Malpp/TP2-Pacman/blob/HEAD/Pacman_Tests/TestsGhost.cs | ghcode:00008:644cd25aedb5 | mit | codeparrot/github-code | 644cd25aedb5cc08b9020cf98aed6ea7e107a223a26446373a35926b2765497c | 0.85 | testing_debugging_repair_refactoring | 435 | false | 2026-07-17 |
namespace Santase.Logic.Tests.RoundStates
{
using Moq;
using Santase.Logic.RoundStates;
using Xunit;
public class TwoCardsLeftRoundStateTests
{
[Fact]
public void WhenTwoCardsAreLeftItIsPossibleToAnnounce20Or40()
{
var haveStateMock = new Mock<IStateManager>()... | NikolayIT/SantaseGameEngine | src/Tests/Santase.Logic.Tests/RoundStates/TwoCardsLeftRoundStateTests.cs | https://github.com/NikolayIT/SantaseGameEngine/blob/HEAD/src/Tests/Santase.Logic.Tests/RoundStates/TwoCardsLeftRoundStateTests.cs | ghcode:00008:6d6e8f116eb2 | mit | codeparrot/github-code | 6d6e8f116eb22e0cd4c62229cecfceddc52caca02efe8a2bae869aaadc6de08a | 0.85 | testing_debugging_repair_refactoring | 523 | false | 2026-07-17 |
using System;
class Test
{
void f()
{
// BAD
var bad1 = (int)1;
var bad2 = (Test)this;
var bad3 = this as Test;
// GOOD
var good1 = (object)1;
var good2 = (int)good1;
var good3 = 1 as object;
var good4 = good1 as Test;
var good5 =... | github/codeql | csharp/ql/test/query-tests/Language Abuse/UselessCastToSelf/UselessCastToSelf.cs | https://github.com/github/codeql/blob/HEAD/csharp/ql/test/query-tests/Language Abuse/UselessCastToSelf/UselessCastToSelf.cs | ghcode:00008:ff1e3c557ac8 | mit | codeparrot/github-code | ff1e3c557ac8f96da2e259702613fe0d24c5a86cc433f50afba9e4874bf6f65e | 0.95 | testing_debugging_repair_refactoring | 206 | false | 2026-07-17 |
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using NUnit.Framework;
using System;
using System.Globalization;
using TinyCsvParser.TypeConverter;
namespace TinyCsvParser.Test.TypeConverter
{
[TestFixture]
public class NullableInt64ConverterTest : BaseCo... | bytefish/TinyCsvParser | TinyCsvParser/TinyCsvParser.Test/TypeConverter/NullableInt64ConverterTest.cs | https://github.com/bytefish/TinyCsvParser/blob/HEAD/TinyCsvParser/TinyCsvParser.Test/TypeConverter/NullableInt64ConverterTest.cs | ghcode:00008:1e0e2053b36b | mit | codeparrot/github-code | 1e0e2053b36b6ab23984431322da1d97129460343b28001870e86bcd1f7a0eff | 0.6 | testing_debugging_repair_refactoring | 380 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Modules.TraktUsersModule
{
using FluentAssertions;
using System;
using System.Net;
using System.Threading.Tasks;
using TestUtils;
using Traits;
using TraktApiSharp.Exceptions;
using TraktApiSharp.Objects.Get.Users;
using TraktApiSharp.Responses;
usi... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Modules/TraktUsersModule/TraktUsersModule_GetFollowers_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Modules/TraktUsersModule/TraktUsersModule_GetFollowers_Tests.cs | ghcode:00008:b5a4cd7df211 | mit | codeparrot/github-code | b5a4cd7df2115a3799ee755811a8df99e16f3c977de542b2af8c7a0431e299b2 | 0.85 | testing_debugging_repair_refactoring | 2,007 | false | 2026-07-17 |
using GraphQL.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Should;
using Xunit;
namespace GraphQL.Tests.Execution.Cancellation
{
public class CancellationSchema : Schema
{
public CancellationSc... | josdeweger/graphql-dotnet | src/GraphQL.Tests/Execution/Cancellation/CancellationTests.cs | https://github.com/josdeweger/graphql-dotnet/blob/HEAD/src/GraphQL.Tests/Execution/Cancellation/CancellationTests.cs | ghcode:00008:fac789d18bcf | mit | codeparrot/github-code | fac789d18bcf82e0e278051db61f307fe263514d9233b6f79c68a68cb8c4a2e3 | 0.75 | testing_debugging_repair_refactoring | 386 | false | 2026-07-17 |
namespace Sitecore.FakeDb.Tests.Data.DataProviders
{
using System;
using System.Linq;
using FluentAssertions;
using NSubstitute;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoNSubstitute;
using Ploeh.AutoFixture.Xunit2;
using Sitecore.Data;
using Sitecore.Data.DataProviders;
using Sitecore.D... | hermanussen/Sitecore.FakeDb | src/Sitecore.FakeDb.Tests/Data/DataProviders/FakeDataProviderTest.cs | https://github.com/hermanussen/Sitecore.FakeDb/blob/HEAD/src/Sitecore.FakeDb.Tests/Data/DataProviders/FakeDataProviderTest.cs | ghcode:00008:21367fa4eda1 | mit | codeparrot/github-code | 21367fa4eda1fa7b75fe958224ac4d5143a6d9a7083420c1e66ae8ba84836a74 | 0.7 | testing_debugging_repair_refactoring | 1,690 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lucene.Net.Analysis;
using Lucene.Net.Documents;
using Lucene.Net.Index;
using Lucene.Net.Search;
using Lucene.Net.Store;
using Xunit;
namespace ChapterTests._03
{
public class QueryParserTest... | joshball/Lucene.In.Action.NET | ChapterTests/03/QueryParserTest.cs | https://github.com/joshball/Lucene.In.Action.NET/blob/HEAD/ChapterTests/03/QueryParserTest.cs | ghcode:00008:f2df00859481 | mit | codeparrot/github-code | f2df00859481dee232768a202cd264fea6590582906d9cd6f2bde3d8772bae4a | 0.85 | testing_debugging_repair_refactoring | 333 | false | 2026-07-17 |
namespace ElasticAnalytics.Tests.Common.Customizations
{
using ElasticAnalytics.Repository.Types;
using ElasticAnalytics.Service.Types;
using ElasticAnalytics.SessionRepository.Types.Configuration;
using ElasticAnalytics.Tests.Common.EsUtils;
using Ploeh.AutoFixture;
public class TestIndicesU... | trevorreeves/Sitecore-ElasticAnalytics | code/tests/ElasticAnalytics.Tests.Common/Customizations/TestIndicesUtilCustomization.cs | https://github.com/trevorreeves/Sitecore-ElasticAnalytics/blob/HEAD/code/tests/ElasticAnalytics.Tests.Common/Customizations/TestIndicesUtilCustomization.cs | ghcode:00008:4fde070c1897 | mit | codeparrot/github-code | 4fde070c1897b68af87aa2f741ddb11b6cae71017586b79e04659a42e1a61e4a | 0.85 | testing_debugging_repair_refactoring | 172 | false | 2026-07-17 |
using NUnit.Framework;
using Ecos.DBInit.Core.ScriptsHelpers;
using Ecos.DBInit.Core.Model;
using System.Collections.Generic;
namespace Ecos.DBInit.Test.Helpers
{
[TestFixture]
public class ScriptAppenderTest
{
[Test]
public void WhenIInvokeGetScriptsFromWithStreamReaderCollectionThenItRet... | pvergara/DBInit | Ecos.DBInit.Test/Helpers/ScriptAppenderTest.cs | https://github.com/pvergara/DBInit/blob/HEAD/Ecos.DBInit.Test/Helpers/ScriptAppenderTest.cs | ghcode:00008:85a9c46862db | mit | codeparrot/github-code | 85a9c46862db7cb857c97a4a958cab32f394ebe8807f3660595006b1909da8ed | 0.6 | testing_debugging_repair_refactoring | 177 | false | 2026-07-17 |
using System.Collections;
using System.Linq;
using FlatRedBall.Content.Scene;
using Microsoft.Xna.Framework;
using TMXGlueLib;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace TMXGlueTest
{
/// <summary>
///This is a test class for TiledMapSaveTes... | vchelaru/FlatRedBall | Tiled/TMXGlueTest/TiledMapSaveTest.cs | https://github.com/vchelaru/FlatRedBall/blob/HEAD/Tiled/TMXGlueTest/TiledMapSaveTest.cs | ghcode:00008:3730f3c70460 | mit | codeparrot/github-code | 3730f3c70460739d73ac54eaae0824bfa3b32bc75569d2b06baf610e3bbf68bf | 0.7 | testing_debugging_repair_refactoring | 7,015 | false | 2026-07-17 |
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
using BenchmarkDotNet.Loggers;
namespace BenchmarkDotNet.Toolchains.DotNetCli
{
internal class DotNetCliCommandExecutor
{
internal static string GetDotNetCliVersion()
{... | redknightlois/BenchmarkDotNet | BenchmarkDotNet/Toolchains/DotNetCli/DotNetCliCommandExecutor.cs | https://github.com/redknightlois/BenchmarkDotNet/blob/HEAD/BenchmarkDotNet/Toolchains/DotNetCli/DotNetCliCommandExecutor.cs | ghcode:00008:599eb8cd4697 | mit | codeparrot/github-code | 599eb8cd46970fd230d305369bfa5d46eb1b3b6898aa3894af73cd5273b37ebf | 0.7 | testing_debugging_repair_refactoring | 458 | false | 2026-07-17 |
using BootstrapMvc.Forms;
using BootstrapMvc.Controls;
using Xunit;
namespace BootstrapMvc
{
public class FormsTest : TestBase
{
[Fact]
public void Test_Form_Horizontal()
{
using (var form = new Form<dynamic>() { TypeValue = FormType.Horizontal }.BeginContent(writer, contex... | justdmitry/BootstrapMvc | test/BootstrapMvc.Bootstrap3.Tests/FormsTest.cs | https://github.com/justdmitry/BootstrapMvc/blob/HEAD/test/BootstrapMvc.Bootstrap3.Tests/FormsTest.cs | ghcode:00008:babc6aa2b4b8 | mit | codeparrot/github-code | babc6aa2b4b87965e229b14ef59c88e3095b01860fcd7ae48860d3911fa03d17 | 0.6 | testing_debugging_repair_refactoring | 765 | false | 2026-07-17 |
using System;
using System.IO;
using Atata.Tests.DataProvision;
using NUnit.Framework;
using NUnit.Framework.Internal;
namespace Atata.Tests
{
public class NLogFileConsumerTests : UITestFixtureBase
{
[Test]
public void ConfigureByDefault()
{
ConfigureBaseAtataContext()
... | YevgeniyShunevych/Atata | test/Atata.Tests/NLogFileConsumerTests.cs | https://github.com/YevgeniyShunevych/Atata/blob/HEAD/test/Atata.Tests/NLogFileConsumerTests.cs | ghcode:00008:b60ff53c78c3 | mit | codeparrot/github-code | b60ff53c78c391cc230b6be67dc874eff1040f0eb16c1b537e3dab1891548acd | 0.75 | testing_debugging_repair_refactoring | 658 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ScriptLinkStandard.Helpers;
namespace ScriptLinkStandard.Tests.HelpersTests
{
[TestClass]
public class IsValidRowActionTests
{
[TestMethod]
public void IsValidRowAction_Null()
{
string rowAction = null;
... | rcskids/ScriptLinkStandard | ScriptLinkStandard.Tests/HelpersTests/IsValidRowActionTests.cs | https://github.com/rcskids/ScriptLinkStandard/blob/HEAD/ScriptLinkStandard.Tests/HelpersTests/IsValidRowActionTests.cs | ghcode:00008:764a6b7a7586 | mit | codeparrot/github-code | 764a6b7a7586751cf6173e805767799d383413bec003ee6fc8c7cb845bb4a4e1 | 0.75 | testing_debugging_repair_refactoring | 259 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Simplic.AdaptiveTesting.Testing
{
/// <summary>
/// Class to store a collection of testcases. This class directly implement IEnumeratble to be an iterable lis... | simplicbe/Simplic.AdaptiveTesting | src/Simplic.AdaptiveTesting/Testing/TestCollection.cs | https://github.com/simplicbe/Simplic.AdaptiveTesting/blob/HEAD/src/Simplic.AdaptiveTesting/Testing/TestCollection.cs | ghcode:00008:40ab65f46991 | mit | codeparrot/github-code | 40ab65f469914137f31f22e33e2b93a4f5c79afb3b71bc26f04a870ef01ca786 | 0.85 | testing_debugging_repair_refactoring | 312 | 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 Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.Utilities;
#if UNITY_WSA
using Unity.Profiling;
using UnityEngine;
using UnityEngin... | SystemFriend/HoloLensUnityChan | Assets/MRTK/Providers/WindowsMixedReality/XR2018/Controllers/BaseWindowsMixedRealitySource.cs | https://github.com/SystemFriend/HoloLensUnityChan/blob/HEAD/Assets/MRTK/Providers/WindowsMixedReality/XR2018/Controllers/BaseWindowsMixedRealitySource.cs | ghcode:00008:245b59e1454f | mit | codeparrot/github-code | 245b59e1454fd667ef418ac963640c1a28143dc4adf9d59d37f7566ed819cbd9 | 0.7 | testing_debugging_repair_refactoring | 3,173 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace School.Tests
{
[TestClass]
public class TestStudents
{
[TestMethod]
[ExpectedException(typeof(ArgumentNullException))]
public void StudentHasInvalidName()
{
string name = "";
... | karabeliov/Telerik-Academy | Courses/High-Quality-Code/11.Unit-Testing/01.School.Tests/TestSchool.cs | https://github.com/karabeliov/Telerik-Academy/blob/HEAD/Courses/High-Quality-Code/11.Unit-Testing/01.School.Tests/TestSchool.cs | ghcode:00008:2179ccede924 | mit | codeparrot/github-code | 2179ccede9249c256572b060e8f449e53c86b04fe00ab1b97d5ca855cca69a69 | 0.75 | testing_debugging_repair_refactoring | 361 | false | 2026-07-17 |
using Solution.Base.Implementation.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DND.Core.Models
{
public class Testimonial : BaseEntityAuditable<int>
{
[Required, Strin... | davidikin45/DigitalNomadDave | DND.Core/Models/Testimonial.cs | https://github.com/davidikin45/DigitalNomadDave/blob/HEAD/DND.Core/Models/Testimonial.cs | ghcode:00008:0edc43cb3c41 | mit | codeparrot/github-code | 0edc43cb3c4129b63c5be8cae2715a0650f3048f5631da79daf4fdc5f20fb900 | 0.75 | testing_debugging_repair_refactoring | 145 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RichTea.CommandLineParser.Exceptions;
using System;
using System.Linq;
using System.Reflection;
namespace RichTea.CommandLineParser.Tests
{
[TestClass]
public class MultipleDefaultInvokerTest
{
private static MethodInvocationInfo methodInvoc... | RichTeaMan/CommandLineParser | CommandLineParser.Tests/MultipleDefaultInvokerTest.cs | https://github.com/RichTeaMan/CommandLineParser/blob/HEAD/CommandLineParser.Tests/MultipleDefaultInvokerTest.cs | ghcode:00008:905393f1034d | mit | codeparrot/github-code | 905393f1034d1ae01c814cf41494843c2f9a0f01ae2fe961fe9441bce6631315 | 0.6 | testing_debugging_repair_refactoring | 339 | false | 2026-07-17 |
using AutoFixture;
using AutoFixture.AutoMoq;
using Kralizek.AspNetCore.Metrics;
using Kralizek.AspNetCore.Metrics.Util;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace Tests.Util
{
[TestFixture]
public class MetricDimensionEqualityComparerTests
... | Kralizek/AspNetCore.Metrics | tests/Metrics.Tests/Util/MetricDimensionEqualityComparerTests.cs | https://github.com/Kralizek/AspNetCore.Metrics/blob/HEAD/tests/Metrics.Tests/Util/MetricDimensionEqualityComparerTests.cs | ghcode:00008:9c34e14bf930 | mit | codeparrot/github-code | 9c34e14bf930204467c92daea8166c7c0b84a72c8d3172f167e4a3edfcfe7f02 | 0.75 | testing_debugging_repair_refactoring | 299 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bitcraft.StateMachine.UnitTests.HandWritten.States
{
public class EndState : StateBase
{
public EndState()
: base(HandWrittenStateTokens.EndSt... | bitcraftCoLtd/finite-state-machine | Runtime/CSharp/Bitcraft.StateMachine.UnitTests/HandWritten/States/EndState.cs | https://github.com/bitcraftCoLtd/finite-state-machine/blob/HEAD/Runtime/CSharp/Bitcraft.StateMachine.UnitTests/HandWritten/States/EndState.cs | ghcode:00008:ada02942e70e | mit | codeparrot/github-code | ada02942e70e9d0720c5beb704b67ba9942470ac6c7f6107349b8db7d2d9615d | 0.6 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
namespace FakeWin8.Tests
{
using FakeWin8.Conditions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class AnyTests
{
[TestMethod]
public void ShouldAlwaysReturnTrueWhenCreatingIsOK()
{
var predicate = Any<byte>.IsOK();
... | dschenkelman/fakewin8 | src/FakeWin8.Tests/AnyTests.cs | https://github.com/dschenkelman/fakewin8/blob/HEAD/src/FakeWin8.Tests/AnyTests.cs | ghcode:00008:687510ff0156 | mit | codeparrot/github-code | 687510ff0156e0a5d3cf2e10e753d559bd604c0f7dc6c17ccf68f81d814e8cdc | 0.75 | testing_debugging_repair_refactoring | 94 | false | 2026-07-17 |
// <copyright file="When_Getting_MemberInfos.cs" company="million miles per hour ltd">
// Copyright (c) 2013-2014 All Right Reserved
//
// This source is subject to the MIT License.
// Please see the License.txt file for more information.
// All other rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS ... | DanHarman/KodeKandy | Source/Core.Tests/ExpressionHelpersTests/When_Getting_MemberInfos.cs | https://github.com/DanHarman/KodeKandy/blob/HEAD/Source/Core.Tests/ExpressionHelpersTests/When_Getting_MemberInfos.cs | ghcode:00008:b5c1c239ea26 | mit | codeparrot/github-code | b5c1c239ea26966f07142cf93864511d68523ce6d7fe7706832d40935ddb9671 | 0.7 | testing_debugging_repair_refactoring | 514 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using LiTra.Transformation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tests.TestStructures.Persons;
namespace Tests.FunctionalityTests.TransformerTests {
[TestClass]
public class Cyc... | litraorg/LiTra | Tests/FunctionalityTests/TransformerTests/CycleTests.cs | https://github.com/litraorg/LiTra/blob/HEAD/Tests/FunctionalityTests/TransformerTests/CycleTests.cs | ghcode:00008:55cb27533717 | mit | codeparrot/github-code | 55cb2753371743cce2e758b94acdc952144b7fd9dd375c5485ec5c225cf09bb3 | 0.75 | testing_debugging_repair_refactoring | 570 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MyHome.DataClasses.Tests
{
[TestClass]
public class IncomeTests
{
[TestMethod]
public void Equals_All_Fields_Are_Same()
{
var first = new Income
{
Amount = 120,
... | M-Zuber/MyHome | Tests/Unit Tests/MyHome.DataClasses.Tests/IncomeTests.cs | https://github.com/M-Zuber/MyHome/blob/HEAD/Tests/Unit Tests/MyHome.DataClasses.Tests/IncomeTests.cs | ghcode:00008:ebcba9237582 | mit | codeparrot/github-code | ebcba92375825328d5b314f893a62bc4732d160ac163f9fc63bf73605a30b3cb | 0.75 | testing_debugging_repair_refactoring | 1,797 | false | 2026-07-17 |
using System;
using System.Threading.Tasks.Dataflow;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using statsd.net.Framework;
using statsd.net.shared.Messages;
using statsd.net_Tests.Infrastructure;
namespace statsd.net_Tests
{
[TestClass]
public class TimedCounterAggregatorBlockTests
... | madhon/statsd.net | statsd.net-Tests/TimedCounterAggregatorBlockTests.cs | https://github.com/madhon/statsd.net/blob/HEAD/statsd.net-Tests/TimedCounterAggregatorBlockTests.cs | ghcode:00008:b2351d2efcc4 | mit | codeparrot/github-code | b2351d2efcc405d65d39f0e84cd8575bda371fb435ccec73e00e61407766625e | 0.75 | testing_debugging_repair_refactoring | 452 | false | 2026-07-17 |
// AuthenticationTests.cs
//
// Author:
// Ricky Curtice <ricky@rwcproductions.com>
//
// Copyright (c) 2016 Richard Curtice
//
// 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 witho... | kf6kjg/Anaximander2 | Source/UnitTests/RestAPI/AuthenticationTests.cs | https://github.com/kf6kjg/Anaximander2/blob/HEAD/Source/UnitTests/RestAPI/AuthenticationTests.cs | ghcode:00008:073e2506c20c | mit | codeparrot/github-code | 073e2506c20c57df9aa3b7be15bf2bbb047ae82e443c64094d50db1f3948e351 | 0.85 | testing_debugging_repair_refactoring | 1,596 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Sonneville.Fidelity.Shell.FidelityWebDriver;
using Sonneville.Investing.Domain;
using TradingPosition = Sonneville.Investing.Trading.Position;
using WebDriverPosition = Sonneville.Investing.Domain.Position;
namespace Sonne... | SonnevilleJ/Investing | Sonneville.Fidelity.Shell.Test/FidelityWebDriver/PositionMapperTests.cs | https://github.com/SonnevilleJ/Investing/blob/HEAD/Sonneville.Fidelity.Shell.Test/FidelityWebDriver/PositionMapperTests.cs | ghcode:00008:5c48818bb33c | mit | codeparrot/github-code | 5c48818bb33c8acd4facd798df57fca6d373269c5eae357e16a862bb1a82a6fe | 0.75 | testing_debugging_repair_refactoring | 470 | false | 2026-07-17 |
using System;
class Test {
public static int Main () {
int [] n = new int [1];
int b = 16;
n [0] = 100 + (1 << (16 - b));
Console.WriteLine (n [0]);
if (n [0] != 101)
return 1;
return 0;
}
}
| jbatonnet/system | Source/[Libraries]/Mono/mono/tests/shift.cs | https://github.com/jbatonnet/system/blob/HEAD/Source/[Libraries]/Mono/mono/tests/shift.cs | ghcode:00008:08ca81c8001d | mit | codeparrot/github-code | 08ca81c8001d1e64d3f8bdd7ac618a403b743a8600bcabaf07af207f1f45fa43 | 0.85 | testing_debugging_repair_refactoring | 86 | false | 2026-07-17 |
// Description: C# Extension Methods | Enhance the .NET Framework and .NET Core with over 1000 extension methods.
// Website & Documentation: https://csharp-extension.com/
// Issues: https://github.com/zzzprojects/Z.ExtensionMethods/issues
// License (MIT): https://github.com/zzzprojects/Z.ExtensionMethods/blob/master/... | zzzprojects/Z.ExtensionMethods | test/Z.Core.Test/System.String/String.EncodeBase64.cs | https://github.com/zzzprojects/Z.ExtensionMethods/blob/HEAD/test/Z.Core.Test/System.String/String.EncodeBase64.cs | ghcode:00008:3dcfe82c8378 | mit | codeparrot/github-code | 3dcfe82c837859382b3fc480fa98006fb60abc6e5cea146bf04b4ec19ade02c6 | 0.7 | testing_debugging_repair_refactoring | 196 | false | 2026-07-17 |
#region Copyright (c) 2017 Leoxia Ltd
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="GraphComparerTest.cs" company="Leoxia Ltd">
// Copyright (c) 2017 Leoxia Ltd
// </copyright>
//
// .NET Software Development
// https://... | leoxialtd/Leoxia.Core | test/Leoxia.Graphs.Test/GraphComparerTest.cs | https://github.com/leoxialtd/Leoxia.Core/blob/HEAD/test/Leoxia.Graphs.Test/GraphComparerTest.cs | ghcode:00008:8df1f91270a7 | mit | codeparrot/github-code | 8df1f91270a7b39e08aa073055cd7036dcfc44afe63b20011d0bc26a96f28b44 | 0.7 | testing_debugging_repair_refactoring | 830 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using BizwebSharp.Infrastructure;
using Xunit;
namespace BizwebSharp.Tests.xUnit
{
[Trait("Category", "Product")]
public class Product_Tests : IClassFixture<Product_Tests_Fixture>
{
p... | vinhch/BizwebSharp | test/BizwebSharp.Tests.xUnit/Product_Tests.cs | https://github.com/vinhch/BizwebSharp/blob/HEAD/test/BizwebSharp.Tests.xUnit/Product_Tests.cs | ghcode:00008:504dda22a26e | mit | codeparrot/github-code | 504dda22a26e70f2b7d260f7ea0f1b0fe639534062679a6faf4b84ad6c3378da | 0.85 | testing_debugging_repair_refactoring | 1,130 | false | 2026-07-17 |
// Description: C# Extension Methods | Enhance the .NET Framework and .NET Core with over 1000 extension methods.
// Website & Documentation: https://csharp-extension.com/
// Issues: https://github.com/zzzprojects/Z.ExtensionMethods/issues
// License (MIT): https://github.com/zzzprojects/Z.ExtensionMethods/blob/master/... | zzzprojects/Z.ExtensionMethods | test/Z.Reflection.Test/GetCustomAttribute/Object.GetCustomAttributesByName.cs | https://github.com/zzzprojects/Z.ExtensionMethods/blob/HEAD/test/Z.Reflection.Test/GetCustomAttribute/Object.GetCustomAttributesByName.cs | ghcode:00008:af3bd9618a3d | mit | codeparrot/github-code | af3bd9618a3d3ac564352afc8dbb8b14f84d3c188cef43659562784d94151401 | 0.7 | testing_debugging_repair_refactoring | 594 | false | 2026-07-17 |
using System;
using GhprMSTest.SpecFlowPlugin;
using GhprSpecFlow.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TechTalk.SpecFlow;
namespace Ghpr.TestsForDebug.MSTestTests
{
[Binding]
public class TestSteps : Steps
{
public static byte[] TakeScreen()
{
retur... | GHPReporter/Ghpr.SpecFlow | Ghpr.SpecFlowPlugin/Ghpr.TestsForDebug.MSTest/TestSteps.cs | https://github.com/GHPReporter/Ghpr.SpecFlow/blob/HEAD/Ghpr.SpecFlowPlugin/Ghpr.TestsForDebug.MSTest/TestSteps.cs | ghcode:00008:22527d2314de | mit | codeparrot/github-code | 22527d2314de9f0542fe1d013ba2ccdb76630f4d728b915e33fab4fce7abe716 | 0.75 | testing_debugging_repair_refactoring | 2,370 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Moq;
using NUnit.Framework;
using HomeMadeFood.Data.Data;
using HomeMadeFood.Models;
namespace HomeMadeFood.Services.Data.UnitTests.FoodCategoriesServiceUnitTests
{
[TestFixture]
public class GetAllFoodCategories_Should
{
[Test]
... | MilStancheva/HomeMadeFood | HomeMadeFood/Tests/HomeMadeFood.Services.Data.UnitTests/FoodCategoriesServiceUnitTests/GetAllFoodCategories_Should.cs | https://github.com/MilStancheva/HomeMadeFood/blob/HEAD/HomeMadeFood/Tests/HomeMadeFood.Services.Data.UnitTests/FoodCategoriesServiceUnitTests/GetAllFoodCategories_Should.cs | ghcode:00008:3ea937aff2b5 | mit | codeparrot/github-code | 3ea937aff2b5f1564dc5cfa0a9a39c5b2953733bf5eef7f3ce4cc275560ac507 | 0.95 | testing_debugging_repair_refactoring | 561 | false | 2026-07-17 |
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// File: StringBuilderExtFormat.cs
// Date: 11th March 2010
// Author: Gavin Pugh
// Details: Extension methods for the 'StringBuilder' standard .NET class, to allow garbage-free concatenation of
//... | sarbian/GCMonitor | StringTest/StringBuilderExtFormat.cs | https://github.com/sarbian/GCMonitor/blob/HEAD/StringTest/StringBuilderExtFormat.cs | ghcode:00008:2c9bf9c3990d | mit | codeparrot/github-code | 2c9bf9c3990d3ac128dea401bf32973f71d4679a03fae3fe70f3e8ad79e0fc62 | 0.7 | testing_debugging_repair_refactoring | 1,579 | false | 2026-07-17 |
namespace Elementary.Memoization.Test
{
using Elementary.Memoization;
using NUnit.Framework;
using System;
[TestFixture]
public class Memoization_3P_Tuples_notTS_Test
{
private int toStringCalled = 0;
private string toString(int from1, int from2, int from3)
{
... | wgross/Elementary.Memoization | test/Elementary.Memoization.Test/Memoization_3P_Tuples_notTS_Test.cs | https://github.com/wgross/Elementary.Memoization/blob/HEAD/test/Elementary.Memoization.Test/Memoization_3P_Tuples_notTS_Test.cs | ghcode:00008:0899fa7b336d | mit | codeparrot/github-code | 0899fa7b336da82ed2a3d899adb966adeea7d35ebb959da5a90bc2c427f58687 | 0.7 | testing_debugging_repair_refactoring | 555 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Xunit;
namespace Restall.Ichnaea.Fody.Tests.Integration
{
public class SourceEventFromProtectedInternalNestedClassTest: AggregateRootTest
{
public SourceEventFromProtectedInternalNestedClassTest():
base(ModuleWeaverFixture.AggregateRootFactory.CreateAggregateRootFrom... | pete-restall/Ichnaea | Fody/Ichnaea.Fody.Tests/Integration/SourceEventFromProtectedInternalNestedClassTest.cs | https://github.com/pete-restall/Ichnaea/blob/HEAD/Fody/Ichnaea.Fody.Tests/Integration/SourceEventFromProtectedInternalNestedClassTest.cs | ghcode:00008:3743eaacca74 | mit | codeparrot/github-code | 3743eaacca747b3c63abe4c15c4b50436e014a6c33d95a30da64c220c6a9ee3a | 0.6 | testing_debugging_repair_refactoring | 149 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cassandra.Data.Linq;
using Cassandra.IntegrationTests.Mapping.Structures;
using Cassandra.IntegrationTests.TestBase;
using Cassandra.Mapping;
using NUnit.Framework;
namespace Cassandra.IntegrationTests.Mapping.Tests
{
[Cat... | trurl123/csharp-driver | src/Cassandra.IntegrationTests/Mapping/Tests/CqlClientConfig.cs | https://github.com/trurl123/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/Mapping/Tests/CqlClientConfig.cs | ghcode:00008:0158ceff503d | apache-2.0 | codeparrot/github-code | 0158ceff503d4b7ed5765673605354ef5530391666b22f01832c252470f566f2 | 0.95 | testing_debugging_repair_refactoring | 1,873 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Google.GData.Client.UnitTests.Core
{
/// <summary>
///This is a test class for ServiceEventArgsTest and is intended
///to contain all ServiceEventArgsTest Unit Tests
///</summary>
[TestFixture]
[Category("CoreClient")]
public class ServiceEve... | jonny-novikov/google-gdata | src/unittests/core/ServiceEventArgsTest.cs | https://github.com/jonny-novikov/google-gdata/blob/HEAD/src/unittests/core/ServiceEventArgsTest.cs | ghcode:00008:849351c99a8d | apache-2.0 | codeparrot/github-code | 849351c99a8d80655ee9ac1e9e92b8de860d7f03e1fbae7034bf2e55f3becb67 | 0.7 | testing_debugging_repair_refactoring | 645 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Amazon;
using Amazon.SQS;
using Amazon.SQS.Model;
using JustBehave;
using JustSaying.AwsTools.MessageHandling;
using JustSaying.Messaging.MessageSerialisation;
using JustSaying.Messaging.Monitoring;
using JustSaying.TestingFra... | eric-davis/JustSaying | JustSaying.UnitTests/AwsTools/MessageHandling/SqsNotificationListener/WhenThereAreExceptionsInMessageProcessing.cs | https://github.com/eric-davis/JustSaying/blob/HEAD/JustSaying.UnitTests/AwsTools/MessageHandling/SqsNotificationListener/WhenThereAreExceptionsInMessageProcessing.cs | ghcode:00008:18480c24efa5 | apache-2.0 | codeparrot/github-code | 18480c24efa598ce008e5d74c1eefe4e690c4e3118140fa44688fc67a15c988e | 0.6 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using Nest.Searchify.Abstractions;
using Xunit;
namespace Nest.Searchify.Tests.Parameters
{
public enum EnumTypeOptions
{
OptionOne,
OptionTwo
}
... | valeriegibson/Nest-Searchify | tests/Nest.Searchify.Tests/Parameters/ParametersContext.cs | https://github.com/valeriegibson/Nest-Searchify/blob/HEAD/tests/Nest.Searchify.Tests/Parameters/ParametersContext.cs | ghcode:00008:6b33a95823cc | apache-2.0 | codeparrot/github-code | 6b33a95823cc7a5d04870ed624e4267cb0afa210c1abde2628eda93518586da4 | 0.6 | testing_debugging_repair_refactoring | 245 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IPTables.Net.Iptables.U32;
using NUnit.Framework;
namespace IPTables.Net.Tests
{
[TestFixture]
internal class U32ParserTests
{
[TestCase]
public void U32RangeParseTest()
{
String... | splitice/IPTables.Net | IPTables.Net.Tests/U32ParserTests.cs | https://github.com/splitice/IPTables.Net/blob/HEAD/IPTables.Net.Tests/U32ParserTests.cs | ghcode:00008:f8587c4dec10 | apache-2.0 | codeparrot/github-code | f8587c4dec100ae6b82347e5e8a016b2915789295183a605d09f424d9017d330 | 0.75 | testing_debugging_repair_refactoring | 601 | 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.Concurrent;
using System.Collections.Generic;
using Syste... | shyamnamboodiripad/roslyn | src/Compilers/Core/Portable/Emit/CommonPEModuleBuilder.cs | https://github.com/shyamnamboodiripad/roslyn/blob/HEAD/src/Compilers/Core/Portable/Emit/CommonPEModuleBuilder.cs | ghcode:00008:3989b14c3434 | apache-2.0 | codeparrot/github-code | 3989b14c34346f1a7c77e0529e409f823ae4cd74787e9217fb92df0e3c5ceecb | 0.85 | testing_debugging_repair_refactoring | 7,499 | false | 2026-07-17 |
// Copyright 2020 The Tilt Brush Authors
//
// 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 applicable law or ... | googlevr/tilt-brush | Assets/Scripts/FbxReader.cs | https://github.com/googlevr/tilt-brush/blob/HEAD/Assets/Scripts/FbxReader.cs | ghcode:00008:ac7837f10de7 | apache-2.0 | codeparrot/github-code | ac7837f10de779013c727de72f9d94e9e71c81ff87b4d9d36815634cd4f4aa6d | 0.7 | testing_debugging_repair_refactoring | 5,436 | false | 2026-07-17 |
using System.Linq;
using Lurchsoft.ParallelWorkshop.Ex05DatedSerial;
using NUnit.Framework;
namespace Lurchsoft.ParallelWorkshopTests.Ex05DatedSerial
{
[TestFixture]
public class DatedSerialTests
{
[Test]
public void GetNextSerial_ShouldReturnUniqueSerialNumbers_WhenCalledOnManyThreads()
... | peterchase/parallel-workshop | ParallelWorkshopTests/Ex05DatedSerial/DatedSerialTests.cs | https://github.com/peterchase/parallel-workshop/blob/HEAD/ParallelWorkshopTests/Ex05DatedSerial/DatedSerialTests.cs | ghcode:00008:ca5dfa94a583 | apache-2.0 | codeparrot/github-code | ca5dfa94a5833f981431beabb9440a176ee01439666199577936d83b94a43463 | 0.75 | testing_debugging_repair_refactoring | 147 | false | 2026-07-17 |
namespace BeeEnginePerfTests
{
class BeePerfTests
{
static void Main(string[] args)
{
new FindMateTest().Run();
}
}
}
| maksimbulva/chesshive | BeeEnginePerfTests/BeePerfTests.cs | https://github.com/maksimbulva/chesshive/blob/HEAD/BeeEnginePerfTests/BeePerfTests.cs | ghcode:00008:2ead891b0a9d | apache-2.0 | codeparrot/github-code | 2ead891b0a9dbbe417d85f9cfa1df6430493a4c392d1ad77b3fdb6c05bb12813 | 0.5 | testing_debugging_repair_refactoring | 40 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Numerics;
using Veldrid;
namespace rgat
{
/// <summary>
/// Class for managing VRAM buffers
/// </summary>
public class VeldridGraphBuffers
{
/// <summary>
/// Total allocated VRAM DeviceBuffer size
/// </summary>... | ncatlin/rgat | rgatCore/VeldridGraphBuffers.cs | https://github.com/ncatlin/rgat/blob/HEAD/rgatCore/VeldridGraphBuffers.cs | ghcode:00008:c646b16df20d | apache-2.0 | codeparrot/github-code | c646b16df20df2a4fd22aa24cfac03a2591b1d331d4ae04b1137e56f8c9f1c43 | 0.7 | testing_debugging_repair_refactoring | 3,475 | 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.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Analyzer.Utilities;
using Analyzer.U... | mavasani/roslyn-analyzers | src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/Security/DoNotUseCreateEncryptorWithNonDefaultIV.cs | https://github.com/mavasani/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/Security/DoNotUseCreateEncryptorWithNonDefaultIV.cs | ghcode:00008:72d920804f62 | apache-2.0 | codeparrot/github-code | 72d920804f6219b420c9f1e496f83077ec9b4413ec1f81418d8d947192eb1933 | 0.85 | testing_debugging_repair_refactoring | 1,698 | false | 2026-07-17 |
using System;
using NEvilES.Abstractions;
using Xunit;
using Microsoft.Extensions.DependencyInjection;
using NEvilES.Tests.CommonDomain.Sample;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace NEvilES.DataStore.DynamoDB.Tests
{
public class DynamoDBSmokeTests : IClassFixture<Test... | CRGCode/NEvilES | src/NEvilES.DataStore.DynamoDB.Tests/DynamoDBSmokeTests.cs | https://github.com/CRGCode/NEvilES/blob/HEAD/src/NEvilES.DataStore.DynamoDB.Tests/DynamoDBSmokeTests.cs | ghcode:00008:61fbfd23ad0b | apache-2.0 | codeparrot/github-code | 61fbfd23ad0bff1dd1c2b3c427fc00b437fa4d89b4c4cdd6950882a60648bbfa | 0.75 | testing_debugging_repair_refactoring | 708 | 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.Tests/Common/IO/ContentEmbeddedResourceTest.cs | https://github.com/citizenmatt/gallio/blob/HEAD/src/Gallio/Gallio.Tests/Common/IO/ContentEmbeddedResourceTest.cs | ghcode:00008:59aa97b76fcf | apache-2.0 | codeparrot/github-code | 59aa97b76fcf00cb6e95af2d71ffcce011309bdd8d0e2df919631730f6c31970 | 0.85 | testing_debugging_repair_refactoring | 703 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.