conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Read file before the reader is disposed\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": "Remove import for empty script file\n"
},
{
"from": "human",
"value": "<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <title>@ViewData[\"Title\"] - Quadruped Web... | c# | chosen |
[
{
"from": "system",
"value": "Improve wording of an exception\n"
},
{
"from": "human",
"value": "using Microsoft.Extensions.Configuration;\nusing System;\nusing System.Linq;\n\nnamespace Tgstation.Server.Host.Core\n{\n\t/// <inheritdoc />\n\tsealed class ServerPortProivder : IServerPortProvider... | c# | chosen |
[
{
"from": "system",
"value": "Fix camel case on the Learners response\n"
},
{
"from": "human",
"value": "using MediatR;\nusing Microsoft.AspNetCore.Authorization;\nusing Microsoft.AspNetCore.Mvc;\nusing Newtonsoft.Json;\nusing SFA.DAS.CommitmentsV2.Api.Types.Responses;\nusing SFA.DAS.Commitment... | c# | chosen |
[
{
"from": "system",
"value": "Remove only remaining .NET desktop code\n\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/master/LICENCE\n\nusing System;\nusing System.IO;\nu... | c# | chosen |
[
{
"from": "system",
"value": "Fix path, because NUnit does nto run from the current assembly dir\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.IO;\r\nusing System.Net;\r\nusing NUnit.Framework;\r\n\r\nnamespace HttpMock.Integration.Tests\r\n{\r\n\t[TestFixture]\r\n\tpublic cla... | c# | chosen |
[
{
"from": "system",
"value": "Fix authentication crash on edit\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Web;\r\nusing System.Web.Mvc;\r\nusing System.Web.Optimization;\r\nusing System.Web.Routing;\r\n\r\nnamespac... | c# | chosen |
[
{
"from": "system",
"value": "Remove unused references from example client\n"
},
{
"from": "human",
"value": "using System;\nusing System.Reactive.Concurrency;\nusing System.Reactive.Linq;\nusing Obvs.Types;\nusing Obvs.ActiveMQ.Configuration;\nusing Obvs.Configuration;\nusing Obvs.Example.Mess... | c# | chosen |
[
{
"from": "system",
"value": "Set NUnit tests to run scripts under the current domain for access to the same console.\n"
},
{
"from": "human",
"value": "using System;\nusing System.CodeDom.Compiler;\nusing System.IO;\nusing System.Text;\nusing IronAHK.Scripting;\nusing NUnit.Framework;\n\nnames... | c# | chosen |
[
{
"from": "system",
"value": "Fix version number for the fake release\n"
},
{
"from": "human",
"value": "// Copyright 2017 The Noda Time Authors. All rights reserved.\n// Use of this source code is governed by the Apache License 2.0,\n// as found in the LICENSE.txt file.\nusing System.Collectio... | c# | chosen |
[
{
"from": "system",
"value": "Set the driver property in TranslationUnitPass when adding new passes.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing CppSharp.Passes;\n\nnamespace CppSharp\n{\n /// <summary>\n /// This class is... | c# | chosen |
[
{
"from": "system",
"value": "Increase nuget version to 2.0.0-beta02\n"
},
{
"from": "human",
"value": "using System.Reflection;\n\n// General Information about an assembly is controlled through the following \n// set of attributes. Change these attribute values to modify the information\n// as... | c# | chosen |
[
{
"from": "system",
"value": "Make a method static because it can be\n"
},
{
"from": "human",
"value": "using System;\nusing System.Reflection;\n\nnamespace Configgy.Coercion\n{\n /// <summary>\n /// A base class for any coercer attributes.\n /// </summary>\n [AttributeUsage(Attribu... | c# | chosen |
[
{
"from": "system",
"value": "Use ExceptionDispatchInfo to rethrow test class constructor exceptions, now that all other such exception rethrows use ExceptionDispatchInfo.\n"
},
{
"from": "human",
"value": "namespace Fixie\n{\n using System;\n using System.Reflection;\n using Internal;... | c# | chosen |
[
{
"from": "system",
"value": "Change BuildAndOrExpr to use AndAlso & OrElse to make NHibernate Linq happy\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Linq.Expressions;\nusing System.Threading.Tas... | c# | chosen |
[
{
"from": "system",
"value": "Remove unnecessary test step creating needless skins\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;\nu... | c# | chosen |
[
{
"from": "system",
"value": "Update lazer default combo colours to match stable\n\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 osuTK.Graphics;\n\n... | c# | chosen |
[
{
"from": "system",
"value": "Remove HTML content type check from response filter because the check is performed in CassetteApplication instead.\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.IO;\r\nusing System.Web;\r\nusing Cassette.UI;\r\n\r\nnamespace Cassette.Web\r\n{\r\n... | c# | chosen |
[
{
"from": "system",
"value": "Remove interface that is no longer user.\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 mo... | c# | chosen |
[
{
"from": "system",
"value": "Add Validation Messages to the Clone Section Screen\n"
},
{
"from": "human",
"value": "@model Portal.CMS.Web.Areas.PageBuilder.ViewModels.Section.CloneViewModel\n@{\n Layout = \"\";\n\n var pageList = Model.PageList.Select(x => new SelectListItem { Value = x.... | c# | chosen |
[
{
"from": "system",
"value": "Add group role to relationship\n"
},
{
"from": "human",
"value": "namespace AlertRoster.Web.Models\n{\n public class MemberGroup\n {\n public int MemberId { get; private set; }\n\n public virtual Member Member { get; private set; }\n\n pu... | c# | chosen |
[
{
"from": "system",
"value": "Add new checks to verifier\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.Collections.Generic;\nusing System.Lin... | c# | chosen |
[
{
"from": "system",
"value": "Fix license header from wrong project\n\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\nusing osu.Framework.... | c# | chosen |
[
{
"from": "system",
"value": "Modify method to abstract which will force a compile error if the implementation is not supplied in a derived class rather than throw a NotImplementedException()\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;... | c# | chosen |
[
{
"from": "system",
"value": "Cover CMAC -> Key property setter with null check test\n"
},
{
"from": "human",
"value": "using Xunit;\n\nnamespace OpenGost.Security.Cryptography\n{\n public abstract class CmacTest<T> : CryptoConfigRequiredTest\n where T : CMAC, new()\n {\n pr... | c# | chosen |
[
{
"from": "system",
"value": "Add SessionHash property and mark SessionHeight as obsolete.\n\nCloses #99\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespac... | c# | chosen |
[
{
"from": "system",
"value": "Make VisitingMind's Mind readable by VV\n"
},
{
"from": "human",
"value": "using Content.Server.Mobs;\nusing Robust.Shared.GameObjects;\n\nnamespace Content.Server.GameObjects.Components.Mobs\n{\n [RegisterComponent]\n public sealed class VisitingMindComponen... | c# | chosen |
[
{
"from": "system",
"value": "[System] Remove Marshal.GetHRForLastWin32Error call from Diagnostics.Process\n\nGetHRForLastWin32Error breaks the build on AOT, and even on non-AOT is unimplemented.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Threading;\nusing Microsoft.Win32;\nu... | c# | chosen |
[
{
"from": "system",
"value": "Use UseServer() instead of UseKestrel() to allow override in tests\n"
},
{
"from": "human",
"value": "using Microsoft.AspNetCore.Hosting;\n\nnamespace MusicStore\n{\n public static class Program\n {\n public static void Main(string[] args)\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Disable parallelization for RhinoMock using alternative way\n\nIt appeared that explicit console runner parameter could cause\nassembly to be still parallelized.\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.InteropServices;\nusi... | c# | chosen |
[
{
"from": "system",
"value": "Add assertion of only usage game-wide\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 JetBrains.Annotatio... | c# | chosen |
[
{
"from": "system",
"value": "Include build number in version\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the following \n// set of attributes. Change these attribute values ... | c# | chosen |
[
{
"from": "system",
"value": "Fix show-build-chain logic to properly detect cloned build configs.\n"
},
{
"from": "human",
"value": "using System.Linq;\nusing System.Threading.Tasks;\nusing TeamCityApi.Helpers;\nusing TeamCityApi.Logging;\n\nnamespace TeamCityApi.UseCases\n{\n public class S... | c# | chosen |
[
{
"from": "system",
"value": "Duplicate some methods from TransformExtensions for convenience\n"
},
{
"from": "human",
"value": "using UnityEngine;\n\nnamespace Alensia.Core.Common\n{\n public static class ComponentExtensions\n {\n public static T GetOrAddComponent<T>(this Componen... | c# | chosen |
[
{
"from": "system",
"value": "Remove empty line in name spaces\n"
},
{
"from": "human",
"value": "using System.Data.Common;\nusing System.Data.SqlClient;\n\nusing DapperTesting.Core.Configuration;\n\nnamespace DapperTesting.Core.Data\n{\n public class MsSqlConnectionFactory : IConnectionFact... | c# | chosen |
[
{
"from": "system",
"value": "Fix Process class not being disposed\n"
},
{
"from": "human",
"value": "using System;\nusing System.ComponentModel;\nusing System.Diagnostics;\n\nnamespace WOptiPng\n{\n public static class OptiPngWrapper\n {\n public static bool OptiPngExists()\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix global options for Integration test\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing CalDavSynchronizer.Contracts;\nusing CalDavSynchronizer.DataAcc... | c# | chosen |
[
{
"from": "system",
"value": "Fix inventory trying to update on every frame\n\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine.Events;\n\npublic class Inventory : MonoBehaviour {\n\n\n\tpublic int[] inventoryS... | c# | chosen |
[
{
"from": "system",
"value": "Remove `[SuppressMessage]`\n- build break\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.Colle... | c# | chosen |
[
{
"from": "system",
"value": "Test to see if running multiple works ok.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\n\nnamespace Cosmos.TestRunner.Core\n{\n public static class TestKernelSets\n {\n public static IEnumerable<Type> GetStableKer... | c# | chosen |
[
{
"from": "system",
"value": "Test checkin with new repo\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing SecurityConsultantCore.Domain;\nusing SecurityConsultantCore.Domain.Basic;\n\nnamespace SecurityConsultantCore.Factories\n{\n public static class SecurityObjec... | c# | chosen |
[
{
"from": "system",
"value": "Fix algorithm not selected when adding a custom coin\n"
},
{
"from": "human",
"value": "using MultiMiner.Engine.Data;\nusing MultiMiner.Utility.Forms;\nusing MultiMiner.Xgminer.Data;\nusing MultiMiner.Win.Extensions;\nusing System;\nusing MultiMiner.Engine;\n\nname... | c# | chosen |
[
{
"from": "system",
"value": "Add dataTransferManager to Windows app.\n"
},
{
"from": "human",
"value": "using System;\nusing wallabag.Common;\nusing wallabag.ViewModel;\nusing Windows.ApplicationModel.DataTransfer;\nusing Windows.System;\nusing Windows.UI.Xaml.Controls;\nusing Windows.UI.Xaml.... | c# | chosen |
[
{
"from": "system",
"value": "Use DiplomContext in DI container\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Diploms.WebUI.Configuration;\nusing Microsoft.AspNetCore.Builder;\nusing Microsoft.AspNetC... | c# | chosen |
[
{
"from": "system",
"value": "Add the default constructor, eventually needed for migrations.\n"
},
{
"from": "human",
"value": "using System.Threading.Tasks;\nusing Microsoft.EntityFrameworkCore;\n\nnamespace HelloWorldApp\n{\n public class HelloWorldDbContext : DbContext, IHelloWorldDbContex... | c# | chosen |
[
{
"from": "system",
"value": "Fix unit test for changed implementation\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing NetTopologySuite.Geometries;\nusing NUnit.Framework;\nusing Mapsui.Nts.Extensions;\nusing System;\n\nnamespace Mapsui.Nts.Tests;\n\n[TestFixture]\np... | c# | chosen |
[
{
"from": "system",
"value": "Set test version to auto increment\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": "Make fullname optional for receiver\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Dynamic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Dragon.Mail.Interfaces;\n\nnamespace Dragon.... | c# | chosen |
[
{
"from": "system",
"value": "Add a default icon when a ruleset isn't present\n\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.A... | c# | chosen |
[
{
"from": "system",
"value": "Use Json.Net type stamping instead of assembly qualified name.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Microsoft.WindowsAzure.Storage.Table;\nu... | c# | chosen |
[
{
"from": "system",
"value": "Store an item when it is added to the basket\n"
},
{
"from": "human",
"value": "using NUnit.Framework;\n\nnamespace engine.tests\n{\n [TestFixture]\n public class SupermarketAcceptanceTests\n {\n [Test]\n public void EmptyBasket()\n {\... | c# | chosen |
[
{
"from": "system",
"value": "Remove the changes in convert spinner\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/master/LICENCE\n\nusing osu.Game.Rulesets.Objects.Types;... | c# | chosen |
[
{
"from": "system",
"value": "Remove website url from product description\n"
},
{
"from": "human",
"value": "using System.Reflection;\r\nusing System.Resources;\r\nusing System.Runtime.CompilerServices;\r\nusing System.Runtime.InteropServices;\r\n\r\n// http://stackoverflow.com/questions/62353/... | c# | chosen |
[
{
"from": "system",
"value": "Add Last4 in AU BECS Source and Deprecating Last3\n"
},
{
"from": "human",
"value": "namespace Stripe\n{\n using Newtonsoft.Json;\n\n public class SourceAuBecsDebit : StripeEntity\n {\n [JsonProperty(\"account_number\")]\n public string Accoun... | c# | chosen |
[
{
"from": "system",
"value": "Fix typo in summary comment\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\n\nusing System;\nusing System.ComponentM... | c# | chosen |
[
{
"from": "system",
"value": "Increment the stats counters in bulk\n"
},
{
"from": "human",
"value": "#region Copyright 2014 Exceptionless\n\n// This program is free software: you can redistribute it and/or modify it \n// under the terms of the GNU Affero General Public License as published \n/... | c# | chosen |
[
{
"from": "system",
"value": "Fix for compatibility with AppVeyor\n"
},
{
"from": "human",
"value": "using System;\nusing Nybus.Configuration;\nusing Nybus.Logging;\n\nnamespace Nybus.MassTransit\n{\n public class MassTransitOptions\n {\n public IQueueStrategy CommandQueueStrategy ... | c# | chosen |
[
{
"from": "system",
"value": "Add comment detailing why this is requried\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 osuTK.Graphics;\nusing osu.F... | c# | chosen |
[
{
"from": "system",
"value": "Fix the broken doc build.\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT License.\n\nusing System;\nusing UnityEngine;\n\nnamespace Microsoft.MixedReality.Toolkit.Utilities\n{\n /// <sum... | c# | chosen |
[
{
"from": "system",
"value": "Add problem 4. Photo Gallery\n"
},
{
"from": "human",
"value": "using System;\n\nclass PhotoGallery\n{\n static void Main()\n {\n\n\n }\n}"
},
{
"from": "gpt",
"value": "using System;\n\nclass PhotoGallery\n{\n static void Main()\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Enable the content type to be editable when there is no result appearing based on the chosen keywords\n"
},
{
"from": "human",
"value": "@model StaticWidget\n\n<div class=\"rich-text @Model.HtmlClasses\" @Html.DxaEntityMarkup()>\n\n @if (Model.TridionDocsItems !... | c# | chosen |
[
{
"from": "system",
"value": "Add call to Configure() and clean up comments.\n"
},
{
"from": "human",
"value": "using DemoDataAccess;\nusing DemoDataAccess.Entity;\nusing NHibernate.Linq;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Thr... | c# | chosen |
[
{
"from": "system",
"value": "Revise unit tests for Actions.Win32Window\n"
},
{
"from": "human",
"value": "using System;\nusing System.Diagnostics.CodeAnalysis;\nusing System.Windows;\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\nusing ThScoreFileConverter.Actions;\nusing ThScoreFileCon... | c# | chosen |
[
{
"from": "system",
"value": "Change extension methods to use constant from IndexAnnotation for annotation name\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations.Schema;\nusing System.Data.Entity.Infrastructure.Annot... | c# | chosen |
[
{
"from": "system",
"value": "Add ShouldSerializeDirectives to pass test ensuring it's only serialized when non-empty\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json;\nusing System.Collections.Generic;\n\nnamespace Alexa.NET.Response\n{\n public class ResponseBody\n {\n [J... | c# | chosen |
[
{
"from": "system",
"value": "Store car value on grid when car is moved via byte array"
},
{
"from": "human",
"value": "// NetGameExtension.cs\n// <copyright file=\"NetGameExtension.cs\"> This code is protected under the MIT License. </copyright>\nusing Tron;\n\nnamespace Networking.Extensions\... | c# | chosen |
[
{
"from": "system",
"value": "Add inline null checks as requested\n"
},
{
"from": "human",
"value": "using System.Web.Http.ExceptionHandling;\nusing Umbraco.Core;\nusing Umbraco.Core.Composing;\nusing Umbraco.Core.Logging;\n\nnamespace Umbraco.Web.WebApi\n{\n /// <summary>\n /// Used to l... | c# | chosen |
[
{
"from": "system",
"value": "Remove test for \"DisableColorCompression\" flag.\n"
},
{
"from": "human",
"value": "using System;\nusing dotless.Core.Parser;\nusing dotless.Core.Parser.Infrastructure;\n\nnamespace dotless.Test.Specs.Compression\n{\n using NUnit.Framework;\n\n public class C... | c# | chosen |
[
{
"from": "system",
"value": "Call ToString() instead of Enum.GetName\n\nI don't see any reason why we were doing this the other way.\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 M... | c# | chosen |
[
{
"from": "system",
"value": "Fix incorrect implementation of executor\n"
},
{
"from": "human",
"value": "namespace Winium.Desktop.Driver.CommandExecutors\n{\n #region using\n\n using Winium.StoreApps.Common;\n\n #endregion\n\n internal class IsComboBoxExpandedExecutor : CommandExec... | c# | chosen |
[
{
"from": "system",
"value": "Fix namespace issue after refactor of startup\n"
},
{
"from": "human",
"value": "namespace Moya.Runner.Console\n{\n using System;\n using Extensions;\n\n class Program\n {\n private static void Main(string[] args)\n {\n try\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add Apache 2.0 license header.\n"
},
{
"from": "human",
"value": "// SSH Handler\n//\n// Douglas Thrift\n//\n// ssh-handler\n\nusing System.Diagnostics;\nusing System.Text;\n\npublic class SshHandler\n{\n public static void Main(string[] args)\n {\n fo... | c# | chosen |
[
{
"from": "system",
"value": "Update to deal with breaking Features change in httpabstraction\n"
},
{
"from": "human",
"value": "using Microsoft.AspNet.Http;\nusing Microsoft.AspNet.Http.Features;\n\nnamespace Glimpse.Server.Web\n{\n public class RequestAuthorizerAllowRemote : IRequestAuthor... | c# | chosen |
[
{
"from": "system",
"value": "Make a little section of code easier to debug\n"
},
{
"from": "human",
"value": "using System.Linq;\nusing ZBuildLights.Core.Models;\n\nnamespace ZBuildLights.Core.Services\n{\n public class UnassignedLightService : IUnassignedLightService\n {\n privat... | c# | chosen |
[
{
"from": "system",
"value": "Add `using System` to fix this file being detected as Smalltalk"
},
{
"from": "human",
"value": "namespace ValveResourceFormat\n{\n public enum VTexFormat\n {\n#pragma warning disable 1591\n UNKNOWN = 0,\n DXT1 = 1,\n DXT5 = 2,\n I... | c# | chosen |
[
{
"from": "system",
"value": "Update assembly info informational version\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/... | c# | chosen |
[
{
"from": "system",
"value": "Compress only the vessel proto. TEST\n"
},
{
"from": "human",
"value": "using Lidgren.Network;\nusing LmpCommon.Message.Types;\n\nnamespace LmpCommon.Message.Data.Vessel\n{\n public class VesselProtoMsgData : VesselBaseMsgData\n {\n internal VesselProt... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Fix for an odd crash we were experiencing\"\n\nThis reverts commit d3720f480898332853e95815f28cc72962e60186.\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace Xamarin.Forms.Xaml\n{\n\t[ContentProperty(\"TypeName\")]\n\tpublic class TypeExtension... | c# | chosen |
[
{
"from": "system",
"value": "Test project model color enforcing.\n"
},
{
"from": "human",
"value": "using System;\nusing NUnit.Framework;\nusing Toggl.Phoebe.Data.NewModels;\n\nnamespace Toggl.Phoebe.Tests.Data.Models\n{\n [TestFixture]\n public class ProjectModelTest : ModelTest<Project... | c# | chosen |
[
{
"from": "system",
"value": "Decrease number of operations to run to decrease benchmark duration from few hours to about 30 minutes\n"
},
{
"from": "human",
"value": "// --------------------------------------------------------------------------------------------------------------------\n// <co... | c# | chosen |
[
{
"from": "system",
"value": "Clear IsBusy on Wallet load error\n"
},
{
"from": "human",
"value": "using AvalonStudio.Extensibility;\nusing ReactiveUI;\nusing Splat;\nusing System;\nusing System.Linq;\nusing System.Reactive;\nusing System.Reactive.Linq;\nusing System.Threading;\nusing WalletWasa... | c# | chosen |
[
{
"from": "system",
"value": "Support piping a WebAssembly file to wasm-dump\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing Wasm.Binary;\n\nnamespace Wasm.Dump\n{\n public static class Program\n {\n public static int Main(string[] args)\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Update console to show parsing duration\n"
},
{
"from": "human",
"value": "using DemoParser_Core;\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace DemoParser_Cons... | c# | chosen |
[
{
"from": "system",
"value": "Add unit test for all action method on CropController\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web.Mvc;\nusing NUnit.Framework;\n\nusing Oogstplanner.Services;\nusing Oogstplanner.Controll... | c# | chosen |
[
{
"from": "system",
"value": "Fix login link on register page\n"
},
{
"from": "human",
"value": "@{\n ViewBag.Title = \"Registreer je vandaag bij de Oogstplanner\";\n}\n\n<div class=\"flowtype-area\">\n\n<!-- START RESPONSIVE RECTANGLE LAYOUT -->\n\n<!-- Top bar -->\n<div id=\"top\">\n</div>... | c# | chosen |
[
{
"from": "system",
"value": "FIXED: Put comment text between quotes\n"
},
{
"from": "human",
"value": "using System.Text;\n\n\nnamespace SoxSharp\n{\n /// <summary>\n /// Format options to be applied to the output file. For any property not set here, SoX will infer the value from the input f... | c# | chosen |
[
{
"from": "system",
"value": "Split the CanCombineTwoNs test code into two line.\n"
},
{
"from": "human",
"value": "using sdmap.Runtime;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Xunit;\n\nnamespace sdmap.test.IntegratedTest\n{\n... | c# | chosen |
[
{
"from": "system",
"value": "Write to console on failed apu write\n"
},
{
"from": "human",
"value": "namespace JAGBE.GB.Computation\n{\n internal sealed class Apu\n {\n private byte NR50;\n private byte NR51;\n private byte NR52;\n\n internal void Clear()\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix lock of scrapes list\n\nsvn path=/trunk/bitsharp/; revision=115381\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\nusing MonoTorrent.Client;\r\nusing MonoTorrent.Common;\r\n\r\nnamespace MonoTorrent.... | c# | chosen |
[
{
"from": "system",
"value": "Fix broken (admittedly crappy) test.\n"
},
{
"from": "human",
"value": "using NUnit.Framework;\nusing TeamCityBuildChanges.Output;\nusing TeamCityBuildChanges.Testing;\n\nnamespace TeamCityBuildChanges.Tests\n{\n [TestFixture]\n public class HtmlOutputTests\n... | c# | chosen |
[
{
"from": "system",
"value": "Set proper version for WixUiClient\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": "Add dynamic method constuctor codes (didn't use it yet, other developer may learn something from the function)\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq.Expressions;\n\nnamespace LiteNetLibManager.Utils\n... | c# | chosen |
[
{
"from": "system",
"value": "Remove illegal await in catch block.\n\nThis is not picked up on Mono.\n"
},
{
"from": "human",
"value": "using System.Net.Sockets;\nusing System.Threading.Tasks;\nusing Version = Msg.Core.Versioning.Version;\nusing System.Linq;\n\nnamespace Msg.Infrastructure.Serve... | c# | chosen |
[
{
"from": "system",
"value": "Store the already serialised RaygunMessage object.\n\nStore the already serialised RaygunMessage object.\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing Mindscape.Raygun4Net.Messages;\n\nnamespace Mindscape.Raygun4Net.Storage\n{\n public... | c# | chosen |
[
{
"from": "system",
"value": "Make the include file adder well known in the interface. We may have to add IncludeFiles too in a bit.\n"
},
{
"from": "human",
"value": "\r\nnamespace LinqToTTreeInterfacesLib\r\n{\r\n /// <summary>\r\n /// Interface for implementing an object that will cont... | c# | chosen |
[
{
"from": "system",
"value": "Fix null reference exception when spawning Fungus objects in Unity 5.1\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing UnityEditor;\nusing System.IO;\nusing System.Collections;\n\nnamespace Fungus\n{\n\n\tpublic class FlowchartMenuItems\n\t{\n\t\t[Menu... | c# | chosen |
[
{
"from": "system",
"value": "Move variable declaration to the top of method\n"
},
{
"from": "human",
"value": "using System;\n\nclass Solution {\n static void Main() {\n int b;\n double c, s = 0.0;\n string line;\n\n while ((line = Console.ReadLine()) != null) {\n... | c# | chosen |
[
{
"from": "system",
"value": "Fix a typo in the GitHub.UI.Reactive assembly title"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.InteropServices;\nusing System.Windows;\nusing System.Windows.Markup;\n\n[assembly: AssemblyTitle(\"GitHub.UI.Recative\")]\n[assembly... | c# | chosen |
[
{
"from": "system",
"value": "Use friendly url while sending transfer\n\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Threading.Tasks;\r\nusing Microsoft.AspNetCore.Mvc;\r\nusing Neblina.Api.Core;\r\nusing Neblina.Api... | c# | chosen |
[
{
"from": "system",
"value": "Fix a bug that admiral information is not updated.\n\nfixed #6\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Grabacr07.KanColleWrapper;\nusing Grabac... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.