text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using System.Diagnostics.Contracts;
class A
{
void Foo(string s0, string s1, string s2{caret})
{
Contract.Requires(s0 != null);
Contract.Requires(s1 != null);
}
} | Diagonactic/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/test/data/Intentions/ContextActions/Requires/ExecutionWithSpecifiedOrder.cs | https://github.com/Diagonactic/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/test/data/Intentions/ContextActions/Requires/ExecutionWithSpecifiedOrder.cs | ghcode:00173:66d46c20543b | mit | codeparrot/github-code | 66d46c20543b468e823fb2f68f3543965762ba89a1968f6fa41fba927b078168 | 0.6 | testing_debugging_repair_refactoring | 47 | 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.Reflection;
using System.Reflection.Emit;
using Xunit;
namespace Sy... | lggomez/corefx | src/System.Linq.Expressions/tests/MemberInit/MemberBindTests.cs | https://github.com/lggomez/corefx/blob/HEAD/src/System.Linq.Expressions/tests/MemberInit/MemberBindTests.cs | ghcode:00173:b23305f3f92e | mit | codeparrot/github-code | b23305f3f92eda907bf0990d0cd8ec5a9d50dba42f65fba4cd0ce144e3c1e244 | 0.95 | testing_debugging_repair_refactoring | 2,444 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Reflection.Metadata.Ecma335;
using Xunit;
namespace System.Reflec... | iamjasonp/corefx | src/System.Reflection.Metadata/tests/Metadata/LargeTablesAndHeapsTests.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Reflection.Metadata/tests/Metadata/LargeTablesAndHeapsTests.cs | ghcode:00173:d6dc81fbe307 | mit | codeparrot/github-code | d6dc81fbe3074da5eeda069fc4e6d7425abff1c244228bdf87130ec33762ece6 | 0.82 | testing_debugging_repair_refactoring | 33,146 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using NUnit.Framework;
namespace Azure.AI.FormRecognizer.DocumentAnalysis.Tests
{
/// <summary>
/// The suite of tests for the <see cref="BoundingBox"/> struct.
... | Azure/azure-sdk-for-net | sdk/formrecognizer/Azure.AI.FormRecognizer/tests/DocumentAnalysisModels/BoundingBoxTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/DocumentAnalysisModels/BoundingBoxTests.cs | ghcode:00173:361a9f1ef39d | mit | codeparrot/github-code | 361a9f1ef39d09120f4a42180306f99a830cca3332dc8a29d4fc43e2002fc9cb | 0.95 | testing_debugging_repair_refactoring | 255 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Reflection;
using Azure.Core.TestFramework;
namespace Azure.AI.FormRecognizer.DocumentAnalysis.Tests
{
/// <summary>
/// A helper class used to retrieve information to b... | AsrOneSdk/azure-sdk-for-net | sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/DocumentAnalysisTestEnvironment.cs | https://github.com/AsrOneSdk/azure-sdk-for-net/blob/HEAD/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/DocumentAnalysisTestEnvironment.cs | ghcode:00173:4f7e018ddbaa | mit | codeparrot/github-code | 4f7e018ddbaab83c5ef4b286239320ec39239a34c92c3c6797838b6cccd0640b | 0.95 | testing_debugging_repair_refactoring | 1,283 | false | 2026-07-17 |
// Copyright (c) 2007-2014 Joe White
//
// 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, modify, merge, publish... | joewhite/dgrok | Source/DGrok.Tests/PropertyTests.cs | https://github.com/joewhite/dgrok/blob/HEAD/Source/DGrok.Tests/PropertyTests.cs | ghcode:00173:e77a5977d547 | mit | codeparrot/github-code | e77a5977d54799c787c3573dbd0ab89cf1bdb518d367d4b45bbc84b94369cb5e | 0.85 | testing_debugging_repair_refactoring | 1,732 | false | 2026-07-17 |
using NUnit.Framework;
using QbSync.QbXml.Objects;
using QbSync.QbXml.Tests.Helpers;
using System;
namespace QbSync.QbXml.Tests.QbXml
{
[TestFixture]
class DataExtDelResponseTests
{
[Test]
public void BasicDataDelExtResponseTest()
{
var ret = "<DataExtDelRet><OwnerID>{7... | cyberjared/quickbooks-sync | test/QbXml.Tests/Messages/Responses/DataExtDelResponseTests.cs | https://github.com/cyberjared/quickbooks-sync/blob/HEAD/test/QbXml.Tests/Messages/Responses/DataExtDelResponseTests.cs | ghcode:00173:2a146dd5e97f | mit | codeparrot/github-code | 2a146dd5e97f78b523c19a9da58213b04fa6973700c45cfa5ada065bce63d338 | 0.75 | testing_debugging_repair_refactoring | 323 | false | 2026-07-17 |
using System.Collections.ObjectModel;
using Newtonsoft.Json;
using Xunit;
namespace Swashbuckle.AspNetCore.Newtonsoft.Test
{
/// <summary>
/// For ad-hoc serializer testing
/// </summary>
public class NewtonsoftSerializerTesting
{
[Fact]
public void Serialize()
{
... | domaindrivendev/Swashbuckle.AspNetCore | test/Swashbuckle.AspNetCore.Newtonsoft.Test/NewtonsoftSerializerTesting.cs | https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/HEAD/test/Swashbuckle.AspNetCore.Newtonsoft.Test/NewtonsoftSerializerTesting.cs | ghcode:00173:ec22a0ea3a5f | mit | codeparrot/github-code | ec22a0ea3a5f281a0997790023b117cb100b744e7823beb98016816afd120a2d | 0.85 | testing_debugging_repair_refactoring | 231 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Linq;
namespace LiteDB.Tests
{
public class EntityInt
{
public int Id { get; set; }
}
public class EntityLong
{
public long Id { get; set; }
}
public class EntityGuid
{
... | RytisLT/LiteDB | LiteDB.Tests/Database/AutoIdTest.cs | https://github.com/RytisLT/LiteDB/blob/HEAD/LiteDB.Tests/Database/AutoIdTest.cs | ghcode:00173:42ec423894b8 | mit | codeparrot/github-code | 42ec423894b8d0735434738e3ebd47f0869f114e9b5c5c5e1cc08ea3285133db | 0.85 | testing_debugging_repair_refactoring | 1,085 | 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.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Complet... | jaredpar/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/RecommenderTests.cs | https://github.com/jaredpar/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/RecommenderTests.cs | ghcode:00173:deefb450bd46 | apache-2.0 | codeparrot/github-code | deefb450bd465ff902b29f36b44c9fd176c67a011769f327bd35bbed42808663 | 0.85 | testing_debugging_repair_refactoring | 1,733 | false | 2026-07-17 |
using ElmahLogAnalyzer.Core.Common;
using ElmahLogAnalyzer.Core.Domain;
using ElmahLogAnalyzer.Core.Presentation;
using NUnit.Framework;
namespace ElmahLogAnalyzer.UnitTests.Presentation
{
[TestFixture]
public class ReportTypeListItemTests : UnitTestBase
{
[Test]
public void Ctor_SetsTypeAndDisplayname()
{
... | sheryever/elmah-log-analyzer-with-custom-data | src/ElmahLogAnalyzer.UnitTests/Presentation/ReportTypeListItemTests.cs | https://github.com/sheryever/elmah-log-analyzer-with-custom-data/blob/HEAD/src/ElmahLogAnalyzer.UnitTests/Presentation/ReportTypeListItemTests.cs | ghcode:00173:d393c14592e0 | apache-2.0 | codeparrot/github-code | d393c14592e0f52f6de12d5b1204611bcbb120606005012fda5d02a49d8a3ef0 | 0.85 | testing_debugging_repair_refactoring | 199 | 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.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Fluent... | claq2/IdentityModel.HttpSigning | src/IdentityModel.HttpSigning.Tests/Confirmation/JwkTests.cs | https://github.com/claq2/IdentityModel.HttpSigning/blob/HEAD/src/IdentityModel.HttpSigning.Tests/Confirmation/JwkTests.cs | ghcode:00173:5e0b5627acb8 | apache-2.0 | codeparrot/github-code | 5e0b5627acb82b46839aa659ffd931fd35a230dae213f137c0a959347b71d773 | 0.75 | testing_debugging_repair_refactoring | 337 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using StructureMap.Configuration.DSL;
using StructureMap.Configuration.DSL.Expressions;
using StructureMap.Graph;
using StructureMap.Pipeline;
using StructureMap.Testing.Widget;
using StructureMap.Testing.Widget3;
using System.Linq;
name... | chester89/structuremap-35-client | Source/StructureMap.Testing/Configuration/DSL/CreatePluginFamilyTester.cs | https://github.com/chester89/structuremap-35-client/blob/HEAD/Source/StructureMap.Testing/Configuration/DSL/CreatePluginFamilyTester.cs | ghcode:00173:e412ef33b6d5 | apache-2.0 | codeparrot/github-code | e412ef33b6d5c4f88d7b96aff53f0877aac05a8523784907a61eb4278f891174 | 0.6 | testing_debugging_repair_refactoring | 1,695 | 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.IO;
using System.Linq;
using Microsoft.CodeAnalysis.Simplification;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.CodeAnalysis.Te... | aelij/roslyn | src/Workspaces/CoreTest/SerializationTests.cs | https://github.com/aelij/roslyn/blob/HEAD/src/Workspaces/CoreTest/SerializationTests.cs | ghcode:00173:a265999e3a54 | apache-2.0 | codeparrot/github-code | a265999e3a549b80cfde5f31bc82d69b0f5597ccb200d89669cf622d16132195 | 0.75 | testing_debugging_repair_refactoring | 640 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Reflection;
using OpenRiaServices.DomainServices;
#if SERVERFX
using DataResource = O... | jeffhandley/OpenRiaServices | OpenRiaServices.DomainServices.Client/Framework/Portable/Data/ValidationUtilities.cs | https://github.com/jeffhandley/OpenRiaServices/blob/HEAD/OpenRiaServices.DomainServices.Client/Framework/Portable/Data/ValidationUtilities.cs | ghcode:00173:1e2ea7ea4038 | apache-2.0 | codeparrot/github-code | 1e2ea7ea4038e834cb670eba251f45b62cf95020af5a96a4aa3816be32205a7d | 0.85 | testing_debugging_repair_refactoring | 6,060 | false | 2026-07-17 |
namespace Yahoo.Yui.Compressor.Build
{
public class FileSpec
{
private string fileName;
public string FileName
{
get
{
return fileName;
}
set
{
fileName = value.Trim();
... | VAllens/Yahoo.YUI.Compressor.NET.Modified | Code/Yahoo.Yui.Compressor.Build.MsBuild/FileSpec.cs | https://github.com/VAllens/Yahoo.YUI.Compressor.NET.Modified/blob/HEAD/Code/Yahoo.Yui.Compressor.Build.MsBuild/FileSpec.cs | ghcode:00173:5e9bfa38bc1d | bsd-3-clause | codeparrot/github-code | 5e9bfa38bc1de73381558d24055d6be80e0dc5fd275b07bcaeca9f97df726898 | 0.75 | testing_debugging_repair_refactoring | 96 | false | 2026-07-17 |
using GeoJSON.Net.CoordinateReferenceSystem;
using GeoJSON.Net.Feature;
using Newtonsoft.Json;
using NUnit.Framework;
namespace GeoJSON.Net.Tests.CoordinateReferenceSystem
{
[TestFixture]
public class UnspecifiedCRSTests : TestBase
{
[Test]
public void Has_Correct_Type()
{
... | kenkaohy/GeoJSON.Net | src/GeoJSON.Net.Tests/CoordinateReferenceSystem/UnspecifiedCRSTests.cs | https://github.com/kenkaohy/GeoJSON.Net/blob/HEAD/src/GeoJSON.Net.Tests/CoordinateReferenceSystem/UnspecifiedCRSTests.cs | ghcode:00173:2eb14fe62722 | mit | codeparrot/github-code | 2eb14fe62722d9928aece35e9e30f5ead1cdd770a9d090b4f5e82cfd03a29049 | 0.75 | testing_debugging_repair_refactoring | 236 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace System.Reflection.Emit.Tests
{
[Att... | iamjasonp/corefx | src/System.Reflection.Emit/tests/AssemblyBuilderTests.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Reflection.Emit/tests/AssemblyBuilderTests.cs | ghcode:00173:cd065a005671 | mit | codeparrot/github-code | cd065a005671e2f109ffc0c85e96c872bbda8aae62d3302f806cebddbb2d7480 | 0.95 | testing_debugging_repair_refactoring | 946 | false | 2026-07-17 |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TestHelper
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* cont... | jeme/lucenenet | src/dotnet/Lucene.Net.Tests.CodeAnalysis/Verifiers/DiagnosticVerifier.cs | https://github.com/jeme/lucenenet/blob/HEAD/src/dotnet/Lucene.Net.Tests.CodeAnalysis/Verifiers/DiagnosticVerifier.cs | ghcode:00173:46d88e4d663b | apache-2.0 | codeparrot/github-code | 46d88e4d663b2ba5c8a781e8ee33fe496bdd44dece90ba757149b2200342d15c | 0.85 | testing_debugging_repair_refactoring | 2,722 | false | 2026-07-17 |
/*
Alphora Dataphor
© Copyright 2000-2008 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
using System;
using System.Text;
using System.Runtime.Serialization;
namespace Alphora.Dataphor.DAE.Language
{
public enum TokenType { Unknow... | n8allan/Dataphor | Dataphor/Language.SQL/Language/Lexer.cs | https://github.com/n8allan/Dataphor/blob/HEAD/Dataphor/Language.SQL/Language/Lexer.cs | ghcode:00173:644d3881c6e2 | bsd-3-clause | codeparrot/github-code | 644d3881c6e2b1d58a17232b6398453216ddff0657573e1559f9f451e7b6e136 | 0.7 | testing_debugging_repair_refactoring | 4,532 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.FindSymbols;
using Microsoft.CodeAnalysis.Formatting;
using Microsoft.Code... | haled/omnisharp-roslyn | tests/OmniSharp.Tests/TestHelpers.cs | https://github.com/haled/omnisharp-roslyn/blob/HEAD/tests/OmniSharp.Tests/TestHelpers.cs | ghcode:00173:0b19c7baec8a | mit | codeparrot/github-code | 0b19c7baec8ae39abb8650d1688110e3f6c8abd0b1cf5e0a5f7cf5423b789569 | 0.75 | testing_debugging_repair_refactoring | 1,536 | 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:... | xJom/mbunit-v3 | src/Extensions/VisualStudio/Gallio.VisualStudio.Interop.Tests/VisualStudioDebuggerTest.cs | https://github.com/xJom/mbunit-v3/blob/HEAD/src/Extensions/VisualStudio/Gallio.VisualStudio.Interop.Tests/VisualStudioDebuggerTest.cs | ghcode:00173:a4567089dc12 | apache-2.0 | codeparrot/github-code | a4567089dc123f3f987bf5e119e61738b8d329347c51bd08ab78a08f11761438 | 0.85 | testing_debugging_repair_refactoring | 1,349 | 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/UnitTests/TokenizerTest.cs | https://github.com/MihaelaStoica/xenadmin/blob/HEAD/XenAdminTests/UnitTests/TokenizerTest.cs | ghcode:00173:7909ce9da3e0 | bsd-2-clause | codeparrot/github-code | 7909ce9da3e0ee49d703bc7f88ebb7000f38fa7620a5b41af7cae7824e8121a6 | 0.68 | testing_debugging_repair_refactoring | 471 | 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.Syntax;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Roslyn.Utilitie... | jkotas/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/ObjectAndCollectionInitializerTests.cs | https://github.com/jkotas/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/ObjectAndCollectionInitializerTests.cs | ghcode:00173:7adea7d6d5d4 | apache-2.0 | codeparrot/github-code | 7adea7d6d5d4295b8e3b40efd58344c5ade9e574fba5ddacb8f4ede81fff3f37 | 0.75 | testing_debugging_repair_refactoring | 43,974 | false | 2026-07-17 |
#region license
// Copyright (c) 2007-2010 Mauricio Scheffer
//
// 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 requir... | ManpowerNordic/SolrNet | SolrNet.Tests/OperatorOverloadingTests.cs | https://github.com/ManpowerNordic/SolrNet/blob/HEAD/SolrNet.Tests/OperatorOverloadingTests.cs | ghcode:00173:3c87d3bf7996 | apache-2.0 | codeparrot/github-code | 3c87d3bf799666814c73466d4718500bcdfa40a5c8ca9bd596339d252556fa2b | 0.85 | testing_debugging_repair_refactoring | 1,165 | false | 2026-07-17 |
using Entitas;
public class MoveSystem : ISystem {
}
| vkuskov/Entitas-CSharp | Tests/Tests/Entitas.Migration/Fixtures/M0190/SubFolder/MoveSystem.cs | https://github.com/vkuskov/Entitas-CSharp/blob/HEAD/Tests/Tests/Entitas.Migration/Fixtures/M0190/SubFolder/MoveSystem.cs | ghcode:00173:83f4b3ef773c | mit | codeparrot/github-code | 83f4b3ef773cd41c3012adc3cb1c4df99496e74c3e1746b04723ac6dcde2766c | 0.45 | testing_debugging_repair_refactoring | 13 | false | 2026-07-17 |
namespace Simple.Data.UnitTest
{
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
[TestFixture]
public class SimpleRecordAsDictionaryTest
{
private IDictionary<string, object> CreateTarget()
{
return new Simpl... | youjava/Simple.Data | Simple.Data.UnitTest/SimpleRecordAsDictionaryTest.cs | https://github.com/youjava/Simple.Data/blob/HEAD/Simple.Data.UnitTest/SimpleRecordAsDictionaryTest.cs | ghcode:00173:8ec492a8edd3 | mit | codeparrot/github-code | 8ec492a8edd39220aeca4c3dd939e00e8d48812d2f83a2ab14e891385aeb6cbb | 0.6 | testing_debugging_repair_refactoring | 1,542 | 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.IO;
using System.Text;
using System.Globalization;
using System.Collections.G... | alphonsekurian/corefx | src/System.Xml.XmlDocument/src/System/Xml/Dom/XmlDocument.cs | https://github.com/alphonsekurian/corefx/blob/HEAD/src/System.Xml.XmlDocument/src/System/Xml/Dom/XmlDocument.cs | ghcode:00173:f89d1b143d6d | mit | codeparrot/github-code | f89d1b143d6daa2051e36b293e38e5239c4b85db49ca95e863b50f534ff309cd | 0.95 | testing_debugging_repair_refactoring | 8,175 | 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.Win32.SafeHandles;
using System;
using System.IO;
using Xunit;
namespace System.IO.Tests
{
public class FileStream_IsAsync : FileSystemTest
{
... | vs-team/corefx | src/System.IO.FileSystem/tests/FileStream/IsAsync.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.IO.FileSystem/tests/FileStream/IsAsync.cs | ghcode:00173:315bc92c5745 | mit | codeparrot/github-code | 315bc92c5745cd9f252236797c06c1afcf9b53e48ce1e8beabb371f1bb10e76c | 0.85 | testing_debugging_repair_refactoring | 415 | 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.Linq;
using Microsoft.CodeAnalysis.Diagnostics.Log;
using Roslyn.Utilities;
using System.Runti... | KevinRansom/roslyn | src/EditorFeatures/Test/Diagnostics/TestDiagnosticAnalyzerService.cs | https://github.com/KevinRansom/roslyn/blob/HEAD/src/EditorFeatures/Test/Diagnostics/TestDiagnosticAnalyzerService.cs | ghcode:00173:bb48d3cd2031 | apache-2.0 | codeparrot/github-code | bb48d3cd2031c4279fbe31f390c2e2379b03d0535faec825a4580af4d52d8dd5 | 0.85 | testing_debugging_repair_refactoring | 1,076 | 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 appl... | yadavbdev/azure-sdk-for-net | src/Search/Search.Management.Tests/Utilities/ResourceGroupFixture.cs | https://github.com/yadavbdev/azure-sdk-for-net/blob/HEAD/src/Search/Search.Management.Tests/Utilities/ResourceGroupFixture.cs | ghcode:00173:a67e4ff913b5 | apache-2.0 | codeparrot/github-code | a67e4ff913b5b72caab0533be8272f5187d7a9fdf60139bf74a4081bcde87aa3 | 0.85 | testing_debugging_repair_refactoring | 394 | 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.Xml;
using OLEDB.Test.ModuleCore;
namespace XmlConvertTests
{
internal class SqlXmlConvertTests3 : SqlXmlConvertTests
{
#reg... | Winsto/corefx | src/System.Xml.ReaderWriter/tests/XmlConvert/SqlXmlConvertTests3.cs | https://github.com/Winsto/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/XmlConvert/SqlXmlConvertTests3.cs | ghcode:00173:16cfe3fe60e5 | mit | codeparrot/github-code | 16cfe3fe60e51df764e2486e577605fbf2d56af2ea61180275e959f625d4d892 | 0.85 | testing_debugging_repair_refactoring | 294 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SerializationConfigurationManagerTest.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// ----------------------------------... | NaosProject/Naos.Serialization | Naos.Serialization.Test/ConfigurationTests/SerializationConfigurationManagerTest.cs | https://github.com/NaosProject/Naos.Serialization/blob/HEAD/Naos.Serialization.Test/ConfigurationTests/SerializationConfigurationManagerTest.cs | ghcode:00173:3225855ada0c | mit | codeparrot/github-code | 3225855ada0cb7d6ca01ca25148cbb3294d71763d5465465c9fcca053deb4b59 | 0.7 | testing_debugging_repair_refactoring | 529 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Runtime.CompilerServices;
namespace Crevice4Tests
{
using System.Reflection;
using Cre... | rubyu/CreviceApp | CreviceAppTests/US.Main.ClusterMainFormTests.cs | https://github.com/rubyu/CreviceApp/blob/HEAD/CreviceAppTests/US.Main.ClusterMainFormTests.cs | ghcode:00173:ce7485e43f1b | mit | codeparrot/github-code | ce7485e43f1b633163554b22356bac2c21ceff5910191dfd004dfd08cfc12acc | 0.75 | testing_debugging_repair_refactoring | 1,179 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="When_archiving_chemicals.cs" company="Gary Ewan Park">
// Copyright (c) Gary Ewan Park, 2014, All rights reserved.
// </copyright>
// <summary>
// Defines the When_creating_ch... | gep13/WebApiSample | Tests/Gep13.Sample.Service.Tests/When_archiving_chemicals.cs | https://github.com/gep13/WebApiSample/blob/HEAD/Tests/Gep13.Sample.Service.Tests/When_archiving_chemicals.cs | ghcode:00173:ccb3ee509f34 | mit | codeparrot/github-code | ccb3ee509f340fd958ffe3ea8508c209f8b932ba1ae66538a2830356361ea32f | 0.7 | testing_debugging_repair_refactoring | 265 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using VenoMpie.Common.Interfaces.WadArchive;
namespace VenoMpie.Common.UnitTests.Interfaces
{
[TestClass]
public class WadArchiveTests
{
private WadArchive wa = new WadArchive();
[TestMethod... | VenoMpie/KitchenSink | VenoMpie.Common.UnitTests/Interfaces/WadArchiveTests.cs | https://github.com/VenoMpie/KitchenSink/blob/HEAD/VenoMpie.Common.UnitTests/Interfaces/WadArchiveTests.cs | ghcode:00173:2b9bab8f9ecf | mit | codeparrot/github-code | 2b9bab8f9ecf3ddca221598f4104a9bb99af366702a3cd1d539c6b908df2abf5 | 0.75 | testing_debugging_repair_refactoring | 217 | false | 2026-07-17 |
using FluentAssertions;
using FluentAssertions.Primitives;
using System.Xml.Linq;
using System.IO;
using Microsoft.Extensions.PlatformAbstractions;
namespace SimpleMvcSitemap.Tests
{
public static class XmlAssertionExtensions
{
public static void BeXmlEquivalent(this StringAssertions assertions, strin... | uhaciogullari/SimpleMvcSitemap | test/SimpleMvcSitemap.Tests/XmlAssertionExtensions.cs | https://github.com/uhaciogullari/SimpleMvcSitemap/blob/HEAD/test/SimpleMvcSitemap.Tests/XmlAssertionExtensions.cs | ghcode:00173:0ac2d99d2903 | mit | codeparrot/github-code | 0ac2d99d2903568a90aa840726b5cd33442885b3670079a294959fc9055a6512 | 0.75 | testing_debugging_repair_refactoring | 128 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DSA.DataStructures.Lists;
using DSA.Algorithms.Sorting;
using System.Collections.Generic;
namespace DSAUnitTests.Algorithms.Sorting
{
[TestClass]
public class ParallelMergeSorterSinglyLinkedListTests
{
[TestMethod]
pub... | abdonkov/DSA | DSA/DSAUnitTests/Algorithms/Sorting/ParallelMergeSorterSinglyLinkedListTests.cs | https://github.com/abdonkov/DSA/blob/HEAD/DSA/DSAUnitTests/Algorithms/Sorting/ParallelMergeSorterSinglyLinkedListTests.cs | ghcode:00173:2e1cfab9ae98 | mit | codeparrot/github-code | 2e1cfab9ae986f287e2520510ce9862ce81a42dee70fa3b94b3c0d0f766006d1 | 0.85 | testing_debugging_repair_refactoring | 1,889 | false | 2026-07-17 |
using DelacorteNumbers;
using DelacorteNumbers.Calculations;
using FluentAssertions;
using NUnit.Framework;
namespace UnitTests
{
[TestFixture]
public class GridSubValueTests
{
[Test,
Combinatorial]
public void GridSubValueComputesGCD([Values(1, 2, 3, 4, 5, 6, 7, 8, 9)]... | Brondahl/DelacorteNumbers | UnitTests/GridSubValueTests.cs | https://github.com/Brondahl/DelacorteNumbers/blob/HEAD/UnitTests/GridSubValueTests.cs | ghcode:00173:15bb5e921ae4 | mit | codeparrot/github-code | 15bb5e921ae4b707c58fbeeb428a17d82ec30a738f3c53901cc2da05dc92b02d | 0.75 | testing_debugging_repair_refactoring | 898 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Input;
using osu.Framework.Testing;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Edit;
usi... | peppy/osu-new | osu.Game.Tests/Visual/Editing/TestSceneEditorSaving.cs | https://github.com/peppy/osu-new/blob/HEAD/osu.Game.Tests/Visual/Editing/TestSceneEditorSaving.cs | ghcode:00173:cc78989297fd | mit | codeparrot/github-code | cc78989297fda24330d8e032c2900532979e531920e313e74d5471aa8dae40b7 | 0.85 | testing_debugging_repair_refactoring | 826 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Microsoft.Identity.Client.PlatformsCommon.Factories;
using Microsoft.Identity.Client.PlatformsCommon.Interfaces;
using Microsoft.Identity.Test.Common;
using Microsoft.Identity.Test.Common.Core.Helpers;
... | AzureAD/microsoft-authentication-library-for-dotnet | tests/Microsoft.Identity.Test.Unit/PlatformProxyPerformanceTests.cs | https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/HEAD/tests/Microsoft.Identity.Test.Unit/PlatformProxyPerformanceTests.cs | ghcode:00173:ef2dd384afa7 | mit | codeparrot/github-code | ef2dd384afa78763de2c1f2075b22acfc0bc44b70ca5fa59d1cd79334a5901a7 | 0.85 | testing_debugging_repair_refactoring | 541 | 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.Text;
using System.Diagnostics;
using System.Threading.Tasks;
using MICore;
using System.Globalization;
n... | caslan/MIEngine | src/MIDebugEngine/Engine.Impl/Breakpoints.cs | https://github.com/caslan/MIEngine/blob/HEAD/src/MIDebugEngine/Engine.Impl/Breakpoints.cs | ghcode:00173:9bd8099b4ae4 | mit | codeparrot/github-code | 9bd8099b4ae4aa28880285f2c73ec07fb6bf4347582605e2917ebfcd46ebd7e6 | 0.7 | testing_debugging_repair_refactoring | 3,061 | false | 2026-07-17 |
using NUnit.Framework;
using Tokens.Exceptions;
namespace Tokens.Validators
{
[TestFixture]
public class StartsWithValidatorTests
{
private StartsWithValidator validator;
[SetUp]
public void SetUp()
{
validator = new StartsWithValidator();
}
[T... | flipbit/tokenizer | Tokenizer.Tests/Validators/StartsWithValidatorTests.cs | https://github.com/flipbit/tokenizer/blob/HEAD/Tokenizer.Tests/Validators/StartsWithValidatorTests.cs | ghcode:00173:a9a8918d6e5a | mit | codeparrot/github-code | a9a8918d6e5a0db9836374782f1ef37df10312a0ab8626b2b3faeeda736cbbbd | 0.75 | testing_debugging_repair_refactoring | 329 | false | 2026-07-17 |
using NUnit.Framework;
using System.Globalization;
using System.Threading;
namespace CronExpressionDescriptor.Test
{
[TestFixture]
public class TestFormatsNo
{
[TestFixtureSetUp]
public void SetUp()
{
CultureInfo myCultureInfo = new CultureInfo("nb-NO");
Thr... | sadedil/cron-expression-descriptor | CronExpressionDescriptor.Test/TestFormats.no.cs | https://github.com/sadedil/cron-expression-descriptor/blob/HEAD/CronExpressionDescriptor.Test/TestFormats.no.cs | ghcode:00173:7472183bbe4f | mit | codeparrot/github-code | 7472183bbe4f398d835858c027f2e0ec2509803c4427076a31884769c2563b4d | 0.75 | testing_debugging_repair_refactoring | 2,790 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NClap.Metadata;
using System.Linq;
namespace NClap.Tests.Parser
{
[TestClass]
public class CommandParsingTests
{
class SomethingCommand : SynchronousCommand
{
[NamedArgument]
public bo... | reubeno/NClap | src/Tests/UnitTests/Parser/CommandParsingTests.cs | https://github.com/reubeno/NClap/blob/HEAD/src/Tests/UnitTests/Parser/CommandParsingTests.cs | ghcode:00173:a0410ae6dbc0 | mit | codeparrot/github-code | a0410ae6dbc049c9fd7fb913b1cd722b7810bd381df5c0b65698f37d1c80b1c8 | 0.85 | testing_debugging_repair_refactoring | 444 | false | 2026-07-17 |
//
// EnvironmentTest.cs - NUnit Test Cases for Environment
//
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
// (C) 2004-2005 Novell (http://www.novell.com)
//
using NUnit.Framework;
using System;
using System.Collections;
namespace MonoTests.System {
[TestFixture]
public class EnvironmentTest {
pr... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System/EnvironmentTest.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System/EnvironmentTest.cs | ghcode:00173:16880352b45e | mit | codeparrot/github-code | 16880352b45eff1c16cd0209a46d18319168ea5cdd3c91fc99b475c972dbb3be | 0.95 | testing_debugging_repair_refactoring | 1,115 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using DD.CBU.Compute.Api.Client;
using DD.CBU.Compute.Api.Client.Server20;
using DD.CBU.Compute.Api.Contracts.Requests;
using DD.CBU.Compute.Api.Contracts.Requests.Snapshot;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Compute.Client.Unit... | DimensionDataCBUSydney/Compute.Api.Client | ComputeClient/Compute.Client.UnitTests/Snapshot/SnapshotAccessorTests.cs | https://github.com/DimensionDataCBUSydney/Compute.Api.Client/blob/HEAD/ComputeClient/Compute.Client.UnitTests/Snapshot/SnapshotAccessorTests.cs | ghcode:00173:a89744f85110 | mit | codeparrot/github-code | a89744f851107eee78dafe2b7ae861fb69191de0809a7cfd76c20b65e04cc24b | 0.75 | testing_debugging_repair_refactoring | 2,691 | false | 2026-07-17 |
using System;
using Xunit;
namespace SimpleMarkdown.Tests
{
public class CodeBlockTests
{
[Fact]
public void Extension_MarkdownCodeBlock_WithEmpty_ReturnsEmpty()
{
var sample = string.Empty;
Assert.Equal(string.Empty, sample.MarkdownCodeBlock());
}
... | agatlin/SimpleMarkdown | SimpleMarkdown.Tests/CodeBlockTests.cs | https://github.com/agatlin/SimpleMarkdown/blob/HEAD/SimpleMarkdown.Tests/CodeBlockTests.cs | ghcode:00173:dd20b96cf7f3 | mit | codeparrot/github-code | dd20b96cf7f39a4d6c525cf5485ed21ce54286f0062e936556e27b9f8131ced5 | 0.75 | testing_debugging_repair_refactoring | 444 | false | 2026-07-17 |
using Core.Interfaces;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace Core.UnitTest
{
[TestClass]
public class ClientCreateReservation
{
IRoom _room1;
IRoom _room2;
IRoom _room3;
//IRoom _room4;
IUser ... | jona8690/Project-Exam | _handin/1/OEADM16EIC-Group1/OEADM16EIC-Group1 RoomReservationSystem/Core.UnitTest/ClientCreateReservation.cs | https://github.com/jona8690/Project-Exam/blob/HEAD/_handin/1/OEADM16EIC-Group1/OEADM16EIC-Group1 RoomReservationSystem/Core.UnitTest/ClientCreateReservation.cs | ghcode:00173:9b1c643619a3 | mit | codeparrot/github-code | 9b1c643619a31499a1f0c269600d98244347d06e9f539be4d4ec92023d11a0a6 | 0.85 | testing_debugging_repair_refactoring | 702 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using SFA.DAS.Commitments.Domain.Entities.AcademicYear;
using SFA.DAS.Commitments.Domain.Interfaces;
using SFA.DAS.Commitments.Infrastructure.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SFA.DA... | SkillsFundingAgency/das-commitments | src/SFA.DAS.Commitments.Infrastructure.UnitTests/Services/AcademicYear/WhenValidatingAcademicYear.cs | https://github.com/SkillsFundingAgency/das-commitments/blob/HEAD/src/SFA.DAS.Commitments.Infrastructure.UnitTests/Services/AcademicYear/WhenValidatingAcademicYear.cs | ghcode:00173:5b10de9b69a2 | mit | codeparrot/github-code | 5b10de9b69a25e394c7d2205c3c87f5b846615ea88588093c7c0fa979d1bdc67 | 0.85 | testing_debugging_repair_refactoring | 572 | false | 2026-07-17 |
using System;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Renci.SshNet.Messages.Transport;
namespace Renci.SshNet.Tests.Classes
{
[TestClass]
public class BaseClientTest_Connected_KeepAlivesNotSentConcurrently : BaseClientTestBase
{
private MockSequ... | sshnet/SSH.NET | src/Renci.SshNet.Tests/Classes/BaseClientTest_Connected_KeepAlivesNotSentConcurrently.cs | https://github.com/sshnet/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/BaseClientTest_Connected_KeepAlivesNotSentConcurrently.cs | ghcode:00173:bad750ce93d1 | mit | codeparrot/github-code | bad750ce93d11aa81d363e3290eb1074c3fcd6df3cd12fef654f14b3ee5d08b7 | 0.7 | testing_debugging_repair_refactoring | 609 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using RotinaBot.Tests.AcceptanceTests.Mocks;
using Takenet.MessagingHub.Client.Extensions.Bucket;
using Takenet.MessagingHub.Client.Tester;
namespace RotinaBot.Tests.AcceptanceTests.Base
{
public class TestClass<TServiceProvider> : Takenet.MessagingHub.Client.Tester.TestClass<T... | rafaelromao/rotinabot | RotinaBot.Tests/AcceptanceTests/Base/TestClass.cs | https://github.com/rafaelromao/rotinabot/blob/HEAD/RotinaBot.Tests/AcceptanceTests/Base/TestClass.cs | ghcode:00173:99d779fba3c0 | mit | codeparrot/github-code | 99d779fba3c0f91fd8744a7dcbe3ca4f4a8a6cacd86bc87004fc5a2fd5bae55e | 0.75 | testing_debugging_repair_refactoring | 264 | false | 2026-07-17 |
using System;
using FakeItEasy;
using FindRandomNumber.Guessing;
using NUnit.Framework;
namespace FindRandomNumber.Output {
[TestFixture]
public class ConsoleGuessingSequenceOutputWriterTests {
IConsole _console;
ConsoleGuessingSequenceOutputWriter _sut;
[SetUp]
public virtual void SetUp() {
... | DavidLievrouw/FindRandomNumber | src/FindRandomNumber.Tests/Output/ConsoleGuessingSequenceOutputWriterTests.cs | https://github.com/DavidLievrouw/FindRandomNumber/blob/HEAD/src/FindRandomNumber.Tests/Output/ConsoleGuessingSequenceOutputWriterTests.cs | ghcode:00173:655f0baa60a2 | mit | codeparrot/github-code | 655f0baa60a28bef7723df30bd1c6ff89f943af0e8bd0a03f07a167d352d3242 | 0.75 | testing_debugging_repair_refactoring | 479 | false | 2026-07-17 |
/* Dexer Copyright (c) 2010-2021 Sebastien Lebreton
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, modify, merge, publi... | sailro/Dexer | Dexer.Tests/NumericalTest.cs | https://github.com/sailro/Dexer/blob/HEAD/Dexer.Tests/NumericalTest.cs | ghcode:00173:a87ee18efd1f | mit | codeparrot/github-code | a87ee18efd1fb547f99a98b400d01e4ecfe7611d796711d49d3a189c162ff00d | 0.6 | testing_debugging_repair_refactoring | 913 | false | 2026-07-17 |
namespace Samples.Client.Tests.Contracts.ScreenObjects
{
public interface ILoginScreenObject
{
bool IsActive();
void SetUsername(string username);
void Login();
}
}
| LogoFX/Samples.WinRT | src/Samples.Client.Tests.Contracts.ScreenObjects/ILoginScreenObject.cs | https://github.com/LogoFX/Samples.WinRT/blob/HEAD/src/Samples.Client.Tests.Contracts.ScreenObjects/ILoginScreenObject.cs | ghcode:00173:91ba22478d48 | mit | codeparrot/github-code | 91ba22478d480fb830b41127157c89099bf39c423fd101bc7508aeccc8bacd98 | 0.75 | testing_debugging_repair_refactoring | 37 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StackExchange.Redis;
using StackRedis.L1.MemoryCache;
using System.Threading.Tasks;
namespace StackRedis.L1.Test
{
[TestClass]
public class HashGet : UnitTestBase
{
[TestMethod]
public void HashGet_Simple()
{
... | johnnycardy/StackRedis.L1 | StackRedis.L1.Test/Hash/HashGet.cs | https://github.com/johnnycardy/StackRedis.L1/blob/HEAD/StackRedis.L1.Test/Hash/HashGet.cs | ghcode:00173:0d8a5e4562f5 | mit | codeparrot/github-code | 0d8a5e4562f5d8b949514d141da1227f56c0266e3eb55f850bc12373438761b5 | 0.85 | testing_debugging_repair_refactoring | 1,285 | false | 2026-07-17 |
using DnDGen.TreasureGen.Goods;
using DnDGen.TreasureGen.Tables;
using NUnit.Framework;
namespace DnDGen.TreasureGen.Tests.Integration.Tables.Goods.Levels
{
[TestFixture]
public class Level28GoodsTests : TypeAndAmountPercentileTests
{
protected override string tableName
{
get {... | DnDGen/TreasureGen | DnDGen.TreasureGen.Tests.Integration.Tables/Goods/Levels/Level28GoodsTests.cs | https://github.com/DnDGen/TreasureGen/blob/HEAD/DnDGen.TreasureGen.Tests.Integration.Tables/Goods/Levels/Level28GoodsTests.cs | ghcode:00173:39c750b26aa9 | mit | codeparrot/github-code | 39c750b26aa91634badc2429085f20bc5940bf2322a120449bdb7099cfab25a3 | 0.75 | testing_debugging_repair_refactoring | 238 | false | 2026-07-17 |
#region References
using System;
using System.IO;
using System.Management.Automation;
using System.Reflection;
using Bloodhound.Web;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestR.PowerShell;
#endregion
namespace Bloodhound.IntegrationTests.Website
{
[TestClass]
[Cmdlet(VerbsDiagnostic.Test, "ODa... | BobbyCannon/Bloodhound | Bloodhound.IntegrationTests/Website/ODataTests.cs | https://github.com/BobbyCannon/Bloodhound/blob/HEAD/Bloodhound.IntegrationTests/Website/ODataTests.cs | ghcode:00173:9c4c0dc1af14 | mit | codeparrot/github-code | 9c4c0dc1af14598a488d00f3aa9afa386d83c249b493441ad4ba03af4087de88 | 0.75 | testing_debugging_repair_refactoring | 258 | false | 2026-07-17 |
using System.Threading.Tasks;
using Shouldly;
using Xunit;
namespace DataCenter.Pages
{
public class Index_Tests : DataCenterWebTestBase
{
[Fact]
public async Task Welcome_Page()
{
var response = await GetResponseAsStringAsync("/");
response.ShouldNotBeNull();
... | xin2015/DataCenter | test/DataCenter.Web.Tests/Pages/Index_Tests.cs | https://github.com/xin2015/DataCenter/blob/HEAD/test/DataCenter.Web.Tests/Pages/Index_Tests.cs | ghcode:00173:e6549cd45ac9 | mit | codeparrot/github-code | e6549cd45ac9ebc34fb4d1c0f45fee044ac2e963d3951ad26269d0d397507d45 | 0.75 | testing_debugging_repair_refactoring | 66 | false | 2026-07-17 |
using System;
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.Linq
{
using Model;
using VisualBasic;
[TestFixture]
public class VisualBasicTest : TestBase
{
[Test, DataContextSource]
public void CompareString(string context)
{
using (var db = GetDataContext(context))
Are... | MarcoRosenberger/linq2dbCrud | Tests/Linq/Linq/VisualBasicTest.cs | https://github.com/MarcoRosenberger/linq2dbCrud/blob/HEAD/Tests/Linq/Linq/VisualBasicTest.cs | ghcode:00173:a250c574274b | mit | codeparrot/github-code | a250c574274bd778051e6cae16debe8c948ea207e03755e090a747440139b881 | 0.75 | testing_debugging_repair_refactoring | 662 | false | 2026-07-17 |
namespace MockEverythingTests.Inspection.Demo
{
public class ClassWithIndexers
{
public string this[int i]
{
get
{
return i.ToString();
}
set
{
}
}
public string this[string i]
{
... | MainMa/mockeverything | MockEverything/Tests/InspectionDemo/ClassWithIndexers.cs | https://github.com/MainMa/mockeverything/blob/HEAD/MockEverything/Tests/InspectionDemo/ClassWithIndexers.cs | ghcode:00173:55a2e6ca0530 | mit | codeparrot/github-code | 55a2e6ca0530a36524a4a2b99b41dfdab80220882c65a4aef7cbf837e649635b | 0.85 | testing_debugging_repair_refactoring | 83 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Modules.TraktShowsModule
{
using FluentAssertions;
using System;
using System.Net;
using System.Threading.Tasks;
using TestUtils;
using Traits;
using TraktApiSharp.Exceptions;
using TraktApiSharp.Objects.Get.Shows;
using TraktApiSharp.Requests.Parameter... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Modules/TraktShowsModule/TraktShowsModule_GetMostAnticipatedShows_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Modules/TraktShowsModule/TraktShowsModule_GetMostAnticipatedShows_Tests.cs | ghcode:00173:876e0809e440 | mit | codeparrot/github-code | 876e0809e440f0581ea891ca27094dfcc546c277ea50701525677b834c297f28 | 0.85 | testing_debugging_repair_refactoring | 5,342 | false | 2026-07-17 |
// <copyright file="TypeServiceTest.cs" company="Logikfabrik">
// Copyright (c) 2016 anton(at)logikfabrik.se. Licensed under the MIT license.
// </copyright>
namespace Logikfabrik.Umbraco.Jet.Test
{
using System.Linq;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using... | aarym/uJet | src/Logikfabrik.Umbraco.Jet.Test/TypeServiceTest.cs | https://github.com/aarym/uJet/blob/HEAD/src/Logikfabrik.Umbraco.Jet.Test/TypeServiceTest.cs | ghcode:00173:2cf8c63e2a0f | mit | codeparrot/github-code | 2cf8c63e2a0fd6ca26080db1f82666fe00c89aa4d35869e135257630ca0498fb | 0.7 | testing_debugging_repair_refactoring | 916 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Azure.Azure.Test;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Resources;
using Azure.ResourceManager.Resources.Models... | Azure/azure-sdk-for-net | sdk/network/Azure.ResourceManager.Network/tests/Tests/PublicIPPrefixTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/network/Azure.ResourceManager.Network/tests/Tests/PublicIPPrefixTests.cs | ghcode:00173:240e87ae7c55 | mit | codeparrot/github-code | 240e87ae7c555be217396daeabacbd9f4d9190319fe80b1cb00c20d7dc0dd531 | 0.95 | testing_debugging_repair_refactoring | 863 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ConveyorBelt.Tooling.Parsing;
using Xunit;
namespace ConveyorBelt.Tooling.Test.Parsing
{
public class SitecoreLogParserShould
{
[Fac... | aliostad/ConveyorBelt | test/ConveyorBelt.Tooling.Test/Parsing/SitecoreLogParserShould.cs | https://github.com/aliostad/ConveyorBelt/blob/HEAD/test/ConveyorBelt.Tooling.Test/Parsing/SitecoreLogParserShould.cs | ghcode:00173:5c30f0a7cb74 | mit | codeparrot/github-code | 5c30f0a7cb7456eb482a85236ec4a53154e9467482b0202ad25515567e55043c | 0.85 | testing_debugging_repair_refactoring | 1,527 | false | 2026-07-17 |
using System;
using System.Linq;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
namespace JsonDiffPatchDotNet.UnitTests
{
[TestFixture]
public class PatchUnitTests
{
[Test]
public void Patch_ObjectApplyDelete_Success()
{
var jdp = new JsonDiffPatch();
var left = JObject.Parse(@"{ ""... | arbitertl/jsondiffpatch.net | UnitTests/PatchUnitTests.cs | https://github.com/arbitertl/jsondiffpatch.net/blob/HEAD/UnitTests/PatchUnitTests.cs | ghcode:00173:02074d568d70 | mit | codeparrot/github-code | 02074d568d70e26b9a919cb102d369275d478f310d3fd05a6e87f95f6cdcd65e | 0.75 | testing_debugging_repair_refactoring | 2,464 | false | 2026-07-17 |
using System;
using System.IO;
using GitVersion.MsBuild.Tests.Mocks;
using GitVersion.Core.Tests.Helpers;
using Microsoft.Build.Framework;
using NUnit.Framework;
namespace GitVersion.MsBuild.Tests
{
[TestFixture]
public class InvalidFileCheckerTests : TestBase
{
private string projectDirectory;
... | ermshiperete/GitVersion | src/GitVersion.MsBuild.Tests/InvalidFileCheckerTests.cs | https://github.com/ermshiperete/GitVersion/blob/HEAD/src/GitVersion.MsBuild.Tests/InvalidFileCheckerTests.cs | ghcode:00173:c94c53e6e199 | mit | codeparrot/github-code | c94c53e6e19929a3ce3bdb885f62739f4df29c1004f26e7b32ceeb4013ebf573 | 0.75 | testing_debugging_repair_refactoring | 1,938 | false | 2026-07-17 |
namespace TypeVisualiserUnitTests.Model.VisualisableTypeTests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TypeVisualiser.ILAnalyser;
using TypeVisualiser.Model;
[TestClass]
public class VisualisableTypeEqualityOperatorsTest
{
private static VisualisableType str... | Benrnz/TypeVisualiser | TypeVisualiserUnitTests/Model/VisualisableTypeTests/VisualisableTypeEqualityOperatorsTest.cs | https://github.com/Benrnz/TypeVisualiser/blob/HEAD/TypeVisualiserUnitTests/Model/VisualisableTypeTests/VisualisableTypeEqualityOperatorsTest.cs | ghcode:00173:f080d26f2a91 | mit | codeparrot/github-code | f080d26f2a9163af9360378b53e7074ea494e1878eb7acf0ac263ec8459fd987 | 0.6 | testing_debugging_repair_refactoring | 577 | false | 2026-07-17 |
namespace Evelyn.Management.Api.Rest.Tests.Write.Environments.Controller
{
using System;
using System.Threading.Tasks;
using AutoFixture;
using Core;
using Core.WriteModel.Project.Commands.AddEnvironment;
using CQRSlite.Commands;
using Evelyn.Management.Api.Rest.Write.Environments;
usin... | binarymash/evelyn | src/Evelyn.Management.Api.Rest.Tests/Write/Environments/Controller/AddEnvironmentSpecs.cs | https://github.com/binarymash/evelyn/blob/HEAD/src/Evelyn.Management.Api.Rest.Tests/Write/Environments/Controller/AddEnvironmentSpecs.cs | ghcode:00173:97c1d4800d79 | mit | codeparrot/github-code | 97c1d4800d796f9c82053af5a7e3801b3f1226958f65e489787e7113bee6c57b | 0.6 | testing_debugging_repair_refactoring | 876 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Messaging.EventHubs.Amqp;
using Azure.Messagin... | jackmagic313/azure-sdk-for-net | sdk/eventhub/Azure.Messaging.EventHubs/tests/Amqp/AmqpProducerTests.cs | https://github.com/jackmagic313/azure-sdk-for-net/blob/HEAD/sdk/eventhub/Azure.Messaging.EventHubs/tests/Amqp/AmqpProducerTests.cs | ghcode:00173:141b8ba167da | mit | codeparrot/github-code | 141b8ba167daef7d1e16d4534f33a1109102b435a025b4d153972dfc870c2d34 | 0.82 | testing_debugging_repair_refactoring | 16,995 | false | 2026-07-17 |
using AdventOfCode.Days;
using NUnit.Framework;
using System;
namespace AdventOfCode.Tests.Tests
{
[TestFixture]
public class Day8Test
{
[Test]
public void Day8_FirstTask()
{
// Arrange
Day8 day = new Day8();
day.FilePath = AppDomain.CurrentDomai... | Azkel/AdventOfCode | 2017/AdventOfCode.Tests/Tests/Day8Test.cs | https://github.com/Azkel/AdventOfCode/blob/HEAD/2017/AdventOfCode.Tests/Tests/Day8Test.cs | ghcode:00173:e655c6d8ab51 | mit | codeparrot/github-code | e655c6d8ab51df251dbc0fdc5b7b7f16379e89759fddc370bb4c9a591fa7ad7d | 0.95 | testing_debugging_repair_refactoring | 217 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NUnit.Framework;
using Wyam.Core.Execution;
using Wyam.Core.Modules.Extensibility;
using Wyam.Testing;
using Wyam.Testing.Modules;
using Wyam.Common.Execution;
using Wyam.Common.Meta;
using Wyam.Common.Util;
namespace Wyam.Core.Tests.Executio... | Wyamio/Wyam | tests/core/Wyam.Core.Tests/Execution/EngineTests.cs | https://github.com/Wyamio/Wyam/blob/HEAD/tests/core/Wyam.Core.Tests/Execution/EngineTests.cs | ghcode:00173:102ba9829949 | mit | codeparrot/github-code | 102ba9829949d0f7b2b641c3dd77ab226d8bcaeda91289320246d49b39daf288 | 0.85 | testing_debugging_repair_refactoring | 950 | false | 2026-07-17 |
using System;
using System.Runtime.CompilerServices;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Running;
using InlineIL;
using static InlineIL.IL.Emit;
namespace ZeroLog.Benchmarks.EnumTests
{
public static class EnumBenchmarksRunner
{
public static void Run()
... | Abc-Arbitrage/ZeroLog | src/ZeroLog.Benchmarks/EnumTests/EnumBenchmarks.cs | https://github.com/Abc-Arbitrage/ZeroLog/blob/HEAD/src/ZeroLog.Benchmarks/EnumTests/EnumBenchmarks.cs | ghcode:00173:fb6460b61ad5 | mit | codeparrot/github-code | fb6460b61ad5e211f006b47d3f06ad875ab91d3e14c71091c3a9264f24160ef4 | 0.75 | testing_debugging_repair_refactoring | 552 | 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.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using Mic... | Microsoft/msbuild | src/Build.UnitTests/Graph/ProjectGraph_Tests.cs | https://github.com/Microsoft/msbuild/blob/HEAD/src/Build.UnitTests/Graph/ProjectGraph_Tests.cs | ghcode:00173:dc1aa3efeed8 | mit | codeparrot/github-code | dc1aa3efeed85da28745267226cfbec866c3cde87bf13f72355ea5d2c7808385 | 0.72 | testing_debugging_repair_refactoring | 14,885 | false | 2026-07-17 |
using System;
using System.IO;
using NUnit.Framework;
namespace Giacomelli.JumpStart.UnitTests
{
[TestFixture]
public class NormalVerbosityLogTest
{
[Test]
public void Debug_Args_Nothing()
{
TestHelper.AssertConsoleOutput(() =>
{
var target = new NormalVerbosityLog();
target.Debug("Test {0}", 1... | giacomelli/jumpstart | src/Giacomelli.JumpStart.UnitTests/Logging/NormalVerbosityLogTest.cs | https://github.com/giacomelli/jumpstart/blob/HEAD/src/Giacomelli.JumpStart.UnitTests/Logging/NormalVerbosityLogTest.cs | ghcode:00173:935c6e0430b1 | mit | codeparrot/github-code | 935c6e0430b117dd5a278bfbf899a341a0416367a5b713e7e61181fe195e7f84 | 0.6 | testing_debugging_repair_refactoring | 220 | false | 2026-07-17 |
using System;
using System.IO;
using NUnit.Framework;
namespace Giacomelli.JumpStart.UnitTests
{
[TestFixture]
public class QuietVerbosityLogTest
{
[Test]
public void Debug_Args_Nothing()
{
TestHelper.AssertConsoleOutput(() =>
{
var target = new QuietVerbosityLog();
target.Debug("Test {0}", 1);... | giacomelli/jumpstart | src/Giacomelli.JumpStart.UnitTests/Logging/QuietVerbosityLogTest.cs | https://github.com/giacomelli/jumpstart/blob/HEAD/src/Giacomelli.JumpStart.UnitTests/Logging/QuietVerbosityLogTest.cs | ghcode:00173:cd70cce0c226 | mit | codeparrot/github-code | cd70cce0c226ba6dbf1643a4efb6613d7dd8c3d67177513edce657f810a8fcca | 0.6 | testing_debugging_repair_refactoring | 213 | false | 2026-07-17 |
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using PholioVisualisation.DataAccess;
using PholioVisualisation.DataConstruction;
using PholioVisualisation.PholioObjects;
namespace PholioVisualisation.DataConstructionTest
{
[TestClass]
public class CoreDataSetV... | PublicHealthEngland/fingertips-open | PholioVisualisationWS/DataConstructionTest/CoreDataSetValidatorTest.cs | https://github.com/PublicHealthEngland/fingertips-open/blob/HEAD/PholioVisualisationWS/DataConstructionTest/CoreDataSetValidatorTest.cs | ghcode:00173:79ab4b32c730 | mit | codeparrot/github-code | 79ab4b32c730a727d9fa4f2e66812bd51237634cc023624ebf04a0d13a75b347 | 0.85 | testing_debugging_repair_refactoring | 623 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit;
using NUnit.Core;
using NUnit.Framework;
using Mono;
using Kraggs.IO.Endian;
namespace Kraggs.IO.Endian.Tests
{
[TestFixture()]
public class EndianWriteBasicTests
{
pr... | raggsokk/Kraggs.IO.Endian | Kraggs.IO.Endian.Tests/EndianWriteBasicTests.cs | https://github.com/raggsokk/Kraggs.IO.Endian/blob/HEAD/Kraggs.IO.Endian.Tests/EndianWriteBasicTests.cs | ghcode:00173:fb76ded6e123 | mit | codeparrot/github-code | fb76ded6e1235fb579c1e981650d7bafebdc0595a21bb7c50d0bb1c47c9f8688 | 0.85 | testing_debugging_repair_refactoring | 6,498 | false | 2026-07-17 |
namespace Skeleton.Web.Tests.Authentication.JwtBearer
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JetBrains.Annotations;
using Microsoft.IdentityModel.Tokens;
using Web.Authentication.JwtBearer.Configuration;
using Web.Authentication.Jwt... | litichevskiydv/WebInfrastructure | test/Infrastructure/Web.Tests/Authentication/JwtBearer/TokenValidationParametersExtensionsTests.cs | https://github.com/litichevskiydv/WebInfrastructure/blob/HEAD/test/Infrastructure/Web.Tests/Authentication/JwtBearer/TokenValidationParametersExtensionsTests.cs | ghcode:00173:5f50df86f9e0 | mit | codeparrot/github-code | 5f50df86f9e0c760ac59bc322c167b16579b4bb5d33c46bb6856a24cdee4f0e2 | 0.85 | testing_debugging_repair_refactoring | 3,154 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NES.NEventStore.Tests.TestDomain;
namespace NES.NEventStore.Tests
{
[TestClass]
public class UsageOfBuckets : TestIntegration
{
private const string TestBucketId = "MyTestBucket";
[TestMethod]
public void Writ... | elliotritchie/NES | src/NES.NEventStore.Tests/UsageOfBuckets.cs | https://github.com/elliotritchie/NES/blob/HEAD/src/NES.NEventStore.Tests/UsageOfBuckets.cs | ghcode:00173:c16b1d858ffb | mit | codeparrot/github-code | c16b1d858ffbfcbee08785b8e20b90fb826686f675081dac5ce04943fe21f45d | 0.75 | testing_debugging_repair_refactoring | 375 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Build.Construction;
using Micro... | blackdwarf/cli | test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateConfigurations.cs | https://github.com/blackdwarf/cli/blob/HEAD/test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateConfigurations.cs | ghcode:00173:d70b32c04e87 | mit | codeparrot/github-code | d70b32c04e8736eee6401cda3b40482c89dad23d0ef3f98b04a86b14724ed003 | 0.75 | testing_debugging_repair_refactoring | 6,243 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using IntergalacticTravel.Contracts;
using IntergalacticTravel.Tests.Mocks;
using IntergalacticTravel.Exceptions;
namespace IntergalacticTravel.Tests
{ [TestFixture]
... | shopOFF/TelerikAcademyCourses | Unit-Testing/TelerikUnitTestingg/UnitTestingEvaluation/10-veryGood/ExamFileForEvaluation/UnitTestingExam-morning/IntergalacticTravel.Tests/TeleportStationTests.cs | https://github.com/shopOFF/TelerikAcademyCourses/blob/HEAD/Unit-Testing/TelerikUnitTestingg/UnitTestingEvaluation/10-veryGood/ExamFileForEvaluation/UnitTestingExam-morning/IntergalacticTravel.Tests/TeleportStationTests.cs | ghcode:00173:6e47a1259cd3 | mit | codeparrot/github-code | 6e47a1259cd38efb1c41305e3aa99e7b8f3d6fe9225e865c507fd7a023573bd3 | 0.85 | testing_debugging_repair_refactoring | 2,608 | false | 2026-07-17 |
using FluentAssertions;
using Mongo.Migration.Documents;
using Mongo.Migration.Documents.Serializers;
using MongoDB.Bson;
using MongoDB.Bson.IO;
using MongoDB.Bson.Serialization;
using NUnit.Framework;
namespace Mongo.Migration.Test.Documents.Serializers
{
[TestFixture]
public class DocumentVersionSerializer_... | SRoddis/Mongo.Migration | Mongo.Migration.Test/Documents/Serializers/DocumentVersionSerializer_when_serialize_and_deserialize.cs | https://github.com/SRoddis/Mongo.Migration/blob/HEAD/Mongo.Migration.Test/Documents/Serializers/DocumentVersionSerializer_when_serialize_and_deserialize.cs | ghcode:00173:7c444731bbca | mit | codeparrot/github-code | 7c444731bbca6f6c8e9afddab7ab5de160bfc68ac249b04f5adac1ee72386172 | 0.85 | testing_debugging_repair_refactoring | 462 | false | 2026-07-17 |
using NUnit.Framework;
using unQuery.SqlTypes;
namespace unQuery.Tests.SqlTypes
{
public class ExplicitMaxLengthTypeTests : TestFixture
{
[Test]
public void ParameterValue()
{
var param = Col.VarChar("Hello", 10);
string x;
Assert.Throws<CannotAccessParameterValueBeforeExecutingQuery>((... | improvedk/unQuery | src/unQuery.Tests/SqlTypes/ExplicitMaxLengthTypeTests.cs | https://github.com/improvedk/unQuery/blob/HEAD/src/unQuery.Tests/SqlTypes/ExplicitMaxLengthTypeTests.cs | ghcode:00173:58061ce9be44 | mit | codeparrot/github-code | 58061ce9be44c68c1d6ca9d06514b1be10b56a94def5e4362f1e476419fce5ea | 0.75 | testing_debugging_repair_refactoring | 106 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.DotNet.Cli.Build;
using Microsoft.DotNet.Cli.Build.Framework;
using System;
using System.IO;
using ... | wtgodbe/core-setup | src/test/HostActivationTests/FrameworkResolution/FrameworkResolutionBase.cs | https://github.com/wtgodbe/core-setup/blob/HEAD/src/test/HostActivationTests/FrameworkResolution/FrameworkResolutionBase.cs | ghcode:00173:db7d5e28ade7 | mit | codeparrot/github-code | db7d5e28ade7a420af8f4a6a6b059bf577ac14dfa2e5fb3515009d9128f29dab | 0.95 | testing_debugging_repair_refactoring | 695 | false | 2026-07-17 |
#region Licence
/* The MIT License (MIT)
Copyright © 2014 Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
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 limita... | gazlu/todo-micro-service | Tasks/Adapters/Tests/TaskDAOFixture.cs | https://github.com/gazlu/todo-micro-service/blob/HEAD/Tasks/Adapters/Tests/TaskDAOFixture.cs | ghcode:00173:4ed6a50e5adb | mit | codeparrot/github-code | 4ed6a50e5adbb8d471047bb928ff9a568f1b540e35063433261dc6d3b0a54862 | 0.85 | testing_debugging_repair_refactoring | 687 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Xunit;
namespace JA.Clizby.Tests
{
public class ParsingValidation
{
[Fact]
public void Test001_BasicGenericParsing()
{
var args = new[] { "/name", "Bob", "--trueFalse", "false"... | archer884/Clizby | JA.Clizby.Tests/ParsingValidation.cs | https://github.com/archer884/Clizby/blob/HEAD/JA.Clizby.Tests/ParsingValidation.cs | ghcode:00173:36790b0fa2d6 | unlicense | codeparrot/github-code | 36790b0fa2d6789335fee398cd5dbdfa831be30e85a313e8e562c96dc49c83f3 | 0.53 | testing_debugging_repair_refactoring | 1,986 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TRL.Logging;
namespace TRL.Common.Test
{
[TestClass]
public class DefaultLoggerTests
{
[TestMethod]
public void Common_DefaultLogger_Instance_Is_S... | wouldyougo/TRx | TRL.Common.Test/Common/DefaultLoggerTests.cs | https://github.com/wouldyougo/TRx/blob/HEAD/TRL.Common.Test/Common/DefaultLoggerTests.cs | ghcode:00173:0b0246087d52 | apache-2.0 | codeparrot/github-code | 0b0246087d52857fb69c246425314bec849b147941ad6ad683d17724d0484e42 | 0.75 | testing_debugging_repair_refactoring | 95 | 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.Syntax;
namespace Microsoft.CodeAnalysis.CSharp
{
internal static class SyntaxNodeExtensio... | budcribar/roslyn | src/Compilers/CSharp/Portable/Syntax/SyntaxNodeExtensions.cs | https://github.com/budcribar/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Syntax/SyntaxNodeExtensions.cs | ghcode:00173:eb9ad224da97 | apache-2.0 | codeparrot/github-code | eb9ad224da977398ab8f7a6daeaa50ab6516a8406b75ea112baa833b3f304a0d | 0.85 | testing_debugging_repair_refactoring | 827 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#if DEBUG
// We use a struct rather than a class to represent the state for efficiency
// for data flow analysis, w... | reaction1989/roslyn | src/Compilers/CSharp/Portable/FlowAnalysis/DefiniteAssignment.cs | https://github.com/reaction1989/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/FlowAnalysis/DefiniteAssignment.cs | ghcode:00173:c0987dda3e68 | apache-2.0 | codeparrot/github-code | c0987dda3e68854da612e986b1bf1417b894716a99b7b4a46b20fd264628a2ed | 0.72 | testing_debugging_repair_refactoring | 15,576 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2007 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
*
* Un... | MaferYangPointJun/Spring.net | test/Spring/Spring.Messaging.Ems.Tests/Messaging/Ems/Core/SimpleMessageConverterTests.cs | https://github.com/MaferYangPointJun/Spring.net/blob/HEAD/test/Spring/Spring.Messaging.Ems.Tests/Messaging/Ems/Core/SimpleMessageConverterTests.cs | ghcode:00173:6e3e1c56d06e | apache-2.0 | codeparrot/github-code | 6e3e1c56d06eb62d5e783e4ad60fdd0d9805bd275ade6842f22c08ca06e4c765 | 0.85 | testing_debugging_repair_refactoring | 1,310 | 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... | mbrukman/gcloud-dotnet | apis/Google.Cloud.Translation.V2/Google.Cloud.Translation.V2.Tests/CodeHealthTest.cs | https://github.com/mbrukman/gcloud-dotnet/blob/HEAD/apis/Google.Cloud.Translation.V2/Google.Cloud.Translation.V2.Tests/CodeHealthTest.cs | ghcode:00173:43522a83d0b0 | apache-2.0 | codeparrot/github-code | 43522a83d0b06c4c69e68b1bf71613727cfe55465d4a56deccfd99adcc285b3d | 0.7 | testing_debugging_repair_refactoring | 324 | 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 ... | monoman/cnatural-language | tests/sources/compiler/ObjectModelErrorTest.stab.cs | https://github.com/monoman/cnatural-language/blob/HEAD/tests/sources/compiler/ObjectModelErrorTest.stab.cs | ghcode:00173:9f7c8f8cd586 | apache-2.0 | codeparrot/github-code | 9f7c8f8cd5863f301767e1601aef7ce03f87281b9760c537de932e8b18e356b1 | 0.6 | testing_debugging_repair_refactoring | 3,700 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System... | tannergooding/roslyn | src/Compilers/CSharp/Portable/Symbols/Retargeting/RetargetingMethodSymbol.cs | https://github.com/tannergooding/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Retargeting/RetargetingMethodSymbol.cs | ghcode:00173:877e6de7972f | apache-2.0 | codeparrot/github-code | 877e6de7972fbdcd21ef026c766731005cf4259508480f4d052009445d55402d | 0.85 | testing_debugging_repair_refactoring | 2,297 | false | 2026-07-17 |
// CqlSharp.Linq - CqlSharp.Linq.Test
// Copyright (c) 2014 Joost Reuzel
//
// 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
//
// Unl... | reuzel/CqlSharp.Linq | CqlSharp.Linq.Test/TestUtils.cs | https://github.com/reuzel/CqlSharp.Linq/blob/HEAD/CqlSharp.Linq.Test/TestUtils.cs | ghcode:00173:3a57136c0a9a | apache-2.0 | codeparrot/github-code | 3a57136c0a9a8c451fea0f5ea57bb2ee226c81871a2f127d21d261bd8e552267 | 0.85 | testing_debugging_repair_refactoring | 443 | false | 2026-07-17 |
/*
* Location Intelligence APIs
*
* Incorporate our extensive geodata into everyday applications, business processes and workflows.
*
* OpenAPI spec version: 8.5.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you m... | PitneyBowes/LocationIntelligenceSDK-CSharp | src/pb.locationIntelligence.Test/Model/BasicBoundaryTests.cs | https://github.com/PitneyBowes/LocationIntelligenceSDK-CSharp/blob/HEAD/src/pb.locationIntelligence.Test/Model/BasicBoundaryTests.cs | ghcode:00173:b3a619b0b982 | apache-2.0 | codeparrot/github-code | b3a619b0b982c16b975b1a4564330586cdafa38e40b1639eba7ba01f0ed4c1f7 | 0.85 | testing_debugging_repair_refactoring | 606 | false | 2026-07-17 |
using System.Management.Automation;
using PSycheTest;
using PSycheTest.Exceptions;
using Xunit;
namespace Tests.Integration.PSycheTest
{
public class AssertFalseCmdletTests : CmdletTestBase<AssertFalseCmdlet>
{
[Fact]
public void Test_Assert_Failure()
{
// Arrange.
AddCmdlet();
AddParameter(p => p.Con... | mthamil/PSycheTest | Tests.Integration/PSycheTest/AssertFalseCmdletTests.cs | https://github.com/mthamil/PSycheTest/blob/HEAD/Tests.Integration/PSycheTest/AssertFalseCmdletTests.cs | ghcode:00173:5a649ceb01da | apache-2.0 | codeparrot/github-code | 5a649ceb01da4fa718483c892324c7e67e08ae8a4755e9321c8814ffcbf23bee | 0.85 | testing_debugging_repair_refactoring | 221 | false | 2026-07-17 |
/*
* Copyright 2013-2018 Guardtime, Inc.
*
* This file is part of the Guardtime client SDK.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licens... | GuardTime/ksi-net-sdk | ksi-net-api-test/Parser/TlvWriterTests.cs | https://github.com/GuardTime/ksi-net-sdk/blob/HEAD/ksi-net-api-test/Parser/TlvWriterTests.cs | ghcode:00173:2a61e84e7e8f | apache-2.0 | codeparrot/github-code | 2a61e84e7e8f8a9140b94e12017b9bb57ae1ba7faae0cf96d9c17a22352253be | 0.75 | testing_debugging_repair_refactoring | 1,314 | false | 2026-07-17 |
#region License
/*
* 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
... | artem-aliev/tinkerpop | gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalEvaluationTests.cs | https://github.com/artem-aliev/tinkerpop/blob/HEAD/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/TraversalEvaluation/TraversalEvaluationTests.cs | ghcode:00173:df048bc4b10f | apache-2.0 | codeparrot/github-code | df048bc4b10fd53e37ea9efb7a29d96672202be138a9f7ae9e799a278c3b86d6 | 0.95 | testing_debugging_repair_refactoring | 1,488 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Storage.Blobs.Models;
using Moq;
using NUnit.Framework;
namespace Azure.Storage.Blobs.ChangeFee... | markcowl/azure-sdk-for-net | sdk/storage/Azure.Storage.Blobs.ChangeFeed/tests/BlobChangeFeedExtensionsTests.cs | https://github.com/markcowl/azure-sdk-for-net/blob/HEAD/sdk/storage/Azure.Storage.Blobs.ChangeFeed/tests/BlobChangeFeedExtensionsTests.cs | ghcode:00173:e9d305302cf5 | apache-2.0 | codeparrot/github-code | e9d305302cf588007e5f7b98d34fbd6c73cfb57177c466b40e54160f70c70ff0 | 0.95 | testing_debugging_repair_refactoring | 1,527 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.