conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Allow XR Plug-in Management settings to be configured post-build\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing UnityEditor;\nusing UnityEditor.XR.Management;\nusing UnityEngine;\nusing UnityEngine.XR.Management;\n\nnamesp... | c# | chosen |
[
{
"from": "system",
"value": "Kill commented out code so Scott isn't sad\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Web;\r\nusing System.Web.Mvc;\r\nusing Serilog;\r\n\r\nnamespace Commencement.Mvc\r\n{\r\n public class FilterConfig\n {\n public static void Re... | c# | chosen |
[
{
"from": "system",
"value": "Support responses for collectors, and commonise\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing Newtonsoft.Json.Linq;\nusing SurveyMonkey.Containers;\nusing SurveyMonkey.RequestSettings;\n\nnamespace SurveyMonkey\n{\n p... | c# | chosen |
[
{
"from": "system",
"value": "Add connection pruning test (currently just fails)\n"
},
{
"from": "human",
"value": "using Medallion.Threading.Postgres;\nusing Microsoft.Data.SqlClient;\nusing Npgsql;\nusing NUnit.Framework;\nusing System;\nusing System.Collections.Generic;\nusing System.Data.Co... | c# | chosen |
[
{
"from": "system",
"value": "Write the top-level function for checking for updates"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\n\nnamespace NSync.Client\n{\n public class UpdateManager\n {\n Func<string, Stream> openPath;\n Func<string, IObservable<strin... | c# | chosen |
[
{
"from": "system",
"value": "Update namespace reference in unit comments\n"
},
{
"from": "human",
"value": "using System;\n\n#pragma warning disable 1591\n\nnamespace E247.Fun\n{\n public struct Unit : IEquatable<Unit>\n {\n public static readonly Unit Value = new Unit();\n\n ... | c# | chosen |
[
{
"from": "system",
"value": "Change AsNonNull to NotNull return\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.Diagnostics.CodeAnalysis;\n\nn... | c# | chosen |
[
{
"from": "system",
"value": "Simplify status convention based on conversation with Mr David Goodyear\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Net;\nusing System.Net.Http;\nusing System.Web.Http;\n\nnamespace SFA.DAS.E... | c# | chosen |
[
{
"from": "system",
"value": "Fix test failing after BDL -> `[Test]` change\n"
},
{
"from": "human",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing System.Linq;\nusing NUnit.... | c# | chosen |
[
{
"from": "system",
"value": "Add Email Setting Seed Items\n"
},
{
"from": "human",
"value": "using Portal.CMS.Entities.Entities.Settings;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace Portal.CMS.Entities.Seed\n{\n public static class SettingSeed\n {\n public ... | c# | chosen |
[
{
"from": "system",
"value": "Add logging capability to serviceaware\n"
},
{
"from": "human",
"value": "using WebApiToTypeScript.Enums;\nusing WebApiToTypeScript.Interfaces;\nusing WebApiToTypeScript.Types;\n\nnamespace WebApiToTypeScript\n{\n public abstract class ServiceAware\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add groups to the serialization\n"
},
{
"from": "human",
"value": "using System.Net;\nusing System.Threading.Tasks;\nusing FlatBuffers;\nusing InWorldz.Arbiter.Serialization;\nusing InWorldz.Chrysalis.Util;\n\nnamespace InWorldz.Chrysalis.Controllers\n{\n /// <s... | c# | chosen |
[
{
"from": "system",
"value": "Fix assert hit during OnInstantiated validation\n"
},
{
"from": "human",
"value": "using System;\nusing ModestTree;\n\nnamespace Zenject\n{\n [NoReflectionBaking]\n public class InstantiateCallbackConditionCopyNonLazyBinder : ConditionCopyNonLazyBinder\n {\... | c# | chosen |
[
{
"from": "system",
"value": "Remove a redundant UpdateLayout invocation\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing System.Windows;\nusing System.Win... | c# | chosen |
[
{
"from": "system",
"value": "Reword taiko easy mod description to fit others better\n\nCo-authored-by: Joseph Madamba <deb5e3a2371a81eb362def5dfce4787ebd8ff67d@outlook.com>"
},
{
"from": "human",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See t... | c# | chosen |
[
{
"from": "system",
"value": "Add LayeredHitSamples skin config lookup\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.Game.Skinning\n{\n p... | c# | chosen |
[
{
"from": "system",
"value": "Fix the order of the connect section\n\nMake sure the second connection shows up above the hosted service\nproviders section.\n"
},
{
"from": "human",
"value": "using GitHub.Api;\nusing GitHub.Models;\nusing GitHub.Services;\nusing Microsoft.TeamFoundation.Controls... | c# | chosen |
[
{
"from": "system",
"value": "Make it harder to accidentally reset prod database\n"
},
{
"from": "human",
"value": "using System;\r\nusing AnlabMvc.Models.Roles;\r\nusing AnlabMvc.Services;\r\nusing Microsoft.AspNetCore.Authorization;\r\nusing Microsoft.AspNetCore.Mvc;\r\nusing System.Threading.... | c# | chosen |
[
{
"from": "system",
"value": "Use HTML helper extension method for outputting an <input type=\"hidden\"/> element\n"
},
{
"from": "human",
"value": "using System.Web.Mvc;\r\n\r\nnamespace RestfulRouting\r\n{\r\n public static class HtmlHelperExtensions\r\n {\r\n public static MvcHt... | c# | chosen |
[
{
"from": "system",
"value": "Downgrade version to 0.6.0 again -- only update version upon actual release\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is con... | c# | chosen |
[
{
"from": "system",
"value": "Change Paddle direction to a float.\n"
},
{
"from": "human",
"value": "using UnityEngine;\n\npublic class PaddleController : MonoBehaviour {\n [SerializeField]\n private float _speed;\n\n [SerializeField]\n private Planet _planet;\n\n [SerializeField... | c# | chosen |
[
{
"from": "system",
"value": "Add API to get a user's active consultations.\n"
},
{
"from": "human",
"value": "// Copyright 2015 SnapMD, Inc.\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// ... | c# | chosen |
[
{
"from": "system",
"value": "Use msbuild path from config.json if present\n\nOtherwise use runtime directory."
},
{
"from": "human",
"value": "using System.IO;\nusing OmniSharp.Solution;\n\nnamespace OmniSharp.Build\n{\n public class BuildCommandBuilder\n {\n private readonly ISol... | c# | chosen |
[
{
"from": "system",
"value": "Fix typo in data object cloning.\n"
},
{
"from": "human",
"value": "using System;\nusing SQLite;\n\nnamespace Toggl.Phoebe.Data.DataObjects\n{\n [Table (\"Project\")]\n public class ProjectData : CommonData\n {\n public ProjectData ()\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix for getting the email addresses the wrong way round\n"
},
{
"from": "human",
"value": "using RedFolder.Models;\nusing RedFolder.ViewModels;\nusing SendGrid;\nusing SendGrid.Helpers.Mail;\nusing System.Net;\nusing System.Threading.Tasks;\nusing System.Web;\n\nna... | c# | chosen |
[
{
"from": "system",
"value": "Refactor pagination to a common base class\n"
},
{
"from": "human",
"value": "\nnamespace Acme.Helpers\n{\n /// <summary>\n /// Horizontal alignment options.\n /// </summary>\n public enum HorizontalAlignment { Left, Right, }\n public enum PagerVerti... | c# | chosen |
[
{
"from": "system",
"value": "Set improved ThreadPool values for nancy\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Web;\nusing Nancy;\nusing Nancy.ErrorHandling;\n\nnamespace NancyBenchmark\n{\n public class Global : HttpApplication\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add new type of devices"
},
{
"from": "human",
"value": "// Copyright (c) 2018 Sarin Na Wangkanai, All Rights Reserved.\n// The Apache v2. See License.txt in the project root for license information.\n\nnamespace Wangkanai.Detection\n{\n public enum DeviceType\n... | c# | chosen |
[
{
"from": "system",
"value": "Fix android usage of obsoleted VersionCode\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 Android.App;\... | c# | chosen |
[
{
"from": "system",
"value": "Make accuracy formatting more consistent\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.Game.Utils\n{\n publ... | c# | chosen |
[
{
"from": "system",
"value": "Make power status properties abstract\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.Game.Utils\n{\n /// <su... | c# | chosen |
[
{
"from": "system",
"value": "Add New Exception *() saftynet"
},
{
"from": "human",
"value": "using RestSharp;\nusing jRace.PrivateClass.Main;\nNamespace Inject {\n\n public class Inject {\n \n file = new jRace.PrivateClass.Main(); \n brows = new jRace.PrivateClass.Brows(); \n \n pri... | c# | chosen |
[
{
"from": "system",
"value": "Fix async behavior of console program.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Net.Http;\nusing System.Threading.Tasks;\nusing PortableWordPressApi;\n\nnamespace ApiConsole\n{\n\tclass Program\n\t{\n\t\tstatic void Main(string[] args)\n\t\t{\... | c# | chosen |
[
{
"from": "system",
"value": "Raise incoming event on the ThreadPool\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.ServiceModel;\r\n\r\nnamespace Nvents.Services.Network\r\n{\r\n\t[ServiceBehavior(\r\n\t\tInstanceContextMode = InstanceContextMode.Single,\r\n\t\tConcurrencyMode... | c# | chosen |
[
{
"from": "system",
"value": "Add NET Standard 1.6 API dependency\n"
},
{
"from": "human",
"value": "using Android.App;\nusing Android.Widget;\nusing Android.OS;\n\nnamespace MatXiTest.Droid\n{\n\t[Activity(Label = \"MatXiTest\", MainLauncher = true, Icon = \"@mipmap/icon\")]\n\tpublic class Ma... | c# | chosen |
[
{
"from": "system",
"value": "Add Enabled = true, Exported = false"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing Android.Content;\n\nnamespace Plugin.FirebasePushNotification\n{\n [BroadcastReceiver]\n public class PushNotificationDeletedReceiver : BroadcastRec... | c# | chosen |
[
{
"from": "system",
"value": "Fix logic fail with IsNoFlip\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace FezEngine.Structure {\n public class Level {\n\n public static bool IsNoFlat = false;\n\n public bool orig_get_Flat() {\n return false;\n }... | c# | chosen |
[
{
"from": "system",
"value": "Include email possibility on server error page\n"
},
{
"from": "human",
"value": "@{ \n ViewBag.Title = \"Er is iets fout gegaan\"; \n} \n<div id=\"top\"></div>\n<div class=\"row\">\n <div class=\"col-lg-4 col-md-3 col-sm-2 col-xs-2\"></div>\n <div class=\... | c# | chosen |
[
{
"from": "system",
"value": "Check if the project names (new and old one) are the same.\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing System.Windows;\nusing System.Windows.Forms;\nusing EnvDTE;\nusing MessageBox = System.Windows.Forms.MessageBox;\n\nnamespace Twains... | c# | chosen |
[
{
"from": "system",
"value": "Fix an issue Tooltip does not show on the bottom right edge of the primary display\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Drawing;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusi... | c# | chosen |
[
{
"from": "system",
"value": "Use GoogleCredential.CreateScoped to create test credentials\n\nChange-Id: I274d01dd4024589ca9686ac834a66536d3bf2704\n"
},
{
"from": "human",
"value": "//\n// Copyright 2019 Google LLC\n//\n// Licensed to the Apache Software Foundation (ASF) under one\n// or more c... | c# | chosen |
[
{
"from": "system",
"value": "Move to the new StripeBasicService instead of StripeService\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Threading;\nusing System.Threading.Tasks;\nusing Stripe.Infrastructure;\n\nnamespace Stripe\n{\n public class StripeEphe... | c# | chosen |
[
{
"from": "system",
"value": "Add PlayerSpaceship to a level\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class LevelManager : MonoBehaviour {\n\n public EnemySpaceShip enemy;\n\n public void S... | c# | chosen |
[
{
"from": "system",
"value": "Set JSON as the default (and only) formatter\n"
},
{
"from": "human",
"value": "using System.Web.Http;\r\n\r\nnamespace Nora\r\n{\r\n public static class WebApiConfig\r\n {\r\n public static void Register(HttpConfiguration config)\r\n {\r\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add implementation of enumerable interface for list responses.\n"
},
{
"from": "human",
"value": "namespace TraktApiSharp.Experimental.Responses\n{\n using Exceptions;\n using System.Collections.Generic;\n\n public class TraktListResponse<TContentType> : A... | c# | chosen |
[
{
"from": "system",
"value": "Remove request HTTP method from logging\n"
},
{
"from": "human",
"value": "// © Alexander Kozlenko. Licensed under the MIT License.\n\nusing System;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Http;\nusing Microsoft.AspNetCore.Http.Extensions;\nusing... | c# | chosen |
[
{
"from": "system",
"value": "Fix test assembly load path\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Reflection;\nusing Shouldly;\nusing Xunit;\n\nnamespace libpolyglot.Tests\n{\n public class Assembly_tests\n {\n public static IEnumerable<ob... | c# | chosen |
[
{
"from": "system",
"value": "Change http request total name to match Prometheus guidelines\n"
},
{
"from": "human",
"value": "namespace Prometheus.HttpExporter.AspNetCore.HttpRequestCount\n{\n public class HttpRequestCountOptions : HttpExporterOptionsBase\n {\n public Counter Count... | c# | chosen |
[
{
"from": "system",
"value": "Order elements in some classes\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace Gma.QrCodeNet.Encoding.Positioning.Stencils\n{\n\tinternal abstract class PatternStencilBase : BitMatrix\n\t{\n\t\tprotected const bool O = false;\n\t\tprotected const bool ... | c# | chosen |
[
{
"from": "system",
"value": "Fix point skipped during get points issue\n"
},
{
"from": "human",
"value": "namespace HelixToolkit.Wpf.SharpDX\r\n{\r\n using System;\r\n using System.Collections.Generic;\r\n using HelixToolkit.SharpDX.Shared.Utilities;\r\n\r\n [Serializable]\r\n p... | c# | chosen |
[
{
"from": "system",
"value": "Add quote search by keyword and text\n\nAdd quote search by keyword and text"
},
{
"from": "human",
"value": "using NadekoBot.Services.Database.Models;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Microsoft.EntityFram... | c# | chosen |
[
{
"from": "system",
"value": "Allow to define host address in client\n"
},
{
"from": "human",
"value": "using System;\nusing System.ServiceModel;\n\nusing Service;\n\nnamespace Client\n{\n class Program\n {\n static void Main(string[] args)\n {\n var address = new... | c# | chosen |
[
{
"from": "system",
"value": "Add PrepaymentID to bank transaction\n"
},
{
"from": "human",
"value": "using System;\r\n\r\nnamespace XeroApi.Model\r\n{\r\n public class BankTransaction : EndpointModelBase\r\n {\r\n [ItemId]\r\n public Guid? BankTransactionID { get; set; }\r\n... | c# | chosen |
[
{
"from": "system",
"value": "Fix type in Range attribute: change from double to int\n\nAn exception was thrown while loading the test.\nSystem.InvalidOperationException: A value of type System.Int32 (1) cannot be passed to a parameter of type System.Double.\n"
},
{
"from": "human",
"value": "us... | c# | chosen |
[
{
"from": "system",
"value": "Fix compilation after sdk api changes\n"
},
{
"from": "human",
"value": "using System;\nusing JetBrains.ReSharper.Plugins.Yaml.Psi.Tree;\nusing JetBrains.ReSharper.Psi;\nusing JetBrains.ReSharper.Psi.ExtensionsAPI.Tree;\nusing JetBrains.ReSharper.Psi.Parsing;\nusin... | c# | chosen |
[
{
"from": "system",
"value": "Allow logger and serializer to be set to null\n"
},
{
"from": "human",
"value": "using System;\nusing Foundatio.Serializer;\nusing Microsoft.Extensions.Logging;\n\nnamespace Foundatio {\n public class SharedOptions {\n public ISerializer Serializer { get; ... | c# | chosen |
[
{
"from": "system",
"value": "Update score manager to use UI's text\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing UnityEngine.UI;\nusing System.Collections;\n\nnamespace WhoaAlgebraic\n{\n public class ScoreManager : MonoBehaviour\n {\n public static int score; ... | c# | chosen |
[
{
"from": "system",
"value": "Update the sample to listen on root addresses instead of a specific path.\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\r\nusing System.IO;\r\nusing System.Reflection;\r\nusing System.ServiceModel;\r\nusing System.ServiceModel.Web;\r\n\r\nnam... | c# | chosen |
[
{
"from": "system",
"value": "Fix test which is incorrect under x64, highlighted by previous commit\n"
},
{
"from": "human",
"value": "using System;\r\nusing ClrSpy.Native;\r\nusing NUnit.Framework;\r\n\r\nnamespace ClrSpy.UnitTests.Native\r\n{\r\n [TestFixture]\r\n public class PointerUt... | c# | chosen |
[
{
"from": "system",
"value": "Revert bom checking (unity fails too)\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing System.Text;\nusing JetBrains.Util;\nusing JetBrains.Util.Logging;\n\nnamespace JetBrains.ReSharper.Plugins.Unity.Yaml.Psi\n{\n public static class Uni... | c# | chosen |
[
{
"from": "system",
"value": "Add debugger display attributes for repository actions\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json;\nusing System.Collections.Generic;\n\nnamespace RepoZ.Api.Common.Git\n{\n\tpublic class RepositoryActionConfiguration\n\t{\n [JsonProperty(\"repo... | c# | chosen |
[
{
"from": "system",
"value": "Rearrange order of ignoreroutes call"
},
{
"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.Routing;\r\n\r\nnamespace NServiceMVC.Examples.Todomvc\r... | c# | chosen |
[
{
"from": "system",
"value": "Use shared project for version\n\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 at... | c# | chosen |
[
{
"from": "system",
"value": "Remove unused text transform helpers\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.Graphics;\nusing osu... | c# | chosen |
[
{
"from": "system",
"value": "Fix error when launching missing files\n"
},
{
"from": "human",
"value": "#region\n\nusing System.Diagnostics;\nusing System.IO;\nusing DesktopWidgets.Classes;\n\n#endregion\n\nnamespace DesktopWidgets.Helpers\n{\n internal static class ProcessHelper\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix test assertion for hostname to ip resolver\n\nRather than testing that the caught exception is _of_ type SocketException\nwe test that it is assignable to this type - the exception thrown on niX\nvariants inherit from the SocketException but are not that actual type.\n\nStu... | c# | chosen |
[
{
"from": "system",
"value": "Add bundle optimization on release\n"
},
{
"from": "human",
"value": "using System.Web;\nusing System.Web.Optimization;\n\nnamespace Borderlands2GoldendKeys\n{\n public class BundleConfig\n {\n // For more information on bundling, visit http://go.micro... | c# | chosen |
[
{
"from": "system",
"value": "Add CanManagePlots on project creation\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace JoinRpg.DataModel\n{\n // ReSharper disable once ClassWithVirtualMembersNeverInherited.Global (required by LINQ)\n public class ProjectAcl \n {\n public int P... | c# | chosen |
[
{
"from": "system",
"value": "Change raycast provider tests to use PlaymodeTestUtilities instead of TestUtilities\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT License. See LICENSE in the project root for license infor... | c# | chosen |
[
{
"from": "system",
"value": "Fix build error after merge\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing NSaga;\n\nnamespace Benchmarking\n{\n /// <summary>\n /// Saga repository only for benchmarking. \n /// Does not really store anything\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add action \"Show Error\" option\n"
},
{
"from": "human",
"value": "using System;\nusing System.ComponentModel;\nusing System.Windows;\nusing DesktopWidgets.Classes;\n\nnamespace DesktopWidgets.Actions\n{\n public abstract class ActionBase\n {\n [Displ... | c# | chosen |
[
{
"from": "system",
"value": "Clean up some use of Approval tests.\n"
},
{
"from": "human",
"value": "using ApprovalTests.Reporters;\nusing Gibberish.AST._1_Bare;\nusing Gibberish.Parsing;\nusing Gibberish.Tests.ZzTestHelpers;\nusing NUnit.Framework;\n\nnamespace Gibberish.Tests.RecognizeBlockS... | c# | chosen |
[
{
"from": "system",
"value": "Add CommandDate so it is deserialized from the JSON response\n"
},
{
"from": "human",
"value": "namespace MultiMiner.MobileMiner.Api\n{\n public class RemoteCommand\n {\n public int Id { get; set; }\n public string CommandText { get; set; }\n ... | c# | chosen |
[
{
"from": "system",
"value": "Test discovery skips over abstract base classes.\n\nFixes #1\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Reflection;\nusing System.Text;\n\nnamespace PCLTesting.Infrastructure\n{\n\tpublic cl... | c# | chosen |
[
{
"from": "system",
"value": "Update triangulator to accept point if at certain distance from reporters\n"
},
{
"from": "human",
"value": "using RocketGPS.GPSMath;\nusing RocketGPS.Model;\nusing RocketGPSMath.Model;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing Sy... | c# | chosen |
[
{
"from": "system",
"value": "[DOC] Remove unused code from quick-start guide example project.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Mvc.... | c# | chosen |
[
{
"from": "system",
"value": "Fix memory patterns saving when not playing.\n\n"
},
{
"from": "human",
"value": "using osu_StreamCompanion.Code.Core.DataTypes;\nusing osu_StreamCompanion.Code.Interfaces;\n\nnamespace osu_StreamCompanion.Code.Modules.MapDataGetters.FileMap\n{\n public class Fi... | c# | chosen |
[
{
"from": "system",
"value": "Add using statement for Swashbuckle 4.0\n"
},
{
"from": "human",
"value": "using Swashbuckle.AspNetCore.SwaggerGen;\n\nnamespace Swashbuckle.AspNetCore.Filters\n{\n public static class SwaggerGenOptionsExtensions\n {\n public static void ExampleFilters(... | c# | chosen |
[
{
"from": "system",
"value": "Use slug for single search result\n"
},
{
"from": "human",
"value": "using Hops.Repositories;\nusing Microsoft.AspNet.Mvc;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace Hops.Controllers\n{\n [Route(\"[controller]\")]\n public class Searc... | c# | chosen |
[
{
"from": "system",
"value": "Fix compilation error introduced with last minute cleanup added when looking at the diff.\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\r\n\r\nnamespace Parser\r\n{\r\n // Assigns each locale an ID from 0 to n - 1\r\n internal static cl... | c# | chosen |
[
{
"from": "system",
"value": "Remove explicit default value initialization.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Runtime.CompilerServices;\nusing System.Threading;\n\nnamespace GUtils.Testing\n{\n /// <summary>\n /// A class that tracks the amount of times its <s... | c# | chosen |
[
{
"from": "system",
"value": "[iOS] Use login/getting started background image.\n"
},
{
"from": "human",
"value": "using Foundation;\nusing System;\nusing UIKit;\n\nnamespace MyDriving.iOS\n{\n public partial class GettingStartedContentViewController : UIViewController\n {\n\t\tpublic UIIm... | c# | chosen |
[
{
"from": "system",
"value": "Add volatile keyword accroding to the doc\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing System.Collections.Generic;\n\nusing Wukong.Models;\n\nnamespace Wukong.Services\n{\n public sealed class Storage\n {\n static readonly... | c# | chosen |
[
{
"from": "system",
"value": "Make the private field readonly.\n"
},
{
"from": "human",
"value": "// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.\n// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE\n\nusing System;\nusing Android.Cont... | c# | chosen |
[
{
"from": "system",
"value": "Fix cursors sent to osu-web being potentially string formatted in incorrect culture\n\nFixed as per solution at https://github.com/JamesNK/Newtonsoft.Json/issues/874.\n\nNote that due to the use of `JsonExtensionDataAttribute` it's not\nfeasible to change the actual specificati... | c# | chosen |
[
{
"from": "system",
"value": "Add more diagnostics to FileThumbPrint\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 ... | c# | chosen |
[
{
"from": "system",
"value": "Fix broken implementation of static HttpClient\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Net.Http;\r\nusing System.Net.Http.Headers;\r\nusing Microsoft.Extensions.Options;\r\n\r\nnamespace AllReady.Hangfire.Jobs\r\n{\r\n public class SendR... | c# | chosen |
[
{
"from": "system",
"value": "Align url invalid char unit tests with changes done to the validation logic\n"
},
{
"from": "human",
"value": "using System;\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\nusing OfficeDevPnP.Core.Utilities;\nusing System.Collections.Generic;\n\nnamespace Off... | c# | chosen |
[
{
"from": "system",
"value": "Add support for removing okanshi instances\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\n\nnamespace Okanshi.Dashboard\n{\n\tpublic interface IConfiguration\n\t{\n\t\tvoid Add(OkanshiServer server);\n\t\tIEnumerable<OkanshiServer> GetAll();\... | c# | chosen |
[
{
"from": "system",
"value": "Update tests to use explicit globals\n"
},
{
"from": "human",
"value": "using NUnit.Framework;\n\nnamespace Mond.Tests\n{\n [TestFixture]\n public class MondStateTests\n {\n [Test]\n public void MultiplePrograms()\n {\n cons... | c# | chosen |
[
{
"from": "system",
"value": "Allow blank/root route to be configured\n"
},
{
"from": "human",
"value": "using System.Web.Mvc;\r\nusing System.Web.Routing;\r\n\r\nnamespace Navigation.Mvc\r\n{\r\n\tpublic class RouteConfig\r\n\t{\r\n\t\tpublic static void AddStateRoutes()\r\n\t\t{\r\n\t\t\tif (... | c# | chosen |
[
{
"from": "system",
"value": "Fix camera flip bug at x=0\n"
},
{
"from": "human",
"value": "using System.Linq;\nusing Assets.Scripts.Helpers;\nusing UnityEngine;\n\npublic class SelfLevelingController : MonoBehaviour\n{\n public float MaxRotateAngle = 0.25f;\n\n void Start()\n {\n\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add implementation for argument exceptions for serializing.\n"
},
{
"from": "human",
"value": "namespace TraktApiSharp.Services\n{\n using Authentication;\n\n /// <summary>Provides helper methods for serializing and deserializing Trakt objects.</summary>\n ... | c# | chosen |
[
{
"from": "system",
"value": "Update to make hidden input for token self-closing"
},
{
"from": "human",
"value": "using System.Web.Mvc;\nusing System.Web.Mvc.Html;\nusing CourtesyFlush;\n\nnamespace System.Web.WebPages\n{\n public static class HtmlHelperExtension\n {\n public stati... | c# | chosen |
[
{
"from": "system",
"value": "Allow access to the Data object\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing Hangfire.MemoryStorage.Database;\nusing Hangfire.Server;\nusing Hangfire.Storage;\n\nnamespace Hangfire.MemoryStorage\n{\n public class MemoryStorage : Jo... | c# | chosen |
[
{
"from": "system",
"value": "Remove `internal-reportinstallsuccess` from `dotnet complete`.\n\nThis commit removes `internal-reportinstallsuccess` from `dotnet complete` by\nchanging the command's help text to an empty string. This causes the parser to\ntreat the command as hidden and does not match the c... | c# | chosen |
[
{
"from": "system",
"value": "Replace order of default settings\n"
},
{
"from": "human",
"value": "using Microsoft.Extensions.Options;\nusing Newtonsoft.Json;\nusing Newtonsoft.Json.Linq;\nusing Orleans.Providers.MongoDB.Configuration;\nusing Orleans.Runtime;\nusing Orleans.Serialization;\n\nna... | c# | chosen |
[
{
"from": "system",
"value": "Add scenario test to check the minimum string length constraint is ignored\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing System.Linq;\nusing System.Text;\nusing Ploeh.AutoFix... | c# | chosen |
[
{
"from": "system",
"value": "Break build again for TeamCity email notify test.\n\nSigned-off-by: Alexander J Mullans <60c6d277a8bd81de7fdde19201bf9c58a3df08f4@alexmullans.com>\n"
},
{
"from": "human",
"value": "namespace Siftables\n{\n public partial class MainWindowView\n {\n pub... | c# | chosen |
[
{
"from": "system",
"value": "Fix indentation for scheduled triggers\n"
},
{
"from": "human",
"value": "// Copyright 2019 Maintainers of NUKE.\n// Distributed under the MIT License.\n// https://github.com/nuke-build/nuke/blob/master/LICENSE\n\nusing System;\nusing System.Linq;\nusing Nuke.Common... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.