conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Fix codepath where the property is a value type but the weakreference has been collected.\n" }, { "from": "human", "value": "using Avalonia.Data;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks...
c#
chosen
[ { "from": "system", "value": "Revert \"fix(logging): 🐛 try yet another AppInsights config\"\n\nThis reverts commit a313ce949202d3cc6263b8ff7136a34cf99715de.\n" }, { "from": "human", "value": "using System;\nusing System.Threading.Tasks;\nusing Microsoft.ApplicationInsights.Extensibility;\nusin...
c#
chosen
[ { "from": "system", "value": "Fix import tag to have correct namespace\n\n\ngit-svn-id: a161142445158cf41e00e2afdd70bb78aded5464@138 48f0ce17-cc52-0410-af8c-857c09b6549b\n" }, { "from": "human", "value": "using System;\r\nusing System.Xml;\r\n\r\nnamespace FluentNHibernate.Mapping\r\n{\r\n pu...
c#
chosen
[ { "from": "system", "value": "Modify PropertyMetadata for correct overloading\n" }, { "from": "human", "value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Text;\r\nusing System.Threading.Tasks;\r\nusing System.Windows;\r\nusing Microsoft.Xaml.Behav...
c#
chosen
[ { "from": "system", "value": "Disable UnityEvent workaround since it is broken in Full Inspector\n" }, { "from": "human", "value": "#if !NO_UNITY\nusing System;\nusing UnityEngine;\nusing UnityEngine.Events;\n\nnamespace FullSerializer {\n partial class fsConverterRegistrar {\n public ...
c#
chosen
[ { "from": "system", "value": "Include first & last names for recipients\n" }, { "from": "human", "value": "using System.Collections.Generic;\nusing Newtonsoft.Json;\nusing SurveyMonkey.Enums;\n\nnamespace SurveyMonkey.Containers\n{\n [JsonConverter(typeof(TolerantJsonConverter))]\n public...
c#
chosen
[ { "from": "system", "value": "CLI: Make brstm instead of dsp. Encode adpcm channels in parallel\n" }, { "from": "human", "value": "using System;\nusing System.Diagnostics;\nusing System.IO;\nusing DspAdpcm.Encode.Adpcm;\nusing DspAdpcm.Encode.Adpcm.Formats;\nusing DspAdpcm.Encode.Pcm;\nusing Ds...
c#
chosen
[ { "from": "system", "value": "Add raw message sending, requires xdotool\n" }, { "from": "human", "value": "using System.Collections.Generic;\nusing System.Linq;\n\nnamespace SkypeSharp {\n /// <summary>\n /// Class representing a Skype CHAT object\n /// </summary>\n public class...
c#
chosen
[ { "from": "system", "value": "Change the target to get working on build server\n" }, { "from": "human", "value": "using System;\n\nnamespace SeleniumExtension.SauceLabs\n{\n public class SauceDriverKeys\n {\n public static string SAUCELABS_USERNAME\n {\n get \n ...
c#
chosen
[ { "from": "system", "value": "Write logs to console only in case of error\n" }, { "from": "human", "value": "namespace Metrics.Integrations.Linters\n{\n using System;\n using System.IO;\n using System.Text;\n\n // TODO: Improve logging.\n public class LogManager : IDisposable\n ...
c#
chosen
[ { "from": "system", "value": "Include request URL in HTTP error message\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Net.Http;\nusing System.Text;\nusing System.Threading.Tasks;\nusing System.Windows;\nusing KAGTools.Data;...
c#
chosen
[ { "from": "system", "value": "Add clock Face and Window classes. Draw a line. Setting FG color is TODO.\n" }, { "from": "human", "value": "using System;\nusing Gtk;\n\nnamespace gtksharp_clock\n{\n\tclass MainClass\n\t{\n\t\tpublic static void Main(string[] args)\n\t\t{\n\t\t\tApplication.Init(...
c#
chosen
[ { "from": "system", "value": "Document and clean up the binding code\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\nnamespace RabidWarren.Collections.Generic\n{\n public static class Enumerable\n {\n pu...
c#
chosen
[ { "from": "system", "value": "Remove semicolons from poll page\n" }, { "from": "human", "value": "<!DOCTYPE html>\n<html ng-app=\"VoteOn-Poll\">\n<head>\n <title>Vote On</title>\n <meta name=\"viewport\" content=\"initial-scale=1\">\n\n @Styles.Render(\"~/Bundles/StyleLib/AngularMateri...
c#
chosen
[ { "from": "system", "value": "Fix taiko difficulty adjust scroll speed being shown with too low precision\n" }, { "from": "human", "value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nus...
c#
chosen
[ { "from": "system", "value": "Add startup value for the slider\n" }, { "from": "human", "value": "// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.\r\n// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE\r\n\r\nusing osu.Framework.Timing;\r\nusing ...
c#
chosen
[ { "from": "system", "value": "Change name of the property for the status transition to match the API too\n" }, { "from": "human", "value": "using System;\nusing Newtonsoft.Json;\nusing Stripe.Infrastructure;\n\nnamespace Stripe\n{\n public class StripeStatusTransitions : StripeEntity\n {\...
c#
chosen
[ { "from": "system", "value": "Add new createInstance overloads to scriptbuilderfactory.cs to support scriptbuildersettings args\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Reflection;\n\nnamespace Acklann.Daterpillar.TextTransformation\n{\n ...
c#
chosen
[ { "from": "system", "value": "Fix EOI emails are not sent\n" }, { "from": "human", "value": "using System.Threading.Tasks;\r\nusing System.Web.Http;\r\nusing CroquetAustralia.Domain.Features.TournamentEntry.Commands;\r\nusing CroquetAustralia.Domain.Features.TournamentEntry.Events;\r\nusing Cro...
c#
chosen
[ { "from": "system", "value": "Add a root state type\n\nAdd a root state type\n" }, { "from": "human", "value": "using System.Xml.Serialization;\n\nnamespace DevelopmentInProgress.DipState\n{\n public enum DipStateType\n {\n [XmlEnum(\"1\")]\n Standard = 1,\n\n [XmlEnu...
c#
chosen
[ { "from": "system", "value": "Fix broken tests getting items from the valid root\n" }, { "from": "human", "value": "namespace Sitecore.FakeDb.Serialization.Tests.Deserialize\n{\n using System.Linq;\n using Xunit;\n\n [Trait(\"Deserialize\", \"Deserializing a tree of items\")]\n public class...
c#
chosen
[ { "from": "system", "value": "Change the plugin library load path\n\nInstead of pointing to netstandard1.3 folder this change will change the library load path to point to Libs folder that will contain libraries after code has been compiled.\n" }, { "from": "human", "value": "using PluginContrac...
c#
chosen
[ { "from": "system", "value": "Remove trailing slash from base URL\n" }, { "from": "human", "value": "using System.Web;\nusing System.Web.Mvc;\n\nnamespace SimpleMvcSitemap\n{\n class BaseUrlProvider : IBaseUrlProvider\n {\n public string GetBaseUrl(HttpContextBase httpContext)\n ...
c#
chosen
[ { "from": "system", "value": "Test Fetcher.Login POSTs with correct values\n" }, { "from": "human", "value": "using System.Collections.Specialized;\nusing System.Text;\nusing Moq;\nusing NUnit.Framework;\n\nnamespace LastPass.Test\n{\n [TestFixture]\n class FetcherTest\n {\n [Tes...
c#
chosen
[ { "from": "system", "value": "Update example for new config file loading.\n" }, { "from": "human", "value": "namespace simple\r\n{\r\n using System;\r\n using System.IO;\r\n using k8s;\r\n\r\n class PodList\r\n {\r\n static void Main(string[] args)\r\n {\r\n ...
c#
chosen
[ { "from": "system", "value": "Use range check for floating point" }, { "from": "human", "value": "using System;\nusing NUnit.Framework;\nusing FluentAssertions;\nusing SketchSolve;\nusing System.Linq;\n\nnamespace SketchSolve.Spec\n{\n\t[TestFixture()]\n\tpublic class Solver\n\t{\n\t\t[Test()]\n...
c#
chosen
[ { "from": "system", "value": "Add reference to source of debug lookup method\n" }, { "from": "human", "value": "// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.\n// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE\n\nusing System;\nusin...
c#
chosen
[ { "from": "system", "value": "Use string in stead of HashSet - much faster\n" }, { "from": "human", "value": "using CommonMarkSharp.Blocks;\r\nusing CommonMarkSharp.Inlines;\r\nusing System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Text;\r\nusing System.Threadi...
c#
chosen
[ { "from": "system", "value": "Add settings buttons to allow temporarily blocking realm access\n" }, { "from": "human", "value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing osu.Fra...
c#
chosen
[ { "from": "system", "value": "Add ignore_case and expand properties to synonym filter\n" }, { "from": "human", "value": "using Newtonsoft.Json;\r\nusing System.Collections.Generic;\r\n\r\nnamespace Nest\r\n{\r\n public class SynonymTokenFilter : TokenFilterSettings\r\n {\r\n public...
c#
chosen
[ { "from": "system", "value": "Fix missing object reference error.\n\n" }, { "from": "human", "value": "/* Copyright (c) 2016 Kevin Fischer\n *\n * This Source Code Form is subject to the terms of the MIT License.\n * If a copy of the license was not distributed with this file,\n * You can obtai...
c#
chosen
[ { "from": "system", "value": "Set IsBusy immediately, so there is no chance to run the command more than once.\n" }, { "from": "human", "value": "using AvalonStudio.Extensibility;\nusing ReactiveUI;\nusing Splat;\nusing System;\nusing System.Linq;\nusing System.Reactive;\nusing System.Reactive.L...
c#
chosen
[ { "from": "system", "value": "Add support for creating a bounded channel in helper\n" }, { "from": "human", "value": "// Copyright (c) .NET Foundation. All rights reserved.\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\n\nusing S...
c#
chosen
[ { "from": "system", "value": "Add scheduling of events to occur later on the timeline\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\n\nnamespace Totem.Runtime.Timeline\n{\n\t/// <summary>\n\t/// Describes a...
c#
chosen
[ { "from": "system", "value": "Fix assembly version for Shimmer\n" }, { "from": "human", "value": "using System.Reflection;\n\n[assembly: AssemblyProduct(\"Espera\")]\n[assembly: AssemblyCopyright(\"Copyright © 2013 Dennis Daume\")]\n[assembly: AssemblyVersion(\"1.7.0.6\")]\n[assembly: AssemblyF...
c#
chosen
[ { "from": "system", "value": "Add base class to error controller so that it can find Base SupportUserBanner child action\n" }, { "from": "human", "value": "using System.Net;\nusing System.Web.Mvc;\n\nnamespace SFA.DAS.EmployerAccounts.Web.Controllers\n{\n public class ErrorController : Contr...
c#
chosen
[ { "from": "system", "value": "[SignIn] Enable JS in the browser so the user can authorize the app\n" }, { "from": "human", "value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Text;\r\n\r\nusing Android.App;\r\nusing Android.Content;\r\nusing Androi...
c#
chosen
[ { "from": "system", "value": "Add the attribute needed, provided\n\nSome time when we have a connection failure, the error message need some information, ex: missing_scope\r\nSo we need to know what are the \"needed\" scope to add them.\r\nwith provided we can see what are the permission that we already pro...
c#
chosen
[ { "from": "system", "value": "Update Setting Values for OAuth2 setting\n" }, { "from": "human", "value": "using System;\nusing UnityEngine;\n\nnamespace CloudBread.OAuth\n{\n\tpublic class OAuth2Setting : ScriptableObject\n\t{\n\n\t\tstatic bool _useFacebook;\n\n\t\tstatic public string FaceBoo...
c#
chosen
[ { "from": "system", "value": "Fix invalid JSON caused by localized decimal mark\n\nUsing InvariantCulture to convert the double to string to generate a dot instead of a comma.\n" }, { "from": "human", "value": "using System;\nusing Newtonsoft.Json;\n\nnamespace Glimpse.Internal\n{\n public c...
c#
chosen
[ { "from": "system", "value": "Add members property to collection\n" }, { "from": "human", "value": "using Newtonsoft.Json;\n\nnamespace Digirati.IIIF.Model.Types\n{\n public class Collection : IIIFPresentationBase\n {\n [JsonProperty(Order = 100, PropertyName = \"collections\")]\n ...
c#
chosen
[ { "from": "system", "value": "Remove unnecessary using's, add comment\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace NutPackerLib\n{\n public class OriginalNameAttribute :...
c#
chosen
[ { "from": "system", "value": "Increase project version number to 0.14.0\n" }, { "from": "human", "value": "using System.Reflection;\r\nusing System.Runtime.InteropServices;\r\n\r\n[assembly: AssemblyCompany(\"Yevgeniy Shunevych\")]\r\n[assembly: AssemblyProduct(\"Atata Framework\")]\r\n[assembl...
c#
chosen
[ { "from": "system", "value": "Increase project version to 0.16.0\n" }, { "from": "human", "value": "using System.Reflection;\r\nusing System.Runtime.InteropServices;\r\n\r\n[assembly: AssemblyCompany(\"Yevgeniy Shunevych\")]\r\n[assembly: AssemblyProduct(\"Atata Framework\")]\r\n[assembly: Asse...
c#
chosen
[ { "from": "system", "value": "Add spaces into displayed Palette Insight Agent service name\n" }, { "from": "human", "value": "using Topshelf;\n\nnamespace PaletteInsightAgentService\n{\n /// <summary>\n /// Service layer that wraps the PaletteInsightAgentLib. Topshelf keeps this pretty t...
c#
chosen
[ { "from": "system", "value": "Fix for buildtypeid case mismatch\n" }, { "from": "human", "value": "using System.Linq;\nusing System.Text;\nusing TeamCitySharp;\nusing TeamCitySharp.Locators;\n\nnamespace DTMF.Logic\n{\n public class TeamCity\n {\n public static bool IsRunning(Strin...
c#
chosen
[ { "from": "system", "value": "Add `AssemblyCompany`, `AssemblyCopyright` and `AssemblyProduct` attributes to the assembly.\n" }, { "from": "human", "value": "// Copyright (c) .NET Foundation. All rights reserved.\n// Licensed under the Apache License, Version 2.0. See License.txt in the project ...
c#
chosen
[ { "from": "system", "value": "Replace Xna's Clamp method with our own.\n" }, { "from": "human", "value": "using System;\n\nnamespace ChamberLib\n{\n public static class MathHelper\n {\n public static int RoundToInt(this float x)\n {\n return (int)Math.Round(x);\n ...
c#
chosen
[ { "from": "system", "value": "Fix Zap mod dedicated server.\n" }, { "from": "human", "value": "//------------------------------------------------------------------------------\n// Revenge Of The Cats: Ethernet\n// Copyright (C) 2009, mEthLab Interactive\n//---------------------------------------...
c#
chosen
[ { "from": "system", "value": "Use DomainCustomization rather than AutoMoqCustomization directly\n" }, { "from": "human", "value": "using Ploeh.AutoFixture;\nusing Ploeh.AutoFixture.AutoMoq;\nusing Ploeh.AutoFixture.Xunit;\n\nnamespace AppHarbor.Tests\n{\n\tpublic class AutoCommandDataAttribute ...
c#
chosen
[ { "from": "system", "value": "Fix SliderTest.SlideHorizontally on Win 10\n\nFix #55\n" }, { "from": "human", "value": "namespace Gu.Wpf.UiAutomation\n{\n using System.Windows.Automation;\n\n public class Thumb : UiElement\n {\n public Thumb(AutomationElement automationElement)\n ...
c#
chosen
[ { "from": "system", "value": "Use less confusing placeholder icon for YAML\n" }, { "from": "human", "value": "using JetBrains.ProjectModel;\nusing JetBrains.ReSharper.Plugins.Yaml.ProjectModel;\nusing JetBrains.ReSharper.Plugins.Yaml.Settings;\nusing JetBrains.ReSharper.Psi;\nusing JetBrains.Re...
c#
chosen
[ { "from": "system", "value": "Add registration options for definition request\n" }, { "from": "human", "value": "//\n// Copyright (c) Microsoft. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n//\n\nusing Microsoft.Powe...
c#
chosen
[ { "from": "system", "value": "Fix having the wrong Index name in migration CuratedFeedPackageUniqueness.Down()\n" }, { "from": "human", "value": "namespace NuGetGallery.Migrations\n{\n using System.Data.Entity.Migrations;\n \n public partial class CuratedFeedPackageUniqueness : DbMigrat...
c#
chosen
[ { "from": "system", "value": "Add an implementation IEqualityComparer<Type> to ensure the .Distinct call in the Locate() method works as expected.\n" }, { "from": "human", "value": "using System;\nusing System.Linq;\nusing System.Reflection;\nusing Mongo.Migration.Extensions;\nusing Mongo.Migra...
c#
chosen
[ { "from": "system", "value": "Fix bug where prop was not serialized\n" }, { "from": "human", "value": "using System;\nusing OpenStardriveServer.Domain.Systems.Standard;\n\nnamespace OpenStardriveServer.Domain.Systems.Propulsion.Engines;\n\npublic record EnginesState : StandardSystemBaseState\n{\...
c#
chosen
[ { "from": "system", "value": "Add overloads to exception to take in the Reason\n" }, { "from": "human", "value": "using System;\n\nnamespace RapidCore.Locking\n{\n public class DistributedAppLockException : Exception\n {\n public DistributedAppLockException()\n {\n }\n...
c#
chosen
[ { "from": "system", "value": "Use floats across the camera calculations\n/2 > 0.5f\n" }, { "from": "human", "value": "using UnityEngine;\n\nnamespace HoloToolkit.Unity\n{\n public static class CameraExtensions\n {\n /// <summary>\n /// Get the horizontal FOV from the stereo ...
c#
chosen
[ { "from": "system", "value": "Fix Dictionary type to be more useful\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace compiler.middleend.ir\n{\n class ParseResult\n {\n ...
c#
chosen
[ { "from": "system", "value": "Fix fat-finger made before the previous commit\n" }, { "from": "human", "value": "namespace SimpleOrderRouting.Journey1\n{\n public class ExecutionState\n {\n public ExecutionState(InvestorInstruction investorInstruction)\n {\n this.Qu...
c#
chosen
[ { "from": "system", "value": "Fix random power use when cooldown\n" }, { "from": "human", "value": "using UnityEngine;\nusing System.Collections;\nusing System.Collections.Generic;\n\npublic class PowerRandom : BaseSpecialPower {\n\n [SerializeField] private List<BaseSpecialPower> powers;\n ...
c#
chosen
[ { "from": "system", "value": "Improve ToString when Id is null\n" }, { "from": "human", "value": "using System.Collections.Generic;\nusing System.Xml.Linq;\nusing JetBrains.Annotations;\n\nnamespace Dasher.Schemata\n{\n public interface IWriteSchema\n {\n /// <summary>\n /// ...
c#
chosen
[ { "from": "system", "value": "Support full range of comparison operators instead of IndexOf\n" }, { "from": "human", "value": "namespace Sitecore.SharedSource.MobileDeviceDetector.Rules.Conditions\n{\n using System;\n using System.Web;\n using Sitecore.Diagnostics;\n using Sitecore.Rules;\n...
c#
chosen
[ { "from": "system", "value": "Revert \"Rewrite folder write permission check to hopefully make it more reliable\"\n\nThis reverts commit 1f9db3bda6a457f019c301208e9fa3bf4f5197fb.\n" }, { "from": "human", "value": "using System.Diagnostics;\nusing System.IO;\nusing System.Security.AccessControl;...
c#
chosen
[ { "from": "system", "value": "Fix typo in OnboardingRead and add SettlementsRead\n\n" }, { "from": "human", "value": "namespace Mollie.Api.Models.Connect {\n public static class AppPermissions {\n public const string PaymentsRead = \"payments.read\";\n public const string Payme...
c#
chosen
[ { "from": "system", "value": "Add warning message to ensure user is running the Azure Emulator\n" }, { "from": "human", "value": "namespace Endjin.Cancelable.Demo\n{\n #region Using Directives\n\n using System;\n using System.Threading;\n using System.Threading.Tasks;\n\n using E...
c#
chosen
[ { "from": "system", "value": "Add input param. logger and get test string from cmd line\n" }, { "from": "human", "value": "// Copyright (c) .NET Foundation. All rights reserved.\n// Licensed under the MIT License. See License.txt in the project root for license information.\n\nusing System;\nus...
c#
chosen
[ { "from": "system", "value": "Tweak skybox rotation direction and speed\n" }, { "from": "human", "value": "/*\n** Project ShiftDrive\n** (C) Mika Molenkamp, 2016.\n*/\n\nusing Microsoft.Xna.Framework;\nusing Microsoft.Xna.Framework.Graphics;\n\nnamespace ShiftDrive {\n\n /// <summary>\n /...
c#
chosen
[ { "from": "system", "value": "Update nullable annotations in Experiments folder\n" }, { "from": "human", "value": "// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Foundation licenses this file to you under the MIT license.\n// See the LICENSE file in the project ro...
c#
chosen
[ { "from": "system", "value": "Throw a CommandException if no hostname is specified\n" }, { "from": "human", "value": "using System;\n\nnamespace AppHarbor.Commands\n{\n\tpublic class AddHostnameCommand : ICommand\n\t{\n\t\tprivate readonly IApplicationConfiguration _applicationConfiguration;\n\...
c#
chosen
[ { "from": "system", "value": "Fix potential crash in tests when attempting to lookup key bindings in cases the lookup is not available\n" }, { "from": "human", "value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root...
c#
chosen
[ { "from": "system", "value": "Fix for wrong keys when using python binding\n" }, { "from": "human", "value": "namespace Winium.Desktop.Driver.CommandExecutors\n{\n internal class SendKeysToElementExecutor : CommandExecutorBase\n {\n #region Methods\n\n protected override str...
c#
chosen
[ { "from": "system", "value": "Update RobotName name test to be more restrictive\n\nPreviously the tests would not catch invalid robot names such as AB1234, or ABC123 because the regex did not have start or end anchors specified. This commit updates the regex so that those names are no longer accepted by the...
c#
chosen
[ { "from": "system", "value": "Fix bug in album gain calculation.\n" }, { "from": "human", "value": "using System;\nusing System.Linq;\n\nnamespace NReplayGain\n{\n /// <summary>\n /// Contains ReplayGain data for an album.\n /// </summary>\n public class AlbumGain\n {\n pr...
c#
chosen
[ { "from": "system", "value": "Fix route matching for typed-in urls\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Reflection;\nusing System.Text;\nusing System.Threading.Tasks;\nusing System.Web;\nusing System.Web.Routing;\n...
c#
chosen
[ { "from": "system", "value": "Add a constructor that only requires messages.\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing System.Linq;\n\nnamespace Qowaiv.ComponentModel\n{\n /// <summary>Represents a...
c#
chosen
[ { "from": "system", "value": "Update break colour to not look like kiai time\n" }, { "from": "human", "value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing osu.Framework.Allocation;...
c#
chosen
[ { "from": "system", "value": "Allow the static property to be protected\n\n\ngit-svn-id: d0def854dd7af056e86ca9c2262ea22710193966@122 72444466-9f5c-4d9b-9c6f-db583910f96c\n" }, { "from": "human", "value": "using System;\r\nusing System.Linq;\r\nusing Cqrs.Configuration;\r\nusing Ninject;\r\nusi...
c#
chosen
[ { "from": "system", "value": "Add NOINDEX to error pages\n\nAdd NOINDEX for robots to error pages.\n" }, { "from": "human", "value": "@model int?\n@{\n ViewBag.Title = \"Error\";\n ViewBag.Message = ViewBag.Message ?? \"An error occurred while processing your request.\";\n}\n<h1 class=\"t...
c#
chosen
[ { "from": "system", "value": "Select user preferred ruleset on overlay ruleset selectors initially\n" }, { "from": "human", "value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing os...
c#
chosen
[ { "from": "system", "value": "Remove no longer necessary comment\n" }, { "from": "human", "value": "// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.\n// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE\n\nusing System.Collections.Generi...
c#
chosen
[ { "from": "system", "value": "Document a promise to reintroduce the DocumentText get\n" }, { "from": "human", "value": "// Copyright (c) 2014 SIL International\n// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)\nusing System;\nusing System.Windows.Forms;\n\...
c#
chosen
[ { "from": "system", "value": "Test coverage for viewing a simple type member conversion in a mapping plan\n" }, { "from": "human", "value": "namespace AgileObjects.AgileMapper.UnitTests\n{\n using System.Collections.Generic;\n using Shouldly;\n using TestClasses;\n using Xunit;\n\n ...
c#
chosen
[ { "from": "system", "value": "Refactor to make steps of protocol clearer\n" }, { "from": "human", "value": "using System;\n\nnamespace BitCommitment\n{\n /// <summary>\n /// A class to perform bit commitment. It does not care what the input is; it's just a \n /// facility for exchangin...
c#
chosen
[ { "from": "system", "value": "Implement IParser on method syntax builder.\n" }, { "from": "human", "value": "using System.Dynamic;\n\nusing BobTheBuilder.ArgumentStore;\n\nnamespace BobTheBuilder.Syntax\n{\n public class DynamicBuilder<T> : DynamicBuilderBase<T> where T: class\n {\n ...
c#
chosen
[ { "from": "system", "value": "Make send try policy more aggressive\n\nA slow consumer would block the sending thread for 6s\n(1+5 retries * 1000ms) before being marked as down, which prevents other\npeers from receiving messages, the new setting is more aggressive\n(300ms).\n" }, { "from": "human", ...
c#
chosen
[ { "from": "system", "value": "Add missing dependencies for behaviour screen test\n" }, { "from": "human", "value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing osu.Framework.Screens...
c#
chosen
[ { "from": "system", "value": "Fix popups for Google & Apple sign-in\n" }, { "from": "human", "value": "using CefSharp;\nusing CefSharp.Handler;\nusing TweetDuck.Controls;\nusing TweetDuck.Utils;\n\nnamespace TweetDuck.Browser.Handling.General {\n\tsealed class CustomLifeSpanHandler : LifeSpanHa...
c#
chosen
[ { "from": "system", "value": "Reword slightly, to allow better conformity with `IDistanceSnapProvider`\n" }, { "from": "human", "value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing...
c#
chosen
[ { "from": "system", "value": "Remove use of obsolete property.\n" }, { "from": "human", "value": "using System;\nusing Faithlife.Build;\n\ninternal static class Build\n{\n\tpublic static int Main(string[] args) => BuildRunner.Execute(args, build =>\n\t{\n\t\tbuild.AddDotNetTargets(\n\t\t\tnew Do...
c#
chosen
[ { "from": "system", "value": "Set auto-incrementing file version, starting with 0.1, since we're at alpha stage\n" }, { "from": "human", "value": "using System.Resources;\r\nusing System.Reflection;\r\nusing System.Runtime.CompilerServices;\r\nusing System.Runtime.InteropServices;\r\n\r\n// Gen...
c#
chosen
[ { "from": "system", "value": "Fix fault with subcommand server attribute\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing FreecraftCore.Serializer;\nusi...
c#
chosen
[ { "from": "system", "value": "Add administrator user by default\n" }, { "from": "human", "value": "using System.Linq;\nusing Microsoft.EntityFrameworkCore.Infrastructure;\nusing Microsoft.EntityFrameworkCore.Migrations;\nusing Diploms.Core;\n\nnamespace Diploms.DataLayer\n{\n public static cl...
c#
chosen
[ { "from": "system", "value": "Use full path to source folder\n" }, { "from": "human", "value": "using System;\nusing System.Diagnostics;\nusing System.IO;\nusing System.Linq;\nusing System.Xml.Linq;\nusing Microsoft.Web.Deployment;\n\nnamespace WAWSDeploy\n{\n public class WebDeployHelper\n ...
c#
chosen
[ { "from": "system", "value": "Allow access to standalone queue storage\n" }, { "from": "human", "value": "using System;\nusing System.IO;\nusing System.Linq;\n\nnamespace LightBlue.Standalone\n{\n public class StandaloneAzureStorage : IAzureStorage\n {\n public const string Develop...
c#
chosen
[ { "from": "system", "value": "Add failing test for get paused trigger groups\n" }, { "from": "human", "value": "using System;\nusing Quartz.Simpl;\nusing Quartz.Spi;\n\nnamespace Quartz.DynamoDB.Tests\n{\n public class TriggerGroupGetTests\n {\n IJobStore _sut;\n\n public Tr...
c#
chosen
[ { "from": "system", "value": "Hide the form in the taskbar\n" }, { "from": "human", "value": "using System;\nusing System.Drawing;\nusing System.Windows.Forms;\n\nnamespace vuwall_motion {\n public partial class TransparentForm : Form {\n public TransparentForm() {\n Initia...
c#
chosen
[ { "from": "system", "value": "GetRootDseInfo: Add \"+\" to attributes to fetch since ApacheDS doesn't return all on * and AD doesn't return anything on +\n" }, { "from": "human", "value": "namespace Novell.Directory.Ldap\n{\n /// <summary>\n /// Extension Methods for <see cref=\"ILdapConn...
c#
chosen
[ { "from": "system", "value": "Update the 'name' field description\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace Eco\n{ \n /// <summary>\n /// Eco configuration library...
c#
chosen
[ { "from": "system", "value": "Deal with case of removing a Subscription that has been previously removed (06624d)\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace Adaptive.Aeron\n{\n internal class ActiveSubscriptions : IDis...
c#
chosen