conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Add missing XML docs to code.\nbugid: 272\n\n"
},
{
"from": "human",
"value": "using System;\r\n\r\nnamespace Csla.Serialization.Mobile\r\n{\r\n /// <summary>\r\n /// Placeholder for null child objects.\r\n /// </summary>\r\n [Serializable()]\r\n public sealed... | c# | chosen |
[
{
"from": "system",
"value": "Change user picture field to PictureUrl\n"
},
{
"from": "human",
"value": "// Copyright (c) ComUnity 2015\n// Hans Malherbe <hansm@comunity.co.za>\n\nusing System;\nusing System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing System.Compon... | c# | chosen |
[
{
"from": "system",
"value": "Add custom char comparison to extension methods\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\n\nnamespace Ganss.Text\n{\n /// <summary>\n /// Provides extension methods.\n /// </summary>\n public static class Extensions\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Change the way we match args to property tokens to more closely match Serilog when you pass in too few or too many arguments\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing Akka.Event;\nusing Serilog.Ev... | c# | chosen |
[
{
"from": "system",
"value": "Call 'update' with Delta time\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nusing Duality;\nusing RockyTV.Duality.Plugins.IronPython.Resources;\n\nusing IronPython.Hosting;\nusing IronPython.Runtime;\nusi... | c# | chosen |
[
{
"from": "system",
"value": "Change version up to 1.1.0\n"
},
{
"from": "human",
"value": "using UnityEngine;\r\nusing System.Reflection;\r\n\r\n[assembly: AssemblyVersion(\"1.0.0.*\")]\r\npublic class Loader : MonoBehaviour\r\n{\r\n /// <summary>\r\n /// DebugUI prefab to instantiate.\r... | c# | chosen |
[
{
"from": "system",
"value": "Put variables in Main first\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing static System.Console;\n\nnamespace ConsoleApp\n{\n public class Table\n {\n private readonly s... | c# | chosen |
[
{
"from": "system",
"value": "Add standalone ifdef to leap example scene script\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nusing UnityEngine;\nusing Microsoft.MixedReality.Toolkit.Input;\nusing TMPro;\n#if LEAPMOTIONCORE_PRE... | c# | chosen |
[
{
"from": "system",
"value": "Make sure that classes generated derive from a common type to allow code sharing\n"
},
{
"from": "human",
"value": "// Copyright (c) Alex Ghiondea. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license inform... | c# | chosen |
[
{
"from": "system",
"value": "Add max job count to levels\n"
},
{
"from": "human",
"value": "using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\n\npublic class Levels : MonoBehaviour\n{\n /* Cette classe a pour destin d'être sur un prefab.\n * Ce prefab agir... | c# | chosen |
[
{
"from": "system",
"value": "Move test into correct namespace.\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Text.RegularExpressions;\r\nusing Should;\r\nusing Xunit;\r\n\r\nnamespace Cassette.UI\r\n{\r\n public class PlaceholderTracker_Tests\r\n {\r\n [Fact]\r\... | c# | chosen |
[
{
"from": "system",
"value": "Use static HttpClient in SO module\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json;\nusing System;\nusing System.Net;\nusing System.Net.Http;\nusing System.Threading.Tasks;\n\nnamespace Modix.Services.StackExchange\n{\n public class StackExchangeService... | c# | chosen |
[
{
"from": "system",
"value": "Fix assembly and file versions\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 att... | c# | chosen |
[
{
"from": "system",
"value": "Reduce testing of coordinate nodes call\n"
},
{
"from": "human",
"value": "using System;\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\n\nnamespace Consul.Test\n{\n [TestClass]\n public class CoordinateTest\n {\n [TestMethod]\n public ... | c# | chosen |
[
{
"from": "system",
"value": "Normalize directory separator char for finding the embedded icon\n"
},
{
"from": "human",
"value": "using System;\nusing System.Globalization;\nusing System.Windows.Data;\nusing System.Windows.Media.Imaging;\nusing PackageExplorerViewModel;\n\nnamespace PackageExpl... | c# | chosen |
[
{
"from": "system",
"value": "Add doc comments for Author and Committer\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Diagnostics;\n\nnamespace Octokit\n{\n /// <summary>\n /// An enhanced git commit containing links to additional resources\n /// </... | c# | chosen |
[
{
"from": "system",
"value": "Fix race in VBCSCompiler test\n\nNeed to account for the case that the callback executes before the handle is assigned. Or that the handle is visible in the call back.\n\ncloses #41788\n"
},
{
"from": "human",
"value": "// Licensed to the .NET Foundation under one ... | c# | chosen |
[
{
"from": "system",
"value": "Fix mono bug in the FontHelper class\n"
},
{
"from": "human",
"value": "using System;\nusing System.Drawing;\nusing NUnit.Framework;\nusing Palaso.UI.WindowsForms;\n\nnamespace PalasoUIWindowsForms.Tests.FontTests\n{\n\t[TestFixture]\n\tpublic class FontHelperTests... | c# | chosen |
[
{
"from": "system",
"value": "Remove trailing spaces from stamnummer.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 Chirojeugd-Vlaanderen vzw. See the NOTICE file at the \n * top-level directory of this distribution, and at\n * https://gapwiki.chiro.be/copyright\n * \n * Licensed und... | c# | chosen |
[
{
"from": "system",
"value": "Fix remove logging controller apiKey parameter\n"
},
{
"from": "human",
"value": "/* Empiria Extensions Framework ******************************************************************************\n* ... | c# | chosen |
[
{
"from": "system",
"value": "Use local function to verify mimetype string.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Threading.Tasks;\nusing Windows.Storage;\n\nnamespace Papyrus\n{\n public static class EBookExtensions\n {\n public static async Task<bool> Ver... | c# | chosen |
[
{
"from": "system",
"value": "Rename GenerateWallet menuitem to WalletManager\n"
},
{
"from": "human",
"value": "using AvalonStudio.MainMenu;\nusing AvalonStudio.Menus;\nusing System;\nusing System.Collections.Generic;\nusing System.Composition;\nusing System.Text;\n\nnamespace WalletWasabi.Gui... | c# | chosen |
[
{
"from": "system",
"value": "Save xpub instead of hex (wallet compatibility)\n"
},
{
"from": "human",
"value": "using NBitcoin;\nusing Newtonsoft.Json;\nusing System;\n\nnamespace WalletWasabi.JsonConverters\n{\n\tpublic class ExtPubKeyJsonConverter : JsonConverter\n\t{\n\t\t/// <inheritdoc />... | c# | chosen |
[
{
"from": "system",
"value": "Add converters for System.Drawing structures."
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\nusing Draw = System.Drawing;\r\nusing Geo = ERY.AgateLib.Geometry;\r\n\r\nnamespace ERY.AgateLib.WinForms\r\n{\... | c# | chosen |
[
{
"from": "system",
"value": "Allow spaces in !meme command.\n\n"
},
{
"from": "human",
"value": "using System.Text.RegularExpressions;\n\nnamespace MarekMotykaBot.ExtensionsMethods\n{\n\tpublic static class StringExtensions\n\t{\n\t\tpublic static string RemoveRepeatingChars(this string inputS... | c# | chosen |
[
{
"from": "system",
"value": "Change version to a reasonable value\n\nLet's face it. This library is at v0.1.\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is... | c# | chosen |
[
{
"from": "system",
"value": "Fix a bug where dates are sometimes '-'\n\n"
},
{
"from": "human",
"value": "using System;\nusing System.Globalization;\nusing Newtonsoft.Json;\nusing Newtonsoft.Json.Converters;\nusing VirusTotalNET.Exceptions;\n\nnamespace VirusTotalNET.DateTimeParsers\n{\n pub... | c# | chosen |
[
{
"from": "system",
"value": "Add more types to dropdown\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.ComponentModel;\n\nnamespace osu.Game... | c# | chosen |
[
{
"from": "system",
"value": "Correct issue where settings.json cannot be found when using a shadow copied DLL.\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing System.Reflection;\nusing JetBrains.Annotations;\nusing Microsoft.Extensions.Configuration;\n\nnamespace Audi... | c# | chosen |
[
{
"from": "system",
"value": "Add test category to authenticated test\n"
},
{
"from": "human",
"value": "using System.IO;\nusing Microsoft.VisualStudio.TestTools.UnitTesting;\nusing RohlikAPI;\n\nnamespace RohlikAPITests\n{\n [TestClass]\n public class RohlikovacTests\n {\n priv... | c# | chosen |
[
{
"from": "system",
"value": "Tweak to content for display on ES marketing site\n\nRemoved P tags from the HTML content node."
},
{
"from": "human",
"value": "using System;\nusing Reachmail.Easysmtp.Post.Request;\n\npublic void Main() \n{\n var reachmail = Reachmail.Api.Create(\"<API Token>\"... | c# | chosen |
[
{
"from": "system",
"value": "Send message as DM, not default channel\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Text;\nusing System.Linq;\nusing Discord;\nusing Discord.WebSocket;\nusing Discord.Commands;\nusing System.Threading.Tasks;\n\n... | c# | chosen |
[
{
"from": "system",
"value": "Fix tools being installed to wrong path\n"
},
{
"from": "human",
"value": "using System;\r\n\r\nusing Cake.Frosting;\r\n\r\npublic class Program\r\n{\r\n public static int Main(string[] args)\r\n {\r\n return new CakeHost()\r\n .UseContext<C... | c# | chosen |
[
{
"from": "system",
"value": "Add back and cancel button commands\n"
},
{
"from": "human",
"value": "using System.Reactive.Linq;\nusing ReactiveUI;\nusing System;\n\nnamespace WalletWasabi.Fluent.ViewModels\n{\n\tpublic class AddWalletPageViewModel : NavBarItemViewModel\n\t{\n\t\tprivate string ... | c# | chosen |
[
{
"from": "system",
"value": "Use SequenceEqual and check null\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\n\nnamespace Kazyx.RemoteApi\n{\n /// <summary>\n /// Response of getMethodTypes API.\n /// </summary>\n public class MethodType\n {\n /// <s... | c# | chosen |
[
{
"from": "system",
"value": "Update the GelocationHandler example - seems people are still struggling with the callback concept.\n"
},
{
"from": "human",
"value": "// Copyright © 2010-2016 The CefSharp Authors. All rights reserved.\n//\n// Use of this source code is governed by a BSD-style lic... | c# | chosen |
[
{
"from": "system",
"value": "Handle message changing inventory size\n"
},
{
"from": "human",
"value": "using System.Drawing;\nusing MonoHaven.UI.Widgets;\n\nnamespace MonoHaven.UI.Remote\n{\n\tpublic class ServerInventoryWidget : ServerWidget\n\t{\n\t\tpublic static ServerWidget Create(ushort ... | c# | chosen |
[
{
"from": "system",
"value": "Use polling rate of 30\n"
},
{
"from": "human",
"value": "using CommandLine;\nusing System;\nusing System.IO;\nusing System.Threading;\nusing WebScriptHook.Framework;\nusing WebScriptHook.Framework.BuiltinPlugins;\nusing WebScriptHook.Framework.Plugins;\nusing WebS... | c# | chosen |
[
{
"from": "system",
"value": "Fix handling of transient bindings to accomodate bindings that have been specified for an ancestral type\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\n\nnamespace WootzJs.Injection\n{\n public class Context\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Use 1.0.0 as the default informational version so it's easy to spot when it might have been un-patched during a build\n"
},
{
"from": "human",
"value": "using System.Reflection;\n\n[assembly: AssemblyVersion(\"1.4.0.0\")]\n[assembly: AssemblyFileVersion(\"1.4.0.0\"... | c# | chosen |
[
{
"from": "system",
"value": "Add Try block.\nbugid: 623\n\n"
},
{
"from": "human",
"value": "#if NUNIT\r\nusing NUnit.Framework;\r\nusing TestClass = NUnit.Framework.TestFixtureAttribute;\r\nusing TestInitialize = NUnit.Framework.SetUpAttribute;\r\nusing TestCleanup = NUnit.Framework.TearDownA... | c# | chosen |
[
{
"from": "system",
"value": "Remove random context cleanup console output\n\ngit-svn-id: 40dd595c6684d839db675001a64203a1457e7319@8996 67ed7778-7388-44ab-90cf-0a291f65f57c\n"
},
{
"from": "human",
"value": "using System;\nusing System.Runtime.InteropServices;\n\nnamespace LibGPhoto2\n{\n\tpubli... | c# | chosen |
[
{
"from": "system",
"value": "Remove redundant specification of public in interface\n"
},
{
"from": "human",
"value": "// Copyright 2019 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\nnamespace VDrumExp... | c# | chosen |
[
{
"from": "system",
"value": "Use ChatRelay instead of UIManager when examining objects\n"
},
{
"from": "human",
"value": "using JetBrains.Annotations;\nusing PlayGroups.Input;\nusing UI;\nusing UnityEngine;\n\n\npublic class MessageOnInteract : InputTrigger\n{\n\tpublic string Message;\n\t// U... | c# | chosen |
[
{
"from": "system",
"value": "Make sure Settings is never null\n"
},
{
"from": "human",
"value": "namespace StackExchange.Exceptional.Internal\n{\n /// <summary>\n /// Internal Exceptional static controls, not meant for consumption.\n /// This can and probably will break without warnin... | c# | chosen |
[
{
"from": "system",
"value": "Use multicast instead of explicit BehaviourSubject setup\n"
},
{
"from": "human",
"value": "namespace Mappy\r\n{\r\n using System;\r\n using System.ComponentModel;\r\n using System.Reactive.Linq;\r\n using System.Reactive.Subjects;\r\n\r\n public sta... | c# | chosen |
[
{
"from": "system",
"value": "Delete stop reciever, to stop receiver use CancellationToken\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace TirkxDownloader.Framework.Interface\... | c# | chosen |
[
{
"from": "system",
"value": "Change MaybeNullWhenAttribute to internal to remove collision with diagnostics ns"
},
{
"from": "human",
"value": "#if NULLABLE_SHIMS\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespa... | c# | chosen |
[
{
"from": "system",
"value": "Fix regression in reading config"
},
{
"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 System.C... | c# | chosen |
[
{
"from": "system",
"value": "Fix display scoreboard packet id\n"
},
{
"from": "human",
"value": "using System;\nusing Pdelvo.Minecraft.Network;\n\nnamespace Pdelvo.Minecraft.Protocol.Packets\n{\n [PacketUsage(PacketUsage.ServerToClient)]\n public class DisplayScoreboard : Packet\n {\n... | c# | chosen |
[
{
"from": "system",
"value": "Bump assembly version to 2.5.0.\n"
},
{
"from": "human",
"value": "using System.Resources;\nusing System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the... | c# | chosen |
[
{
"from": "system",
"value": "Use native pointer for format string\n"
},
{
"from": "human",
"value": "using System;\nusing System.Runtime.InteropServices;\nusing Foundation;\n\n// Generated by Objective Sharpie (https://download.xamarin.com/objective-sharpie/ObjectiveSharpie.pkg)\n// > sharpie b... | c# | chosen |
[
{
"from": "system",
"value": "Fix directory selector crashing when attempting to display a bitlocker locked drive\n\nCloses #5477. Untested.\n"
},
{
"from": "human",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repositor... | c# | chosen |
[
{
"from": "system",
"value": "Fix issue with long data string (e.g. base64)\n\n#13\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Net.Http;\nusing System.Net.Http.Headers;\nusing System.Text;\n\nnamespace PinSharp.Http\n{\n internal class Fo... | c# | chosen |
[
{
"from": "system",
"value": "Increment build number to match 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 attribute v... | c# | chosen |
[
{
"from": "system",
"value": "Fix test referring to wrong value\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Bug2211;\nusing Marten;\nusing Marten.Testing.Harness;\nusing Shouldly;\nusing Weasel.Core;\nusing Xunit;\n\nnamespace Docume... | c# | chosen |
[
{
"from": "system",
"value": "Change serialize/deserialze abstract class to interface\n"
},
{
"from": "human",
"value": "using System.Collections;\nusing System.Collections.Generic;\nusing LiteNetLib.Utils;\nusing UnityEngine;\n\nnamespace LiteNetLibHighLevel\n{\n public class ServerSpawnSce... | c# | chosen |
[
{
"from": "system",
"value": "Set correct version number, v0.1.1\n"
},
{
"from": "human",
"value": "//------------------------------------------------------------------------------\n// <auto-generated>\n// This code was generated by a tool.\n// Runtime Version:4.0.30319.18449\n//\n// ... | c# | chosen |
[
{
"from": "system",
"value": "Add more features to vector 2 -> vector 3 conversion\n"
},
{
"from": "human",
"value": "using UnityEngine;\n\nnamespace Pear.InteractionEngine.Converters\n{\n\t/// <summary>\n\t/// Converts a Vector2 to Vector3\n\t/// </summary>\n\tpublic class Vector2ToVector3 : M... | c# | chosen |
[
{
"from": "system",
"value": "Add Employee Standard Hours endpoints\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the following\n// set of attributes. Change these attribute va... | c# | chosen |
[
{
"from": "system",
"value": "Add code to allow vendo img to show on Azure\n"
},
{
"from": "human",
"value": "@{\n ViewBag.Title = \"Home Page\";\n}\n\n\n <div class=\"col-md-5\">\n <h1>\n Vendo 5.0\n </h1>\n <p class=\"lead\">The Future of Vending Machines... | c# | chosen |
[
{
"from": "system",
"value": "Increase project version number to 0.7.0\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.InteropServices;\n\n[assembly: AssemblyCompany(\"Yevgeniy Shunevych\")]\n[assembly: AssemblyProduct(\"Atata\")]\n[assembly: AssemblyCopyright(... | c# | chosen |
[
{
"from": "system",
"value": "Add the ability to have a simple variable declared inline.\n"
},
{
"from": "human",
"value": "using System;\r\nusing LinqToTTreeInterfacesLib;\r\n\r\nnamespace LINQToTTreeLib.Variables\r\n{\r\n /// <summary>\r\n /// A simple variable (like int, etc.).\r\n ... | c# | chosen |
[
{
"from": "system",
"value": "Use latest compat version in MvcSandbox\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.IO;\nus... | c# | chosen |
[
{
"from": "system",
"value": "Fix deserialization of scheduled job.\n"
},
{
"from": "human",
"value": "// ==========================================================================\n// Squidex Headless CMS\n// ==========================================================================\n// Copy... | c# | chosen |
[
{
"from": "system",
"value": "Add special http method to return unprocessable entities\n"
},
{
"from": "human",
"value": "using System.Linq;\nusing Diploms.Dto;\nusing Microsoft.AspNetCore.Mvc;\n\nnamespace Diploms.WebUI\n{\n public static class ControllerExtensions\n {\n public sta... | c# | chosen |
[
{
"from": "system",
"value": "Fix some formatting for Teams\n"
},
{
"from": "human",
"value": "using System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing HipChatConnect.Controllers.Listeners.Github.Models;\nusing HipChatConnect.Controllers.Listeners.TeamCity;\n\nnamespace HipC... | c# | chosen |
[
{
"from": "system",
"value": "Add Layer to scene. Currently breaking on asset load\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing Microsoft.Xna.Framework;\nusing CocosDenshion;\nusing CocosSharp;\n\nnamespace Chess_Demo\n{\n class AppDelegate : CCApplicationDelegate\n ... | c# | chosen |
[
{
"from": "system",
"value": "Build fix after namespace adjustment\n"
},
{
"from": "human",
"value": "using Medallion.OData.Sql;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\n\nnamespace Medallion.OData.Samples.Web.Models\n{\n public class Provider... | c# | chosen |
[
{
"from": "system",
"value": "Add random position of card\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace MemoryGames\n{\n public class CardRandomPosition\n {\n private List<CardFace> gameCard = new List<CardFace>()... | c# | chosen |
[
{
"from": "system",
"value": "Test needs to be public\n"
},
{
"from": "human",
"value": "/* ****************************************************************************\n *\n * Copyright (c) Microsoft Corporation. \n *\n * This source code is subject to terms and conditions of the Apache Licens... | c# | chosen |
[
{
"from": "system",
"value": "Allow filtering weapons by unit\n"
},
{
"from": "human",
"value": "using BatteryCommander.Web.Models;\nusing Microsoft.AspNetCore.Mvc;\nusing Microsoft.EntityFrameworkCore;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\n\nnam... | c# | chosen |
[
{
"from": "system",
"value": "Check configuration values are set in tests\n"
},
{
"from": "human",
"value": "using System.Threading.Tasks;\nusing Auth0.AuthenticationApi;\nusing Auth0.AuthenticationApi.Models;\nusing Microsoft.Extensions.Configuration;\n\nnamespace Auth0.Tests.Shared\n{\n pu... | c# | chosen |
[
{
"from": "system",
"value": "Comment out the resource not found fix for .NET Core\n"
},
{
"from": "human",
"value": "// --------------------------------------------------------------------------------------------------------------------\n// <copyright file=\"Program.cs\" company=\"Quartz Softw... | c# | chosen |
[
{
"from": "system",
"value": "Enable sliding expiration by default as that is what the Tea Commerce cache does\n"
},
{
"from": "human",
"value": "using System;\nusing TeaCommerce.Api.Dependency;\nusing TeaCommerce.Api.Infrastructure.Caching;\nusing Umbraco.Core;\nusing Umbraco.Core.Cache;\n\nna... | c# | chosen |
[
{
"from": "system",
"value": "Fix a missing semicolon in an example\n"
},
{
"from": "human",
"value": "public class StudentControllerTests\r\n{\r\n\t[SetUp]\r\n\tpublic void Setup()\r\n\t{\r\n\t\t_fixture = new DatabaseFixture();\r\n\t\t_controller = new StudentController(new StudentRepository(_... | c# | chosen |
[
{
"from": "system",
"value": "Fix erroneous removal of code\n\nPiperOrigin-RevId: 350625811\n"
},
{
"from": "human",
"value": "using UnityEditor;\nusing UnityEngine;\n\nnamespace GoogleMobileAds.Editor\n{\n\n [InitializeOnLoad]\n [CustomEditor(typeof(GoogleMobileAdsSettings))]\n public ... | c# | chosen |
[
{
"from": "system",
"value": "Add more string extension methods for common operations\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Text;\n\nnamespace Novell.Directory.Ldap\n{\n internal static partial class ExtensionMethods\n {\n /// <summary>\... | c# | chosen |
[
{
"from": "system",
"value": "Update todo sample for latest metadata changes\n"
},
{
"from": "human",
"value": "// TodoItem.cs\n//\n\nusing System;\nusing System.Runtime.CompilerServices;\n\nnamespace Todo {\n\n [Imported]\n [IgnoreNamespace]\n [ScriptName(\"Object\")]\n internal sea... | c# | chosen |
[
{
"from": "system",
"value": "Use a more compatible method call\n\nFor some reason the way we are calling this method does not work on\nat least android v6. I have tested this on android 4, 5 and 6\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing BugsnagUnity.Payload;\... | c# | chosen |
[
{
"from": "system",
"value": "Add properties to patch creator button"
},
{
"from": "human",
"value": "namespace SIM.Tool.Windows.MainWindowComponents\n{\n using System;\n using System.IO;\n using System.Windows;\n using Sitecore.Diagnostics.Base;\n using JetBrains.Annotations;\n using SIM.... | c# | chosen |
[
{
"from": "system",
"value": "Set default build target to build.\n"
},
{
"from": "human",
"value": "using System;\nusing Faithlife.Build;\n\ninternal static class Build\n{\n\tpublic static int Main(string[] args) => BuildRunner.Execute(args, build =>\n\t{\n\t\tbuild.AddDotNetTargets(\n\t\t\tnew ... | c# | chosen |
[
{
"from": "system",
"value": "Fix result checker if no subscriber errors in response\n"
},
{
"from": "human",
"value": "using System;\nusing System.Linq;\nusing ExactTarget.TriggeredEmail.ExactTargetApi;\n\nnamespace ExactTarget.TriggeredEmail.Core\n{\n public class ExactTargetResultChecker\... | c# | chosen |
[
{
"from": "system",
"value": "Modify the migration so it rebuilds the table.\n"
},
{
"from": "human",
"value": "namespace EfMigrationsBug.Migrations\r\n{\r\n using System;\r\n using System.Data.Entity.Migrations;\r\n \r\n public partial class ChangePkType : DbMigration\r\n {\r\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add constructor that creates memory stream internally\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Text;\n\nnamespace Aurio.Streams {\n public class MemoryWriterStream : M... | c# | chosen |
[
{
"from": "system",
"value": "Update type extension for net40\n\n"
},
{
"from": "human",
"value": "// --------------------------------------------------------------------------------------------------------------------\n// <copyright file=\"TypeExtensions.cs\" company=\"OxyPlot\">\n// Copyrig... | c# | chosen |
[
{
"from": "system",
"value": "Use SdlClipboard on Linux when using new SDL2 backend\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.Pla... | c# | chosen |
[
{
"from": "system",
"value": "Change quarter type to enum to allow for \"ot\" as value.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Newtonsoft.Json;\n\nnamespace mdryden.cflapi.... | c# | chosen |
[
{
"from": "system",
"value": "Make GetValue method handle value types\n\nRemoving the `class` type restriction on the `SourcePage.GetValue` and\n`SourcePage.GetValueWithFallback` methods. Instead of `null`\n`default(TValue)` is returned when a value can not be extracted.\n"
},
{
"from": "human",
... | c# | chosen |
[
{
"from": "system",
"value": "Remove usage of parallelism when compiling templates (causing crash in Jurassic?).\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Web;\n\nnamespace Templar\n{\n public class TemplateSource... | c# | chosen |
[
{
"from": "system",
"value": "Handle optionargumentpairs with only option\n"
},
{
"from": "human",
"value": "namespace Moya.Runner.Console\n{\n public struct OptionArgumentPair\n {\n public string Option { get; set; }\n\n public string Argument { get; set; }\n\n publi... | c# | chosen |
[
{
"from": "system",
"value": "Add missing states and xmldoc for all states' purposes\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.Onli... | c# | chosen |
[
{
"from": "system",
"value": "Add required validation for rich text components on server side\n"
},
{
"from": "human",
"value": "using System.ComponentModel.DataAnnotations;\nusing Microsoft.AspNetCore.Mvc.ModelBinding.Validation;\n\nnamespace CollAction.ValidationAttributes\n{\n public class... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"disable automatic migration data loss\"\n\nThis reverts commit f6024ca8c0657cab4eeda90ef9225f66654fd6be.\n"
},
{
"from": "human",
"value": "namespace QuizFactory.Data.Migrations\n{\n using System;\n using System.Data.Entity.Migrations;\n using Syst... | c# | chosen |
[
{
"from": "system",
"value": "Replace map with manual initialization\n"
},
{
"from": "human",
"value": "using AutoMapper;\nusing MediatR;\nusing SupportManager.DAL;\nusing SupportManager.Web.Infrastructure.CommandProcessing;\n\nnamespace SupportManager.Web.Features.User\n{\n public class Cre... | c# | chosen |
[
{
"from": "system",
"value": "Move from powershell.getchell.org to ngetchell.com\n\nAlso adds an updated Bio to reflect my current work.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.ServiceModel.Syndication;\nusing System.W... | c# | chosen |
[
{
"from": "system",
"value": "Change etag from DateTime to string, to reflect updated api.\n"
},
{
"from": "human",
"value": "using System;\nusing Newtonsoft.Json;\n\nnamespace Storage.Net.Microsoft.Azure.DataLake.Store.Gen2.Models\n{\n public class DirectoryItem\n {\n [JsonProperty(\"... | c# | chosen |
[
{
"from": "system",
"value": "Use InvariantContains instead of Contains when looking for culture in the querystring\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Linq;\nusing System.Net.Http.Formatting;\nusing System.Web.Http.Controllers;\nusing System.Web.H... | c# | chosen |
[
{
"from": "system",
"value": "Update assembly version number to v1.1"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through the following \n// set of attributes. Change these attribute va... | c# | chosen |
[
{
"from": "system",
"value": "Add unit test for AuthSettings class\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing NUnit.Framework;\n\nnamespace Solomobro.Instagram.Tests.WebApi\n{\... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.