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;
namespace Lucene.Net.Util.Automaton
{
/*
* 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... | NikolayXHD/Lucene.Net.Contrib | Lucene.Net/Util/Automaton/Lev2TParametricDescription.cs | https://github.com/NikolayXHD/Lucene.Net.Contrib/blob/HEAD/Lucene.Net/Util/Automaton/Lev2TParametricDescription.cs | ghcode:00008:6816c4c31154 | apache-2.0 | codeparrot/github-code | 6816c4c31154e6ce292ff190fe8d185e3465ef26db9addc3b2d2f0fdb33ee659 | 0.7 | testing_debugging_repair_refactoring | 9,842 | false | 2026-07-17 |
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using ImageMagick;
using Xunit;
namespace Magick.NET.Tests
{
public partial class MagickImageTests
{
public class TheModulateMethod
{
[Fact]
public void... | dlemstra/Magick.NET | tests/Magick.NET.Tests/MagickImageTests/TheModulateMethod.cs | https://github.com/dlemstra/Magick.NET/blob/HEAD/tests/Magick.NET.Tests/MagickImageTests/TheModulateMethod.cs | ghcode:00008:79436c2cf04d | apache-2.0 | codeparrot/github-code | 79436c2cf04d44151a7fe10cbd2627c822911da1a69216ad5b3ade72f89c1e60 | 0.7 | testing_debugging_repair_refactoring | 787 | false | 2026-07-17 |
// <copyright file="GraphitePointTests.cs" company="App Metrics Contributors">
// Copyright (c) App Metrics Contributors. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using System.IO;
using App.Metrics.Formatters.Graphite.Internal;
using FluentAssertions;
using Xunit;
namespac... | alhardy/AppMetrics | src/Reporting/test/App.Metrics.Reporting.Graphite.Facts/GraphitePointTests.cs | https://github.com/alhardy/AppMetrics/blob/HEAD/src/Reporting/test/App.Metrics.Reporting.Graphite.Facts/GraphitePointTests.cs | ghcode:00008:7ffb13f16f9e | apache-2.0 | codeparrot/github-code | 7ffb13f16f9e0e5d38f58f10a08818365e301767307111a555791809f8513839 | 0.95 | testing_debugging_repair_refactoring | 1,237 | 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;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Reflection;
using System.Threading;
using System.Threading... | stankovski/azure-sdk-for-net | sdk/mgmtcommon/AppAuthentication/Azure.Services.AppAuthentication.Unit.Tests/AzureServiceTokenProviderTests.cs | https://github.com/stankovski/azure-sdk-for-net/blob/HEAD/sdk/mgmtcommon/AppAuthentication/Azure.Services.AppAuthentication.Unit.Tests/AzureServiceTokenProviderTests.cs | ghcode:00008:3571a1a9936d | apache-2.0 | codeparrot/github-code | 3571a1a9936d165eba4f74c875e2c51cf91c52e1592c74bbc59610c2e0dd9223 | 0.85 | testing_debugging_repair_refactoring | 4,344 | false | 2026-07-17 |
//-------------------------------------------------------------------------------
// <copyright file="GuardsTransitionTest.cs" company="Appccelerate">
// Copyright (c) 2008-2019 Appccelerate
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complian... | appccelerate/statemachine | source/Appccelerate.StateMachine.Facts/Machine/Transitions/GuardsTransitionTest.cs | https://github.com/appccelerate/statemachine/blob/HEAD/source/Appccelerate.StateMachine.Facts/Machine/Transitions/GuardsTransitionTest.cs | ghcode:00008:21b1186b47b6 | apache-2.0 | codeparrot/github-code | 21b1186b47b66c38096ecd9f8766eed29da8d1c9dc575bbe38598befb7e6da85 | 0.7 | testing_debugging_repair_refactoring | 769 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NChainer;
using NConstrictor;
namespace KelpNet.Tests
{
[TestClass]
public class TestBatchNormalization
{
[TestMethod]
public void BatchNormRandomTest()
{
TrainTest(false, false);
TrainTest(true, fals... | harujoh/Kelp.Net | KelpNet.Tests/UnitTest/Functions/Normalization/TestBatchNormalization.cs | https://github.com/harujoh/Kelp.Net/blob/HEAD/KelpNet.Tests/UnitTest/Functions/Normalization/TestBatchNormalization.cs | ghcode:00008:bb06e6556bd0 | apache-2.0 | codeparrot/github-code | bb06e6556bd0d8efd95594798376db5cecd021fb1671b7f65a341fa1d78fa91d | 0.85 | testing_debugging_repair_refactoring | 893 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
using Serilog.Events;
using Serilog.Parsing;
namespace Serilog.Sinks.Elasticsearch.Tests
{
public class RealExceptionNoSerializerTests : ElasticsearchSinkTestsBase
{
[F... | serilog/serilog-sinks-elasticsearch | test/Serilog.Sinks.Elasticsearch.Tests/RealExceptionNoSerializerTests.cs | https://github.com/serilog/serilog-sinks-elasticsearch/blob/HEAD/test/Serilog.Sinks.Elasticsearch.Tests/RealExceptionNoSerializerTests.cs | ghcode:00008:3be4710041f6 | apache-2.0 | codeparrot/github-code | 3be4710041f62342f23fcc12a99e10925c9b6a15f3881c39af4069d3363e327e | 0.75 | testing_debugging_repair_refactoring | 462 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Azure.Communication.Sms.Tests.samples
{
/// <summary>
/// Samples that are used in the README.md file.
/// </summary>
public partial class Sample1_SmsClient
{
public SmsClient CreateSm... | markcowl/azure-sdk-for-net | sdk/communication/Azure.Communication.Sms/tests/samples/Sample1_SmsClient.cs | https://github.com/markcowl/azure-sdk-for-net/blob/HEAD/sdk/communication/Azure.Communication.Sms/tests/samples/Sample1_SmsClient.cs | ghcode:00008:bc754418ee09 | apache-2.0 | codeparrot/github-code | bc754418ee096e5600445124da4178e5dc3ece97258659d1a658751218fadb3a | 0.95 | testing_debugging_repair_refactoring | 153 | false | 2026-07-17 |
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using ImageMagick;
namespace Magick.NET.Tests
{
internal static class OpenCLValue
{
private static bool HasEnabledOpenCLDevices
{
get
{
... | dlemstra/Magick.NET | tests/Magick.NET.Tests/TestHelpers/Assert/OpenCLValue.cs | https://github.com/dlemstra/Magick.NET/blob/HEAD/tests/Magick.NET.Tests/TestHelpers/Assert/OpenCLValue.cs | ghcode:00008:57326da72db1 | apache-2.0 | codeparrot/github-code | 57326da72db14ee8f32305daee8e45985626ca1064ec0ac382faff92d85eb1dc | 0.7 | testing_debugging_repair_refactoring | 259 | false | 2026-07-17 |
using ClubHouse.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
using static ClubHouse.Test.TestHelpers;
namespace ClubHouse.Test
{
public class StoryTests
{
[Fact]
public async Task CreateMultipleStories()
{
var client = Cr... | ctolkien/ClubHouse | ClubHouse.Test/StoryTests.cs | https://github.com/ctolkien/ClubHouse/blob/HEAD/ClubHouse.Test/StoryTests.cs | ghcode:00008:39866494fba4 | apache-2.0 | codeparrot/github-code | 39866494fba492711051443e7192b862e9d47c438a9a37dcae7200ae870d59a7 | 0.75 | testing_debugging_repair_refactoring | 228 | false | 2026-07-17 |
// Copyright 2012 Fan Shi
//
// This file is part of the VBF project.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unles... | Ninputer/VBF | src/Compilers/Compilers.Parsers.Combinators/ParserRunner.cs | https://github.com/Ninputer/VBF/blob/HEAD/src/Compilers/Compilers.Parsers.Combinators/ParserRunner.cs | ghcode:00008:81c732b5a7ef | apache-2.0 | codeparrot/github-code | 81c732b5a7ef76ae47d3d40f5c1280d398738cdf7e490df4bbb6542fdbb561fd | 0.7 | testing_debugging_repair_refactoring | 326 | false | 2026-07-17 |
/*
* Copyright (c) 2021 Snowplow Analytics Ltd. All rights reserved.
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License
* Version 2.0. You may obtain a copy of the Apache License Version 2.0 at
* http://www.apache.or... | snowplow/snowplow-dotnet-tracker | Snowplow.Tracker.Tests/Models/Events/EcommerceTransactionTest.cs | https://github.com/snowplow/snowplow-dotnet-tracker/blob/HEAD/Snowplow.Tracker.Tests/Models/Events/EcommerceTransactionTest.cs | ghcode:00008:6483054f3ed3 | apache-2.0 | codeparrot/github-code | 6483054f3ed313cd983deb277c26396f7f1d46aba3bcdcedaff34af0f7b84a77 | 0.6 | testing_debugging_repair_refactoring | 741 | false | 2026-07-17 |
//
// Copyright 2020 Google LLC
//
// 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, Ver... | GoogleCloudPlatform/iap-desktop | sources/Google.Solutions.IapDesktop.Extensions.Shell.Test/Views/SshTerminal/TestSshTerminalSessionBroker.cs | https://github.com/GoogleCloudPlatform/iap-desktop/blob/HEAD/sources/Google.Solutions.IapDesktop.Extensions.Shell.Test/Views/SshTerminal/TestSshTerminalSessionBroker.cs | ghcode:00008:57a5486d119f | apache-2.0 | codeparrot/github-code | 57a5486d119f6bdcfea0d4ad6488055a67bd39fd18544fae89c973c240d7f2c3 | 0.85 | testing_debugging_repair_refactoring | 1,068 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Routing.Matching;
using Xunit;
namespace Microsoft.AspNetCore.Routing
{
public class LinkParserEndpointNameExtensionsTest : LinkParserTestBase
{
... | aspnet/AspNetCore | src/Http/Routing/test/UnitTests/LinkParserEndpointNameExtensionsTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Http/Routing/test/UnitTests/LinkParserEndpointNameExtensionsTest.cs | ghcode:00008:2145744fbcb7 | apache-2.0 | codeparrot/github-code | 2145744fbcb7f6e24cb65fce2298b9cea907dee887a69a123ac48301d015b441 | 0.95 | testing_debugging_repair_refactoring | 435 | 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 ... | aricooperman/jLean | orig-src/Tests/Engine/DataFeeds/TimeSliceTests.cs | https://github.com/aricooperman/jLean/blob/HEAD/orig-src/Tests/Engine/DataFeeds/TimeSliceTests.cs | ghcode:00008:ea90e0d49f67 | apache-2.0 | codeparrot/github-code | ea90e0d49f67c4192aa301cd236cfa8342a5c61925f47217ca0116aeeb24d481 | 0.85 | testing_debugging_repair_refactoring | 1,529 | false | 2026-07-17 |
using System;
using Xunit;
using Serilog.Sinks.PeriodicBatching;
namespace Serilog.Tests.Sinks.PeriodicBatching
{
public class BatchedConnectionStatusTests
{
readonly TimeSpan DefaultPeriod = TimeSpan.FromSeconds(2);
[Fact]
public void WhenNoFailuresHaveOccurredTheRegularIntervalIsUse... | skomis-mm/serilog-sinks-periodicbatching | test/Serilog.Sinks.PeriodicBatching.Tests/Sinks/PeriodicBatching/BatchedConnectionStatusTests.cs | https://github.com/skomis-mm/serilog-sinks-periodicbatching/blob/HEAD/test/Serilog.Sinks.PeriodicBatching.Tests/Sinks/PeriodicBatching/BatchedConnectionStatusTests.cs | ghcode:00008:dc2f05958f6d | apache-2.0 | codeparrot/github-code | dc2f05958f6dc4314e5c95869afcb491fe646ad13dad22decd73645b9e155ac6 | 0.75 | testing_debugging_repair_refactoring | 522 | false | 2026-07-17 |
using System;
using UnityEngine;
namespace Picodex
{
// SOLO CAMERA
[AddComponentMenu("Vxcm/VXCMTexture3D_Off_v02")]
[ExecuteInEditMode]
public class VXCMTexture3D_Off_v02 : MonoBehaviour
{
private bool s_InsideRendering = false;
// VXCM layer
// static readonly int VXCML... | objuan/picodex | app/AppWormsUnity/Assets/Volume/Test/VXCMTexture3D_Off_v02.cs | https://github.com/objuan/picodex/blob/HEAD/app/AppWormsUnity/Assets/Volume/Test/VXCMTexture3D_Off_v02.cs | ghcode:00008:13bad34d9e93 | apache-2.0 | codeparrot/github-code | 13bad34d9e93385161bbb65d749015e2989c26e9013ebac6f504a95dd1c8caec | 0.95 | testing_debugging_repair_refactoring | 1,173 | false | 2026-07-17 |
using System;
public class C
{
public static void Main()
{
var array = new int[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
var slice1 = array[4..^ 2]; // Range.Create(4, new Index(2, true))
var slice2 = array[..^ 3]; // Range.ToEnd(new Index(3, true))
var slice3 = arra... | ashmind/SharpLab | source/NetFramework/Tests/TestCode/Execution/Regression.LargeFlowWithRanges.cs | https://github.com/ashmind/SharpLab/blob/HEAD/source/NetFramework/Tests/TestCode/Execution/Regression.LargeFlowWithRanges.cs | ghcode:00008:dedb8dd07495 | bsd-2-clause | codeparrot/github-code | dedb8dd0749559043dde13c7f5151ec4949d7b44a4f27071d662cf0f6fb3452b | 0.88 | testing_debugging_repair_refactoring | 804 | false | 2026-07-17 |
using System;
using System.Collections.ObjectModel;
using FlickrNet;
using FlickrSyncProvider.Domain;
using FlickrSyncProvider.Extensions;
using Microsoft.Synchronization.SimpleProviders;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FlickrSyncProvider.Test
{
[TestClass]
public class ItemField... | tkhadimullin/MS-Sync-Flickr-Provider | FlickrSyncProvider.Test/ItemFieldDictionaryExtensionsTest.cs | https://github.com/tkhadimullin/MS-Sync-Flickr-Provider/blob/HEAD/FlickrSyncProvider.Test/ItemFieldDictionaryExtensionsTest.cs | ghcode:00008:af0b5ee03713 | bsd-3-clause | codeparrot/github-code | af0b5ee037134323a697eeb519e28e72c169b658716876042ecf34b47028f8c9 | 0.6 | testing_debugging_repair_refactoring | 713 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataExplorer.Presentation.Dialogs;
using DataExplorer.Presentation.Dialogs.Save;
using Moq;
using NUnit.Framework;
namespace DataExplorer.Presentation.Tests.Dialogs.Save
{
public class SaveDia... | dataexplorer/dataexplorer | Presentation.Tests/Dialogs/Save/SaveDialogServiceTests.cs | https://github.com/dataexplorer/dataexplorer/blob/HEAD/Presentation.Tests/Dialogs/Save/SaveDialogServiceTests.cs | ghcode:00008:49992a3b4fc2 | bsd-3-clause | codeparrot/github-code | 49992a3b4fc221af89cae8b1b18c606aea2723dee40a77400f377036a44db3d7 | 0.75 | testing_debugging_repair_refactoring | 404 | 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/CaseStatementTests.cs | https://github.com/joewhite/dgrok/blob/HEAD/Source/DGrok.Tests/CaseStatementTests.cs | ghcode:00008:123ca7390811 | mit | codeparrot/github-code | 123ca7390811d0078c579101aad006f37ec1c9f27535d0d671ba321873b79cfc | 0.85 | testing_debugging_repair_refactoring | 978 | false | 2026-07-17 |
#region Copyright (c) 2009 S. van Deursen
/* The CuttingEdge.Conditions library enables developers to validate pre- and postconditions in a fluent
* manner.
*
* To contact me, please visit my blog at http://www.cuttingedge.it/blogs/steven/
*
* Copyright (c) 2009 S. van Deursen
*
* Permission is hereby grante... | m3zercat/CuttingEdge.Conditions | CuttingEdge.Conditions.UnitTests/StringTests/StringHasLengthTests.cs | https://github.com/m3zercat/CuttingEdge.Conditions/blob/HEAD/CuttingEdge.Conditions.UnitTests/StringTests/StringHasLengthTests.cs | ghcode:00008:6cc23c69214f | mit | codeparrot/github-code | 6cc23c69214ffba94374f1659968d4e0cbd393a4318d7b93640bae8cd57739c2 | 0.85 | testing_debugging_repair_refactoring | 952 | 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.
// In CoreCLR String.Format(ref, ref) is small and readily inlined.
// The inline introduces a System.Parms GC struc... | dasMulli/coreclr | tests/src/JIT/Performance/CodeQuality/Inlining/InlineGCStruct.cs | https://github.com/dasMulli/coreclr/blob/HEAD/tests/src/JIT/Performance/CodeQuality/Inlining/InlineGCStruct.cs | ghcode:00008:d90b9858b5b2 | mit | codeparrot/github-code | d90b9858b5b22d0270e2eb3052ec5408f8cacaed621e43175113e7e4a7b105a4 | 0.8 | testing_debugging_repair_refactoring | 838 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using TickedPriorityQueue;
namespace TickedPriorityQueueUnitTests
{
[TestFixture]
public class TickedQueueItemComparerUnit
{
[Test]
public void TestPriorityCompare()
{
var a = new TickedObject(Callback, 0, 0) {Priority = 5};
... | ricardojmendez/TickedPriorityQueue | TickedPriorityQueue Unit Tests/Source/Unit Tests/TickedQueueItemComparerUnit.cs | https://github.com/ricardojmendez/TickedPriorityQueue/blob/HEAD/TickedPriorityQueue Unit Tests/Source/Unit Tests/TickedQueueItemComparerUnit.cs | ghcode:00008:b9b1b4b0cabe | mit | codeparrot/github-code | b9b1b4b0cabe6d34d8bcb5e894d07ba1248eabf5b2556286477354a940ceffc0 | 0.7 | testing_debugging_repair_refactoring | 827 | false | 2026-07-17 |
using Microsoft.AspNetCore.TestHost;
using System;
using System.Net.Http;
namespace FunctionalTests.Extensions
{
static class HttpClientExtensions
{
public static HttpClient CreateIdempotentClient(this TestServer server)
{
var client = server.CreateClient();
client.Defa... | skynode/eShopOnContainers | src/Tests/Services/Application.FunctionalTests/Extensions/HttpClientExtensions.cs | https://github.com/skynode/eShopOnContainers/blob/HEAD/src/Tests/Services/Application.FunctionalTests/Extensions/HttpClientExtensions.cs | ghcode:00008:4b7ef806fca4 | mit | codeparrot/github-code | 4b7ef806fca4adb2aeac9eb8fcf6242472b692895d4d4aa01f7d1a502753158d | 0.85 | testing_debugging_repair_refactoring | 77 | false | 2026-07-17 |
using System;
namespace Tests.Framework.Profiling
{
public interface IColoredWriter
{
void Write(ConsoleColor color, string value);
void WriteLine(ConsoleColor color, string value);
}
}
| CSGOpenSource/elasticsearch-net | src/Tests/Framework/Profiling/IColoredWriter.cs | https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/Framework/Profiling/IColoredWriter.cs | ghcode:00008:6de4041d37cc | apache-2.0 | codeparrot/github-code | 6de4041d37cc377da0a8496130851698f30016effcd5ad0c3f1782a34fb45f76 | 0.6 | testing_debugging_repair_refactoring | 43 | false | 2026-07-17 |
using Lucene.Net.Analysis.Standard;
using Lucene.Net.Analysis.TokenAttributes;
using Lucene.Net.Util;
using NUnit.Framework;
using System.Collections.Generic;
using System.IO;
using System.Text;
using JCG = J2N.Collections.Generic;
using Console = Lucene.Net.Util.SystemConsole;
namespace Lucene.Net.Analysis.Core
{
... | jeme/lucenenet | src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestTypeTokenFilter.cs | https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Analysis.Common/Analysis/Core/TestTypeTokenFilter.cs | ghcode:00008:be75bed5862b | apache-2.0 | codeparrot/github-code | be75bed5862bb1d062e1fad2888d539e0b23b177d8eb483d3fa493aa1fb35376 | 0.85 | testing_debugging_repair_refactoring | 1,028 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Ractor.Persistence.Tests {
[Redis(Name = "pp", Compressed = false)]
public class PurePoco {
[RedisKey]
public string Key { get; set; }
p... | buybackoff/Ractor | tests/Ractor.Persistence.Tests/RedisTests.cs | https://github.com/buybackoff/Ractor/blob/HEAD/tests/Ractor.Persistence.Tests/RedisTests.cs | ghcode:00008:74774cde2a42 | apache-2.0 | codeparrot/github-code | 74774cde2a428abce146bc0510e690140ec57443d218ef563873a8e6a1482127 | 0.85 | testing_debugging_repair_refactoring | 987 | 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.Linq;
using Microsoft.CodeAnalysis... | DustinCampbell/roslyn | src/Compilers/CSharp/Portable/Binder/Semantics/Conversions/UserDefinedImplicitConversions.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/Semantics/Conversions/UserDefinedImplicitConversions.cs | ghcode:00008:a2a3669c0b8b | apache-2.0 | codeparrot/github-code | a2a3669c0b8be7068e4c5e63feb642bcac11ed3aa3bdd15f2ae007585ba64904 | 0.85 | testing_debugging_repair_refactoring | 9,607 | false | 2026-07-17 |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | OpenSimian/opensimulator | OpenSim/Framework/Tests/UtilTest.cs | https://github.com/OpenSimian/opensimulator/blob/HEAD/OpenSim/Framework/Tests/UtilTest.cs | ghcode:00008:9e16e9926939 | bsd-3-clause | codeparrot/github-code | 9e16e99269392b807ba61c1d97635317f221d995e1a695ce8314be7c6cc4de9f | 0.95 | testing_debugging_repair_refactoring | 4,093 | false | 2026-07-17 |
//Copyright (c) 2007. Clarius Consulting, Manas Technology Solutions, InSTEDD
//http://code.google.com/p/moq/
//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 o... | ericschultz/Moq | Source/Protected/ProtectedExtension.cs | https://github.com/ericschultz/Moq/blob/HEAD/Source/Protected/ProtectedExtension.cs | ghcode:00008:d98c76a1419d | bsd-3-clause | codeparrot/github-code | d98c76a1419d2cc37ab5040a1052a9e5fc2e981c76d9cbb47b85f35528ab0fb6 | 0.7 | testing_debugging_repair_refactoring | 612 | false | 2026-07-17 |
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using Umbraco.Cms.Core.Models.ContentEditing;
using Umbraco.Extensions;
namespace Umbraco.Cms.Tests.UnitTests.Umbraco.Web.Common.Ang... | marcemarc/Umbraco-CMS | tests/Umbraco.Tests.UnitTests/Umbraco.Web.Common/AngularIntegration/ContentModelSerializationTests.cs | https://github.com/marcemarc/Umbraco-CMS/blob/HEAD/tests/Umbraco.Tests.UnitTests/Umbraco.Web.Common/AngularIntegration/ContentModelSerializationTests.cs | ghcode:00008:72a8068df010 | mit | codeparrot/github-code | 72a8068df01095088175a6fbda7251d4b6c398e1ba623813868899a51c7b656a | 0.85 | testing_debugging_repair_refactoring | 709 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2007 Charlie Poole, Rob Prouse
//
// 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 restri... | OmicronPersei/nunit | src/NUnitFramework/framework/Internal/Execution/TextMessageWriter.cs | https://github.com/OmicronPersei/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/Execution/TextMessageWriter.cs | ghcode:00008:9819135e0853 | mit | codeparrot/github-code | 9819135e08533abae7bb9f2840d903e1261a911a612440e319b6677fe4ed9eff | 0.85 | testing_debugging_repair_refactoring | 2,687 | 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"); y... | joshball/Lucene.In.Action.NET | vendor/lucene.net/test/core/Support/TestExceptionSerialization.cs | https://github.com/joshball/Lucene.In.Action.NET/blob/HEAD/vendor/lucene.net/test/core/Support/TestExceptionSerialization.cs | ghcode:00008:e1ea9c7a6946 | mit | codeparrot/github-code | e1ea9c7a6946af8966a242ea136bef55e03fb9b8ab1f5064dfa9b7d4678697bb | 0.85 | testing_debugging_repair_refactoring | 596 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace TrackableEntities.EF.Tests.NorthwindModels
{
[JsonObject(IsReference = true)]
public partial class Territory : ITrackable
{
... | TrackableEntities/trackable-entities | Source/Tests.Acceptance/TrackableEntities.Tests.Acceptance/ModelExtensions/Territory.cs | https://github.com/TrackableEntities/trackable-entities/blob/HEAD/Source/Tests.Acceptance/TrackableEntities.Tests.Acceptance/ModelExtensions/Territory.cs | ghcode:00008:0e68bfe101a5 | mit | codeparrot/github-code | 0e68bfe101a5873137078f357998cc4e17b9783f93ae30b3bb195e972dd7b09f | 0.75 | testing_debugging_repair_refactoring | 59 | false | 2026-07-17 |
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: ArraySortHelper
**
**
** Purpose: class to sort arrays
**
**
===========================================================*/
namespace Sys... | jelin1/llilum | Zelig/Zelig/RunTime/Framework/mscorlib/System/Collections/Generic/ArraySortHelper.cs | https://github.com/jelin1/llilum/blob/HEAD/Zelig/Zelig/RunTime/Framework/mscorlib/System/Collections/Generic/ArraySortHelper.cs | ghcode:00008:c7ee80b3570c | mit | codeparrot/github-code | c7ee80b3570c5124956596c67bf4f012c1561f3fd70c3475547cc4c7f24e991f | 0.7 | testing_debugging_repair_refactoring | 3,105 | false | 2026-07-17 |
#region License
// Copyright (c) 2018, FluentMigrator Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | eloekset/fluentmigrator | test/FluentMigrator.Tests/Integration/Migrations/TestBreakingMigration.cs | https://github.com/eloekset/fluentmigrator/blob/HEAD/test/FluentMigrator.Tests/Integration/Migrations/TestBreakingMigration.cs | ghcode:00008:86c636a9e039 | apache-2.0 | codeparrot/github-code | 86c636a9e0393e39999bf7eeee65e4669f48d269d8a91b83b62ec33d14b854b7 | 0.85 | testing_debugging_repair_refactoring | 198 | 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... | huizh/xenadmin | XenAdminTests/ArchiveTests/ArchiveFactoryTests.cs | https://github.com/huizh/xenadmin/blob/HEAD/XenAdminTests/ArchiveTests/ArchiveFactoryTests.cs | ghcode:00008:da34ce0469e3 | bsd-2-clause | codeparrot/github-code | da34ce0469e36f270918637d295ab477e343b1a9d2111eee1a929479077ee2ee | 0.68 | testing_debugging_repair_refactoring | 792 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
namespace tests
{
public class Issue1358 : MotionStreakTest
{
private float m_fRadius;
private float m_fAngle;
private CCPoint m_center;
public override void OnEnter()
... | haithemaraissia/CocosSharp | tests/tests/classes/tests/MotionStreakTest/Issue1358.cs | https://github.com/haithemaraissia/CocosSharp/blob/HEAD/tests/tests/classes/tests/MotionStreakTest/Issue1358.cs | ghcode:00008:265c83f11280 | mit | codeparrot/github-code | 265c83f11280415f829beaedf63e482bf3a9cafc79556059a42a0bec8aed0da3 | 0.85 | testing_debugging_repair_refactoring | 333 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using Xunit;
namespace Sy... | mokchhya/corefx | src/System.Net.Http/tests/FunctionalTests/HttpMethodTest.cs | https://github.com/mokchhya/corefx/blob/HEAD/src/System.Net.Http/tests/FunctionalTests/HttpMethodTest.cs | ghcode:00008:aedf89fbe30e | mit | codeparrot/github-code | aedf89fbe30e7cf9a533ac08f59e9062e474935b659d9ef5d47547e7eef34f04 | 0.95 | testing_debugging_repair_refactoring | 953 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.TrafficManager.Testing.ScenarioTests
{
using System.Collections.Generic;
using System.Linq;
using global::Traffi... | SiddharthChatrolaMs/azure-sdk-for-net | src/SDKs/TrafficManager/TrafficManager.Tests/ScenarioTests/EndpointScenarioTests.cs | https://github.com/SiddharthChatrolaMs/azure-sdk-for-net/blob/HEAD/src/SDKs/TrafficManager/TrafficManager.Tests/ScenarioTests/EndpointScenarioTests.cs | ghcode:00008:f35efc1ff8f3 | apache-2.0 | codeparrot/github-code | f35efc1ff8f3a522af63c64d817ca8978310dceb78ffd595b3d1ff43a5340d6c | 0.85 | testing_debugging_repair_refactoring | 520 | 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, ... | PKRoma/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/TestObjects/TestClassConvertable.cs | https://github.com/PKRoma/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/TestObjects/TestClassConvertable.cs | ghcode:00008:1ea806245fd8 | mit | codeparrot/github-code | 1ea806245fd80cbeaa7f7cd6acdd3e2e538d106d06428de061982c11445ec6f9 | 0.85 | testing_debugging_repair_refactoring | 278 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using System.Collections.ObjectModel;
using OpenQA.Selenium.Environment;
namespace OpenQA.Selenium
{
[TestFixture]
public class ElementPropertyTest : DriverTestFixture
{
[Test]
[IgnoreBrowser(Browser.Opera)]
[Ign... | asolntsev/selenium | dotnet/test/common/ElementPropertyTest.cs | https://github.com/asolntsev/selenium/blob/HEAD/dotnet/test/common/ElementPropertyTest.cs | ghcode:00008:4bc76f51dfd3 | apache-2.0 | codeparrot/github-code | 4bc76f51dfd366a321679be01a31f38c7dc39ecfee55cc1ab93fdca1e57d4b28 | 0.85 | testing_debugging_repair_refactoring | 216 | 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.Runtime.CompilerServices;
using System.IO;
using System.Collections;
using System.Globalization;
using System.Text;
using System.Threading;
u... | shiftkey-tester/corefx | src/System.IO.FileSystem/tests/DirectoryInfo/get_Root.cs | https://github.com/shiftkey-tester/corefx/blob/HEAD/src/System.IO.FileSystem/tests/DirectoryInfo/get_Root.cs | ghcode:00008:34c385045e66 | mit | codeparrot/github-code | 34c385045e664411f1f878eac2fe718c40c25c24a36ef5b614de0ec27c364ddd | 0.95 | testing_debugging_repair_refactoring | 1,328 | false | 2026-07-17 |
using System;
using FluentAssertions.Execution;
using FluentAssertions.Formatting;
namespace FluentAssertions.Common
{
public class ProvidePlatformServices : IProvidePlatformServices
{
public Action<string> Throw
{
get { return TestFrameworkProvider.Throw; }
}
pub... | rstam/fluentassertions | Src/FluentAssertions.WP8/Common/ProvidePlatformServices.cs | https://github.com/rstam/fluentassertions/blob/HEAD/Src/FluentAssertions.WP8/Common/ProvidePlatformServices.cs | ghcode:00008:a82a0f210b74 | apache-2.0 | codeparrot/github-code | a82a0f210b7481c721ce40a03a54e9b4baed70ccb1b645c8535f592907ac3a22 | 0.6 | testing_debugging_repair_refactoring | 155 | 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.Data.Common;
using System.IO;
using System.Runtime.Serialization;
using Syste... | ViktorHofer/corefx | src/System.Data.Common/src/System/Data/SQLTypes/SQLBytes.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Data.Common/src/System/Data/SQLTypes/SQLBytes.cs | ghcode:00008:a6832b7a25ce | mit | codeparrot/github-code | a6832b7a25ceed7ddcf64ee4a95f220f9146856696a32a0195b451e62680c25f | 0.95 | testing_debugging_repair_refactoring | 4,774 | false | 2026-07-17 |
#region License
//
// Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com>
//
// 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
... | MetSystem/fluentmigrator | src/FluentMigrator.Tests/Unit/Runners/MaintenanceLoaderTests.cs | https://github.com/MetSystem/fluentmigrator/blob/HEAD/src/FluentMigrator.Tests/Unit/Runners/MaintenanceLoaderTests.cs | ghcode:00008:6fb361ae6aaa | apache-2.0 | codeparrot/github-code | 6fb361ae6aaab9b442ad4768f8ad8269df0c438006bd995b246dd9b6f90c012c | 0.85 | testing_debugging_repair_refactoring | 1,366 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// See the LICENSE file in the project root for more information.
// Copyright (c) 2004 Mainsoft Co.
// Copyright (c) 2009 Novell Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated d... | lggomez/corefx | src/System.Data.Common/tests/System/Data/DataSetTest2.cs | https://github.com/lggomez/corefx/blob/HEAD/src/System.Data.Common/tests/System/Data/DataSetTest2.cs | ghcode:00008:c831395a762f | mit | codeparrot/github-code | c831395a762f0f8fe4f4d43aae61e78ef731b075697c36a1a6be0ef88bea88bd | 0.75 | testing_debugging_repair_refactoring | 34,380 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class SignatureHelperAddArgument
{
[Fa... | ViktorHofer/corefx | src/System.Reflection.Emit.ILGeneration/tests/SignatureHelper/SignatureHelperAddArgument.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Reflection.Emit.ILGeneration/tests/SignatureHelper/SignatureHelperAddArgument.cs | ghcode:00008:fe1d8cad4f94 | mit | codeparrot/github-code | fe1d8cad4f9428d7acaffe4b3e5c9fb91b40de1d772546ddcc9bd49ccacb351e | 0.95 | testing_debugging_repair_refactoring | 633 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;
using System.Collections.Generic;
using Microsoft.SqlServer.TDS.SessionState;
names... | ViktorHofer/corefx | src/System.Data.SqlClient/tests/Tools/TDS/TDS/FeatureExtAck/TDSFeatureExtAckFederatedAuthenticationOption.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Data.SqlClient/tests/Tools/TDS/TDS/FeatureExtAck/TDSFeatureExtAckFederatedAuthenticationOption.cs | ghcode:00008:867a76a721a5 | mit | codeparrot/github-code | 867a76a721a5bd07bea96a5aab5d869468879a91c765f19574da2b7d3ce2b08b | 0.95 | testing_debugging_repair_refactoring | 859 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.ComponentModel.DataAnnotations.Schema.Tests
{
public class TableAttributeTests
... | shimingsg/corefx | src/System.ComponentModel.Annotations/tests/System/ComponentModel/DataAnnotations/Schema/TableAttributeTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.ComponentModel.Annotations/tests/System/ComponentModel/DataAnnotations/Schema/TableAttributeTests.cs | ghcode:00008:b7cdc71a65fc | mit | codeparrot/github-code | b7cdc71a65fcd8c6704662ee273f065b4cc42020391699a14ae5c8cc809c7f7a | 0.95 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Internal.TypeSystem;
using Debug = System.Diagnostics.Debug;
namespace Internal.IL.Stubs
{
... | zenos-os/zenos | vendor/corert/src/Common/src/TypeSystem/IL/Stubs/AddrOfIntrinsic.cs | https://github.com/zenos-os/zenos/blob/HEAD/vendor/corert/src/Common/src/TypeSystem/IL/Stubs/AddrOfIntrinsic.cs | ghcode:00008:e078a0b89812 | mit | codeparrot/github-code | e078a0b89812f094fdac91ded796916e84a9a618499a7bc629232b1221be2c63 | 0.8 | testing_debugging_repair_refactoring | 317 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Numerics.Tests
{
public class DivideTest
{
private static int s_sampl... | BrennanConroy/corefx | src/System.Runtime.Numerics/tests/BigInteger/divide.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Runtime.Numerics/tests/BigInteger/divide.cs | ghcode:00008:e3112ef76230 | mit | codeparrot/github-code | e3112ef76230096cb6268d473aea84754c564e4687abbdf760e545a006c2771f | 0.95 | testing_debugging_repair_refactoring | 1,785 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
using System.Xml;
namespace XmlDocumentTests.XmlElementTests
{
public class GetAttributeNodeTests
{
[Fact]
public static void GetA... | vs-team/corefx | src/System.Xml.XmlDocument/tests/XmlElementTests/GetAttributeNodeTests.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Xml.XmlDocument/tests/XmlElementTests/GetAttributeNodeTests.cs | ghcode:00008:7ae01dbef469 | mit | codeparrot/github-code | 7ae01dbef469e93a60af3ac379e1ea449978effa1410555011baf77f921296f4 | 0.85 | testing_debugging_repair_refactoring | 1,025 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.genclass.genclassoperate.genclassoperate
{
using ManagedTests.DynamicCSharp.C... | vs-team/corefx | src/System.Dynamic.Runtime/tests/Dynamic.Context/Conformance.dynamic.context.operator.genclass.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Dynamic.Runtime/tests/Dynamic.Context/Conformance.dynamic.context.operator.genclass.cs | ghcode:00008:60fc248e52b2 | mit | codeparrot/github-code | 60fc248e52b214b885cf992ada53416c4430d185122bf5c7517551feec702b04 | 0.82 | testing_debugging_repair_refactoring | 15,082 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | seanbamsft/azure-powershell | src/ServiceManagement/Common/Commands.ScenarioTest/CloudServiceTests/RemoveAzureServiceScenarioTests.cs | https://github.com/seanbamsft/azure-powershell/blob/HEAD/src/ServiceManagement/Common/Commands.ScenarioTest/CloudServiceTests/RemoveAzureServiceScenarioTests.cs | ghcode:00008:aaa7f09c5fef | apache-2.0 | codeparrot/github-code | aaa7f09c5fefad8a2a5cbfb712bc1b573b8eae699823062af2ed96177d0f22bb | 0.85 | testing_debugging_repair_refactoring | 608 | 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.Diagnostics;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.EditAndContinue
{
internal struct LineChange : IEquatab... | Pvlerick/roslyn | src/Features/Core/Portable/EditAndContinue/LineChange.cs | https://github.com/Pvlerick/roslyn/blob/HEAD/src/Features/Core/Portable/EditAndContinue/LineChange.cs | ghcode:00008:231b50325ad1 | apache-2.0 | codeparrot/github-code | 231b50325ad1882da0c7fa23314e9b8312e73a5740028252e6c0a246faf1bbfc | 0.75 | testing_debugging_repair_refactoring | 251 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cs
{
[TestClass]
public class VariantTests
{
[TestMethod]
public void VariantsAsComToRustParameters()
{
... | Rantanen/com-export-rs | test/cs/VariantTests.cs | https://github.com/Rantanen/com-export-rs/blob/HEAD/test/cs/VariantTests.cs | ghcode:00008:befb2ce01972 | mit | codeparrot/github-code | befb2ce0197237e1e537705b84a4c7b3e9a1de154bd369a32c898e6438d3fa26 | 0.85 | testing_debugging_repair_refactoring | 1,462 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using NSwag.SwaggerGeneration.WebApi;
using Xunit;
namespace NSwag.CodeGeneration.CSharp.Tests
{
public class OptionalParameterTests
{
public class TestController : Controller
{
... | NSwag/NSwag | src/NSwag.CodeGeneration.CSharp.Tests/OptionalParameterTests.cs | https://github.com/NSwag/NSwag/blob/HEAD/src/NSwag.CodeGeneration.CSharp.Tests/OptionalParameterTests.cs | ghcode:00008:771b97bf3818 | mit | codeparrot/github-code | 771b97bf3818bb47a44f9cfb3d78857c4fdc797d52d9d2efffb293650f0cd461 | 0.85 | testing_debugging_repair_refactoring | 924 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Extensions;
using BenchmarkDotNet.Horology;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Reports;
namespace BenchmarkDo... | adamsitnik/BenchmarkDotNet | BenchmarkDotNet/Running/BenchmarkSwitcher.cs | https://github.com/adamsitnik/BenchmarkDotNet/blob/HEAD/BenchmarkDotNet/Running/BenchmarkSwitcher.cs | ghcode:00008:0eff726cfdc6 | mit | codeparrot/github-code | 0eff726cfdc6387566e2aedc0fcaffe0406911ee69221b8f058e64deee5c644a | 0.85 | testing_debugging_repair_refactoring | 676 | false | 2026-07-17 |
/*
* File: PProxyProcessModuleMixin.cs
*
* Author: Akira Sugiura (urasandesu@gmail.com)
*
*
* Copyright (c) 2016 Akira Sugiura
*
* This software is MIT License.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentat... | urasandesu/Prig | Test.program1/TestUtilities/Mixins/System/Diagnostics/Prig/PProxyProcessModuleMixin.cs | https://github.com/urasandesu/Prig/blob/HEAD/Test.program1/TestUtilities/Mixins/System/Diagnostics/Prig/PProxyProcessModuleMixin.cs | ghcode:00008:8b9d60bbb171 | mit | codeparrot/github-code | 8b9d60bbb171bbe29d85f47adc08fbfcef9dd626a13997ebb6ebe23dcf12f4b1 | 0.6 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Data;
using System.Reflection;
using unQuery.SqlTypes;
namespace unQuery.Tests.OtherNamespace
{
public class Typed_PrivateSetter
{
public int A { get; private set; }
}
public ... | improvedk/unQuery | src/unQuery.Tests/GetRowTests.cs | https://github.com/improvedk/unQuery/blob/HEAD/src/unQuery.Tests/GetRowTests.cs | ghcode:00008:3910f19ec55f | mit | codeparrot/github-code | 3910f19ec55f30872d4c0ba84c692eed24b5b8eabf99b1ff087072cc297cb1cc | 0.75 | testing_debugging_repair_refactoring | 5,867 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Simple.Data.ElasticsearchTest
{
public class Assume
{
public static void AssumeEqual(Object expected, Object actual, string ... | dtanzer/Simple.Data.ElasticSearch | Simple.Data.ElasticsearchTest/Assume.cs | https://github.com/dtanzer/Simple.Data.ElasticSearch/blob/HEAD/Simple.Data.ElasticsearchTest/Assume.cs | ghcode:00008:22b0abc1d030 | mit | codeparrot/github-code | 22b0abc1d0308e7617d66dff99a4030701d442735fccfd53ecdae50e74c19e32 | 0.6 | testing_debugging_repair_refactoring | 110 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using AzureFromTheTrenches.Commanding.Abstractions;
using AzureFromTheTrenches.Commanding.Implementation;
using AzureFromTheTrenches.Commanding.Tests.Unit.TestModel;
using Moq;
using Xunit;
namespa... | JamesRandall/AccidentalFish.Commanding | Tests/AzureFromTheTrenches.Commanding.Tests.Unit/Implementation/DirectCommandExecuterTests.cs | https://github.com/JamesRandall/AccidentalFish.Commanding/blob/HEAD/Tests/AzureFromTheTrenches.Commanding.Tests.Unit/Implementation/DirectCommandExecuterTests.cs | ghcode:00008:3557a1058706 | mit | codeparrot/github-code | 3557a1058706648e943dc3e1f889efed035d4ebafdcca04a86a5b60aac9a483e | 0.75 | testing_debugging_repair_refactoring | 458 | 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.
namespace Microsoft.Azure.ServiceBus.UnitTests
{
using System;
using System.Threading.Tasks;
using Microsoft.Azure.ServiceBus.Core;
using Microsoft.Azu... | jamestao/azure-sdk-for-net | src/SDKs/ServiceBus/data-plane/tests/Microsoft.Azure.ServiceBus.Tests/TokenProviderTests.cs | https://github.com/jamestao/azure-sdk-for-net/blob/HEAD/src/SDKs/ServiceBus/data-plane/tests/Microsoft.Azure.ServiceBus.Tests/TokenProviderTests.cs | ghcode:00008:c11c5fe6db5c | mit | codeparrot/github-code | c11c5fe6db5cfd37d52c7234b0b14182d520c254d422175165200b109bc896a8 | 0.95 | testing_debugging_repair_refactoring | 553 | false | 2026-07-17 |
using Chemistry;
using EngineLayer;
using EngineLayer.ClassicSearch;
using EngineLayer.Indexing;
using EngineLayer.ModernSearch;
using IO.MzML;
using MassSpectrometry;
using MzLibUtil;
using NUnit.Framework;
using Proteomics;
using System;
using System.Collections.Generic;
using System.Linq;
using static Chemistry.Pe... | hoffmann4/MetaMorpheus | Test/MyPeptideTest.cs | https://github.com/hoffmann4/MetaMorpheus/blob/HEAD/Test/MyPeptideTest.cs | ghcode:00008:e6fbff5a104c | mit | codeparrot/github-code | e6fbff5a104cf5f467dd30171f16a2fb959a11687bb03540dba62386d8b14158 | 0.6 | testing_debugging_repair_refactoring | 6,874 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Kask.UnitTests;
using Kask.Services.DAO;
using Kask.Services.Interfaces;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Kask.UnitTests
{
[TestClass]
public class EmploymentS... | datanets/kask-kiosk | Kask.UnitTests/ServiceUnitTests/EmploymentServiceUnitTest.cs | https://github.com/datanets/kask-kiosk/blob/HEAD/Kask.UnitTests/ServiceUnitTests/EmploymentServiceUnitTest.cs | ghcode:00008:5120ea07a92d | mit | codeparrot/github-code | 5120ea07a92de843242babd96c4cf3bd860ff602b2d8fc1fdc84e2ab715ac6f6 | 0.6 | testing_debugging_repair_refactoring | 523 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VsixMvcAppResult.Models;
using VsixMvcAppResult.UI.Web.Areas.UserAccount;
using VsixMvcAppResult.UI.Web.Areas.UserAccount.Controllers;
using VsixMvcAppResult.Tests.Integration.Com... | jordivila/Net_MVC_NLayer_Result | VsixMvcAppResult/VsixMvcAppResult.Tests.Integration/TestMultiThreaded/LoadMultiThreadTest.cs | https://github.com/jordivila/Net_MVC_NLayer_Result/blob/HEAD/VsixMvcAppResult/VsixMvcAppResult.Tests.Integration/TestMultiThreaded/LoadMultiThreadTest.cs | ghcode:00008:b0f66f752523 | mit | codeparrot/github-code | b0f66f752523343d697b5fb42816757e55fac613ce6dbb61f68bb692f83eb072 | 0.75 | testing_debugging_repair_refactoring | 984 | false | 2026-07-17 |
extern alias NotEnabled;
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NotEnabled::TestFoundations.IntegrationTests.Shared;
using Xunit;
namespace CodeContracts.Fody.IntegrationTests.NotEnabled
{
public... | NickRusinov/CodeContracts.Fody | CodeContracts.Fody.IntegrationTests/NotEnabled/ConcreteClassWithMethodsTests.cs | https://github.com/NickRusinov/CodeContracts.Fody/blob/HEAD/CodeContracts.Fody.IntegrationTests/NotEnabled/ConcreteClassWithMethodsTests.cs | ghcode:00008:d2b4967f21ae | mit | codeparrot/github-code | d2b4967f21ae47ff8b7621319b6305947773b345f0f90a07cfe008fbf8238cc3 | 0.75 | testing_debugging_repair_refactoring | 250 | false | 2026-07-17 |
using System;
using System.Linq;
using Xunit.Abstractions;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.TestHost;
using Xunit;
using System.Threading.Tasks;
using System.Collections.Generic;
using NuGet.Protocol.Core.Types;
using NuGet.Protocol;
using NuGet.Configuration;
using LiGet.Tests.Support;
us... | ai-traders/liget | tests/LiGet.Tests/NuGetClientIntegrationTest.cs | https://github.com/ai-traders/liget/blob/HEAD/tests/LiGet.Tests/NuGetClientIntegrationTest.cs | ghcode:00008:86361dbb25cf | mit | codeparrot/github-code | 86361dbb25cff931c8e85660c1b4d5d278c88113313785c20b11fd9d836f181c | 0.7 | testing_debugging_repair_refactoring | 4,169 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ASPPatterns.Chap5.Specification.Model;
using NUnit.Framework;
namespace ASPPatterns.Chap5.Specification.Tests
{
[TestFixture]
public class CustomerAccountStillActiveSpecificationTest
{
[Test]
public... | liqipeng/helloGithub | Book-Code/ASP.NET Design Pattern/ASPPatternsc05/ASPPatterns.Chap5.Specification/ASPPatterns.Chap5.Specification.Tests/CustomerAccountStillActiveSpecificationTest.cs | https://github.com/liqipeng/helloGithub/blob/HEAD/Book-Code/ASP.NET Design Pattern/ASPPatternsc05/ASPPatterns.Chap5.Specification/ASPPatterns.Chap5.Specification.Tests/CustomerAccountStillActiveSpecificationTest.cs | ghcode:00008:8289f6a00af5 | mit | codeparrot/github-code | 8289f6a00af5272325fa01cb6001bc84c5ebf11659515d8df81f37f4f7bab6a6 | 0.6 | testing_debugging_repair_refactoring | 298 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Nito.AsyncEx.Interop;
using System.Linq;
using System.Threading;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using Xunit;
using Nito.AsyncEx.Testing;
namespace UnitTests
{
public class WaitHandleInteropUnitTests
{
[Fact]
pu... | StephenCleary/AsyncEx | test/AsyncEx.Interop.WaitHandles.UnitTests/WaitHandleInteropUnitTests.cs | https://github.com/StephenCleary/AsyncEx/blob/HEAD/test/AsyncEx.Interop.WaitHandles.UnitTests/WaitHandleInteropUnitTests.cs | ghcode:00008:d5d1e32c38cc | mit | codeparrot/github-code | d5d1e32c38cc5703efd46cc2e427bf626729a6fc94ce81816b6fc6030b28ad18 | 0.75 | testing_debugging_repair_refactoring | 1,203 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using UnityEngine;
using Stratus;
using System.Collections.Generic;
namespace Stratus.Tests
{
public class StratusSearchTests
{
[Test]
public void TestSearchRange()
{
Vector3Int[] squareNeighbors(Vector3Int element)
{
... | Azurelol/StratusFramework | Core/Source/Tests/Editor/StratusSearchTests.cs | https://github.com/Azurelol/StratusFramework/blob/HEAD/Core/Source/Tests/Editor/StratusSearchTests.cs | ghcode:00008:27b88faa9fdf | mit | codeparrot/github-code | 27b88faa9fdf63c824c7c8b8594e850a00de2f3e57ecceab354c86b1e779e668 | 0.85 | testing_debugging_repair_refactoring | 283 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Umbraco.Core.Composing;
namespace Umbraco.Tests.Composing
{
[TestFixture]
public class ContainerConformingTests
{
// tests that a container conforms
private IRegister GetRegister() => RegisterF... | lars-erik/Umbraco-CMS | src/Umbraco.Tests/Composing/ContainerConformingTests.cs | https://github.com/lars-erik/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Composing/ContainerConformingTests.cs | ghcode:00008:3b7cf85e6af8 | mit | codeparrot/github-code | 3b7cf85e6af8f2e31dd632d3046c1f66eb03b73ce830ea3a9c348daf84cfecde | 0.85 | testing_debugging_repair_refactoring | 1,992 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Baku.Quma.Low;
namespace TestQumarionDotNet.Low
{
[TestClass]
public class QumarionTest
{
[TestMethod]
public void LowQumarion_ボーン列挙()
{
var device = Quma... | malaybaku/QumarionDotNet | QumarionDotNet/TestQumarionDotNetLow/Low/Qumarion/Qumarion.cs | https://github.com/malaybaku/QumarionDotNet/blob/HEAD/QumarionDotNet/TestQumarionDotNetLow/Low/Qumarion/Qumarion.cs | ghcode:00008:608496fba503 | mit | codeparrot/github-code | 608496fba503cd9b8d2be64f98ab6e5ba85ef7350ada286a2cd0b86b0ec55e3d | 0.6 | testing_debugging_repair_refactoring | 410 | false | 2026-07-17 |
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Sleet.Test.Common;
namespace Sleet.Azure.Tests
{
/// <summary>
/// These tests can run locally against developer storage by changing
/// EnvVarExistsFactAttribute -> Fact and starting up the emulator.
/// </summary>
... | emgarten/Sleet | test/Sleet.Azure.Tests/AzureFileSystemTests.cs | https://github.com/emgarten/Sleet/blob/HEAD/test/Sleet.Azure.Tests/AzureFileSystemTests.cs | ghcode:00008:c2349ea3313b | mit | codeparrot/github-code | c2349ea3313b4e5dfda50a60d2ad7cd4e1c35974f0346387bbb9613e57a99298 | 0.85 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
using System;
using System.IO;
using ImageResizer.Plugins.EPiFocalPoint.Internal.Services;
using Shouldly;
using Xunit;
namespace ImageResizer.Plugins.EPiFocalPoint.Tests.Unit.Internal.Services {
public class ImageDimensionServiceTests {
[Fact]
public void GetDimensions_StreamIsNull_ThrowsException() {
Actio... | CreunaAB/EPiFocalPoint | src/ImageResizer.Plugins.EPiFocalPoint.Tests/Unit/Internal/Services/ImageDimensionServiceTests.cs | https://github.com/CreunaAB/EPiFocalPoint/blob/HEAD/src/ImageResizer.Plugins.EPiFocalPoint.Tests/Unit/Internal/Services/ImageDimensionServiceTests.cs | ghcode:00008:720be7bc8934 | mit | codeparrot/github-code | 720be7bc893437443a9a13f943f13d0b360d45f7bf3f270562c92aa37f5fb8fb | 0.75 | testing_debugging_repair_refactoring | 544 | false | 2026-07-17 |
using System.Collections.Generic;
using System.IO;
using Manicomio.SwosPlayerFinder.Core;
using NSubstitute;
namespace Manicomio.SwosPlayerFinder.Tests.Core
{
public class TestableDataReader : DataReader
{
private readonly ITeamDataFileReader _fileReader;
private string _basePath;
priv... | codemeyer/SwosPlayerFinder | SwosPlayerFinder.Tests.Core/TestableDataReader.cs | https://github.com/codemeyer/SwosPlayerFinder/blob/HEAD/SwosPlayerFinder.Tests.Core/TestableDataReader.cs | ghcode:00008:ebcfb61e4b43 | mit | codeparrot/github-code | ebcfb61e4b43b29e498d18877e4d726cbd7b2e9b89b4a5d2449e34c9bd1a0753 | 0.75 | testing_debugging_repair_refactoring | 342 | false | 2026-07-17 |
using NUnit.Framework;
using Moq;
using SJP.Schematic.Core;
using System.Data;
using SJP.Schematic.PostgreSql.Comments;
namespace SJP.Schematic.PostgreSql.Tests.Comments
{
[TestFixture]
internal static class PostgreSqlQueryViewCommentProviderTests
{
[Test]
public static void Ctor_GivenNull... | sjp/SJP.Schema | src/SJP.Schematic.PostgreSql.Tests/Comments/PostgreSqlQueryViewCommentProviderTests.cs | https://github.com/sjp/SJP.Schema/blob/HEAD/src/SJP.Schematic.PostgreSql.Tests/Comments/PostgreSqlQueryViewCommentProviderTests.cs | ghcode:00008:c6263f18f1e2 | mit | codeparrot/github-code | c6263f18f1e2101c83228f0cc665c8da9eab19454f1d2392cd91315af24e5bc0 | 0.75 | testing_debugging_repair_refactoring | 376 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.Commitments.Api.Client.Interfaces;
using SFA.DAS.Commitments.Api.Types.Apprenticeship;
using SFA.DAS.ProviderApprenticeshipsService.Application.Queries.ApprenticeshipSearch;
using SFA... | SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Application.UnitTests/Queries/ApprenticeshipSearch/WhenSubmittingApprenticeshipSearch.cs | https://github.com/SkillsFundingAgency/das-providerapprenticeshipsservice/blob/HEAD/src/SFA.DAS.ProviderApprenticeshipsService.Application.UnitTests/Queries/ApprenticeshipSearch/WhenSubmittingApprenticeshipSearch.cs | ghcode:00008:c9be30106988 | mit | codeparrot/github-code | c9be3010698851a2a24c01fbacb3328812a6ed077efbc1ed66228db81d66ac28 | 0.7 | testing_debugging_repair_refactoring | 651 | false | 2026-07-17 |
//Copyright 2010 Microsoft Corporation
//
//Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agree... | BrightstarDB/odata-sparql | WcfDataServicesClient/NetFx4/Client/System/Data/Services/Client/ClientType.cs | https://github.com/BrightstarDB/odata-sparql/blob/HEAD/WcfDataServicesClient/NetFx4/Client/System/Data/Services/Client/ClientType.cs | ghcode:00008:39d1e98fcd24 | mit | codeparrot/github-code | 39d1e98fcd240ea324b6f684289a8bced4f04c8e6224844592cbb1159b2e3d87 | 0.7 | testing_debugging_repair_refactoring | 5,287 | false | 2026-07-17 |
using System.Threading.Tasks;
using FakeItEasy;
using Tweetinvi.Controllers.Auth;
using Tweetinvi.Core.DTO;
using Tweetinvi.Core.Web;
using Tweetinvi.Credentials.Models;
using Tweetinvi.Exceptions;
using Tweetinvi.Models;
using Tweetinvi.Parameters;
using Xunit;
using xUnitinvi.TestHelpers;
namespace xUnitinvi.ClientA... | linvi/tweetinvi | Tests/xUnitinvi/ClientActions/AuthClient/AuthControllerTests.cs | https://github.com/linvi/tweetinvi/blob/HEAD/Tests/xUnitinvi/ClientActions/AuthClient/AuthControllerTests.cs | ghcode:00008:4751b159e577 | mit | codeparrot/github-code | 4751b159e577ab5f09dfeeb3c29e7fc232006605f7cf0622d68a3e1bfccdaaa4 | 0.85 | testing_debugging_repair_refactoring | 1,681 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
using Ploeh.Albedo;
using Moq;
using Xunit.Extensions;
namespace Ploeh.Albedo.UnitTests
{
public class NullReflectionElementTests
{
[Fact]
public void SutIsReflectionElement()
{
... | modulexcite/Albedo | Src/Albedo.UnitTests/NullReflectionElementTests.cs | https://github.com/modulexcite/Albedo/blob/HEAD/Src/Albedo.UnitTests/NullReflectionElementTests.cs | ghcode:00008:e33f4c64f10b | mit | codeparrot/github-code | e33f4c64f10be860cea6d81f97e2f9cfb4f08fbaeec4bd513ff408411dccfa36 | 0.75 | testing_debugging_repair_refactoring | 376 | 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;
using Algorithms.Sorts;
namespace Algorithms.Tests.Sorts
{
internal class SortAlgoTester
{
public static void TestSortingEmptyArray(Fu... | karolgornicki/Articles | src/Algorithms/Algorithms.Tests/Sorts/SortAlgoTester.cs | https://github.com/karolgornicki/Articles/blob/HEAD/src/Algorithms/Algorithms.Tests/Sorts/SortAlgoTester.cs | ghcode:00008:03e774c9309e | mit | codeparrot/github-code | 03e774c9309e90ce0362a70454b348b642ef18dc4720847ffc7382c6a3950607 | 0.7 | testing_debugging_repair_refactoring | 486 | false | 2026-07-17 |
using bgTeam.Web.Exceptions;
using System;
using System.Net;
using System.Threading.Tasks;
using Xunit;
namespace bgTeam.Core.Tests.Tests.Core
{
public class QueueWarningExceptionTests
{
[Fact]
public async Task Exception()
{
var ex = await Assert.ThrowsAsync<WebClientExcep... | bgTeamDev/bgTeam.Core | tests/bgTeam.Core.Tests/Tests/Web/Exceptions/WebClientExceptionTests.cs | https://github.com/bgTeamDev/bgTeam.Core/blob/HEAD/tests/bgTeam.Core.Tests/Tests/Web/Exceptions/WebClientExceptionTests.cs | ghcode:00008:52bfce8a197d | mit | codeparrot/github-code | 52bfce8a197d6a5d53418e33834aadf2da41b298c263ecd7ec5fccba358ccb79 | 0.85 | testing_debugging_repair_refactoring | 219 | false | 2026-07-17 |
using System;
using Medidata.RWS.Core.Requests.Datasets;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Medidata.RWS.Tests.Core.Requests.Datasets
{
[TestClass]
public class StudyDatasetRequestTests
{
[TestMethod]
public void StudyDatasetRequest_default_parameters_are_set_cor... | mskcc/Medidata.RWS.NET | Medidata.RWS.Tests/Core/Requests/Datasets/StudyDatasetRequestTests.cs | https://github.com/mskcc/Medidata.RWS.NET/blob/HEAD/Medidata.RWS.Tests/Core/Requests/Datasets/StudyDatasetRequestTests.cs | ghcode:00008:2e07150b02de | mit | codeparrot/github-code | 2e07150b02de769dc4554f92365e32dc21ca1eaa8be6f0c7c9b57ee11bc6de4a | 0.75 | testing_debugging_repair_refactoring | 454 | false | 2026-07-17 |
using MvcTemplate.Components.Security;
using System;
using Xunit;
namespace MvcTemplate.Tests.Unit.Components.Security
{
public class AuthorizeAsAttributeTests
{
#region Constructor: AuthorizeAsAttribute(String action)
[Fact]
public void AuthorizeAsAttribute_NullAction_Throws()
... | duhaly/MVC6.Template | test/MvcTemplate.Tests/Unit/Components/Security/Authorization/AuthorizeAsAttributeTests.cs | https://github.com/duhaly/MVC6.Template/blob/HEAD/test/MvcTemplate.Tests/Unit/Components/Security/Authorization/AuthorizeAsAttributeTests.cs | ghcode:00008:d080d10c4bf6 | mit | codeparrot/github-code | d080d10c4bf6e39716484a2f18e2b28cb7027ef9a32297686f3a13928325ed94 | 0.75 | testing_debugging_repair_refactoring | 145 | false | 2026-07-17 |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | bitpay/csharp-bitpay-client | BitPay/EcKey.cs | https://github.com/bitpay/csharp-bitpay-client/blob/HEAD/BitPay/EcKey.cs | ghcode:00008:c6cfa62088fd | mit | codeparrot/github-code | c6cfa62088fdcabe3ce282d90db17ebadb43aab54dddaa6a73120b9af0cfa84f | 0.7 | testing_debugging_repair_refactoring | 2,440 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// Licensed to The .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// -----------------------------------------------------------------------
using System;
using Kerberos.NE... | SteveSyfuhs/Kerberos.NET | Tests/Tests.Kerberos.NET/Credentials/KerberosPasswordTests.cs | https://github.com/SteveSyfuhs/Kerberos.NET/blob/HEAD/Tests/Tests.Kerberos.NET/Credentials/KerberosPasswordTests.cs | ghcode:00008:3c653b1db74f | mit | codeparrot/github-code | 3c653b1db74f21d734a56035f17612907a22a2f6135c4b5e871555059ff89577 | 0.85 | testing_debugging_repair_refactoring | 397 | false | 2026-07-17 |
using System;
using System.Security.Cryptography;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using relayCredentials.Utility;
namespace relayCredentials.Test.Utility
{
[TestClass]
public class CipherRsaTest
{
... | nap3/relayCredentials | relayCredentials.Test/Utility/CipherRsaTest.cs | https://github.com/nap3/relayCredentials/blob/HEAD/relayCredentials.Test/Utility/CipherRsaTest.cs | ghcode:00008:775c9d3050f9 | mit | codeparrot/github-code | 775c9d3050f99b3530dfd06061971afea3b0d794deb6195ab031e0182752ccd8 | 0.7 | testing_debugging_repair_refactoring | 639 | false | 2026-07-17 |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | Squidex/squidex | backend/tests/Squidex.Domain.Apps.Entities.Tests/Schemas/DomainObject/Guards/FieldProperties/ArrayFieldPropertiesTests.cs | https://github.com/Squidex/squidex/blob/HEAD/backend/tests/Squidex.Domain.Apps.Entities.Tests/Schemas/DomainObject/Guards/FieldProperties/ArrayFieldPropertiesTests.cs | ghcode:00008:9046ea42802f | mit | codeparrot/github-code | 9046ea42802f047107d85f338d324f384b14052520727e50ab20f0e0432d5d66 | 0.95 | testing_debugging_repair_refactoring | 283 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NSubstitute;
using NUnit.Framework;
using Shouldly;
using Mulder.Base.Domain;
namespace Mulder.Tests.Base.Domain
{
public class SiteTests
{
[TestFixture]
public class when_creating_new_site
{
DateTime modificationTim... | dragan/mulder | src/Mulder.Tests/Base/Domain/SiteTests.cs | https://github.com/dragan/mulder/blob/HEAD/src/Mulder.Tests/Base/Domain/SiteTests.cs | ghcode:00008:d4aa5edbb508 | mit | codeparrot/github-code | d4aa5edbb508ca3da6ec2176642b93de775fbcb4381313724c578507dce78e12 | 0.75 | testing_debugging_repair_refactoring | 756 | 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 Internal.Text;
using Internal.TypeSystem;
namespace ILCompiler.DependencyAnalysis
... | sandreenko/corert | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/MethodCodeNode.cs | https://github.com/sandreenko/corert/blob/HEAD/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/MethodCodeNode.cs | ghcode:00008:ca236af291f4 | mit | codeparrot/github-code | ca236af291f47f397dbfbfb9918db4bd853dc1851d527a12c5cd0f7d71f069f9 | 0.8 | testing_debugging_repair_refactoring | 1,223 | false | 2026-07-17 |
using EPI.Sorting;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.Sorting
{
[TestClass]
public class CountingSortUnitTest
{
[TestMethod]
public void ReorderElementsWithSameKey()
{
CountingSort.Element[] array = new CountingSort.Element[]
{
ne... | dipakboyed/epibook.github.io.Puzzles | EPIUnitTests/Sorting/CountingSortUnitTest.cs | https://github.com/dipakboyed/epibook.github.io.Puzzles/blob/HEAD/EPIUnitTests/Sorting/CountingSortUnitTest.cs | ghcode:00008:7e3c81d00de6 | mit | codeparrot/github-code | 7e3c81d00de69f2dbf4efd291a03368c674905b58dbc607e0ba76eefea61bcc2 | 0.6 | testing_debugging_repair_refactoring | 385 | false | 2026-07-17 |
using Ellipse.DataDictionary.Models;
using Ellipse.DataDictionary.Readers;
using NUnit.Framework;
namespace Ellipse.DataDictionary.Parsers.Cobol.Hierarchy
{
[TestFixture]
public class HierarchyPropertyParserUnitTests : ParserTestFixture<EmptyParser>
{
[Test]
public void SingleLine03()
... | JoePlant/ellipse-data-dictionary | src/Ellipse.Parser.Tests/Parsers/Cobol/Hierarchy/HierarchyPropertyParserUnitTests.cs | https://github.com/JoePlant/ellipse-data-dictionary/blob/HEAD/src/Ellipse.Parser.Tests/Parsers/Cobol/Hierarchy/HierarchyPropertyParserUnitTests.cs | ghcode:00008:86f1584fb780 | mit | codeparrot/github-code | 86f1584fb780be95368d6a14c211711772b5e86d9275da6a26378e7e5de491dc | 0.75 | testing_debugging_repair_refactoring | 1,779 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sopka.Tools.CodeWriters.XmiModels;
using Sopka.Tools.CodeWriters.Umbrello;
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Sopka.Tools.CodeWriters.Generators.Umbrello;
namespace CodeWriters.Test.XmiModels
{
[Test... | Sopka/CodeWriters | CodeWriters.Test/XmiModels/UmbrelloTest.cs | https://github.com/Sopka/CodeWriters/blob/HEAD/CodeWriters.Test/XmiModels/UmbrelloTest.cs | ghcode:00008:b90edec76880 | mit | codeparrot/github-code | b90edec76880c71dc2e1dd0ed2f4038f6ffff681ab25dca2a695cf84f6235d06 | 0.6 | testing_debugging_repair_refactoring | 414 | false | 2026-07-17 |
using CBT.UnitTests.Common;
using Microsoft.Build.Construction;
using Microsoft.Build.Framework;
using NuGet.Frameworks;
using NuGet.LibraryModel;
using NuGet.Packaging.Core;
using NuGet.ProjectModel;
using NuGet.Tasks.Deterministic;
using NuGet.Versioning;
using Shouldly;
using System;
using System.Collections.Generi... | jeffkl/CBT.Modules | src/NuGet.Deterministic.UnitTests/GenerateLockedPackageConfigurationFileTests.cs | https://github.com/jeffkl/CBT.Modules/blob/HEAD/src/NuGet.Deterministic.UnitTests/GenerateLockedPackageConfigurationFileTests.cs | ghcode:00008:e8b1b766e94b | mit | codeparrot/github-code | e8b1b766e94b7771e16858eeb6bc2f384c72b5490626dba9f4bfbfa29a2400d5 | 0.75 | testing_debugging_repair_refactoring | 3,569 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using NUnit.Framework;
using Rhino.Mocks;
namespace ConfigReader.Tests
{
[TestFixture]
public class when_a_custom_conversion_strategy_is_set_for_a_type : ConfigurationReaderSpecificationBase
{
protected override v... | troygoode/ConfigReader | src/ConfigReader.Tests/when_a_custom_conversion_strategy_is_set_for_a_type.cs | https://github.com/troygoode/ConfigReader/blob/HEAD/src/ConfigReader.Tests/when_a_custom_conversion_strategy_is_set_for_a_type.cs | ghcode:00008:91644d80edb0 | apache-2.0 | codeparrot/github-code | 91644d80edb04d5d573e171194906488011be73e2f063cf5f8e1e3861cabb1b9 | 0.6 | testing_debugging_repair_refactoring | 335 | false | 2026-07-17 |
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Quartz;
using Xunit;
namespace OpenIddict.Quartz.Tests;
public class OpenIddictQuartzExtensionsTests
{
[Fact]
public void UseQuartz_ThrowsAnExceptionForNullBuilder()
{
// Arrange
var builder = (OpenId... | openiddict/openiddict-core | test/OpenIddict.Quartz.Tests/OpenIddictQuartzExtensionsTests.cs | https://github.com/openiddict/openiddict-core/blob/HEAD/test/OpenIddict.Quartz.Tests/OpenIddictQuartzExtensionsTests.cs | ghcode:00008:9137e9d4c47d | apache-2.0 | codeparrot/github-code | 9137e9d4c47df369496bed62d304df649a6124b0ab025ab79ed0007a8cf1ffa2 | 0.85 | testing_debugging_repair_refactoring | 477 | 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 Test.Utilities;
using Xunit;
using VerifyCS = Test.Utilities.CSharpCodeFixVerifier<
... | mavasani/roslyn-analyzers | src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/Maintainability/UseNameOfInPlaceOfStringTests.cs | https://github.com/mavasani/roslyn-analyzers/blob/HEAD/src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/Maintainability/UseNameOfInPlaceOfStringTests.cs | ghcode:00008:b5576bd0318e | apache-2.0 | codeparrot/github-code | b5576bd0318ecb5e2c52cc1e3e2d15124dc9d2f2019cf9af3a03824a8ec10a1d | 0.85 | testing_debugging_repair_refactoring | 3,163 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.