conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Fix for failing mspec test\n"
},
{
"from": "human",
"value": "using System;\r\nusing Nancy.ErrorHandling;\r\n\r\nnamespace Nancy.Testing\r\n{\r\n public class PassThroughErrorHandler : IErrorHandler\r\n {\r\n public bool HandlesStatusCode(HttpStatusCode... | c# | chosen |
[
{
"from": "system",
"value": "Fix multiple open data readers problem.\n\n"
},
{
"from": "human",
"value": "using FinancesSharp.Models;\nusing System.Collections.Generic;\nusing System.Data.Entity;\nusing System.Linq;\n\nnamespace FinancesSharp.ViewModels\n{\n public class RulesViewModel\n ... | c# | chosen |
[
{
"from": "system",
"value": "Change logic in console application to draw game field on console.!\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Data;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Logic.Engine;\n... | c# | chosen |
[
{
"from": "system",
"value": "Test Passes - We can get and set Items on Program\n"
},
{
"from": "human",
"value": "using Kata.GildedRose.CSharp.Console;\nusing NUnit.Framework;\nusing System.Collections.Generic;\n\nnamespace Kata.GildedRose.CSharp.Unit.Tests\n{\n [TestFixture]\n public cl... | c# | chosen |
[
{
"from": "system",
"value": "Remove unneeded properties from assembly info\n\nThese will now break gitversion\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly i... | c# | chosen |
[
{
"from": "system",
"value": "Fix default connection string for MongoDB\n\n"
},
{
"from": "human",
"value": "namespace InfinniPlatform.DocumentStorage\n{\n /// <summary>\n /// Настройки хранилища документов MongoDB.\n /// </summary>\n public class MongoDocumentStorageOptions\n {\... | c# | chosen |
[
{
"from": "system",
"value": "[Trivial] Fix wrong usage of Task.FromException\n"
},
{
"from": "human",
"value": "using Mono.Options;\nusing System;\nusing System.Collections.Generic;\nusing System.Threading.Tasks;\nusing WalletWasabi.Helpers;\nusing WalletWasabi.Gui.CrashReport;\n\nnamespace Wal... | c# | chosen |
[
{
"from": "system",
"value": "Fix a typo in a code comment, thanks StyleCop!\n"
},
{
"from": "human",
"value": "using System;\nusing OpenQA.Selenium;\n\nnamespace ExampleApp.Test.Functional.Models.ExampleAppPages\n{\n /// <summary>\n /// Modles the Slinqy Example App Homepage.\n /// </... | c# | chosen |
[
{
"from": "system",
"value": "fix: Remove role=navigation on nav tag\n"
},
{
"from": "human",
"value": "\n<div class=\"l-header-container\">\n <nav class=\"skip-to-main-content healthy-skip\" role=\"navigation\" aria-label=\"skip to main content\">\n <a href=\"#content\" tabindex=\"1\... | c# | chosen |
[
{
"from": "system",
"value": "Update server side API for single multiple answer question\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing Promact.Trappist.DomainModel.Models.Question;\nusing System.Linq;\nusing Promact.Trappist.DomainModel.DbContext;\n\nnamespace Prom... | c# | chosen |
[
{
"from": "system",
"value": "Remove SuppressMessage where Target doesn't exist\n"
},
{
"from": "human",
"value": "using System.Diagnostics.CodeAnalysis;\n\n[assembly: SuppressMessage(\"Microsoft.Performance\", \"CA1822:MarkMembersAsStatic\", Scope = \"member\", Target = \"GitHub.ViewModels.Crea... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Fill out the assembly metadata because Squirrel will use it\"\n\nThis reverts commit 21dfb37257d2c19ea534af5c291a2827d53071b8.\n"
},
{
"from": "human",
"value": "// -----------------------------------------------------------------------\n// Copyright (c) D... | c# | chosen |
[
{
"from": "system",
"value": "Fix crash on Favourite chooser dialog.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing TramlineFive.ViewModels.Wrappers;\n\nnamespace TramlineFive.View... | c# | chosen |
[
{
"from": "system",
"value": "Add multiple named instances on same type test\n"
},
{
"from": "human",
"value": "using Core;\nusing StructureMap;\nusing System;\nusing Xunit;\n\nnamespace Tests\n{\n public class BasicConfigationTests\n {\n [Fact]\n public void NamedInstance()... | c# | chosen |
[
{
"from": "system",
"value": "Add Sleep(int) and Sleep(TimeSpan) to threading proxy.\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace ItzWarty.Threading {\n public interface IThreadingProxy {\n IThread CreateThread(ThreadEntryPoint entryPoint, ThreadCreationOptions options);... | c# | chosen |
[
{
"from": "system",
"value": "Add missing test method call\n\nCall Hash() in the benchmark test.\n"
},
{
"from": "human",
"value": "// Copyright (c) Martin Costello, 2016. All rights reserved.\n// Licensed under the MIT license. See the LICENSE file in the project root for full license informati... | c# | chosen |
[
{
"from": "system",
"value": "Fix not using correct path to runtime library\n\nFix #14\n"
},
{
"from": "human",
"value": "using dnlib.DotNet;\n\nnamespace Confuser.Core.Services {\n\tinternal class RuntimeService : IRuntimeService {\n\t\tprivate ModuleDef rtModule;\n\n\t\t/// <inheritdoc />\n\t... | c# | chosen |
[
{
"from": "system",
"value": "Change _creationOptions modifier to 'private'\n"
},
{
"from": "human",
"value": "\nusing System;\n\nnamespace Advasoft.CmdArgsTool\n{\n public abstract class OptionsFactoryBase\n {\n protected IOptionsPolicy _creationPolicy;\n private ILogger _l... | c# | chosen |
[
{
"from": "system",
"value": "Set assembly version to 1.2.0.0\n"
},
{
"from": "human",
"value": "using System.Resources;\nusing System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// Allgemeine Informationen über eine Assembly werden über folgend... | c# | chosen |
[
{
"from": "system",
"value": "Fix prices with only 2 decimal places not working.\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json;\nusing Newtonsoft.Json.Linq;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnam... | c# | chosen |
[
{
"from": "system",
"value": "Fix broken create pool test.\n"
},
{
"from": "human",
"value": "using Hyperledger.Indy.PoolApi;\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\nusing System.IO;\nusing System.Threading.Tasks;\n\nnamespace Hyperledger.Indy.Test.PoolTests\n{\n [TestClass]\n ... | c# | chosen |
[
{
"from": "system",
"value": "Use local static to determine score per spinner tick\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.Graph... | c# | chosen |
[
{
"from": "system",
"value": ".Core: Fix FEZ not exiting when FEZMod PreInitialize crashes\n"
},
{
"from": "human",
"value": "using System;\nusing FezGame.Mod;\n\nnamespace FezGame {\n\tpublic class Program {\n\n\t\tpublic static void orig_Main(string[] args) {\n\t\t}\n\n\t\tpublic static void ... | c# | chosen |
[
{
"from": "system",
"value": "Change rule to use delegates, string will move to implemenation detail\n"
},
{
"from": "human",
"value": "namespace Engine\n{\n public class Rule\n {\n public string Matcher;\n public string ValuesDisturbtion;\n }\n}"
},
{
"from": "gpt... | c# | chosen |
[
{
"from": "system",
"value": "Change the method to expression body definition\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\nnamespace SCPI\n{\n public class RAW : ICommand\n {\n public string Descripti... | c# | chosen |
[
{
"from": "system",
"value": "Replace UrlHelperBase with IUrlHelper so it can be used in Views\n"
},
{
"from": "human",
"value": "#if NETCOREAPP\nusing Microsoft.AspNetCore.Http;\nusing Microsoft.AspNetCore.Mvc.Routing;\n\nnamespace SFA.DAS.ProviderUrlHelper.Core\n{\n public static class Pro... | c# | chosen |
[
{
"from": "system",
"value": "Add datasource support for streaming model\n\n"
},
{
"from": "human",
"value": "using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\nusing UnityCNTK;\nusing CNTK;\nusing System;\n\nnamespace UnityCNTK{\n public class StreamingModel<T... | c# | chosen |
[
{
"from": "system",
"value": "Fix bug when a user tries to join an already created multiplayer match\n"
},
{
"from": "human",
"value": "public class ClientNetworkWaitingGui : AbstractNetworkWaitingGui\n{\n\tprivate ClientNetworkEntityWaiting network;\n\tprivate GuiButtonRendererControl[] buttons... | c# | chosen |
[
{
"from": "system",
"value": "Change AppointmentOptimizatinCode from short to int\n"
},
{
"from": "human",
"value": "namespace SnapMD.VirtualCare.ApiModels.Scheduling\n{\n /// <summary>\n /// Appointment optimization code.\n /// </summary>\n public enum AppointmentOptimizationCode :... | c# | chosen |
[
{
"from": "system",
"value": "Fix for first unreliable sequenced message automatically being dropped"
},
{
"from": "human",
"value": "using System;\r\n\r\nnamespace Lidgren.Network\r\n{\r\n\tinternal sealed class NetUnreliableSequencedReceiver : NetReceiverChannelBase\r\n\t{\r\n\t\tprivate int ... | c# | chosen |
[
{
"from": "system",
"value": "Use exception assertion instead of deprecated attribute\n"
},
{
"from": "human",
"value": "using NUnit.Framework;\n\nnamespace HandlebarsDotNet.Test\n{\n [TestFixture]\n public class ExceptionTests\n {\n [Test]\n [ExpectedException(\"Handleba... | c# | chosen |
[
{
"from": "system",
"value": "Return correct error code for missing reserve numbers\n"
},
{
"from": "human",
"value": "using Kentor.PU_Adapter;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Net;\nusing System.Net.Http;\nusing System.Web.Http;\n\nnamespace P... | c# | chosen |
[
{
"from": "system",
"value": "Fix custom culture throws ArgumentException on .NET 3.5 unit tests.\n"
},
{
"from": "human",
"value": "#region -- License Terms --\n//\n// MessagePack for CLI\n//\n// Copyright (C) 2017 FUJIWARA, Yusuke\n//\n// Licensed under the Apache License, Version 2.0 (the ... | c# | chosen |
[
{
"from": "system",
"value": "Fix typo on depot data set.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\nnamespace NFleet.Data\n{\n public class DepotDataSet : IResponseData, IVersioned\n {\n public sta... | c# | chosen |
[
{
"from": "system",
"value": "Add explanatory comment to unclear use of rotation.\n"
},
{
"from": "human",
"value": "//----------------------------------------------------------------------------\r\n// <copyright file=\"RemotePlayerMarker.cs\" company=\"Delft University of Technology\">\r\n// ... | c# | chosen |
[
{
"from": "system",
"value": "Make the Xmas Tree move randomly on its first pattern.\n"
},
{
"from": "human",
"value": "using System;\nusing Microsoft.Xna.Framework;\nusing MonoGame.Extended.Timers;\nusing XmasHell.BulletML;\n\nnamespace XmasHell.Entities.Bosses.XmasTree\n{\n class XmasTreeBe... | c# | chosen |
[
{
"from": "system",
"value": "Fix incorrect current directory that accours on some devices on android.\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": "Implement constructor for Leather Backpack (Lettered)\n"
},
{
"from": "human",
"value": "using SimpleInventory.Examples.Common;\n\nnamespace SimpleInventory.Examples.InventoryLetters\n{\n public class LeatherBackpack : InventoryLetterBag<Item>\n {\n \n... | c# | chosen |
[
{
"from": "system",
"value": "fix(Profiles): Add H1 back into profiles\n"
},
{
"from": "human",
"value": "@using StockportWebapp.Enums\n@using StockportWebapp.Models\n\n@model Profile\n@{\n ViewData[\"Title\"] = Model.Title;\n var articleTitle = Model.Breadcrumbs.LastOrDefault() != null ?... | c# | chosen |
[
{
"from": "system",
"value": "Fix crash when bruiser monster can see player but can't path.\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing Magecrawl.Utilities;\r\n\r\nnamespace Magecrawl.GameEngine.Actors\r\n{\r\n internal class BruiserMonster ... | c# | chosen |
[
{
"from": "system",
"value": "Add Azure Function that updates the system status avg temp\n"
},
{
"from": "human",
"value": "//using Microsoft.Framework.Configuration;\n//using Microsoft.WindowsAzure.Storage;\n//using Microsoft.WindowsAzure.Storage.Table;\n//using System.Threading.Tasks;\n//usin... | c# | chosen |
[
{
"from": "system",
"value": "Fix reflection type handling of out parameters\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Microsoft.CodeAnalysis;\nusing System.Reflection;\n\nnamespace IntelliTect.C... | c# | chosen |
[
{
"from": "system",
"value": "Fix breaks to xml docs\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 System;\nusing System.Collectio... | c# | chosen |
[
{
"from": "system",
"value": "Fix some problem with the find bar accepting input too early\n"
},
{
"from": "human",
"value": "using System.Windows;\nusing UserControl = System.Windows.Controls.UserControl;\n\nnamespace anime_downloader.Views.Components\n{\n /// <summary>\n /// Interaction... | c# | chosen |
[
{
"from": "system",
"value": "Add delay between attempts to contact the server\n\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Net;\nusing System.Net.Http;\nusing System.Threading;\nusing System.Threading.Tasks;\nusing FluentAssertions;\n\nname... | c# | chosen |
[
{
"from": "system",
"value": "Make WindowsPrincipalIsInRoleNeg pass when a domain client is offline\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 fil... | c# | chosen |
[
{
"from": "system",
"value": "Use interface ICommand instead of MvxCommand\n"
},
{
"from": "human",
"value": "using Android.Widget;\nusing Cirrious.MvvmCross.ViewModels;\nusing System;\nusing System.Windows.Input;\n\nnamespace MvvmCrossSpikes.Droid.Bindings\n{\n public class ButtonCommandBind... | c# | chosen |
[
{
"from": "system",
"value": "Change SDK name in NewAnalyzerTemplate\n"
},
{
"from": "human",
"value": "/*This tutorial is going to guide you to write a diagnostic analyzer that enforces the placement of a single space between the if keyword of an if statement and the \nopen parenthesis of the c... | c# | chosen |
[
{
"from": "system",
"value": "Support RelationName as dictionary key\n"
},
{
"from": "human",
"value": "using Utf8Json;\n\nnamespace Nest\n{\n\tinternal class RelationNameFormatter : IJsonFormatter<RelationName>\n\t{\n\t\tpublic RelationName Deserialize(ref JsonReader reader, IJsonFormatterReso... | c# | chosen |
[
{
"from": "system",
"value": "Fix missing newline at the end of a file\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 mor... | c# | chosen |
[
{
"from": "system",
"value": "Initialize to the route handler of ASP.NET MVC\n"
},
{
"from": "human",
"value": "using System.Web.Mvc;\nusing System.Web.Routing;\n\nnamespace RestfulRouting\n{\n\tpublic abstract class Mapper\n\t{\n\t\tprivate readonly IRouteHandler _routeHandler;\n\n\t\tprotecte... | c# | chosen |
[
{
"from": "system",
"value": "Set max concurrent deliveries to 10 in demo.\n"
},
{
"from": "human",
"value": "using System;\nusing Demo.Endpoints.FileSystem;\nusing Demo.Endpoints.Sharepoint;\nusing Verdeler;\n\nnamespace Demo\n{\n internal class Program\n {\n private static void M... | c# | chosen |
[
{
"from": "system",
"value": "Remove milliseconds from date fields in GetLearners Json\n"
},
{
"from": "human",
"value": "using System;\nusing System.Threading.Tasks;\nusing MediatR;\nusing Microsoft.AspNetCore.Mvc;\nusing SFA.DAS.CommitmentsV2.Api.Types.Responses;\nusing SFA.DAS.CommitmentsV2.... | c# | chosen |
[
{
"from": "system",
"value": "Add `HasPriorLearning` to draft DTO\n\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace SFA.DAS.CommitmentsV2.Types.Dtos\n{\n public class DraftApprenticeshipDto\n {\n public long Id { get; set; }\n public string FirstName { get; set... | c# | chosen |
[
{
"from": "system",
"value": "Add basic execute method to parseresult (temp fix, want to add typechecking and specify return type)\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing Jello.Errors;\nusing Jello.Nodes;\n\nnamespace Jello\n{\n public class ParseResult \n... | c# | chosen |
[
{
"from": "system",
"value": "Add missing using directive in quickstart\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Data.Entity;\nusing System.Web.Http;\nusing Microsoft.WindowsAzure.Mobile.Service;\nusing ZUMOAPPNAMEService.DataObjects;\nusing ZUMOAPPNAME... | c# | chosen |
[
{
"from": "system",
"value": "Fix crash when logging in\n\nCrashing due to remove NPCs from view when HUD has not been constructed yet\n"
},
{
"from": "human",
"value": "// Original Work Copyright (c) Ethan Moffat 2014-2016\n// This file is subject to the GPL v2 License\n// For additional detai... | c# | chosen |
[
{
"from": "system",
"value": "Change int count to long count in Dequeue extension method\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Linq;\n\nnamespace DerConverter\n{\n internal static class QueueExtensions\n {\n public static IEnumerable<T> ... | c# | chosen |
[
{
"from": "system",
"value": "Add test case for fetch translation metadata capability when getting locales.\n"
},
{
"from": "human",
"value": "using NUnit.Framework;\nusing ZendeskApi_v2;\n\nnamespace Tests\n{\n [TestFixture]\n public class LocaleTests\n {\n private ZendeskApi ap... | c# | chosen |
[
{
"from": "system",
"value": "Fix flaky unit test caused by concurrency issue\n"
},
{
"from": "human",
"value": "namespace Nett\n{\n using System;\n using System.Collections.Generic;\n using System.Linq;\n using System.Reflection;\n using Util;\n\n internal static class UserTy... | c# | chosen |
[
{
"from": "system",
"value": "Add copyright header to TransportSocketOptions.cs.\n\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Text;\n\nnamespace Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets\n{\n // TODO: Come up with some option... | c# | chosen |
[
{
"from": "system",
"value": "Change button location to the right side of 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 osu.Framework.Alloc... | c# | chosen |
[
{
"from": "system",
"value": "[liuxia] Add test to make sure normal collection works.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing CSharpViaTest.Collections.Annotations;\nusing Xunit;\n\nnamespace CSharpViaTest.Collections._20_Yi... | c# | chosen |
[
{
"from": "system",
"value": "Update content for feature not enabled\n"
},
{
"from": "human",
"value": "\n<div class=\"grid-row\">\n <div class=\"column-two-thirds\">\n\n <h1 class=\"heading-xlarge\">Coming soon</h1>\n\n <p>This service isn't available yet.</p>\n </div>\n</d... | c# | chosen |
[
{
"from": "system",
"value": "Increase timeout for running in container\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing NUnit.Framework;\nusing Shouldly;\n\nnamespace Nimbus.UnitTests.MulticastRequestResponseTests\n{\n [TestFixture]\n internal class WhenTakingTw... | c# | chosen |
[
{
"from": "system",
"value": "Fix bug not properly propagating route arguments\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing System.Reflection;\nusing System.Threading.Tasks;\n\nnamespace WootzJs.Mvc\n{\n public class ControllerActionInvoker : IActionInvoker\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix proxied drawables never expiring.\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-framework/master/LICENCE\r\n\r\nnamespace osu.Framewor... | c# | chosen |
[
{
"from": "system",
"value": "Add a list of notification receivers for project create.\n"
},
{
"from": "human",
"value": "using Lykke.EmailSenderProducer.Interfaces;\n\nnamespace CompetitionPlatform.Data.AzureRepositories.Settings\n{\n public class BaseSettings\n {\n public AzureSe... | c# | chosen |
[
{
"from": "system",
"value": "Add geometry in GeometryFeature constructor\n"
},
{
"from": "human",
"value": "using Mapsui.Geometries;\nusing Mapsui.GeometryLayer;\nusing Mapsui.Layers;\nusing Mapsui.Providers;\nusing NUnit.Framework;\n\nnamespace Mapsui.Tests.Layers\n{\n [TestFixture]\n p... | c# | chosen |
[
{
"from": "system",
"value": "Allow specifying document types to search.\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\n\r\nnamespace Mios.Swiftype {\r\n\tpublic class QuerySpe... | c# | chosen |
[
{
"from": "system",
"value": "Fix compile error from merging Up and Down\n"
},
{
"from": "human",
"value": "using Mycroft.App;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace Mycroft.Cmd.App\n{\n class AppC... | c# | chosen |
[
{
"from": "system",
"value": "Send message to specific connection\n"
},
{
"from": "human",
"value": "using System.Threading.Tasks;\nusing Microsoft.AspNetCore.Http;\n\nnamespace WebSocketManager\n{\n public class WebSocketManagerMiddleware\n {\n private readonly RequestDelegate _nex... | c# | chosen |
[
{
"from": "system",
"value": "Remove comment about ffmpeg from interface\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\nnamespace osu.Framework.Graphics.A... | c# | chosen |
[
{
"from": "system",
"value": "Change + rank strings to be cleaner for the end-user\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.ComponentMo... | c# | chosen |
[
{
"from": "system",
"value": "Add more supported commands to test\n"
},
{
"from": "human",
"value": "using GTPWrapper;\nusing GTPWrapper.DataTypes;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace GTPWrapperTes... | c# | chosen |
[
{
"from": "system",
"value": "Fix banana showers not using cancellation token\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.Threading;\nusin... | c# | chosen |
[
{
"from": "system",
"value": "Move to SemVer for packaging\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.InteropServices;\n\n[assembly: AssemblyTitle(\"ScriptCs.Octokit\")]\n[assembly: AssemblyDescription(\"Octokit Script Pack for ScriptCs.\")]\n[assembly: As... | c# | chosen |
[
{
"from": "system",
"value": "Fix Alarm clock snooze command\n"
},
{
"from": "human",
"value": "using System.Collections;\nusing System.Reflection;\nusing Assets.Scripts.Props;\n\n/// <summary>Commands for the alarm clock.</summary>\npublic static class AlarmClockCommands\n{\n\n\t[Command(@\"sn... | c# | chosen |
[
{
"from": "system",
"value": "Add method to convert scientific notation string to float\n"
},
{
"from": "human",
"value": "namespace SCPI.Extensions\n{\n public static class ValueTypeExtensions\n {\n /// <summary>\n /// Checks that the value is within specified range\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add public designator to tag\n"
},
{
"from": "human",
"value": "namespace HOLMS.Platform.Support.ReservationTags {\n class MigratedReservationTag : ReservationTagBase {\n protected override string[] GetDescriptorPartsAfterCategory() =>\n new st... | c# | chosen |
[
{
"from": "system",
"value": "Remove deprecated \"quirks mode\" test coverage: although this concept has been an issue for test frameworks, it was never really an issue for Fixie as Fixie has always targeted net45 or higher, and the problem involved only applied to end users whose projects really targeted 4... | c# | chosen |
[
{
"from": "system",
"value": "Add error messages to model\n\nImplemented the ViewModelBase and added the Error Messags for the email\naddress and password.\n"
},
{
"from": "human",
"value": "namespace SFA.DAS.EmployerUsers.Web.Models\r\n{\r\n public class LoginViewModel\r\n {\r\n p... | c# | chosen |
[
{
"from": "system",
"value": "Update performance tests to use TestData attribute\n"
},
{
"from": "human",
"value": "using System;\nusing System.Diagnostics;\nusing System.Linq;\nusing NUnit.Framework;\nusing NinjaNye.SearchExtensions.Levenshtein;\n\nnamespace NinjaNye.SearchExtensions.Tests.Lev... | c# | chosen |
[
{
"from": "system",
"value": "Mark assembly as CLS compliant\n\ncloses #3\n"
},
{
"from": "human",
"value": "using System.Reflection;\n\n[assembly: AssemblyTitle(\"DoTheMath.Linear\")]\n[assembly: AssemblyDescription(\"A bunch of stuff for Linear Algebra.\")]\n"
},
{
"from": "gpt",
... | c# | chosen |
[
{
"from": "system",
"value": "Use options to decide if analyze is enabled.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Threading;\nusing Leak.Client.Tracker;\nusing Leak.Common;\nusing Pargos;\n\nnamespace Leak.Announce\n{\n public static class Program\n {\n publ... | c# | chosen |
[
{
"from": "system",
"value": "Add value task to FillBuffer()\n\n"
},
{
"from": "human",
"value": "using System.ComponentModel;\nusing System.IO;\n\nnamespace Sakuno.IO\n{\n [EditorBrowsable(EditorBrowsableState.Never)]\n public static class StreamExtensions\n {\n public static i... | c# | chosen |
[
{
"from": "system",
"value": "Use type/attribute for user secrets\n\nUse type to configure user secrets instead of hard-coded string.\n"
},
{
"from": "human",
"value": "// Copyright (c) Martin Costello, 2016. All rights reserved.\n// Licensed under the Apache 2.0 license. See the LICENSE file i... | c# | chosen |
[
{
"from": "system",
"value": "Fix missing string format parameter\n"
},
{
"from": "human",
"value": "using System.IO;\n\nnamespace Microsoft.Diagnostics.Runtime\n{\n /// <summary>\n /// Thrown when we fail to read memory from the target process.\n /// </summary>\n public class Memor... | c# | chosen |
[
{
"from": "system",
"value": "Add method to get service settings\n"
},
{
"from": "human",
"value": "using System.Threading.Tasks;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Http;\nusing Microsoft.Extensions.Logging;\nusing System;\n\nnamespace DotNetRu.Azure\n{\n [Route(\"di... | c# | chosen |
[
{
"from": "system",
"value": "Fix to avoid unwanted updates after builds\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 y... | c# | chosen |
[
{
"from": "system",
"value": "Add get best id method for person.\n"
},
{
"from": "human",
"value": "namespace TraktApiSharp.Objects.Get.People\n{\n using Extensions;\n using Newtonsoft.Json;\n using System;\n\n public class TraktPerson\n {\n [JsonProperty(PropertyName = \"... | c# | chosen |
[
{
"from": "system",
"value": "Validate nullable attributes are set\n\n"
},
{
"from": "human",
"value": "#pragma warning disable CA1304\n#pragma warning disable MA0011\nusing System.Globalization;\nusing TestUtilities;\nusing Xunit;\n\nnamespace Meziantou.Framework.ResxSourceGenerator.GeneratorT... | c# | chosen |
[
{
"from": "system",
"value": "Add possibility to add department and DepartmentAddDto\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Mvc;\nusing Diploms.Core;\n\nnamespace Diploms.W... | c# | chosen |
[
{
"from": "system",
"value": "Test for large binary blobs (more than 8000 bytes), just to be sure it works.\n\nSVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@2185\n"
},
{
"from": "human",
"value": "using System;\n\nusing NHibernate;\n\nusing NUnit.Framework;\n\nnamespace NHibernate.Test.TypesTest... | c# | chosen |
[
{
"from": "system",
"value": "Set FTBPass to true by default\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.Runtime;\nusing osu.Framework.Cac... | c# | chosen |
[
{
"from": "system",
"value": "Tweak the hello world test\n"
},
{
"from": "human",
"value": "public static unsafe class Program\n{\n public static extern void* malloc(ulong size);\n public static extern void free(void* data);\n public static extern int puts(byte* str);\n\n public stat... | c# | chosen |
[
{
"from": "system",
"value": "Disable error for invalid asmdef reference\n\nFixes #647. Fixes RIDER-17700\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing JetBrains.ReSharper.Feature.Services.Daemon;\nusing JetBrains.ReSharper.Plugins.Unity.Json.Daemon.Errors;\nusing ... | c# | chosen |
[
{
"from": "system",
"value": "Add maxWidth Image API 2.1 property\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json;\n\nnamespace Digirati.IIIF.Model.Types.ImageApi\n{\n public class ImageServiceProfile : IProfile\n {\n [JsonProperty(Order = 1, PropertyName = \"formats\")]\n... | c# | chosen |
[
{
"from": "system",
"value": "Fix unity plugin after CodeCleanupModel refactoring\n"
},
{
"from": "human",
"value": "using System;\nusing JetBrains.Application;\nusing JetBrains.Application.Settings;\nusing JetBrains.ReSharper.Feature.Services.CSharp.FileLayout;\nusing JetBrains.ReSharper.Plugin... | c# | chosen |
[
{
"from": "system",
"value": "Add debug info to troubleshoot failing test\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing System.Net;\nusing AngleSharp.Dom;\nusing PreMailer.Net.Downloaders;\n\nnamespace PreMailer.Net.Sources\n{\n\tpublic class LinkTagCssSource : ICs... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.