conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Include all parameters in visibleRaycast\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System.Collections;\n\npublic class PhysicsHelper2D\n{\n\t/// <summary>\n\t/// Ignores collision for every single GameObject with a particular tag\n\t/// </summary... | c# | chosen |
[
{
"from": "system",
"value": "Comment test harness unit test with lame check\n"
},
{
"from": "human",
"value": "// --------------------------------------------------------------------------------------------------------------------\n// <copyright file=\"HarnessTests.cs\" company=\"LunchBox corp... | c# | chosen |
[
{
"from": "system",
"value": "Resolve full for specified .deployment project file.\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing Kudu.Core.Infrastructure;\n\nnamespace Kudu.Core.Deployment\n{\n public class DeploymentConfiguration\n {\n internal const st... | c# | chosen |
[
{
"from": "system",
"value": "Work around bug in FormsAuthMiddleware\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Threading.Tasks;\nusing Microsoft.Owin;\n\nnamespace JabbR.Middleware\n{\n using Microsoft.Owin.Security;\n using Microsof... | c# | chosen |
[
{
"from": "system",
"value": "Remove an useless namespace usage\n"
},
{
"from": "human",
"value": "using BlackFox.Roslyn.TestDiagnostics.NoNewGuid;\nusing BlackFox.Roslyn.TestDiagnostics.NoStringEmpty;\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\nusing NFluent;\nusing TestDiagnosticsUn... | c# | chosen |
[
{
"from": "system",
"value": "Add null check for request.\n"
},
{
"from": "human",
"value": "using System.Web;\n\nnamespace FeatureSwitcher.DebugConsole.Behaviours\n{\n public class DebugConsoleBehaviour\n {\n private readonly bool _isForced = false;\n\n private DebugConsole... | c# | chosen |
[
{
"from": "system",
"value": "Update SystemClock test to account for time passing.\n"
},
{
"from": "human",
"value": "// Copyright 2011 The Noda Time Authors. All rights reserved.\n// Use of this source code is governed by the Apache License 2.0,\n// as found in the LICENSE.txt file.\n\nusing Sy... | c# | chosen |
[
{
"from": "system",
"value": "Make usage of UrlBuilder and fix namespace\n"
},
{
"from": "human",
"value": "using SsrsDeploy;\nusing SsrsDeploy.ReportingService;\nusing SsrsDeploy.Execution;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.... | c# | chosen |
[
{
"from": "system",
"value": "Allow for grouping to null\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Concurrent;\nusing System.Threading;\nusing System.Threading.Tasks;\n\nnamespace Verdeler\n{\n internal class ConcurrencyLimiter<TSubject>\n {\n priva... | c# | chosen |
[
{
"from": "system",
"value": "Add access token to project.\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\n\nnamespace Bibliotheca.Server.Depository.FileSystem.Core.DataTransferObjects\n{\n public class ProjectDto\n {\n public ProjectDto()\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add sample script when a script is created\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing System.IO;\nusing Duality;\nusing Duality.Editor;\n\nnamespa... | c# | chosen |
[
{
"from": "system",
"value": "Rename ENVVAR in line with previous one (`OSU_TESTS_NO_TIMEOUT`)\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 dis... | c# | chosen |
[
{
"from": "system",
"value": "Make sure blue alien is visible next time you visit Sprites Room.\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System.Collections;\nusing Fungus;\n\npublic class SpritesRoom : Room \n{\n\tpublic Room menuRoom;\n\tpublic Animator blueAlienAnim;\n\tpu... | c# | chosen |
[
{
"from": "system",
"value": "Add a comment explaining why we're using QuadVertexBuffer\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": "Bump número de versión a 0.8.4.0\n"
},
{
"from": "human",
"value": "/*\nAssemblyInfo.cs\n\nThis file is part of Morgan's CLR Advanced Runtime (MCART)\n\nAuthor(s):\n César Andrés Morgan <xds_xps_ivx@hotmail.com>\n\nCopyright (c) 2011 - 2018 César Andrés Morgan\... | c# | chosen |
[
{
"from": "system",
"value": "Correct misspelled word in the interface summary"
},
{
"from": "human",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nnamespace osu.Framework.Timing... | c# | chosen |
[
{
"from": "system",
"value": "Fix major bug with component pool\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class ComponentPool<T> where T : MonoBehaviour\n{\n private Func<T> _instantiateAction;... | c# | chosen |
[
{
"from": "system",
"value": "Add new contructors to Index.cs\n"
},
{
"from": "human",
"value": "using System.Xml.Serialization;\n\nnamespace Gigobyte.Daterpillar\n{\n /// <summary>\n /// Represents a database indexed column.\n /// </summary>\n public struct IndexColumn\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Clear comments list on navigation\n"
},
{
"from": "human",
"value": "using CodeHub.Helpers;\nusing CodeHub.ViewModels;\nusing Octokit;\nusing System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Runtime.InteropServices.Wind... | c# | chosen |
[
{
"from": "system",
"value": "Use `ScheduleAfterChildren` to better match 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 Newto... | c# | chosen |
[
{
"from": "system",
"value": "Improve performance of puzzle 5\n\nImprove the performance of puzzle 5 (slightly) by starting the search at\nthe maximum divisor value, rather than at one.\n"
},
{
"from": "human",
"value": "// Copyright (c) Martin Costello, 2015. All rights reserved.\n// Licensed ... | c# | chosen |
[
{
"from": "system",
"value": "Change version number to 0.8.7\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n[assembly: AssemblyTitle(\"AngleSharp\")]\n[assembly: AssemblyDescription(\"AngleSharp is th... | c# | chosen |
[
{
"from": "system",
"value": "Remove comment, null check unnecessary.\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Linq;\nusing System.Net.Mail;\nusing System.Net.Mime;\n\nnamespace Mvc.Mailer {\n /// <summary>\n /// This class is a utility class for ... | c# | chosen |
[
{
"from": "system",
"value": "Replace InitOnLoad with MRTK > Utils > WMR > Check Config\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nusing Microsoft.MixedReality.Toolkit.Utilities.Editor;\nusing System.IO;\nusing UnityEditor;... | c# | chosen |
[
{
"from": "system",
"value": "Add the tests executable as a resource store\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.Frame... | c# | chosen |
[
{
"from": "system",
"value": "Fix webview reload on rotation\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing Android.App;\nusing Android.Content;\nusing Android.Content.PM;\nusing Android.OS;\nusing Android.Runtim... | c# | chosen |
[
{
"from": "system",
"value": "Call Insights.Save when reporting a crash\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing Xamarin;\n\nnamespace Espera.Core.Analytics\n{\n internal class XamarinAnalyticsEndpoint : IAnalyticsEndpoint\n {\n pri... | c# | chosen |
[
{
"from": "system",
"value": "Create VM in MVVM app template.\n"
},
{
"from": "human",
"value": "using System;\nusing Avalonia;\nusing Avalonia.Logging.Serilog;\nusing $safeprojectname$.ViewModels;\nusing $safeprojectname$.Views;\n\nnamespace $safeprojectname$\n{\n class Program\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Exclude compiler generated types by default\n"
},
{
"from": "human",
"value": "namespace TestStack.ConventionTests.ConventionData\r\n{\r\n using System;\r\n using System.Collections.Generic;\r\n using System.Linq;\r\n\r\n /// <summary>\r\n /// Th... | c# | chosen |
[
{
"from": "system",
"value": "Fix : Null ttl value\n"
},
{
"from": "human",
"value": "using StackExchange.Redis;\nusing System;\nusing System.Collections.Concurrent;\nusing System.Threading.Tasks;\n\nnamespace Redists.Core\n{\n internal class TimeSeriesWriter : ITimeSeriesWriter\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Removing the assembly version attribute since appveyor doesn't seem to respect custom version format\"\n\nThis reverts commit e7c328ca35f92db8eeeea7a5a53223a2370d697a.\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.Compil... | c# | chosen |
[
{
"from": "system",
"value": "Make sure AcrValues is not null\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Dominick Baier, Brock Allen\n *\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 * Y... | c# | chosen |
[
{
"from": "system",
"value": "Update file ver to 3.0.3.0\n"
},
{
"from": "human",
"value": "using System;\nnamespace Xamarin.Forms.GoogleMaps.Internals\n{\n internal class ProductInformation\n {\n public const string Author = \"amay077\";\n public const string Name = \"Xamar... | c# | chosen |
[
{
"from": "system",
"value": "Change how we find a local port. Connecting to a local port and releasing it is flaky and slow.\nuse network info to find what port is available\n"
},
{
"from": "human",
"value": "using System.Linq;\r\nusing System.Net.NetworkInformation;\r\nusing System.Net.Socket... | c# | chosen |
[
{
"from": "system",
"value": "Change sniper rifle projectile explosion sound.\n"
},
{
"from": "human",
"value": "//------------------------------------------------------------------------------\n// Revenge Of The Cats: Ethernet\n// Copyright (C) 2008, mEthLab Interactive\n//---------------------... | c# | chosen |
[
{
"from": "system",
"value": "Add compile-time constant to switch to no-op pool\n"
},
{
"from": "human",
"value": "// Copyright 2015 Renaud Paquay All Rights Reserved.\r\n// \r\n// Licensed under the Apache License, Version 2.0 (the \"License\");\r\n// you may not use this file except in compli... | c# | chosen |
[
{
"from": "system",
"value": "Set M:M relationsheep beetween Users and Roles\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Microsoft.EntityFrameworkCore;\nusing Diploms.Core;\n\nnamespace Diploms.Data... | c# | chosen |
[
{
"from": "system",
"value": "Fix look at speaker to follow Performative/Head\n"
},
{
"from": "human",
"value": "using UnityEngine;\n\npublic class LookAtSpeaker : MonoBehaviour {\n\n public bool active = false;\n public float speed;\n public float jitterFreq;\n public float jitterLe... | c# | chosen |
[
{
"from": "system",
"value": "Fix Linux hanging bug due to USB drive enumeration\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing NDesk.DBus;\n\nnamespace Palaso.UsbDrive.Linux\n{\n\tpublic class UDisks\n\t{\n\t\t... | c# | chosen |
[
{
"from": "system",
"value": "Use SelectMany in demo application\n"
},
{
"from": "human",
"value": "using System.Threading.Tasks;\nusing ToDoList.Automation.Api.ApiActions;\nusing Tranquire;\n\nnamespace ToDoList.Automation.Api\n{\n public static class Remove\n {\n public static IA... | c# | chosen |
[
{
"from": "system",
"value": "Mark this as required since it's nullable now\n"
},
{
"from": "human",
"value": "using System.ComponentModel.DataAnnotations;\n\nnamespace Tgstation.Server.Api.Models\n{\n\t/// <summary>\n\t/// Parameters for creating a <see cref=\"TestMerge\"/>\n\t/// </summary>\n... | c# | chosen |
[
{
"from": "system",
"value": "Add Tests for all public Api Methods\n"
},
{
"from": "human",
"value": "using BittrexSharp;\nusing FluentAssertions;\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\nusing System;\nusing System.Collections.Generic;\nusing System.Text;\nusing System.Threading.T... | c# | chosen |
[
{
"from": "system",
"value": "Update test to ensure page is accessible after alert\n"
},
{
"from": "human",
"value": "using System;\r\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\r\nusing OpenQA.Selenium;\r\nusing OpenQA.Selenium.Firefox;\r\nusing OpenQA.Selenium.Support.UI;\r\nusing To... | c# | chosen |
[
{
"from": "system",
"value": "Update typeforward assemblyqualifiedname for TimeZoneInfoException\n"
},
{
"from": "human",
"value": "// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Foundation licenses this file to you under the MIT license.\n// See the LICENSE file i... | c# | chosen |
[
{
"from": "system",
"value": "Fix issue that Builder for CatalogRunner is chosen when a builder for DtsRunner should be\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Text;\r\n\r\nnamespace NBi.Core.Etl.IntegrationServ... | c# | chosen |
[
{
"from": "system",
"value": "Update docs on XR SDK IHolographicFramePtr\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nusing Microsoft.MixedReality.Toolkit.WindowsMixedReality;\nusing System;\n\n#if WMR_ENABLED\nusing UnityEngi... | c# | chosen |
[
{
"from": "system",
"value": "Refactor route url for poiController\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Threading.Tasks;\nusing System.Web.Http;\nusing AutoMapper;\nusing GeoChallenger.Services.Interfaces;\nusing GeoChallenger.Web.Api... | c# | chosen |
[
{
"from": "system",
"value": "Raise an exception if there is an error from linode\n"
},
{
"from": "human",
"value": "\nusing System;\nusing System.IO;\nusing System.Text;\nusing System.Collections.Generic;\n\nusing Newtonsoft.Json;\nusing Newtonsoft.Json.Linq;\n\n\nnamespace MCloud.Linode {\n\n\... | c# | chosen |
[
{
"from": "system",
"value": "Scale summary video to 720p\n"
},
{
"from": "human",
"value": "using System.Diagnostics;\n\nnamespace Cams\n{\n\tpublic static class VideoConverter\n\t{\n\t\tpublic static bool CodecCopy(string inputFile, string outputFile)\n\t\t{\n\t\t\treturn Run($\"-y -i {inputF... | c# | chosen |
[
{
"from": "system",
"value": "Bump version to 8.2. For Sitecore 8.1.\n\nSemVer is confusing sometimes :)\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.InteropServices;\nusing System;\n\n[assembly: AssemblyCompany(\"Connective DX\")]\n[assembly: AssemblyProduc... | c# | chosen |
[
{
"from": "system",
"value": "Set active to null (true) by default\n"
},
{
"from": "human",
"value": "namespace Linterhub.Cli.Strategy\n{\n using System.IO;\n using System.Linq;\n using Runtime;\n using Engine;\n using Engine.Exceptions;\n using Linterhub.Engine.Extensions;\n\n... | c# | chosen |
[
{
"from": "system",
"value": "Remove one more async-await pair\n\n"
},
{
"from": "human",
"value": "// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.\n// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE\n\nusing System.Threading.Tasks;\n... | c# | chosen |
[
{
"from": "system",
"value": "Add support for `product` on the Plan Update API\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing Newtonsoft.Json;\n\nnamespace Stripe\n{\n public class StripePlanUpdateOptions : StripeBaseOptions, ISupportMetadata\n {\n [Jso... | c# | chosen |
[
{
"from": "system",
"value": "Kill subprocess if it doesn't exit after the app is closed\n"
},
{
"from": "human",
"value": "using System;\nusing CefSharp.BrowserSubprocess;\n\nnamespace TweetDuck.Browser{\n static class Program{\n internal const string Version = \"1.4.1.0\";\n\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix comment about the patch path.\n"
},
{
"from": "human",
"value": "using RimWorld;\nusing Verse;\n\nnamespace PrepareLanding.Defs\n{\n\n /// <summary>\n /// This class is called from a definition file when clicking the \"World\" button on the bottom menu ba... | c# | chosen |
[
{
"from": "system",
"value": "Add category service constructor validation\n\n"
},
{
"from": "human",
"value": "using System.Linq;\nusing ZobShop.Data.Contracts;\nusing ZobShop.Factories;\nusing ZobShop.Models;\nusing ZobShop.Services.Contracts;\n\nnamespace ZobShop.Services\n{\n public class... | c# | chosen |
[
{
"from": "system",
"value": "Fix typo in succeed command output\n"
},
{
"from": "human",
"value": "using InEngine.Core;\n\nnamespace InEngine.Commands\n{\n /// <summary>\n /// Dummy command for testing and sample code.\n /// </summary>\n public class AlwaysSucceed : AbstractCommand... | c# | chosen |
[
{
"from": "system",
"value": "Set the focus of passwordbox after app start.\n"
},
{
"from": "human",
"value": "using Avalonia.Controls;\nusing Avalonia.Markup.Xaml;\nusing Avalonia;\nusing Avalonia.Input;\nusing ReactiveUI;\nusing System.Reactive.Linq;\nusing System;\n\nnamespace WalletWasabi.Gu... | c# | chosen |
[
{
"from": "system",
"value": "Fix integration test due to breaking change in latest Octokit.net release\n"
},
{
"from": "human",
"value": "var octokit = Require<OctokitPack>();\nvar client = octokit.Create(\"ScriptCs.Octokit\");\nvar userTask = client.User.Get(\"alfhenrik\");\nvar user = userTas... | c# | chosen |
[
{
"from": "system",
"value": "Add Target Language, Compiler Interface\n"
},
{
"from": "human",
"value": "using System;\nnamespace Mocca {\n\tpublic class MoccaCompiler {\n\t\tpublic MoccaCompiler() {\n\t\t}\n\t}\n}\n\n"
},
{
"from": "gpt",
"value": "using System;\nusing System.Coll... | c# | chosen |
[
{
"from": "system",
"value": "Hide already deleted variants if not set\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing JoinRpg.DataModel;\n\nnamespace JoinRpg.Domain\n{\n public static class FieldExtensions\n {\n public static ... | c# | chosen |
[
{
"from": "system",
"value": "Use getter only auto property for player resources.\n"
},
{
"from": "human",
"value": "\nnamespace SettlersOfCatan.Mutable\n{\n public class Player\n {\n public Resources Hand { get; private set; }\n\n public Player()\n {\n Han... | c# | chosen |
[
{
"from": "system",
"value": "Use default routes from package.\n"
},
{
"from": "human",
"value": "using System.Data.Services;\nusing System.ServiceModel.Activation;\nusing System.Web.Routing;\nusing NuGet.Server;\nusing NuGet.Server.DataServices;\nusing NuGet.Server.Publishing;\nusing RouteMagic... | c# | chosen |
[
{
"from": "system",
"value": "Fix regression in Script serialization\n\nSince the logger in Script is no longer static, the Logger class needs to be serializable.\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace VGPrompter {\n\n public class Logger {\n\n public bool Enabl... | c# | chosen |
[
{
"from": "system",
"value": "Fix error in hash key selector would return -1\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Concurrent;\nusing System.Linq;\nusing KafkaNet.Model;\nusing KafkaNet.Protocol;\n\nnamespace KafkaNet\n{\n public class DefaultPartitionSel... | c# | chosen |
[
{
"from": "system",
"value": "Include manager leave request functions and update to version 1.1.0.15-rc2\n"
},
{
"from": "human",
"value": "using KeyPay.DomainModels.V2.Business;\nusing KeyPay.DomainModels.V2.Manager;\nusing System.Collections.Generic;\n\nnamespace KeyPay.ApiFunctions.V2\n{\n ... | c# | chosen |
[
{
"from": "system",
"value": "Update Delay to 30 seconds\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing System.Web;\n\nnamespace MIMWebClient.Core.Update\n{\n public c... | c# | chosen |
[
{
"from": "system",
"value": "Update prefabs resources.load flow, fix dual load.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class PrefabsPool : GameObjectBehavior { \n \n public Dictionary<... | c# | chosen |
[
{
"from": "system",
"value": "Change default behaviour to listen on all IP addresses\n"
},
{
"from": "human",
"value": "using System;\nusing System.Net;\nusing BmpListener.Bmp;\nusing BmpListener.JSON;\nusing Newtonsoft.Json;\n\nnamespace BmpListener\n{\n internal class Program\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix \"Random Skin\" text not showing up correctly\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 Realms;... | c# | chosen |
[
{
"from": "system",
"value": "Change CTRL to Ctrl in commands description.\n\nCo-Authored-By: tomaszprasolek <1a877c38cb151259581ee0940a398d86d3acddc2@o2.pl>"
},
{
"from": "human",
"value": "using System;\n\nnamespace GitIStage\n{\n internal sealed class ConsoleCommand\n {\n private... | c# | chosen |
[
{
"from": "system",
"value": "Change default backup service plan enum value.\n"
},
{
"from": "human",
"value": "namespace DD.CBU.Compute.Api.Contracts.Backup\n{\n /// <remarks/>\n [System.CodeDom.Compiler.GeneratedCodeAttribute(\"xsd\", \"4.0.30319.18020\")]\n [System.SerializableAttrib... | c# | chosen |
[
{
"from": "system",
"value": "Add SessionStateTests to AssemblyLoadContext collection\n"
},
{
"from": "human",
"value": "using Xunit;\nusing System;\nusing System.Collections;\nusing System.Collections.ObjectModel;\nusing System.Globalization;\nusing System.Management.Automation;\nusing System.M... | c# | chosen |
[
{
"from": "system",
"value": "Send Ack emails even if the system is in Simulation Mode.\n"
},
{
"from": "human",
"value": "using System.Text;\nusing log4net;\nusing Mail2Bug.Email.EWS;\n\nnamespace Mail2Bug.Email\n{\n class AckEmailHandler\n {\n \tprivate readonly Config.InstanceCon... | c# | chosen |
[
{
"from": "system",
"value": "Add support for invites without attached users\n"
},
{
"from": "human",
"value": "using System;\nusing Model = Discord.API.InviteMetadata;\n\nnamespace Discord.Rest\n{\n public class RestInviteMetadata : RestInvite, IInviteMetadata\n {\n private long _... | c# | chosen |
[
{
"from": "system",
"value": "Update exception handling for physical file manifest reader\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Threading.Tasks;\nusing Webpack.AspNetCore.Internal;\n\nnamespace Webpack.AspNet... | c# | chosen |
[
{
"from": "system",
"value": "Add debug log for latency on server\n"
},
{
"from": "human",
"value": "using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\nusing UnityEngine.Networking;\n\npublic class TableNetworking : NetworkBehaviour \n{\n\t[SyncVar]\n\tpublic stri... | c# | chosen |
[
{
"from": "system",
"value": "Fix division by zero bug for status service\n"
},
{
"from": "human",
"value": "using ServiceStack.ServiceHost;\nusing Rainy.Db;\nusing ServiceStack.OrmLite;\nusing System;\nusing ServiceStack.ServiceInterface.Cors;\nusing ServiceStack.Common.Web;\n\nnamespace Rainy.... | c# | chosen |
[
{
"from": "system",
"value": "Remove conditional Oracle connection builder compilation\n"
},
{
"from": "human",
"value": "#if NETFRAMEWORK\nusing System;\nusing Oracle.ManagedDataAccess.Client;\n\npublic static class OracleConnectionBuilder\n{\n public static OracleConnection Build()\n {\n... | c# | chosen |
[
{
"from": "system",
"value": "Remove ifdef for net45 in sample\n"
},
{
"from": "human",
"value": "\n#if NET45\nusing Microsoft.AspNet.Abstractions;\nusing Microsoft.AspNet.DependencyInjection;\nusing Microsoft.AspNet.DependencyInjection.Fallback;\nusing Microsoft.AspNet.Mvc;\nusing Microsoft.As... | c# | chosen |
[
{
"from": "system",
"value": "Add basic test for pushups and run\n"
},
{
"from": "human",
"value": "using BatteryCommander.Web.Models.Data;\nusing System;\nusing Xunit;\n\nnamespace BatteryCommander.Tests\n{\n public class ACFTTests\n {\n [Theory]\n [InlineData(15, 54, 84)]\... | c# | chosen |
[
{
"from": "system",
"value": "Make sure BodyText can take a large string.\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\r\nusing System.ComponentModel.DataAnnotations;\r\nusing FluentNHibernate.Mapping;\r\nusing UCDArch.Core.DomainModel;\r\n\r\nnamespace Commencement.Core... | c# | chosen |
[
{
"from": "system",
"value": "Update tests to match new equality not including online ID checks\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.... | c# | chosen |
[
{
"from": "system",
"value": "Throw exception for crazy input\n"
},
{
"from": "human",
"value": "using System.IO;\r\nusing System.Runtime.CompilerServices;\r\nusing Assent;\r\n\r\nnamespace ExpressionToCodeTest\r\n{\r\n static class ApprovalTest\r\n {\r\n public static void Verify(s... | c# | chosen |
[
{
"from": "system",
"value": "Fix name on test console write out\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing NUnit.Framework;\n\nnamespace Faker.Tests\n{\n [TestFixture]\n public class RandomNumberFixture\n {\n [TestCase(1, \"Coin flip\")] // 0 ..... | c# | chosen |
[
{
"from": "system",
"value": "Make settings object bit cleaner\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace Rooijakkers.MeditationTimer.Data\n{\n /// <summary>\n /// Stores settings data in local settings storage\n /// </summary>\n public class Settings\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add room name to settings\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 enable\n\nusing System;\nusing System.Coll... | c# | chosen |
[
{
"from": "system",
"value": "Add missing bootstrap reference (after removing bootswatch)\n"
},
{
"from": "human",
"value": "<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>@ViewBag.Title... | c# | chosen |
[
{
"from": "system",
"value": "Add Cygwin path replacement for Rename/Override\n"
},
{
"from": "human",
"value": "namespace OmniSharp.Rename\n{\n public class ModifiedFileResponse\n {\n public ModifiedFileResponse() {}\n\n public ModifiedFileResponse(string fileName, string b... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Added 5 tests for Length and a test for Time\"\n\nThis reverts commit fc9d9dd8deef45fa4946f25d9293d1c6fc8bf970.\n"
},
{
"from": "human",
"value": "namespace Gu.Units.Tests\n{\n using NUnit.Framework;\n\n public class UnitParserTests\n {\n [... | c# | chosen |
[
{
"from": "system",
"value": "Use better title for Mac/Mac64/XamMac assemblies/nuget packages\n"
},
{
"from": "human",
"value": "using System.Reflection;\n\n#if XAMMAC\n[assembly: AssemblyTitle(\"Eto.Forms - OS X Platform using Xamarin.Mac\")]\n[assembly: AssemblyDescription(\"OS X Platform for ... | c# | chosen |
[
{
"from": "system",
"value": "Rework login partial to BS4\n"
},
{
"from": "human",
"value": "@using Microsoft.AspNetCore.Identity\r\n@using mvc_individual_authentication.Models\r\n\r\n@inject SignInManager<ApplicationUser> SignInManager\r\n@inject UserManager<ApplicationUser> UserManager\r\n\r\n... | c# | chosen |
[
{
"from": "system",
"value": "Set specific version for Microsoft.DirectX.dll.\n\nThis is needed for strong-name references to work.\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.CompilerServices;\n\n// Information about this assembly is defined by the followin... | c# | chosen |
[
{
"from": "system",
"value": "Use ToString instead of Enum.GetName\n"
},
{
"from": "human",
"value": "// Copyright 2013 J.C. Moyer\n// \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// You may obtain a... | c# | chosen |
[
{
"from": "system",
"value": "Add a bunch of junk you might find in a top-level program\n"
},
{
"from": "human",
"value": "using System;\r\n\r\nConsole.WriteLine(\"Hello World!\");\r\n"
},
{
"from": "gpt",
"value": "using System;\r\nusing System.Linq.Expressions;\r\nusing Expressio... | c# | chosen |
[
{
"from": "system",
"value": "Remove unused depedency from test\n"
},
{
"from": "human",
"value": "using System.Threading.Tasks;\nusing Moq;\nusing NUnit.Framework;\nusing Ploeh.AutoFixture.NUnit3;\nusing SlackConnector.Connections;\nusing SlackConnector.Connections.Clients.Channel;\nusing Slac... | c# | chosen |
[
{
"from": "system",
"value": "Expand interface to be more testable. So methods must have a session (i.e. not null) and add a generic for session when no session is needed.\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Threading.Tasks;\nusing Smooth.IoC.Dappe... | c# | chosen |
[
{
"from": "system",
"value": "Convert FormattingKeyword enum to it class name counterparts\n"
},
{
"from": "human",
"value": "namespace Glimpse.Core.Plugin.Assist\n{\n public static class FormattingKeywords\n {\n public const string Error = \"error\";\n public const string F... | c# | chosen |
[
{
"from": "system",
"value": "Load OIDC configuration from root of Authority\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Concurrent;\nusing System.Collections.Generic;\nusing System.Threading;\nusing System.Threading.Tasks;\nusing Microsoft.IdentityModel.Protocols... | c# | chosen |
[
{
"from": "system",
"value": "Fix OsuGame test case not working\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 System.Collections.Gen... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.