commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
7e4d41313dbf60faed9e1542232b660ffd5eecb1
Fix ICollection
owolp/Telerik-Academy,owolp/Telerik-Academy,owolp/Telerik-Academy,owolp/Telerik-Academy
Modul-1/OOP/Exam-Preparation/SoftwareAcademy/Course.cs
Modul-1/OOP/Exam-Preparation/SoftwareAcademy/Course.cs
namespace SoftwareAcademy { using System.Collections.Generic; using System.Text; public abstract class Course : ICourse { private string name; private ICollection<string> topics; public Course(string name, ITeacher teacher) { this.Name = name; th...
namespace SoftwareAcademy { using System.Collections.Generic; using System.Text; public abstract class Course : ICourse { private string name; public Course(string name, ITeacher teacher) { this.Name = name; this.Teacher = teacher; this.Topic...
mit
C#
035a11082e681629da5c8ffe6e1e74226c023791
Fix deserialize bug on SerializableDictionary.
soygul/NBug,furesoft/NBug,JuliusSweetland/NBug,Stef569/NBug
NBug/Core/Util/Serialization/SerializableDictionary.cs
NBug/Core/Util/Serialization/SerializableDictionary.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SerializableDictionary.cs" company="NBusy Project"> // Copyright (c) 2010 - 2011 Teoman Soygul. Licensed under LGPLv3 (http://www.gnu.org/licenses/lgpl.html). // </copyright>...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SerializableDictionary.cs" company="NBusy Project"> // Copyright (c) 2010 - 2011 Teoman Soygul. Licensed under LGPLv3 (http://www.gnu.org/licenses/lgpl.html). // </copyright>...
mit
C#
9def9702f184ca1622fc24443991ec372ea484d8
implement LostItemsCount and SentItemsCount properties.
vostok/core
Vostok.Airlock.Client/ParallelAirlockClient.cs
Vostok.Airlock.Client/ParallelAirlockClient.cs
using System; using System.Linq; using System.Threading.Tasks; using Vostok.Commons.Utilities; using Vostok.Logging; namespace Vostok.Airlock { public class ParallelAirlockClient : IAirlockClient, IDisposable { private readonly AirlockClient[] clients; public ParallelAirlockClient(AirlockConf...
using System; using System.Linq; using System.Threading.Tasks; using Vostok.Commons.Utilities; using Vostok.Logging; namespace Vostok.Airlock { public class ParallelAirlockClient : IAirlockClient, IDisposable { private readonly AirlockClient[] clients; public ParallelAirlockClient(AirlockConf...
mit
C#
c268d73f81c0963e2998c4bd81d8d0b2a50f1463
Make Registrar code thread-safe on our end
mono/xwt,antmicro/xwt
Xwt.XamMac/Xwt.Mac/NSApplicationInitializer.cs
Xwt.XamMac/Xwt.Mac/NSApplicationInitializer.cs
// // NSApplicationInitializer.cs // // Author: // Lluis Sanchez Gual <lluis@xamarin.com> // // Copyright (c) 2016 Xamarin, Inc (http://www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to d...
// // NSApplicationInitializer.cs // // Author: // Lluis Sanchez Gual <lluis@xamarin.com> // // Copyright (c) 2016 Xamarin, Inc (http://www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to d...
mit
C#
12b09a32ea867f349276da34329f63fdcd3217a0
fix formatting
hal-ler/omnisharp-roslyn,fishg/omnisharp-roslyn,haled/omnisharp-roslyn,khellang/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,RichiCoder1/omnisharp-roslyn,hitesh97/omnisharp-roslyn,ianbattersby/omnisharp-roslyn,haled/omnisharp-roslyn,sreal/omnisharp-roslyn,sriramgd/omnisharp-roslyn,hal-ler...
src/OmniSharp/Api/Diagnostics/OmnisharpController.Diagnostics.cs
src/OmniSharp/Api/Diagnostics/OmnisharpController.Diagnostics.cs
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.CodeAnalysis; using OmniSharp.Models; namespace OmniSharp { public partial class OmnisharpController { [HttpPost("codecheck")] public async Task<IActionResult> CodeChe...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.CodeAnalysis; using OmniSharp.Models; namespace OmniSharp { public partial class OmnisharpController { [HttpPost("codecheck")] public async Task<IActionResult> CodeChe...
mit
C#
5a90e5e240b6d6464b0ab8c0e560bbe359c84774
add the icon
tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web
src/Tugberk.Web/Views/Shared/Components/TagsCloud/Default.cshtml
src/Tugberk.Web/Views/Shared/Components/TagsCloud/Default.cshtml
@model IEnumerable<Tugberk.Web.Controllers.TagViewModel> <ul class="none-style-list inline-list labeled-list"> @foreach (var tag in Model) { <li> <span class="badge badge-light"> <i class="fa fa-tag"></i> @tag.Name </span> </li> } </ul>
@model IEnumerable<Tugberk.Web.Controllers.TagViewModel> <ul class="none-style-list inline-list labeled-list"> @foreach (var tag in Model) { <li> <span class="badge badge-light">@tag.Name</span> </li> } </ul>
agpl-3.0
C#
cda96d4d496180735b82c062a3f69006d2eff055
Apply CR
akromm/azure-sdk-tools,akromm/azure-sdk-tools,markcowl/azure-sdk-tools,markcowl/azure-sdk-tools,DinoV/azure-sdk-tools,DinoV/azure-sdk-tools,DinoV/azure-sdk-tools,markcowl/azure-sdk-tools,DinoV/azure-sdk-tools,markcowl/azure-sdk-tools,markcowl/azure-sdk-tools,akromm/azure-sdk-tools,akromm/azure-sdk-tools,akromm/azure-sd...
WindowsAzurePowershell/src/Management.Utilities/Common/WindowsAzureEnvironment.cs
WindowsAzurePowershell/src/Management.Utilities/Common/WindowsAzureEnvironment.cs
// ---------------------------------------------------------------------------------- // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache...
// ---------------------------------------------------------------------------------- // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache...
apache-2.0
C#
07ec884632d03e3eaeb802f58c1e4bf61151502b
Implement tower
emazzotta/unity-tower-defense
Assets/Scripts/TowerController.cs
Assets/Scripts/TowerController.cs
using UnityEngine; using System.Collections; public class TowerController : MonoBehaviour { Transform towerTransform; public float range = 10f; public GameObject bulletPrefab; public int cost = 5; float fireCooldown = 0.5f; float fireCooldownLeft = 0; public float damage = 1; public float radius = 0; v...
using UnityEngine; using System.Collections; public class TowerController : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
mit
C#
577f0e7aeb2888727bc1fe58f987e30df7c5236b
modify implement of RunCommand in test
hakomikan/CommandUtility
CommandInterfaceTest/SpikeTest.cs
CommandInterfaceTest/SpikeTest.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.CodeAnalysis.CSharp.Scripting; using Microsoft.CodeAnalysis.CSharp; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using System.IO; using System.Reflection; using CommandInterface; using Microsoft.CodeAnalysis.Scrip...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.CodeAnalysis.CSharp.Scripting; using Microsoft.CodeAnalysis.CSharp; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using System.IO; using System.Reflection; using CommandInterface; using static CommandInterfaceTest....
bsd-2-clause
C#
e868753b96ee44c8b15472f64c89a5b6256bf001
fix tab issue
dicko2/nunit,jnm2/nunit,akoeplinger/nunit,Therzok/nunit,jeremymeng/nunit,modulexcite/nunit,nunit/nunit,acco32/nunit,jadarnel27/nunit,passaro/nunit,acco32/nunit,NarohLoyahl/nunit,OmicronPersei/nunit,cPetru/nunit-params,danielmarbach/nunit,Green-Bug/nunit,JustinRChou/nunit,michal-franc/nunit,dicko2/nunit,ArsenShnurkov/nu...
src/NUnitFramework/testdata/PropertyAttributeTests.cs
src/NUnitFramework/testdata/PropertyAttributeTests.cs
// *********************************************************************** // Copyright (c) 2007 Charlie Poole // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, inclu...
// *********************************************************************** // Copyright (c) 2007 Charlie Poole // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, inclu...
mit
C#
603f1fb0e50e9a46bd021094d6286d5a124c8ee8
Replace line and character counting (fails in iOS 12) with a check that the tapped character is within the length of all text.
matteobortolazzo/HtmlLabelPlugin
src/HtmlLabel/iOS/LinkTapHelper.cs
src/HtmlLabel/iOS/LinkTapHelper.cs
using CoreGraphics; using Foundation; using LabelHtml.Forms.Plugin.Abstractions; using System; using UIKit; namespace LabelHtml.Forms.Plugin.iOS { internal static class LinkTapHelper { public static readonly NSString CustomLinkAttribute = new NSString("LabelLink"); public static void HandleLinkTap(this UILabel...
using CoreGraphics; using Foundation; using LabelHtml.Forms.Plugin.Abstractions; using System; using UIKit; namespace LabelHtml.Forms.Plugin.iOS { internal static class LinkTapHelper { public static readonly NSString CustomLinkAttribute = new NSString("LabelLink"); public static void HandleLinkTap(this UILabel...
mit
C#
d559150eea5f96a9beeabdfc1d2eaeb5be3182ab
Update Startup.cs
PomeloIDE/Pomelo.NetCore.Node,PolemoIDE/Polemo.NetCore.Node,PolemoIDE/Polemo.NetCore.Node,PolemoIDE/Polemo.NetCore.Node,PomeloIDE/Pomelo.NetCore.Node,PomeloIDE/Pomelo.NetCore.Node,PomeloIDE/Pomelo.NetCore.Node,PolemoIDE/Polemo.NetCore.Node
src/Polemo.NetCore.Node/Startup.cs
src/Polemo.NetCore.Node/Startup.cs
using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Polemo.NetCore.Node { public class Startup { public void ConfigureServices(IServiceCollection services) { services.AddCors(c...
using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Polemo.NetCore.Node { public class Startup { public void ConfigureServices(IServiceCollection services) { services.AddCors(c...
mit
C#
648fff7f24e009358e610e32d57bb66826ed4a52
include sample usage
dgg/rvn-izr
src/Rvn.Izr.Tests/IndexesTester.cs
src/Rvn.Izr.Tests/IndexesTester.cs
using System.Collections.Generic; using System.ComponentModel.Composition.Hosting; using NUnit.Framework; using Raven.Client; using Raven.Client.Document; using Raven.Client.Indexes; using Rvn.Izr.Tests.Support; namespace Rvn.Izr.Tests { [TestFixture] public class IndexesTester { [Test] public void Builder_MyD...
using System.Collections.Generic; using System.ComponentModel.Composition.Hosting; using NUnit.Framework; using Raven.Client.Indexes; using Rvn.Izr.Tests.Support; namespace Rvn.Izr.Tests { [TestFixture] public class IndexesTester { [Test] public void Builder_MyDb_ReturnsDecoratedIndexesForThatDatabase() { ...
bsd-2-clause
C#
b28933d819a52fa65a6c0e8a8a6edf940ac393fe
Update Contact.cshtml
TravisAndLeo/HawkWingForge,TravisAndLeo/HawkWingForge,TravisAndLeo/HawkWingForge
src/HawkWingForge/Views/Home/Contact.cshtml
src/HawkWingForge/Views/Home/Contact.cshtml
<link rel="stylesheet" href="~/css/contact.css" /> <script src="~/js/contact.js" asp-append-version="true"></script> @{ ViewData["Title"] = "Contact"; } <div class="container body-content"> <h1>@ViewData["Title"]</h1> <form id="gform" method="POST" class="pure-form pure-form-stacked" action="htt...
<link rel="stylesheet" href="~/css/contact.css" /> <script src="~/js/contact.js" asp-append-version="true"></script> @{ ViewData["Title"] = "Contact"; } <div class="container body-content"> <h1>@ViewData["Title"]</h1> <form id="gform" method="POST" class="pure-form pure-form-stacked" action="htt...
mit
C#
a10c6096cd6c4e2cb54d6a8df18baa2f8b11c3d1
remove temporarly actual xunit tests
rhwy/iago
src/lib/tests/describe.tests.cs
src/lib/tests/describe.tests.cs
namespace Iago.Tests { using Xunit; using NFluent; using System; using System.Collections.Generic; using System.Reflection; using static Iago.Specs; using static System.Console; public class CoffeeMachineSpecsTests { /* [Fact] public void run_the_specs() { var specs = new CoffeeMach...
using Xunit; using NFluent; using System; using System.Collections.Generic; using System.Reflection; using static NDescribe.Specs; using static System.Console; namespace NDescribe.Tests { public class CoffeeMachineSpecs { Specify that = () => "CoffeeMachine Sould automate the production of coffee"; ...
mit
C#
41d5e3b235778f1abccc9eb96432fbb4a3ef6f1c
Make assert stronger
mavasani/roslyn,mavasani/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,dotnet/roslyn,mavasani/roslyn
src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalysisState.AnalyzerStateData.cs
src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalysisState.AnalyzerStateData.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System.Collections.Generic; using System.Diagnostics; namespace Microsoft.CodeAnalysis.Di...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System.Collections.Generic; using System.Diagnostics; namespace Microsoft.CodeAnalysis.Di...
mit
C#
f89097d574fdede47da36b573c065001821152b9
Update millipede.cs
getmillipede/millipede-csharp
millipede.cs
millipede.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace millipede { class Program { static void Main(string[] args) { int[] padding_offsets = new int[] { 2, 1, 0, 1, 2, 3, 4, 4, 3 }; int i = 0; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace millipede { class Program { static void Main(string[] args) { int[] padding_offsets = new int[] { 2, 1, 0, 1, 2, 3, 4, 4, 3 }; int size = 20; ...
mit
C#
92e65c8ac823def2ce76081640b734fdf09ce661
Fix method name.
andrewdavey/witness,andrewdavey/witness,andrewdavey/witness
src/Witness/RequestHandlers/ProxyHandler.cs
src/Witness/RequestHandlers/ProxyHandler.cs
using System.Net; using System.Web; using System.Web.Routing; namespace Witness.RequestHandlers { /// <summary> /// Forwards any request to the web server under test and returns /// that response as if it was it's own. /// </summary> public class ProxyHandler : WitnessRequestHandlerBase ...
using System.Net; using System.Web; using System.Web.Routing; namespace Witness.RequestHandlers { /// <summary> /// Forwards any request to the web server under test and returns /// that response as if it was it's own. /// </summary> public class ProxyHandler : WitnessRequestHandlerBase ...
bsd-2-clause
C#
15b4334f8fc5456a97ceb692504f67d1e936651f
Remove extra spaces from mods path
edwinj85/ezDoom
ezDoom/Code/GameProcessHandler.cs
ezDoom/Code/GameProcessHandler.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; namespace ezDoom.Code { /// <summary> /// This class handles launching the doom engine with chosen settings. /// </summary> public static class GameProcessHandler { /// <summary> ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; namespace ezDoom.Code { /// <summary> /// This class handles launching the doom engine with chosen settings. /// </summary> public static class GameProcessHandler { /// <summary> ...
apache-2.0
C#
58ad9955a74adfb12f77567f2b5a16b4aec0f36e
update Json class
marihachi/MSharp
src/MSharp/Core/Utility/Json.cs
src/MSharp/Core/Utility/Json.cs
using System.Json; namespace MSharp.Core.Utility { /// <summary> /// JSON形式のデータを扱うクラスです。 /// </summary> public static class Json { /// <summary> /// JSON の形式にシリアライズされた文字列を動的なJSONオブジェクトに変換します。 /// <para>また、このメソッドについては例外が発生しないことが保障されています。</para> /// </summary> /// <param name="json">JSON形式の文字列</param> ...
using System.Json; namespace MSharp.Core.Utility { /// <summary> /// JSON形式のデータを扱うクラスです。 /// </summary> public static class Json { /// <summary> /// JSON の形式にシリアライズされた文字列を動的なJSONオブジェクトに変換します。 /// <para>また、このメソッドについては例外が発生しないことが保障されています。</para> /// </summary> /// <param name="json">JSON形式の文字列</param> ...
mit
C#
0a27c4e1551b1d6e0742198dbf3d697048fd5d87
Make sure the app crash nicely if configuration is invalid
dgarage/NBXplorer,dgarage/NBXplorer
NBXplorer/Program.cs
NBXplorer/Program.cs
using System; using Microsoft.Extensions.Logging; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using NBXplorer.Configuration; using NBXplorer.Logging; using NBitcoin.Protocol; using System.Col...
using System; using Microsoft.Extensions.Logging; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using NBXplorer.Configuration; using NBXplorer.Logging; using NBitcoin.Protocol; using System.Col...
mit
C#
bdeec8593cb011b667d0c3b93ad55d81230858c7
Add cast extensions
mruhul/Bolt.MayBe
src/Bolt.MayBe/Properties/AssemblyInfo.cs
src/Bolt.MayBe/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Bo...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Bo...
apache-2.0
C#
6abcfb7ba0182c6bd59807be4daa65afa7a83c31
add okstats.
dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap
src/DotNetCore.CAP/Dashboard/JsonStats.cs
src/DotNetCore.CAP/Dashboard/JsonStats.cs
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; namespace DotNetCore.CAP.Dashboard { internal class JsonStats : IDashboardDispatcher { public async Task Dispatch(DashboardCo...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; namespace DotNetCore.CAP.Dashboard { internal class JsonStats : IDashboardDispatcher { public async Task Dispatch(DashboardCo...
mit
C#
9bae23a6bf1723a3aa8ff2d70acd7b47c4fdb481
Reformate code.
maraf/Money,maraf/Money,maraf/Money
src/Money.UI.Blazor/Shared/_Layout.cshtml
src/Money.UI.Blazor/Shared/_Layout.cshtml
@implements ILayoutComponent <nav class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <a class="navbar-brand">Money</a> </div> <div class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li> ...
@implements ILayoutComponent <nav class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <a class="navbar-brand">Money</a> </div> <div class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li> ...
apache-2.0
C#
54206d39cb4aa7b54c3c5adb6d214ff6af327576
Add access to ByteArrayChunk's data
ZixiangBoy/dnlib,jorik041/dnlib,Arthur2e5/dnlib,modulexcite/dnlib,picrap/dnlib,kiootic/dnlib,yck1509/dnlib,0xd4d/dnlib,ilkerhalil/dnlib
src/DotNet/Writer/ByteArrayChunk.cs
src/DotNet/Writer/ByteArrayChunk.cs
using System.IO; using dot10.IO; using dot10.PE; namespace dot10.DotNet.Writer { /// <summary> /// Stores a byte array /// </summary> public sealed class ByteArrayChunk : IChunk { byte[] array; FileOffset offset; RVA rva; /// <inheritdoc/> public FileOffset FileOffset { get { return offset; } } ...
using System.IO; using dot10.IO; using dot10.PE; namespace dot10.DotNet.Writer { /// <summary> /// Stores a byte array /// </summary> public sealed class ByteArrayChunk : IChunk { byte[] array; FileOffset offset; RVA rva; /// <inheritdoc/> public FileOffset FileOffset { get { return offset; } } ...
mit
C#
5c2730ce214a2f234bafc1187cd392eb96a47af2
Update AssemblyVersion
kiyokura/SSDTHelper
src/SSDTHelper/Properties/AssemblyInfo.cs
src/SSDTHelper/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("SSDTHelper")] [assembly: AssemblyDescription("Support Libraly for SQL Server D...
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("SSDTHelper")] [assembly: AssemblyDescription("Support Libraly for SQL Server D...
mit
C#
4a162e6f788d393ac827c824fd3517efbaa41591
Test full serialization, not just building checksums
KevinRansom/roslyn,pdelvo/roslyn,gafter/roslyn,orthoxerox/roslyn,dpoeschl/roslyn,tannergooding/roslyn,lorcanmooney/roslyn,VSadov/roslyn,srivatsn/roslyn,CaptainHayashi/roslyn,xasx/roslyn,tvand7093/roslyn,MichalStrehovsky/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,abock/roslyn,MattWindsor91/roslyn,physhi/ros...
src/VisualStudio/Core/Test.Next/Services/VisualStudioSnapshotSerializationTests.cs
src/VisualStudio/Core/Test.Next/Services/VisualStudioSnapshotSerializationTests.cs
using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Execution; using Microsoft.CodeAnalysis.Serialization; using Microsoft.CodeAnalysis.UnitTests; using Microsoft.VisualStudio.LanguageServices.Implementation.ProjectS...
using System.Threading.Tasks; using System.Threading; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.UnitTests; using Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem; using Microsoft.VisualStudio.Shell.Interop; using Moq; using Roslyn.Test.Util...
mit
C#
1b38ee05367c3272b9c0cc57d8a5f5ac27d2c4f3
Fix line ending
SixLabors/Fonts
src/SixLabors.Fonts/Tables/Table.cs
src/SixLabors.Fonts/Tables/Table.cs
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. namespace SixLabors.Fonts.Tables { internal abstract class Table { } }
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. namespace SixLabors.Fonts.Tables { internal abstract class Table { } }
apache-2.0
C#
bdc5ba3545b732ca9d726a9694a74e6847b626d1
Allow application startup with inherited startup class
aruss/IdentityBase,aruss/IdentityBase,IdentityBaseNet/IdentityBase,IdentityBaseNet/IdentityBase,aruss/IdentityBase,aruss/IdentityBase,IdentityBaseNet/IdentityBase,IdentityBaseNet/IdentityBase
src/IdentityBase.Public/Program.cs
src/IdentityBase.Public/Program.cs
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using ServiceBase.Configuration; using ServiceBase.Extensions; using System; using System.IO; namespace IdentityBase.Public { public class Program { public static void Main(string[] args) ...
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using ServiceBase.Configuration; using System; using System.IO; using ServiceBase.Extensions; namespace IdentityBase.Public { public class Program { public static void Main(string[] args) ...
apache-2.0
C#
da9c4898d2570367dfe074c92f3f50c7a8f20e84
add enum value for the volume flag that indicates short file name creation is disabled.
drebrez/DiscUtils,quamotion/discutils,breezechen/DiscUtils,breezechen/DiscUtils
src/Ntfs/VolumeInformationFlags.cs
src/Ntfs/VolumeInformationFlags.cs
// // Copyright (c) 2008-2009, Kenneth Bell // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy, modify, m...
// // Copyright (c) 2008-2009, Kenneth Bell // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy, modify, m...
mit
C#
facd2cc3efadf87893a25698900bd75482982d72
Change ZBase32Encoding.Alphabet constant to a readonly property.
wiry-net/Base32,wiry-net/Wiry.Base32,wiry-net/Wiry.Base32,wiry-net/Base32
src/Wiry.Base32/ZBase32Encoding.cs
src/Wiry.Base32/ZBase32Encoding.cs
// Copyright (c) Dmitry Razumikhin, 2016-2019. // Licensed under the MIT License. // See LICENSE in the project root for license information. namespace Wiry.Base32 { internal sealed class ZBase32Encoding : Base32Encoding { private string Alphabet => "ybndrfg8ejkmcpqxot1uwisza345h769"; public ...
// Copyright (c) Dmitry Razumikhin, 2016-2019. // Licensed under the MIT License. // See LICENSE in the project root for license information. namespace Wiry.Base32 { internal sealed class ZBase32Encoding : Base32Encoding { private const string Alphabet = "ybndrfg8ejkmcpqxot1uwisza345h769"; pu...
mit
C#
6323c956cf2aa9cfc7b57a0e3ab63adc9922d057
Fix damagestatevisualizer (#8876)
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Client/MobState/DamageStateVisualizerSystem.cs
Content.Client/MobState/DamageStateVisualizerSystem.cs
using Content.Shared.MobState; using Robust.Client.GameObjects; using DrawDepth = Content.Shared.DrawDepth.DrawDepth; namespace Content.Client.MobState; public sealed class DamageStateVisualizerSystem : VisualizerSystem<DamageStateVisualsComponent> { protected override void OnAppearanceChange(EntityUid uid, Damag...
using Content.Shared.MobState; using Robust.Client.GameObjects; using DrawDepth = Content.Shared.DrawDepth.DrawDepth; namespace Content.Client.MobState; public sealed class DamageStateVisualizerSystem : VisualizerSystem<DamageStateVisualsComponent> { protected override void OnAppearanceChange(EntityUid uid, Damag...
mit
C#
bc67a80a51ef1a726d7292a424854479238b7358
Add a check for api keys in query parameters.
DimensionDataCBUSydney/jab
jab/jab/TestExample.cs
jab/jab/TestExample.cs
using jab.Attributes; using NSwag; using Xunit; using System.Linq; namespace jab { public partial class TestExample { const string testDefinition = "samples/example.json"; [Theory, ParameterisedClassData(typeof(ApiOperations), testDefinition)] public void DeleteMethodsShouldNotTakeFor...
using jab.Attributes; using NSwag; using Xunit; using System.Linq; namespace jab { public class TestExample { [Theory, ParameterisedClassData(typeof(ApiOperations), "samples/example.json")] public void DeleteMethodsShouldNotTakeFormEncodedData( SwaggerService service, s...
apache-2.0
C#
4dad1039b2581e6a782e3d2f6bd57796a0ae1515
Add global keyboard shortcut listener
Schlechtwetterfront/snipp
Settings/Keyboard.cs
Settings/Keyboard.cs
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Windows.Input; using System.Windows.Interop; namespace clipman.Settings { public static class Keyboard { public static Key ClearTextboxKey = Key.Escape; } public class KeyboardMonitor : IDisposa...
using System.Windows.Input; namespace clipman.Settings { public static class Keyboard { public static Key ClearTextboxKey = Key.Escape; } }
apache-2.0
C#
1f85d83a1727e756bee33f169aadfbf333ad8278
Fix IConfigurationSectionHandler signature
gboucher90/system-configuration-netcore,gboucher90/system-configuration-netcore
src/System.Configuration/System.Configuration/IConfigurationSectionHandler.cs
src/System.Configuration/System.Configuration/IConfigurationSectionHandler.cs
// // System.Configuration.IConfigurationSectionHandler.cs // // Author: // Christopher Podurgiel (cpodurgiel@msn.com) // // (C) Chris Podurgiel // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in...
// // System.Configuration.IConfigurationSectionHandler.cs // // Author: // Christopher Podurgiel (cpodurgiel@msn.com) // // (C) Chris Podurgiel // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in...
mit
C#
763bb82b93d47135dbd25b69a76e2f664abf8bf1
Fix credentials error
joelverhagen/tostorage
ToStorage/Program.cs
ToStorage/Program.cs
using System; using System.Threading.Tasks; using CommandLine; using Knapcode.ToStorage.Core.AzureBlobStorage; namespace Knapcode.ToStorage { class Program { static int Main(string[] args) { return MainAsync(args).Result; } public static async Task<int> MainAsync(s...
using System; using System.Threading.Tasks; using CommandLine; using Knapcode.ToStorage.Core.AzureBlobStorage; namespace Knapcode.ToStorage { class Program { static int Main(string[] args) { return MainAsync(args).Result; } public static async Task<int> MainAsync(s...
mit
C#
0de2411bcb48b8ba0d37f0435d64080a19381c74
rename test according to naming convention
dfch/biz.dfch.CS.System.Utilities
src/biz.dfch.CS.System.Utilities.Tests/Contracts/Endpoint/IODataEndpointDataTest.cs
src/biz.dfch.CS.System.Utilities.Tests/Contracts/Endpoint/IODataEndpointDataTest.cs
/** * Copyright 2015 Marc Rufer, d-fens GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/** * Copyright 2015 Marc Rufer, d-fens GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apache-2.0
C#
3e271c0875d8b3003ab9d5e1831aaff9593e55d9
Fix test which relies on reflection over the code fixes assembly
DotNetAnalyzers/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers.Test/ExportCodeFixProviderAttributeNameTest.cs
StyleCop.Analyzers/StyleCop.Analyzers.Test/ExportCodeFixProviderAttributeNameTest.cs
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test { using System; using System.Collections.Generic; using System.Linq; using System.Reflect...
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test { using System; using System.Collections.Generic; using System.Linq; using System.Reflect...
mit
C#
89ea9b73d62e94fb4cabb4e2d584e49aba7deb8a
Make the rectangle a member and centre it.
pleroy/Principia,eggrobin/Principia,pleroy/Principia,eggrobin/Principia,mockingbirdnest/Principia,pleroy/Principia,mockingbirdnest/Principia,mockingbirdnest/Principia,mockingbirdnest/Principia,eggrobin/Principia,pleroy/Principia
ksp_plugin_adapter/dialog.cs
ksp_plugin_adapter/dialog.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace principia { namespace ksp_plugin_adapter { internal class Dialog : IConfigNode { public void Show(String message) { UnityEngine.GUI.skin = null; rectangle_ = UnityEngine.GUILayout.Window( id : th...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace principia { namespace ksp_plugin_adapter { internal class Dialog : IConfigNode { public void Show(String message) { UnityEngine.Rect dialog_window_rectangle = UnityEngine.Rect.zero; UnityEngine.GUI.skin = null...
mit
C#
74e9bc8c2c2fe345634b2b0ad9c0f3f4d19dece8
Increase timeout for Timer tests
noobot/SlackConnector
tests/SlackConnector.Tests.Unit/Connections/Monitoring/TimerTests.cs
tests/SlackConnector.Tests.Unit/Connections/Monitoring/TimerTests.cs
using System; using System.Threading; using Xunit; using Should; using Timer = SlackConnector.Connections.Monitoring.Timer; namespace SlackConnector.Tests.Unit.Connections.Monitoring { public class TimerTests { [Fact] public void should_run_task_at_least_5_times() { // give...
using System; using System.Threading; using Xunit; using Should; using Timer = SlackConnector.Connections.Monitoring.Timer; namespace SlackConnector.Tests.Unit.Connections.Monitoring { public class TimerTests { [Fact] public void should_run_task_at_least_5_times() { // give...
mit
C#
3187094f54c0413c15135bda9cd04b803bef9deb
Add try catch for GetTextFromAllPages and write error message to text file.
McFunston/PDFDump
PDFDump/Program.cs
PDFDump/Program.cs
using System; using iTextSharp.text.pdf; using iTextSharp.text.pdf.parser; using System.Text; using System.IO; using System.Collections.Generic; namespace PDFDump { class Program { static void Main(string[] args) { ProcessPDFs(GetPDFList()); //string fileName; ...
using System; using iTextSharp.text.pdf; using iTextSharp.text.pdf.parser; using System.Text; using System.IO; using System.Collections.Generic; namespace PDFDump { class Program { static void Main(string[] args) { ProcessPDFs(GetPDFList()); //string fileName; ...
mit
C#
aa27466f7f827dc91d4ae21beb1c41673c4388d5
use NRT
shyamnamboodiripad/roslyn,physhi/roslyn,bartdesmet/roslyn,AmadeusW/roslyn,wvdd007/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,physhi/roslyn,shyamnamboodiripad/roslyn,eriawan/roslyn,AmadeusW/roslyn,shyamnamboodiripad/roslyn,sharwell/roslyn,KevinRansom/roslyn,physhi/roslyn,mavasani/roslyn,CyrusNajma...
src/Features/Core/Portable/CodeCleanup/ICodeCleanupService.cs
src/Features/Core/Portable/CodeCleanup/ICodeCleanupService.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalys...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Host; using M...
mit
C#
ce006661bbe551aecef6151deda82aad47a6fc77
Allow replacing an existing TTimestampParser
MikaelGRA/InfluxDB.Client
src/Vibrant.InfluxDB.Client/DefaultTimestampParserRegistry.cs
src/Vibrant.InfluxDB.Client/DefaultTimestampParserRegistry.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Vibrant.InfluxDB.Client.Resources; namespace Vibrant.InfluxDB.Client { internal class DefaultTimestampParserRegistry : ITimestampParserRegistry { private readonly Dictionary<Type, obje...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Vibrant.InfluxDB.Client.Resources; namespace Vibrant.InfluxDB.Client { internal class DefaultTimestampParserRegistry : ITimestampParserRegistry { private readonly Dictionary<Type, obje...
mit
C#
1da4b6c765c0ea29b87a609fce0e8bfe0627bb32
Fix build post test framework merge
adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,TheFireCookie/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,TheFireCookie/elasticsearch-net,elastic/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,TheFireCookie/elastic...
src/Tests/Cluster/ClusterAllocationExplain/ClusterAllocationExplainApiTests.cs
src/Tests/Cluster/ClusterAllocationExplain/ClusterAllocationExplainApiTests.cs
using System; using Elasticsearch.Net; using FluentAssertions; using Nest; using Tests.Framework; using Tests.Framework.Integration; using Tests.Framework.MockData; using Xunit; namespace Tests.Cluster.ClusterAllocationExplain { [Collection(TypeOfCluster.ReadOnly)] public class ClusterAllocationExplainApiTests : Ap...
using System; using Elasticsearch.Net; using FluentAssertions; using Nest; using Tests.Framework; using Tests.Framework.Integration; using Tests.Framework.MockData; using Xunit; namespace Tests.Cluster.ClusterAllocationExplain { [Collection(IntegrationContext.ReadOnly)] public class ClusterAllocationExplainApiTests...
apache-2.0
C#
8099de0f7a31c9674e6c061af54558afd3478409
Remove test code
rockfordlhotka/csla,rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla,MarimerLLC/csla,rockfordlhotka/csla
Samples/RazorPagesExample/RazorPagesExample/Program.cs
Samples/RazorPagesExample/RazorPagesExample/Program.cs
using Csla.Configuration; using Csla.Web.Mvc; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddRazorPages().AddMvcOptions(options => { options.ModelBinderProviders.Insert(0, new CslaModelBinder...
using Csla.Configuration; using Csla.Web.Mvc; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddRazorPages().AddMvcOptions(options => { options.ModelBinderProviders.Insert(0, new CslaModelBinder...
mit
C#
24b81339b46db2cdcdbe15d6051e7ccfc979d002
add color pulse on blade when active
thestonefox/SteamVR_Unity_Toolkit,phr00t/SteamVR_Unity_Toolkit,Fulby/VRTK,Innoactive/IA-unity-VR-toolkit-VRTK,gomez-addams/SteamVR_Unity_Toolkit,mbbmbbmm/SteamVR_Unity_Toolkit,jcrombez/SteamVR_Unity_Toolkit,pargee/SteamVR_Unity_Toolkit,nmccarty/htvr,TMaloteaux/SteamVR_Unity_Toolkit,gpvigano/VRTK,adamjweaver/VRTK,Bluete...
Assets/SteamVR_Unity_Toolkit/Examples/Resources/Scripts/LightSaber.cs
Assets/SteamVR_Unity_Toolkit/Examples/Resources/Scripts/LightSaber.cs
using UnityEngine; using System.Collections; using VRTK; public class LightSaber : VRTK_InteractableObject { private bool beamActive = false; private Vector2 beamLimits = new Vector2(0f, 1.2f); private float currentBeamSize; private float beamExtendSpeed = 0; private GameObject blade; private...
using UnityEngine; using System.Collections; using VRTK; public class LightSaber : VRTK_InteractableObject { private bool beamActive = false; private Vector2 beamLimits = new Vector2(0f, 1.2f); private float currentBeamSize; private float beamExtendSpeed = 0; private GameObject blade; public...
mit
C#
66497a32051e16f679734fe866d584462c8fa3f4
Update the pointer test
jonathanvdc/ecsc
tests/cs/dereference/Dereference.cs
tests/cs/dereference/Dereference.cs
using System; public static class Program { public static unsafe void Main() { int local = 10; int* localPtr = &local; *localPtr = 42; Console.WriteLine(*localPtr); void* voidPtr = localPtr; localPtr = (int*)voidPtr; Console.WriteLine(*localPtr); } }
using System; public static class Program { public static unsafe void Main() { int local = 10; int* localPtr = &local; *localPtr = 42; Console.WriteLine(*localPtr); } }
mit
C#
89f02a9db67eb5ddebf4bbb184ea084610c2fb9e
Fix REST API url in documentation
TimeLog/TimeLogApiSdk,TimeLog/TimeLogApiSdk,TimeLog/TimeLogApiSdk
TimeLog.Api.Core.Documentation/Models/RestDocumentationHelpers/RestMethodDoc.cs
TimeLog.Api.Core.Documentation/Models/RestDocumentationHelpers/RestMethodDoc.cs
using System.Collections.Generic; using System.Linq; using TimeLog.Api.Core.Documentation.Models.RestDocumentationHelpers.Core; namespace TimeLog.Api.Core.Documentation.Models.RestDocumentationHelpers { public class RestMethodDoc { #region Variables public IReadOnlyList<RestResponse> Response...
using System.Collections.Generic; using System.Linq; using TimeLog.Api.Core.Documentation.Models.RestDocumentationHelpers.Core; namespace TimeLog.Api.Core.Documentation.Models.RestDocumentationHelpers { public class RestMethodDoc { #region Variables public IReadOnlyList<RestResponse> Response...
mit
C#
92376b30aa9d9330510e612d06137fdbdc4edaf7
Add files via upload
ryan27968/expert_system
expert_system/Program.cs
expert_system/Program.cs
using System; using System.IO; namespace expert_system { class Program { static void Main(string[] args) { if (args.Length == 1) { string line, condition, result; StreamReader file = new StreamReader(args[0]); ...
using System; namespace expert_system { class Program { static void Main(string[] args) { foreach(var str in args) Console.WriteLine(str); } } }
mit
C#
73bd78e4180b144787703190ab660b2318bdd8a6
add tests for HealthCheckExtensions
lvermeulen/Nanophone
test/Nanophone.RegistryHost.ConsulRegistry.Tests/HealthCheckExtensionsShould.cs
test/Nanophone.RegistryHost.ConsulRegistry.Tests/HealthCheckExtensionsShould.cs
using Consul; using Xunit; namespace Nanophone.RegistryHost.ConsulRegistry.Tests { public class HealthCheckExtensionsShould { [Fact] public void IgnoreNullHealthCheck() { Assert.False(HealthCheckExtensions.NeedsStatusCheck(null)); } [Fact] public vo...
using Consul; using Xunit; namespace Nanophone.RegistryHost.ConsulRegistry.Tests { public class HealthCheckExtensionsShould { [Fact] public void IgnoreServicesWithoutServiceId() { var healthCheck = new HealthCheck { ServiceID = "" }; Assert.False(healthCheck.Nee...
mit
C#
bc3b2af39d5d391e3bf0c95a5514193e6853faf2
Add rounded corners to timeline ticks display
smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu
osu.Game/Screens/Edit/Components/Timelines/Summary/Visualisations/PointVisualisation.cs
osu.Game/Screens/Edit/Components/Timelines/Summary/Visualisations/PointVisualisation.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations { /// <summary> //...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations { /// <summary> //...
mit
C#
3495d13efcfecf3e968a65f9c38b4812d94b6f00
Mark the eight-byte-boundaries when dumping a message
Tragetaschen/DbusCore
src/Dbus/ExtensionMethods.cs
src/Dbus/ExtensionMethods.cs
using System; using System.Buffers; namespace Dbus { internal static class ExtensionMethods { public static void Dump(this ReadOnlySequence<byte> buffers) { var counter = 0; foreach (var segment in buffers) { var buffer = segment.Span; ...
using System; using System.Buffers; namespace Dbus { internal static class ExtensionMethods { public static void Dump(this ReadOnlySequence<byte> buffers) { foreach (var segment in buffers) { var buffer = segment.Span; dump(buffer); ...
mit
C#
c62b3668d081bdf8cff004f8f255991d0f7e0f5e
add byte[] extension ToDosString() tests
martinlindhe/Punku
PunkuTests/Extensions/ByteArrayExtensions.cs
PunkuTests/Extensions/ByteArrayExtensions.cs
using System; using System.Text; using NUnit.Framework; using Punku; [TestFixture] [Category ("Extensions")] public class Extensions_ByteArray { [Test] public void DosString01 () { byte[] x = { (byte)'a', (byte)'b', (byte)'c', (byte)'$' }; Assert.AreEqual ( x.ToDosString (), "abc" ); } [Test] pu...
using System; using System.Text; using NUnit.Framework; using Punku; [TestFixture] [Category ("Extensions")] public class Extensions_ByteArray { [Test] public void CString01 () { byte[] x = { (byte)'a', (byte)'b', (byte)'c' }; Assert.AreEqual ( x.ToCString (), "abc" ); } [Test] public void CStri...
mit
C#
1177220a1f90394e799f4f5258b168c2d3b3d67f
Fix GenFloat to have a range generator
Weingartner/SolidworksAddinFramework
SolidworksAddinFramework.FSCheck/GenFloat.cs
SolidworksAddinFramework.FSCheck/GenFloat.cs
using System; using FsCheck; using static LanguageExt.Prelude; namespace WeinCadSW.Spec.FsCheck { /// <summary> /// Different float generators /// </summary> public static class GenFloat { private static double fraction(int a, int b, int c) =>a + (double) b/ c; public static Gen<d...
using FsCheck; namespace WeinCadSW.Spec.FsCheck { /// <summary> /// Different float generators /// </summary> public static class GenFloat { public static Gen<double> Normal => Arb.Default.NormalFloat().Generator.Select(f=>f.Item); } }
mit
C#
7406501f584f3f5c9ea8341e9102181a8330a7d1
Update CurrencyHelper.cs
tiksn/TIKSN-Framework
TIKSN.Core/Finance/Helpers/CurrencyHelper.cs
TIKSN.Core/Finance/Helpers/CurrencyHelper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Finance.Helpers { internal static class CurrencyHelper { public static async Task<IEnumerable<ICurrencyConverter>> FilterConvertersAsync( IEnumerable<ICur...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Finance.Helpers { internal static class CurrencyHelper { public static async Task<IEnumerable<ICurrencyConverter>> FilterConverters( IEnumerable<ICurrency...
mit
C#
6e3379ae69a3bcc7466b1be5f9b8d2ad48d7d092
Update GroupingRowsAndColumns.cs
aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,ma...
Examples/CSharp/RowsColumns/Grouping/GroupingRowsAndColumns.cs
Examples/CSharp/RowsColumns/Grouping/GroupingRowsAndColumns.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.RowsColumns.Grouping { public class GroupingRowsAndColumns { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examp...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.RowsColumns.Grouping { public class GroupingRowsAndColumns { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(Sys...
mit
C#
77f6497d5c3062e6097d9578c9314bc2a60588a7
Update to GroundOverlay size.
nuitsjp/Xamarin.Forms.GoogleMaps.Bindings
Sample/GoogleMaps.Bindings/GoogleMaps.Bindings/ViewModels/GroundOverlaysPageViewModel.cs
Sample/GoogleMaps.Bindings/GoogleMaps.Bindings/ViewModels/GroundOverlaysPageViewModel.cs
using System.Collections.ObjectModel; using Xamarin.Forms; using Xamarin.Forms.GoogleMaps; namespace GoogleMaps.Bindings.ViewModels { public class GroundOverlaysPageViewModel : ViewModelBase { public ObservableCollection<GroundOverlay> GroundOverlays { get; set; } public Command<MapClickedEve...
using System.Collections.ObjectModel; using Xamarin.Forms; using Xamarin.Forms.GoogleMaps; namespace GoogleMaps.Bindings.ViewModels { public class GroundOverlaysPageViewModel : ViewModelBase { public ObservableCollection<GroundOverlay> GroundOverlays { get; set; } public Command<MapClickedEve...
mit
C#
1e6fe95987052dfb16eb38a294c39a7fb573229c
Add access tests for all nullable types.
Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet
Tests/IntegrationTests.Shared/AccessTests.cs
Tests/IntegrationTests.Shared/AccessTests.cs
/* Copyright 2015 Realm Inc - All Rights Reserved * Proprietary and Confidential */ using System.IO; using NUnit.Framework; using Realms; namespace IntegrationTests.Shared { [TestFixture] public class AccessTests { protected string _databasePath; protected Realm _realm; [SetUp]...
/* Copyright 2015 Realm Inc - All Rights Reserved * Proprietary and Confidential */ using System.IO; using NUnit.Framework; using Realms; namespace IntegrationTests.Shared { [TestFixture] public class AccessTests { protected string _databasePath; protected Realm _realm; [SetUp]...
apache-2.0
C#
a80df4cc9cd90ad3819707e35552abc3fe5d5ed1
Remove unneeded locks
residuum/xwt,lytico/xwt,akrisiun/xwt,mono/xwt,directhex/xwt,sevoku/xwt,steffenWi/xwt,hamekoz/xwt,cra0zy/xwt,TheBrainTech/xwt,antmicro/xwt,mminns/xwt,mminns/xwt,hwthomas/xwt,iainx/xwt
Xwt.Gtk/Xwt.GtkBackend/ProgressBarBackend.cs
Xwt.Gtk/Xwt.GtkBackend/ProgressBarBackend.cs
// // ProgressBarBackend.cs // // Author: // Andres G. Aragoneses <knocte@gmail.com> // // Copyright (c) 2012 Andres G. Aragoneses // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Soft...
// // ProgressBarBackend.cs // // Author: // Andres G. Aragoneses <knocte@gmail.com> // // Copyright (c) 2012 Andres G. Aragoneses // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Soft...
mit
C#
4c634118e8d94d2674a05cdc6381c6e5dba42366
Add Color custom display option for star ratings
davek17/SurveyMonkeyApi-v3,bcemmett/SurveyMonkeyApi-v3
SurveyMonkey/Containers/QuestionDisplayOptionsCustomOptions.cs
SurveyMonkey/Containers/QuestionDisplayOptionsCustomOptions.cs
using Newtonsoft.Json; using System.Collections.Generic; namespace SurveyMonkey.Containers { [JsonConverter(typeof(TolerantJsonConverter))] public class QuestionDisplayOptionsCustomOptions { public List<string> OptionSet { get; set; } public int StartingPosition { get; set; } publi...
using Newtonsoft.Json; using System.Collections.Generic; namespace SurveyMonkey.Containers { [JsonConverter(typeof(TolerantJsonConverter))] public class QuestionDisplayOptionsCustomOptions { public List<string> OptionSet { get; set; } public int StartingPosition { get; set; } publi...
mit
C#
32207b72fe872e82d545f065cfce1a52e5ffb0dd
Remove redundant case from switch statement
PowerShell/PowerShellEditorServices
src/PowerShellEditorServices/Language/PesterDocumentSymbolProvider.cs
src/PowerShellEditorServices/Language/PesterDocumentSymbolProvider.cs
using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation.Language; namespace Microsoft.PowerShell.EditorServices { internal class PesterDocumentSymbolProvider : DocumentSymbolProvider { protected override bool CanProvideFor(ScriptFile scriptFile) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation.Language; namespace Microsoft.PowerShell.EditorServices { internal class PesterDocumentSymbolProvider : DocumentSymbolProvider { protected override bool CanProvideFor(ScriptFile scriptFile) { ...
mit
C#
103c916e219994ee3231946054332faed7dbe8da
Use timed observations 2 VM.
escape-llc/yet-another-chart-component
YetAnotherChartComponent/eScape.Yacc.Demo/Pages/Chart3.xaml.cs
YetAnotherChartComponent/eScape.Yacc.Demo/Pages/Chart3.xaml.cs
using eScape.Core.Page; using System.Collections.Generic; using System.Threading; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Navigation; using Yacc.Demo.VM; using System; namespace Yacc.Demo.Pages { public sealed partial class Chart3 : BasicPage { public override string PageTitle => "Recycling"; public i...
using eScape.Core.Page; using System.Collections.Generic; using System.Threading; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Navigation; using Yacc.Demo.VM; using System; namespace Yacc.Demo.Pages { public sealed partial class Chart3 : BasicPage { public override string PageTitle => "Recycling"; public i...
apache-2.0
C#
8a54dab5d0e28d4aaa372c1f62a8a655629c5a4e
Tidy up code
ppy/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu,ppy/osu,johnneijzen/osu,smoogipoo/osu,ZLima12/osu,peppy/osu-new,ZLima12/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,2yangk23/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,Useless...
osu.iOS/AppDelegate.cs
osu.iOS/AppDelegate.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Threading.Tasks; using Foundation; using osu.Framework.iOS; using osu.Game; using UIKit; namespace osu.iOS { [Register("AppDelegate")] public class ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Threading.Tasks; using Foundation; using osu.Framework.iOS; using osu.Game; using UIKit; namespace osu.iOS { [Register("AppDelegate")] public class ...
mit
C#
48830c782f8fb90715d36849c5df32a3e0d8dc6a
Remove extra empty line in Util
frederickrogan/RiotSharp
RiotSharp/Misc/Util.cs
RiotSharp/Misc/Util.cs
using System; using System.Collections.Generic; using System.Linq; using RiotSharp.MatchEndpoint.Enums; namespace RiotSharp.Misc { static class Util { public static DateTime BaseDateTime = new DateTime(1970, 1, 1); public static DateTime ToDateTimeFromMilliSeconds(this long millis) {...
using System; using System.Collections.Generic; using System.Linq; using RiotSharp.MatchEndpoint.Enums; namespace RiotSharp.Misc { static class Util { public static DateTime BaseDateTime = new DateTime(1970, 1, 1); public static DateTime ToDateTimeFromMilliSeconds(this long millis) {...
mit
C#
e9b97d10d5910bf9cb63db6b7838417fa28a765e
Remove unnecessary field
Priya91/corefx-1,marksmeltzer/corefx,DnlHarvey/corefx,richlander/corefx,MaggieTsang/corefx,Petermarcu/corefx,parjong/corefx,gkhanna79/corefx,parjong/corefx,ravimeda/corefx,the-dwyer/corefx,nchikanov/corefx,elijah6/corefx,axelheer/corefx,billwert/corefx,dhoehna/corefx,nbarbettini/corefx,yizhang82/corefx,JosephTremoulet/...
src/System.ComponentModel.TypeConverter/src/System/ComponentModel/HandledEventArgs.cs
src/System.ComponentModel.TypeConverter/src/System/ComponentModel/HandledEventArgs.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.ComponentModel { /// <summary> /// <para> /// Provides data for the <see cref=...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.ComponentModel { /// <summary> /// <para> /// Provides data for the <see cref=...
mit
C#
6bec2a91c138399a2c1ea0b01d696a2eff172c86
Update BryceMcDonald.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/BryceMcDonald.cs
src/Firehose.Web/Authors/BryceMcDonald.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class BryceMcDonald : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Bryce"; ...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class BryceMcDonald : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Bryce"; ...
mit
C#
b920ecd7fdbd9ed7fa3cba950fdc336978eee56e
Fix mono bug in the FontHelper class
gmartin7/libpalaso,gmartin7/libpalaso,JohnThomson/libpalaso,mccarthyrb/libpalaso,chrisvire/libpalaso,glasseyes/libpalaso,andrew-polk/libpalaso,gtryus/libpalaso,andrew-polk/libpalaso,darcywong00/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,ddaspit/libpalaso,marksvc/libpalaso,tombogle/libpalaso,...
PalasoUIWindowsForms.Tests/FontTests/FontHelperTests.cs
PalasoUIWindowsForms.Tests/FontTests/FontHelperTests.cs
using System; using System.Drawing; using System.Linq; using NUnit.Framework; using Palaso.UI.WindowsForms; namespace PalasoUIWindowsForms.Tests.FontTests { [TestFixture] public class FontHelperTests { [SetUp] public void SetUp() { // setup code goes here } [TearDown] public void TearDown() { ...
using System; using System.Drawing; using System.Linq; using NUnit.Framework; using Palaso.UI.WindowsForms; namespace PalasoUIWindowsForms.Tests.FontTests { [TestFixture] public class FontHelperTests { [SetUp] public void SetUp() { // setup code goes here } [TearDown] public void TearDown() { ...
mit
C#
796883e229f48464bdce1813555a7fadb66b1be9
Update version number
miniter/SSH.NET,Bloomcredit/SSH.NET,sshnet/SSH.NET,GenericHero/SSH.NET
Renci.SshClient/Renci.SshNet/Properties/AssemblyInfo.cs
Renci.SshClient/Renci.SshNet/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assem...
using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assem...
mit
C#
8c5674dc72ef759b37ee918467607cecaecb7f68
Make RequestKey agnostic from ASP.NET types.
tiesmaster/DCC,tiesmaster/DCC
Dcc/RequestKey.cs
Dcc/RequestKey.cs
using System.Diagnostics; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace Tiesmaster.Dcc { // ReSharper disable once UseNameofExpression [DebuggerDisplay("{DebuggerDisplay,nq}")] public struct RequestKey { private readonly string _method; ...
using System.Diagnostics; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace Tiesmaster.Dcc { // ReSharper disable once UseNameofExpression [DebuggerDisplay("{DebuggerDisplay,nq}")] public struct RequestKey { private readonly string _method; ...
mit
C#
1ddaf8687e00de73a75ac6f174bf865ef23c28d0
Stop using ForRelational.
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/MusicStore.Spa/Models/MusicStoreContext.cs
src/MusicStore.Spa/Models/MusicStoreContext.cs
using System; using System.Linq; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.Data.Entity; using Microsoft.Data.Entity.Metadata; using Microsoft.Framework.OptionsModel; namespace MusicStore.Models { public class ApplicationUser : IdentityUser { } public cl...
using System; using System.Linq; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.Data.Entity; using Microsoft.Data.Entity.Metadata; using Microsoft.Framework.OptionsModel; namespace MusicStore.Models { public class ApplicationUser : IdentityUser { } public cl...
apache-2.0
C#
457ade0b771697ff6f99f8138098e223e56326d6
Update ApiControllerAttribute with link to more info (#29292)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Mvc/Mvc.Core/src/ApiControllerAttribute.cs
src/Mvc/Mvc.Core/src/ApiControllerAttribute.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Mvc.Infrastructure; namespace Microsoft.AspNetCore.Mvc { /// <summary> /// Indicates that a type and a...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Mvc.Infrastructure; namespace Microsoft.AspNetCore.Mvc { /// <summary> /// Indicates that a type and ...
apache-2.0
C#
4e4c3cc52f95d2cdd18a04065bd2b1f29097f470
Replace the existing ProblemDetailsFactory from MVC
khellang/Middleware,khellang/Middleware
src/ProblemDetails/Mvc/MvcBuilderExtensions.cs
src/ProblemDetails/Mvc/MvcBuilderExtensions.cs
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ApplicationModels; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; using MvcProblemDetailsFactory = Microsoft.AspNetCore.Mvc.Infrastructure.ProblemDetailsFactory;...
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ApplicationModels; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; using MvcProblemDetailsFactory = Microsoft.AspNetCore.Mvc.Infrastructure.ProblemDetailsFactory;...
mit
C#
7cadcd3ebbe205043f5528182c6a5d8781e8505b
Add missing $ in Label.ToString()
0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced
src/csharp/Intel/Iced/Intel/Assembler/Label.cs
src/csharp/Intel/Iced/Intel/Assembler/Label.cs
/* Copyright (C) 2018-2019 de4dot@gmail.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distr...
/* Copyright (C) 2018-2019 de4dot@gmail.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distr...
mit
C#
9037afddb5ccfa68a2fc7b6397e6760599eb6a91
Update cake script
PluginsForXamarin/vibrate
CI/build.cake
CI/build.cake
#addin "Cake.FileHelpers" var TARGET = Argument ("target", Argument ("t", "Default")); var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); var libraries = new Dictionary<string, string> { { "./../Vibrate.sln", "Any" }, }; var samples = new Dictionary<string, string> { ...
#addin "Cake.FileHelpers" var TARGET = Argument ("target", Argument ("t", "Default")); var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); Task ("Default").Does (() => { const string sln = "./../Vibrate.sln"; const string cfg = "Release"; NuGetRestore (sln); ...
mit
C#
45b1aaea04340e835e396ddbcd881897ebbb35b4
Update CurrentCommandContext.cs
tiksn/TIKSN-Framework
TIKSN.Core/PowerShell/CurrentCommandContext.cs
TIKSN.Core/PowerShell/CurrentCommandContext.cs
using System; namespace TIKSN.PowerShell { public class CurrentCommandContext : ICurrentCommandStore, ICurrentCommandProvider { private CommandBase _command; public CommandBase GetCurrentCommand() { if (this._command == null) { throw new NullRefe...
using System; namespace TIKSN.PowerShell { public class CurrentCommandContext : ICurrentCommandStore, ICurrentCommandProvider { private CommandBase _command; public CommandBase GetCurrentCommand() { if (this._command == null) { throw new NullRefe...
mit
C#
3bf538d4159c781adfdb76abf738d73b0af282e0
Fix iOS nullref on orientation change (#2701)
EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework
osu.Framework.iOS/GameViewController.cs
osu.Framework.iOS/GameViewController.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using CoreGraphics; using osu.Framework.Platform; using UIKit; namespace osu.Framework.iOS { internal class GameViewController : UIViewController ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using CoreGraphics; using osu.Framework.Platform; using UIKit; namespace osu.Framework.iOS { internal class GameViewController : UIViewController ...
mit
C#
e00179f3c92dd16e3e2ad2b9c7281fd19f90d3f6
Remove dead private and comments
mono/dbus-sharp-glib,mono/dbus-sharp-glib
glib/GLib.cs
glib/GLib.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; //using GLib; //using Gtk; using NDesk.DBus; using NDesk.GLib; using org.freedesktop.DBus; namespace NDesk.DBus { //FIXME: this API needs review and de-unixification public ...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; //using GLib; //using Gtk; using NDesk.DBus; using NDesk.GLib; using org.freedesktop.DBus; namespace NDesk.DBus { //FIXME: this API needs review and de-unixification public ...
mit
C#
ec727cd63d092e36b20664e27372ee595df0d53c
Fix the parameters
phaetto/serviceable-objects
Serviceable.Objects.Instrumentation/CommonParameters/CommonInstrumentationParameters.cs
Serviceable.Objects.Instrumentation/CommonParameters/CommonInstrumentationParameters.cs
namespace Serviceable.Objects.Instrumentation.CommonParameters { using System.Management.Automation; public sealed class CommonInstrumentationParameters { public const string ContainerParameterSet = "Container"; public const string ServiceParameterSet = "Service"; public const stri...
namespace Serviceable.Objects.Instrumentation.CommonParameters { using System.Management.Automation; public sealed class CommonInstrumentationParameters { public const string ContainerParameterSet = "Container"; public const string ServiceParameterSet = "Service"; public const stri...
mit
C#
470446b02b685f2b2678bb314a6c97aaa800c1a7
Add OAuth flow to extended splash screen
tjcsl/ionapp-w10,tjcsl/ionapp-w10
Ion10/App.xaml.cs
Ion10/App.xaml.cs
using Windows.UI.Xaml; using System.Threading.Tasks; using Ion10.Services.SettingsServices; using Windows.ApplicationModel.Activation; using Template10.Controls; using Template10.Common; using System; using System.Linq; using Windows.UI.Popups; using Windows.UI.Xaml.Data; using Windows.Web.Http; using Ion10.Services; ...
using Windows.UI.Xaml; using System.Threading.Tasks; using Ion10.Services.SettingsServices; using Windows.ApplicationModel.Activation; using Template10.Controls; using Template10.Common; using System; using System.Linq; using Windows.UI.Xaml.Data; namespace Ion10 { /// Documentation on APIs used in this page: ...
mit
C#
80bd4b04f9ee2644f0ba6b1f4b816f2c78e20036
Make CodeFactor happy at the cost of my own happiness (code unfolding)
HoLLy-HaCKeR/osu-database-reader
osu-database-reader/Components/HitObjects/HitObjectSlider.cs
osu-database-reader/Components/HitObjects/HitObjectSlider.cs
using System.Collections.Generic; using System.Diagnostics; namespace osu_database_reader.Components.HitObjects { public class HitObjectSlider : HitObject { public CurveType CurveType; public List<Vector2> Points = new List<Vector2>(); //does not include initial point! public int Repe...
using System.Collections.Generic; using System.Diagnostics; namespace osu_database_reader.Components.HitObjects { public class HitObjectSlider : HitObject { public CurveType CurveType; public List<Vector2> Points = new List<Vector2>(); //does not include initial point! public int Repe...
mit
C#
0347fc4b1c6c90fdfa1da56e942fd17dd97f3f3b
implement arraylist
aloisdg/edx-csharp
edX/Module7/Program.cs
edX/Module7/Program.cs
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Module7 { //Create a Stack object inside the Student object, called Grades, to store test scores. //Create 3 student objects....
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Module7 { class Program { static void Main(string[] args) { } } }
mit
C#
48c46efdd72ea4a8a34243ebbe3f3f56d37d3b05
Remove rogue newline
NeoAdonis/osu,2yangk23/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,EVAST9919/osu
osu.Game.Tournament.Tests/Screens/TestSceneGameplayScreen.cs
osu.Game.Tournament.Tests/Screens/TestSceneGameplayScreen.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Framework.Allocation; using osu.Game.Tournament.Components; using osu.Game.Tournament.Screens; using osu.Game.To...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Framework.Allocation; using osu.Game.Tournament.Components; using osu.Game.Tournament.Screens; using osu.Game.To...
mit
C#
6d3d906e604d530c5f1e03d2c8dc191f8b6f45e7
add example of custom error message to sample
AntiTcb/Discord.Net,RogueException/Discord.Net
samples/02_commands_framework/Modules/PublicModule.cs
samples/02_commands_framework/Modules/PublicModule.cs
using System.IO; using System.Threading.Tasks; using Discord; using Discord.Commands; using _02_commands_framework.Services; namespace _02_commands_framework.Modules { // Modules must be public and inherit from an IModuleBase public class PublicModule : ModuleBase<SocketCommandContext> { // Depende...
using System.IO; using System.Threading.Tasks; using Discord; using Discord.Commands; using _02_commands_framework.Services; namespace _02_commands_framework.Modules { // Modules must be public and inherit from an IModuleBase public class PublicModule : ModuleBase<SocketCommandContext> { // Depende...
mit
C#
84bc84d17977983ee387c2c5e906122112132f7c
Extend class User with RingId property #67
JetBrains/YouTrackSharp,JetBrains/YouTrackSharp
src/YouTrackSharp/Management/User.cs
src/YouTrackSharp/Management/User.cs
using Newtonsoft.Json; namespace YouTrackSharp.Management { /// <summary> /// A class that represents YouTrack user information. /// </summary> public class User { /// <summary> /// Ring ID of the user. /// </summary> [JsonProperty("ringId")] public string R...
using Newtonsoft.Json; namespace YouTrackSharp.Management { /// <summary> /// A class that represents YouTrack user information. /// </summary> public class User { /// <summary> /// Username of the user. /// </summary> [JsonProperty("login")] public string U...
apache-2.0
C#
b80acbf059ab4ba69b9e8dbd4444c0735b5c310c
Use separate output directories for debug and release builds
Thealexbarney/VGAudio,Thealexbarney/VGAudio,Thealexbarney/LibDspAdpcm,Thealexbarney/LibDspAdpcm
build/Lifetime.cs
build/Lifetime.cs
using Cake.Common; using Cake.Frosting; namespace Build { public sealed class Lifetime : FrostingLifetime<Context> { public override void Setup(Context context) { context.Configuration = context.Argument("configuration", "Release"); context.BaseDir = context.Environment...
using Cake.Common; using Cake.Frosting; namespace Build { public sealed class Lifetime : FrostingLifetime<Context> { public override void Setup(Context context) { context.Configuration = context.Argument("configuration", "Release"); context.BaseDir = context.Environment...
mit
C#
05e21ca49ffe542d234a41612c1b94ccca5924ca
Move ProxyActivator to Abstractions
AspectCore/Abstractions,AspectCore/AspectCore-Framework,AspectCore/Lite,AspectCore/AspectCore-Framework
src/AspectCore.Lite/Internal/ProxyActivator.cs
src/AspectCore.Lite/Internal/ProxyActivator.cs
using AspectCore.Lite.Abstractions; using AspectCore.Lite.Generators; using System; using Microsoft.Extensions.DependencyInjection; namespace AspectCore.Lite.Abstractions { public class ProxyActivator : IProxyActivator { private readonly IServiceProvider serviceProvider; public ProxyActivator(...
using AspectCore.Lite.Abstractions; using AspectCore.Lite.Generators; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; namespace AspectCore.Lite.Internal { public class ProxyActivator : IProxyActivator { pr...
mit
C#
0abc2ff83eb994b43ac762e632198039632f392b
Optimize polymorphic serializer check
FreecraftCore/FreecraftCore.Serializer,FreecraftCore/FreecraftCore.Serializer
src/FreecraftCore.Serializer/Serializer/SerializerService.cs
src/FreecraftCore.Serializer/Serializer/SerializerService.cs
using System; using System.Collections.Generic; using System.Text; namespace FreecraftCore.Serializer { //So it's abit confusing but these are legacy interface types that used to exist and implement //the logic for serialization. public sealed class SerializerService : ISerializerService, ISerializationPolymorphic...
using System; using System.Collections.Generic; using System.Text; namespace FreecraftCore.Serializer { //So it's abit confusing but these are legacy interface types that used to exist and implement //the logic for serialization. public sealed class SerializerService : ISerializerService, ISerializationPolymorphic...
agpl-3.0
C#
8faab9175c8d0b92bf3010ea04d935455792ff5b
Fix SampleBass potentially adding invalid memory pressure
peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework
osu.Framework/Audio/Sample/SampleBass.cs
osu.Framework/Audio/Sample/SampleBass.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using ManagedBass; using osu.Framework.Allocation; using System.Collections.Concurrent; using System.Runtime.InteropServices; using System.Threading.Tasks; using osu.Fra...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using ManagedBass; using osu.Framework.Allocation; using System.Collections.Concurrent; using System.Runtime.InteropServices; using System.Threading.Tasks; using osu.Fra...
mit
C#
7a4944d83f313de6aa1577e4dcd8ac986802f99b
Add check for new embedded portable PDB data
0xd4d/dnlib
src/DotNet/Pdb/Portable/SymbolReaderCreator.cs
src/DotNet/Pdb/Portable/SymbolReaderCreator.cs
// dnlib: See LICENSE.txt for more info using System.Diagnostics; using System.IO; using System.IO.Compression; using dnlib.DotNet.MD; using dnlib.DotNet.Pdb.Symbols; using dnlib.IO; using dnlib.PE; namespace dnlib.DotNet.Pdb.Portable { static class SymbolReaderCreator { public static SymbolReader TryCreate(IImag...
// dnlib: See LICENSE.txt for more info using System.IO; using System.IO.Compression; using dnlib.DotNet.MD; using dnlib.DotNet.Pdb.Symbols; using dnlib.IO; using dnlib.PE; namespace dnlib.DotNet.Pdb.Portable { static class SymbolReaderCreator { public static SymbolReader TryCreate(IImageStream pdbStream, bool is...
mit
C#
6fa4efdd422d80373e2de91fb3712fc311616160
Fix the default virtual path
mrahhal/ExternalTemplates
src/ExternalTemplates.AspNet/IGeneratorOptions.Default.cs
src/ExternalTemplates.AspNet/IGeneratorOptions.Default.cs
using System; namespace ExternalTemplates { /// <summary> /// Default generator options. /// </summary> public class GeneratorOptions : IGeneratorOptions { /// <summary> /// Gets the path relative to the web root where the templates are stored. /// Default is "Content/templates". /// </summary> public ...
using System; namespace ExternalTemplates { /// <summary> /// Default generator options. /// </summary> public class GeneratorOptions : IGeneratorOptions { /// <summary> /// Gets the path relative to the web root where the templates are stored. /// Default is "/Content/templates". /// </summary> public...
mit
C#
c29d19ab7150409d3c4bfad1d8321c7eb582dd29
remove the loop and use first item in FileNames
github/VisualStudio,github/VisualStudio,github/VisualStudio
src/GitHub.VisualStudio/Helpers/ActiveDocumentSnapshot.cs
src/GitHub.VisualStudio/Helpers/ActiveDocumentSnapshot.cs
using Microsoft.VisualStudio; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.TextManager.Interop; using System; using System.ComponentModel.Composition; using System.Diagnostics; namespace GitHub.VisualStudio { [Export(typeof(IActiveDocumentSnapshot))] [PartCreationPolicy(CreationPolicy.NonS...
using Microsoft.VisualStudio; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.TextManager.Interop; using System; using System.ComponentModel.Composition; using System.Diagnostics; namespace GitHub.VisualStudio { [Export(typeof(IActiveDocumentSnapshot))] [PartCreationPolicy(CreationPolicy.NonS...
mit
C#
456e18cdcb50ddb64bded8ef5a0820a5b848f7f2
Fix test in the testproj
JetBrains/teamcity-dotmemory,JetBrains/teamcity-dotmemory
testproj/UnitTest1.cs
testproj/UnitTest1.cs
namespace testproj { using System; using JetBrains.dotMemoryUnit; using NUnit.Framework; [TestFixture] public class UnitTest1 { [Test] public void TestMethod1() { dotMemory.Check( memory => { var str1 = "...
namespace testproj { using JetBrains.dotMemoryUnit; using NUnit.Framework; [TestFixture] public class UnitTest1 { [Test] public void TestMethod1() { dotMemory.Check( memory => { Assert.AreEqual(10, memory.Obje...
apache-2.0
C#
1982396c31833fbec2190a193142d35bb9010912
Add basic formatting support to GlobalStatisticsDisplay (#2616)
ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework
osu.Framework/Statistics/GlobalStatistic.cs
osu.Framework/Statistics/GlobalStatistic.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; namespace osu.Framework.Statistics { public class GlobalStatistic<T> : IGlobalStatistic { public string Group { get; } ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; namespace osu.Framework.Statistics { public class GlobalStatistic<T> : IGlobalStatistic { public string Group { get; } ...
mit
C#
72f30a2b5ed6eaa8d669b25f331e7fa0073485d4
Package Update
cetusfinance/qwack,cetusfinance/qwack,cetusfinance/qwack,cetusfinance/qwack
src/Qwack.Providers/Json/CurrenciesFromJson.cs
src/Qwack.Providers/Json/CurrenciesFromJson.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Qwack.Core.Basic; using Qwack.Dates; using Qwack.Serialization; namespace Qwack.Providers.Json { public class CurrenciesFromJson : ICurrencyP...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Qwack.Core.Basic; using Qwack.Dates; using Qwack.Serialization; namespace Qwack.Providers.Json { public class CurrenciesFromJson : ICurrencyP...
mit
C#
a6d99737e8b8907f0b429e87d49b27f38da3bd13
Install service with "delayed auto start".
PeteGoo/graphite-client,peschuster/graphite-client
source/Graphite.System/ServiceInstaller.designer.cs
source/Graphite.System/ServiceInstaller.designer.cs
using System.ComponentModel; using System.ServiceProcess; using System.Configuration.Install; namespace Graphite.System { public partial class ServiceInstaller { private IContainer components = null; private global::System.ServiceProcess.ServiceInstaller serviceInstaller; private Ser...
using System.ComponentModel; using System.ServiceProcess; using System.Configuration.Install; namespace Graphite.System { public partial class ServiceInstaller { private IContainer components = null; private global::System.ServiceProcess.ServiceInstaller serviceInstaller; private Ser...
mit
C#
526c5bf58a002c4ecf4b064d7dfcabe61e4c6ed4
Add tests for SA1018 with nullable tuple types
DotNetAnalyzers/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1018CSharp7UnitTests.cs
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1018CSharp7UnitTests.cs
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using System; using System.Linq; using System.Reflection; using Sy...
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using Test.SpacingRules; public class SA1018CSharp7UnitTests : SA1018Unit...
mit
C#
fee21072edbe5b4d12b663d96a5e809614dab5ef
Support gist direct link.
congdanhqx/BlogEngine.Gist
GistExtension.cs
GistExtension.cs
using BlogEngine.Core; using BlogEngine.Core.Web.Controls; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace BlogEngine.Gist { [Extension("This extension enables Github Gist support for BlogEngine.NET...
using BlogEngine.Core; using BlogEngine.Core.Web.Controls; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace BlogEngine.Gist { [Extension("This extension enables Github Gist support for BlogEngine.NET...
apache-2.0
C#
243048ecdbe82b6f2fa98ceeec2fdfca75a09e35
Update ShapeStateTypeConverter.cs
Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Serializer.Xaml/Converters/ShapeStateTypeConverter.cs
src/Serializer.Xaml/Converters/ShapeStateTypeConverter.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Globalization; #if NETSTANDARD1_3 using System.ComponentModel; #else using Portable.Xaml.ComponentModel; #endif using Core2D.Shape; nam...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Globalization; #if NETSTANDARD using System.ComponentModel; #else using Portable.Xaml.ComponentModel; #endif using Core2D.Shape; namesp...
mit
C#
6c2dee76e68deee4aa8a392b79a876f42da01171
Add filter to prune away outdated VCS branches
amoerie/teamcity-theatre,amoerie/teamcity-theatre,amoerie/teamcity-theatre,amoerie/teamcity-theatre,amoerie/teamcity-theatre
src/TeamCityTheatre.Core/DataServices/BuildDataService.cs
src/TeamCityTheatre.Core/DataServices/BuildDataService.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using RestSharp; using TeamCityTheatre.Core.Client; using TeamCityTheatre.Core.Client.Mappers; using TeamCityTheatre.Core.Client.Responses; using TeamCityTheatre.Core.Models; namespace TeamCityTheatre.Core.DataServices { public class Buil...
using System; using System.Collections.Generic; using System.Threading.Tasks; using RestSharp; using TeamCityTheatre.Core.Client; using TeamCityTheatre.Core.Client.Mappers; using TeamCityTheatre.Core.Client.Responses; using TeamCityTheatre.Core.Models; namespace TeamCityTheatre.Core.DataServices { public class Buil...
mit
C#
21104ec1ee26d2f89affaa76a737ec23fb185e61
remove BOM
jboeuf/grpc,vjpai/grpc,muxi/grpc,vjpai/grpc,grpc/grpc,grpc/grpc,ejona86/grpc,donnadionne/grpc,firebase/grpc,pszemus/grpc,ctiller/grpc,ctiller/grpc,vjpai/grpc,pszemus/grpc,jtattermusch/grpc,ctiller/grpc,jboeuf/grpc,donnadionne/grpc,jboeuf/grpc,ejona86/grpc,jtattermusch/grpc,firebase/grpc,firebase/grpc,muxi/grpc,grpc/grp...
test/distrib/csharp/DistribTest/Program.cs
test/distrib/csharp/DistribTest/Program.cs
#region Copyright notice and license // Copyright 2015 gRPC authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless req...
#region Copyright notice and license // Copyright 2015 gRPC authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless req...
apache-2.0
C#