conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Change missed exception message to resource.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Collections.ObjectModel;\n\nnamespace SNPPlib\n{\n public class PagerCollection : Collection<string>\n {\n pu... | c# | chosen |
[
{
"from": "system",
"value": "Remove use of obsolete function\n"
},
{
"from": "human",
"value": "// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.\n \nusing UnrealBuildTool;\nusing System.Collections.Generic;\n \npublic class DriftUe4PluginServerTarget : TargetRules\n{\n public Dri... | c# | chosen |
[
{
"from": "system",
"value": "Add beginnings of a method to parse TMD files\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace LBD2OBJ\n{\n\tclass Program\n\t{\n\t\tstatic void M... | c# | chosen |
[
{
"from": "system",
"value": "Allow publish without outputting a .md file\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace GitReleaseNotes\n{\n public class ArgumentVerifier\n {\n public static bool VerifyArguments(GitReleaseNotesArguments arguments)\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add Ids to footer links\n\nAdd Ids to the links in the footer for Git metadata.\n"
},
{
"from": "human",
"value": "@model SiteOptions\n<hr />\n<footer>\n <p>\n © @Model.Metadata.Author.Name @DateTimeOffset.UtcNow.Year |\n <a id=\"link-status\"... | c# | chosen |
[
{
"from": "system",
"value": "Fix casing of warden service.\n"
},
{
"from": "human",
"value": "namespace IronFoundry.Warden.Service\n{\n public static class Constants\n {\n public const string DisplayName = \"Iron Foundry Warden Service\";\n public const string ServiceName =... | c# | chosen |
[
{
"from": "system",
"value": "Fix flushing issue and added number of files being processed.\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing System.Text;\n\nnamespace KuduSync.NET\n{\n public class Logger : IDisposable\n {\n private const int KeepAliveLogTi... | c# | chosen |
[
{
"from": "system",
"value": "Remove unnecessary static method IsApplicable\n\nThis method became unnecessary because of the factory.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Reflection;\nusing System.Text.RegularExpre... | c# | chosen |
[
{
"from": "system",
"value": "Add more quakes to map effect\n"
},
{
"from": "human",
"value": "// Original Work Copyright (c) Ethan Moffat 2014-2016\n// This file is subject to the GPL v2 License\n// For additional details, see the LICENSE file\n\nnamespace EOLib.IO.Map\n{\n public enum MapEf... | c# | chosen |
[
{
"from": "system",
"value": "Return view from index action\n"
},
{
"from": "human",
"value": "using System;\nusing System.Web.Mvc;\n\nnamespace Foo.Web.Controllers\n{\n\tpublic class HomeController : Controller\n\t{\n\t\tpublic ActionResult Index()\n\t\t{\n\t\t\tthrow new NotImplementedExcepti... | c# | chosen |
[
{
"from": "system",
"value": "Make the ASP.NET demo more interesting\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Diagnostics;\r\nusing System.Linq;\r\nusing System.Threading.Tasks;\r\nusing Microsoft.AspNetCore.Mvc;\r\n\r\nusing AspNetCo... | c# | chosen |
[
{
"from": "system",
"value": "Fix broken fail judgement 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 System;\nusing System.Linq;\nusing osu.Ga... | c# | chosen |
[
{
"from": "system",
"value": "Make sure you run the log after qemu starts... But it works.\n\n\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Text;\r\nusing System.IO;\r\n\r\nnamespace Cosmos.Kernel.LogTail\r\n{\r\n ... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Switch Guid implementation temporarily to avoid compile time error\"\n\nThis reverts commit 4d976094d1c69613ef581828d638ffdb04a48984.\n"
},
{
"from": "human",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See t... | c# | chosen |
[
{
"from": "system",
"value": "Fix non-generic dictionary serializer does not pack key value pair correctly.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections;\n\nnamespace MsgPack.Serialization.DefaultSerializers\n{\n\t/// <summary>\n\t///\t\tDictionary interface serial... | c# | chosen |
[
{
"from": "system",
"value": "Add 10s delay for always failing worker\n"
},
{
"from": "human",
"value": "using BackOffice.Jobs.Interfaces;\nusing BackOffice.Jobs.Reports;\nusing System;\n\nnamespace BackOffice.Worker\n{\n public class CProductAlwaysFailingReportWorker : IJobWorker\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Make the discovery context null tests pass.\n"
},
{
"from": "human",
"value": "namespace NBench.VisualStudio.TestAdapter\n{\n using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;\n using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;\n ... | c# | chosen |
[
{
"from": "system",
"value": "Reduce memory usage by using a hashset instead of a list\n\nThis would prevent accumulating multiple references to the same\ntype symbol.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Collections.Immutable;\nusing... | c# | chosen |
[
{
"from": "system",
"value": "Add separator before action item in tool bar\n"
},
{
"from": "human",
"value": "using System.Linq;\nusing JetBrains.ActionManagement;\nusing JetBrains.Annotations;\nusing JetBrains.Application.DataContext;\nusing JetBrains.ReSharper.Features.Inspections.Actions;\nus... | c# | chosen |
[
{
"from": "system",
"value": "Fix mono bug in the FontHelper class\n"
},
{
"from": "human",
"value": "using System;\nusing System.Drawing;\nusing System.Linq;\nusing NUnit.Framework;\nusing Palaso.UI.WindowsForms;\n\nnamespace PalasoUIWindowsForms.Tests.FontTests\n{\n\t[TestFixture]\n\tpublic c... | c# | chosen |
[
{
"from": "system",
"value": "Replace the existing ProblemDetailsFactory from MVC\n"
},
{
"from": "human",
"value": "using Microsoft.AspNetCore.Mvc;\nusing Microsoft.AspNetCore.Mvc.ApplicationModels;\nusing Microsoft.Extensions.DependencyInjection;\nusing Microsoft.Extensions.DependencyInjection... | c# | chosen |
[
{
"from": "system",
"value": "Remove dead private and comments\n"
},
{
"from": "human",
"value": "// Copyright 2006 Alp Toker <alp@atoker.com>\n// This software is made available under the MIT License\n// See COPYING for details\n\nusing System;\n//using GLib;\n//using Gtk;\nusing NDesk.DBus;\nu... | c# | chosen |
[
{
"from": "system",
"value": "Make CodeFactor happy at the cost of my own happiness (code unfolding)\n\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Diagnostics;\n\nnamespace osu_database_reader.Components.HitObjects\n{\n public class HitObjectSlider : Hi... | c# | chosen |
[
{
"from": "system",
"value": "Use separate output directories for debug and release builds\n"
},
{
"from": "human",
"value": "using Cake.Common;\nusing Cake.Frosting;\n\nnamespace Build\n{\n public sealed class Lifetime : FrostingLifetime<Context>\n {\n public override void Setup(Co... | c# | chosen |
[
{
"from": "system",
"value": "Fix the default virtual path\n\nThe virtual path shouldn't start with a slash.\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace ExternalTemplates\n{\n\t/// <summary>\n\t/// Default generator options.\n\t/// </summary>\n\tpublic class GeneratorOptions :... | c# | chosen |
[
{
"from": "system",
"value": "Fix test in the testproj\n"
},
{
"from": "human",
"value": "namespace testproj\n{\n using JetBrains.dotMemoryUnit;\n\n using NUnit.Framework;\n\n [TestFixture]\n public class UnitTest1\n {\n [Test]\n public void TestMethod1()\n {... | c# | chosen |
[
{
"from": "system",
"value": "Install service with \"delayed auto start\".\n"
},
{
"from": "human",
"value": "using System.ComponentModel;\nusing System.ServiceProcess;\nusing System.Configuration.Install;\n\nnamespace Graphite.System\n{\n public partial class ServiceInstaller\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix wrong value for the Preview tag.\n"
},
{
"from": "human",
"value": "//\n// Nikon3MakerNoteEntryTag.cs:\n//\n// Author:\n// Ruben Vermeersch (ruben@savanne.be)\n//\n// Copyright (C) 2010 Ruben Vermeersch\n//\n// This library is free software; you can redistribu... | c# | chosen |
[
{
"from": "system",
"value": "Change version number to 1.1\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 attri... | c# | chosen |
[
{
"from": "system",
"value": "Fix path issue for StreamOut\n"
},
{
"from": "human",
"value": "using System.IO;\nusing Containerizer.Services.Interfaces;\n\nnamespace Containerizer.Services.Implementations\n{\n public class StreamOutService : IStreamOutService\n {\n private readonly... | c# | chosen |
[
{
"from": "system",
"value": "Fix error with multithreaded UniversalDetector reseting\n\nAdditional argument checks were added as well\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing dokas.FluentS... | c# | chosen |
[
{
"from": "system",
"value": "Set Razor to be the only view engine\n"
},
{
"from": "human",
"value": "using FabricStore.Data;\nusing System;\nusing System.Collections.Generic;\nusing System.Data.Entity;\nusing System.Linq;\nusing System.Web;\nusing System.Web.Mvc;\nusing System.Web.Optimization... | c# | chosen |
[
{
"from": "system",
"value": "Add binaryTree.Clear(); to binary tree test.\n"
},
{
"from": "human",
"value": "#region\n\nusing System;\nusing BinaryTree.Models;\n\n#endregion\n\nnamespace BinaryTree\n{\n internal class Program\n {\n private static void Main()\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add Neon runtime information to NeonException\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace csnex\n{\n [Serializable()]\n public class NeonException: ApplicationException\n {\n public NeonException() {\n }\n\n public Ne... | c# | chosen |
[
{
"from": "system",
"value": "Fix use of private addin registry\n\nFor some reason the full path to the intermediate\ndirectory was resolving elsewhere.\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing Microsoft.Build.Framework;\nusing Microsoft.Build.Utilities;\nusing ... | c# | chosen |
[
{
"from": "system",
"value": "Support fields and highlights in responses\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\n\nnamespace NElasticsearch.Models\n{\n /// <summary>\n /// Individual hit response from ElasticSearch.\n... | c# | chosen |
[
{
"from": "system",
"value": "Update local echo server to work with binary messages\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing System.Net;\nusing System.Text;\nusing System.Threading;\nusing System.Threading.Tasks;\nusing wslib;\nusing wslib.Protocol;\n\nnamespace... | c# | chosen |
[
{
"from": "system",
"value": "Set Treenumerable version to 1.0.0\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Resources;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled through ... | c# | chosen |
[
{
"from": "system",
"value": "Add flow tree body to the function\n"
},
{
"from": "human",
"value": "namespace UnwindMC.Analysis\n{\n public class Function\n {\n public Function(ulong address)\n {\n Address = address;\n Status = FunctionStatus.Created;\n... | c# | chosen |
[
{
"from": "system",
"value": "Change example to contain default values\n"
},
{
"from": "human",
"value": "using System;\nusing System.Text;\n\nnamespace SCPI.Display\n{\n public class DISPLAY_GRID : ICommand\n {\n public string Description => \"Set or query the grid type of screen ... | c# | chosen |
[
{
"from": "system",
"value": "Fix BCC for EOI emails\n"
},
{
"from": "human",
"value": "using CroquetAustralia.Domain.Features.TournamentEntry.Events;\n\nnamespace CroquetAustralia.QueueProcessor.Email.EmailGenerators\n{\n public class U21WorldsEOIEmailGenerator : BaseEmailGenerator\n {\n... | c# | chosen |
[
{
"from": "system",
"value": "Fix issues due to merge conflict.\n"
},
{
"from": "human",
"value": "namespace TraktApiSharp.Tests\n{\n using FluentAssertions;\n using Microsoft.VisualStudio.TestTools.UnitTesting;\n\n [TestClass]\n public class TraktConfigurationTests\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add sample of data trigger\n"
},
{
"from": "human",
"value": "using System;\nusing FormsToolkit;\nusing Xamarin.Forms;\n\nnamespace ToolkitTests\n{\n public class App : Application\n {\n public App()\n {\n \n var messagingC... | c# | chosen |
[
{
"from": "system",
"value": "Update ModalitaPagamento validator with MP18..21 values\n"
},
{
"from": "human",
"value": "using BusinessObjects.Validators;\n\nnamespace FatturaElettronicaPA.Validators\n{\n /// <summary>\n /// Validates FatturaElettronicaBody.DatiPagamento.DettaglioPagamento... | c# | chosen |
[
{
"from": "system",
"value": "Fix MonoMac/MonoTouch (for MonoMac builds)\n"
},
{
"from": "human",
"value": "// Copyright 2013 Xamarin Inc.\n\nusing System;\nusing System.Reflection;\nusing System.Collections;\nusing System.Runtime.InteropServices;\n\nusing MonoMac.ObjCRuntime;\n\nnamespace MonoM... | c# | chosen |
[
{
"from": "system",
"value": "Change \"Countdown\" syncing priority order\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace DesktopWidgets.Helpers\n{\n public static class DateTimeSyncHelper\n {\n public static DateTime SyncNext(this DateTime dateTime, bool syncYear, bo... | c# | chosen |
[
{
"from": "system",
"value": "Add get top to service\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing PhotoLife.Data.Contracts;\nusing PhotoLife.Models;\nusing PhotoLife.Services.Con... | c# | chosen |
[
{
"from": "system",
"value": "Use ISO encoding, for cross platform\n"
},
{
"from": "human",
"value": "namespace SilentHunter\n{\n\tpublic static class Encoding\n\t{\n\t\t/// <summary>\n\t\t/// The default encoding to use for parsing Silent Hunter game files.\n\t\t/// </summary>\n\t\tpublic stat... | c# | chosen |
[
{
"from": "system",
"value": "Correct to print right result\n\nLost a change while moving from my developement branch to here.\n"
},
{
"from": "human",
"value": "using MQTTnet.Client.Connecting;\nusing MQTTnet.Exceptions;\n\nnamespace MQTTnet.Adapter\n{\n public class MqttConnectingFailedExc... | c# | chosen |
[
{
"from": "system",
"value": "Use more proper name for test\n"
},
{
"from": "human",
"value": "using System;\nusing Xunit;\n\nnamespace CSharpInternals.ExceptionHandling\n{\n public class Basics\n { \n [Fact]\n public void Test()\n {\n Assert.Throws<... | c# | chosen |
[
{
"from": "system",
"value": "Fix resource leak that occurred when any GFX files were missing from GFX folder\n"
},
{
"from": "human",
"value": "// Original Work Copyright (c) Ethan Moffat 2014-2016\n// This file is subject to the GPL v2 License\n// For additional details, see the LICENSE file\... | c# | chosen |
[
{
"from": "system",
"value": "Remove one more nullable disable\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\n\nusing osu.Framework.Gra... | c# | chosen |
[
{
"from": "system",
"value": "Stop spurious VS \"cannot override ExecuteAsync\" errors even if you don't specify a base class\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 proj... | c# | chosen |
[
{
"from": "system",
"value": "Set thread culture to InvariantCulture on startup\n\nFixes the data viewer in locales which use the decimal comma.\n"
},
{
"from": "human",
"value": "using System.Windows;\n\nnamespace OpenSage.DataViewer\n{\n public partial class App : Application\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Throw excpetion when type is not found\n"
},
{
"from": "human",
"value": "// Copyright (c) Wiesław Šoltés. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\nusing Perspex;\nusing Perspex.Con... | c# | chosen |
[
{
"from": "system",
"value": "Make MediaManager a static property\n"
},
{
"from": "human",
"value": "using AVKit;\n\nnamespace MediaManager.Platforms.Ios.Video\n{\n public class PlayerViewController : AVPlayerViewController\n {\n protected MediaManagerImplementation MediaManager =>... | c# | chosen |
[
{
"from": "system",
"value": "Fix NoShrineRoom logic if shrine is null\n\nIf for some reason the Shrine is destroyed, should keep the thought\npenalty.\n"
},
{
"from": "human",
"value": "using RimWorld;\nusing Verse;\n\nnamespace MTW_AncestorSpirits\n{\n class ThoughtWorker_NoShrineRoom : Th... | c# | chosen |
[
{
"from": "system",
"value": "Improve comments on the interface.\n"
},
{
"from": "human",
"value": "\r\nusing System.Collections.Generic;\r\nusing System.IO;\r\nnamespace LINQToTTreeLib.ExecutionCommon\r\n{\r\n /// <summary>\r\n /// Runs an execution request\r\n /// </summary>\r\n i... | c# | chosen |
[
{
"from": "system",
"value": "Add a few more tests\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Threading.Tasks;\nusing FluentAssertions;\nusing WeCantSpell.Tests.Utilities;\nusing Xunit;\n\nnamespace WeCantSpell.Tests.Integration.CSharp\n{\n public clas... | c# | chosen |
[
{
"from": "system",
"value": "Fix a typo in const name\n"
},
{
"from": "human",
"value": "namespace WebScriptHook.Framework.Messages.Outputs\n{\n /// <summary>\n /// Sent by the component to request a channel for itself on the server. \n /// This tells the server the name of this compo... | c# | chosen |
[
{
"from": "system",
"value": "Update default Max Body Size\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.ComponentModel;\n... | c# | chosen |
[
{
"from": "system",
"value": "Fix encounter url not opening\n"
},
{
"from": "human",
"value": "using System;\nusing System.Diagnostics;\nusing System.Windows;\nusing System.Windows.Input;\nusing System.Windows.Media;\nusing Data;\nusing Tera.Game;\n\nnamespace DamageMeter.UI\n{\n /// <summar... | c# | chosen |
[
{
"from": "system",
"value": "CLI: Fix single core batch processing\n\nAn oversight caused the batch converter to try to use '0' cores when running on a single-core processor\n"
},
{
"from": "human",
"value": "using System;\nusing System.IO;\nusing System.Linq;\nusing System.Threading.Tasks;\n/... | c# | chosen |
[
{
"from": "system",
"value": "Fix enumerable not being consumed\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 BenchmarkDotNet.Attributes;\nusing osu... | c# | chosen |
[
{
"from": "system",
"value": "Fix target file name generation\n"
},
{
"from": "human",
"value": "using System.IO;\n\nnamespace DevTyr.Gullap.Model\n{\n public static class MetaContentExtensions\n {\n public static string GetTargetFileName(this MetaContent content, SitePaths paths)\... | c# | chosen |
[
{
"from": "system",
"value": "Add example of using fixed provider\n\nThis is to be cleaned up\n"
},
{
"from": "human",
"value": "using Glimpse.Agent.Web;\nusing Microsoft.AspNet.Builder;\nusing Glimpse.Host.Web.AspNet;\nusing Microsoft.Framework.DependencyInjection;\n\nnamespace Glimpse.Agent.A... | c# | chosen |
[
{
"from": "system",
"value": "Fix og:image path for home page\n"
},
{
"from": "human",
"value": "@{\n Layout = \"~/Views/Shared/_LayoutPublic.cshtml\";\n}\n\n@section metaPage\n{\n <meta property=\"og:type\" content=\"website\">\n <meta property=\"og:image\" content=\"@(AppConfiguration.Va... | c# | chosen |
[
{
"from": "system",
"value": "Reorganize forms into project subfolder\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Windows.Forms;\r\n\r\nnamespace SqlDiffFramework\r\n{\r\n\tstatic class Program\r\n\t{\r\n\t\t/// <summary>\r\n\t\t/// The m... | c# | chosen |
[
{
"from": "system",
"value": "Read querystring instead of using route patterns\n"
},
{
"from": "human",
"value": "namespace WeatherDataFunctionApp\n{\n using System;\n using System.Net;\n using System.Net.Http;\n using System.Threading.Tasks;\n using Microsoft.Azure.WebJobs;\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add informational logging to launcher\n"
},
{
"from": "human",
"value": "using Microsoft.Web.Administration;\nusing Newtonsoft.Json;\nusing System;\nusing System.Collections.Generic;\nusing System.Data;\nusing System.Diagnostics;\nusing System.IO;\nusing System.Lin... | c# | chosen |
[
{
"from": "system",
"value": "Refactor verbose log of SingleThreadScheduler.\n\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Concurrent;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing System.Linq;\nusing System.Text;\nusing System.Threading;\nu... | c# | chosen |
[
{
"from": "system",
"value": "Test case includes string with quotes.\n\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Text;\r\n\r\nusing ecologylab.serialization;\r\nusing ecologylab.attributes;\r\n\r\nnamespace ecolog... | c# | chosen |
[
{
"from": "system",
"value": "Fix checkbox not updating correctly."
},
{
"from": "human",
"value": "using System;\nusing osu.Framework.Configuration;\r\nusing osu.Framework.Graphics.UserInterface;\r\n\r\nnamespace osu.Game.Overlays.Options\n{\n public class CheckBoxOption : BasicCheckBox\n ... | c# | chosen |
[
{
"from": "system",
"value": "Increase toleranceSeconds in SafeWait_PollingInterval_GreaterThanTimeout test\n"
},
{
"from": "human",
"value": "using System;\nusing System.Threading;\nusing NUnit.Framework;\n\nnamespace Atata.WebDriverExtras.Tests\n{\n [TestFixture]\n [Parallelizable(Paral... | c# | chosen |
[
{
"from": "system",
"value": "Use locale's decimal separator instead of hardcoding period.\n\nFixes #130.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing System.Windows;\nusing Syst... | c# | chosen |
[
{
"from": "system",
"value": "Set WinApiNet assembly as CLS-compliant\n"
},
{
"from": "human",
"value": "// --------------------------------------------------------------------------------------------------------------------\n// <copyright file=\"AssemblyInfo.cs\" company=\"WinAPI.NET\">\n// ... | c# | chosen |
[
{
"from": "system",
"value": "Add an API for getting the result of an operation without knowing it's type.\n"
},
{
"from": "human",
"value": "using Silk.Data.SQL.Expressions;\r\nusing Silk.Data.SQL.Queries;\r\nusing System.Threading.Tasks;\r\n\r\nnamespace Silk.Data.SQL.ORM.Operations\r\n{\r\n\... | c# | chosen |
[
{
"from": "system",
"value": "[8182] Remove xml encoding in reports.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing System.Text;\nusing System.Text.RegularExpressions;\nusing System.Threading.Tasks;\nusing System.... | c# | chosen |
[
{
"from": "system",
"value": "Check if the specified path is a physical or a virtual path\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Web;\r\nusing System.Web.Hosting;\r\nusing System.Configuration;\r\n\r\nnamespace NuGet.Server.Infrastructure\r\n{\r\n public class Packag... | c# | chosen |
[
{
"from": "system",
"value": "Read parameters from command line arguments\n"
},
{
"from": "human",
"value": "using static System.Console;\n\nnamespace ConsoleApp\n{\n class Program\n {\n private static void Main()\n {\n var connectionString = @\"Server=.\\SQLEXPRE... | c# | chosen |
[
{
"from": "system",
"value": "Update the Empty module template.\n"
},
{
"from": "human",
"value": "#region License\n// \n// Copyright (c) 2013, Kooboo team\n// \n// Licensed under the BSD License\n// See the file LICENSE.txt for details.\n// \n#endregion\nusing Kooboo.CMS.Sites.Extension.Module... | c# | chosen |
[
{
"from": "system",
"value": "Make way for the extended information which can be requested using the Show Droplet request.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace Digi... | c# | chosen |
[
{
"from": "system",
"value": "Use Uri's for subdocument file and photos\n"
},
{
"from": "human",
"value": "using MyDocs.Common;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Windows.Storage;\nusing Logic = MyDocs.Common.Model.Logic;\... | c# | chosen |
[
{
"from": "system",
"value": "Fix major bug when getting event handlers\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing System.Reflection;\r\nusing System.Reflection.Emit;\r\nusing System.Threading.Tasks;\r\n\r\nnamespace Cron... | c# | chosen |
[
{
"from": "system",
"value": "Remove goto statements from command line program\n"
},
{
"from": "human",
"value": "using Gigobyte.Daterpillar.Arguments;\nusing Gigobyte.Daterpillar.Commands;\nusing System;\n\nnamespace Gigobyte.Daterpillar\n{\n public class Program\n {\n internal st... | c# | chosen |
[
{
"from": "system",
"value": "Print hello world for k10 project.\n"
},
{
"from": "human",
"value": "#if NET45\nusing System;\nusing Microsoft.Owin.Hosting;\n\nnamespace MvcSample\n{\n public class Program\n {\n const string baseUrl = \"http://localhost:9001/\";\n\n public st... | c# | chosen |
[
{
"from": "system",
"value": "Add classes for prime numbers\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\nusing Microsoft.Azure.WebJobs;\r\n\r\nnamespace TaskWebJob\r\n{\r\n // To learn more about Microsoft Azure WebJobs SDK, p... | c# | chosen |
[
{
"from": "system",
"value": "Add resets when reloading level\n"
},
{
"from": "human",
"value": "/*\n ----------------------------------------------------------------------\n Numenta Platform for Intelligent Computing (NuPIC)\n Copyright (C) 2015, Numenta, Inc. Unless you have an agreement\... | c# | chosen |
[
{
"from": "system",
"value": "Fix huge bug related to instantiation of tolerance\n"
},
{
"from": "human",
"value": "using NBi.Core.ResultSet;\nusing System;\nusing System.Globalization;\nusing System.Linq;\n\nnamespace NBi.Core.Scalar.Comparer\n{\n public class ToleranceFactory\n {\n\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix Actipro language to construct the correct set of language services\n"
},
{
"from": "human",
"value": "using System;\nusing System.ComponentModel.Composition;\nusing System.ComponentModel.Composition.Hosting;\nusing System.ComponentModel.Composition.Primitives;\n... | c# | chosen |
[
{
"from": "system",
"value": "Make settings textboxes commit on focus lost\n"
},
{
"from": "human",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing osu.Framework.Graphics;\nu... | c# | chosen |
[
{
"from": "system",
"value": "Update nuget url to https\n"
},
{
"from": "human",
"value": "namespace NuGetPe\n{\n public static class NuGetConstants\n {\n public static readonly string DefaultFeedUrl = \"http://www.nuget.org/api/v2/\";\n public static readonly string V2Legac... | c# | chosen |
[
{
"from": "system",
"value": "Remove reference to unused \"Tasks\".\n"
},
{
"from": "human",
"value": "/* © 2017 Ivan Pointer\nMIT License: https://github.com/ivanpointer/NuLog/blob/master/LICENSE\nSource on GitHub: https://github.com/ivanpointer/NuLog */\n\nusing NuLog.LogEvents;\nusing System... | c# | chosen |
[
{
"from": "system",
"value": "[qtcreator] Simplify the .pro file names\n"
},
{
"from": "human",
"value": "// <copyright file=\"QtCreatorBuilder.cs\" company=\"Mark Final\">\r\n// Opus package\r\n// </copyright>\r\n// <summary>QtCreator package</summary>\r\n// <author>Mark Final</author>\r\n[ass... | c# | chosen |
[
{
"from": "system",
"value": "Add instanceperrequest lifetime scope to all services\n"
},
{
"from": "human",
"value": "using System.Web.Mvc;\nusing Autofac;\nusing Autofac.Integration.Mvc;\nusing Zk.Models;\nusing Zk.Services;\nusing Zk.Repositories;\n\nnamespace Zk\n{\n public static class ... | c# | chosen |
[
{
"from": "system",
"value": "Change CaF file system paths\n\n- We've moved back to using Box sync (instead of Box drive) on lab\ncomputer so file paths have changed\n"
},
{
"from": "human",
"value": "using System;\n\nnamespace DAQ.Environment\n{\n public class PHBonesawFileSystem : DAQ.Envi... | c# | chosen |
[
{
"from": "system",
"value": "Fix incorrect assumption that a workspace is a Visual Studio workspace\n\nFixes #27128\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for lic... | c# | chosen |
[
{
"from": "system",
"value": "Fix for U4-10821, render alt text attribute from grid image editor, or empty string if null (for screen readers)\n"
},
{
"from": "human",
"value": "@model dynamic\n@using Umbraco.Web.Templates\n\n@if (Model.value != null)\n{ \n var url = Model.value.image;\n ... | c# | chosen |
[
{
"from": "system",
"value": "Handle content pages as well\n"
},
{
"from": "human",
"value": "using System;\nusing Sancho.DOM.XamarinForms;\nusing Sancho.XAMLParser;\nusing TabletDesigner.Helpers;\nusing Xamarin.Forms;\n\nnamespace TabletDesigner\n{\n public interface ILogAccess\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix hoisting of null initializers\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing ICSharpCode.Decompiler;\nusing ICSharpCode.Decompiler.Ast.Transforms;\nusing ICSharpCode.NRefactory.CSharp;\n\nnamespace JSIL {\n public ... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.