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 Xunit;
using System;
using System.IO;
namespace SwissArmyKnife.Tests
{
public class StreamExtensionTests
{
[Fact]
public void Reset_Successful()
{
var s = GetStream();
s.Reset();
Assert.Equal(0, s.Position);
}
[Fact]
p... | akamsteeg/SwissArmyKnife | src/SwissArmyKnife.Tests/StreamExtensionTests.cs | https://github.com/akamsteeg/SwissArmyKnife/blob/HEAD/src/SwissArmyKnife.Tests/StreamExtensionTests.cs | ghcode:00003:dd0a86cc3af1 | mit | codeparrot/github-code | dd0a86cc3af18a7160e160d1e9a58077bd896f396f533ce3a9cf592e03f3e9d9 | 0.75 | testing_debugging_repair_refactoring | 206 | false | 2026-07-17 |
using JetBrains.Annotations;
namespace AlphaDev.Web.Tests.Integration.Support
{
public struct PageIdentity
{
public bool Equals(PageIdentity other) =>
string.Equals(DisplayValue, other.DisplayValue) && Number == other.Number;
public override bool Equals([CanBeNull] object obj) =>
... | OlegKleyman/AlphaDev | tests/integration/AlphaDev.Web.Tests.Integration/Support/PageIdentity.cs | https://github.com/OlegKleyman/AlphaDev/blob/HEAD/tests/integration/AlphaDev.Web.Tests.Integration/Support/PageIdentity.cs | ghcode:00003:47925a3c5d6d | unlicense | codeparrot/github-code | 47925a3c5d6d8c4a94b6b1d0363944feb5e6b28f8439bd7fa51b2c429e3230e6 | 0.68 | testing_debugging_repair_refactoring | 216 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Recipes.BulkInsert;
using Recipes.DbConnector.Models;
namespace Recipes.DbConnector.BulkInsert
{
[TestClass]
public class BulkInsertTests : BulkInsertTests<EmployeeSimple>
{
protected override IBulkInsertScenario<EmployeeSimple> GetScenario... | Grauenwolf/DotNet-ORM-Cookbook | ORM Cookbook/Recipes.DbConnector/BulkInsert/BulkInsertTests.cs | https://github.com/Grauenwolf/DotNet-ORM-Cookbook/blob/HEAD/ORM Cookbook/Recipes.DbConnector/BulkInsert/BulkInsertTests.cs | ghcode:00003:70c6a6d076bc | unlicense | codeparrot/github-code | 70c6a6d076bc010ff5f5eeca5e429c2d0f5c33de544298aeac8a2bd9f63b921e | 0.68 | testing_debugging_repair_refactoring | 78 | false | 2026-07-17 |
/*****************************************************************************
* Copyright 2016 Aurora Solutions
*
* http://www.aurorasolutions.io
*
* Aurora Solutions is an innovative services and product company at
* the forefront of the software industry, with processes and practices
* involving Domain Dri... | trade-nexus/tradesharp-core | Backend/DataDownloader/TradeHub.DataDownloader.BinaryFileWriter.Tests/Integration/IntegrationTestBinFileWriter.cs | https://github.com/trade-nexus/tradesharp-core/blob/HEAD/Backend/DataDownloader/TradeHub.DataDownloader.BinaryFileWriter.Tests/Integration/IntegrationTestBinFileWriter.cs | ghcode:00003:ba8dcefb9a28 | apache-2.0 | codeparrot/github-code | ba8dcefb9a280e63618a70532b69154e24c6956fa42a8d906c1a3f990386cbeb | 0.7 | testing_debugging_repair_refactoring | 847 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Kudu.Client;
using Kudu.Client.Infrastructure;
using ... | WeAreMammoth/kudu-obsolete | Kudu.FunctionalTests/Infrastructure/KuduAssert.cs | https://github.com/WeAreMammoth/kudu-obsolete/blob/HEAD/Kudu.FunctionalTests/Infrastructure/KuduAssert.cs | ghcode:00003:9e95b7d05a89 | apache-2.0 | codeparrot/github-code | 9e95b7d05a899b54096c010300d11bfd1d09f751e8bbd224231a14b008ca1aca | 0.7 | testing_debugging_repair_refactoring | 1,282 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Helper methods for using Tasks to implement the APM pattern.
//
// Example usage, wrapping a Task<int>-returning FooAsync method with Begin/EndFoo methods:
//
// public IAsync... | aspnet/AspNetCore | src/Shared/TaskToApm.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Shared/TaskToApm.cs | ghcode:00003:77589df5370f | apache-2.0 | codeparrot/github-code | 77589df5370f4f41d634a757f3076954163c9d39d0fbdea141a5b5e7933367c2 | 0.85 | testing_debugging_repair_refactoring | 1,127 | 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.Diagnostics;
using System.Text;
using System.Threading;
usin... | xasx/roslyn | src/Compilers/CSharp/Portable/Syntax/CSharpSyntaxTree.cs | https://github.com/xasx/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Syntax/CSharpSyntaxTree.cs | ghcode:00003:40ba5da2b5f2 | apache-2.0 | codeparrot/github-code | 40ba5da2b5f2be12bae189da2f03383eb429e23f89802b38c86d3498e5a02edd | 0.7 | testing_debugging_repair_refactoring | 5,773 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Xunit.Abstractions;
#if XUNIT_CORE_DLL
namespace Xunit.Sdk
#else
namespace Xunit
#endif
{
/// <summary>
/// Default implementation of <see cref="ITestAssemblyStarting"/>.
/// </summary>
public class TestAssemblyStarting : TestAssemblyMessage, ITestAssemblySta... | cuteant/xunit-v2-net40-fork | messages/TestAssemblyStarting.cs | https://github.com/cuteant/xunit-v2-net40-fork/blob/HEAD/messages/TestAssemblyStarting.cs | ghcode:00003:8452ac29ed7c | apache-2.0 | codeparrot/github-code | 8452ac29ed7cf8c6bda44df81ad093d36627c70b2f41ed49593a184fe614510e | 0.85 | testing_debugging_repair_refactoring | 226 | false | 2026-07-17 |
using BenchmarkDotNet.Attributes;
using System;
using System.Text.RegularExpressions;
namespace SQLHelper.SpeedTests.Tests
{
[MemoryDiagnoser]
public class RegexOrContains
{
private static Regex FirstPass { get; } = new Regex("(INSERT)|(UPDATE)|(DELETE)|(CREATE)|(ALTER)|(INTO)|(DROP)", RegexOption... | JaCraig/SQLHelper | SQLHelper.SpeedTests/Tests/RegexOrContains.cs | https://github.com/JaCraig/SQLHelper/blob/HEAD/SQLHelper.SpeedTests/Tests/RegexOrContains.cs | ghcode:00003:58a9dde1d918 | apache-2.0 | codeparrot/github-code | 58a9dde1d91801648bdc6e064cc09f1586ba55763a10849c98a684f32a766093 | 0.85 | testing_debugging_repair_refactoring | 544 | false | 2026-07-17 |
using Lucene.Net.Documents;
using Lucene.Net.Search;
using Lucene.Net.Spatial.Prefix.Tree;
using Lucene.Net.Spatial.Queries;
using Lucene.Net.Support;
using NUnit.Framework;
using Spatial4n.Core.Context;
using Spatial4n.Core.Shapes;
using System;
using System.Collections.Generic;
using Console = Lucene.Net.Util.System... | NightOwl888/lucenenet | src/Lucene.Net.Tests.Spatial/Prefix/NtsPolygonTest.cs | https://github.com/NightOwl888/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Spatial/Prefix/NtsPolygonTest.cs | ghcode:00003:45b44ea59cef | apache-2.0 | codeparrot/github-code | 45b44ea59cef09b8dad1c9369e0c1cf271fa96fc7777193000d88489fb2c7efe | 0.85 | testing_debugging_repair_refactoring | 1,235 | false | 2026-07-17 |
using System;
namespace Typewriter.Tests.CodeModel.Support
{
public class AttributeInfoAttribute : Attribute
{
public string Parameter { get; set; }
public AttributeInfoAttribute()
{
}
public AttributeInfoAttribute(string parameter)
{
Parameter = p... | frhagn/Typewriter | src/Tests/CodeModel/Support/AttributeInfo.cs | https://github.com/frhagn/Typewriter/blob/HEAD/src/Tests/CodeModel/Support/AttributeInfo.cs | ghcode:00003:481f27d2d8e1 | apache-2.0 | codeparrot/github-code | 481f27d2d8e120fda64040619388879481ee0e6465f02751710464e00c333260 | 0.85 | testing_debugging_repair_refactoring | 269 | false | 2026-07-17 |
using System;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Collections.Generic;
using NUnit.Framework;
namespace WebAddressbookTests
{
[TestFixture]
public class GroupRemovalTests : GroupTestBase
{
[SetUp]
public void CheckIfGroupExist()
{
... | dqSofi/CSharp_Lessons | AddressbookWebTest/AddressbookWebTest/tests/GroupRemovalTests.cs | https://github.com/dqSofi/CSharp_Lessons/blob/HEAD/AddressbookWebTest/AddressbookWebTest/tests/GroupRemovalTests.cs | ghcode:00003:353a44929dc4 | apache-2.0 | codeparrot/github-code | 353a44929dc4f7aaf0fc56ac6ff21221b6aa3489d07d2bacb033f48b5855b3f5 | 0.95 | testing_debugging_repair_refactoring | 265 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// <copyright file="MailboxBenchmark.cs" company="Asynkron AB">
// Copyright (C) 2015-2020 Asynkron AB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System.Threading.Tas... | AsynkronIT/protoactor-dotnet | benchmarks/MailboxBenchmark/MailboxBenchmark.cs | https://github.com/AsynkronIT/protoactor-dotnet/blob/HEAD/benchmarks/MailboxBenchmark/MailboxBenchmark.cs | ghcode:00003:d33b88dc727b | apache-2.0 | codeparrot/github-code | d33b88dc727b6ae76d0daac9aa6a01eeb371b1cdd46390b17ff46db74e89f265 | 0.7 | testing_debugging_repair_refactoring | 301 | false | 2026-07-17 |
namespace King.Azure.Unit.Test.Data
{
using King.Azure.Data;
using NUnit.Framework;
[TestFixture]
public class AzureStorageResourcesTests
{
private readonly string ConnectionString = "UseDevelopmentStorage=true;";
[Test]
public void Constructor()
{
new ... | jefking/King.Azure | King.Azure.Test/Unit/AzureStorageResourcesTests.cs | https://github.com/jefking/King.Azure/blob/HEAD/King.Azure.Test/Unit/AzureStorageResourcesTests.cs | ghcode:00003:6ab628651ac3 | apache-2.0 | codeparrot/github-code | 6ab628651ac3979a2b76682a62477506d3be8dbdf8aa38c257bd9b77459957f1 | 0.75 | testing_debugging_repair_refactoring | 133 | false | 2026-07-17 |
using SeeSharp;
using System.Linq;
using Xunit;
namespace Tests
{
public class YieldingTests
{
[Trait("Category", "Speed")]
[Theory]
[InlineData(true)]
[InlineData(false)]
public void TestYieldingSpeed(bool yieldingIsFaster)
{
var streamCount = Yield... | iamdmitrij/SeeSharp | SeeSharp/Tests/YieldingTests.cs | https://github.com/iamdmitrij/SeeSharp/blob/HEAD/SeeSharp/Tests/YieldingTests.cs | ghcode:00003:779efb2a56ee | apache-2.0 | codeparrot/github-code | 779efb2a56ee96f9582e3dbd6b3ecd5075e5935380151ddaec3235dc3f4bf359 | 0.85 | testing_debugging_repair_refactoring | 129 | 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... | mcherkasov/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryEnum.cs | https://github.com/mcherkasov/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/BinaryEnum.cs | ghcode:00003:e61fe964772e | apache-2.0 | codeparrot/github-code | e61fe964772e1f56b4f220594b4e4f6d77d36ae94ffa20cebe02db7271a6d880 | 0.7 | testing_debugging_repair_refactoring | 910 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Analytics.Synapse.AccessControl;
using Azure.Core.TestFramework;
using NUnit.Framework;
using System;
using System.IO;
namespace Azure.Analytics.Synapse.Tests.AccessControl
{
[NonParallelizable]
public... | stankovski/azure-sdk-for-net | sdk/synapse/Azure.Analytics.Synapse.AccessControl/tests/AccessControlClientTestBase.cs | https://github.com/stankovski/azure-sdk-for-net/blob/HEAD/sdk/synapse/Azure.Analytics.Synapse.AccessControl/tests/AccessControlClientTestBase.cs | ghcode:00003:1af73db9714b | apache-2.0 | codeparrot/github-code | 1af73db9714bf1be079d466178b132201e138371ce7e005d6136d0a4d19e56e2 | 0.85 | testing_debugging_repair_refactoring | 359 | false | 2026-07-17 |
using DotMapReduce.LINQ;
using Moq;
using NUnit.Framework;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotMapReduce.Tests.LINQ
{
public class LINQMapReduceTests
{
[Test]
public void RunMappers()
{
va... | davidgrupp/DotMapReduce | DotMapReduce.Tests/LINQ/LINQMapReduceTests.cs | https://github.com/davidgrupp/DotMapReduce/blob/HEAD/DotMapReduce.Tests/LINQ/LINQMapReduceTests.cs | ghcode:00003:ce90f2c4cad7 | apache-2.0 | codeparrot/github-code | ce90f2c4cad70c70a1005c1d3c68596c7af1271fb1ecd675b37941de4f448acc | 0.75 | testing_debugging_repair_refactoring | 295 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace WebAssembly.Instructions;
/// <summary>
/// Tests the <see cref="Int64GreaterThanUnsigned"/> instruction.
/// </summary>
[TestClass]
public class Int64GreaterThanUnsignedTests
{
/// <summary>
/// Tests compilation and execution of the <see cref="I... | RyanLamansky/dotnet-webassembly | WebAssembly.Tests/Instructions/Int64GreaterThanUnsignedTests.cs | https://github.com/RyanLamansky/dotnet-webassembly/blob/HEAD/WebAssembly.Tests/Instructions/Int64GreaterThanUnsignedTests.cs | ghcode:00003:8f3235318c7f | apache-2.0 | codeparrot/github-code | 8f3235318c7fd9e1ad71852201c5719352cba726fc90adf695fd0b45bceff47d | 0.85 | testing_debugging_repair_refactoring | 281 | false | 2026-07-17 |
using System;
using System.Linq;
using Virtlink.Utilib.Collections;
using Xunit;
namespace Yargon.Parsing
{
partial class ParserTests
{
/// <summary>
/// Tests the <see cref="Parser.Then"/> methods.
/// </summary>
public sealed class ThenTests : ParserCombinatorTests
{
... | cyberlect/yargon-parsing | test/Yargon.Parsing.Tests/ParserTests.ThenTests.cs | https://github.com/cyberlect/yargon-parsing/blob/HEAD/test/Yargon.Parsing.Tests/ParserTests.ThenTests.cs | ghcode:00003:13a4f661bcfc | apache-2.0 | codeparrot/github-code | 13a4f661bcfc84a035edbcdd5ae953001357db3ba6adf793fed4861ce479bcea | 0.85 | testing_debugging_repair_refactoring | 756 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Testing;
using Xunit;
using VerifyCS = Test.Utilities.CSharpCodeFixVerifier<
Microsoft.CodeQua... | mavasani/roslyn-analyzers | src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/DoNotExposeGenericListsTests.cs | https://github.com/mavasani/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/DoNotExposeGenericListsTests.cs | ghcode:00003:20e01fe87953 | apache-2.0 | codeparrot/github-code | 20e01fe87953644c8cc9fadf7e3d27dafba85017e119634e7a6f81783a2a0bd4 | 0.85 | testing_debugging_repair_refactoring | 2,799 | false | 2026-07-17 |
// Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System;
using System.Collections.Generic;
using System.IO;
using NUnit.Framework;
namespace SharpScss.Tests
{
/// <summary>
... | xoofx/SharpScss | src/SharpScss.Tests/TestScss.cs | https://github.com/xoofx/SharpScss/blob/HEAD/src/SharpScss.Tests/TestScss.cs | ghcode:00003:6b0e004a2421 | bsd-2-clause | codeparrot/github-code | 6b0e004a2421f276067f52f136ee70e1ab0f7086f64a580f119742a9df8e4932 | 0.78 | testing_debugging_repair_refactoring | 1,500 | false | 2026-07-17 |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// 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 ... | brumschlag/rhino-tools | rhino-mocks/Rhino.Mocks.Tests/ExpectTests.cs | https://github.com/brumschlag/rhino-tools/blob/HEAD/rhino-mocks/Rhino.Mocks.Tests/ExpectTests.cs | ghcode:00003:b3d666407060 | bsd-3-clause | codeparrot/github-code | b3d666407060f5601a9bf0efbdf4123ec5d701e5bf545a66f53a8342a99e2e89 | 0.85 | testing_debugging_repair_refactoring | 946 | false | 2026-07-17 |
#region License
/*
Copyright (c) 2008, the TMD.Algo authors.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of c... | Tilps/TMD.Algo | TMD.Algo/Collections/Generic/AccumulatorTreeList.cs | https://github.com/Tilps/TMD.Algo/blob/HEAD/TMD.Algo/Collections/Generic/AccumulatorTreeList.cs | ghcode:00003:0409e22592ae | bsd-3-clause | codeparrot/github-code | 0409e22592ae474da8f152252ffba6a3b2b888ea195a11d6a7fe9707505a27d2 | 0.7 | testing_debugging_repair_refactoring | 5,754 | false | 2026-07-17 |
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
namespace Moq.Language.Flow
{
internal class VoidSetupPhrase<T> : SetupPhrase, ISetup<T> where T : class
{
public VoidSetupPhrase(MethodCa... | ocoanet/moq4 | src/Moq/Language/Flow/VoidSetupPhrase.cs | https://github.com/ocoanet/moq4/blob/HEAD/src/Moq/Language/Flow/VoidSetupPhrase.cs | ghcode:00003:088ee232324e | bsd-3-clause | codeparrot/github-code | 088ee232324ed92b0c1ebe0f02be9ae49764f676e59c8cb1a8a55668b4d71854 | 0.6 | testing_debugging_repair_refactoring | 1,716 | false | 2026-07-17 |
#region LICENSE
// Copyright (c) 2011, Alex Lyman
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// - Redistributions of source code must retain the above copyright notice, this list of condi... | ALyman/Synapse | tests/Synapse.Tests/Input/TextReaderInputTests.cs | https://github.com/ALyman/Synapse/blob/HEAD/tests/Synapse.Tests/Input/TextReaderInputTests.cs | ghcode:00003:726aa70e45aa | bsd-3-clause | codeparrot/github-code | 726aa70e45aa54c15ba10b136ec9fd9c642a50c9066f8ee10391ef3084816948 | 0.85 | testing_debugging_repair_refactoring | 469 | false | 2026-07-17 |
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Xml.XPath;
using Cogworks.ExamineFileIndexer;
using Cogworks.ExamineFileIndexer.Migrations;
using Cogworks.ExamineFileIndexerTests.Helper;
using NUnit.Framework;
namespace Cogworks.ExamineFileIndexerTests
{
[TestFixture]
public class Migra... | thecogworks/examinefileindexer | src/Cogworks.ExamineFileIndexerTests/MigrationTests.cs | https://github.com/thecogworks/examinefileindexer/blob/HEAD/src/Cogworks.ExamineFileIndexerTests/MigrationTests.cs | ghcode:00003:e24286755041 | mit | codeparrot/github-code | e24286755041429b77e2ce9dbf14c5317f56f311f60e6570994021af682cdd7c | 0.75 | testing_debugging_repair_refactoring | 950 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace ReleaseTest
{
public class TesterSpheres : Tester
{
float elapsed;
public TesterSpheres(Game game)
: base(game)
{
}
public overrid... | bartwe/Gearset | ReleaseTest/ReleaseTest/TesterSpheres.cs | https://github.com/bartwe/Gearset/blob/HEAD/ReleaseTest/ReleaseTest/TesterSpheres.cs | ghcode:00003:df65cf22dcf2 | mit | codeparrot/github-code | df65cf22dcf2cc66f16c2625a3031071def68563c4afec9488af1eff29ee7509 | 0.75 | testing_debugging_repair_refactoring | 133 | false | 2026-07-17 |
namespace Boilerplate.Wizard.Services
{
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Moq;
using Xunit;
public class ProjectServiceTest
{
[Theory(DisplayName = "ProjectService.EditComment")]
[InlineData(EditCommentMode.LeaveCodeUnc... | backendeveloper/ASP.NET-MVC-Boilerplate | Source/Boilerplate.Wizard.Test/Services/ProjectServiceTest.cs | https://github.com/backendeveloper/ASP.NET-MVC-Boilerplate/blob/HEAD/Source/Boilerplate.Wizard.Test/Services/ProjectServiceTest.cs | ghcode:00003:57a3c7cff9e2 | mit | codeparrot/github-code | 57a3c7cff9e26e9a0cc73bb1fb9a7a296b15e3ac5a57fe0d6563774beb49fe2e | 0.7 | testing_debugging_repair_refactoring | 1,006 | false | 2026-07-17 |
using Lucene.Net.Documents;
using Lucene.Net.Index.Extensions;
using Lucene.Net.Util.Automaton;
using NUnit.Framework;
using RandomizedTesting.Generators;
using System;
using System.Collections.Generic;
using JCG = J2N.Collections.Generic;
using Assert = Lucene.Net.TestFramework.Assert;
using Console = Lucene.Net.Util... | apache/lucenenet | src/Lucene.Net.Tests/Search/TestDocTermOrdsRewriteMethod.cs | https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Search/TestDocTermOrdsRewriteMethod.cs | ghcode:00003:6d1907609003 | apache-2.0 | codeparrot/github-code | 6d19076090037d8180c91dbe64ea25d2219b764dc7eff1c96ed47f2e909ecb9f | 0.85 | testing_debugging_repair_refactoring | 1,432 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.SharePoint.Client;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OfficeDevPnP.Core.Framework.Provisioning.Model;
using OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers;... | rencoreab/PnP | OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/Framework/ObjectHandlers/ObjectPropertyBagEntryTests.cs | https://github.com/rencoreab/PnP/blob/HEAD/OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/Framework/ObjectHandlers/ObjectPropertyBagEntryTests.cs | ghcode:00003:69532529aee7 | apache-2.0 | codeparrot/github-code | 69532529aee7fa29489e88239330038bee55837c14f1600f694221fe9012826c | 0.75 | testing_debugging_repair_refactoring | 383 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.Design;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System... | Daniel-Svensson/OpenRiaServiecs | OpenRiaServices.DomainServices.Tools/Test/MockCodeGenerationHost.cs | https://github.com/Daniel-Svensson/OpenRiaServiecs/blob/HEAD/OpenRiaServices.DomainServices.Tools/Test/MockCodeGenerationHost.cs | ghcode:00003:d09f94e29f53 | apache-2.0 | codeparrot/github-code | d09f94e29f53a5ff6f05fac6363b7e052b5be4a89c0567834a4b742f481dae36 | 0.95 | testing_debugging_repair_refactoring | 665 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CrossSectionMeshNodeTests.cs" company="Helix Toolkit">
// Copyright (c) 2020 Helix Toolkit contributors
// </copyright>
// ------------------------------------------------------... | holance/helix-toolkit | Source/HelixToolkit.SharpDX.Core.Tests/CrossSectionMeshNodeTests.cs | https://github.com/holance/helix-toolkit/blob/HEAD/Source/HelixToolkit.SharpDX.Core.Tests/CrossSectionMeshNodeTests.cs | ghcode:00003:7cff57c47e76 | mit | codeparrot/github-code | 7cff57c47e76a64f7c906fa279f05e93a0cc22ac2e26e940c28aa7741d05e054 | 0.85 | testing_debugging_repair_refactoring | 730 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2008-2015 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, ... | ArsenShnurkov/nunit | src/NUnitFramework/framework/Attributes/TestCaseSourceAttribute.cs | https://github.com/ArsenShnurkov/nunit/blob/HEAD/src/NUnitFramework/framework/Attributes/TestCaseSourceAttribute.cs | ghcode:00003:8dbfc924b4f7 | mit | codeparrot/github-code | 8dbfc924b4f71a02da8682eb5bfd2f9973c50601ca5bf308258b1b67a79fe628 | 0.85 | testing_debugging_repair_refactoring | 1,795 | false | 2026-07-17 |
using System.Spatial;
namespace OData.Client.Spatial.Tests.TestObjects
{
internal class TestGeometeryPoint : GeometryPoint
{
public TestGeometeryPoint(double x, double y) : base(CoordinateSystem.DefaultGeography, SpatialImplementation.CurrentImplementation)
{
IsEmpty = false... | SteveReece/ODataTools | ODataToolsSolution/src/OData.Client.Spatial.Tests/TestObjects/TestGeometeryPoint.cs | https://github.com/SteveReece/ODataTools/blob/HEAD/ODataToolsSolution/src/OData.Client.Spatial.Tests/TestObjects/TestGeometeryPoint.cs | ghcode:00003:709df887cf66 | mit | codeparrot/github-code | 709df887cf66ee1d1c8a872b6406df704ad47e7858a3c91905bae6f7394f6dd3 | 0.85 | testing_debugging_repair_refactoring | 141 | false | 2026-07-17 |
/*
Copyright (c) 2007- DEVSENSE
Copyright (c) 2004-2006 Tomas Matousek, Ladislav Prosek and Vaclav Novak.
The use and distribution terms for this software are contained in the file named License.txt,
which can be found in the root of the Phalanger distribution. By using this software
in any fashion, you... | kendallb/Phalanger | Source/Core/Compiler/AST/TypeDecl.cs | https://github.com/kendallb/Phalanger/blob/HEAD/Source/Core/Compiler/AST/TypeDecl.cs | ghcode:00003:53b42678cd1c | apache-2.0 | codeparrot/github-code | 53b42678cd1ca5c46f39f30750fc1e6c4c2c3cfa1db363c742c4e2f0639ee915 | 0.57 | testing_debugging_repair_refactoring | 12,464 | 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.Linq;
using Xunit;
namespace System.Threading.Tasks.Channels.Tests
{
public class EnumerableChannelTests : TestBase
{
[Fact]
publi... | livarcocc/corefxlab | tests/System.Threading.Tasks.Channels.Tests/EnumerableChannelTests.cs | https://github.com/livarcocc/corefxlab/blob/HEAD/tests/System.Threading.Tasks.Channels.Tests/EnumerableChannelTests.cs | ghcode:00003:8f963b779f77 | mit | codeparrot/github-code | 8f963b779f77efaba5a33ffdc79ddeaddf82effd2ae08143e237c20b3bc9b6e5 | 0.85 | testing_debugging_repair_refactoring | 797 | false | 2026-07-17 |
// DotNetNuke® - http://www.dnnsoftware.com
// Copyright (c) 2002-2018, DNN Corp.
// All Rights Reserved
using System.Globalization;
using System.Linq;
using System.Text;
using DNN.Integration.Test.Framework.Helpers;
using DNN.Integration.Test.Framework.Scripts;
namespace DNN.Integration.Test.Framework.Controllers
{... | RichardHowells/Dnn.Platform | DNN Platform/Tests/DNN.Integration.Test.Framework/Controllers/RoleController.cs | https://github.com/RichardHowells/Dnn.Platform/blob/HEAD/DNN Platform/Tests/DNN.Integration.Test.Framework/Controllers/RoleController.cs | ghcode:00003:b9124d95a82a | mit | codeparrot/github-code | b9124d95a82ac350d2aed85cc3c61c0b0fa3d51870a2b75249a9f546978a4b91 | 0.95 | testing_debugging_repair_refactoring | 831 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Csla.Security;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ProjectTracker.Library;
namespace Csla.Validation.Test
{
[TestClass... | jonnybee/csla | Source/Csla.Validation.Test/ReadOnlyAuthorizationTest.cs | https://github.com/jonnybee/csla/blob/HEAD/Source/Csla.Validation.Test/ReadOnlyAuthorizationTest.cs | ghcode:00003:64f3783ecb84 | mit | codeparrot/github-code | 64f3783ecb845b01743e25c5fb6b3ca61ff48294912b0a9fe9350a5f664fd0c9 | 0.6 | testing_debugging_repair_refactoring | 206 | false | 2026-07-17 |
using System;
using System.Text.RegularExpressions;
using Xunit.Sdk;
namespace Xunit
{
public partial class Assert
{
/// <summary>
/// Verifies that a string contains a given sub-string, using the current culture.
/// </summary>
/// <param name="expectedSubstring">Th... | andycmaj/cake | src/Cake.Testing.Xunit/Asserts/StringAsserts.cs | https://github.com/andycmaj/cake/blob/HEAD/src/Cake.Testing.Xunit/Asserts/StringAsserts.cs | ghcode:00003:9f99f94a18d9 | mit | codeparrot/github-code | 9f99f94a18d9ea133fd2ecc3fb05a88d5f0c34adbaea3d24bf2fc864b80e0f02 | 0.7 | testing_debugging_repair_refactoring | 2,617 | false | 2026-07-17 |
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using NUnit.Framework;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Tests.Common.Builders;
using Umbraco.Cms.Tests.Common.Builders.Extensions;
names... | marcemarc/Umbraco-CMS | tests/Umbraco.Tests.UnitTests/Umbraco.Core/Models/TemplateTests.cs | https://github.com/marcemarc/Umbraco-CMS/blob/HEAD/tests/Umbraco.Tests.UnitTests/Umbraco.Core/Models/TemplateTests.cs | ghcode:00003:f3f6beb6624c | mit | codeparrot/github-code | f3f6beb6624c65c1c538182e830e94e47e0ac01800cb5114973a37dd7eb8e918 | 0.85 | testing_debugging_repair_refactoring | 531 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Cci;
using Microsoft.CodeAnalysis.CodeGen;
using Microsoft.CodeAnalysis.CSharp.Emit;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Micro... | DustinCampbell/roslyn | src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/EEAssemblyBuilder.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/EEAssemblyBuilder.cs | ghcode:00003:f73080eeff3d | apache-2.0 | codeparrot/github-code | f73080eeff3d380b0253b4d05a2767a33af15f4a8a52efb0e35c11cf287b21ed | 0.85 | testing_debugging_repair_refactoring | 1,413 | 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"); yo... | swlsw/incubator-reef | lang/cs/Org.Apache.REEF.Tang.Tests/Tang/TestTang.cs | https://github.com/swlsw/incubator-reef/blob/HEAD/lang/cs/Org.Apache.REEF.Tang.Tests/Tang/TestTang.cs | ghcode:00003:2d715b183a9a | apache-2.0 | codeparrot/github-code | 2d715b183a9a76a6a69309c33414ba8b305067b04f66e44b617196978eedcb18 | 0.85 | testing_debugging_repair_refactoring | 7,858 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PcapDotNet.Packets.Ethernet;
using PcapDotNet.Packets.IpV4;
using PcapDotNet.Packets.TestUtils;
using PcapDotNet.Packets.Transport;
namespace PcapDotNet.Packets... | giokats/Pcap.Net | PcapDotNet/src/PcapDotNet.Packets.Test/DatagramTests.cs | https://github.com/giokats/Pcap.Net/blob/HEAD/PcapDotNet/src/PcapDotNet.Packets.Test/DatagramTests.cs | ghcode:00003:1819e2fb3ffc | bsd-3-clause | codeparrot/github-code | 1819e2fb3ffc3f1424f8c92a770a8f8770e125f33b09bc14d16e97ebdc0fedb0 | 0.95 | testing_debugging_repair_refactoring | 970 | false | 2026-07-17 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
/////////////////////////////////////////////////////////... | ZachNL/llilum | Zelig/Zelig/Test/RunTime/NETMF/System/Http/AuthenticationTests.cs | https://github.com/ZachNL/llilum/blob/HEAD/Zelig/Zelig/Test/RunTime/NETMF/System/Http/AuthenticationTests.cs | ghcode:00003:bc72964b97f0 | mit | codeparrot/github-code | bc72964b97f02da5b46086bb76214845884484475d45c6d17f2bc707076fd4ba | 0.95 | testing_debugging_repair_refactoring | 620 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="FlowAggregateSpec.cs" company="Akka.NET Project">
// Copyright (C) 2015-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright... | nanderto/akka.net | src/core/Akka.Streams.Tests/Dsl/FlowAggregateSpec.cs | https://github.com/nanderto/akka.net/blob/HEAD/src/core/Akka.Streams.Tests/Dsl/FlowAggregateSpec.cs | ghcode:00003:a4beeff9d80f | apache-2.0 | codeparrot/github-code | a4beeff9d80f78f5bb00874b4264e453a90b34d449e739bfe6fcda7c718fb3a4 | 0.85 | testing_debugging_repair_refactoring | 1,042 | 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,... | agimofcarmen/xenadmin | XenAdminTests/TabsAndMenus/DisconnectedTests.cs | https://github.com/agimofcarmen/xenadmin/blob/HEAD/XenAdminTests/TabsAndMenus/DisconnectedTests.cs | ghcode:00003:e9176d37f4c8 | bsd-2-clause | codeparrot/github-code | e9176d37f4c89c86ba2b3f40cf4c354a056d256deffe5c75413ee8e7bc50271f | 0.78 | testing_debugging_repair_refactoring | 627 | 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.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilitie... | ahmedshuhel/roslyn | src/Compilers/CSharp/Test/Emit/PDB/PDBIteratorTests.cs | https://github.com/ahmedshuhel/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/PDB/PDBIteratorTests.cs | ghcode:00003:d9f6fab556ec | apache-2.0 | codeparrot/github-code | d9f6fab556ec1c42741df89800b83eaa6c9574f38f4ea34fb21ad91f86c571c8 | 0.95 | testing_debugging_repair_refactoring | 16,832 | false | 2026-07-17 |
#if NET_4_5
using System;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using NUnit.Framework.Internal;
namespace NUnit.TestData
{
public class AsyncRealFixture
{
[Test]
public async void AsyncVoidSuccess()
{
var result = await ReturnOne();
Assert.AreEqual(1, resu... | undeadlabs/msgpack-cli | test/NUnitLite/src/testdata/AsyncRealFixture.cs | https://github.com/undeadlabs/msgpack-cli/blob/HEAD/test/NUnitLite/src/testdata/AsyncRealFixture.cs | ghcode:00003:7ab7f2947fb9 | apache-2.0 | codeparrot/github-code | 7ab7f2947fb9c58ff1f49fec3618964c7fb97d1f7bff2efe344562b1bf14b7fc | 0.95 | testing_debugging_repair_refactoring | 1,766 | false | 2026-07-17 |
// Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NUnit.Framework;
namespace ReferenceTests.Commands
{
[TestFixture]
public class AddContentTests : ReferenceTestBase
{
... | WimObiwan/Pash | Source/ReferenceTests/Commands/AddContentTests.cs | https://github.com/WimObiwan/Pash/blob/HEAD/Source/ReferenceTests/Commands/AddContentTests.cs | ghcode:00003:675024e8afdf | bsd-3-clause | codeparrot/github-code | 675024e8afdf44de6a9c9867278ae599b48c095357e7b4a842530a2393c5b6ee | 0.75 | testing_debugging_repair_refactoring | 637 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="NodeLeavingAndExitingAndBeingRemovedSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/... | nanderto/akka.net | src/core/Akka.Cluster.Tests.MultiNode/NodeLeavingAndExitingAndBeingRemovedSpec.cs | https://github.com/nanderto/akka.net/blob/HEAD/src/core/Akka.Cluster.Tests.MultiNode/NodeLeavingAndExitingAndBeingRemovedSpec.cs | ghcode:00003:03d6c67cea82 | apache-2.0 | codeparrot/github-code | 03d6c67cea824d003ed302f3b7ec1c28dcce435bc88f4737ee011c6b9af13ec0 | 0.85 | testing_debugging_repair_refactoring | 764 | 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.Text;
using Xunit;
namespace System.Globalization.Tests
{
public class StringNormalizationTests
... | lggomez/corefx | src/System.Globalization.Extensions/tests/Normalization/StringNormalizationTests.cs | https://github.com/lggomez/corefx/blob/HEAD/src/System.Globalization.Extensions/tests/Normalization/StringNormalizationTests.cs | ghcode:00003:ac70b75d9953 | mit | codeparrot/github-code | ac70b75d9953d9f5fdc86d75a31cad2752d3d75666ad70c8a0cd66faa39c8fae | 0.95 | testing_debugging_repair_refactoring | 794 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Net;
using System;
using System.Linq;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using Microsoft.Azur... | SiddharthChatrolaMs/azure-sdk-for-net | src/SDKs/Network/Network.Tests/Tests/VmssNetworkInterfaceTests.cs | https://github.com/SiddharthChatrolaMs/azure-sdk-for-net/blob/HEAD/src/SDKs/Network/Network.Tests/Tests/VmssNetworkInterfaceTests.cs | ghcode:00003:fd3c3265af28 | apache-2.0 | codeparrot/github-code | fd3c3265af289ebc6a1df18a564a379fdc512ebf2b68d134739ed9b196570c88 | 0.95 | testing_debugging_repair_refactoring | 961 | false | 2026-07-17 |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit... | danachap/CodeContracts | Demo/BankAccount/TestAccount.cs | https://github.com/danachap/CodeContracts/blob/HEAD/Demo/BankAccount/TestAccount.cs | ghcode:00003:3b24fb1cec87 | mit | codeparrot/github-code | 3b24fb1cec876c7dfd1bda3054e146889ed8e0bca18eb5f64d02f9f3320602ff | 0.85 | testing_debugging_repair_refactoring | 376 | false | 2026-07-17 |
using System;
using System.Runtime.CompilerServices;
using QUnit;
namespace CoreLib.TestScript.SimpleTypes {
[TestFixture]
public class DoubleTests {
[Test]
public void TypePropertiesAreCorrect() {
Assert.IsTrue((object)(double)0.5 is double);
Assert.AreEqual(typeof(double).FullName, "Number");
Assert.... | nippur72/SaltarelleCompiler | Runtime/CoreLib.TestScript/SimpleTypes/DoubleTests.cs | https://github.com/nippur72/SaltarelleCompiler/blob/HEAD/Runtime/CoreLib.TestScript/SimpleTypes/DoubleTests.cs | ghcode:00003:be20deca1ab3 | apache-2.0 | codeparrot/github-code | be20deca1ab373cebe92903b77d94c9b207094d2d23391a6e2f0ccdca5b4dcd5 | 0.75 | testing_debugging_repair_refactoring | 1,580 | 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,... | pWnH/CarsonAgainstHumanity | lib/Json90r1/Source/Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/SerializeContractResolver.cs | https://github.com/pWnH/CarsonAgainstHumanity/blob/HEAD/lib/Json90r1/Source/Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/SerializeContractResolver.cs | ghcode:00003:4c4069084b4d | apache-2.0 | codeparrot/github-code | 4c4069084b4dc8cfec7bf852b03cbb5af7e3c2507b4d589f38484071a9e40a18 | 0.95 | testing_debugging_repair_refactoring | 535 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Nest.Tests.MockData.Domain
{
/// <summary>
/// A really naive geojson shape, checkout GeoJson.net
/// https://github.com/jbattermann/GeoJSON.Net
/// For a better implementation, although the project seems a bit dead having looked
/// at... | Grastveit/NEST | src/Tests/Nest.Tests.MockData/Domain/GeoShape.cs | https://github.com/Grastveit/NEST/blob/HEAD/src/Tests/Nest.Tests.MockData/Domain/GeoShape.cs | ghcode:00003:4818f9fa8339 | apache-2.0 | codeparrot/github-code | 4818f9fa833920a0dd53c61726fc48ea3b01ac35858dbc9bb791a2b6406bd4b5 | 0.95 | testing_debugging_repair_refactoring | 115 | 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.
namespace Microsoft.CodeAnalysis.LanguageServer.UnitTests.RequestOrdering
{
internal class TestRequest
{
... | physhi/roslyn | src/Features/LanguageServer/ProtocolUnitTests/Ordering/TestRequest.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Features/LanguageServer/ProtocolUnitTests/Ordering/TestRequest.cs | ghcode:00003:2ab90d77e003 | apache-2.0 | codeparrot/github-code | 2ab90d77e0036cbe259f492461c11c46bfa8035fac9f009c31bebe797d6f5c13 | 0.85 | testing_debugging_repair_refactoring | 90 | false | 2026-07-17 |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
usin... | MatkovIvan/azure-mobile-apps-net-client | src/Microsoft.Azure.Mobile.Client/Table/Query/OData/BinaryOperatorNode.cs | https://github.com/MatkovIvan/azure-mobile-apps-net-client/blob/HEAD/src/Microsoft.Azure.Mobile.Client/Table/Query/OData/BinaryOperatorNode.cs | ghcode:00003:b3ad4855fecc | apache-2.0 | codeparrot/github-code | b3ad4855fecc76e00182d6d8ae47f5a55809a3dc07eec432bb4ede91fab0c3ab | 0.7 | testing_debugging_repair_refactoring | 500 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy ... | james-horrocks/StratGA | Tests/Indicators/DonchianChannelTest.cs | https://github.com/james-horrocks/StratGA/blob/HEAD/Tests/Indicators/DonchianChannelTest.cs | ghcode:00003:5c8ee91fcca7 | apache-2.0 | codeparrot/github-code | 5c8ee91fcca79db722f3fa203db39c22598e14a130c6ff570b2672ce36206207 | 0.6 | testing_debugging_repair_refactoring | 649 | 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.Collections.Specialized;
using System.ComponentModel.Composition.Fact... | shimingsg/corefx | src/System.ComponentModel.Composition/tests/System/Integration/AdaptingCollectionTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.ComponentModel.Composition/tests/System/Integration/AdaptingCollectionTests.cs | ghcode:00003:a83ac2b830a8 | mit | codeparrot/github-code | a83ac2b830a89bb8d2173c269523e688fa532a07a1da0da27f5ca42325f89437 | 0.95 | testing_debugging_repair_refactoring | 2,540 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
using Xunit.Abstractions;
using System.IO;
using System.Xml.Schema;
namespace System.Xml.Tests
{
/... | BrennanConroy/corefx | src/System.Private.Xml/tests/XmlSchema/XmlSchemaSet/TC_SchemaSet_Includes.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Private.Xml/tests/XmlSchema/XmlSchemaSet/TC_SchemaSet_Includes.cs | ghcode:00003:8d9542e14eb0 | mit | codeparrot/github-code | 8d9542e14eb04b2e7011fd8d1658b3f51bb8a1759dee013bdb541840f407b183 | 0.95 | testing_debugging_repair_refactoring | 7,547 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class NumberFormat... | Ermiar/corefx | src/System.Globalization/tests/NumberFormatInfo/NumberFormatInfoPercentGroupSizes.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.Globalization/tests/NumberFormatInfo/NumberFormatInfoPercentGroupSizes.cs | ghcode:00003:7bead5c355cf | mit | codeparrot/github-code | 7bead5c355cf6d87a6ac7acd8d835f906ecdd0e088e9bcc7b71dedd70a1c37ef | 0.95 | testing_debugging_repair_refactoring | 472 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#region Assembly Microsoft.VisualStudio.Debugger.Engine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// References\Debugger\v2.0\Microso... | mmitche/roslyn | src/ExpressionEvaluator/Core/Test/ResultProvider/Debugger/Engine/DkmProcess.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/ExpressionEvaluator/Core/Test/ResultProvider/Debugger/Engine/DkmProcess.cs | ghcode:00003:5beb9600cab5 | apache-2.0 | codeparrot/github-code | 5beb9600cab5dbacee8729612c5a98e6fab68410851f1d842121ab27c87f0b74 | 0.95 | testing_debugging_repair_refactoring | 233 | false | 2026-07-17 |
//
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | yadavbdev/azure-sdk-for-net | src/ServiceManagement/Management/Management.Tests/ManagementReproTests.cs | https://github.com/yadavbdev/azure-sdk-for-net/blob/HEAD/src/ServiceManagement/Management/Management.Tests/ManagementReproTests.cs | ghcode:00003:e56c9e354b78 | apache-2.0 | codeparrot/github-code | e56c9e354b789c7076a30096bc0bc73ba3d324249ce419b2d18b961b19889a8a | 0.85 | testing_debugging_repair_refactoring | 793 | 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.IO;
using System.Linq;
using System.Reflection;
using System... | KevinRansom/roslyn | src/Test/Utilities/Shared/Compilation/CompilationTestDataExtensions.cs | https://github.com/KevinRansom/roslyn/blob/HEAD/src/Test/Utilities/Shared/Compilation/CompilationTestDataExtensions.cs | ghcode:00003:0a86b96d32f9 | apache-2.0 | codeparrot/github-code | 0a86b96d32f9429cbb7d4b1ed47667898bc0fbf8279a5b35602fddfad9fc877a | 0.95 | testing_debugging_repair_refactoring | 718 | 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.
/* This file contains multiple namespace/class definitions used to test the namespace walking
* capabilities of the namespace reader.
*
* Note that type definition... | erpframework/corefx | src/System.Reflection.Metadata/tests/Resources/Namespace/NamespaceTests.cs | https://github.com/erpframework/corefx/blob/HEAD/src/System.Reflection.Metadata/tests/Resources/Namespace/NamespaceTests.cs | ghcode:00003:f3d192163c25 | mit | codeparrot/github-code | f3d192163c2568bfac591b2c37bbab8fc20bcdf27423da977922e948bbcba78a | 0.95 | testing_debugging_repair_refactoring | 664 | 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;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Xun... | BrennanConroy/corefx | src/System.Runtime.Extensions/tests/System/StringComparer.netcoreapp.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Runtime.Extensions/tests/System/StringComparer.netcoreapp.cs | ghcode:00003:bb5f4ae16eec | mit | codeparrot/github-code | bb5f4ae16eec5edc6b707916453b6d40cba310895eeae995a67211261a4edf5e | 0.95 | testing_debugging_repair_refactoring | 1,198 | 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 System.Reflection.Metadata;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE;
namespace Micro... | bbarry/roslyn | src/Compilers/CSharp/Portable/Symbols/ObsoleteAttributeHelpers.cs | https://github.com/bbarry/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/ObsoleteAttributeHelpers.cs | ghcode:00003:473083c32b13 | apache-2.0 | codeparrot/github-code | 473083c32b13df4c056633cd5afab45af79117d5e462bd921f5edf1c4e634ebd | 0.85 | testing_debugging_repair_refactoring | 1,031 | false | 2026-07-17 |
using ArgeHeiwako.Data;
using ArgeHeiwako.IO;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using ArgeHeiwako.Tests.Data;
namespace ArgeHeiwako.Tests.IO
{
[ExcludeFromCodeCoverage]
public class NutzerAbrechnungBildWriterTests : ArgeWriterTestsBase<NutzerAbrechnungBild, NutzerAbrechnungBildW... | me-software/ArgeHeiwako.NET | src/ArgeHeiwako.Tests/IO/NutzerAbrechnungBildWriterTests.cs | https://github.com/me-software/ArgeHeiwako.NET/blob/HEAD/src/ArgeHeiwako.Tests/IO/NutzerAbrechnungBildWriterTests.cs | ghcode:00003:893efceb52af | mit | codeparrot/github-code | 893efceb52af8adca8b8511b980ede25ca548bf72b158ce6c0d49c40ccf292cf | 0.75 | testing_debugging_repair_refactoring | 253 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using SoftwareThresher.Observations;
using SoftwareThresher.Settings.Search;
using SoftwareThresher.Tasks.Filters;
using SoftwareThresher.Utilities;
namespace SoftwareThresherTests... | markaschell/SoftwareThresher | code/SoftwareThresher/SoftwareThresherTests/Tasks/Filters/FilterTests.cs | https://github.com/markaschell/SoftwareThresher/blob/HEAD/code/SoftwareThresher/SoftwareThresherTests/Tasks/Filters/FilterTests.cs | ghcode:00003:7c1454562b2f | mit | codeparrot/github-code | 7c1454562b2ffb6f0be625ff8b6bc03020f5d617dae2c7d1115ee3b21e80be1c | 0.75 | testing_debugging_repair_refactoring | 647 | false | 2026-07-17 |
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// --------------------------------------------------------... | p-org/PSharp | Samples/Framework/MultiPaxos/Test.cs | https://github.com/p-org/PSharp/blob/HEAD/Samples/Framework/MultiPaxos/Test.cs | ghcode:00003:3096f7f804af | mit | codeparrot/github-code | 3096f7f804aff42ea18d9c3c7d68e004ec526fa19cc01a96451ec90e039b06c7 | 0.85 | testing_debugging_repair_refactoring | 314 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace cs
{
[TestClass]
public class InterfaceValueOperations
{
[TestMethod]
public void ComInterfaceAsReturnValue()
... | Rantanen/com-export-rs | test/cs/InterfaceValueOperations.cs | https://github.com/Rantanen/com-export-rs/blob/HEAD/test/cs/InterfaceValueOperations.cs | ghcode:00003:df695e0bdafa | mit | codeparrot/github-code | df695e0bdafaa602530b1d262378b63d1f035092c492bf6b047150068f50d3bf | 0.6 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
using System;
using System.Reflection;
using Agiil.Tests.Autofixture;
using AutoFixture;
using AutoFixture.NUnit3;
namespace Agiil.Tests.Attributes
{
[AttributeUsage(AttributeTargets.Parameter)]
public class AlwaysPassesAttribute : CustomizeAttribute
{
public override ICustomization GetCustomization(Paramet... | csf-dev/agiil | Tests/Agiil.Tests.Common/Attributes/AlwaysPassesAttribute.cs | https://github.com/csf-dev/agiil/blob/HEAD/Tests/Agiil.Tests.Common/Attributes/AlwaysPassesAttribute.cs | ghcode:00003:3f6e8e0d36e6 | mit | codeparrot/github-code | 3f6e8e0d36e6ea10f3ef0ed1f99597827ada6691c335bf322eabe2834df46add | 0.75 | testing_debugging_repair_refactoring | 90 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NSubstitute;
using Xunit;
using System.Threading.Tasks;
namespace Octokit.Tests.Clients
{
/// <summary>
/// Client tests mostly just need to make sure they call the IApiConnection with the correct
/// relative Uri. No need to fake up the response. All ... | adamralph/octokit.net | Octokit.Tests/Clients/SearchClientTests.cs | https://github.com/adamralph/octokit.net/blob/HEAD/Octokit.Tests/Clients/SearchClientTests.cs | ghcode:00003:e2d05b38c8db | mit | codeparrot/github-code | e2d05b38c8db96bd4b5a6fcfa89760016fd02a86fb866472de82b5dbb7a971ae | 0.72 | testing_debugging_repair_refactoring | 19,040 | false | 2026-07-17 |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using TestHelper;
using Signum.Analyzer;
namespace Signum.Analyzer.Test;
[TestClass]
public class LiteEqualityTest : CodeFixVerif... | signumsoftware/framework | Signum.Analyzer/Signum.Analyzer.Test/LiteEqualiyTest.cs | https://github.com/signumsoftware/framework/blob/HEAD/Signum.Analyzer/Signum.Analyzer.Test/LiteEqualiyTest.cs | ghcode:00003:cd522440ec77 | mit | codeparrot/github-code | cd522440ec77bf3555714f33a51079d2898d09586f34df77ee619180d1066fdb | 0.6 | testing_debugging_repair_refactoring | 1,541 | false | 2026-07-17 |
using System.Linq;
using NUnit.Framework;
public class WildcardTest
{
[Test]
public void WeavesWildcards()
{
var wildcardWeave = WeavingHelper.CreateIsolatedAssemblyCopy("ExeToProcess.exe",
"<Costura IncludeAssemblies=\"AssemblyToReference*\"/>",
new[] { "AssemblyToReferenc... | Fody/Costura | src/Costura.Fody.Tests/WildcardTest.cs | https://github.com/Fody/Costura/blob/HEAD/src/Costura.Fody.Tests/WildcardTest.cs | ghcode:00003:d0fae9b3b437 | mit | codeparrot/github-code | d0fae9b3b4371c8f0ae26197e1e38e9f0a474a7495e5552b940e49d793830075 | 0.6 | testing_debugging_repair_refactoring | 173 | 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;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.... | naoey/osu | osu.Game.Tests/Visual/TestCaseLoungeRoomsContainer.cs | https://github.com/naoey/osu/blob/HEAD/osu.Game.Tests/Visual/TestCaseLoungeRoomsContainer.cs | ghcode:00003:b6e706e6e1a7 | mit | codeparrot/github-code | b6e706e6e1a7857d7295c7498cbc72977a70b9bcaf9fc685588c3e5c78fdc0c9 | 0.75 | testing_debugging_repair_refactoring | 721 | false | 2026-07-17 |
namespace Sortable_Collection.Tests
{
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sortable_Collection.Contracts;
using Sortable_Collection.Sorters;
[TestClass]
public class SortTests
{
private static readonly ISort... | HouseBreaker/Algorithms-Course | 03. Sorting And Searching Algorithms/Sortable-Collection.Tests/SortTests.cs | https://github.com/HouseBreaker/Algorithms-Course/blob/HEAD/03. Sorting And Searching Algorithms/Sortable-Collection.Tests/SortTests.cs | ghcode:00003:a41134734d92 | mit | codeparrot/github-code | a41134734d92983a5e5fa1179d04205a7f2efbdf5a53394ad7718a522f14ad40 | 0.75 | testing_debugging_repair_refactoring | 645 | false | 2026-07-17 |
#region License
// The MIT License
//
// Copyright (c) 2011 Julien Blin, julien.blin@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 ... | julienblin/Colombo | src/Colombo.Tests/Messages/HealthCheckRequestHandlerTest.cs | https://github.com/julienblin/Colombo/blob/HEAD/src/Colombo.Tests/Messages/HealthCheckRequestHandlerTest.cs | ghcode:00003:30ca578dce83 | mit | codeparrot/github-code | 30ca578dce83b44954fe189c42291f963129ff3dd38e1f8f491040f11c12995b | 0.7 | testing_debugging_repair_refactoring | 363 | false | 2026-07-17 |
/*
* SonarScanner for MSBuild
* Copyright (C) 2016-2018 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 o... | duncanpMS/sonar-msbuild-runner | Tests/SonarScanner.MSBuild.Shim.Tests/PropertiesWriterTest.cs | https://github.com/duncanpMS/sonar-msbuild-runner/blob/HEAD/Tests/SonarScanner.MSBuild.Shim.Tests/PropertiesWriterTest.cs | ghcode:00003:dca386096a26 | mit | codeparrot/github-code | dca386096a267a31acc863bd063b6c988ce2a528449e4b76d44b4677074afe86 | 0.7 | testing_debugging_repair_refactoring | 5,530 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Runtime.Serialization;
using System.Threading.Tasks;
using Xunit;
namespace DotNetLiberty.Http.Samples
{
public class JsonPlaceholderPostsTest
{
private readonly HttpClient _client;
[DataCon... | ashimoon/dotnetliberty-http-samples | JsonPlaceholderPostsTest.cs | https://github.com/ashimoon/dotnetliberty-http-samples/blob/HEAD/JsonPlaceholderPostsTest.cs | ghcode:00003:5b236b1ad2a9 | mit | codeparrot/github-code | 5b236b1ad2a9da7bb424171c0bdd5304824fdc5a318c4ce8d0f42ac58504a340 | 0.6 | testing_debugging_repair_refactoring | 612 | false | 2026-07-17 |
using System.IO;
using NUnit.Framework;
namespace Gu.SerializationAsserts.Tests
{
public partial class BinaryAssertTests
{
[Test]
public void EqualsHappyPath()
{
var expected = new MemoryStream(new byte[] { 1, 2, 3 });
var actual = new MemoryStream(new byte[] { 1... | JohanLarsson/Gu.SerializationAsserts | Gu.SerializationAsserts.Tests/BinaryAssertTests.MemoryStream.cs | https://github.com/JohanLarsson/Gu.SerializationAsserts/blob/HEAD/Gu.SerializationAsserts.Tests/BinaryAssertTests.MemoryStream.cs | ghcode:00003:d0dcfbe7ff63 | mit | codeparrot/github-code | d0dcfbe7ff63dd07376bf9ec37c4f24a82f176589925dfeb1f90f1c16a9dcb25 | 0.6 | testing_debugging_repair_refactoring | 321 | false | 2026-07-17 |
// MIT License
// Copyright(c) 2017 Ben Arnold
//
// 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, m... | arnold256/agpsl.NET | src/agpsl.NET/PMTK/Test.cs | https://github.com/arnold256/agpsl.NET/blob/HEAD/src/agpsl.NET/PMTK/Test.cs | ghcode:00003:d548f76b923f | mit | codeparrot/github-code | d548f76b923fe4bb753ef0ecfc280722d825c39b3dd939fb1b17af70c322cd52 | 0.85 | testing_debugging_repair_refactoring | 315 | false | 2026-07-17 |
using NUnit.Framework;
using Assert = ModestTree.Assert;
namespace Zenject.Tests.AbstractFactory
{
[TestFixture]
public class TestFactory : ZenjectUnitTestFixture
{
[Test]
public void TestToSelf()
{
Container.BindFactory<Foo, Foo.Factory>().NonLazy();
Assert... | modesttree/Zenject | UnityProject/Assets/Plugins/Zenject/OptionalExtras/UnitTests/Editor/Factories/TestFactory.cs | https://github.com/modesttree/Zenject/blob/HEAD/UnityProject/Assets/Plugins/Zenject/OptionalExtras/UnitTests/Editor/Factories/TestFactory.cs | ghcode:00003:c6412b96a291 | mit | codeparrot/github-code | c6412b96a2910ac4292feb750ba095bd8633d2a8eca077f12f3e87a015a5f72d | 0.75 | testing_debugging_repair_refactoring | 115 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Paging;
using Paging.Buttons;
using System.Linq;
namespace Paging.Tests
{
[TestClass]
public class NavBar_Tests
{
/// <summary>
/// For 20 pages all buttons (first/last and previous/next) are displayed
/// </su... | lionelrepellin/paging-with-entity-framework | Paging.Tests/NavBar_Tests.cs | https://github.com/lionelrepellin/paging-with-entity-framework/blob/HEAD/Paging.Tests/NavBar_Tests.cs | ghcode:00003:22f2bfe22a96 | mit | codeparrot/github-code | 22f2bfe22a96297299bb99952081b7a51ce34ad2765ea1ffe0155a71bc20aa4e | 0.85 | testing_debugging_repair_refactoring | 1,287 | false | 2026-07-17 |
using System.Linq;
using NinjaNye.SearchExtensions.Soundex;
using Xunit;
namespace NinjaNye.SearchExtensions.Tests.Integration.Fluent
{
[Collection("Database tests")]
public class FluentSoundexTests
{
private readonly TestContext _context;
public FluentSoundexTests(DatabaseIntegrationTest... | ninjanye/SearchExtensions | NinjaNye.SearchExtensions.Tests.Integration/Fluent/FluentSoundexTests.cs | https://github.com/ninjanye/SearchExtensions/blob/HEAD/NinjaNye.SearchExtensions.Tests.Integration/Fluent/FluentSoundexTests.cs | ghcode:00003:c558f5ff954d | mit | codeparrot/github-code | c558f5ff954dcf34605933503f001badf8194a72ba389045fd536e81d5096507 | 0.85 | testing_debugging_repair_refactoring | 313 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.Azure.WebJobs.Script.WebHost.Models;
using Xunit;
namespace Microsoft.Azure.WebJobs.Script.Tests.Managment
{
pub... | Azure/azure-webjobs-sdk-script | test/WebJobs.Script.Tests.Integration/Management/HostAssignmentContextTests.cs | https://github.com/Azure/azure-webjobs-sdk-script/blob/HEAD/test/WebJobs.Script.Tests.Integration/Management/HostAssignmentContextTests.cs | ghcode:00003:e67da423b1da | mit | codeparrot/github-code | e67da423b1da0791bdbe7341dcd833a6d7cfa50ac60af976ba3337a1c9f4b7e2 | 0.75 | testing_debugging_repair_refactoring | 269 | false | 2026-07-17 |
using BizArk.Standard.Core.Util;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
namespace BizArk.Standard.Core.Tests
{
[TestClass]
public class UtilTests
{
[TestMethod]
public void RangeIncludesTest()
{
var range1 = new Range<long>(0, 5);
Assert.IsTrue(range1.... | BizArk/BizArkStd | BizArk.Standard.Core.Tests/UtilTests.cs | https://github.com/BizArk/BizArkStd/blob/HEAD/BizArk.Standard.Core.Tests/UtilTests.cs | ghcode:00003:1798cb4dd16b | mit | codeparrot/github-code | 1798cb4dd16b64f9ca3af15c1d0ae29e21584feb283b782375ed04ec1d406aaf | 0.75 | testing_debugging_repair_refactoring | 312 | false | 2026-07-17 |
using Cassette.Scripts;
using Cassette.Stylesheets;
using Moq;
using Should;
using Xunit;
namespace Cassette
{
public class BundleCollectionEquality_Tests
{
[Fact]
public void EmptyBundleCollectionsAreEqual()
{
var collection1 = EmptyBundleCollection();
... | BluewireTechnologies/cassette | src/Cassette.UnitTests/BundleCollection.Equals.cs | https://github.com/BluewireTechnologies/cassette/blob/HEAD/src/Cassette.UnitTests/BundleCollection.Equals.cs | ghcode:00003:12769424da73 | mit | codeparrot/github-code | 12769424da736f772d97e33b3d04a9f3064173bc44537ddf9a9246e21cdaf62b | 0.6 | testing_debugging_repair_refactoring | 466 | false | 2026-07-17 |
using NUnit.Framework;
using System.Linq;
using System.Collections.Generic;
namespace IxExample
{
[TestFixture ()]
public class IgnoreElementsxample
{
// see https://github.com/Reactive-Extensions/Rx.NET/blob/master/Ix.NET/Source/System.Interactive/EnumerableEx.Single.cs#L260
[Test ()]
public void TestIgnore... | RyotaMurohoshi/snippets | csharp/IxExample/ix_example/UnitTests/Single/IgnoreElementsExample.cs | https://github.com/RyotaMurohoshi/snippets/blob/HEAD/csharp/IxExample/ix_example/UnitTests/Single/IgnoreElementsExample.cs | ghcode:00003:47347e0650b2 | mit | codeparrot/github-code | 47347e0650b2e07132a37e680631d0b43d255bcbeb28f0fe27a5fd355784cd38 | 0.6 | testing_debugging_repair_refactoring | 175 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.Storage.B... | jackmagic313/azure-sdk-for-net | sdk/storage/Azure.Storage.Blobs/tests/BlockBlobClientTests.cs | https://github.com/jackmagic313/azure-sdk-for-net/blob/HEAD/sdk/storage/Azure.Storage.Blobs/tests/BlockBlobClientTests.cs | ghcode:00003:dd81089d50a1 | mit | codeparrot/github-code | dd81089d50a1c620f2610f91556268724ebe14f61f7f4645f9424207b24805dc | 0.82 | testing_debugging_repair_refactoring | 27,104 | false | 2026-07-17 |
#region License
/*
Distributed under the terms of a MIT-style license:
The MIT License
Copyright (c) 2010 Marius Klimantavičius
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... | marius-klimantavicius/marius-html | Marius.Html/Css/Box/CssBoxWord.cs | https://github.com/marius-klimantavicius/marius-html/blob/HEAD/Marius.Html/Css/Box/CssBoxWord.cs | ghcode:00003:c512cf59ff95 | mit | codeparrot/github-code | c512cf59ff9540b8cd0a6aa1646d15a9b083376611c908c0a1b32f89150e9f0b | 0.6 | testing_debugging_repair_refactoring | 1,003 | false | 2026-07-17 |
using System;
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.Linq
{
using Model;
[TestFixture]
public class ConcatUnionTests : TestBase
{
[Test, DataContextSource]
public void Concat1(string context)
{
using (var db = GetDataContext(context))
AreEqual(
... | rechkalov/linq2db | Tests/Linq/Linq/ConcatUnionTests.cs | https://github.com/rechkalov/linq2db/blob/HEAD/Tests/Linq/Linq/ConcatUnionTests.cs | ghcode:00003:0e25907b06ae | mit | codeparrot/github-code | 0e25907b06aeb1a1014901f309dcba521355253894a81edd57fc13744e2d4dc4 | 0.85 | testing_debugging_repair_refactoring | 7,515 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Capgemini.CommonObjectUtils.Tests.HashCodeBuilderTests
{
[TestClass]
public class AHashCodeBuildersHashCode
{
private int _initialHashCode;
[TestMethod]
public void ChangesWhenYouAp... | jgn196/CommonObjectUtils | CommonObjectUtilsTests/HashCodeBuilderTests/AHashCodeBuildersHashCode.cs | https://github.com/jgn196/CommonObjectUtils/blob/HEAD/CommonObjectUtilsTests/HashCodeBuilderTests/AHashCodeBuildersHashCode.cs | ghcode:00003:7e1b3b3e85d2 | mit | codeparrot/github-code | 7e1b3b3e85d2acc54b27cc00ca236378f9f7c9ac152f21e29607f2c72ebbc6bc | 0.6 | testing_debugging_repair_refactoring | 312 | false | 2026-07-17 |
//
// Tests for the properties of the builtin types.
//
// Author:
// David Sheldon <dave-mono@earth.li>
//
//
using System;
using System.Xml;
using System.Xml.Schema;
using System.IO;
using NUnit.Framework;
namespace MonoTests.System.Xml
{
[TestFixture]
public class XmlSchemaBuiltInDatatypeTest... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.XML/Test/System.Xml.Schema/XmlSchemaBuiltInDatatypeTests.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.XML/Test/System.Xml.Schema/XmlSchemaBuiltInDatatypeTests.cs | ghcode:00003:42c01545bebc | mit | codeparrot/github-code | 42c01545bebcd303c2be9e15911f4b464bd7b60685dcb18fb921f220409e121d | 0.95 | testing_debugging_repair_refactoring | 682 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using MGR.CommandLineParser.Command;
using MGR.CommandLineParser.Extensibility.ClassBased;
using MGR.CommandLineParser.Extensibility.Converters;
using Moq;
using Xunit;
namespa... | mgrosperrin/commandlineparser | tests/MGR.CommandLineParser.UnitTests/Extensibility/ClassBased/ClassBasedCommandTypeTests.FindOptionByShortName.cs | https://github.com/mgrosperrin/commandlineparser/blob/HEAD/tests/MGR.CommandLineParser.UnitTests/Extensibility/ClassBased/ClassBasedCommandTypeTests.FindOptionByShortName.cs | ghcode:00003:d5cf07493dea | mit | codeparrot/github-code | d5cf07493dea4780946f4dc8de8665c24caa57429f120568cfa6f133a836dba0 | 0.7 | testing_debugging_repair_refactoring | 491 | false | 2026-07-17 |
//
// TestSuite.System.Security.Cryptography.RC2Test.cs
//
// Authors:
// Andrew Birkett (andy@nobugs.org)
// Sebastien Pouliot (sebastien@ximian.com)
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software ... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Security.Cryptography/RC2Test.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/corlib/Test/System.Security.Cryptography/RC2Test.cs | ghcode:00003:031b8df4e61f | mit | codeparrot/github-code | 031b8df4e61f8c19961359638c0ca568df14383e9321409dbe324aad1dea4117 | 0.95 | testing_debugging_repair_refactoring | 2,679 | false | 2026-07-17 |
using AliaSQL.Core.Model;
using AliaSQL.Core.Services;
using AliaSQL.Core.Services.Impl;
using NUnit.Framework;
namespace AliaSQL.UnitTests
{
[TestFixture]
public class ConnectionStringGeneratorTester
{
[Test]
public void CorrectlyGeneratesConnectionStringWithDatabaseAndIntegratedSecurity()
{
IConnectionSt... | ClearMeasure/AliaSQL | source/AliaSQL.UnitTests/ConnectionStringGeneratorTester.cs | https://github.com/ClearMeasure/AliaSQL/blob/HEAD/source/AliaSQL.UnitTests/ConnectionStringGeneratorTester.cs | ghcode:00003:9519f13e8de8 | mit | codeparrot/github-code | 9519f13e8de863021d943e2fb9df5207ecf91e9039f6390e0a9517128008efa2 | 0.6 | testing_debugging_repair_refactoring | 422 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenGamingLibrary.Json.Linq;
namespace OpenGamingLibrary.Json.Test.Documentation.Samples.Linq
{
public class JObjectProperties
{
public void Example()
{
#region Usage
JObject o =... | extesla/OpenGamingLibrary | Source/test/OpenGamingLibrary.Json.Test/Documentation/Samples/Linq/JObjectProperties.cs | https://github.com/extesla/OpenGamingLibrary/blob/HEAD/Source/test/OpenGamingLibrary.Json.Test/Documentation/Samples/Linq/JObjectProperties.cs | ghcode:00003:77b82d231736 | mit | codeparrot/github-code | 77b82d231736cad016b6fad9a2aec3a72467cd0b15e4b7ad9384c1f9c0ca470a | 0.95 | testing_debugging_repair_refactoring | 189 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.