conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Add comment for claims transform\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.Security.Claim... | c# | chosen |
[
{
"from": "system",
"value": "Handle Invalid format for Upgrade check"
},
{
"from": "human",
"value": "using System.Net.Http;\nusing System.Net.Http.Formatting;\nusing System.Threading.Tasks;\nusing Semver;\nusing Umbraco.Core.Models;\n\nnamespace Umbraco.Core.Persistence.Repositories.Implement... | c# | chosen |
[
{
"from": "system",
"value": "Remove class variable declaration for UINavigationController\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing MonoTouch.Foundation;\nusing MonoTouch.UIKit;\n\nnamespace Hello_MultiScreen_iPhone\n{\n\t[Reg... | c# | chosen |
[
{
"from": "system",
"value": "Remove tracing from the unifier\n"
},
{
"from": "human",
"value": "using LogicalShift.Reason.Api;\nusing LogicalShift.Reason.Unification;\nusing System;\nusing System.Collections.Generic;\n\nnamespace LogicalShift.Reason\n{\n /// <summary>\n /// Helper method... | c# | chosen |
[
{
"from": "system",
"value": "Update bridge to use new interface\n"
},
{
"from": "human",
"value": "using RGiesecke.DllExport;\nusing System;\nusing System.Collections.Generic;\nusing System.Runtime.InteropServices;\nusing TGS.Interface;\nusing TGS.Interface.Components;\n\nnamespace TGS.Interfac... | c# | chosen |
[
{
"from": "system",
"value": "Add POST REDIRECT GET Pattern to controller\n"
},
{
"from": "human",
"value": "using System.Linq;\nusing Microsoft.AspNetCore.Mvc;\nusing OdeToFood.Entities;\nusing OdeToFood.Services;\nusing OdeToFood.ViewModels;\n\nnamespace OdeToFood.Controllers\n{\n public c... | c# | chosen |
[
{
"from": "system",
"value": "Fix a typo in the NodaTime.Calendars namespace summary.\n"
},
{
"from": "human",
"value": "#region Copyright and license information\r\n// Copyright 2001-2009 Stephen Colebourne\r\n// Copyright 2009-2011 Jon Skeet\r\n// \r\n// Licensed under the Apache License, Ver... | c# | chosen |
[
{
"from": "system",
"value": "Update cake script to csproj\n"
},
{
"from": "human",
"value": "var configuration = Argument(\"configuration\", \"Debug\");\n\nTask(\"Clean\")\n.Does(() =>\n{\n CleanDirectory(\"./artifacts/\");\n});\n\nTask(\"Restore\")\n.Does(() => \n{\n DotNetCoreRestore();... | c# | chosen |
[
{
"from": "system",
"value": "Update assembly version of Types.dll to 3.7\n"
},
{
"from": "human",
"value": "using System.Reflection;\r\nusing System.Runtime.InteropServices;\r\n\r\n[assembly: AssemblyCompany(\"Outercurve Foundation\")]\r\n[assembly: AssemblyProduct(\"NuGet Package Explorer\")]... | c# | chosen |
[
{
"from": "system",
"value": "Change test back to using a string builder\n"
},
{
"from": "human",
"value": "using System.IO;\nusing System.Text;\nusing CSF.Screenplay.Reporting.Tests;\nusing CSF.Screenplay.Reporting.Tests.Autofixture;\nusing CSF.Screenplay.ReportModel;\nusing NUnit.Framework;\n... | c# | chosen |
[
{
"from": "system",
"value": "Fix number of messages retrieved. Used to be n-1\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Text;\nusing RabbitMQ.Client.Exceptions;\n\nnamespace EasyNetQ.Hosepipe\n{\n public interface IQueueRetreival {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Change the default value of the parameter initialization method.\n\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq.Expressions;\nusing Abp.Timing;\nusing JetBrains.Annotations;\nusing Microsoft.EntityFrameworkCore.Storage.ValueConversion;\n\nnam... | c# | chosen |
[
{
"from": "system",
"value": "Change the assembly version to \"base\"\n"
},
{
"from": "human",
"value": "//------------------------------------------------------------------------------\n// <auto-generated>\n// This code was generated by a tool.\n// Runtime Version:4.0.30319.34014\n//\n... | c# | chosen |
[
{
"from": "system",
"value": "Fix sorting and searching on table\n"
},
{
"from": "human",
"value": "@model IList<User>\n\n@{\n ViewData[\"Title\"] = \"List Non Admin Users\";\n}\n<div class=\"col\">\n<table id=\"table\">\n <thead>\n <tr>\n <th></th>\n <th>Name</th>\n ... | c# | chosen |
[
{
"from": "system",
"value": "Set the document language to English\n"
},
{
"from": "human",
"value": "<!DOCTYPE html>\r\n<html>\r\n<head>\r\n <meta charset=\"utf-8\" />\r\n <meta name=\"viewport\" content=\"width=device-width\" />\r\n <title>@ViewBag.Title</title>\r\n @Styles.Render... | c# | chosen |
[
{
"from": "system",
"value": "Add doc for what happens when getting clipboard text fails (SDL)\n"
},
{
"from": "human",
"value": "// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.\n// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE\n\nus... | c# | chosen |
[
{
"from": "system",
"value": "Optimize query for server time. (not throwing exception)\n"
},
{
"from": "human",
"value": "using Hangfire.Mongo.Database;\r\nusing MongoDB.Driver;\r\nusing System;\r\nusing Hangfire.Mongo.Helpers;\r\nusing MongoDB.Bson;\r\n\r\nnamespace Hangfire.Mongo.MongoUtils\r... | c# | chosen |
[
{
"from": "system",
"value": "Fix the using. Sometimes atom can be...\n"
},
{
"from": "human",
"value": "namespace Nilgiri.Examples\n{\n using Xunit;\n using Nilgiri.Tests.Common;\n using static Nilgiri.ExpectStyle;\n\n public partial class ExampleOf_Should\n {\n public class Not_Be_Ok\n... | c# | chosen |
[
{
"from": "system",
"value": "Use the new Delete command support in CslaDataProvider.\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\nusing System.Windows;\r\nusing System.Windows.Controls;\r\nusing System.Windows.Data;\r\nusing Sys... | c# | chosen |
[
{
"from": "system",
"value": "Implement RouteData resolvement while in wcf context\n"
},
{
"from": "human",
"value": "namespace nuserv.Utility\n{\n using System.Net.Http;\n using System.Web;\n using System.Web.Http.Routing;\n\n public class HttpRouteDataResolver : IHttpRouteDataReso... | c# | chosen |
[
{
"from": "system",
"value": "Make sure to only invoke defaults once\n"
},
{
"from": "human",
"value": "namespace NServiceBus\n{\n using Settings;\n using Features;\n using Persistence;\n using Persistence.Sql;\n\n /// <summary>\n /// The <see cref=\"PersistenceDefinition\"/> ... | c# | chosen |
[
{
"from": "system",
"value": "Change order of update operation in RecordRun\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Caliburn.Micro;\nusing ExpressRunner.Api;\n\nnamespace Ex... | c# | chosen |
[
{
"from": "system",
"value": "Optimize the detection of IDisposable test classes. Array.Contains performs fewer allocations than the LINQ Any extension method.\n"
},
{
"from": "human",
"value": "namespace Fixie.Execution\n{\n using System;\n using System.Collections.Generic;\n using Sy... | c# | chosen |
[
{
"from": "system",
"value": "Add parent and child app skeleton\n"
},
{
"from": "human",
"value": "//-----------------------------------------------------------------------\r\n// <copyright file=\"Program.cs\" company=\"Brian Rogers\">\r\n// Copyright (c) Brian Rogers. All rights reserved.\r\n/... | c# | chosen |
[
{
"from": "system",
"value": "Add blocking statement to ensure service remains alive\n"
},
{
"from": "human",
"value": "using System.ServiceModel;\r\n\r\nnamespace TfsHipChat\r\n{\r\n class Program\r\n {\r\n static void Main()\r\n {\r\n using (var host = new Servi... | c# | chosen |
[
{
"from": "system",
"value": "Address ProcessStartInfo envvar case sensitivite issue\n\n* Fixes #1326\n"
},
{
"from": "human",
"value": "using System.Diagnostics;\n\nnamespace Cake.Core.Polyfill\n{\n internal static class ProcessHelper\n {\n public static void SetEnvironmentVariabl... | c# | chosen |
[
{
"from": "system",
"value": "Set initial page to LoginPage\n"
},
{
"from": "human",
"value": "using BlueMonkey.ExpenceServices;\nusing BlueMonkey.ExpenceServices.Local;\nusing BlueMonkey.Model;\nusing Prism.Unity;\nusing BlueMonkey.Views;\nusing Xamarin.Forms;\nusing Microsoft.Practices.Unity;... | c# | chosen |
[
{
"from": "system",
"value": "Add comment to backwards compat alias\n"
},
{
"from": "human",
"value": "// ----------------------------------------------------------------------------------\n//\n// Copyright Microsoft Corporation\n// Licensed under the Apache License, Version 2.0 (the \"License\... | c# | chosen |
[
{
"from": "system",
"value": "[master] Check if the workitem if a jira issue, before logging time.\n"
},
{
"from": "human",
"value": "using Atlassian.Jira;\nusing TicketTimer.Core.Infrastructure;\nusing TicketTimer.Jira.Extensions;\n\nnamespace TicketTimer.Jira.Services\n{\n public class Def... | c# | chosen |
[
{
"from": "system",
"value": "Make bool type coercion work with arrays, and improve handling of non-null objects as expression arguments to unary ! and such\n"
},
{
"from": "human",
"value": "namespace ScriptNET {\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing Syst... | c# | chosen |
[
{
"from": "system",
"value": "Fix beatmaps importing with -1 as online set ID\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.Collections.Gen... | c# | chosen |
[
{
"from": "system",
"value": "Allow getting a user env variable\n"
},
{
"from": "human",
"value": "using System;\nusing System.Threading.Tasks;\nusing Sdl.Community.GroupShareKit.Clients;\nusing Sdl.Community.GroupShareKit.Http;\n\nnamespace Sdl.Community.GroupShareKit.Tests.Integration\n{\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add a string extension to validate Email\n\nRegex was from the labworks service which was from the order form\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Threading.Tasks;\r\n\r\nnamespac... | c# | chosen |
[
{
"from": "system",
"value": "Allow indices to be stored for .net assemblies.\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.Compo... | c# | chosen |
[
{
"from": "system",
"value": "Adjust pane when going to inline mode to close it\n"
},
{
"from": "human",
"value": "using Cimbalino.Toolkit.Services;\nusing GalaSoft.MvvmLight;\nusing GalaSoft.MvvmLight.Command;\nusing Kliva.Models;\nusing Kliva.Views;\nusing Windows.UI.Xaml.Controls;\n\nnamespa... | c# | chosen |
[
{
"from": "system",
"value": "DNN-20025: Use the parameterless contructor from Obselete Portal Helper\n"
},
{
"from": "human",
"value": "using DotNetNuke.Entities.Portals;\nusing System;\nusing System.Linq;\n\nnamespace Dnn.PersonaBar.Library.Helper\n{\n public class PortalHelper\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Increase timeout to prevent cibuild failures\n"
},
{
"from": "human",
"value": "namespace TestableFileSystem.Fakes.Tests.Specs.FakeWatcher\n{\n public abstract class WatcherSpecs\n {\n protected const int NotifyWaitTimeoutMilliseconds = 500;\n p... | c# | chosen |
[
{
"from": "system",
"value": "Change the wait example to a mock login page.\n"
},
{
"from": "human",
"value": "@{\n ViewBag.Title = \"ComboLoad\";\n}\n\n<div class=\"row\">\n <div class=\"col-md-12\">\n <h2>Example page for testing waits</h2>\n\n <p>The following combo start... | c# | chosen |
[
{
"from": "system",
"value": "Fix bug where repo name was used instead of organization in the links.\n"
},
{
"from": "human",
"value": "using Nito.AsyncEx;\nusing Octokit;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace Alteridem.GetChanges\n{\n class Progr... | c# | chosen |
[
{
"from": "system",
"value": "Add note about what your dod is\n"
},
{
"from": "human",
"value": "using Microsoft.AspNetCore.Mvc.Rendering;\nusing System;\nusing System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\n\nnamespace BatteryCommander.Web.Models\n{\n public clas... | c# | chosen |
[
{
"from": "system",
"value": "Write out raw HTML if SubMessage contains any\n"
},
{
"from": "human",
"value": "@using SFA.DAS.EAS.Web\n@using SFA.DAS.EAS.Web.Models\n\n@model dynamic \n\n@{\n var viewModel = Model as OrchestratorResponse;\n}\n\n@if (!string.IsNullOrEmpty(viewModel?.FlashMess... | c# | chosen |
[
{
"from": "system",
"value": "Fix handling of deletion of settings file;\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System.Collections; using FastCollections;\n\n#if UNITY_EDITOR\nusing UnityEditor;\n#endif\nnamespace Lockstep\n{\n public static class LSFSettingsManager\n ... | c# | chosen |
[
{
"from": "system",
"value": "Rename types in test code.\n"
},
{
"from": "human",
"value": "namespace Gu.Roslyn.Asserts.Tests.Net472WithAttributes\n{\n using Gu.Roslyn.Asserts.Tests.Net472WithAttributes.AnalyzersAndFixes;\n using NUnit.Framework;\n\n public partial class RoslynAssertTes... | c# | chosen |
[
{
"from": "system",
"value": "Make the chat input only update when enter is not pressed\n"
},
{
"from": "human",
"value": "using LmpClient.Localization;\nusing LmpClient.Systems.Chat;\nusing UnityEngine;\n\nnamespace LmpClient.Windows.Chat\n{\n public partial class ChatWindow\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add tooltips and extract inspector classes\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System.Collections;\nusing UnityEditor;\nusing OneDayGame;\n\nnamespace DisableAfterTimeEx {\n\n [CustomEditor(typeof (DisableAfterTime))]\n public class D... | c# | chosen |
[
{
"from": "system",
"value": "Remove code which logs empty responses\n\nWe solved that issue, and now it just pops up for lots of requests which have geniunely\nempty responses.\n"
},
{
"from": "human",
"value": "using NLog;\nusing System.Net.Http;\nusing System.Threading;\nusing System.Threadi... | c# | chosen |
[
{
"from": "system",
"value": "Reset console color on exit.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Diagnostics;\nusing EasyHook;\n\nnamespace LxRunOffline\n{\n\tclass Program\n\t{\n\t\tstatic void Main(string[] args)\n\t\t{\n\t\t\tint pId = 0;\n\t\t\ttry\n\t\t\t{\n\t\t\t\... | c# | chosen |
[
{
"from": "system",
"value": "Allow suppression of colour for specific glyphs.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Text;\nusing System.Drawing;\n\nnamespace QuickFont {\n\n public sealed class QFontGlyph {\n /// <summary>\n... | c# | chosen |
[
{
"from": "system",
"value": "Move config.Configure to BeforeStart which gives the overloads the chance to change it before it throw because it dose not found an configuration.\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Reflection;\r\nusing Rhino.ServiceBus.Config;\r\nusing... | c# | chosen |
[
{
"from": "system",
"value": "Fix url of api test\n\n"
},
{
"from": "human",
"value": "using Bloom.Api;\nusing Bloom.Book;\nusing Bloom.Collection;\nusing NUnit.Framework;\n\nnamespace BloomTests.web\n{\n\t[TestFixture]\n\tpublic class ReadersApiTests\n\t{\n\t\tprivate EnhancedImageServer _serv... | c# | chosen |
[
{
"from": "system",
"value": "Use the more consistent `lastVertex`, with a comment\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 osu.... | c# | chosen |
[
{
"from": "system",
"value": "Fix room password not being percent-encoded in join request\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.Net.H... | c# | chosen |
[
{
"from": "system",
"value": "Disable document selection by id.\n"
},
{
"from": "human",
"value": "using System.ComponentModel.Composition;\n\nnamespace Flood.Editor.Controls\n{\n class ToolClose : EditorTool, BarTool\n {\n [Import]\n DocumentManager docManager;\n\n p... | c# | chosen |
[
{
"from": "system",
"value": "Add deleted and copied to the parsed statuses\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Threading.Tasks;\nusing GitDataExplorer.Results.Commits;\n\nnamespace GitDataExplorer.Results\n{\n class ListSimpleCom... | c# | chosen |
[
{
"from": "system",
"value": "Add missing Nullable example [ci skip]\n"
},
{
"from": "human",
"value": "namespace Nilgiri.Examples\n{\n using Xunit;\n using Nilgiri.Tests.Common;\n using static Nilgiri.ShouldStyle;\n\n public partial class ExampleOf_Should\n {\n public class Not_Be_Ok\n ... | c# | chosen |
[
{
"from": "system",
"value": "Change the web hook names\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace Nop.Plugin.Api.Constants\n{\n public static class WebHookNames\n ... | c# | chosen |
[
{
"from": "system",
"value": "Change \"Search\" \"Frame Padding\" option default value\n"
},
{
"from": "human",
"value": "using System.ComponentModel;\nusing DesktopWidgets.WidgetBase.Settings;\n\nnamespace DesktopWidgets.Widgets.Search\n{\n public class Settings : WidgetSettingsBase\n {\... | c# | chosen |
[
{
"from": "system",
"value": "Set continuation opcode for non-first frames in the writer\n"
},
{
"from": "human",
"value": "using System;\nusing System.Threading;\nusing System.Threading.Tasks;\n\nnamespace wslib.Protocol.Writer\n{\n public class WsMessageWriter : IDisposable\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Use string instead of String.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\n\nnamespace DupImage\n{\n /// <summary>\n /// Structure for containing image information and hash values.\n /// </summary>\... | c# | chosen |
[
{
"from": "system",
"value": "Add Support for MysqlConnector 1 namespace changes\n"
},
{
"from": "human",
"value": "#region License\n// Copyright (c) 2007-2018, FluentMigrator Project\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except i... | c# | chosen |
[
{
"from": "system",
"value": "Use lowered transform value in hash computing\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Security.Cryptography;\nusing System.Text;\n\nnamespace RestImageResize.Security\n{\n public class... | c# | chosen |
[
{
"from": "system",
"value": "Change panel icon to the cog\n"
},
{
"from": "human",
"value": "using Client.Base;\nusing Core.Comm;\nusing Core.Interfaces.ServiceContracts;\nusing System;\nusing System.Collections.Generic;\nusing System.Collections.ObjectModel;\nusing System.Linq;\nusing System.... | c# | chosen |
[
{
"from": "system",
"value": "Improve form safe name regex\n"
},
{
"from": "human",
"value": "using System.Text.RegularExpressions;\n\nnamespace FormEditor\n{\n\tpublic static class FieldHelper\n\t{\n\t\tprivate static readonly Regex FormSafeNameRegex = new Regex(\"[ -]\", RegexOptions.Compiled... | c# | chosen |
[
{
"from": "system",
"value": "Improve performance of puzzle 10\n\nIncrease the throughput of the solution for puzzle 10 by skipping even\nnumbers (which cannot be prime, except for 2).\n"
},
{
"from": "human",
"value": "// Copyright (c) Martin Costello, 2015. All rights reserved.\n// Licensed u... | c# | chosen |
[
{
"from": "system",
"value": "Fix a http request issues.\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing System.Net;\nusing System.Text;\nusing Wox.Plugin;\n\nnamespace Wox.Infrastructure.Http\n{\n public class HttpRequest\n {\n public static string Get(st... | c# | chosen |
[
{
"from": "system",
"value": "Make consistent and add a comment for clarification\n"
},
{
"from": "human",
"value": "@model OrderModifyModel\n \n@{\n var submitMap = new Dictionary<string, string> {{\"Request\", \"Create\"}, {\"Edit\", \"Save\"}, {\"Copy\", \"Save\"}};\n var sub... | c# | chosen |
[
{
"from": "system",
"value": "Remove nameof operator because it caused a build error in AppHarbor\n\nWill have to investigate if AH supports c# 6 yet\n"
},
{
"from": "human",
"value": "using System;\nusing System.Web.Mvc;\n\nnamespace Website.Security\n{\n\t[AttributeUsage(AttributeTargets.Clas... | c# | chosen |
[
{
"from": "system",
"value": "Change test settings default Redis Db\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing CacheSleeve.Tests.TestObjects;\n\nnamespace CacheSleeve.Tests\n{\n public static class TestSettings\n {\n public static string RedisHost =... | c# | chosen |
[
{
"from": "system",
"value": "Add configuration options for HMRC to use MI Feed\n"
},
{
"from": "human",
"value": "namespace SFA.DAS.EAS.Domain.Configuration\n{\n public class HmrcConfiguration\n {\n public string BaseUrl { get; set; }\n public string ClientId { get; set; }\... | c# | chosen |
[
{
"from": "system",
"value": "Remove static that is unused.\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 Microsoft.CodeAnalysis.CodeAct... | c# | chosen |
[
{
"from": "system",
"value": "Exclude misses and empty window hits from UR calculation\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 ... | c# | chosen |
[
{
"from": "system",
"value": "Add group support for NoVehiclesUsage\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing Rocket.Unturned.Player;\nusing RocketRegions.Util;\nusing SDG.Unturned;\nusing UnityEngine;\n\nnamespace RocketRegions.Model.Flag.Impl\n{\n public c... | c# | chosen |
[
{
"from": "system",
"value": "Convert invoker proxy over to be internal\n"
},
{
"from": "human",
"value": "using Microsoft.AspNet.SignalR.Client;\nusing System;\nusing System.Threading.Tasks;\n\nnamespace Glimpse.Agent.Connection.Stream.Connection\n{\n public class StreamInvokerProxy : IStre... | c# | chosen |
[
{
"from": "system",
"value": "Use PlayMode instead of GameMode\n"
},
{
"from": "human",
"value": "using System;\nusing osu.Game.Beatmaps;\r\nusing SQLite;\r\n\r\nnamespace osu.Game.Database\n{\n public class BeatmapMetadata\n {\n [PrimaryKey]\n public int ID { get; set; }\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix spelling of .editorconfig option"
},
{
"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 Microsoft.CodeAnalysis.Op... | c# | chosen |
[
{
"from": "system",
"value": "Fix formatting and remove unnecessary using\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;... | c# | chosen |
[
{
"from": "system",
"value": "Append version number to title\n"
},
{
"from": "human",
"value": "using System.Windows;\r\nusing System.Windows.Controls;\r\nusing FlaUInspect.ViewModels;\r\n\r\nnamespace FlaUInspect.Views\r\n{\r\n /// <summary>\r\n /// Interaction logic for MainWindow.xaml\... | c# | chosen |
[
{
"from": "system",
"value": "Fix legacy control point precision having an adverse effect on the editor\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": "Add tag replacement on backup paths\n"
},
{
"from": "human",
"value": "using System.IO;\nusing System.IO.Compression;\n\nnamespace Ensconce.Console\n{\n internal static class Backup\n {\n internal static void DoBackup()\n {\n if (File... | c# | chosen |
[
{
"from": "system",
"value": "Increment projects copyright year to 2020\n"
},
{
"from": "human",
"value": "using System.Reflection;\r\nusing System.Runtime.InteropServices;\r\n\r\n[assembly: AssemblyCompany(\"Yevgeniy Shunevych\")]\r\n[assembly: AssemblyProduct(\"Atata Framework\")]\r\n[assembl... | c# | chosen |
[
{
"from": "system",
"value": "Add a stronger dependency on UnityEngine for testing.\n\nThis makes it easier to test what happens if ReferencePath is used, but\nremoved.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\... | c# | chosen |
[
{
"from": "system",
"value": "Update test entity with attribute to denote partition/row key\n"
},
{
"from": "human",
"value": "using TechSmith.Hyde.Common.DataAnnotations;\n\nnamespace TechSmith.Hyde.IntegrationTest\n{\n /// <summary>\n /// Class with decorated partition and row key propert... | c# | chosen |
[
{
"from": "system",
"value": "Add handling for missing /\n\nIf `DocsKeys.BaseEditUrl` in `config.wyam` is missing a forward slash at the end, a malformed edit address is produced.\r\n\r\nFor example,\r\n\r\n`Settings[DocsKeys.BaseEditUrl] = \"https://code.luzfaltex.com\"`\r\n\r\nWill result in a url like:\r... | c# | chosen |
[
{
"from": "system",
"value": "Fix problems with launching and exiting the app\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Net;\r\n\r\nnamespace a\r\n{\r\n class Program\r\n {\r\n //Code is dirty, who cares, it's C#.\r\n\r\n static void Main(string[] args... | c# | chosen |
[
{
"from": "system",
"value": "Add unit test for complex types.\n\nThis Just WorksTM because complex types with parameterless constructors\ncan be easily created via reflection.\n"
},
{
"from": "human",
"value": "using Ploeh.AutoFixture.Xunit;\nusing Xunit;\nusing Xunit.Extensions;\n\nnamespace ... | c# | chosen |
[
{
"from": "system",
"value": "Add additional script languages which use the arabic shaper\n"
},
{
"from": "human",
"value": "// Copyright (c) Six Labors.\n// Licensed under the Apache License, Version 2.0.\n\nusing SixLabors.Fonts.Unicode;\n\nnamespace SixLabors.Fonts.Tables.AdvancedTypographic.... | c# | chosen |
[
{
"from": "system",
"value": "Fix a bug: When clean up disused images, the DefaultThumbnail.jpg could be removed by mistake if all books have their own images.\n"
},
{
"from": "human",
"value": "using Lbookshelf.Business;\nusing Microsoft.Expression.Interactivity.Core;\nusing System;\nusing Sys... | c# | chosen |
[
{
"from": "system",
"value": "Create 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": "Allow bind interface to be customized.\n"
},
{
"from": "human",
"value": "namespace MailTrace.Host.Selfhost\n{\n using System;\n\n using MailTrace.Data.Postgresql;\n using MailTrace.Host;\n using MailTrace.Host.Data;\n\n using Microsoft.Owin.Hosting;... | c# | chosen |
[
{
"from": "system",
"value": "Add documentation for alpha format.\n"
},
{
"from": "human",
"value": "namespace Avalonia.Platform\n{\n public enum AlphaFormat\n {\n Premul,\n Unpremul,\n Opaque\n }\n}\n"
},
{
"from": "gpt",
"value": "namespace Avalonia.... | c# | chosen |
[
{
"from": "system",
"value": "Add test for authorization requirement in TraktUserCustomListItemsRemoveRequest\n"
},
{
"from": "human",
"value": "namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth\n{\n using FluentAssertions;\n using Microsoft.VisualStudio.TestTools.UnitTestin... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Change controller action to debug Kudu issue ..\"\n\nThis reverts commit 84cebcdc1d49c04c1060fa779b4872b2f208c233.\n"
},
{
"from": "human",
"value": "using System.Web.Mvc;\nusing Amry.Gst.Properties;\nusing WebMarkupMin.Mvc.ActionFilters;\n\nnamespace Amry... | c# | chosen |
[
{
"from": "system",
"value": "Fix uploading files with uppercase extensions\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Windows.Forms;\nusing CefSharp;\n\nnamespace TweetDuck.Core.Handling.General{\n sealed class Fi... | c# | chosen |
[
{
"from": "system",
"value": "Correct builder path - .Net Framework folder starts from \"v\"\n"
},
{
"from": "human",
"value": "using System;\nusing System.Diagnostics;\n\nnamespace Bridge.Translator\n{\n public partial class Translator\n {\n\n protected static readonly char ps = S... | c# | chosen |
[
{
"from": "system",
"value": "Fix for assuming any legacy call is 32-bit\n"
},
{
"from": "human",
"value": "namespace RedGate.AppHost.Server\r\n{\r\n public class ChildProcessFactory\r\n {\r\n public IChildProcessHandle Create(string assemblyName, bool openDebugConsole, bool is64Bi... | c# | chosen |
[
{
"from": "system",
"value": "Use of metadata proxies to generate table.\n"
},
{
"from": "human",
"value": "using System.Text;\nusing Models = EntityCore.Initialization.Metadata.Models;\n\nnamespace EntityCore.DynamicEntity\n{\n internal class EntityDatabaseStructure\n {\n public s... | c# | chosen |
[
{
"from": "system",
"value": "Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.\n"
},
{
"from": "human",
"value": "us... | c# | chosen |
[
{
"from": "system",
"value": "Update deprecated code in iOS main entry\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 UIKit;\n\nnamespace osu.iOS\n{... | c# | chosen |
[
{
"from": "system",
"value": "Update assembly info for development of the next 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 ... | c# | chosen |
[
{
"from": "system",
"value": "Add credentials class for user authorization\n"
},
{
"from": "human",
"value": "using System;\nusing Microsoft.SPOT;\n\nnamespace Idiot.Net\n{\n class Credentials\n {\n }\n}\n"
},
{
"from": "gpt",
"value": "using System;\nusing Microsoft.SPOT;\n... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.