conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Set default values (to avoid null references for invalid user data)\n" }, { "from": "human", "value": "using System;\n\nnamespace MultiMiner.Xgminer\n{\n //marked Serializable to allow deep cloning of CoinConfiguration\n [Serializable]\n public class Minin...
c#
chosen
[ { "from": "system", "value": "Fix package id version checking during pack\n- The logic wasn't in sync with nuget.exe\n" }, { "from": "human", "value": "// Copyright (c) .NET Foundation and contributors. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root...
c#
chosen
[ { "from": "system", "value": "Split WCF functionality out of Autofac.Extras.Multitenant into a separate\nassembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned\n3.1.0.\n" }, { "from": "human", "value": "//-------------------------------------------------------------------...
c#
chosen
[ { "from": "system", "value": "Split WCF functionality out of Autofac.Extras.Multitenant into a separate\nassembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned\n3.1.0.\n" }, { "from": "human", "value": "//-------------------------------------------------------------------...
c#
chosen
[ { "from": "system", "value": "[trunk] Add an improved string representation of PackageBuild instances\n" }, { "from": "human", "value": "// <copyright file=\"PackageBuildList.cs\" company=\"Mark Final\">\r\n// Opus\r\n// </copyright>\r\n// <summary>Opus Core</summary>\r\n// <author>Mark Final</...
c#
chosen
[ { "from": "system", "value": "Fix new warning around nullability\n" }, { "from": "human", "value": "// Copyright 2020 Jon Skeet. 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.\n\nusing Newtonsoft.Json;\nusing System;...
c#
chosen
[ { "from": "system", "value": "Add TODO for Input Requirement" }, { "from": "human", "value": "using HarryPotterUnity.Game;\nusing JetBrains.Annotations;\nusing UnityEngine;\n\nnamespace HarryPotterUnity.Cards.PlayRequirements\n{\n public class InputRequirement : MonoBehaviour, ICardPlayRequi...
c#
chosen
[ { "from": "system", "value": "Fix a typo in a comment\n" }, { "from": "human", "value": "namespace System\n{\n /// <summary>\n /// Represents a 32-bit integer.\n /// </summary>\n public struct Int32\n {\n // Note: integers are equivalent to instances of this data structure ...
c#
chosen
[ { "from": "system", "value": "Fix build error with unused variable\n" }, { "from": "human", "value": "using Android.App;\nusing Android.OS;\nusing MvvmCross.Droid.Support.V7.AppCompat;\nusing System;\n\nnamespace ExpandableList.Droid.Views\n{\n [Activity(Label = \"DetailsView\")]\n public...
c#
chosen
[ { "from": "system", "value": "Fix new test on CI host\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 System.Threading.Tasks;\nusing NUnit.Framework...
c#
chosen
[ { "from": "system", "value": "Remove old bootstrapper stuff from UI-project.\n" }, { "from": "human", "value": "using System.Windows;\nusing Arkivverket.Arkade.UI.Views;\nusing Arkivverket.Arkade.Util;\nusing Autofac;\nusing Prism.Autofac;\nusing Prism.Modularity;\n\nnamespace Arkivverket.Arkad...
c#
chosen
[ { "from": "system", "value": "Remove unused method on timeline db\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace Totem.Runtime.Timeline\n{\n\t/// <summary>\n\t/// Describes the database persisting the timeline\n\t/// </summar...
c#
chosen
[ { "from": "system", "value": "Update session only is value is changed\n" }, { "from": "human", "value": "namespace Nancy.Session\r\n{\r\n using System.Collections;\r\n using System.Collections.Generic;\r\n\r\n public class Session : ISession\r\n {\r\n private readonly IDiction...
c#
chosen
[ { "from": "system", "value": "Fix tournament videos stuttering when changing scenes\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.IO;\nusing ...
c#
chosen
[ { "from": "system", "value": "Fix typo in public variable\n" }, { "from": "human", "value": "using UnityEngine;\n\npublic class RoomGenerator : MonoBehaviour \n{\n\tpublic GameObject roomPrefab;\n\n\tpublic int roomCount = 100;\n\n\tpublic int spaceWidth = 500;\n\tpublic int spaceLength = 500;\...
c#
chosen
[ { "from": "system", "value": "Add support for listening on multiple urls.\n" }, { "from": "human", "value": "using System;\nusing DeployStatus.Configuration;\nusing DeployStatus.SignalR;\nusing log4net;\nusing Microsoft.Owin.Hosting;\n\nnamespace DeployStatus.Service\n{\n public class DeployS...
c#
chosen
[ { "from": "system", "value": "Create and release tooltip content on demand\n\nSave memory by not holding on to contents of tooltip (comment thread).\n" }, { "from": "human", "value": "using System;\nusing System.Windows.Controls;\nusing GitHub.InlineReviews.Views;\nusing GitHub.InlineReviews.Vi...
c#
chosen
[ { "from": "system", "value": "Fix up youtube URL regex matching\n" }, { "from": "human", "value": "using System.Collections.Generic;\n\nnamespace Umbraco.Web.Media.EmbedProviders\n{\n public class YouTube : EmbedProviderBase\n {\n public override string ApiEndpoint => \"https://www...
c#
chosen
[ { "from": "system", "value": "Fix issue with Page calculation\n" }, { "from": "human", "value": "using System;\nusing Newtonsoft.Json;\n\nnamespace ErgastApi.Responses\n{\n // TODO: Use internal/private constructors for all response types?\n public abstract class ErgastResponse\n {\n ...
c#
chosen
[ { "from": "system", "value": "Add checking of Read() return value.\n\nWithout this using of non-initialized (0) value or value from the previous step of loop.\n" }, { "from": "human", "value": "using System.Linq;\r\nusing System.Text;\r\n\r\nnamespace Modbus.IO\r\n{\r\n internal static class...
c#
chosen
[ { "from": "system", "value": "Sort and remove unused usings\n" }, { "from": "human", "value": "using GitHub.UI;\nusing GitHub.VisualStudio.UI;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing System.Windows.Media;\n\...
c#
chosen
[ { "from": "system", "value": "Add extra work to RedditBrowser sample\n" }, { "from": "human", "value": "using Stylet.Samples.RedditBrowser.Events;\nusing Stylet.Samples.RedditBrowser.RedditApi;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing Syst...
c#
chosen
[ { "from": "system", "value": "Fix Sleep of the test program\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading;\nusing System.Threading.Tasks;\nusing XboxOnePadReader;\n\nnamespace PadReaderTest\n{\...
c#
chosen
[ { "from": "system", "value": "Write Log message for test\n" }, { "from": "human", "value": "using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class Test1 : MonoBehaviour {\n\n\t// Use this for initialization\n\tvoid Start () {\n\t\t\n\t}\n\t\n\t// Update...
c#
chosen
[ { "from": "system", "value": "Remove unused line of code\n\n" }, { "from": "human", "value": "namespace OpenKh.Game\n{\n public class Global\n {\n public const int ResolutionWidth = 512;\n public const int ResolutionHeight = 416;\n public const int ResolutionRemixWidt...
c#
chosen
[ { "from": "system", "value": "Update expected SR in test\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;\nusing osu.Game.Beatmaps;\nu...
c#
chosen
[ { "from": "system", "value": "Disable text tests for now\n" }, { "from": "human", "value": "using System;\nusing System.Drawing.Imaging;\nusing System.IO;\nusing NUnit.Framework;\nusing ValveResourceFormat;\nusing ValveResourceFormat.ResourceTypes;\n\nnamespace Tests\n{\n public class Textur...
c#
chosen
[ { "from": "system", "value": "Support to map swagger UI to application root url\n\nUseSwaggerUI will check for special case empty RoutePrefix and allow mapping swagger UI to application root url." }, { "from": "human", "value": "using System;\nusing Microsoft.AspNetCore.StaticFiles;\nusing Swas...
c#
chosen
[ { "from": "system", "value": "Add registration options for hover request\n" }, { "from": "human", "value": "//\n// Copyright (c) Microsoft. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n//\n\nusing Microsoft.PowerShel...
c#
chosen
[ { "from": "system", "value": "Build Script - cleanup and filling out vars\n" }, { "from": "human", "value": "//#tool nuget:?package=NUnit.ConsoleRunner&version=3.4.0\n\nvar target = Argument(\"target\", \"Default\");\nvar configuration = Argument(\"configuration\", \"Release\");\n\n// Define dir...
c#
chosen
[ { "from": "system", "value": "Fix tests, but not seeding Database anymore\n" }, { "from": "human", "value": "using System.Data.Entity;\nusing Kandanda.Dal.DataTransferObjects;\n\nnamespace Kandanda.Dal\n{\n public class KandandaDbContext : DbContext\n {\n public KandandaDbContext()...
c#
chosen
[ { "from": "system", "value": "Use Helper to create instance from assembly\n\nActivator takes a full path to the assembly and we only have the\nassembly file name.\n" }, { "from": "human", "value": "\nnamespace nuPickers.Shared.DotNetDataSource\n{\n using nuPickers.Shared.Editor;\n using S...
c#
chosen
[ { "from": "system", "value": "Add date to status report\n\n" }, { "from": "human", "value": "namespace Certify.Models.Shared\n{\n public class RenewalStatusReport\n {\n public string InstanceId { get; set; }\n public string MachineName { get; set; }\n public ManagedSi...
c#
chosen
[ { "from": "system", "value": "Add `HasPriorLearning` to draft response\n\n" }, { "from": "human", "value": "using System;\nusing SFA.DAS.CommitmentsV2.Types;\n\nnamespace SFA.DAS.CommitmentsV2.Api.Types.Responses\n{\n public sealed class GetDraftApprenticeshipResponse\n {\n public ...
c#
chosen
[ { "from": "system", "value": "Fix FortuneTeller for .NET4 not unregistering from eureka on app shutdown\n" }, { "from": "human", "value": "using Autofac;\nusing Autofac.Integration.WebApi;\nusing FortuneTellerService4.Models;\nusing Pivotal.Discovery.Client;\nusing System;\nusing System.Collect...
c#
chosen
[ { "from": "system", "value": "Add extra test for generic type for naming\n" }, { "from": "human", "value": "using System;\nusing Xunit;\n\nnamespace Stunts.Tests\n{\n public class StuntNamingTests\n {\n [Theory]\n [InlineData(\"StuntFactoryIDisposableIServiceProvider\" + Stu...
c#
chosen
[ { "from": "system", "value": "Disable broken test session thing.\n" }, { "from": "human", "value": "using System;\nusing System.Diagnostics.Eventing.Reader;\nusing System.Net;\nusing System.Net.Http;\nusing Cogito.Net.Http;\nusing Microsoft.Diagnostics.Tracing;\nusing Microsoft.Diagnostics.Trac...
c#
chosen
[ { "from": "system", "value": "Fix bug - command parameter is always null.\n" }, { "from": "human", "value": "#region Using\r\n\r\nusing System.Collections.Generic;\r\nusing System.Windows.Input;\r\nusing PuppyFramework.Services;\r\n\r\n#endregion\r\n\r\nnamespace PuppyFramework.MenuService\r\n{...
c#
chosen
[ { "from": "system", "value": "Fix AddSmtpSender extension methods to property add service\n\nResolves \"An asynchronous call is already in progress.\" error message due to SmtpClient being instantiated during startup and reused, irrespective of it being defined as a Scoped service." }, { "from": "hu...
c#
chosen
[ { "from": "system", "value": "[gh-620] Fix x-container-experiment-seed failure in .NET Framework branches\n" }, { "from": "human", "value": "using System.Collections.Generic;\r\nusing System.Linq;\r\nusing JetBrains.Annotations;\r\nusing MirrorSharp.Advanced;\r\nusing SharpLab.Server.Common;\r\n...
c#
chosen
[ { "from": "system", "value": "Remove 'Positions Vacant' sticky note\n" }, { "from": "human", "value": "<div class=\"sticky-notes\">\n <div class=\"sticky-note\">\n <i class=\"pin\"></i>\n <div class=\"content green\">\n <h1>\n GC Handicapping System\n ...
c#
chosen
[ { "from": "system", "value": "Fix showing digits - show '1' instead of 'D1'\n" }, { "from": "human", "value": "using System;\n\nnamespace GitIStage\n{\n internal sealed class ConsoleCommand\n {\n private readonly Action _handler;\n private readonly ConsoleKey _key;\n p...
c#
chosen
[ { "from": "system", "value": "Create Pool Tests work. removed obsolete tests\n\nSigned-off-by: matt raffel <a1c361500f8f28827fe56351c610aa9d1ba26ce8@evernym.com>\n" }, { "from": "human", "value": "using Hyperledger.Indy.PoolApi;\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\nusing Syste...
c#
chosen
[ { "from": "system", "value": "Handle other kinds of deserialization exceptions\n" }, { "from": "human", "value": "using Auth0.Core.Serialization;\nusing Newtonsoft.Json;\nusing System;\nusing System.Net.Http;\nusing System.Threading.Tasks;\n\nnamespace Auth0.Core\n{\n /// <summary>\n /// ...
c#
chosen
[ { "from": "system", "value": "Fix for treating enum types as primitives due non-enumeration facets\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing System.Xml.Schema;\n\nnamespace Co...
c#
chosen
[ { "from": "system", "value": "Fix external logins partial for running in mono 3.2.x\n" }, { "from": "human", "value": "@model ICollection<AuthenticationClientData>\n\n@if (Model.Count > 0)\n{\n using (Html.BeginForm(\"ExternalLogin\", \"Account\", new { ReturnUrl = ViewBag.ReturnUrl }))\n ...
c#
chosen
[ { "from": "system", "value": "Mac: Call Form.OnShown after window is shown (to be consistent with dialog)\n" }, { "from": "human", "value": "using System;\nusing Eto.Drawing;\nusing Eto.Forms;\nusing MonoMac.AppKit;\nusing SD = System.Drawing;\n\nnamespace Eto.Platform.Mac.Forms\n{\n\tpublic cla...
c#
chosen
[ { "from": "system", "value": "Add testing of different strengths\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;\nusing osu.Game.Rule...
c#
chosen
[ { "from": "system", "value": "Check for null in IsNetworkAvailable implementation\n" }, { "from": "human", "value": "using davClassLibrary.Common;\nusing davClassLibrary.DataAccess;\nusing UniversalSoundBoard.DataAccess;\nusing Windows.Networking.Connectivity;\n\nnamespace UniversalSoundboard.C...
c#
chosen
[ { "from": "system", "value": "Fix namespace in httpclient registration\n" }, { "from": "human", "value": "using JoinRpg.Web.CheckIn;\nusing JoinRpg.Web.ProjectCommon;\nusing JoinRpg.Web.ProjectMasterTools.ResponsibleMaster;\nusing JoinRpg.Web.ProjectMasterTools.Subscribe;\nusing Microsoft.AspNet...
c#
chosen
[ { "from": "system", "value": "Add null check and xmldoc\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.Allocation;\nusing osu.Framework...
c#
chosen
[ { "from": "system", "value": "Add PlaySound as a debugging 'tool'\n" }, { "from": "human", "value": "using System;\nusing System.Threading;\n\nnamespace Bumblebee.Extensions\n{\n public static class Debugging\n {\n public static T DebugPrint<T>(this T obj)\n {\n Co...
c#
chosen
[ { "from": "system", "value": "Add check for Mono for LogicalCallContext\n\nSome projects are running an outdated Mono version which does not implement LogicalCallContext.\n\nChange-Id: I07d90a8cd3c909c17bbd9e856816ce625379512f\n" }, { "from": "human", "value": "using System.Runtime.Remoting.Mes...
c#
chosen
[ { "from": "system", "value": "Add test when IResponse not set\n" }, { "from": "human", "value": "using System.Collections.Generic;\nusing System.Collections.Immutable;\nusing Octokit;\nusing NSubstitute;\nusing NUnit.Framework;\nusing GitHub.Extensions;\n\npublic class ApiExceptionExtensionsTes...
c#
chosen
[ { "from": "system", "value": "Allow rotation lock on Android to function properly\n\nAccording to Google's documentation, fullSensor will ignore rotation\nlocking preferences, while fullUser will obey them.\n\nSigned-off-by: tytydraco <1a6917f7786c6ba900af5d5dbd13cb4a5214f8a7@gmail.com>\n" }, { "fro...
c#
chosen
[ { "from": "system", "value": "[Browser] Add detail panel, currently empty\n" }, { "from": "human", "value": "using Gtk;\r\nusing Mono.Addins;\r\nusing MonoDevelop.Ide.Gui;\r\nusing MonoDevelop.Ide.Gui.Components;\r\n\r\nnamespace MonoDevelop.AddinMaker.AddinBrowser\r\n{\r\n\tclass AddinBrowserWi...
c#
chosen
[ { "from": "system", "value": "Fix download didn't start by close response in getFileDetail, implement FillCredential method\n" }, { "from": "human", "value": "using System;\nusing System.Net;\nusing System.Threading;\nusing System.Threading.Tasks;\nusing TirkxDownloader.Framework;\n\nnamespace ...
c#
chosen
[ { "from": "system", "value": "Remove the ignore attribute once again\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.Framewo...
c#
chosen
[ { "from": "system", "value": "Fix 404 error when calling GetMammals, incorrect route\n" }, { "from": "human", "value": "<script src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js\" type=\"text/javascript\"></script>\n<script>\n var data = (function ($) { \n var getD...
c#
chosen
[ { "from": "system", "value": "Add response DTO marker interface for service documentation\n" }, { "from": "human", "value": "using ServiceStack.ServiceHost;\n\nnamespace License.Manager.Core.Model\n{\n [Route(\"/customers\", \"POST\")]\n [Route(\"/customers/{Id}\", \"PUT, DELETE\")]\n ...
c#
chosen
[ { "from": "system", "value": "Fix compiling error on .net451\n" }, { "from": "human", "value": "/*****************************************************************************\n * \n * ReoGrid - .NET Spreadsheet Control\n * \n * https://reogrid.net/\n *\n * THIS CODE AND INFORMATION IS PROVIDED ...
c#
chosen
[ { "from": "system", "value": "Add documentation for show airs.\n" }, { "from": "human", "value": "namespace TraktApiSharp.Objects.Get.Shows\n{\n using Newtonsoft.Json;\n\n /// <summary>\n /// The air time of a Trakt show.\n /// </summary>\n public class TraktShowAirs\n {\n ...
c#
chosen
[ { "from": "system", "value": "Remove delay test for CI for now\n" }, { "from": "human", "value": "using LanguageExt;\nusing static LanguageExt.Prelude;\nusing System;\nusing System.Reactive.Linq;\nusing System.Threading;\n\nusing Xunit;\n\nnamespace LanguageExtTests\n{\n public class DelayTe...
c#
chosen
[ { "from": "system", "value": "Add debug logging and injection of \"Accept-Charset\" header that is required when running on Mono\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.Http;\nusing System.Web.M...
c#
chosen
[ { "from": "system", "value": "Add xmldoc describing `SynchronizationContext` behaviour\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.Diagnost...
c#
chosen
[ { "from": "system", "value": "Fix a null reference error using cgminer as a backend\n" }, { "from": "human", "value": "using System;\nnamespace MultiMiner.Xgminer.Api\n{\n public class DeviceInformation\n {\n public DeviceInformation()\n {\n Status = String.Empty;...
c#
chosen
[ { "from": "system", "value": "Fix failing style check... second attempt\n" }, { "from": "human", "value": "using System;\r\nusing Newtonsoft.Json.Linq;\r\n\r\nnamespace Saule.Serialization\r\n{\r\n internal class ResourceDeserializer\r\n {\r\n private readonly JToken _object;\r\n ...
c#
chosen
[ { "from": "system", "value": "Clear record before start new recording\n" }, { "from": "human", "value": "using UnityEngine;\n\nnamespace UnityTouchRecorder\n{\n public class TouchRecorderController : MonoBehaviour\n {\n UnityTouchRecorderPlugin plugin = new UnityTouchRecorderPlugin...
c#
chosen
[ { "from": "system", "value": "Change output path, change screentshot image file name.\n" }, { "from": "human", "value": "using UnityEngine;\nusing UnityEditor;\nusing System;\nusing System.IO;\nusing System.Collections;\n\npublic class CaptureWindow : EditorWindow{\n\n private string saveFil...
c#
chosen
[ { "from": "system", "value": "Make OnPreKeyEvent isKeyboardShortcut a ref param\n" }, { "from": "human", "value": "// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.\n//\n// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\nnam...
c#
chosen
[ { "from": "system", "value": "Use placeholder expressions, {nr} doesn't work because of ConfigNode beign weird\n\n" }, { "from": "human", "value": "/** \n * Language Patches Framework\n * Translates the game into different Languages\n * Copyright (c) 2016 Thomas P.\n * Licensed under the terms ...
c#
chosen
[ { "from": "system", "value": "Update server side API for single multiple answer question\n" }, { "from": "human", "value": "using System.Collections.Generic;\nusing Promact.Trappist.DomainModel.Models.Question;\nusing System.Linq;\nusing Promact.Trappist.DomainModel.DbContext;\n\nnamespace Prom...
c#
chosen
[ { "from": "system", "value": "Remove erroneous \"$\" symbol from \"bling string.\"\n" }, { "from": "human", "value": "namespace Bakery.Configuration.Properties\r\n{\r\n\tusing System;\r\n\r\n\tpublic class PropertyNotFoundException\r\n\t\t: Exception\r\n\t{\r\n\t\tprivate readonly String proper...
c#
chosen
[ { "from": "system", "value": "Change default Search URL Prefix\n" }, { "from": "human", "value": "using System.ComponentModel;\nusing System.Windows;\nusing DesktopWidgets.WidgetBase.Settings;\n\nnamespace DesktopWidgets.Widgets.Search\n{\n public class Settings : WidgetSettingsBase\n {\n...
c#
chosen
[ { "from": "system", "value": "Fix encoding issue while the query string parameters contains Chinese characters\n" }, { "from": "human", "value": "using System;\nusing System.Collections.Generic;\nusing System.Collections.Specialized;\nusing System.Linq;\n\nnamespace Exceptionless.Core.Extension...
c#
chosen
[ { "from": "system", "value": "Make TestUserProfile service more derivation friendly\n" }, { "from": "human", "value": "// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.\n// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information....
c#
chosen
[ { "from": "system", "value": "Add description for mania special style\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.Allocation;\nusing...
c#
chosen
[ { "from": "system", "value": "Refactor away property setter usages to allow Color to be immutable.\n" }, { "from": "human", "value": "namespace dotless.Core.Plugins\n{\n using System;\n using Parser.Infrastructure.Nodes;\n using Parser.Tree;\n using Utils;\n using System.Componen...
c#
chosen
[ { "from": "system", "value": "Add support of Patch Creator 1.0.0.9\n" }, { "from": "human", "value": "namespace SIM.Tool.Windows.MainWindowComponents\n{\n using System.IO;\n using System.Windows;\n using Sitecore.Diagnostics.Base;\n using Sitecore.Diagnostics.Base.Annotations;\n using SIM....
c#
chosen
[ { "from": "system", "value": "Fix new test failing on headless runs\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\n#nullable disable\nusing NUnit.Framework...
c#
chosen
[ { "from": "system", "value": "Use external console when running DNX apps.\n\nThis allows DNX web projects to remain running. If an external console\nis not used then the dnx.exe process is terminated for some reason.\n" }, { "from": "human", "value": "//\n// DnxProjectConfiguration.cs\n//\n// A...
c#
chosen
[ { "from": "system", "value": "Add indicator to APFT list\n" }, { "from": "human", "value": "@model IEnumerable<APFT>\n\n<div class=\"page-header\">\n <h1>APFT @Html.ActionLink(\"Add New\", \"New\", \"APFT\", null, new { @class = \"btn btn-default\" })</h1>\n</div>\n\n<table class=\"table tab...
c#
chosen
[ { "from": "system", "value": "Increase number of tests total\n" }, { "from": "human", "value": "using System;\r\nusing System.Linq;\r\nusing System.Reflection;\r\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\r\n\r\nnamespace BudgetAnalyser.UnitTest\r\n{\r\n [TestClass]\r\n public c...
c#
chosen
[ { "from": "system", "value": "Add repository to bootstrap registrations\n" }, { "from": "human", "value": "using System;\nusing Agiil.Data;\nusing Agiil.Domain.Data;\nusing Autofac;\nusing CSF.Data;\nusing CSF.Data.Entities;\nusing CSF.Data.NHibernate;\n\nnamespace Agiil.Bootstrap.Data\n{\n pu...
c#
chosen
[ { "from": "system", "value": "Add warning for UWP that it works only in x86 yet\n" }, { "from": "human", "value": "using System;\nusing System.IO;\nusing System.Runtime.InteropServices;\nusing Windows.Storage;\n\nnamespace Urho.UWP\n{\n\tpublic static class UwpUrhoInitializer\n\t{\n\t\tinternal...
c#
chosen
[ { "from": "system", "value": "Change menu partial view type\n" }, { "from": "human", "value": "@inherits UmbracoViewPage<MenuViewModel>\n<a href=\"#menu\" id=\"menu-link\">\n <i class=\"fa fa-bars\" aria-hidden=\"true\"></i>\n <i class=\"fa fa-times\" aria-hidden=\"true\"></i>\n</a>\n<div...
c#
chosen
[ { "from": "system", "value": "Use new OAID reading method\n" }, { "from": "human", "value": "using System;\nusing System.Runtime.InteropServices;\nusing UnityEngine;\n\nnamespace com.adjust.sdk.oaid\n{\n#if UNITY_ANDROID\n public class AdjustOaidAndroid\n {\n private static AndroidJ...
c#
chosen
[ { "from": "system", "value": "Make internals (in particular Runtime.*) visible to the tests.\n" }, { "from": "human", "value": "using System;\nusing System.Reflection;\nusing System.Resources;\nusing System.Runtime.InteropServices;\n\n[assembly: AssemblyProduct(\"Python for .NET\")]\n[assembly: ...
c#
chosen
[ { "from": "system", "value": "Fix FxCop warning CA1018 (attributes should have AttributeUsage)\n\nSigned-off-by: dotnet-bot <03c4cb6107ae99956a7681f2c97ff7104809a2bd@microsoft.com>\n" }, { "from": "human", "value": "// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Fo...
c#
chosen
[ { "from": "system", "value": "Rephrase parsing to the end of input in terms of Map.\n" }, { "from": "human", "value": "using System.Diagnostics.CodeAnalysis;\n\nnamespace Parsley;\n\npublic static class ParserExtensions\n{\n public static bool TryParse<TItem, TValue>(\n this Parser<TIt...
c#
chosen
[ { "from": "system", "value": "Fix tab names on node views\n\nNew .GetDescription() in UnchainedMelody doesn't default to .ToString(),\nattribute needs to be present.\n" }, { "from": "human", "value": "using System.ComponentModel;\n\nnamespace StackExchange.Opserver.Views.Dashboard\n{\n publi...
c#
chosen
[ { "from": "system", "value": "Add the time as a title to the order notes date.\n\nOnly appears on them where we do a page refresh.\n" }, { "from": "human", "value": "@model ReviewOrderViewModel\n\n<section id=\"notes\" class=\"ui-corner-all display-form\">\n\n <header class=\"ui-corner-top u...
c#
chosen
[ { "from": "system", "value": "Add resources to the automated tests too\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": "Increment version number to sync up with NuGet\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 at...
c#
chosen
[ { "from": "system", "value": "Convert ToWords' tests to theory\n" }, { "from": "human", "value": "using Xunit;\n\nnamespace Humanizer.Tests\n{\n public class NumberToWordsTests\n {\n [Fact]\n public void ToWords()\n {\n Assert.Equal(\"one\", 1.ToWords());\n...
c#
chosen
[ { "from": "system", "value": "Use the same type variable for all three database servers\n" }, { "from": "human", "value": "using System;\nusing Business.Core.Profile;\n\nnamespace Version\n{\n class MainClass\n {\n public static void Main(string[] args) {\n Console.Write...
c#
chosen
[ { "from": "system", "value": "Update OData WebAPI to 5.5.0.0\n" }, { "from": "human", "value": "// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT License. See License.txt in the project root for license information.\n\nusing System;\nusing System.Reflecti...
c#
chosen
[ { "from": "system", "value": "[Mac] Fix sizing of embedded (wrapped) native NSViews\n\nThe EmbeddedNativeWidget creates its own parent NSView and we need\nto configure it to correctly size the child (the actual embedded view)\n" }, { "from": "human", "value": "using System;\nusing Xwt.Backends;\...
c#
chosen
[ { "from": "system", "value": "Fix - Modificata la generazione del Codice Richiesta e del Codice Chiamata come richiesto nella riunone dell'11-07-2019\n" }, { "from": "human", "value": "using SO115App.API.Models.Servizi.Infrastruttura.GestioneSoccorso;\nusing SO115App.FakePersistenceJSon.Gestion...
c#
chosen
[ { "from": "system", "value": "Add comments to public methods\n" }, { "from": "human", "value": "using System.Web.Script.Serialization;\n\nnamespace JsonConfig\n{\n public static class JsonConfigManager\n {\n #region Fields\n\n private static readonly IConfigFileLoader Config...
c#
chosen