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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
/*
* 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/Model/ManifestDerivativeTests.cs | https://github.com/Autodesk-Forge/forge-api-dotnet-client/blob/HEAD/src/Autodesk.Forge.Test/Model/ManifestDerivativeTests.cs | ghcode:00172:5b5435de3c50 | apache-2.0 | codeparrot/github-code | 5b5435de3c509d40aa20934897d07cde840d8c59474afa548cda8053eb4113a5 | 0.85 | testing_debugging_repair_refactoring | 775 | 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.Linq;
using System.Threading;
using System.Threading.T... | brettfo/roslyn | src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/Extensions/DocumentExtensions.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/Extensions/DocumentExtensions.cs | ghcode:00172:62e3e08ceb39 | apache-2.0 | codeparrot/github-code | 62e3e08ceb3910e85ce969280ef79d2e2317b707ff9862bfd30e1e1472754741 | 0.85 | testing_debugging_repair_refactoring | 2,065 | false | 2026-07-17 |
using System;
using UnityEngine;
namespace AGXUnity
{
/// <summary>
/// Script asset base class. Script assets are scripts but is part
/// of the assets hierarchy in the editor and NOT part of a game object.
///
/// E.g., ShapeMaterial is a script asset, enabling the user to have a
/// set of materials, ... | Algoryx/agxUnity | AGXUnity/ScriptAsset.cs | https://github.com/Algoryx/agxUnity/blob/HEAD/AGXUnity/ScriptAsset.cs | ghcode:00172:89464d917718 | apache-2.0 | codeparrot/github-code | 89464d917718922c266dca8f4198a3bc01ea6c5d8355be2c1bbc68ad30e08028 | 0.7 | testing_debugging_repair_refactoring | 681 | 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.
using System.Buffers;
using System.Buffers.Binary;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Globalization;
using System.IO.Pipelines;
using System.... | aspnet/AspNetCore | src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2TestBase.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Servers/Kestrel/test/InMemory.FunctionalTests/Http2/Http2TestBase.cs | ghcode:00172:0caaa4e4cbeb | apache-2.0 | codeparrot/github-code | 0caaa4e4cbeb8b6c03f24c78486b1c41719f5595961542cbdab2ff8b50af0390 | 0.82 | testing_debugging_repair_refactoring | 11,088 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using LicenseManagerLibrary;
using NUnit.Framework;
namespace LicenseManagerTests.LoaderChecks
{
/// <summary>
/// This will assume that only one type of license loader is used at a time. Can't see any reaso... | ThreeToes/LicenseManager | LicenseManagerTests/LoaderChecks/LicenseTests.cs | https://github.com/ThreeToes/LicenseManager/blob/HEAD/LicenseManagerTests/LoaderChecks/LicenseTests.cs | ghcode:00172:dc1a27ae98e8 | bsd-2-clause | codeparrot/github-code | dc1a27ae98e8a34edb9d067e6567ceb5ec057ceb869e8e877a3e5b5163f2bf6b | 0.78 | testing_debugging_repair_refactoring | 525 | false | 2026-07-17 |
using System.Diagnostics;
using NUnit.Framework;
namespace Konstruktor2.Tests
{
[TestFixture]
public sealed class InterfaceToImplementation
{
interface IDummy
{ }
interface ISecondary
{
}
sealed class Implementation : IDummy, ISecondary
{
};
[Test]
public void testConcret... | pragmatrix/Konstruktor2 | Konstruktor2.Tests/InterfaceToImplementation.cs | https://github.com/pragmatrix/Konstruktor2/blob/HEAD/Konstruktor2.Tests/InterfaceToImplementation.cs | ghcode:00172:ec95123c1169 | bsd-3-clause | codeparrot/github-code | ec95123c116930addbe4437d9661caf3429d26ff66b47e19e586b478623deb65 | 0.6 | testing_debugging_repair_refactoring | 345 | 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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Bindables;
using osu.Framework.Testing;
using osu.Framework.Timing;
... | ppy/osu | osu.Game.Tests/Gameplay/TestSceneMasterGameplayClockContainer.cs | https://github.com/ppy/osu/blob/HEAD/osu.Game.Tests/Gameplay/TestSceneMasterGameplayClockContainer.cs | ghcode:00172:44e5b1cb8127 | mit | codeparrot/github-code | 44e5b1cb81272e9ac70bcf8e313b148fb76a94e6e0978c32d21fb0655ae6af9a | 0.75 | testing_debugging_repair_refactoring | 903 | false | 2026-07-17 |
namespace SqlStreamStore
{
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Shouldly;
using SqlStreamStore.Streams;
using Xunit;
public partial class AcceptanceTests
{
private const string DefaultStreamMetadataJson = @"{ ""meta"": ""meta"" }";
... | SQLStreamStore/SQLStreamStore | tests/SqlStreamStore.AcceptanceTests/AcceptanceTests.StreamMetadata.cs | https://github.com/SQLStreamStore/SQLStreamStore/blob/HEAD/tests/SqlStreamStore.AcceptanceTests/AcceptanceTests.StreamMetadata.cs | ghcode:00172:cf6a25b30757 | mit | codeparrot/github-code | cf6a25b30757509a1633a56bb9d432fd7c23cb4f9c66bf4fbc82a26ee2d23613 | 0.75 | testing_debugging_repair_refactoring | 1,222 | false | 2026-07-17 |
namespace BenchmarkDotNet.Mathematics
{
public enum NumeralSystem
{
/// <summary>
/// Arabic numerals (1, 2, 3, 4, ...)
/// </summary>
Arabic,
/// <summary>
/// Roman numerals (I, II, III, IV, ...)
/// </summary>
Roman,
/... | ig-sinicyn/BenchmarkDotNet | src/BenchmarkDotNet/Mathematics/NumeralSystem.cs | https://github.com/ig-sinicyn/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Mathematics/NumeralSystem.cs | ghcode:00172:bf9ed0a1d246 | mit | codeparrot/github-code | bf9ed0a1d246063095e84ce68ec911105cabd0354fd6cbd043f3c0d3c43b00d4 | 0.85 | testing_debugging_repair_refactoring | 108 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.CodeStyle... | abock/roslyn | src/EditorFeatures/CSharpTest/InitializeParameter/InitializeMemberFromParameterTests.cs | https://github.com/abock/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/InitializeParameter/InitializeMemberFromParameterTests.cs | ghcode:00172:33dc8d4b03f1 | mit | codeparrot/github-code | 33dc8d4b03f13ec610c48ce3cd40ee70508e11dfd5afe59317c0c86f75b9164f | 0.85 | testing_debugging_repair_refactoring | 7,620 | false | 2026-07-17 |
using System;
using System.Threading;
using Hangfire.Mongo.Dto;
using Hangfire.Mongo.Helpers;
using Hangfire.Mongo.Tests.Utils;
using MongoDB.Bson;
using Xunit;
namespace Hangfire.Mongo.Tests
{
#pragma warning disable 1591
[Collection("Database")]
public class CountersAggregatorFacts
{
[Fact, Clea... | runxc1/Hangfire.Mongo | src/Hangfire.Mongo.Tests/CountersAggregatorFacts.cs | https://github.com/runxc1/Hangfire.Mongo/blob/HEAD/src/Hangfire.Mongo.Tests/CountersAggregatorFacts.cs | ghcode:00172:19940b20c201 | mit | codeparrot/github-code | 19940b20c2017afc17d0b07608235c7810b0e17e4d5204884f5a40c345fa4b56 | 0.7 | testing_debugging_repair_refactoring | 269 | 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 global::System;
using global::System.Threading;
using global::System.Reflection;
using global::System.Diagnost... | kyulee1/corert | src/System.Private.Reflection.Execution/src/Internal/Reflection/Execution/MethodInvokers/StringConstructorMethodInvoker.cs | https://github.com/kyulee1/corert/blob/HEAD/src/System.Private.Reflection.Execution/src/Internal/Reflection/Execution/MethodInvokers/StringConstructorMethodInvoker.cs | ghcode:00172:9451a90a6860 | mit | codeparrot/github-code | 9451a90a6860e5c828b2c8f854c9db464729fe4194cdfd18237b87c850354fae | 0.95 | testing_debugging_repair_refactoring | 828 | false | 2026-07-17 |
using kafka_tests.Fakes;
using kafka_tests.Helpers;
using KafkaNet;
using KafkaNet.Common;
using KafkaNet.Model;
using KafkaNet.Protocol;
using Moq;
using Ninject.MockingKernel.Moq;
using NUnit.Framework;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace kafka_tests.Unit
{
[TestFixture]
... | BDeus/KafkaNetClient | src/kafka-tests/Unit/KafkaConnectionTests.cs | https://github.com/BDeus/KafkaNetClient/blob/HEAD/src/kafka-tests/Unit/KafkaConnectionTests.cs | ghcode:00172:c5ce81506119 | apache-2.0 | codeparrot/github-code | c5ce81506119c5bb7bc73f7c5960a7528276b14a01379717ef8268502c81cb52 | 0.85 | testing_debugging_repair_refactoring | 1,869 | false | 2026-07-17 |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Security.Claims;
using System.Threading.Tasks;
using Fluen... | IdentityServer/IdentityServer4 | src/IdentityServer4/test/IdentityServer.IntegrationTests/Conformance/Basic/ClientAuthenticationTests.cs | https://github.com/IdentityServer/IdentityServer4/blob/HEAD/src/IdentityServer4/test/IdentityServer.IntegrationTests/Conformance/Basic/ClientAuthenticationTests.cs | ghcode:00172:c13ad2b20b1b | apache-2.0 | codeparrot/github-code | c13ad2b20b1b87b5dab944382e835374be8c4d80c31e2051d5d1ca27eae2fe80 | 0.95 | testing_debugging_repair_refactoring | 1,063 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | DanielLazarov/test_me-windows_phone_ui | test_me-windows_phone_ui/json/Source/Src/Newtonsoft.Json.Tests/Schema/JsonSchemaModelBuilderTests.cs | https://github.com/DanielLazarov/test_me-windows_phone_ui/blob/HEAD/test_me-windows_phone_ui/json/Source/Src/Newtonsoft.Json.Tests/Schema/JsonSchemaModelBuilderTests.cs | ghcode:00172:cc862b7ae56d | apache-2.0 | codeparrot/github-code | cc862b7ae56d6b4834322f4d8f7690dc49089d67d66d2d17fb267aa042bde765 | 0.95 | testing_debugging_repair_refactoring | 1,380 | 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... | leveyj/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/IgniteConfigurationTest.cs | https://github.com/leveyj/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/IgniteConfigurationTest.cs | ghcode:00172:112e9c2ff02b | apache-2.0 | codeparrot/github-code | 112e9c2ff02be1d6f3039ccbcc804b6a711b45a564551c2d58553e6cd36171e8 | 0.7 | testing_debugging_repair_refactoring | 4,504 | false | 2026-07-17 |
//-------------------------------------------------------------------------
// <copyright file="SparkViewFactoryTester.cs">
// Copyright 2008-2010 Louis DeJardin - http://whereslou.com
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the ... | SparkViewEngine/spark | src/Spark.Tests/SparkViewFactoryTester.cs | https://github.com/SparkViewEngine/spark/blob/HEAD/src/Spark.Tests/SparkViewFactoryTester.cs | ghcode:00172:d566cd8c2f13 | apache-2.0 | codeparrot/github-code | d566cd8c2f13a3c3bbc7d3f1816c2ef7b7b7d8c4c0032c45a937d9f1637bc80b | 0.85 | testing_debugging_repair_refactoring | 10,403 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using LightBDD.Core.Execution;
using NUnit.Framework;
#pragma warning disable 1998
namespace LightBDD.Core.UnitTests.Execution
{
[TestFixture]
public class ScenarioExecutionFlowTests
{... | Suremaker/LightBDD | test/LightBDD.Core.UnitTests/Execution/ScenarioExecutionFlowTests.cs | https://github.com/Suremaker/LightBDD/blob/HEAD/test/LightBDD.Core.UnitTests/Execution/ScenarioExecutionFlowTests.cs | ghcode:00172:86c7d01a5133 | bsd-2-clause | codeparrot/github-code | 86c7d01a51335d8140054b2ce73aeabc4e9177fb6f2ce83de69334d130efbe77 | 0.68 | testing_debugging_repair_refactoring | 1,092 | false | 2026-07-17 |
/*
* SubSonic - http://subsonicproject.com
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (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.mozilla.org/MPL/
*
* Software distributed un... | w8in/SubSonic-2.0 | SubSonic.Tests/MsAccess/CodeGeneratorTests.cs | https://github.com/w8in/SubSonic-2.0/blob/HEAD/SubSonic.Tests/MsAccess/CodeGeneratorTests.cs | ghcode:00172:22513860fe93 | bsd-3-clause | codeparrot/github-code | 22513860fe93322656c3b22997ea749daa72c37db58a751a2ba09c073ba61d47 | 0.85 | testing_debugging_repair_refactoring | 1,049 | false | 2026-07-17 |
/***************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
This code is licensed under the Visual Studio SDK license terms.
THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
IMPLIED WAR... | jozefizso/sandcastle-presentation | SHFB/MpfProject10/Samples/CSharp/CustomProject/UnitTests/GeneralPropertyPageTest.cs | https://github.com/jozefizso/sandcastle-presentation/blob/HEAD/SHFB/MpfProject10/Samples/CSharp/CustomProject/UnitTests/GeneralPropertyPageTest.cs | ghcode:00172:4d4f3558c54a | bsd-3-clause | codeparrot/github-code | 4d4f3558c54ac4a70db67e712fb8c5d92dd4422c5d3c2ac2b59306ac47873148 | 0.75 | testing_debugging_repair_refactoring | 1,553 | false | 2026-07-17 |
//
// Copyright (c) 2004-2020 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 ... | BrutalCode/NLog | tests/NLog.UnitTests/LayoutRenderers/EnvironmentUserLayoutRendererTests.cs | https://github.com/BrutalCode/NLog/blob/HEAD/tests/NLog.UnitTests/LayoutRenderers/EnvironmentUserLayoutRendererTests.cs | ghcode:00172:c9451a90556c | bsd-3-clause | codeparrot/github-code | c9451a90556c443ba71d6dc031f85e844ffc07bbc037c9197b1b4a084f1fe8b1 | 0.85 | testing_debugging_repair_refactoring | 552 | 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.IO;
using System.Text;
using Microsoft.Xml.Schema;
using System.Collections;
using Syste... | mconnew/wcf | src/dotnet-svcutil/lib/src/FrameworkFork/Microsoft.Xml/Xml/Core/XmlValidatingReaderImpl.cs | https://github.com/mconnew/wcf/blob/HEAD/src/dotnet-svcutil/lib/src/FrameworkFork/Microsoft.Xml/Xml/Core/XmlValidatingReaderImpl.cs | ghcode:00172:29715026162d | mit | codeparrot/github-code | 29715026162dda1e7c94511ef040e298611ec9ed7a6cb5f13fa3636c9410d5e9 | 0.95 | testing_debugging_repair_refactoring | 7,092 | false | 2026-07-17 |
/***
* Computes Shortest-Paths for Unweighted Graphs using the Breadth-First Search algorithm.
* It provides the capability to find shortest-paths from a single-source and multiple-sources, in addition to looking up reachable and unreachable nodes.
*/
using System;
using System.Diagnostics;
using System.Collection... | qdimka/C-Sharp-Algorithms | Algorithms/Graphs/BreadthFirstShortestPaths.cs | https://github.com/qdimka/C-Sharp-Algorithms/blob/HEAD/Algorithms/Graphs/BreadthFirstShortestPaths.cs | ghcode:00172:5a0d7984fbe3 | mit | codeparrot/github-code | 5a0d7984fbe316b7da2b71f1e8cc5fd5eb14a373c72ef9177c5f6eb0f8696e1f | 0.7 | testing_debugging_repair_refactoring | 2,090 | false | 2026-07-17 |
// Copyright 2017 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 applic... | googleapis/google-cloud-dotnet | apis/Google.Cloud.Translation.V2/Google.Cloud.Translation.V2.Tests/AdvancedTranslationClientImplTest.cs | https://github.com/googleapis/google-cloud-dotnet/blob/HEAD/apis/Google.Cloud.Translation.V2/Google.Cloud.Translation.V2.Tests/AdvancedTranslationClientImplTest.cs | ghcode:00172:87c250a5301c | apache-2.0 | codeparrot/github-code | 87c250a5301cf08e03667e1aa6621bb680ab356ec92d8cba6eb20a6f9278058d | 0.85 | testing_debugging_repair_refactoring | 1,691 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using ... | ericfe-ms/roslyn | src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_UsingStatement.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_UsingStatement.cs | ghcode:00172:087c91b23ec3 | apache-2.0 | codeparrot/github-code | 087c91b23ec32644210aad6dcf60055ba5b63cb8e61cc57b98bc354c2506457b | 0.85 | testing_debugging_repair_refactoring | 3,251 | 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.Linq;
using System.Reflection.Metadata;
using System.Reflection.Metadata.Ec... | ericfe-ms/roslyn | src/ExpressionEvaluator/CSharp/Test/ExpressionCompiler/UsingDebugInfoTests.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Test/ExpressionCompiler/UsingDebugInfoTests.cs | ghcode:00172:8a83b820f7a3 | apache-2.0 | codeparrot/github-code | 8a83b820f7a3aca3a2f2e3e9ea0ed08d3bee8b8552a34caaf13f6f79001d1dd1 | 0.95 | testing_debugging_repair_refactoring | 8,208 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenProtocolInterpreter.Job.Advanced;
using System.Linq;
namespace MIDTesters.Job.Advanced
{
[TestClass]
public class TestMid0127 : MidTester
{
[TestMethod]
public void Mid0127Revision1()
{
string package = "0020... | Rickedb/OpenProtocolInterpreter | src/MIDTesters/Job/Advanced/TestMid0127.cs | https://github.com/Rickedb/OpenProtocolInterpreter/blob/HEAD/src/MIDTesters/Job/Advanced/TestMid0127.cs | ghcode:00172:b7a8b3248017 | mit | codeparrot/github-code | b7a8b32480176c854e0fe1fde3c5d38e8b1e28cdd16118c6fa43547bbf648bdc | 0.75 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
// Visual Studio Shared Project
// Copyright(c) Microsoft Corporation
// 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
//
... | int19h/PTVS | Common/Tests/Utilities/SharedProject/ProjectProperty.cs | https://github.com/int19h/PTVS/blob/HEAD/Common/Tests/Utilities/SharedProject/ProjectProperty.cs | ghcode:00172:685a317b23d5 | apache-2.0 | codeparrot/github-code | 685a317b23d573910620e61a8eb611aa2baa0c85bbb28d7a6de4f09cc12cc98d | 0.95 | testing_debugging_repair_refactoring | 238 | 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;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilitie... | DustinCampbell/roslyn | src/Compilers/CSharp/Test/Symbol/Symbols/Metadata/PE/LoadCustomModifiers.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Symbols/Metadata/PE/LoadCustomModifiers.cs | ghcode:00172:25f03a47f26f | apache-2.0 | codeparrot/github-code | 25f03a47f26fe12cf60db3309efc7de5943d781dc7b7c92d7d5ea1efd5676e60 | 0.95 | testing_debugging_repair_refactoring | 2,539 | false | 2026-07-17 |
using Common.Logging;
using Common.Logging.NLog;
using NUnit.Framework;
namespace Common.Logger.NLog
{
[TestFixture]
public class NLogLoggerFactoryAdapterVariablesContextTests
{
[Test]
public void CheckGlobalVariablesSet()
{
var a = new NLogLoggerFactoryAdapter((Common.... | meixger/common-logging | test/Common.Logging.NLog20.Tests/Logger/NLog/NLogLoggerFactoryAdapterVariablesContextTests.cs | https://github.com/meixger/common-logging/blob/HEAD/test/Common.Logging.NLog20.Tests/Logger/NLog/NLogLoggerFactoryAdapterVariablesContextTests.cs | ghcode:00172:c26950543b8f | apache-2.0 | codeparrot/github-code | c26950543b8ffcfdf8e018d0cfcc0a89925a0d0b5e8226b01aa2b91c698aaf33 | 0.75 | testing_debugging_repair_refactoring | 205 | 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.Immutable;
using System.Reflection.Metadata;
using System.Security.Cryptography;
using Microsoft.Cci;
using Microsoft.... | DustinCampbell/roslyn | src/Test/Utilities/Portable/Compilation/TestDesktopStrongNameProvider.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/Test/Utilities/Portable/Compilation/TestDesktopStrongNameProvider.cs | ghcode:00172:8e1eead346e0 | apache-2.0 | codeparrot/github-code | 8e1eead346e0fe62768fc7273289e3dc50b9fee83e1765eed63e8074d848a682 | 0.85 | testing_debugging_repair_refactoring | 388 | false | 2026-07-17 |
namespace FluentAssertions.Equivalency
{
/// <summary>
/// Defines a rule that is used to determine whether the order of items in collections is relevant or not.
/// </summary>
public interface IOrderingRule
{
/// <summary>
/// Determines if ordering of the member referred to by the ... | levenleven/fluentassertions | Src/Core/Equivalency/IOrderingRule.cs | https://github.com/levenleven/fluentassertions/blob/HEAD/Src/Core/Equivalency/IOrderingRule.cs | ghcode:00172:9619a37434a0 | apache-2.0 | codeparrot/github-code | 9619a37434a0997a392b567dba15b5a724368f35e25106427f45a179faa7d975 | 0.7 | testing_debugging_repair_refactoring | 98 | 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.Collec... | lggomez/corefx | src/System.ObjectModel/tests/ObservableCollection/ObservableCollection_ConstructorAndPropertyTests.netstandard.cs | https://github.com/lggomez/corefx/blob/HEAD/src/System.ObjectModel/tests/ObservableCollection/ObservableCollection_ConstructorAndPropertyTests.netstandard.cs | ghcode:00172:c73aa0ae1217 | mit | codeparrot/github-code | c73aa0ae121705fc1f7abc61eae9e4f7cd198b750d123aee8232742aacc491ed | 0.95 | testing_debugging_repair_refactoring | 317 | 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.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Roslyn.Utilities;
using System.Collections.Immutable;
using System.Collections.G... | jkotas/roslyn | src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_Patterns.cs | https://github.com/jkotas/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_Patterns.cs | ghcode:00172:48c8ddae6622 | apache-2.0 | codeparrot/github-code | 48c8ddae66222b1b68638059201aa8464a6ee4f82a978ae48ec15970fa237681 | 0.85 | testing_debugging_repair_refactoring | 2,310 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using LibGit2Sharp.Tests.TestHelpers;
using Xunit;
using Xunit.Extensions;
namespace LibGit2Sharp.Tests
{
public class ConfigurationFixture : BaseFixture
{
private static void AssertValueInLocalConfigFile(string repoPa... | xoofx/libgit2sharp | LibGit2Sharp.Tests/ConfigurationFixture.cs | https://github.com/xoofx/libgit2sharp/blob/HEAD/LibGit2Sharp.Tests/ConfigurationFixture.cs | ghcode:00172:c6f9705314ac | mit | codeparrot/github-code | c6f9705314ace752c7112c7881a5e65cfad96f3b6ac5686a23496d38cb2018de | 0.7 | testing_debugging_repair_refactoring | 3,319 | false | 2026-07-17 |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using Shouldly;
using Xunit;
namespace Microsoft.Owin.Security.Tests
{
public class Ce... | julianpaulozzi/katanaproject | tests/Microsoft.Owin.Security.Tests/CertificateThumbprintValidatorTests.cs | https://github.com/julianpaulozzi/katanaproject/blob/HEAD/tests/Microsoft.Owin.Security.Tests/CertificateThumbprintValidatorTests.cs | ghcode:00172:7622a389b84f | apache-2.0 | codeparrot/github-code | 7622a389b84f7679f2574292514682ab5d079d0c23178644db16b47817938af9 | 0.85 | testing_debugging_repair_refactoring | 1,016 | false | 2026-07-17 |
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
namespace Nest.Tests.Integration.Reproduce
{
[TestFixture]
public class Reproduce994Tests : IntegrationTests
{
[Test... | joehmchan/elasticsearch-net | src/Tests/Nest.Tests.Integration/Reproduce/Reproduce994Tests.cs | https://github.com/joehmchan/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Integration/Reproduce/Reproduce994Tests.cs | ghcode:00172:a74312d7a878 | apache-2.0 | codeparrot/github-code | a74312d7a8780680ba0e548688c431f3004665b7d3ee5c459c69605a400d4bd2 | 0.85 | testing_debugging_repair_refactoring | 368 | false | 2026-07-17 |
using Xunit;
namespace Jint.Tests.Ecma
{
public class Test_15_5_4_5 : EcmaTest
{
[Fact]
[Trait("Category", "15.5.4.5")]
public void StringPrototypeCharcodeatCanAcceptManyArguments()
{
RunTest(@"TestCases/ch15/15.5/15.5.4/15.5.4.5/S15.5.4.5_A1.1.js", false);
}
... | fvaneijk/jint | Jint.Tests.Ecma/Ecma/15.5.4.5.cs | https://github.com/fvaneijk/jint/blob/HEAD/Jint.Tests.Ecma/Ecma/15.5.4.5.cs | ghcode:00172:aa17779e55ee | bsd-2-clause | codeparrot/github-code | aa17779e55ee03b4da0ee64736b23c5bbb7f6dc8fc4fecd1cc0d5bc1a0afd0cf | 0.68 | testing_debugging_repair_refactoring | 1,652 | 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.Reflection;
using System.Collections;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Build.Framework;
... | MetSystem/msbuild | src/Utilities/UnitTests/ToolTask_Tests.cs | https://github.com/MetSystem/msbuild/blob/HEAD/src/Utilities/UnitTests/ToolTask_Tests.cs | ghcode:00172:9d0ca2a1aca5 | mit | codeparrot/github-code | 9d0ca2a1aca5a0837bb3f9efefcec46ef316df7b84a82780613c6fdfb8ea4d05 | 0.85 | testing_debugging_repair_refactoring | 4,072 | false | 2026-07-17 |
using System;
using Microsoft.WindowsAzure.MobileServices.TestFramework;
using MonoTouch.Dialog;
using UIKit;
namespace Microsoft.WindowsAzure.Mobile.SQLiteStore.iOS.Test
{
public class TestViewController
: DialogViewController
{
public TestViewController (TestMethod test, string log)
... | MatkovIvan/azure-mobile-apps-net-client | unittest/Microsoft.WindowsAzure.MobileServices.SQLiteStore.iOS.Test/UI/TestViewController.cs | https://github.com/MatkovIvan/azure-mobile-apps-net-client/blob/HEAD/unittest/Microsoft.WindowsAzure.MobileServices.SQLiteStore.iOS.Test/UI/TestViewController.cs | ghcode:00172:689963509837 | apache-2.0 | codeparrot/github-code | 689963509837fddf4c236d760fce2b0b2c219364881a51b0f9b139c8b349a3f7 | 0.75 | testing_debugging_repair_refactoring | 143 | 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.VisualStudio.InteractiveWindow;
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Interact... | ericfe-ms/roslyn | src/VisualStudio/CSharp/Test/Interactive/TestInteractiveEvaluator.cs | https://github.com/ericfe-ms/roslyn/blob/HEAD/src/VisualStudio/CSharp/Test/Interactive/TestInteractiveEvaluator.cs | ghcode:00172:69967d811ad4 | apache-2.0 | codeparrot/github-code | 69967d811ad46d75680f701a2ecc3b44bc47ec5419229c8b1ba1aef05276c97d | 0.85 | testing_debugging_repair_refactoring | 267 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.IO;
using System.Linq;
using Xunit;
namespace System.Reflection.Tests
{
public static partial clas... | shimingsg/corefx | src/System.Reflection.MetadataLoadContext/tests/src/Tests/Assembly/AssemblyTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Reflection.MetadataLoadContext/tests/src/Tests/Assembly/AssemblyTests.cs | ghcode:00172:77e1b73e2848 | mit | codeparrot/github-code | 77e1b73e284856a500ed7fd559d7b377ca8a71cee6e8f4d53bc5877d9ac830d7 | 0.95 | testing_debugging_repair_refactoring | 4,907 | 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;
using System.Collections.Specialized;
namespace System.Collections.Specialized.Tests
{
public class CtorString... | vs-team/corefx | src/System.Collections.Specialized/tests/StringCollection/CtorTests.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Collections.Specialized/tests/StringCollection/CtorTests.cs | ghcode:00172:7ffb353dacf7 | mit | codeparrot/github-code | 7ffb353dacf7fb27c6633e67015b9ad0bf5954f572399d0355675534c9deaca7 | 0.95 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace VEX.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
}
}
}
| devxkh/FrankE | Editor/VEX/Tests/VEX.Tests/UnitTest1.cs | https://github.com/devxkh/FrankE/blob/HEAD/Editor/VEX/Tests/VEX.Tests/UnitTest1.cs | ghcode:00172:80f104c1e320 | mit | codeparrot/github-code | 80f104c1e3201d703cbdccddcd9d00cc92c0980781db566718581dade57601a7 | 0.85 | testing_debugging_repair_refactoring | 46 | false | 2026-07-17 |
using System;
using System.Reflection;
using NUnit.Framework;
using ComponentGlue;
using ComponentGlue.Tests.Classes;
namespace ComponentGlue.Tests
{
[TestFixture]
public class ParentContainerTests
{
[Test]
public void Child_Container_Proxies_To_Parent_Container_When_Child_Container_Has_No_Binding(... | smack0007/ComponentGlue | ComponentGlue.Tests/ParentContainerTests.cs | https://github.com/smack0007/ComponentGlue/blob/HEAD/ComponentGlue.Tests/ParentContainerTests.cs | ghcode:00172:c3a280059f18 | mit | codeparrot/github-code | c3a280059f1844b5011a9bb7e98b3e201ce01f34dea86c7ed21d4d27a6924042 | 0.75 | testing_debugging_repair_refactoring | 342 | false | 2026-07-17 |
#if LESSTHAN_NET45
// 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.Collections.Generic
{
/// <summary>
/// ... | theraot/Theraot | Framework.Core/System/Collections/ArrayBuilder.cs | https://github.com/theraot/Theraot/blob/HEAD/Framework.Core/System/Collections/ArrayBuilder.cs | ghcode:00172:2478ce97e0c7 | mit | codeparrot/github-code | 2478ce97e0c7ee6dc62cc3404b5f52435f8428852b902a7d2a58699e75d37c7f | 0.85 | testing_debugging_repair_refactoring | 599 | false | 2026-07-17 |
using System.IO;
using System.Threading.Tasks;
using Telegram.Bot.Tests.Integ.Framework;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
using Telegram.Bot.Types.InlineQueryResults;
using Telegram.Bot.Types.InputFiles;
using Telegram.Bot.Types.ReplyMarkups;
using Xunit;
namespace Telegram.Bot.Tests.Integ.Upd... | MrRoundRobin/telegram.bot | test/Telegram.Bot.Tests.Integ/Update Messages/EditMessageMediaTests.cs | https://github.com/MrRoundRobin/telegram.bot/blob/HEAD/test/Telegram.Bot.Tests.Integ/Update Messages/EditMessageMediaTests.cs | ghcode:00172:4d217bc139ee | mit | codeparrot/github-code | 4d217bc139ee351fb4ef70d3fbe8714d7a522ce4ac376fe959321b5bd4df6c04 | 0.85 | testing_debugging_repair_refactoring | 1,163 | false | 2026-07-17 |
using CharacterGen.CharacterClasses;
using CharacterGen.Domain.Tables;
using NUnit.Framework;
using System.Linq;
namespace CharacterGen.Tests.Integration.Tables.Magics.Spells.Known.Paladins
{
[TestFixture]
public class Level12PaladinKnownSpellsTests : AdjustmentsTests
{
protected override string t... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/Magics/Spells/Known/Paladins/Level12PaladinKnownSpellsTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/Magics/Spells/Known/Paladins/Level12PaladinKnownSpellsTests.cs | ghcode:00172:7bcc6f0d9286 | mit | codeparrot/github-code | 7bcc6f0d9286b1fb3de11d63e3a2beaf3a4228a8ed51327fa840fffc68421494 | 0.75 | testing_debugging_repair_refactoring | 206 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moonlit.Weixin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Moonlit.Weixin.Tests
{
[TestClass()]
public class MenuItemTests
{
[TestMethod()]
public vo... | moonwa/moonlit | TestFixtures/Moonlit.Weixin.TestFixtures/MenuItemTests.cs | https://github.com/moonwa/moonlit/blob/HEAD/TestFixtures/Moonlit.Weixin.TestFixtures/MenuItemTests.cs | ghcode:00172:aecf6973db87 | mit | codeparrot/github-code | aecf6973db8763dcdeda7fa6a7f0b0b8bb7fd39be6091727635bff4f5428e35c | 0.75 | testing_debugging_repair_refactoring | 205 | false | 2026-07-17 |
using System.Threading.Tasks;
using Content.Server.Gravity;
using Content.Server.Power.Components;
using Content.Shared.Coordinates;
using Content.Shared.Gravity;
using NUnit.Framework;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Map;
namespace Content.IntegrationTests.Tests
{
///... | space-wizards/space-station-14 | Content.IntegrationTests/Tests/GravityGridTest.cs | https://github.com/space-wizards/space-station-14/blob/HEAD/Content.IntegrationTests/Tests/GravityGridTest.cs | ghcode:00172:ffd0e8092cb7 | mit | codeparrot/github-code | ffd0e8092cb7586b399f3112b7688702218eb33e3cb73e32e49892de687617e7 | 0.95 | testing_debugging_repair_refactoring | 651 | false | 2026-07-17 |
namespace Rosalia.TaskLib.Standard.Tests
{
using NUnit.Framework;
using Rosalia.Core.Logging;
using Rosalia.TaskLib.Standard.Tasks;
using Rosalia.TestingSupport.Helpers;
[TestFixture]
public class ExecTaskTests
{
[Test]
public void Execute_EchoTask_ShouldSucceed()
{... | rosaliafx/Rosalia | Src/Rosalia.TaskLib.Standard.Tests/ExecTaskTests.cs | https://github.com/rosaliafx/Rosalia/blob/HEAD/Src/Rosalia.TaskLib.Standard.Tests/ExecTaskTests.cs | ghcode:00172:0068f84bf81b | mit | codeparrot/github-code | 0068f84bf81b3697c4be1eb3a1ac9a531e4b74dbf91b393dfbc2119087d91d69 | 0.75 | testing_debugging_repair_refactoring | 205 | false | 2026-07-17 |
namespace Mages.Core.Tests
{
using Mages.Core.Source;
using Mages.Core.Tokens;
using NUnit.Framework;
[TestFixture]
public class StringTests
{
[Test]
public void StringScannerEmpty()
{
var source = "";
var scanner = new StringScanner('"' + source... | FlorianRappl/Mages | src/Mages.Core.Tests/StringTests.cs | https://github.com/FlorianRappl/Mages/blob/HEAD/src/Mages.Core.Tests/StringTests.cs | ghcode:00172:d42a4c06077c | mit | codeparrot/github-code | d42a4c06077c85e00d015178c0feb63ee3d4f68cdc319e0d66865f3f7c5dbe0a | 0.75 | testing_debugging_repair_refactoring | 559 | false | 2026-07-17 |
// * **************************************************************************
// * Copyright (c) McCreary, Veselka, Bragg & Allen, P.C.
// * This source code is subject to terms and conditions of the MIT License.
// * A copy of the license can be found in the License.txt file
// * at the root of this distributio... | mvbalaw/FluentWebControls | src/FluentWebControls.Tests/Extensions/LinkDataExtensionsTest.cs | https://github.com/mvbalaw/FluentWebControls/blob/HEAD/src/FluentWebControls.Tests/Extensions/LinkDataExtensionsTest.cs | ghcode:00172:b9ccc3e56c32 | mit | codeparrot/github-code | b9ccc3e56c32e630e9b57d5b95e4676a576af3f79c5efb2c8f0ff8225169c7b2 | 0.7 | testing_debugging_repair_refactoring | 1,816 | 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.Net.NetworkInformation;
using System.Net.Sockets;
using... | billwert/corefx | src/System.Net.WebProxy/tests/WebProxyTest.cs | https://github.com/billwert/corefx/blob/HEAD/src/System.Net.WebProxy/tests/WebProxyTest.cs | ghcode:00172:cf61e1974ee2 | mit | codeparrot/github-code | cf61e1974ee2a4a82e98b167812a5aae1fab7f21f46a245fa7d8cb6d8abb2506 | 0.95 | testing_debugging_repair_refactoring | 1,996 | false | 2026-07-17 |
// ---------------------------------------------------------------------------------------
// <copyright file="RestCallResponseTests.cs" company="Corale">
// Copyright © 2015-2021 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// thi... | CoraleStudios/Colore | tests/Colore.Tests/Rest/Data/RestCallResponseTests.cs | https://github.com/CoraleStudios/Colore/blob/HEAD/tests/Colore.Tests/Rest/Data/RestCallResponseTests.cs | ghcode:00172:64476a5c71b9 | mit | codeparrot/github-code | 64476a5c71b979620a8a8d5938bb56aefd8f3a6dc9a61957e4b283ed77eef091 | 0.85 | testing_debugging_repair_refactoring | 484 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Telegram.Bot.Tests.Integ.Framework;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
using Xunit;
namespace Telegram.Bot.Tests.Integ.Polls
{
[Collection(Constants.TestCollections.NativePolls)]
[TestCaseOrderer(Constants.TestCaseOrder... | TelegramBots/telegram.bot | test/Telegram.Bot.Tests.Integ/Polls/SelfStoppingPollTests.cs | https://github.com/TelegramBots/telegram.bot/blob/HEAD/test/Telegram.Bot.Tests.Integ/Polls/SelfStoppingPollTests.cs | ghcode:00172:155d0917eec8 | mit | codeparrot/github-code | 155d0917eec802324b4fe1c81859277cda04d0b13f8dcba40b13617bfc6625cf | 0.85 | testing_debugging_repair_refactoring | 1,398 | false | 2026-07-17 |
using NUnit.Framework;
using SafeOrbit.Exceptions;
using SafeOrbit.Memory.Injection;
namespace SafeOrbit.Memory.InjectionServices.Alerters
{
/// <seealso cref="ThrowExceptionAlerter" />
/// <seealso cref="IAlerter" />
[TestFixture]
internal class ThrowExceptionAlerterTests : AlerterTestsBase<ThrowExce... | undergroundwires/SafeOrbit | src/tests/UnitTests/Memory/InjectionDetection/InjectionDetector/Alert/Alerters/ExceptionThrowerTests.cs | https://github.com/undergroundwires/SafeOrbit/blob/HEAD/src/tests/UnitTests/Memory/InjectionDetection/InjectionDetector/Alert/Alerters/ExceptionThrowerTests.cs | ghcode:00172:310d1e09b7a5 | mit | codeparrot/github-code | 310d1e09b7a5b85072cafd1006aae3b7fe2b995fb4be54b0108d865f5f4f07ea | 0.85 | testing_debugging_repair_refactoring | 229 | false | 2026-07-17 |
namespace NServiceBus.AcceptanceTests.Sagas
{
using System;
using System.Linq;
using System.Threading.Tasks;
using AcceptanceTesting;
using EndpointTemplates;
using NServiceBus.MongoDB;
using NUnit.Framework;
public class When_saga_handles_unmapped_message : NServiceBusAc... | sbmako/NServiceBus.MongoDB | src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.6.0.0/Sagas/When_saga_handles_unmapped_message.cs | https://github.com/sbmako/NServiceBus.MongoDB/blob/HEAD/src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.6.0.0/Sagas/When_saga_handles_unmapped_message.cs | ghcode:00172:937a807b5b6c | mit | codeparrot/github-code | 937a807b5b6cd8fe5f097527c11fd8bf492f56710e0a047e3bc60d6e0a7b8712 | 0.75 | testing_debugging_repair_refactoring | 812 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Cumulus.Configuration.Settings;
using Cumulus.Extensions;
using NUnit.Framework;
using Shouldly;
namespace Cumulus.CodingConventionTests
{
[TestFixture]
public class AllSettingsClasses
{
private read... | AtmosphereMessaging/Cumulus | src/Tests/Cumulus.CodingConventionTests/AllSettingsClasses.cs | https://github.com/AtmosphereMessaging/Cumulus/blob/HEAD/src/Tests/Cumulus.CodingConventionTests/AllSettingsClasses.cs | ghcode:00172:1146e08ca705 | mit | codeparrot/github-code | 1146e08ca705152e3b84b6d38ea7f313d381a855a2a2c3c574b8f7f6cda3f92a | 0.85 | testing_debugging_repair_refactoring | 251 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Xunit;
namespace Recurly.Test
{
public class AdjustmentTest : BaseTest
{
[RecurlyFact(TestEnvironment.Type.Integration)]
public void CreateAdjustment()
{
var account = CreateNewAccount();
string desc = "Charge";
... | cgerrior/recurly-client-net | Test/AdjustmentTest.cs | https://github.com/cgerrior/recurly-client-net/blob/HEAD/Test/AdjustmentTest.cs | ghcode:00172:10c066b467ac | mit | codeparrot/github-code | 10c066b467ac2f699c856428a388d320aab0e0b90107e3802cd1c5e28f5681c0 | 0.7 | testing_debugging_repair_refactoring | 1,247 | false | 2026-07-17 |
using FluentAssertions;
using NUnit.Framework;
using PortKit.Bindings.UnitTests.Data;
namespace PortKit.Bindings.UnitTests
{
[TestFixture]
internal sealed class BindingOneTimeTests
{
private ItemViewModel _sourceItem;
private ItemViewModel _targetItem;
[SetUp]
public void S... | bagabont/portkit | Source/PortKit.Bindings.UnitTests/BindingOneTimeTests.cs | https://github.com/bagabont/portkit/blob/HEAD/Source/PortKit.Bindings.UnitTests/BindingOneTimeTests.cs | ghcode:00172:d8ee6e192cae | mit | codeparrot/github-code | d8ee6e192caea57aa3648b5f778a916d3676634051b74fe697393035e54a3d91 | 0.75 | testing_debugging_repair_refactoring | 378 | false | 2026-07-17 |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Simple.Data.Extensions;
using System.Collections;
namespace Simple.Data
{
using System.Diagnostics;
using System.Linq.Expressions;
using Sy... | FatheadTechnology/Simple.Data | Simple.Data/ConcreteTypeCreator.cs | https://github.com/FatheadTechnology/Simple.Data/blob/HEAD/Simple.Data/ConcreteTypeCreator.cs | ghcode:00172:237f6912366d | mit | codeparrot/github-code | 237f6912366d3141cbc7adc6079f422876e8f63da381679d0a7f6f781c12de54 | 0.6 | testing_debugging_repair_refactoring | 646 | false | 2026-07-17 |
using Poker;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace PokerTest
{
[TestClass()]
public class CardTests
{
[TestMethod()]
public void ToStringClubs()
{
string cardSuit = "♣";
TestNonFaceCards... | d-georgiev-91/TelerikAcademy | Programming/HighQualityProgrammingCode/TestDrivenDevelopment/PokerTest/CardTests.cs | https://github.com/d-georgiev-91/TelerikAcademy/blob/HEAD/Programming/HighQualityProgrammingCode/TestDrivenDevelopment/PokerTest/CardTests.cs | ghcode:00172:6456ba6e8636 | mit | codeparrot/github-code | 6456ba6e8636d668fcf040e60ed73ae3b987300a95825c2a0b90dfffa410661b | 0.75 | testing_debugging_repair_refactoring | 497 | false | 2026-07-17 |
namespace Zone.UmbracoPersonalisationGroups.Common.Tests.Criteria.DayOfWeek
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Zone.UmbracoPersonalisationGroups.Common.Criteria.DayOfWeek;
[TestClass]
public class DayOfWeekPersonalisationGroupCriteriaTests : DateTimeCriteriaT... | AndyButland/UmbracoPersonalisationGroups | Zone.UmbracoPersonalisationGroups.Tests/Criteria/DayOfWeek/DayOfWeekPersonalisationGroupCriteriaTests.cs | https://github.com/AndyButland/UmbracoPersonalisationGroups/blob/HEAD/Zone.UmbracoPersonalisationGroups.Tests/Criteria/DayOfWeek/DayOfWeekPersonalisationGroupCriteriaTests.cs | ghcode:00172:6da7da48e80d | mit | codeparrot/github-code | 6da7da48e80d50a66dce0e2a86a38acd7df58c3004065046ab9a94de20784068 | 0.85 | testing_debugging_repair_refactoring | 549 | false | 2026-07-17 |
using AdventOfCode.Day04;
using NUnit.Framework;
namespace AdventOfCodeTests
{
[TestFixture]
public class Day04Tests
{
[Explicit("Slow test")]
[TestCase("abcdef", "609043")]
[TestCase("pqrstuv", "1048970")]
public void TestDay04(string secretKey, string answer)
{
... | vatioz/AdventOfCode | AdventOfCodeTests/Day04Tests.cs | https://github.com/vatioz/AdventOfCode/blob/HEAD/AdventOfCodeTests/Day04Tests.cs | ghcode:00172:38b8fe6a5f2d | mit | codeparrot/github-code | 38b8fe6a5f2d47a5e88420111c8336d77d6db66fd1fb4c8490879e1e834d009e | 0.75 | testing_debugging_repair_refactoring | 127 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Transactions;
using NUnit.Framework;
using ResourcesFirstTranslations.Data;
using ResourcesFirstTranslations.Services;
namespace ResourcesFirstTranslations.Tests
{
[TestFixture]
pub... | icsharpcode/ResourceFirstTranslations | src/ResourcesFirstTranslations.Tests/DataReadingTests.cs | https://github.com/icsharpcode/ResourceFirstTranslations/blob/HEAD/src/ResourcesFirstTranslations.Tests/DataReadingTests.cs | ghcode:00172:d0faa1cd1833 | mit | codeparrot/github-code | d0faa1cd1833eba9604233f6dbde55739c2d8f44c2148caa97c1a68edbb08192 | 0.75 | testing_debugging_repair_refactoring | 165 | false | 2026-07-17 |
using NUnit.Framework;
using billc.TreeNodes;
using System.Reflection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.calitha.goldparser;
using billc.Visitors;
namespace billc.Tests
{
/// <summary>
/// These tests are designed to t... | ajgajg1134/MS_Project_Bill | billc/billc/Tests/IntegrationTests.cs | https://github.com/ajgajg1134/MS_Project_Bill/blob/HEAD/billc/billc/Tests/IntegrationTests.cs | ghcode:00172:881abf221c77 | mit | codeparrot/github-code | 881abf221c772b9b81016ed0de3ed65126a2a84f4e0de84f0c88e18a21b301dc | 0.95 | testing_debugging_repair_refactoring | 1,074 | false | 2026-07-17 |
using System;
using ArchieML;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
namespace ArchieML_Tests {
[TestClass]
public class IgnoreTests {
[TestMethod]
public void Ignore01TextBeforeIgnoreCommandIncluded() {
var result = Archie.Load(@"... | partlyhuman/archieml-net | ArchieML-Tests/IgnoreTests.cs | https://github.com/partlyhuman/archieml-net/blob/HEAD/ArchieML-Tests/IgnoreTests.cs | ghcode:00172:4808375ea9ac | mit | codeparrot/github-code | 4808375ea9ac8a9b32cda9a02d20b58911065d2901ba85d00cce02ef9fc6e84d | 0.75 | testing_debugging_repair_refactoring | 483 | false | 2026-07-17 |
using System;
using ADatabase;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ADatabaseTest
{
[TestClass]
public class TestTypeOperatorChecker
{
private ITypeOperator _typeOperator;
public void GetTypeOperatorChecker(int value, string typeOperatorNam... | ArveH/ACopy | src/Testing/ADatabaseTest/TestTypeOperatorChecker.cs | https://github.com/ArveH/ACopy/blob/HEAD/src/Testing/ADatabaseTest/TestTypeOperatorChecker.cs | ghcode:00172:944ce4a8624a | mit | codeparrot/github-code | 944ce4a8624a078bee12d80ef5e502b381b6687261457d92c809b7e0036137e2 | 0.75 | testing_debugging_repair_refactoring | 686 | false | 2026-07-17 |
using Lissen;
using NFluent;
using NUnit.Framework;
namespace LissenTest
{
public class LambdaTest : SexprHelpers
{
[Test]
public void LambdaCreation()
{
var env = new VariablesEnvironment();
var par = l(new Sexpr[] { });
var form = l(new[] { "+", "... | lissen/Lissen | LissenTest/LambdaTest.cs | https://github.com/lissen/Lissen/blob/HEAD/LissenTest/LambdaTest.cs | ghcode:00172:2e2150cc91da | mit | codeparrot/github-code | 2e2150cc91da68ce38f76dcbac3bbcec5ad5353e7463824d195f761bb62e1987 | 0.6 | testing_debugging_repair_refactoring | 157 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using HtmlAgilityPack;
namespace StackOverflowQuestionsGetter
{
[HasXPath]
public class TesterPage
{
#region NoneIEnumerableProperties
[XPath("//*[@id='question-mini-list']/div[1]/div[@class='cp']")]
public StatisticsBox Statistics1 ... | parsalotfy/HtmlAgilityPack_Helper | StackOverflowQuestionsGetter/TesterPage.cs | https://github.com/parsalotfy/HtmlAgilityPack_Helper/blob/HEAD/StackOverflowQuestionsGetter/TesterPage.cs | ghcode:00172:45689a5c924f | mit | codeparrot/github-code | 45689a5c924fdd8a177efa24f1db3bd42727521407376653c5cec4651649c77b | 0.85 | testing_debugging_repair_refactoring | 376 | false | 2026-07-17 |
namespace FluentACS.Specs
{
using System.Collections.Generic;
using FluentACS.Commands;
public class BaseSpec
{
internal const string Any = "_ANY";
internal const string Passthrough = "_PASSTHROUGH";
internal const string Acs = "LOCAL AUTHORITY";
public BaseSpec(Lis... | jrowies/FluentACS | FluentACS/Specs/BaseSpec.cs | https://github.com/jrowies/FluentACS/blob/HEAD/FluentACS/Specs/BaseSpec.cs | ghcode:00172:1052c954527b | mit | codeparrot/github-code | 1052c954527b0223cb8c081c5a392fdcb11a07579ba96f3dd5b3e5cb26d2f480 | 0.75 | testing_debugging_repair_refactoring | 99 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Get.Shows.Json.Reader
{
using FluentAssertions;
using System.Threading.Tasks;
using Traits;
using TraktApiSharp.Objects.Get.Shows.Json.Reader;
using Xunit;
[Category("Objects.Get.Shows.JsonReader")]
public partial class MostPWCShowObjectJsonReader_Test... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Get/Shows/Json/Reader/MostPWCShowObjectJsonReader/MostPWCShowObjectJsonReader_Json_String_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Get/Shows/Json/Reader/MostPWCShowObjectJsonReader/MostPWCShowObjectJsonReader_Json_String_Tests.cs | ghcode:00172:0024fd2aed4e | mit | codeparrot/github-code | 0024fd2aed4e1ebd17a88cdd6f00d2a7521a996d8cb0b482e8b9493207e9fac6 | 0.85 | testing_debugging_repair_refactoring | 4,827 | false | 2026-07-17 |
using Xunit;
namespace NetDevPL.Features.Facebook.Tests
{
public class FacebookPostTests
{
private FacebookPost sut;
public FacebookPostTests()
{
sut = new FacebookPost();
}
[Theory]
[InlineData("test http://test.com", "test <a href=\"http://test.c... | misiek1984/NetDevPLWebsite | tests/Unit/NetDevPL.Features.Facebook.Tests/FacebookPostTests.cs | https://github.com/misiek1984/NetDevPLWebsite/blob/HEAD/tests/Unit/NetDevPL.Features.Facebook.Tests/FacebookPostTests.cs | ghcode:00172:bb066b67425d | mit | codeparrot/github-code | bb066b67425d5b4d930e5ad30d1901019c1192c17228f4946076e3f28b9374d5 | 0.85 | testing_debugging_repair_refactoring | 371 | false | 2026-07-17 |
#region Licence
/* The MIT License (MIT)
Copyright © 2014 Francesco Pighi <francesco.pighi@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitat... | dstockhammer/Brighter | tests/Paramore.Brighter.Tests/CommandStore/MsSsql/When_there_is_no_message_in_the_sql_command_store.cs | https://github.com/dstockhammer/Brighter/blob/HEAD/tests/Paramore.Brighter.Tests/CommandStore/MsSsql/When_there_is_no_message_in_the_sql_command_store.cs | ghcode:00172:90154f1cce67 | mit | codeparrot/github-code | 90154f1cce679fc93da8fb158cfebc2b32b35f42ab3ec37525fba01857af2210 | 0.6 | testing_debugging_repair_refactoring | 504 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Security.Cryptography;
using System.Text;
using Microsoft.Win32;
namespace Microsoft.Alm.Authentication
{
/// <summary>
/// A token storage object which interacts with the current user's Visual Studio 2015 hive in
/// t... | Alan-Lun/git-p3 | Microsoft.Alm.Authentication/TokenRegistry.cs | https://github.com/Alan-Lun/git-p3/blob/HEAD/Microsoft.Alm.Authentication/TokenRegistry.cs | ghcode:00172:f4153a58526c | mit | codeparrot/github-code | f4153a58526cb660baeda185da66b6433560af5996e64c8f03af792f5a150123 | 0.85 | testing_debugging_repair_refactoring | 1,089 | false | 2026-07-17 |
using System;
using Microsoft.AspNet.Identity;
using Nest;
using NUnit.Framework;
namespace Bmbsqd.ElasticIdentity.Tests
{
public abstract class TestBase
{
protected readonly Uri _connectionString = new Uri( "http://localhost:9200/" );
protected readonly string _defaultIndex = "users_tests";
priv... | bmbsqd/elastic-identity | src/Bmbsqd.ElasticIdentity.Tests/TestBase.cs | https://github.com/bmbsqd/elastic-identity/blob/HEAD/src/Bmbsqd.ElasticIdentity.Tests/TestBase.cs | ghcode:00172:198ed7f9f02f | mit | codeparrot/github-code | 198ed7f9f02fceaceebad93be16096732a51bbd864e7d359b8a7d07c3f80ae47 | 0.75 | testing_debugging_repair_refactoring | 172 | false | 2026-07-17 |
//******************************************************************************************************
// Tssc.cs - Gbtc
//
// Copyright © 2014, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// the NOTICE... | GridProtectionAlliance/gsf | Source/Libraries/Tests/GSF.Core.Tests/GSF.TimeSeries.Transport/Tssc.cs | https://github.com/GridProtectionAlliance/gsf/blob/HEAD/Source/Libraries/Tests/GSF.Core.Tests/GSF.TimeSeries.Transport/Tssc.cs | ghcode:00172:ffdfcbdd31c3 | mit | codeparrot/github-code | ffdfcbdd31c3b8f2354c50b2f5705ac51b6904e408561c77926b2fb37d37bb9c | 0.95 | testing_debugging_repair_refactoring | 3,391 | false | 2026-07-17 |
using Sniper.Common;
using Sniper.Http;
using Sniper.TargetProcess.Routes;
using Xunit;
namespace Sniper.Tests.CRUD.Update.Common.Companies
{
public class UpdateCompanyTests
{
[Fact]
public void CompanyThrowsError()
{
var client = new TargetProcessClient
{
... | bluetread/sniper | Sniper.Tests/CRUD/Update/Common/Companies/UpdateCompanyTests.cs | https://github.com/bluetread/sniper/blob/HEAD/Sniper.Tests/CRUD/Update/Common/Companies/UpdateCompanyTests.cs | ghcode:00172:331a55e135e0 | mit | codeparrot/github-code | 331a55e135e0a9826a1ccb4df8d9734cb885fa59b01692f4083e386e2ed9c132 | 0.75 | testing_debugging_repair_refactoring | 108 | false | 2026-07-17 |
using Microsoft.Diagnostics.Tracing;
using Microsoft.Diagnostics.Tracing.Parsers;
using Microsoft.Xunit.Performance.Sdk;
using System.Collections.Generic;
namespace Microsoft.Xunit.Performance.Api
{
internal class GCAllocatedBytesForCurrentThreadMetric : PerformanceMetric
{
public static string GetAllo... | Microsoft/xunit-performance | src/xunit.performance.api/PerformanceMetric/GCAllocatedBytesForCurrentThreadMetric.cs | https://github.com/Microsoft/xunit-performance/blob/HEAD/src/xunit.performance.api/PerformanceMetric/GCAllocatedBytesForCurrentThreadMetric.cs | ghcode:00172:2a3a7cbd5c59 | mit | codeparrot/github-code | 2a3a7cbd5c59f3f8e63718c59f7b20001a51e02cd0d6ed22048eb09f5f745ee5 | 0.6 | testing_debugging_repair_refactoring | 241 | false | 2026-07-17 |
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation t... | alphaleonis/AlphaFS | tests/AlphaFS.UnitTest/File Class/File_Timestamps/File_Timestamps_CompareTimestamps_NonExistingFile.cs | https://github.com/alphaleonis/AlphaFS/blob/HEAD/tests/AlphaFS.UnitTest/File Class/File_Timestamps/File_Timestamps_CompareTimestamps_NonExistingFile.cs | ghcode:00172:975602240632 | mit | codeparrot/github-code | 975602240632a946aecea632c713c7fa3638d6aef5fd288c558bf0d064fb0bae | 0.6 | testing_debugging_repair_refactoring | 714 | false | 2026-07-17 |
using System;
using System.Net;
using System.Threading.Tasks;
using Xunit;
namespace NetHttp.Tests
{
public class GenericResponseHandling
{
[Fact]
public async Task ValidResponse()
{
INetHttpClient client = new NetHttpClient("https://httpbin.org");
var response ... | janpieterz/NetHttp | Tests/GenericResponseHandling.cs | https://github.com/janpieterz/NetHttp/blob/HEAD/Tests/GenericResponseHandling.cs | ghcode:00172:d452b489156a | mit | codeparrot/github-code | d452b489156a20a93e606e7d09d40e1fb9e3cd27400201e35423233345f1c5d2 | 0.7 | testing_debugging_repair_refactoring | 711 | false | 2026-07-17 |
using System;
using Ethereum.Core;
using StructureMap;
using StructureMap.Graph;
namespace Ethereum.Tests
{
public abstract class TestSetup
{
protected void Initialise()
{
ObjectFactory.Initialize(
x => x.Scan(
y =>
... | CiaranJones/Ethereum.NET | Ethereum.Tests.Core/TestSetup.cs | https://github.com/CiaranJones/Ethereum.NET/blob/HEAD/Ethereum.Tests.Core/TestSetup.cs | ghcode:00172:07c5b134f903 | mit | codeparrot/github-code | 07c5b134f903a86ab0dcc7c2f1f45190ec54b3c177a894a137637953cfdc637e | 0.75 | testing_debugging_repair_refactoring | 111 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ClientEventListener.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace EventSourceSample.... | brian-dot-net/writeasync | projects/EventSourceSample/test/EventSourceSample.Test.Unit/ClientEventListener.cs | https://github.com/brian-dot-net/writeasync/blob/HEAD/projects/EventSourceSample/test/EventSourceSample.Test.Unit/ClientEventListener.cs | ghcode:00172:2444a0cac76d | unlicense | codeparrot/github-code | 2444a0cac76d5584bebe6e19ac2fe19e38340ae12c2ed1caef3a9c745e8dba72 | 0.88 | testing_debugging_repair_refactoring | 411 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace WebAssembly.Instructions;
/// <summary>
/// Tests the <see cref="Int32CountTrailingZeroes"/> instruction.
/// </summary>
[TestClass]
public class Int32CountTrailingZeroesTests
{
/// <summary>
/// Tests compilation and execution of the <see cref="I... | RyanLamansky/dotnet-webassembly | WebAssembly.Tests/Instructions/Int32CountTrailingZeroesTests.cs | https://github.com/RyanLamansky/dotnet-webassembly/blob/HEAD/WebAssembly.Tests/Instructions/Int32CountTrailingZeroesTests.cs | ghcode:00172:4ff3a02f2e0f | apache-2.0 | codeparrot/github-code | 4ff3a02f2e0fb9d18609b0c6b96928b5712b21911df79b440bccd5e204d81512 | 0.85 | testing_debugging_repair_refactoring | 303 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using g3;
namespace geometry3Test
{
public static class test_Spatial
{
public static DMesh3 MakeSpatialTestMesh(int n)
{
if (n == 0)
return TestUtil.Make... | gradientspace/geometry3SharpDemos | geometry3Test/test_Spatial.cs | https://github.com/gradientspace/geometry3SharpDemos/blob/HEAD/geometry3Test/test_Spatial.cs | ghcode:00172:148f7edd34b9 | apache-2.0 | codeparrot/github-code | 148f7edd34b987fc9534c1754df43c195926831b69be398602b98c98a3c0bdbe | 0.85 | testing_debugging_repair_refactoring | 3,949 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
namespace ReCommendedExtension.Tests.test.data.Analyzers.AwaitQuickFixes
{
public class AwaitForLambdaFields
{
Func<Task> LambdaField4_WithConfigureAwait = async () =>
{
Console.WriteLine();
await{caret} Task.FromResult("one")... | prodot/ReCommended-Extension | Sources/ReCommendedExtension.Tests/test/data/Analyzers/AwaitQuickFixes/LambdaField4_WithConfigureAwait.cs | https://github.com/prodot/ReCommended-Extension/blob/HEAD/Sources/ReCommendedExtension.Tests/test/data/Analyzers/AwaitQuickFixes/LambdaField4_WithConfigureAwait.cs | ghcode:00172:d56f5acaedae | apache-2.0 | codeparrot/github-code | d56f5acaedaecaab4bddafcf9a096bab4f2c01d0c7b748bc85f7e25818f11cd1 | 0.85 | testing_debugging_repair_refactoring | 74 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Exceptionless.Api.Tests.Utility;
using Exceptionless.Core.Models;
using Exceptionless.Core.Repositories;
using Exceptionless.Core.Repositories.Configuration;
using Exceptionless.DateTimeExtensions;
using Exceptionless.Tests.Utility;
using Foundatio.Repositories.Utility... | adamzolotarev/Exceptionless | Source/Tests/Repositories/ElasticSearchConfigurationTests.cs | https://github.com/adamzolotarev/Exceptionless/blob/HEAD/Source/Tests/Repositories/ElasticSearchConfigurationTests.cs | ghcode:00172:b19a1c5f0087 | apache-2.0 | codeparrot/github-code | b19a1c5f00871a0a71b8fad417e082589465a6066ac2329e0ac3a5f828e373ef | 0.85 | testing_debugging_repair_refactoring | 651 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using LinqStatistics.NaN;
using Xunit;
namespace Tests
{
public class Tests
{
[Fact]
public void Test1()
{
var list = new List<int>();
double mean = list.AverageNaN();
Assert.True(double.IsNaN(mean... | dkackman/LinqStatistics | src/test/Tests.cs | https://github.com/dkackman/LinqStatistics/blob/HEAD/src/test/Tests.cs | ghcode:00172:485e321e343b | apache-2.0 | codeparrot/github-code | 485e321e343bed2b05da9b5ea097c82ccb534c8ad201b572be1f185c7c212c3a | 0.85 | testing_debugging_repair_refactoring | 71 | 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... | Matt-Westphal/azure-powershell | src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs | https://github.com/Matt-Westphal/azure-powershell/blob/HEAD/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs | ghcode:00172:fa8a15035b86 | apache-2.0 | codeparrot/github-code | fa8a15035b866db8ff87e4dfbec65aeb23b8a21b7a369f4b5195a42a7e942d06 | 0.85 | testing_debugging_repair_refactoring | 2,891 | false | 2026-07-17 |
/*
* Copyright 2012-2016 The Pkcs11Interop Project
*
* 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 app... | thearkhelist/Pkcs11Interop | src/Pkcs11Interop/Pkcs11InteropTests/HighLevelAPI/_22_DigestEncryptAndDecryptDigestTest.cs | https://github.com/thearkhelist/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop/Pkcs11InteropTests/HighLevelAPI/_22_DigestEncryptAndDecryptDigestTest.cs | ghcode:00172:4fdb0c1063ab | apache-2.0 | codeparrot/github-code | 4fdb0c1063ab8091df480a886425804a9e9849617dc18a7ad339d0eb1e385e66 | 0.85 | testing_debugging_repair_refactoring | 722 | false | 2026-07-17 |
using BEPUutilities.DataStructures;
using BEPUutilities.ResourceManagement;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace SIMDPrototyping.Trees.Singl... | RossNordby/scratchpad | SIMDPrototyping/SIMDPrototyping/Trees/SingleArray/Tree_IncrementalCacheOptimizer.cs | https://github.com/RossNordby/scratchpad/blob/HEAD/SIMDPrototyping/SIMDPrototyping/Trees/SingleArray/Tree_IncrementalCacheOptimizer.cs | ghcode:00172:7183328e9fec | apache-2.0 | codeparrot/github-code | 7183328e9fec667ca1c60d410feb4ca1f271eeaf07ce72f5f6b9949dba95b382 | 0.85 | testing_debugging_repair_refactoring | 6,805 | false | 2026-07-17 |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.IdentityModel.Tokens.Jwt;
using System.IO;
using System.Text;
using FluentAssertions;
using IdentityServer4.Configuration;
using ... | jbijlsma/IdentityServer4 | test/IdentityServer.UnitTests/Validation/Secrets/ClientAssertionSecretParsing.cs | https://github.com/jbijlsma/IdentityServer4/blob/HEAD/test/IdentityServer.UnitTests/Validation/Secrets/ClientAssertionSecretParsing.cs | ghcode:00172:df2b132fea14 | apache-2.0 | codeparrot/github-code | df2b132fea142c3cf9b64f4d4c746db91974e79d083220a3401cb2755e4f7d57 | 0.75 | testing_debugging_repair_refactoring | 933 | false | 2026-07-17 |
// Copyright 2012 Fan Shi
//
// This file is part of the VBF project.
//
// 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
//
// Unles... | Ninputer/VBF | src/Samples/MiniSharp/MethodBodyResolver.cs | https://github.com/Ninputer/VBF/blob/HEAD/src/Samples/MiniSharp/MethodBodyResolver.cs | ghcode:00172:71c7d94d0d3f | apache-2.0 | codeparrot/github-code | 71c7d94d0d3fad69e3c0788a626c1fab55414f38afbf9f534742f4fe43143a21 | 0.85 | testing_debugging_repair_refactoring | 4,930 | false | 2026-07-17 |
using RestSharp.Serializers;
namespace RestSharp.Tests.Serializers.Xml.SampleClasses;
[DeserializeAs(Name = "Color")]
public class ColorWithValue {
public string Name { get; set; }
public int Value { get; set; }
} | restsharp/RestSharp | test/RestSharp.Tests.Serializers.Xml/SampleClasses/ColorWithValue.cs | https://github.com/restsharp/RestSharp/blob/HEAD/test/RestSharp.Tests.Serializers.Xml/SampleClasses/ColorWithValue.cs | ghcode:00172:e5035a621127 | apache-2.0 | codeparrot/github-code | e5035a621127be2ce447d575dd3e788b730aca5db5dedda4bfa14871ff80b066 | 0.75 | testing_debugging_repair_refactoring | 51 | 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
*
* Unless re... | MaferYangPointJun/Spring.net | test/Spring/Spring.Core.Tests/Util/PatternMatchUtilsTests.cs | https://github.com/MaferYangPointJun/Spring.net/blob/HEAD/test/Spring/Spring.Core.Tests/Util/PatternMatchUtilsTests.cs | ghcode:00172:a8424e5667fa | apache-2.0 | codeparrot/github-code | a8424e5667fa46ff000dcba7bc008428b7f3432f58eec619d203e4c65e57d595 | 0.85 | testing_debugging_repair_refactoring | 193 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.C... | thomaslevesque/roslyn | src/Compilers/CSharp/Test/Symbol/Compilation/CSharpCompilationOptionsTests.cs | https://github.com/thomaslevesque/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Compilation/CSharpCompilationOptionsTests.cs | ghcode:00172:6930c3b44f66 | apache-2.0 | codeparrot/github-code | 6930c3b44f664d8dd5fc4cb3d880662aab7c43d0088dce3e8491a09eac9998e5 | 0.95 | testing_debugging_repair_refactoring | 5,007 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// Symbooglix
//
//
// Copyright 2014-2017 Daniel Liew
//
// This file is licensed under the MIT license.
// See LICENSE.txt for details.
//------------------------------------------------------------------... | symbooglix/symbooglix | src/BoogieTests/BadTokenLocations.cs | https://github.com/symbooglix/symbooglix/blob/HEAD/src/BoogieTests/BadTokenLocations.cs | ghcode:00172:bc1c5767e5c8 | bsd-2-clause | codeparrot/github-code | bc1c5767e5c8da6c4a4e2a9c1b6180f4d29e1568d09b57f2204d2f839d88160d | 0.78 | testing_debugging_repair_refactoring | 360 | false | 2026-07-17 |
using LightBDD;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace $safeprojectname$
{
[Label("FEAT-1"), FeatureDescription(
@"In order to
As a
I want to ")]
[TestClass]
public partial class My_feature
{
[Label("SCENARIO-1"), TestMethod]
public void Template_scenario()
{
Runner... | csuffyy/LightBDD | TemplatesSource/ProjectTemplates/LightBDD/LightBDD for MsTest/My_feature.cs | https://github.com/csuffyy/LightBDD/blob/HEAD/TemplatesSource/ProjectTemplates/LightBDD/LightBDD for MsTest/My_feature.cs | ghcode:00172:863d5b36cc0d | bsd-2-clause | codeparrot/github-code | 863d5b36cc0d8eb5d0f8971bd2a2a9c243ebd782460b89d6e6cd8a0d3014df44 | 0.68 | testing_debugging_repair_refactoring | 111 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace ServiceStack.Text.Tests
{
[TestFixture]
public class StructTests
{
[Serializable]
public class Foo
{
public string Name { get; set; }
public Text Content1 { get; set; }
public Text Content2 { get; s... | gerryhigh/ServiceStack.Text | tests/ServiceStack.Text.Tests/StructTests.cs | https://github.com/gerryhigh/ServiceStack.Text/blob/HEAD/tests/ServiceStack.Text.Tests/StructTests.cs | ghcode:00172:0e8eaf2e20c1 | bsd-3-clause | codeparrot/github-code | 0e8eaf2e20c1042e954c5d9554f6a3aa291f3254830b72470f4824e0ec5b5d7e | 0.75 | testing_debugging_repair_refactoring | 1,252 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.