conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Change repository version to \"0.0.0-alpha\". The version numbers are updated by the build script (appveyor.yml).\n"
},
{
"from": "human",
"value": "// -----------------------------------------------------------------------------------------------------------------... | c# | chosen |
[
{
"from": "system",
"value": "Fix compilation error within the unit test\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 license information.\n\nusing System.Threading.T... | c# | chosen |
[
{
"from": "system",
"value": "Add support for MetadataChanged/ItemMetadataChanged (whichever it turns out to be)\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json;\nusing Newtonsoft.Json.Converters;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;... | c# | chosen |
[
{
"from": "system",
"value": "Change the pattern for matches-time\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Globalization;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n\nnamespace NBi.Core.Calculation.Predicate.T... | c# | chosen |
[
{
"from": "system",
"value": "Fix breadcrumbs crash when last screen exits\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/master/LICENCE\n\nusing System.Linq;\nusing osu.F... | c# | chosen |
[
{
"from": "system",
"value": "Add title to android notifications object\n"
},
{
"from": "human",
"value": "namespace CertiPay.Common.Notifications.Notifications\n{\n public class AndroidNotification : Notification\n {\n public static string QueueName { get { return \"AndroidNotific... | c# | chosen |
[
{
"from": "system",
"value": "Add static constructor for scripting environment\n"
},
{
"from": "human",
"value": "namespace GraduatedCylinder.Geo\n{\n public class GeoPosition\n {\n private readonly Length _altitude;\n private readonly Latitude _latitude;\n private re... | c# | chosen |
[
{
"from": "system",
"value": "Remove using statement referring to Awesomium.\n"
},
{
"from": "human",
"value": "using Awesomium.Core;\nusing MVVM.CEFGlue.Infra;\nusing MVVM.CEFGlue.ViewModel.Example;\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Reflection;... | c# | chosen |
[
{
"from": "system",
"value": "Fix launching help through API on Linux (BL-4577)\n\nAnother case of case (in)sensitivity depending on the system.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Windows.Form... | c# | chosen |
[
{
"from": "system",
"value": "Fix for Nancy view conventions and static content conventions\n"
},
{
"from": "human",
"value": "using System;\nusing Nancy;\nusing Nancy.Conventions;\nusing System.IO;\n\nnamespace OpenIDConnect.Clients.Angular14.Bootstrap\n{\n public class CustomNancyBootstrap... | c# | chosen |
[
{
"from": "system",
"value": "Fix \"most played beatmap\" request breakage after property rename\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 Newt... | c# | chosen |
[
{
"from": "system",
"value": "Fix a bug where decompiled code input was not working\n\n"
},
{
"from": "human",
"value": "using ImGuiNET;\nusing OpenKh.Tools.Kh2MapStudio.Models;\nusing System.Numerics;\nusing static OpenKh.Tools.Common.CustomImGui.ImGuiEx;\n\nnamespace OpenKh.Tools.Kh2MapStudio... | c# | chosen |
[
{
"from": "system",
"value": "Use a different database name for now to avoid conflicts when switching versions\n\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/master/LI... | c# | chosen |
[
{
"from": "system",
"value": "Set focus on search box when select page visible\n"
},
{
"from": "human",
"value": "using System.ComponentModel.Composition;\nusing System.Windows.Controls;\nusing System.Windows.Input;\nusing GitHub.Exports;\nusing GitHub.ViewModels.Dialog.Clone;\n\nnamespace GitH... | c# | chosen |
[
{
"from": "system",
"value": "Adjust diffcalc test case to pass\n"
},
{
"from": "human",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing NUnit.Framework;\nusing osu.Game.Beatm... | c# | chosen |
[
{
"from": "system",
"value": "Reset version number (will be updated by gitversion)\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.InteropServices;\n\n#if DEBUG\n[assembly: AssemblyConfiguration(\"Debug\")]\n#else\n[assembly: AssemblyConfiguration(\"Release\")]... | c# | chosen |
[
{
"from": "system",
"value": "Increment minor build number for release\n"
},
{
"from": "human",
"value": "using System;\nusing System.Reflection;\nusing System.Runtime.CompilerServices;\nusing System.Runtime.InteropServices;\r\nusing System.Resources;\n\n[assembly: CLSCompliant(true)]\n[assembl... | c# | chosen |
[
{
"from": "system",
"value": "Improve error, when test name is invalid\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 license information.\n\nusing System;\n\nnamespac... | c# | chosen |
[
{
"from": "system",
"value": "Format speaker bio on index page as well.\n"
},
{
"from": "human",
"value": "using FacetedWorlds.MyCon.Model;\nusing System.Linq;\nusing System.Collections.Generic;\n\nnamespace FacetedWorlds.MyCon.Web.ViewModels\n{\n public class SpeakerViewModel\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Tweak how the entries are listed, only showing since the last balance key\n"
},
{
"from": "human",
"value": "using Cash_Flow_Projection.Models;\nusing Microsoft.AspNetCore.Mvc;\nusing System;\nusing System.Linq;\nusing System.Threading.Tasks;\n\nnamespace Cash_Flow... | c# | chosen |
[
{
"from": "system",
"value": "Increase number of grid objects.\n"
},
{
"from": "human",
"value": "using ProjectCDA.Model;\nusing System.Collections.ObjectModel;\nusing System.ComponentModel;\n\nnamespace ProjectCDA.Data\n{\n public class DataSource : INotifyPropertyChanged\n {\n pr... | c# | chosen |
[
{
"from": "system",
"value": "Fix the asset that you try and get\n"
},
{
"from": "human",
"value": "using System.Threading.Tasks;\nusing Glimpse.Internal;\nusing Microsoft.AspNetCore.Http;\nusing Microsoft.Net.Http.Headers;\n\nnamespace Glimpse.AgentServer.AspNet.Sample\n{\n public class Samp... | c# | chosen |
[
{
"from": "system",
"value": "Fix 0 size in test scene\n"
},
{
"from": "human",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing osu.Framework.Graphics;\nusing osu.Framework.Gr... | c# | chosen |
[
{
"from": "system",
"value": "Update http request count default name.\n"
},
{
"from": "human",
"value": "namespace Prometheus.HttpExporter.AspNetCore.HttpRequestCount\n{\n public class HttpRequestCountOptions : HttpExporterOptionsBase\n {\n public Counter Counter { get; set; } =\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add Exclusion Service to SerializeStep\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Reflection;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Fasterflect;\n\nnamespace Testity.Buil... | c# | chosen |
[
{
"from": "system",
"value": "Add required config property to json client adapter\n"
},
{
"from": "human",
"value": "using IntegrationEngine.Core.Configuration;\nusing ServiceStack.ServiceClient.Web;\nusing System.Net;\n\nnamespace IntegrationEngine.Core.ServiceStack\n{\n public class JsonSe... | c# | chosen |
[
{
"from": "system",
"value": "Include source in symbols package.\n"
},
{
"from": "human",
"value": "using Cake.Common.Tools.DotNetCore;\nusing Cake.Common.Tools.DotNetCore.Pack;\nusing Cake.Core;\nusing Cake.Core.IO;\nusing Cake.Frosting;\n\n[Dependency(typeof(UnitTests))]\npublic class Package ... | c# | chosen |
[
{
"from": "system",
"value": "Disable argument checks for now\n"
},
{
"from": "human",
"value": "// --------------------------------------------------------------------------------------------------------------------\n// <copyright file=\"ExtensionsDataModule.cs\" company=\"Catel development te... | c# | chosen |
[
{
"from": "system",
"value": "Use TypeNameHandling.Objects when serializing objects to json.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Microsoft.WindowsAzure.Storage.Table;\nu... | c# | chosen |
[
{
"from": "system",
"value": "Fix extensions when using dotnet adapter\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n#if (UNITY_WSA && DOTNETWINRT_PRESENT) || WINDOWS_UWP\nusing Microsoft.MixedReality.Toolkit.Utilities;\nusing ... | c# | chosen |
[
{
"from": "system",
"value": "Handle SelectPrevious / SelectNext as volume change operations if nothing else handled game-wide\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 fu... | c# | chosen |
[
{
"from": "system",
"value": "Add test for filtered mode\n"
},
{
"from": "human",
"value": "// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.\n// See the LICENCE file in the repository root for full licence text.\n\nusing osu.Framework.Allocation;\nusing osu.Framewor... | c# | chosen |
[
{
"from": "system",
"value": "Use UrlEncode from OAuth lib\n"
},
{
"from": "human",
"value": "using System;\r\nusing System.Collections.Generic;\r\nusing System.Text;\r\n\r\nnamespace SevenDigital.Api.Wrapper.EndpointResolution\r\n{\r\n\tpublic static class DictionaryExtensions\r\n\t{\r\n\t\tpu... | c# | chosen |
[
{
"from": "system",
"value": "Add flying players setting to extension loader\n"
},
{
"from": "human",
"value": "using System;\nusing BotBits;\n\nnamespace BotBitsExt.Rounds\n{\n public sealed class RoundsExtension : Extension<RoundsExtension>\n {\n private class Settings\n {... | c# | chosen |
[
{
"from": "system",
"value": "Revert \"Revert \"Reacting to CLI breaking change\"\"\n\nThis reverts commit e74665e55058c79becda81baa4055d1c78d5ae2b.\n"
},
{
"from": "human",
"value": "// Copyright (c) .NET Foundation. All rights reserved.\n// Licensed under the Apache License, Version 2.0. See ... | c# | chosen |
[
{
"from": "system",
"value": "Remove My Profile Page Menu Item Seed\n"
},
{
"from": "human",
"value": "using Portal.CMS.Entities.Entities;\nusing System.Collections.Generic;\nusing System.Linq;\n\nnamespace Portal.CMS.Entities.Seed\n{\n public static class MenuSeed\n {\n public sta... | c# | chosen |
[
{
"from": "system",
"value": "Fix namespaces in ios interopconfig\n"
},
{
"from": "human",
"value": "/* Copyright 2015 Realm Inc - All Rights Reserved\n * Proprietary and Confidential\n */\n \nusing System;\n\nnamespace RealmNet\n{\n public static class InteropConfig\n {\n public s... | c# | chosen |
[
{
"from": "system",
"value": "Add remark about failure scenarios\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 in the project root for more inf... | c# | chosen |
[
{
"from": "system",
"value": "Add 'todo' to avoid type casting\n"
},
{
"from": "human",
"value": "namespace Sitecore.FakeDb.Serialization.Pipelines\n{\n using Sitecore.Data;\n using Sitecore.Data.Serialization.ObjectModel;\n using Sitecore.Diagnostics;\n using Sitecore.FakeDb.Pipelines;\n\n... | c# | chosen |
[
{
"from": "system",
"value": "Solve bug henk import script\n"
},
{
"from": "human",
"value": "@{\n ViewBag.Title = \"Studenten importeren\";\n}\n\n<h2>Studenten importeren</h2>\n\n@using (Html.BeginForm())\n{\n\n @Html.AntiForgeryToken()\n\n <div class=\"form-horizontal\">>\n <p... | c# | chosen |
[
{
"from": "system",
"value": "Fix another issue where the word Hit wasn't highlighted from the start.\n"
},
{
"from": "human",
"value": "using Monaco;\nusing Monaco.Editor;\nusing Monaco.Languages;\nusing System;\nusing System.Runtime.InteropServices.WindowsRuntime;\nusing System.Threading;\nus... | c# | chosen |
[
{
"from": "system",
"value": "Allow LockAsync to be canceled\n"
},
{
"from": "human",
"value": "using System;\nusing System.Threading;\nusing System.Threading.Tasks;\n\nnamespace Akavache.Sqlite3.Internal\n{\n // Straight-up thieved from http://www.hanselman.com/blog/ComparingTwoTechniquesIn... | c# | chosen |
[
{
"from": "system",
"value": "Fix for Flowchart Enabled event handler coroutine issue\n"
},
{
"from": "human",
"value": "using UnityEngine;\nusing System;\nusing System.Collections;\nusing System.Collections.Generic;\n\nnamespace Fungus\n{\n\t[EventHandlerInfo(\"\",\n\t \"Flowc... | c# | chosen |
[
{
"from": "system",
"value": "Add missing namespace to Klawr script component template\n\nThis fixes an issue where adding a new script in UnrealEd broke\nbuilding of the GameScripts assembly.\n"
},
{
"from": "human",
"value": "using Klawr.ClrHost.Interfaces;\nusing Klawr.UnrealEngine;\n\nnames... | c# | chosen |
[
{
"from": "system",
"value": "Use invariant culture for string comparisons\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.Linq;\nusing System.Xml.Linq;\n\nnamespace CsProjArrange\n{\n /// <summary>\n /// Compares a list of attributes in order by value.\n... | c# | chosen |
[
{
"from": "system",
"value": "Set IsEnabled wallet action property depending on wallet state\n"
},
{
"from": "human",
"value": "using WalletWasabi.Fluent.ViewModels.NavBar;\nusing WalletWasabi.Helpers;\n\nnamespace WalletWasabi.Fluent.ViewModels.Wallets.Actions\n{\n\tpublic abstract partial cla... | c# | chosen |
[
{
"from": "system",
"value": "Use extension method for string to float conversion\n"
},
{
"from": "human",
"value": "using System.Globalization;\nusing System.Text;\n\nnamespace SCPI.Acquire\n{\n public class ACQUIRE_SRATE : ICommand\n {\n public string Description => \"Query the c... | c# | chosen |
[
{
"from": "system",
"value": "Prepare for 1.0 BETA 2.\n"
},
{
"from": "human",
"value": "using ICities;\nusing CitiesHarmony.API;\n\n\nnamespace UOCRevisited\n{\n /// <summary>\n /// The base mod class for instantiation by the game.\n /// </summary>\n public class UOCRMod : IUserMod... | c# | chosen |
[
{
"from": "system",
"value": "Add CORS for local testing\n"
},
{
"from": "human",
"value": "using Microsoft.AspNetCore.Builder;\nusing Microsoft.AspNetCore.Hosting;\nusing Microsoft.Extensions.DependencyInjection;\nusing Microsoft.Extensions.Hosting;\nusing OpenStardriveServer.Domain.Database;\n... | c# | chosen |
[
{
"from": "system",
"value": "Load the expected version from the assembly\n"
},
{
"from": "human",
"value": "namespace Raygun.Messages.Tests\n{\n using NUnit.Framework;\n\n using Shouldly;\n\n [TestFixture]\n public class RaygunClientMessageTests\n {\n [Test]\n publ... | c# | chosen |
[
{
"from": "system",
"value": "Change http inflight requests default name to match Prometheus guidelines\n"
},
{
"from": "human",
"value": "namespace Prometheus.HttpExporter.AspNetCore.InFlight\n{\n public class HttpInFlightOptions : HttpExporterOptionsBase\n {\n public Gauge Gauge {... | c# | chosen |
[
{
"from": "system",
"value": "Add item quality to schema items.\n"
},
{
"from": "human",
"value": "using Newtonsoft.Json;\nusing SourceSchemaParser.JsonConverters;\nusing System;\nusing System.Collections.Generic;\n\nnamespace SourceSchemaParser.Dota2\n{\n public class DotaSchemaItem : Schem... | c# | chosen |
[
{
"from": "system",
"value": "Add an entity get. and change old get to get key\n"
},
{
"from": "human",
"value": "using System;\nusing System.Data;\nusing System.Threading.Tasks;\nusing Dapper.FastCrud;\nusing Dapper.FastCrud.Configuration.StatementOptions.Builders;\nusing Smooth.IoC.Dapper.Rep... | c# | chosen |
[
{
"from": "system",
"value": "Use correct extension for Android x64 folder\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nusing System;\nusing System.Di... | c# | chosen |
[
{
"from": "system",
"value": "Add test cover for cancellable async query handling\n"
},
{
"from": "human",
"value": "using Bartender.Tests.Context;\nusing Moq;\nusing Xunit;\n\nnamespace Bartender.Tests\n{\n public class CancellableAsyncQueryDispatcherTests : DispatcherTests\n {\n [... | c# | chosen |
[
{
"from": "system",
"value": "Remove active transactions metric no longer supplied by Seq 4\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\n\nnamespace Seq.Api.Model.Diagnostics\n{\n public class ServerMetricsEntity : Entity\n {\n public ServerM... | c# | chosen |
[
{
"from": "system",
"value": "Make use of FluentAssertions in sanity unit test.\n"
},
{
"from": "human",
"value": "using Xunit;\n\nnamespace Dcc.Test\n{\n public class DccMiddlewareTests\n {\n [Fact]\n public void SanityTest()\n {\n Assert.True(true);\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add new category - \"Communications and media\".\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing CompetitionPlatform.Data.ProjectCategory;\n\nnamespace CompetitionPlatform... | c# | chosen |
[
{
"from": "system",
"value": "Add SA1008 tests for ref expressions\n"
},
{
"from": "human",
"value": "// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.\n// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.\n\nnamespace ... | c# | chosen |
[
{
"from": "system",
"value": "Rename Enumerable.Equals(object, object, Type) to ItemsEqual, for clarity of purpose.\n"
},
{
"from": "human",
"value": "namespace Fixie.Assertions\n{\n using System;\n using System.Collections;\n\n class EnumerableEqualityComparer\n {\n public bo... | c# | chosen |
[
{
"from": "system",
"value": "Update TecSupportService1 with the new parameter list.\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Data.Entity;\nusing System.Data.Entity.Infrastructure;\nusing System.Linq;\nusing System.Runtime.Serialization;\... | c# | chosen |
[
{
"from": "system",
"value": "Fix error when turning visual debugging on/off in Unity 5.4 or newer\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing UnityEditor;\n\nnamespace Entitas.Unity {\n\n public class ScriptingDefineSymbols {... | c# | chosen |
[
{
"from": "system",
"value": "Use OneTimeSetUp instead of TestFixtureSetUp.\n"
},
{
"from": "human",
"value": "namespace ForecastPCL.Test\n{\n using System;\n using System.Configuration;\n using System.Threading.Tasks;\n\n using DarkSkyApi;\n\n using NUnit.Framework;\n\n [Test... | c# | chosen |
[
{
"from": "system",
"value": "Fix build for versions without Assembly.Location"
},
{
"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 in the project root f... | c# | chosen |
[
{
"from": "system",
"value": "Update remove route to correct value\n"
},
{
"from": "human",
"value": "namespace SFA.DAS.EmployerAccounts.Web.Authorization\n{\n public static class AuthorizationConstants\n {\n public const string Tier2User = \"Tier2User\";\n public const stri... | c# | chosen |
[
{
"from": "system",
"value": "Make Log4NetLevel enricher internal - no need for it to be public\n"
},
{
"from": "human",
"value": "using Serilog.Core;\nusing Serilog.Events;\n\nnamespace Umbraco.Core.Logging.SerilogExtensions\n{\n /// <summary>\n /// This is used to create a new property ... | c# | chosen |
[
{
"from": "system",
"value": "Add SSL option to Rabbit sample\n"
},
{
"from": "human",
"value": "using System.Text;\nusing Microsoft.AspNetCore.Mvc;\nusing RabbitMQ.Client;\n\nnamespace Rabbit.Controllers\n{\n public class RabbitController : Controller\n {\n ConnectionFactory _rabb... | c# | chosen |
[
{
"from": "system",
"value": "Use ReactiveUI Events for Data Context Changed\n"
},
{
"from": "human",
"value": "using Ets.Mobile.ViewModel.Contracts.Settings;\nusing System;\nusing System.Reactive.Linq;\nusing Windows.UI.Xaml;\nusing Windows.UI.Xaml.Controls;\nusing ReactiveUI;\nusing System.Re... | c# | chosen |
[
{
"from": "system",
"value": "Add scripts that make HTML5, CSS and JavaScript work in Internet Explorer 8 and lower\n"
},
{
"from": "human",
"value": "<!DOCTYPE html>\n<html>\n<head>\n <title>Zaaikalender | @ViewBag.Title</title>\n\t\n\t<link rel=\"stylesheet\" href=\"/Content/Stylesheets/re... | c# | chosen |
[
{
"from": "system",
"value": "Tweak Stylesheet Link writing in XMlDomExtenstions\n"
},
{
"from": "human",
"value": "using System.Xml;\n\nnamespace Palaso.Xml\n{\n\tpublic static class XmlDomExtensions\n\t{\n\t\tpublic static XmlDocument StripXHtmlNameSpace(this XmlDocument node)\n\t\t{\n\t\t\tX... | c# | chosen |
[
{
"from": "system",
"value": "Remove RandomTrace stuff from main\n"
},
{
"from": "human",
"value": "using static System.Console;\nusing CIV.Ccs;\nusing CIV.Interfaces;\n\nnamespace CIV\r\n{\r\n class Program\r\n {\r\n static void Main(string[] args)\r\n {\n \t\t\tvar text ... | c# | chosen |
[
{
"from": "system",
"value": "Fix command line error display\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing CommandLine;\nusing Meraki;\n\nnamespace Meraki.Console\n{\n class Program\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add heading to report result class\n"
},
{
"from": "human",
"value": "using System.Dynamic;\n\nnamespace KenticoInspector.Core.Models\n{\n public class ReportResults\n {\n public ReportResults()\n {\n Data = new ExpandoObject();\n ... | c# | chosen |
[
{
"from": "system",
"value": "Add namespace brackets - because of teamcity\n\nARKADE-631"
},
{
"from": "human",
"value": "using System.Collections.Generic;\n\nnamespace Arkivverket.Arkade.Core.Util.FileFormatIdentification;\n\npublic interface IFileFormatInfoFilesGenerator\n{\n void Generate(... | c# | chosen |
[
{
"from": "system",
"value": "Set the column width to resize when the listview resizes\n"
},
{
"from": "human",
"value": "using Microsoft.Win32;\nusing System;\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Data;\nusing System.Drawing;\nusing System.Linq;\nusing ... | c# | chosen |
[
{
"from": "system",
"value": "Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.\n"
},
{
"from": "human",
"value": "usi... | c# | chosen |
[
{
"from": "system",
"value": "Use system highlight color in game list selection\n"
},
{
"from": "human",
"value": "using System.Drawing;\nusing System.Windows.Forms;\n\nusing BrightIdeasSoftware;\n\nnamespace SteamGames\n{\n\tinternal sealed class GameRenderer : AbstractRenderer\n\t{\n\t\tpriva... | c# | chosen |
[
{
"from": "system",
"value": "Support Beyond Compare on linux"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing Assent.Reporters.DiffPrograms;\n\nnamespace Assent.Reporters\n{\n public class DiffReporter : IReporter\n {\n#if NET45\n internal st... | c# | chosen |
[
{
"from": "system",
"value": "Make room setting's BeatmapID non-nullable\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;\n... | c# | chosen |
[
{
"from": "system",
"value": "Update existing documentation for list ids.\n"
},
{
"from": "human",
"value": "namespace TraktApiSharp.Objects.Get.Users.Lists\n{\n using Newtonsoft.Json;\n using System.Globalization;\n\n /// <summary>\n /// A collection of ids for various web services... | c# | chosen |
[
{
"from": "system",
"value": "Use a type converter to try and convert values\n\n\nFormer-commit-id: 9abec8ae101be7d50e3c33ca999a128a7d4cad98"
},
{
"from": "human",
"value": "// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.\r\n// \r\n// Licensed under the Apache Licens... | c# | chosen |
[
{
"from": "system",
"value": "Disable SSL for sending e-mails\n"
},
{
"from": "human",
"value": "using MailKit.Net.Smtp;\nusing MimeKit;\nusing MimeKit.Text;\nusing System;\nusing System.Collections.Generic;\n\nnamespace SecretSanta.Utilities\n{\n public static class EmailMessage\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Remove bad component state hack from client mover component.\n"
},
{
"from": "human",
"value": "using Content.Shared.GameObjects.Components.Movement;\nusing Robust.Client.Player;\nusing Robust.Shared.GameObjects;\nusing Robust.Shared.IoC;\nusing Robust.Shared.Map;\n... | c# | chosen |
[
{
"from": "system",
"value": "Mark required properties in ViewModel\n\n"
},
{
"from": "human",
"value": "using System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\n\nnamespace Dangl.WebDocumentation.ViewModels.Admin\n{\n public class CreateProjectViewModel\n {\n ... | c# | chosen |
[
{
"from": "system",
"value": "Remove src folder from paths before pushing\n"
},
{
"from": "human",
"value": "#load ../amazon.csx\n\npvc.Task(\"push\", () => {\n\tpvc.Source(\"src/**/*.*\")\n\t .Pipe(new PvcCloudFront(\n\t\taccessKey: keys.accessKey,\n\t\tsecretKey: keys.secretKey,\n\t\tbucketN... | c# | chosen |
[
{
"from": "system",
"value": "Remove set log level from base handler class.\n"
},
{
"from": "human",
"value": "namespace NLogging\n{\n using System;\n using System.Collections.Generic;\n using System.Linq;\n using System.Text;\n using System.Threading.Tasks;\n\n public abstrac... | c# | chosen |
[
{
"from": "system",
"value": "Fix fault in temp impl of 6D handling\n"
},
{
"from": "human",
"value": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Common.Logging;\nusing GladNet;\n\nnamespace Booma.Proxy\n{\n\t[S... | c# | chosen |
[
{
"from": "system",
"value": "Add NewLine at the end of the list\n"
},
{
"from": "human",
"value": "\nusing System;\n\nusing HtmlAgilityPack;\n\nnamespace ReverseMarkdown.Converters\n{\n\tpublic class Ol\n\t\t: ConverterBase\n\t{\n\t\tpublic Ol(Converter converter)\n\t\t\t: base(converter)\n\t\... | c# | chosen |
[
{
"from": "system",
"value": "Remove slug from episode ids.\n"
},
{
"from": "human",
"value": "namespace TraktApiSharp.Objects.Get.Shows.Episodes\n{\n using Basic;\n\n /// <summary>A collection of ids for various web services, including the Trakt id, for a Trakt episode.</summary>\n pu... | c# | chosen |
[
{
"from": "system",
"value": "Test demonstrating an edge case of generic interfaces\n"
},
{
"from": "human",
"value": "using NUnit.Framework;\n\nnamespace NSubstitute.Acceptance.Specs\n{\n\t[TestFixture]\n\tpublic class MatchingDerivedTypesForGenerics\n\t{\n\t\tIGenMethod _sub;\n\n\t\t[SetUp]\n... | c# | chosen |
[
{
"from": "system",
"value": "Fix when reverting a vessel so they are not fully removed from server\n"
},
{
"from": "human",
"value": "using LunaClient.Base;\nusing LunaClient.Base.Interface;\nusing LunaClient.Network;\nusing LunaCommon.Message.Client;\nusing LunaCommon.Message.Data.Vessel;\nus... | c# | chosen |
[
{
"from": "system",
"value": "Use number provider for m_flStartTime\n"
},
{
"from": "human",
"value": "using System;\nusing ValveResourceFormat.Serialization;\n\nnamespace GUI.Types.ParticleRenderer.Emitters\n{\n public class InstantaneousEmitter : IParticleEmitter\n {\n public bool... | c# | chosen |
[
{
"from": "system",
"value": "Clean up---cannot utilize dynamic loading of dll in VS.\n"
},
{
"from": "human",
"value": "namespace LanguageServer\n{\n //using Options;\n using System;\n using System.Collections.Generic;\n using System.Reflection;\n\n public class ManualAssemblyRe... | c# | chosen |
[
{
"from": "system",
"value": "Set up the basic program structure.\n"
},
{
"from": "human",
"value": "// -----------------------------------------------------------------------\n// <copyright file=\"Program.cs\" company=\"(none)\">\n// Copyright © 2013 John Gietzen. All Rights Reserved.\n// ... | c# | chosen |
[
{
"from": "system",
"value": "Add year to copyright attribute.\n"
},
{
"from": "human",
"value": "using System.Reflection;\nusing System.Runtime.CompilerServices;\n\n// Information about this assembly is defined by the following attributes.\n// Change them to the values specific to your project.... | c# | chosen |
[
{
"from": "system",
"value": "Fix null check to use string.IsNullOrEmpty. Even though unlikely, if a string.empty is passed as input it will result in an infinite loop.\n"
},
{
"from": "human",
"value": "namespace Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.Implementation\n{\n ... | c# | chosen |
[
{
"from": "system",
"value": "Use AccessTokenConfiguration to register AuthInfo\n"
},
{
"from": "human",
"value": "using System;\nusing Castle.MicroKernel.Registration;\nusing Castle.MicroKernel.SubSystems.Configuration;\nusing Castle.Windsor;\nusing Castle.MicroKernel.Resolvers.SpecializedReso... | c# | chosen |
[
{
"from": "system",
"value": "Fix path to enum namespace\n"
},
{
"from": "human",
"value": "namespace EverlastingStudent.Models\n{\n using System.Collections.Generic;\n using System.ComponentModel.DataAnnotations;\n\n using EverlastingStudent.Common;\n\n public class Difficulty\n ... | c# | chosen |
[
{
"from": "system",
"value": "Fix broken build of System.Net.WebSockets.Client.NETNative.csproj due to missing types.\n\nComment out code for now so that build will work.\n\n[tfs-changeset: 1539097]\n"
},
{
"from": "human",
"value": "// Copyright (c) Microsoft. All rights reserved.\n// Licensed ... | c# | chosen |
[
{
"from": "system",
"value": "Remove read ip from header\n\n"
},
{
"from": "human",
"value": "using System;\nusing Abp.Auditing;\nusing Castle.Core.Logging;\nusing Microsoft.AspNetCore.Http;\nusing Abp.Extensions;\n\nnamespace Abp.AspNetCore.Mvc.Auditing\n{\n public class HttpContextClientIn... | c# | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.