conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Fix mouse position in game view\n"
},
{
"from": "human",
"value": "using System.Numerics;\nusing ImGuiNET;\n\nnamespace OpenSage.Viewer.UI.Views\n{\n internal abstract class GameView : AssetView\n {\n private readonly AssetViewContext _context;\n\n ... | c# | chosen |
[
{
"from": "system",
"value": "Update model for transaction to not need the person id as it will get set from the jwt later\n"
},
{
"from": "human",
"value": "using MoneyEntry.DataAccess.EFCore.Expenses.Models;\nusing System;\nusing System.Collections.Generic;\nusing System.ComponentModel.DataAn... | c# | chosen |
[
{
"from": "system",
"value": "Change model reference with old namespace to new\n"
},
{
"from": "human",
"value": "@model IEnumerable<Oogstplanner.Models.Crop>\n\n@{\n ViewBag.Title = \"Gewassen\";\n}\n<div id=\"top\"></div>\n\n<div id=\"yearCalendar\">\n<h1>Dit zijn de gewassen in onze datab... | c# | chosen |
[
{
"from": "system",
"value": "Fix last bug in parameters\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace WienerLinien.Api.Routing\n{\n public sta... | c# | chosen |
[
{
"from": "system",
"value": "Fix the possibility of a NullReferenceException\n"
},
{
"from": "human",
"value": "using System;\nusing System.ComponentModel;\nusing System.Runtime.CompilerServices;\n\nnamespace GUtils.MVVM\n{\n /// <summary>\n /// Implements a few utility functions for a V... | c# | chosen |
[
{
"from": "system",
"value": "Update copyright year span to include 2014. This change was generated by the build script.\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.InteropServices;\n\n[assembly: ComVisible(false)]\n[assembly: AssemblyProduct(\"Fixie\")]\n[... | c# | chosen |
[
{
"from": "system",
"value": "Add address permission constants for permissions card\n"
},
{
"from": "human",
"value": "using System;\nnamespace Alexa.NET.Response\n{\n public static class RequestedPermission\n {\n public const string ReadHouseholdList = \"read::alexa:household:lis... | c# | chosen |
[
{
"from": "system",
"value": "Fix probing for git on non-Windows machines\n\nThis fixes #2. It's not perfect, but it seems like a good first stab.\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing System.Linq;\n\nusing LibGit2Sharp;\n\nnamespace GitIStage\n{\n interna... | c# | chosen |
[
{
"from": "system",
"value": "Fix overlined participants test scene not working\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 NUnit.Framework;\nusin... | c# | chosen |
[
{
"from": "system",
"value": "Implement mouse drag event as IObservable\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing System.Windows;\nusing System.Windows.Controls;\nusing System... | c# | chosen |
[
{
"from": "system",
"value": "Make sample app more helpful\n"
},
{
"from": "human",
"value": "\nusing System;\nusing System.Collections.Generic;\nusing System.Text;\nusing System.Windows.Forms;\nusing Abstractspoon.Tdl.PluginHelpers;\n\nnamespace SampleImpExp\n{\n public class SampleImpExpCo... | c# | chosen |
[
{
"from": "system",
"value": "Make transaction roll back per default until we figure out what to do\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Runtime.InteropServices;\nusing System.Text;\n\nnamespace RealmNet\n{\n public class Transacti... | c# | chosen |
[
{
"from": "system",
"value": "Remove obsolete delivery model names\n\n"
},
{
"from": "human",
"value": "using System;\nusing System.Text.Json.Serialization;\n\nnamespace SFA.DAS.CommitmentsV2.Types\n{\n [JsonConverter(typeof(JsonStringEnumConverter))]\n public enum DeliveryModel : byte\n ... | c# | chosen |
[
{
"from": "system",
"value": "Change AssemblyCompany to .NET Foundation\n"
},
{
"from": "human",
"value": "using System;\nusing System.Reflection;\nusing System.Runtime.InteropServices;\n\n[assembly: AssemblyCompany(\"Outercurve Foundation\")]\n[assembly: AssemblyTrademark(\"\")]\n[assembly: As... | c# | chosen |
[
{
"from": "system",
"value": "Remove trailing spaces from <br>\n"
},
{
"from": "human",
"value": "\nusing System;\n\nusing HtmlAgilityPack;\n\nnamespace ReverseMarkdown.Converters\n{\n\tpublic class Br\n\t\t: ConverterBase\n\t{\n\t\tpublic Br(Converter converter)\n\t\t\t: base(converter)\n\t\t{... | c# | chosen |
[
{
"from": "system",
"value": "Use existing extension method to get default value for a type.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Reflection;\nusing System.Runtime.Remoting.Messaging;\nusing System.Runtime.Remoting.Proxies;\n\nnamespace Unit.Tests\n{\n\t/// <summary>\n... | c# | chosen |
[
{
"from": "system",
"value": "Support ReturnUrl to public pages\n"
},
{
"from": "human",
"value": "<div class=\"user-display\">\n @if (!User.Identity.IsAuthenticated)\n {\n <span class=\"welcome\"><a href=\"@Url.LogOn()\">Log On</a></span>\n <a href=\"@Url.Action(MVC.Users.R... | c# | chosen |
[
{
"from": "system",
"value": "Set system timer resolution for the sleep call in the wait loop\n"
},
{
"from": "human",
"value": "using System;\nusing System.Windows.Forms;\n\nnamespace elbsms_ui\n{\n static class Program\n {\n /// <summary>\n /// The main entry point for the... | c# | chosen |
[
{
"from": "system",
"value": "Set Magenta as a default color for shapes\n"
},
{
"from": "human",
"value": "using Urho.Resources;\n\nnamespace Urho.Shapes\n{\n\tpublic abstract class Shape : StaticModel\n\t{\n\t\tMaterial material;\n\n\t\tpublic override void OnAttachedToNode(Node node)\n\t\t{\n... | c# | chosen |
[
{
"from": "system",
"value": "Add ResolveByName attribute to TargetTextBlock property\n"
},
{
"from": "human",
"value": "using Avalonia.Controls;\nusing Avalonia.Input;\nusing Avalonia.Xaml.Interactivity;\n\nnamespace Avalonia.Xaml.Interactions.Custom;\n\n/// <summary>\n/// A behavior that disp... | c# | chosen |
[
{
"from": "system",
"value": "Update ContentItemDisplay mapper to set IsContainer and IsChildOfListView correctly\n"
},
{
"from": "human",
"value": "using Opten.Umbraco.ListView.Extensions;\nusing System;\nusing System.Linq;\nusing Umbraco.Core;\nusing Umbraco.Web.Trees;\n\nnamespace ClassLibra... | c# | chosen |
[
{
"from": "system",
"value": "Remove reference to statistic manager from timerdecorator.\n"
},
{
"from": "human",
"value": "namespace Moya.Runner.Runners\n{\n using System.Diagnostics;\n using System.Reflection;\n using Models;\n using Statistics;\n\n public class TimerDecorator ... | c# | chosen |
[
{
"from": "system",
"value": "Use owinContext.Request.CallCancelled in default page middleware\n"
},
{
"from": "human",
"value": "using System.Threading;\nusing System.Threading.Tasks;\nusing Microsoft.Owin;\nusing Foundation.Api.Contracts;\nusing Foundation.Core.Contracts;\n\nnamespace Foundat... | c# | chosen |
[
{
"from": "system",
"value": "Add MLC and SMC to education levels\n"
},
{
"from": "human",
"value": "using System.ComponentModel.DataAnnotations;\n\nnamespace BatteryCommander.Web.Models\n{\n public enum MilitaryEducationLevel : byte\n {\n Unknown,\n\n [Display(Name = \"(AIT... | c# | chosen |
[
{
"from": "system",
"value": "Add comment that `IModelViewManager::RemoveSectionView` doesn't work and link a forum question\n"
},
{
"from": "human",
"value": "using System;\nusing System.Reactive.Disposables;\nusing SolidWorks.Interop.sldworks;\n\nnamespace SolidworksAddinFramework\n{\n publ... | c# | chosen |
[
{
"from": "system",
"value": "Rename assembly to proper name\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.CompilerServices;\n\n// Information about this assembly is defined by the following attributes.\n// Change them to the values specific to your project.\... | c# | chosen |
[
{
"from": "system",
"value": "Define extension method over IDefinition\n\nWe can currently only answer those questions for a type member, but not\nfor types and namespaces.\n"
},
{
"from": "human",
"value": "using Microsoft.Cci;\nusing Microsoft.Cci.Extensions;\n\nnamespace Terrajobst.Cci\n{\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix incorrect array pool usage\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 System;\nusing System.Buffers;\nusing osu... | c# | chosen |
[
{
"from": "system",
"value": "Raise serialization complete async, as it can take like 15 seconds\n"
},
{
"from": "human",
"value": "using System.Linq;\nusing Sitecore.Configuration;\nusing Sitecore.Data;\nusing Sitecore.Data.Serialization;\nusing Sitecore.Diagnostics;\nusing Sitecore.Eventing;\... | c# | chosen |
[
{
"from": "system",
"value": "Rename acceptance test with proper underscores.\n"
},
{
"from": "human",
"value": "namespace PastaPricer.Tests.Acceptance\n{\n using NSubstitute;\n\n using NUnit.Framework;\n\n [TestFixture]\n public class PastaPricerAcceptanceTests\n {\n [Test... | c# | chosen |
[
{
"from": "system",
"value": "Add enumerated ports to the list of serial ports, this currently causes duplicates but meh.\n"
},
{
"from": "human",
"value": "\nusing System;\nusing System.Collections.Generic;\n\nnamespace LazerTagHostLibrary\n{\n\n\n public class LazerTagSerial\n {\n\n ... | c# | chosen |
[
{
"from": "system",
"value": "Update OData assembly version to 5.4.0.0\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.\n\nusing System;\nusing System.Reflection;\nusing System... | c# | chosen |
[
{
"from": "system",
"value": "Check native registry view for Windows version\n\nThis fixes Coverity CID 171806\n\nOn Windows the CurrentVersion key is only present in the native view\nof the registry, so a 32-bit application checking the\nwindows version on 64-bit Windows needs to check the 64-bit registry\... | c# | chosen |
[
{
"from": "system",
"value": "Improve user question when node conflict is not auto-resolved\n"
},
{
"from": "human",
"value": "using System;\nusing System.Xml.Linq;\n\nnamespace Project {\n public abstract class Item: IEquatable<Item>, IConflictableItem {\n\n public abstract override int Get... | c# | chosen |
[
{
"from": "system",
"value": "Use a fixed size buffer rather than marshalling\n"
},
{
"from": "human",
"value": "/* Copyright © 2018 Jeremy Herbison\n\nThis file is part of AudioWorks.\n\nAudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero Gen... | c# | chosen |
[
{
"from": "system",
"value": "Increase project version number to 0.9.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\")]\r\n[assembly: Assembly... | c# | chosen |
[
{
"from": "system",
"value": "Add more languages to settings dropdown\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 System.ComponentModel;\n\nnamesp... | c# | chosen |
[
{
"from": "system",
"value": "Fix SSL/TLS exception during application startup\n"
},
{
"from": "human",
"value": "using System;\nusing System.Threading.Tasks;\nusing Octokit;\n\nnamespace MangaRipper.Helpers\n{\n public class UpdateNotification\n {\n public static async Task<string... | c# | chosen |
[
{
"from": "system",
"value": "Use LINQ to sort results.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Data;\nusing System.Drawing;\nusing System.Text;\nusing System.Windows.Forms;\nusing ProjectTracker.Library;\n\n... | c# | chosen |
[
{
"from": "system",
"value": "Add implementation for authorization serialization example.\n"
},
{
"from": "human",
"value": "namespace TraktSerializeAuthorizationExample\n{\n class Program\n {\n static void Main(string[] args)\n {\n\n }\n }\n}\n"
},
{
"from... | c# | chosen |
[
{
"from": "system",
"value": "Update assembly version to 1.2 to match the version set in Microsoft.Web.Xdt package.\n"
},
{
"from": "human",
"value": "using System.Reflection;\n\n[assembly: AssemblyConfiguration(\"\")]\n[assembly: AssemblyCompany(\"Microsoft Corporation\")]\n[assembly: Assembly... | c# | chosen |
[
{
"from": "system",
"value": "Add support on fetching Uri with local filepath like \"file:///C:/website/style.css\"\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing System.Net;\nusing System.Text;\n\nnamespace PreMailer.Net.Downloaders\n{\n\tpublic class WebDownloader : ... | c# | chosen |
[
{
"from": "system",
"value": "Improve test / code coverage of System.ComponentModel\n\nTrivial fix to improve the coverage of System.ComponentModel, which only contains one concrete type in the form of CancelEventArgs.\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft. All rights res... | c# | chosen |
[
{
"from": "system",
"value": "Move namespace Microsoft.AspNetCore.Routing -> Microsoft.AspNetCore.Builder\n\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Reflection;\nusing System.Text;\nusing MagicOnion.Server.Glue;\nusing Microsoft.AspNetCore... | c# | chosen |
[
{
"from": "system",
"value": "Fix iOS nullref on orientation change\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 System;\nusing CoreGraphics;\nusi... | c# | chosen |
[
{
"from": "system",
"value": "Set MasterReqRuntime to discover types\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing Microsoft.Framework.DependencyInjection;\n\nnamespace Glimpse.Web\n{\n public class MasterRequestRuntime\n {\n private rea... | c# | chosen |
[
{
"from": "system",
"value": "Fix AmbiguousMatchException in multiple indexers, make getters and setters invocation consistent\n\nIf class has more than 1 public indexers, IndexDescriptor ctor throws\nAmbiguousMatchException.\nIf class has a public getter, and another public setter, its handled\ninconsisten... | c# | chosen |
[
{
"from": "system",
"value": "Fix - Notifica cancellazione utente\n"
},
{
"from": "human",
"value": "using Microsoft.AspNetCore.SignalR;\nusing SO115App.Models.Servizi.CQRS.Commands.GestioneUtenti.CancellazioneUtente;\nusing SO115App.Models.Servizi.Infrastruttura.GestioneUtenti.GetUtenti;\nusin... | c# | chosen |
[
{
"from": "system",
"value": "Add exception for usage of `.Result` within `.ContinueWith` continuations\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\nusin... | c# | chosen |
[
{
"from": "system",
"value": "Fix slider velocity not being applied.\n"
},
{
"from": "human",
"value": "//Copyright (c) 2007-2016 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 System.Collections.Generic;\... | c# | chosen |
[
{
"from": "system",
"value": "Check if logger is null and throw\n\nPart of feedback for #1002\n"
},
{
"from": "human",
"value": "using Serilog.Events;\n\nnamespace Serilog\n{\n /// <summary>\n /// Extension method 'ForContext' for ILogger.\n /// </summary>\n public static class ForC... | c# | chosen |
[
{
"from": "system",
"value": "Increase the maximum time we wait for long running tests from 5 to 10.\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Threading;\r\nusing NUnit.Framework;\r\n\r\nnamespace JustSaying.TestingFramework\r\n{\r\n public static class Patiently\r\n ... | c# | chosen |
[
{
"from": "system",
"value": "Improve responses from pdf controller\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Linq;\nusing Microsoft.AspNetCore.Mvc;\nusing PdfAutofill.Model;\nusing PdfAutofill.Service;\nusing PdfAutofill.Service.Impl;\n\nnamespace PdfAu... | c# | chosen |
[
{
"from": "system",
"value": "Remove cursor color type for now\n"
},
{
"from": "human",
"value": "namespace BigEgg.Tools.PowerMode.Settings\n{\n public enum ParticlesColorType\n {\n Cursor,\n Random,\n Fixed\n }\n}\n"
},
{
"from": "gpt",
"value": "name... | c# | chosen |
[
{
"from": "system",
"value": "Add method to unescape string.\n"
},
{
"from": "human",
"value": "using dotless.Infrastructure;\n\nnamespace dotless.Tree\n{\n public class Quoted : Node\n {\n public string Value { get; set; }\n public string Contents { get; set; }\n\n public Quoted(str... | c# | chosen |
[
{
"from": "system",
"value": "Revert visibility change and add null check\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 System;\nusing System.IO;\n... | c# | chosen |
[
{
"from": "system",
"value": "Use notification instead of debug to allow testing outside of editor\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing UnityEngine.UI;\nusing System.Collections;\n\npublic class LoadTest : MonoBehaviour\n{\n\tpublic void SignInButtonClicked()\n\t{\n\t\tG... | c# | chosen |
[
{
"from": "system",
"value": "Add comments for none generic generator\n\n\nFormer-commit-id: 33025974571043731929fbe9f947010ea503d6a5"
},
{
"from": "human",
"value": "namespace GeneratorAPI {\n /// <summary>\n /// Represents a generic generator which can generate any ammount of elemen... | c# | chosen |
[
{
"from": "system",
"value": "Set velocity and forward vector when resetting ball position\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\nusing UnityEngine.Networking;\n\npublic class Ball : NetworkBehaviour {\n... | c# | chosen |
[
{
"from": "system",
"value": "Update b/c of new dockpanel\n\ngit-svn-id: c7824798988443d6e8397993074642516d192594@98 8d6e282c-8220-11de-b77e-d9b456c0130a\n"
},
{
"from": "human",
"value": "namespace SuperPutty\r\n{\r\n partial class ToolWindow\r\n {\r\n /// <summary>\r\n ///... | c# | chosen |
[
{
"from": "system",
"value": "Create object fields for save directory and image type\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Data;\nusing System.Drawing;\nusing System.Drawing.Imaging;\nusing System.Linq;\nu... | c# | chosen |
[
{
"from": "system",
"value": "Update website URI to root domain\n\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.ServiceModel.Syndication;\nusing System.Web;\nusing Firehose.Web.Infrastructure;\n\npublic class MattBobke : IAm... | c# | chosen |
[
{
"from": "system",
"value": "Remove Category link in menu\n\n"
},
{
"from": "human",
"value": "<li>@Html.ActionLink(\"Courses\", \"Index\", \"Race\")</li>\n<li>@Html.ActionLink(\"Catégories\", \"Index\", \"Category\")</li>\n\n@if (User.IsInRole(\"Administrateur\"))\n{\n <li>@Html.ActionLink... | c# | chosen |
[
{
"from": "system",
"value": "Disable ConsoleLogAdapter in test output\n"
},
{
"from": "human",
"value": "using System;\nusing GitHub.Unity;\nusing NUnit.Framework;\n\nnamespace IntegrationTests\n{\n [SetUpFixture]\n public class SetUpFixture\n {\n [SetUp]\n public void Se... | c# | chosen |
[
{
"from": "system",
"value": "Move hardcoded values into static fields\n\n- Slightly changes the output, no longer prints\n \"1 million\" and instead prints \"1000000\", etc.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace Si... | c# | chosen |
[
{
"from": "system",
"value": "Add SupportedInterface strings to allow discovery. Including VideoApp for new directive.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\n\nnamespace Alexa.NET.Request\n{\n pu... | c# | chosen |
[
{
"from": "system",
"value": "Fix test for 64-bit platforms\n\nObject type in structs apparently must be 8 byte aligned.\n\nFixes #23986\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... | c# | chosen |
[
{
"from": "system",
"value": "Check for Fixie library reference\n"
},
{
"from": "human",
"value": "using System;\n\nusing JetBrains.Application;\nusing JetBrains.ReSharper.Psi;\nusing JetBrains.ReSharper.Psi.Tree;\nusing JetBrains.ReSharper.UnitTestFramework;\n\nnamespace ReSharperFixieRunner.U... | c# | chosen |
[
{
"from": "system",
"value": "Switch to the memory repository\n"
},
{
"from": "human",
"value": "using Bootstrap.StructureMap;\nusing Manufacturing.DataCollector.Datasources.Simulation;\nusing StructureMap;\nusing StructureMap.Configuration.DSL;\nusing StructureMap.Graph;\nusing StructureMap.Pi... | c# | chosen |
[
{
"from": "system",
"value": "Check early for commit on current branch\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing GitVersion.Common;\nusing LibGit2Sharp;\n\nnamespace GitVersion.VersionCalculation\n{\n /// <summary>\n /// Version is 0.1.0.\n ... | c# | chosen |
[
{
"from": "system",
"value": "Remove all network operation codes\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Text;\n\nnamespace Rs317.Extended\n{\n\t/// <summary>\n\t/// Operation codes for the RS317 packets.\n\t/// </summary>\n\tpublic enum... | c# | chosen |
[
{
"from": "system",
"value": "Make the constraint on RestfulHttpMethodConstraint, so the match will work.\n"
},
{
"from": "human",
"value": "using System.Web.Routing;\n\nnamespace RestfulRouting\n{\n\tpublic abstract class Mapper\n\t{\n\t\tprivate readonly IRouteHandler _routeHandler;\n\n\t\tpr... | c# | chosen |
[
{
"from": "system",
"value": "Replace string queries with GUID for DummyAlembic.abc\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing NUnit.Framework;\nusing UnityEngine;\nusing UnityEngine.Formats.Alembic.Importer;\n... | c# | chosen |
[
{
"from": "system",
"value": "Return if input is null or empty\n"
},
{
"from": "human",
"value": "using System;\nusing System.Text.RegularExpressions;\n\nnamespace InternetSeparationAdapter\n{\n public static class UtilsExtension\n {\n // http://stackoverflow.com/a/33113820\n public sta... | c# | chosen |
[
{
"from": "system",
"value": "Change wrong values used to form target URL\n\nDumb mistake by me, C# used ToString() on these objects.\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": " Add more unit tests for ToPersianNumbers and ToEnglishNumbers.\n"
},
{
"from": "human",
"value": "using Microsoft.VisualStudio.TestTools.UnitTesting;\n\nnamespace DNTPersianUtils.Core.Tests\n{\n [TestClass]\n public class PersianNumbersUtilsTests\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Switch RequestProfiler consumers over to using provider\n"
},
{
"from": "human",
"value": "using Glimpse.Web;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\n\nnamespace Glimpse.Agent.Web\n{\n public class Ma... | c# | chosen |
[
{
"from": "system",
"value": "Update title attributes for sign-in partial\n\nUpdate the title attribute for the sign-in partial to match the text\nused elsewhere.\n"
},
{
"from": "human",
"value": "@inject SiteOptions Options\n@inject Microsoft.AspNetCore.Identity.SignInManager<LondonTravelUser... | c# | chosen |
[
{
"from": "system",
"value": "Change \"Weather\" \"Font Size\" default value\n"
},
{
"from": "human",
"value": "using System;\nusing System.ComponentModel;\nusing DesktopWidgets.WidgetBase.Settings;\n\nnamespace DesktopWidgets.Widgets.Weather\n{\n public class Settings : WidgetSettingsBase\n... | c# | chosen |
[
{
"from": "system",
"value": "[6] Add ticker and period information to partial candle tokenizer\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace Finance\n{\n public class Pa... | c# | chosen |
[
{
"from": "system",
"value": "Fix cookie middleware name for interop package\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.\n// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information... | c# | chosen |
[
{
"from": "system",
"value": "Fix assembly name in Client.net40\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the following \n// set of ... | c# | chosen |
[
{
"from": "system",
"value": "Fix wrong uper case for relations to follow iana.org\n"
},
{
"from": "human",
"value": "namespace Hypermedia.Relations\n{\n /// <summary>\n /// Collection of basic relations commonly used.\n /// For a comprehensive list <see href=\"https://www.iana.org/ass... | c# | chosen |
[
{
"from": "system",
"value": "Use intValue instead of enumValueIndex\n\nCo-Authored-By: Kurtis <0f4329280cfdc62414626664b70b9a99adb2a291@users.noreply.github.com>\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nusing UnityEditor;... | c# | chosen |
[
{
"from": "system",
"value": "Disable hanging OSX NetworkInformation test\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 root for ... | c# | chosen |
[
{
"from": "system",
"value": "Add other rollbar client tests\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json;\nusing Xunit;\n\nnamespace Rollbar.Test {\n public class RollbarClientFixture {\n private readonly RollbarClient _rollbarClient;\n\n public RollbarClientFixtur... | c# | chosen |
[
{
"from": "system",
"value": "Remove length object from all JSON messages\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing Newtonsoft.Json;\n\nnamespace BmpListener.Bgp\n{\n public abstract class BgpMessage\n {\n protected BgpMessage(ref ArraySegment<byte... | c# | chosen |
[
{
"from": "system",
"value": "Make StateChanged action more verbose in its arguments.\n"
},
{
"from": "human",
"value": "// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.\r\n// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE\r\n\r\nusin... | c# | chosen |
[
{
"from": "system",
"value": "Test for checking Fork update\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.UI;\nusing System.Web.UI.WebControls;\n\nnamespace MailTest\n{\n public partial class LogOu... | c# | chosen |
[
{
"from": "system",
"value": "Fix bools not being parsed correctly from config (case sensitivity).\n"
},
{
"from": "human",
"value": "// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.\r\n// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENC... | c# | chosen |
[
{
"from": "system",
"value": "Update TestCaseActiveState to cover Window.CursorInWindow state\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.Fram... | c# | chosen |
[
{
"from": "system",
"value": "Add comment about Exclusive tracks.\n"
},
{
"from": "human",
"value": "// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.\r\n// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE\r\n\r\nusing System;\r\nusing S... | c# | chosen |
[
{
"from": "system",
"value": "Make tests for delete collection methods.\n"
},
{
"from": "human",
"value": "using System;\r\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\r\n\r\nnamespace Arango.Test\r\n{\r\n [TestClass]\r\n public class CollectionTests\r\n {\r\n [TestMetho... | c# | chosen |
[
{
"from": "system",
"value": "Fix error when items had invariant language versions (versions compared could be incorrectly the default language instead of the invariant language)\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing Sitecore.Data.Managers;\nusing Sitecore.... | c# | chosen |
[
{
"from": "system",
"value": "Add DetailedErrorPolicy in global configuration\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.Http;\nusing System.Web.Mvc;\nusing System.Web.Optimization;\nusing System.W... | c# | chosen |
[
{
"from": "system",
"value": "Build SMA with version 0.0.0.0\n\nBecause the monad code expects this version on Linux for all PowerShell\nassemblies. This should be changed back once they all build with 3.0.0.0.\n"
},
{
"from": "human",
"value": "using System.Runtime.CompilerServices;\nusing Syst... | c# | chosen |
[
{
"from": "system",
"value": "Clear scroll does indeed return an empty response\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json;\n\nnamespace Nest\n{\n\tpublic interface IEmptyResponse : IResponse\n\t{\n\t}\n\n\t[JsonObject]\n\t//TODO Only used by clearscroll, does it really not return... | c# | chosen |
[
{
"from": "system",
"value": "Refactor to use linq expression\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing ICSharpCode.SharpZipLib.Tar;\n\nnamespace AppHarbor\n{\n\tpublic static class CompressionExtensions\n\t{\n\t\tpublic st... | c# | chosen |
[
{
"from": "system",
"value": "Update Fun token image URL.\n"
},
{
"from": "human",
"value": "using Discord;\nusing Discord.Commands;\nusing System;\n\nnamespace CoinBot.Discord.Commands\n{\n\tpublic abstract class CommandBase : ModuleBase\n\t{\n\t\tprotected static void AddAuthor(EmbedBuilder b... | c# | chosen |
[
{
"from": "system",
"value": "Select first item by default in \"Select Item\" window\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Collections.ObjectModel;\nusing GalaSoft.MvvmLight;\n\nnamespace DesktopWidgets.WindowViewModels\n{\n public class SelectIte... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.