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 |
|---|---|---|---|---|---|---|---|---|
61b9a73e21f4d07cba1544f4d928b9dd65ee018d | use phantomjs | OlegKleyman/AlphaDev,OlegKleyman/AlphaDev,OlegKleyman/AlphaDev | tests/integration/AlphaDev.Web.Tests.Integration/Fixtures/SiteTester.cs | tests/integration/AlphaDev.Web.Tests.Integration/Fixtures/SiteTester.cs | using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.PhantomJS;
namespace AlphaDev.Web.Tests.Integration.Fixtures
{
public class SiteTester : IDisposable
{
public SiteTester()
{
const string pathEnvironmentVariableName = "PATH";
var p... | using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
namespace AlphaDev.Web.Tests.Integration.Fixtures
{
public class SiteTester : IDisposable
{
public SiteTester()
{
var path = Environment.GetEnvironmentVariable("PATH");
Environment.SetEnvironmentVariabl... | unlicense | C# |
d27319288d91048733985b3550f3ea15395f0141 | use should.throw | Pondidum/Finite,Pondidum/Finite | Finite.Tests/StateMachineTests.cs | Finite.Tests/StateMachineTests.cs | using System;
using System.CodeDom;
using System.Linq;
using System.Security.Policy;
using Finite.Tests.TestData;
using Shouldly;
using Xunit;
namespace Finite.Tests
{
public class StateMachineTests
{
private readonly StateMachine<TestArgs> _machine;
public StateMachineTests()
{
var states = new ManualSta... | using System;
using System.CodeDom;
using System.Linq;
using System.Security.Policy;
using Finite.Tests.TestData;
using Shouldly;
using Xunit;
namespace Finite.Tests
{
public class StateMachineTests
{
private readonly StateMachine<TestArgs> _machine;
public StateMachineTests()
{
var states = new ManualSta... | lgpl-2.1 | C# |
090353453f617d10e874d822e7b90bf60498ffe4 | Edit stuff | markmandel/paddle-soccer,markmandel/paddle-soccer,markmandel/paddle-soccer,markmandel/paddle-soccer | Assets/Client/Common/CollisionDebug.cs | Assets/Client/Common/CollisionDebug.cs | using UnityEngine;
// Simply writes out to console when a collision
// occurs, and tells you with what.
public class CollisionDebug : MonoBehaviour
{
// --- Handlers ---
void OnCollisionEnter(Collision collision)
{
Log(collision, "Enter");
}
void OnCollisionExit(Collision collision)
... | using UnityEngine;
// Simply writes out to console when a collision
// occurs, and tells you with what.
public class CollisionDebug : MonoBehaviour
{
// --- Handlers ---
void OnCollisionEnter(Collision collision)
{
Log(collision, "Enter");
}
void OnCollisionExit(Collision collision)
... | apache-2.0 | C# |
0609fcf7d4a2a06af0b04d91a6432aebe3008494 | Fix TestCaseMultiScreen intermittent failures | naoey/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,naoey/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,2yangk23/osu,ZLima12/osu,peppy/osu-new,smoogipoo/osu,ZLima12/osu,UselessToucan/osu,DrabWeb/osu,EVAST9919/osu,peppy/osu,ppy/osu,johnneijzen/osu,2yangk23/osu,johnn... | osu.Game.Tests/Visual/TestCaseMultiScreen.cs | osu.Game.Tests/Visual/TestCaseMultiScreen.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 NUnit.Framework;
using osu.Framework.Screens;
using osu.Game.Screens.Multi;
using osu.Game.Screens.Multi.Lounge;
us... | // 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 NUnit.Framework;
using osu.Framework.Screens;
using osu.Game.Screens.Multi;
using osu.Game.Screens.Multi.Lounge;
us... | mit | C# |
c65ebf056aac78e0bf1b0a68d1c58a7e384598f7 | Update LocationsController.cs | chimpinano/react-aspnet,rartola/Test,chimpinano/react-aspnet,chimpinano/react-aspnet,shijuvar/react-aspnet,rartola/Test,rartola/Test,shijuvar/react-aspnet,shijuvar/react-aspnet | ResourceMetadata/ResourceMetadata.API/Controllers/LocationsController.cs | ResourceMetadata/ResourceMetadata.API/Controllers/LocationsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using ResourceMetadata.API.ViewModels;
using ResourceMetadata.Model;
using ResourceMetadata.Service;
using AutoMapper;
using System.Threading;
using Microsoft.AspNet.Identity;
namespace R... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using ResourceMetadata.API.ViewModels;
using ResourceMetadata.Model;
using ResourceMetadata.Service;
using AutoMapper;
using System.Threading;
using Microsoft.AspNet.Identity;
namespace R... | mit | C# |
b3c5c3caa097a29bee6bfcb1d83e2c27375646e5 | Disable logging for release builds | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Program.cs | Program.cs | using CefSharp;
using System;
using System.Globalization;
using System.IO;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using TweetDick.Configuration;
using TweetDick.Core;
using TweetDick.Migration;
namespace TweetDick{
static class Program{
public static readonly string StoragePath ... | using CefSharp;
using System;
using System.Globalization;
using System.IO;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using TweetDick.Configuration;
using TweetDick.Core;
using TweetDick.Migration;
namespace TweetDick{
static class Program{
public static readonly string StoragePath ... | mit | C# |
b97f0681a4ebfb79ee0b931602cda645bad2125e | Initialize IsolatedComponentLoadContext.Name (#24001) | wtgodbe/coreclr,poizan42/coreclr,wtgodbe/coreclr,cshung/coreclr,cshung/coreclr,wtgodbe/coreclr,cshung/coreclr,poizan42/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,poizan42/coreclr,poizan42/coreclr,krk/coreclr,krk/coreclr,wtgodbe/coreclr,poizan42/coreclr,cshung/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,krk/coreclr,poiz... | src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/IsolatedComponentLoadContext.cs | src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/IsolatedComponentLoadContext.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;
using System.Reflection;
using System.Runtime.Loader;
namespace Internal.Runtime.InteropServices
{
... | // 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;
using System.Reflection;
using System.Runtime.Loader;
namespace Internal.Runtime.InteropServices
{
... | mit | C# |
333163087c03fab6c30bf9555895eb643d79db87 | Fix ComboBox.Bind extended method. | cube-soft/Cube.Core,cube-soft/Cube.Core | Libraries/Forms/Sources/Mixin/Controls/ComboBoxExtension.cs | Libraries/Forms/Sources/Mixin/Controls/ComboBoxExtension.cs | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// 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.... | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// 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-2.0 | C# |
5c0dda3cf7baffd92a83dfc76b2991562149fbd8 | Add stack to deadlock warning (and fix typo) | Hopac/Hopac,Hopac/Hopac | Libs/Hopac.Core/Util/Condition.cs | Libs/Hopac.Core/Util/Condition.cs | // Copyright (C) by Housemarque, Inc.
namespace Hopac.Core {
using System.Threading;
/// <summary>Provides a low overhead, single shot waitable event.</summary>
internal static class Condition {
internal static bool warned;
internal static void Pulse(object o, ref int v) {
var w = v;
if (w ... | // Copyright (C) by Housemarque, Inc.
namespace Hopac.Core {
using System.Threading;
/// <summary>Provides a low overhead, single shot waitable event.</summary>
internal static class Condition {
internal static bool warned;
internal static void Pulse(object o, ref int v) {
var w = v;
if (w ... | mit | C# |
547268828425fea8bb4c06064b07f8abf853d0f5 | Remove empty try/catch | SimpleStack/simplestack.orm,SimpleStack/simplestack.orm | src/SimpleStack.Orm/PropertyIndexer.cs | src/SimpleStack.Orm/PropertyIndexer.cs | using System;
using System.Linq.Expressions;
using System.Reflection;
namespace SimpleStack.Orm
{
/// <summary>Property setter delegate.</summary>
/// <param name="instance">The instance.</param>
/// <param name="value"> The value.</param>
public delegate void PropertySetterDelegate(object instance, object valu... | using System;
using System.Linq.Expressions;
using System.Reflection;
namespace SimpleStack.Orm
{
/// <summary>Property setter delegate.</summary>
/// <param name="instance">The instance.</param>
/// <param name="value"> The value.</param>
public delegate void PropertySetterDelegate(object instance, object valu... | bsd-3-clause | C# |
778022d21175d0063c76ffdf1831e146e4af8d04 | Allow spcifying device for 'debug' cmd. | roblillack/monoberry,roblillack/monoberry,roblillack/monoberry,roblillack/monoberry | tooling/Debug.cs | tooling/Debug.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace MonoBerry.Tool
{
public class Debug : Command
{
public override string Name {
get { return "debug"; }
}
public override string Description {
get { return "Runs an assembly on a BlackBerry device in dev mode."; }
}
public... | using System;
using System.Collections.Generic;
using System.IO;
namespace MonoBerry.Tool
{
public class Debug : Command
{
public override string Name {
get { return "debug"; }
}
public override string Description {
get { return "Runs an assembly on a BlackBerry device in dev mode."; }
}
public... | mit | C# |
25a25472b39dd34b7a1708cc18901c9104771139 | add test for too short passwords in registration | ceee/PocketSharp | PocketSharp.Tests/AccountTests.cs | PocketSharp.Tests/AccountTests.cs | using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using Xunit;
using PocketSharp.Models;
namespace PocketSharp.Tests
{
public class AccountTests : TestsBase
{
public AccountTests() : base() { }
[Fact]
public async Task IsUserRegistered()
{
string randomId = ((in... | using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using Xunit;
using PocketSharp.Models;
namespace PocketSharp.Tests
{
public class AccountTests : TestsBase
{
public AccountTests() : base() { }
[Fact]
public async Task IsUserRegistered()
{
string randomId = ((in... | mit | C# |
43e5bb8f84adf58caccdc1c3c70982bf464194f8 | allow exception handling via lambda too | Pondidum/RabbitHarness,Pondidum/RabbitHarness | RabbitHarness/IRabbitConnector.cs | RabbitHarness/IRabbitConnector.cs | using System;
using System.Threading.Tasks;
using RabbitMQ.Client;
namespace RabbitHarness
{
public interface IRabbitConnector
{
Action ListenTo<TMessage>(QueueDefinition queueDefinition, MessageHandler<TMessage> handler);
Action ListenTo<TMessage>(ExchangeDefinition exchangeDefinition, QueueDefinition queueDefi... | using System;
using System.Threading.Tasks;
using RabbitMQ.Client;
namespace RabbitHarness
{
public interface IRabbitConnector
{
Action ListenTo<TMessage>(QueueDefinition queueDefinition, MessageHandler<TMessage> handler);
Action ListenTo<TMessage>(ExchangeDefinition exchangeDefinition, QueueDefinition queueDefi... | lgpl-2.1 | C# |
709b916d818b0d98c14eba34d276962198972079 | Fix FileVersionCondition edge cases for when file doesn't exist | miguel-misstipsi/NAppUpdate2,johnrossell/NAppUpdate,jinlook/NAppUpdate,synhershko/NAppUpdate,halotron/NAppUpdate,lexruster/NAppUpdate,vbjay/NAppUpdate,group6tech/NAppUpdate2 | src/NAppUpdate.Framework/Conditions/FileVersionCondition.cs | src/NAppUpdate.Framework/Conditions/FileVersionCondition.cs | using System;
using System.IO;
using System.Diagnostics;
using NAppUpdate.Framework.Common;
namespace NAppUpdate.Framework.Conditions
{
[Serializable]
[UpdateConditionAlias("version")]
public class FileVersionCondition : IUpdateCondition
{
[NauField("localPath",
"The local path of the... | using System;
using System.IO;
using System.Diagnostics;
using NAppUpdate.Framework.Common;
namespace NAppUpdate.Framework.Conditions
{
[Serializable]
[UpdateConditionAlias("version")]
public class FileVersionCondition : IUpdateCondition
{
[NauField("localPath",
"The local path of the... | apache-2.0 | C# |
fba055618dab3bdc09f4f72973624140fea50e7b | Fix EDDN send of FSSSignalDiscovered when server burps | EDDiscovery/EDDiscovery,EDDiscovery/EDDiscovery,EDDiscovery/EDDiscovery | EDDiscovery/Properties/AssemblyInfo.cs | EDDiscovery/Properties/AssemblyInfo.cs | /*
* Copyright © 2015 - 2021 EDDiscovery development team
*
* 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 applicab... | /*
* Copyright © 2015 - 2021 EDDiscovery development team
*
* 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 applicab... | apache-2.0 | C# |
b854326edee8c21c1d1488a75b727e7e5fbe4ef6 | add extra logging to SendEmailToAllProviderRecipients action to improve tracability | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.PAS.Account.Api/Controllers/EmailController.cs | src/SFA.DAS.PAS.Account.Api/Controllers/EmailController.cs | using System;
using System.Threading.Tasks;
using System.Web.Http;
using SFA.DAS.PAS.Account.Api.Attributes;
using SFA.DAS.PAS.Account.Api.Orchestrator;
using SFA.DAS.PAS.Account.Api.Types;
using SFA.DAS.ProviderApprenticeshipsService.Domain.Interfaces;
namespace SFA.DAS.PAS.Account.Api.Controllers
{
[RoutePrefix... | using System.Threading.Tasks;
using System.Web.Http;
using SFA.DAS.PAS.Account.Api.Attributes;
using SFA.DAS.PAS.Account.Api.Orchestrator;
using SFA.DAS.PAS.Account.Api.Types;
using SFA.DAS.ProviderApprenticeshipsService.Domain.Interfaces;
namespace SFA.DAS.PAS.Account.Api.Controllers
{
[RoutePrefix("api/email")]... | mit | C# |
797d32fe15addf82da466aabcb3d467ebf528de5 | Remove doc gen code. | JohanLarsson/Gu.Wpf.Media | Gu.Wpf.Media.Demo/MainWindow.xaml.cs | Gu.Wpf.Media.Demo/MainWindow.xaml.cs | namespace Gu.Wpf.Media.Demo
{
using System.Windows;
public partial class MainWindow : Window
{
public MainWindow()
{
this.InitializeComponent();
}
}
}
| namespace Gu.Wpf.Media.Demo
{
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
public partial class MainWindow : Window
{
public MainWindow()
{
this.InitializeComponent();
var builder = new StringBuilder();
... | mit | C# |
ea16c542655fc26b071cb15b35c968919770ba27 | Reset the "pre" suffix | ihsoft/EasyVesselSwitch,ihsoft/EasyVesselSwitch | Source/Properties/AssemblyInfo.cs | Source/Properties/AssemblyInfo.cs | #region Using directives
using System;
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
// 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: Assembl... | #region Using directives
using System;
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
// 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: Assembl... | unlicense | C# |
e1a80274365acf5743bf3fccb5dce6c289bd51d5 | Update shorthand detection | IvionSauce/MeidoBot | NyaaSpam/BangShorthands.cs | NyaaSpam/BangShorthands.cs | using System;
using System.Collections.Generic;
static class BangShorthands
{
static readonly Dictionary<string, string[]> bangs;
const char prefix = '!';
static BangShorthands()
{
var shortHand = new string[] {
"HS",
"HS480",
"HS720",
"HS1080... | using System;
using System.Collections.Generic;
static class BangShorthands
{
static readonly Dictionary<string, string[]> bangs;
static BangShorthands()
{
var shortHand = new string[] {
"HS",
"HS480",
"HS720",
"HS1080"
};
var exp... | bsd-2-clause | C# |
aeb703bd200594260fea97e35a5e59291770e951 | Fix bug in Paragraph rewriter | DuncanmaMSFT/docfx,LordZoltan/docfx,928PJY/docfx,sergey-vershinin/docfx,dotnet/docfx,dotnet/docfx,hellosnow/docfx,928PJY/docfx,pascalberger/docfx,hellosnow/docfx,hellosnow/docfx,928PJY/docfx,LordZoltan/docfx,LordZoltan/docfx,sergey-vershinin/docfx,DuncanmaMSFT/docfx,superyyrrzz/docfx,pascalberger/docfx,pascalberger/doc... | src/Microsoft.DocAsCode.MarkdownLite/Basic/BlockTokens/MarkdownParagraphBlockToken.cs | src/Microsoft.DocAsCode.MarkdownLite/Basic/BlockTokens/MarkdownParagraphBlockToken.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.MarkdownLite
{
public class MarkdownParagraphBlockToken : IMarkdownToken, IMarkdownRewritable<MarkdownParagraphBlockToken>
{
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.MarkdownLite
{
public class MarkdownParagraphBlockToken : IMarkdownToken, IMarkdownRewritable<MarkdownParagraphBlockToken>
{
... | mit | C# |
f5893685adecac12053c89e1fb0ebc624d77e4c3 | Update PipelineData.cs | Xarlot/NGitLab,maikebing/NGitLab | NGitLab/NGitLab/Models/PipelineData.cs | NGitLab/NGitLab/Models/PipelineData.cs | using System.Runtime.Serialization;
namespace NGitLab.Models {
public enum PipelineStatus {
undefined,
pending,
success,
created,
failed,
aborted,
running,
canceled,
skipped
}
[DataContract]
public class PipelineData {
[... | using System.Runtime.Serialization;
namespace NGitLab.Models {
public enum PipelineStatus {
undefined,
pending,
success,
created,
failed,
aborted,
running,
canceled
}
[DataContract]
public class PipelineData {
[DataMember(Name =... | mit | C# |
2371a0971be58b022f33673b093cd18003c8d0fa | Ajuste controle | samuelroliveira/SPEDBr | SpedBr/SpedBr.Common/Constants.cs | SpedBr/SpedBr.Common/Constants.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SpedBr.Common
{
public class Constants
{
public const decimal VZero = 0.00M;
public const string StructuralError = "|ERRO_NA_ESTRUTURA|";
}
}
| namespace SpedBr.Common
{
public class Constants
{
public const decimal VZero = 0.00M;
public const string StructuralError = "|ERRO_NA_ESTRUTURA|";
public const int COD_VER = 012;
}
}
| mit | C# |
82580726c2b9d69b8fc83b0a10325425ccdad647 | Make content root path independent of working directory. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | MitternachtWeb/Program.cs | MitternachtWeb/Program.cs | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Mitternacht;
using System;
using System.IO;
using System.Threading.Tasks;
namespace MitternachtWeb {
public class Program {
public static MitternachtBot MitternachtBot;
public static async Task... | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Mitternacht;
using System.Threading.Tasks;
namespace MitternachtWeb {
public class Program {
public static MitternachtBot MitternachtBot;
public static async Task Main(string[] args) {
Mitte... | mit | C# |
efd7af56174f6896f210dd6d3eadf7a8a580a57e | fix teacher integration test | chunk1ty/TeachersDiary,chunk1ty/TeachersDiary,chunk1ty/TeachersDiary | test/Integration/Data/TeachersDiary.Data.Ef.Tests/Repositories/TeacherRepositoryTests.cs | test/Integration/Data/TeachersDiary.Data.Ef.Tests/Repositories/TeacherRepositoryTests.cs | using System.Linq;
using NUnit.Framework;
using TeachersDiary.Data.Ef.Repositories;
using TeachersDiary.Data.Entities;
namespace TeachersDiary.Data.Ef.Tests.Repositories
{
[TestFixture]
public class TeacherRepositoryTests
{
// [TestInitialize] in MSTest
[SetUp]
public void SetUp(... | using System.Linq;
using NUnit.Framework;
using TeachersDiary.Data.Ef.Repositories;
using TeachersDiary.Data.Entities;
namespace TeachersDiary.Data.Ef.Tests.Repositories
{
[TestFixture]
public class TeacherRepositoryTests
{
// [TestInitialize] in MSTest
[SetUp]
public void SetUp(... | mit | C# |
78ae16c4ba65ce1d11412c114df853a1300b52db | Add ability to find elements in open application popups | goldbillka/Winium.StoreApps,2gis/Winium.StoreApps,krishachetan89/Winium.StoreApps,2gis/Winium.StoreApps,NetlifeBackupSolutions/Winium.StoreApps,NetlifeBackupSolutions/Winium.StoreApps,goldbillka/Winium.StoreApps,krishachetan89/Winium.StoreApps | WindowsUniversalAppDriver/WindowsUniversalAppDriver.InnerServer/Commands/ElementCommand.cs | WindowsUniversalAppDriver/WindowsUniversalAppDriver.InnerServer/Commands/ElementCommand.cs | namespace WindowsUniversalAppDriver.InnerServer.Commands
{
using System.Linq;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media;
using WindowsUniversalAppDriver.Common;
using WindowsUniversalAppDriver.Common.Exceptions;
using WindowsUniversalAppDriver.InnerServer.Commands.FindByHelpers;
... | namespace WindowsUniversalAppDriver.InnerServer.Commands
{
using System.Linq;
using Windows.UI.Xaml;
using WindowsUniversalAppDriver.Common;
using WindowsUniversalAppDriver.Common.Exceptions;
using WindowsUniversalAppDriver.InnerServer.Commands.FindByHelpers;
internal class ElementCommand : ... | mpl-2.0 | C# |
54f017a29309b2e46983cbe8499933295cb60053 | Remove dead code in teams report | rlittletht/RWLLPracticeTool,rlittletht/RWLLPracticeTool | Rwp/TeamsReport.aspx.cs | Rwp/TeamsReport.aspx.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Rwp
{
public partial class TeamsReport : System.Web.UI.Page
{
private ApiInterop m_apiIntero... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
#if LOCALSVC
using RwpSvcProxy = Rwp.RwpSvcLocal;
#elif STAGESVC
using RwpSvcProxy = Rwp.RwpSvcStaging;
#elif ... | mit | C# |
bc92908d783330163787912d78cf0ff436df0cec | Fix preprocessor | jmptrader/WampSharp,jmptrader/WampSharp,jmptrader/WampSharp | src/net45/WampSharp/WAMP2/V2/Api/Client/WampRealmProxyServiceProvider.cs | src/net45/WampSharp/WAMP2/V2/Api/Client/WampRealmProxyServiceProvider.cs | using System.Collections.Generic;
using System.Reactive.Subjects;
using System.Threading.Tasks;
using WampSharp.V2.CalleeProxy;
using WampSharp.V2.Client;
using WampSharp.V2.Rpc;
namespace WampSharp.V2
{
internal class WampRealmProxyServiceProvider : IWampRealmServiceProvider
{
private readonly IOpera... | using System.Collections.Generic;
using System.Reactive.Subjects;
using System.Threading.Tasks;
using WampSharp.V2.CalleeProxy;
using WampSharp.V2.Client;
using WampSharp.V2.Rpc;
namespace WampSharp.V2
{
internal class WampRealmProxyServiceProvider : IWampRealmServiceProvider
{
private readonly IOpera... | bsd-2-clause | C# |
80d0f4de2bee09f237703223a89065631d5736fc | Fix tray icon double click not activating switcher window | danielchalmers/SteamAccountSwitcher | SteamAccountSwitcher/TrayIconHelper.cs | SteamAccountSwitcher/TrayIconHelper.cs | using System;
using System.Windows;
using System.Windows.Media.Imaging;
using Hardcodet.Wpf.TaskbarNotification;
using SteamAccountSwitcher.Properties;
namespace SteamAccountSwitcher
{
internal class TrayIconHelper
{
public static void ShowRunningInTrayBalloon()
{
ShowTrayBalloon(
... | using System;
using System.Windows;
using System.Windows.Media.Imaging;
using Hardcodet.Wpf.TaskbarNotification;
using SteamAccountSwitcher.Properties;
namespace SteamAccountSwitcher
{
internal class TrayIconHelper
{
public static void ShowRunningInTrayBalloon()
{
ShowTrayBalloon(
... | mit | C# |
df852498319580168b47fc9dad8cf19156aef290 | Add method to extract and zip | sakapon/Samples-2013 | BasicSample/ExcelMediaConsole/Program.cs | BasicSample/ExcelMediaConsole/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
namespace ExcelMediaConsole
{
class Program
{
static void Main(string[] args)
{
var excelFilePath = "Book1.xlsx";
var outputDirPath = "Media";
D... | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
namespace ExcelMediaConsole
{
class Program
{
static void Main(string[] args)
{
var excelFilePath = "Book1.xlsx";
var outputDirPath = "Media";
D... | mit | C# |
5c9497ec199dc12fb6443d8a84b51c0aa6549cb3 | remove checkin attribute from tests since they ren't implemented yet | jasper-schneider/azure-powershell,pankajsn/azure-powershell,alfantp/azure-powershell,Matt-Westphal/azure-powershell,dulems/azure-powershell,pankajsn/azure-powershell,akurmi/azure-powershell,kagamsft/azure-powershell,AzureRT/azure-powershell,ankurchoubeymsft/azure-powershell,shuagarw/azure-powershell,mayurid/azure-power... | src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleDefinitionTests.cs | src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleDefinitionTests.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.apa... | // ----------------------------------------------------------------------------------
//
// 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.apa... | apache-2.0 | C# |
4fc05a460ee4f2f20c71e2eb0122e07fa940872b | fix link | srenner/photerva-net,srenner/photerva-net,srenner/photerva-net | Photerva.Web/Views/Home/Index.cshtml | Photerva.Web/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<a href="/secure/">secure</a> | @{
ViewData["Title"] = "Home Page";
}
<a href="/secure">secure</a> | apache-2.0 | C# |
ca45bcc23de86b179f74f52969a85cd33afd9f33 | Implement methods | turtle-box-games/leaf-csharp | Leaf/Leaf/Versions/V1Header.cs | Leaf/Leaf/Versions/V1Header.cs | using System.IO;
namespace Leaf.Versions
{
/// <summary>
/// First version of the node header.
/// </summary>
/// <seealso cref="V1Engine"/>
internal class V1Header : Header
{
/// <summary>
/// Numerical ID used to distinguish the header and engine type.
/// For this he... | using System.IO;
namespace Leaf.Versions
{
/// <summary>
/// First version of the node header.
/// </summary>
/// <seealso cref="V1Engine"/>
internal class V1Header : Header
{
/// <summary>
/// Numerical ID used to distinguish the header and engine type.
/// For this he... | mit | C# |
c4e32af58e61e51b0632241d11b6e17d855fc8b5 | test adding wrong data | sprengr/TEF,sprengr/TEF | src/sprengr.tef.test/TefWrapperTest.cs | src/sprengr.tef.test/TefWrapperTest.cs | using System;
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
using Sprengr.Tef;
using Sprengr.Tef.Test.Data;
namespace sprengr.tef.test
{
public class TefWrapperTest
{
[Test]
public void ItShouldRetainDbOverMultipleContexts()
{
var dataModelMock = new Si... | using System.Linq;
using FluentAssertions;
using NUnit.Framework;
using Sprengr.Tef;
using Sprengr.Tef.Test.Data;
namespace sprengr.tef.test
{
public class TefWrapperTest
{
[Test]
public void ItShouldRetainDbOverMultipleContexts()
{
var dataModelMock = new SimpleTestContex... | mit | C# |
c743a80d05aa2de9123bbb9f46ee1cf5b9175d63 | 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. | autofac/Autofac.Web | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Integration.Web")]
[assembly: InternalsVisibleTo("Autofac.Tests.Integration.Web, PublicKey=00240000048000009400000006020000002400005253413100040000010001008728425885ef385e049261... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Integration.Web")]
[assembly: AssemblyDescription("Autofac ASP.NET Integration")]
[assembly: InternalsVisibleTo("Autofac.Tests.Integration.Web, PublicKey=0024000... | mit | C# |
8af2c173e5b9efd6cdcf59f8ba5908c20e0de079 | Drop alpha status, it is a 1.0.0 release as is | monoman/TickTack | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Commons;
[assembly: AssemblyTitle("TickTack")]
[assembly: AssemblyDescription("Delayed reminder!")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Rafael Teixeira")]
[assembly: AssemblyProduc... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Commons;
[assembly: AssemblyTitle("TickTack")]
[assembly: AssemblyDescription("Delayed reminder!")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Rafael Teixeira")]
[assembly: AssemblyProduc... | mit | C# |
464d053e8ffdb4dcd54da2d7db22cd3fc969531b | Add git commands to tool. | kyourek/Pagination,kyourek/Pagination,kyourek/Pagination | sln/Pagination.Release/ReleaseActions/Tag.cs | sln/Pagination.Release/ReleaseActions/Tag.cs | namespace Pagination.ReleaseActions {
class Tag : ReleaseAction {
public override void Work() {
var tag = Context.Version.StagedVersion;
Process("git", "status");
Process("git", "commit", "-a", "-m", $"\"(Auto-)Commit version '{tag}'.\"");
Process("git", "pus... | namespace Pagination.ReleaseActions {
class Tag : ReleaseAction {
public override void Work() {
var tag = Context.Version.StagedVersion;
Process("git", "commit", "-a", "-m", $"\"(Auto-)Commit version '{tag}'.\"");
Process("git", "tag", "-a", tag, "-m", $"\"(Auto-)Tag ver... | mit | C# |
fe9416a1a8f65c0547138681912ce61de42b8787 | remove Fnv1 from benchmarks | ssg/HashDepot | benchmark/Program.cs | benchmark/Program.cs | using System;
using HashDepot;
namespace benchmark
{
class Program
{
private static readonly byte[] sipHashKey = new byte[16];
private static Benchmark[] benchmarks = new[]
{
new Benchmark("Checksum", 32, (buf) => Checksum.Hash32(buf)),
new Benchmark("Fnv1a", 3... | using System;
using HashDepot;
namespace benchmark
{
class Program
{
private static readonly byte[] sipHashKey = new byte[16];
private static Benchmark[] benchmarks = new[]
{
new Benchmark("Checksum", 32, (buf) => Checksum.Hash32(buf)),
new Benchmark("Fnv1a", 3... | mit | C# |
9e1ab74eee0aefbf024c5ff06f112ef05a313510 | Build and publish nuget package | QuickenLoans/XSerializer | XSerializer/Properties/AssemblyInfo.cs | XSerializer/Properties/AssemblyInfo.cs | using System;
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: Ass... | using System;
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: Ass... | mit | C# |
46eac8374bf7bcdff805af7ddbcb98cba858e0d9 | Make tests pass | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/GUI/SendControlViewModelTest.cs | WalletWasabi.Tests/UnitTests/GUI/SendControlViewModelTest.cs | using Xunit;
using WalletWasabi.Gui.Controls.WalletExplorer;
namespace WalletWasabi.Tests.UnitTests.GUI
{
public class SendControlViewModelTest
{
[Theory]
[InlineData(false, "0")]
[InlineData(false, "0.1")]
[InlineData(true, "1.2099999997690000")]
[InlineData(true, "1.20999999976900000000000000000000000000... | using Xunit;
using WalletWasabi.Gui.Controls.WalletExplorer;
namespace WalletWasabi.Tests.UnitTests.GUI
{
public class SendControlViewModelTest
{
[Theory]
[InlineData(false, "0")]
[InlineData(false, "0.1")]
[InlineData(true, "1.2099999997690000")]
[InlineData(false, "1.2099999997690000000000000000000000000... | mit | C# |
194707c4b7e17ca03a7040763d60513751397c0c | Update Microsoft.AspNet.Facebook version. | scz2011/WebApi,lewischeng-ms/WebApi,chimpinano/WebApi,scz2011/WebApi,lungisam/WebApi,congysu/WebApi,abkmr/WebApi,yonglehou/WebApi,abkmr/WebApi,lewischeng-ms/WebApi,lungisam/WebApi,LianwMS/WebApi,yonglehou/WebApi,chimpinano/WebApi,congysu/WebApi,LianwMS/WebApi | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("Microsoft Open Technologie... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("Microsoft Open Technologie... | mit | C# |
1c296f453a36f541e6176173a9d298bdfadadcce | Update DateTimeExtensions.cs | keith-hall/Extensions,keith-hall/Extensions | src/DateTimeExtensions.cs | src/DateTimeExtensions.cs | using System;
using System.Globalization;
namespace HallLibrary.Extensions
{
public static class DateTimeExtensions
{
public static string ToISO8601String(this DateTime dt)
{ // ISO-8601 date format
return dt.ToString(@"yyyy-MM-ddTHH:mm:ss.fff", CultureInfo.InvariantCulture);
}
}
}
| using System;
using System.Globalization;
public static class DateTimeExtensions
{
public static string ToISO8601String(this DateTime dt)
{ // ISO-8601 date format
return dt.ToString(@"yyyy-MM-ddTHH:mm:ss.fff", CultureInfo.InvariantCulture);
}
}
| apache-2.0 | C# |
477e970f5bbb710a3c0185a458e3b4136aecaf66 | Revert "English test unsubmittable answer" | CaitSith2/KtaneTwitchPlays,samfun123/KtaneTwitchPlays | Assets/Scripts/ComponentSolvers/Modded/Misc/EnglishTestComponentSolver.cs | Assets/Scripts/ComponentSolvers/Modded/Misc/EnglishTestComponentSolver.cs | using System;
using System.Collections;
using System.Reflection;
using UnityEngine;
public class EnglishTestComponentSolver : ComponentSolver
{
public EnglishTestComponentSolver(BombCommander bombCommander, MonoBehaviour bombComponent, IRCConnection ircConnection, CoroutineCanceller canceller) :
base(bombCommander,... | using System;
using System.Collections;
using System.Reflection;
using UnityEngine;
public class EnglishTestComponentSolver : ComponentSolver
{
public EnglishTestComponentSolver(BombCommander bombCommander, MonoBehaviour bombComponent, IRCConnection ircConnection, CoroutineCanceller canceller) :
base(bombCommander,... | mit | C# |
71def0f5f9777f732c1122c24de7536c9b1e49a0 | Remove MSTests. | ludzhev/Bike2Ride.WebClient,ludzhev/Bike2Ride.WebClient,ludzhev/Bike2Ride.WebClient | Bike2Ride/Web/Bike2Ride.WebClient.Tests/Controllers/HomeControllerTest.cs | Bike2Ride/Web/Bike2Ride.WebClient.Tests/Controllers/HomeControllerTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Bike2Ride.WebClient;
using Bike2Ride.WebClient.Controllers;
namespace Bike2Ride.WebClient.Tests.Controllers
{
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Bike2Ride.WebClient;
using Bike2Ride.WebClient.Controllers;
namespace Bike2Ride.WebClient.Tests.Controllers
{
[TestClass]
public class HomeContr... | mit | C# |
bd7f1c1254c014c9c21a8626f45c1bbecd3f9fd1 | Update new release test | rzhw/Squirrel.Windows,rzhw/Squirrel.Windows | src/NSync.Tests/Client/UpdateManagerTests.cs | src/NSync.Tests/Client/UpdateManagerTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using NSync.Client;
using NSync.Tests.TestHelpers;
using Xunit;
namespace NSync.Tests.Client
{
public class UpdateManagerTests
{
[Fact]
public void NewReleasesShou... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using NSync.Client;
using NSync.Tests.TestHelpers;
using Xunit;
namespace NSync.Tests.Client
{
public class UpdateManagerTests
{
[Fact]
public void NewReleasesShou... | mit | C# |
164d60d02c1ef979a81a25956c12b27311eb58f1 | Improve TracRevisionLog textual !ChangeLog format (1/3): Refactoring log_changelog.cs to use the ClearSilver ''with'' command. | jun66j5/trac-ja,netjunki/trac-Pygit2,walty8/trac,netjunki/trac-Pygit2,walty8/trac,walty8/trac,jun66j5/trac-ja,walty8/trac,jun66j5/trac-ja,netjunki/trac-Pygit2,jun66j5/trac-ja | templates/log_changelog.cs | templates/log_changelog.cs | #
# ChangeLog for <?cs var:log.path ?>
#
# Generated by Trac <?cs var:trac.version ?>
# <?cs var:trac.time ?>
#
<?cs each:item = $log.items ?>
<?cs with:changeset = log.changes[item.rev] ?>
<?cs var:changeset.date ?> <?cs
var:changeset.author ?> [<?cs var:item.rev ?>]
<?cs each:file = $changeset.files ?>
* <?cs... | #
# ChangeLog for <?cs var:log.path ?>
#
# Generated by Trac <?cs var:trac.version ?>
# <?cs var:trac.time ?>
#
<?cs each:item = $log.items ?>
<?cs var:log.changes[item.rev].date ?> <?cs
var:log.changes[item.rev].author ?> [<?cs var:item.rev ?>]
<?cs each:file = $log.changes[item.rev].files ?>
* <?cs ... | bsd-3-clause | C# |
058fcd2066010d313e3cc96979d9e12d9ca8693b | bump version of D2L.Security.OAuth2.TestFramework | Brightspace/D2L.Security.OAuth2 | src/D2L.Security.OAuth2.TestFramework/Properties/AssemblyInfo.cs | src/D2L.Security.OAuth2.TestFramework/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: AssemblyTit... | 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: AssemblyTit... | apache-2.0 | C# |
1e20b6288e73da4db805a94199e19602f977c15b | Fix typo in version number for Gu.Units.Json | JohanLarsson/Gu.Units | Gu.Units.Json/Properties/AssemblyInfo.cs | Gu.Units.Json/Properties/AssemblyInfo.cs | using System.Resources;
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.
[ass... | using System.Resources;
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.
[ass... | mit | C# |
eef80eeab3a95f5173e5d34a1f3d9e494c49f45c | Refactor AssemblyInfo | danielchalmers/SteamAccountSwitcher | SteamAccountSwitcher/AssemblyInfo.cs | SteamAccountSwitcher/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
namespace SteamAccountSwitcher
{
public static class AssemblyInfo
{
private static Assembly _assembly { get; } = Assembly.GetExecutingAssembly();
public static string Copyright { get; } = _assembly.GetCustomAttribute... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
namespace SteamAccountSwitcher
{
public static class AssemblyInfo
{
public static Version Version { get; } = Assembly.GetExecutingAssembly().GetName().Version;
public static string Copyright { get; } = GetAssemblyAtt... | mit | C# |
f31ce187b2a456119bd9454f2bf4e6eadc476ff9 | Allow a bypass to be set by the application, using HttpContext.Items[@"Intelligencia.UrlRewriter.Bypass"] = true | sethyates/urlrewriter | src/RewriterHttpModule.cs | src/RewriterHttpModule.cs | // UrlRewriter - A .NET URL Rewriter module
// Version 2.0
//
// Copyright 2011 Intelligencia
// Copyright 2011 Seth Yates
//
using System;
using System.Web;
using Intelligencia.UrlRewriter.Configuration;
using Intelligencia.UrlRewriter.Utilities;
namespace Intelligencia.UrlRewriter
{
/// <summary>... | // UrlRewriter - A .NET URL Rewriter module
// Version 2.0
//
// Copyright 2011 Intelligencia
// Copyright 2011 Seth Yates
//
using System;
using System.Web;
using Intelligencia.UrlRewriter.Configuration;
using Intelligencia.UrlRewriter.Utilities;
namespace Intelligencia.UrlRewriter
{
/// <summary>... | mit | C# |
74b5937fdb1e2b440269fb4a2faa8b07101873e3 | Fix problem analyser declaration | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/AsmDef/Feature/Services/Daemon/VesionDefineProblemAnalyzer.cs | resharper/resharper-unity/src/AsmDef/Feature/Services/Daemon/VesionDefineProblemAnalyzer.cs | using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Unity.AsmDef.Daemon.Errors;
using JetBrains.ReSharper.Plugins.Unity.JsonNew.Psi.Tree;
using JetBrains.ReSharper.Plugins.Unity.Utils;
using JetBrains.ReSharper.Psi.Util;
#nullable enable
namespace JetBrains.ReSharper.Plugins.Unity.Asm... | using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Unity.AsmDef.Daemon.Errors;
using JetBrains.ReSharper.Plugins.Unity.JsonNew.Psi.Tree;
using JetBrains.ReSharper.Plugins.Unity.Utils;
using JetBrains.ReSharper.Psi.Util;
#nullable enable
namespace JetBrains.ReSharper.Plugins.Unity.Asm... | apache-2.0 | C# |
be60bb4b3459b1e5e5e05eab8cc300b0a91c9a28 | add support for legacy ttl_max field | rajanadar/VaultSharp | src/VaultSharp/Backends/Secret/Models/CredentialTimeToLiveSettings.cs | src/VaultSharp/Backends/Secret/Models/CredentialTimeToLiveSettings.cs | using System;
using Newtonsoft.Json;
namespace VaultSharp.Backends.Secret.Models
{
/// <summary>
/// Represents the TTL settings for the dynamic credentials generated for a backend.
/// </summary>
public class CredentialTimeToLiveSettings
{
/// <summary>
/// <para>[required]</para>
... | using Newtonsoft.Json;
namespace VaultSharp.Backends.Secret.Models
{
/// <summary>
/// Represents the TTL settings for the dynamic credentials generated for a backend.
/// </summary>
public class CredentialTimeToLiveSettings
{
/// <summary>
/// <para>[required]</para>
/// Ge... | apache-2.0 | C# |
f227e387bf7aa66f7e079d6a7268f99ea7fa5afe | Update XmlMarkupBuilderTests.cs | dragomirevgeniev/HackBulgaria | Programming101-CSharp/week06/1.Tuesday/XmlMarkupBuilderLibraryTests/XmlMarkupBuilderTests.cs | Programming101-CSharp/week06/1.Tuesday/XmlMarkupBuilderLibraryTests/XmlMarkupBuilderTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XmlMarkupBuilderLibrary;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace XmlMarkupBuilderLibrary.Tests
{
[TestClass()]
public class XmlMarkupBuilderTests
{
[TestMe... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XmlMarkupBuilderLibrary;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace XmlMarkupBuilderLibrary.Tests
{
[TestClass()]
public class XmlMarkupBuilderTests
{
[TestMe... | mit | C# |
a1f357889f648d656f3979eefd9cccedea4d704e | Introduce properties of location and sticker message | masaedw/LineSharp | LineSharp/Messages/WebhookEventObject.cs | LineSharp/Messages/WebhookEventObject.cs | using System.Collections.Generic;
namespace LIneSharp.Messages
{
public class WebhookEventRequest
{
public IEnumerable<WebhookEventObject> events { get; set; }
}
/// <summary>
/// https://devdocs.line.me/#webhook-event-object
/// </summary>
public class WebhookEventObject
{
... | using System.Collections.Generic;
namespace LIneSharp.Messages
{
public class WebhookEventRequest
{
public IEnumerable<WebhookEventObject> events { get; set; }
}
/// <summary>
/// https://devdocs.line.me/#webhook-event-object
/// </summary>
public class WebhookEventObject
{
... | mit | C# |
453014b054c35495fc01cd6ad8735cd88568c743 | Rename parameter | yovannyr/VisualStudio,nulltoken/VisualStudio,github/VisualStudio,GuilhermeSa/VisualStudio,amytruong/VisualStudio,ChristopherHackett/VisualStudio,pwz3n0/VisualStudio,shaunstanislaus/VisualStudio,SaarCohen/VisualStudio,HeadhunterXamd/VisualStudio,modulexcite/VisualStudio,YOTOV-LIMITED/VisualStudio,8v060htwyc/VisualStudio... | src/GitHub.App/Models/IRepositoryHosts.cs | src/GitHub.App/Models/IRepositoryHosts.cs | using System;
using GitHub.Authentication;
using GitHub.Factories;
using GitHub.Primitives;
using ReactiveUI;
namespace GitHub.Models
{
public interface IRepositoryHosts : IReactiveObject
{
IRepositoryHost EnterpriseHost { get; set; }
IRepositoryHost GitHubHost { get; }
IObservable<Au... | using System;
using GitHub.Authentication;
using GitHub.Factories;
using GitHub.Primitives;
using ReactiveUI;
namespace GitHub.Models
{
public interface IRepositoryHosts : IReactiveObject
{
IRepositoryHost EnterpriseHost { get; set; }
IRepositoryHost GitHubHost { get; }
IObservable<Au... | mit | C# |
989e5756554cceb20b9a082049eeb421a7819619 | modify the route to display username and date (#42099) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Http/samples/MinimalSample/Program.cs | src/Http/samples/MinimalSample/Program.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Http.HttpResults;
using Microsoft.AspNetCore.Mvc;
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
if (app.Environment.IsDev... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Http.HttpResults;
using Microsoft.AspNetCore.Mvc;
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
if (app.Environment.IsDev... | apache-2.0 | C# |
0d7efe873c03830ef07e36a82a142576147f39e2 | change access modifier to field to private | ivayloivanof/C-Sharp-Chat-Programm | Client/ChatClient/ChatClient/Client.cs | Client/ChatClient/ChatClient/Client.cs | namespace ChatClient
{
using System.Collections.Generic;
public class Client
{
private Server connectedServer;
private string loginName;
private string loginPassword;
private string serverPassword;
public List<ServerInfo> ServerInfoList;
public Clie... | namespace ChatClient
{
using System.Collections.Generic;
public class Client
{
public Server connectedServer;
public string LoginName;
public string LoginPwd;
public string SrvPwd;
public List<ServerInfo> SrvInfoList;
public Client()
{
... | unlicense | C# |
e186c7734cdab24e6c8ed57f8deb8790fe7e32ea | Clean up output | killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit/Utilities/UWPCapabilityUtility.cs | Assets/MixedRealityToolkit/Utilities/UWPCapabilityUtility.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if UNITY_EDITOR
using Microsoft.MixedReality.Toolkit.Editor;
using System;
using UnityEngine;
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.Utilities... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if UNITY_EDITOR
using Microsoft.MixedReality.Toolkit.Editor;
using System;
using UnityEngine;
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.Utilities... | mit | C# |
219c7922e9623800882b68c1441ce073df73e86d | fix error reading text operations from content packs | Pathoschild/StardewMods | ContentPatcher/Framework/ConfigModels/TextOperationConfig.cs | ContentPatcher/Framework/ConfigModels/TextOperationConfig.cs | using System;
using System.Linq;
using Newtonsoft.Json;
namespace ContentPatcher.Framework.ConfigModels
{
/// <summary>The input settings for a <see cref="PatchConfig.TextOperations"/> field.</summary>
internal class TextOperationConfig
{
/*********
** Accessors
*********/
/... | using System;
using System.Linq;
namespace ContentPatcher.Framework.ConfigModels
{
/// <summary>The input settings for a <see cref="PatchConfig.TextOperations"/> field.</summary>
internal class TextOperationConfig
{
/*********
** Accessors
*********/
/// <summary>The text op... | mit | C# |
e0813b590875f5ec5bd71c629d322c8eae59c388 | set AssemblyVersion to 1.0.0.0 (mark title as ALPHA) | psinl/MahApps.Metro,MahApps/MahApps.Metro,Evangelink/MahApps.Metro,ye4241/MahApps.Metro,pfattisc/MahApps.Metro,xxMUROxx/MahApps.Metro,chuuddo/MahApps.Metro,Danghor/MahApps.Metro,jumulr/MahApps.Metro,batzen/MahApps.Metro,p76984275/MahApps.Metro,Jack109/MahApps.Metro | MahApps.Metro/Properties/AssemblyInfo.cs | MahApps.Metro/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Markup;
[assembly: AssemblyCopyright("Copyright © MahApps.Metro 2014")]
[assembly: ComVisible(false)]
[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictiona... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Markup;
[assembly: AssemblyCopyright("Copyright © MahApps.Metro 2014")]
[assembly: ComVisible(false)]
[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictiona... | mit | C# |
bb2caf85cb87c50732ef0dcbb8b469befb442e51 | fix namespace | madsoulswe/Umbraco-CMS,rasmuseeg/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abjerner/Umbraco-CMS,lars-erik/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,aaronpowell/Umbraco-CMS,PeteDuncanson/Umbraco-CMS,hfloyd/Umbraco-CMS,rasmuseeg/Umbraco-CMS,umbraco/Umbraco-CMS,tompipe/Umbraco-CMS,PeteDuncanson/Umbraco-CMS,nul800sebastiaa... | src/Umbraco.Core/Events/RolesEventArgs.cs | src/Umbraco.Core/Events/RolesEventArgs.cs | using System;
namespace Umbraco.Core.Events
{
public class RolesEventArgs : EventArgs
{
public RolesEventArgs(int[] memberIds, string[] roles)
{
MemberIds = memberIds;
Roles = roles;
}
public int[] MemberIds { get; set; }
public string[] Roles {... | using System;
namespace Umbraco.Core.Services
{
public class RolesEventArgs : EventArgs
{
public RolesEventArgs(int[] memberIds, string[] roles)
{
MemberIds = memberIds;
Roles = roles;
}
public int[] MemberIds { get; set; }
public string[] Roles... | mit | C# |
42fa32a3aee0b3ebbc8e245119b2b2977cc5e5b9 | add async post | tparnell8/Untappd.Net,rodkings/Untappd.Net,tparnell8/Untappd.Net,rodkings/Untappd.Net | src/Untappd.Net/Request/RepositoryPost.cs | src/Untappd.Net/Request/RepositoryPost.cs | using System.Threading.Tasks;
using Untappd.Net.Client;
namespace Untappd.Net.Request
{
public partial class Repository
{
/// <summary>
/// do a post with actions
/// </summary>
/// <param name="credentials"></param>
/// <param name="action"></param>
/// <return... | using Untappd.Net.Client;
namespace Untappd.Net.Request
{
public partial class Repository
{
/// <summary>
/// do a post with actions
/// </summary>
/// <param name="credentials"></param>
/// <param name="action"></param>
/// <returns>returns dynamic since often ... | mit | C# |
47a65023c2be429418bf7f5fb25af6e9542cb1d3 | Update ClassBuilder.cs | NMSLanX/Natasha | Natasha/ClassBuilder.cs | Natasha/ClassBuilder.cs | using System;
using System.Collections.Concurrent;
using System.Reflection;
namespace Natasha
{
public class ClassBuilder
{
static ClassBuilder()
{
}
public static Type GetType(string content)
{
Assembly assembly = null;
string class... | using System;
using System.Collections.Concurrent;
using System.Reflection;
namespace Natasha
{
public class ClassBuilder
{
public static ConcurrentDictionary<string, Assembly> ClassScriptMapping;
static ClassBuilder()
{
ClassScriptMapping = new ConcurrentDictionary<string,... | mpl-2.0 | C# |
0abf326f89af00964039136f300a8a8bd6514766 | Update assembly info | dibble-james/Framework | Data.MongoDb/Properties/AssemblyInfo.cs | Data.MongoDb/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("Di... | 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("Da... | mit | C# |
421c19f6e540d4644e51f288309158a404e2938a | add GetSystemDateTimeSec_Local_ByNow | NDark/ndinfrastructure,NDark/ndinfrastructure | DotNet/SystemDateTime/SystemDateTime.cs | DotNet/SystemDateTime/SystemDateTime.cs | /**
@file SystemDateTime.cs
@author NDark
@date 201705118 file started.
*/
using UnityEngine;
public static class SystemDateTime
{
// \/Date(-62135596800000)\/
public static System.DateTime ConvertFromJSONDate( string _Str )
{
const string KEY_Date = "Date" ;
const string KEY_LeftBrace = "(" ;
const s... | /**
@file SystemDateTime.cs
@author NDark
@date 201705118 file started.
*/
using UnityEngine;
public static class SystemDateTime
{
// \/Date(-62135596800000)\/
public static System.DateTime ConvertFromJSONDate( string _Str )
{
const string KEY_Date = "Date" ;
const string KEY_LeftBrace = "(" ;
const s... | mit | C# |
f6d66e1b5948418be7e9d9cdb72485a712d1add2 | Exclude port when using default | joelverhagen/RemindMeWhen,joelverhagen/RemindMeWhen | RemindMeWhen.WebApi/Controllers/BaseEventSearchController.cs | RemindMeWhen.WebApi/Controllers/BaseEventSearchController.cs | using System;
using System.Collections.Specialized;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using Knapcode.RemindMeWhen.Core.Models;
using Knapcode.RemindMeWhen.Core.Repositories;
using Knapcode.RemindMeWhen.WebApi.Models;
namespace Knapcod... | using System;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using Knapcode.RemindMeWhen.Core.Models;
using Knapcode.RemindMeWhen.Core.Repositories;
using Knapcode.RemindMeWhen.WebApi.Models;
namespace Knapcode.RemindMeWhen.WebApi.Controllers
{
... | mit | C# |
2ccc81ccc0ca7406d21e6283c60a77f5849bf681 | Add test case for fading hold note | peppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,ppy/osu,peppy/osu | osu.Game.Rulesets.Mania.Tests/Skinning/TestSceneHoldNote.cs | osu.Game.Rulesets.Mania.Tests/Skinning/TestSceneHoldNote.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.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Bindables;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu... | // 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.Linq;
using NUnit.Framework;
using osu.Framework.Bindables;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
usin... | mit | C# |
19eb6fad7fca29af8f163ace52ba95e70383f542 | Make hold note ticks affect combo score rather than bonus | ppy/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu | osu.Game.Rulesets.Mania/Judgements/HoldNoteTickJudgement.cs | osu.Game.Rulesets.Mania/Judgements/HoldNoteTickJudgement.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.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mania.Judgements
{
public class HoldNoteTickJudgement : ManiaJudgement
{
protected override ... | // 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.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mania.Judgements
{
public class HoldNoteTickJudgement : ManiaJudgement
{
public override boo... | mit | C# |
1a41bb5a10a495683562facb23efc9b0ff582661 | Use container in TestCaseNonAsyncContainer | peppy/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,naoey/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,paparony03/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,... | osu.Framework.VisualTests/Tests/TestCaseNonAsyncContainer.cs | osu.Framework.VisualTests/Tests/TestCaseNonAsyncContainer.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Testing;
namespace osu.Framework.VisualTests.Tests
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Testing;
namespace osu.Framework.VisualTests.Tests
... | mit | C# |
4f09066cc71fce12fc2d6539a7263d78f47bea55 | Update AddingLinkToExternalFile.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspos... | Examples/CSharp/Data/AddOn/Hyperlinks/AddingLinkToExternalFile.cs | Examples/CSharp/Data/AddOn/Hyperlinks/AddingLinkToExternalFile.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Data.AddOn.Hyperlinks
{
public class AddingLinkToExternalFile
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Ex... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Data.AddOn.Hyperlinks
{
public class AddingLinkToExternalFile
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(... | mit | C# |
dd3e7220321f764da901815b970bdf1ed23e6e69 | Update RowAndColumnIndex.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,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,asposecells/Aspose_Cells_NET,asposecel... | Examples/CSharp/Data/Handling/AccessingCells/RowAndColumnIndex.cs | Examples/CSharp/Data/Handling/AccessingCells/RowAndColumnIndex.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Data.Handling.AccessingCells
{
public class RowAndColumnIndex
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDi... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Data.Handling.AccessingCells
{
public class RowAndColumnIndex
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Example... | mit | C# |
61ba44f9f05fce2f6b16a5d5be2e009c49cdfe5c | bump version to 2.4.0 | piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker | Piwik.Tracker/Properties/AssemblyInfo.cs | Piwik.Tracker/Properties/AssemblyInfo.cs | using System.Reflection;
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("PiwikTracker")]
[assembly: Assembl... | using System.Reflection;
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("PiwikTracker")]
[assembly: Assembl... | bsd-3-clause | C# |
4e1f4369393adfe28af1bd38d67f11e323a67ffa | refactor to remove duplication between overloads | slovely/SignalR.RabbitMq,slovely/SignalR.RabbitMq,mdevilliers/SignalR.RabbitMq,mdevilliers/SignalR.RabbitMq | SignalR.RabbitMQ/DependencyResolverExtensions.cs | SignalR.RabbitMQ/DependencyResolverExtensions.cs | using System;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Messaging;
namespace SignalR.RabbitMQ
{
public static class DependencyResolverExtensions
{
public static IDependencyResolver UseRabbitMq(this IDependencyResolver resolver, RabbitMqScaleoutConfiguration configuration)
... | using System;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Messaging;
namespace SignalR.RabbitMQ
{
public static class DependencyResolverExtensions
{
public static IDependencyResolver UseRabbitMq(this IDependencyResolver resolver, RabbitMqScaleoutConfiguration configuration)
... | mit | C# |
c64ec94c6b7e026ce4a7b8b178109328bad82a8a | Make `ReactiveObjectPropertyManagerPageBase.Data` public | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/ReactiveObjectPropertyManagerPageBase.cs | SolidworksAddinFramework/ReactiveObjectPropertyManagerPageBase.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using LanguageExt;
using SolidWorks.Interop.sldworks;
using SolidWorks.Interop.swconst;
namespace SolidworksAddinFramework
{
public abstract class ReactiveObjectPropertyManagerPageBase<T> : PropertyManagerPageBase
where T : ReactiveUI.Re... | using System;
using System.Collections.Generic;
using System.Drawing;
using LanguageExt;
using SolidWorks.Interop.sldworks;
using SolidWorks.Interop.swconst;
namespace SolidworksAddinFramework
{
public abstract class ReactiveObjectPropertyManagerPageBase<T> : PropertyManagerPageBase
where T : ReactiveUI.Re... | mit | C# |
19bcb2548a0f5775a14494316ae75c8b3bcdd217 | Make property read only | AntoineGa/EventFlow,rasmus/EventFlow,liemqv/EventFlow | Source/EventFlow.ReadStores.Elasticsearch/ReadModelDescription.cs | Source/EventFlow.ReadStores.Elasticsearch/ReadModelDescription.cs | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// 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... | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// 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... | mit | C# |
63ed696629129325bb5570e9d57f9a3e243b0dad | fix and document CheckDisable | NaamloosDT/ModCore,NaamloosDT/ModCore | ModCore/Logic/CheckDisableAttribute.cs | ModCore/Logic/CheckDisableAttribute.cs | using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ModCore.Database;
namespace ModCore.Logic
{
/// <inheritdoc />
/// <summary>
/// Defines that usage of this command is r... | using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ModCore.Database;
namespace ModCore.Logic
{
/// <inheritdoc />
/// <summary>
/// Defines that usage of this command is r... | mit | C# |
cf7db664408e0d5392edbc84d42b87ed4095251d | Mark field as read-only | terrajobst/nquery-vnext | NQuery.Language/Syntax/SyntaxTrivia.cs | NQuery.Language/Syntax/SyntaxTrivia.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
namespace NQuery.Language
{
public struct SyntaxTrivia
{
private readonly SyntaxKind _kind;
private readonly string _text;
private readonly TextSpan _span;
private readonly Str... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
namespace NQuery.Language
{
public struct SyntaxTrivia
{
private readonly SyntaxKind _kind;
private readonly string _text;
private readonly TextSpan _span;
private readonly Str... | mit | C# |
9251082d63e906b3011e0497c9df5f725befd8c8 | Remove TODO in ObjectSafeHandle | felipebz/ndapi | Ndapi/Core/Handles/ObjectSafeHandle.cs | Ndapi/Core/Handles/ObjectSafeHandle.cs | namespace Ndapi.Core.Handles
{
internal class ObjectSafeHandle : SafeHandleBase
{
protected override bool ReleaseHandleImpl()
{
return true;
}
}
}
| namespace Ndapi.Core.Handles
{
internal class ObjectSafeHandle : SafeHandleBase
{
protected override bool ReleaseHandleImpl()
{
// TODO: try to figure out a way to do it.
//var status = NativeMethods.d2fobde_Destroy(NdapiContext.Context, handle);
//return sta... | mit | C# |
f2559941bfb46741bce751744565243bb0646d9d | use expression body | louthy/language-ext,StefanBertels/language-ext,StanJav/language-ext | Samples/Contoso/Contoso.Web/Program.cs | Samples/Contoso/Contoso.Web/Program.cs | using Contoso.Web.Extensions;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Contoso.Web
{
public class Program
{
public static void Main(string[] args) =>
CreateHostBuilder(args)
.Build()
.SeedDatabase()
.R... | using Contoso.Web.Extensions;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Contoso.Web
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build()
.SeedDatabase()
.Run();
... | mit | C# |
98c3f60342119dce94db6ff6864d1b8eb2bd9c64 | Add Node.GetComponent<T>() method. | rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D | Urho3DNet/Scene/Node.cs | Urho3DNet/Scene/Node.cs | using System;
using System.Diagnostics;
using System.Reflection;
using CSharp;
namespace Urho3D
{
public partial class Node
{
public T CreateComponent<T>(CreateMode mode = CreateMode.REPLICATED, uint id = 0) where T : Component
{
var componentInstance = Urho3D__Node__CreateComponent_Urho3D__StringHas... | using System;
using System.Diagnostics;
using System.Reflection;
using CSharp;
namespace Urho3D
{
public partial class Node
{
public T CreateComponent<T>(CreateMode mode = CreateMode.REPLICATED, uint id = 0) where T : Component
{
var componentInstance = Urho3D__Node__CreateComponent_Urho3D__StringHas... | mit | C# |
eacc9f406d46a615c637e540cd80ed505cbb2ff9 | Fix for MPLY-7648. Creating a poi for the first time returns different data to when it is modified and then removed again. Buddy: Judith | wrld3d/wrld-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,eegeo/eegeo-example-app,eegeo/eegeo-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,wrld3d/wrld-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,wrld3d/w... | windows/ExampleApp/ExampleAppWPF/Views/SearchResultPoi/ResultModels/EegeoResultModel.cs | windows/ExampleApp/ExampleAppWPF/Views/SearchResultPoi/ResultModels/EegeoResultModel.cs | using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Json;
using System.Text;
namespace ExampleAppWPF
{
[DataContract]
class EegeoResultModel
{
[DataMember(Name = "phone")]
private string m_phone = string.Empty;
... | using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Json;
using System.Text;
namespace ExampleAppWPF
{
[DataContract]
class EegeoResultModel
{
[DataMember(Name = "phone")]
private string m_phone = string.Empty;
... | bsd-2-clause | C# |
9c1aaaa18fee018ec96f7fae73f1cd633c9e9cd1 | Add test to ensure swagger-ui assets are embedded correctly | domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy | test/Swashbuckle.AspNetCore.IntegrationTests/SwaggerUIIntegrationTests.cs | test/Swashbuckle.AspNetCore.IntegrationTests/SwaggerUIIntegrationTests.cs | using System;
using System.Net;
using System.Threading.Tasks;
using Xunit;
namespace Swashbuckle.AspNetCore.IntegrationTests
{
public class SwaggerUIIntegrationTests
{
[Fact]
public async Task SwaggerUIIndex_ServesAnEmbeddedVersionOfTheSwaggerUI()
{
var client = new TestSi... | using System;
using System.Net;
using System.Threading.Tasks;
using Xunit;
namespace Swashbuckle.AspNetCore.IntegrationTests
{
public class SwaggerUIIntegrationTests
{
[Fact]
public async Task SwaggerUIIndex_ServesAnEmbeddedVersionOfTheSwaggerUI()
{
var client = new TestSi... | mit | C# |
f173a14b5d2ebb769c1f2c3dbc3d76db08ed83af | make closing existing dialog a nop | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/Dialogs/DialogViewModelBaseOfTResult.cs | WalletWasabi.Fluent/ViewModels/Dialogs/DialogViewModelBaseOfTResult.cs | using ReactiveUI;
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading.Tasks;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
/// <summary>
/// Base ViewModel class for Dialogs that returns a value back.
/// Do not reuse all types derived from this after calling Sho... | using ReactiveUI;
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading.Tasks;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
/// <summary>
/// Base ViewModel class for Dialogs that returns a value back.
/// Do not reuse all types derived from this after calling Sho... | mit | C# |
33dcdc062d92c794a399e146b79070342b0a9f14 | Update post request helpers | geeklearningio/Testavior | src/GeekLearning.Test.Integration/Helpers/PostRequestHelper.cs | src/GeekLearning.Test.Integration/Helpers/PostRequestHelper.cs | namespace System.Net.Http
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Reflection;
// http://www.stefanhendriks.com/2016/05/11/integration-testing-your-asp-net-core-app-dealing-with-anti-request-forgery-csrf-formdata-and-cookies/
... | namespace System.Net.Http
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Reflection;
// http://www.stefanhendriks.com/2016/05/11/integration-testing-your-asp-net-core-app-dealing-with-anti-request-forgery-csrf-formdata-and-cookies/
... | mit | C# |
6cadca8b518b68b3e95490285c58a32a23ecc368 | Fix a syntax error causing typo | RonnChyran/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,faint32/snowflake-1,SnowflakePowered/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1,faint32/snowflake-1,SnowflakePowered/snowflake | Snowflake.Events/SnowflakeEventSource.cs | Snowflake.Events/SnowflakeEventSource.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Snowflake.Events
{
public partial class SnowflakeEventSource
{
public static SnowflakeEventSource EventSource;
SnowflakeEventSource()
{
}
public... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Snowflake.Events
{
public partial class SnowflakeEventSource
{
public static SnowflakeEventSource SnowflakeEventSource;
SnowflakeEventSource()
{
}
... | mpl-2.0 | C# |
91c25d01eacb0efe43d33c744eb5572893e79436 | Fix hidden | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Core/NakedFunctions.Reflector/FacetFactory/HiddenAnnotationFacetFactory.cs | Core/NakedFunctions.Reflector/FacetFactory/HiddenAnnotationFacetFactory.cs | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requir... | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requir... | apache-2.0 | C# |
1713a1196b8954345614edaf6b6db8a5af959407 | Update AssemblyInfo.cs | ipjohnson/Grace | Source/Grace.CommonServiceLocator/Properties/AssemblyInfo.cs | Source/Grace.CommonServiceLocator/Properties/AssemblyInfo.cs | using System.Resources;
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.
[ass... | using System.Resources;
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.
[ass... | mit | C# |
9386b7f3129fc156aa25c51f24b96e7d4b76a21d | add signatures to interface! | zmira/abremir.AllMyBricks | abremir.AllMyBricks.Device/Interfaces/IPreferencesService.cs | abremir.AllMyBricks.Device/Interfaces/IPreferencesService.cs | using abremir.AllMyBricks.Device.Enumerations;
namespace abremir.AllMyBricks.Device.Interfaces
{
public interface IPreferencesService
{
bool RetrieveFullSetDataOnSynchronization { get; set; }
ThumbnailCachingStrategyEnum ThumbnailCachingStrategy { get; set; }
bool ClearThumbnailCache {... | using abremir.AllMyBricks.Device.Enumerations;
namespace abremir.AllMyBricks.Device.Interfaces
{
public interface IPreferencesService
{
bool RetrieveFullSetDataOnSynchronization { get; set; }
ThumbnailCachingStrategyEnum ThumbnailCachingStrategy { get; set; }
}
} | mit | C# |
a3a7e4bb6c0b7258b7dc675e9ccb03414607464c | bump version | shrayasr/cPanelSharp | cPanelSharp/Properties/AssemblyInfo.cs | cPanelSharp/Properties/AssemblyInfo.cs | using System.Reflection;
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("cPanelSharp")]
[assembly: AssemblyDescrip... | using System.Reflection;
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("cPanelSharp")]
[assembly: AssemblyDescrip... | apache-2.0 | C# |
85b1213ba85d309627ec27c96bcfe552deb3958b | Switch stream publisher over to use new proxy | Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glim... | src/Glimpse.Agent.Connection.Stream/Broker/RemoteStreamMessagePublisher.cs | src/Glimpse.Agent.Connection.Stream/Broker/RemoteStreamMessagePublisher.cs | using Glimpse.Agent.Connection.Stream.Connection;
using System;
namespace Glimpse.Agent
{
public class RemoteStreamMessagePublisher : BaseMessagePublisher
{
private readonly IStreamProxy _messagePublisherHub;
public RemoteStreamMessagePublisher(IStreamProxy messagePublisherHub)
{
... | using System;
namespace Glimpse.Agent
{
public class RemoteStreamMessagePublisher : BaseMessagePublisher
{
public override void PublishMessage(IMessage message)
{
var newMessage = ConvertMessage(message);
// TODO: Use SignalR to publish message
}
}
} | mit | C# |
07508db91ec5c5aefc0ebeba793ef7d28e171f76 | add cover index (#1610) | leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net | src/JoinRpg.Dal.Impl/Migrations/202110241232502_RequireClaimResponsible.cs | src/JoinRpg.Dal.Impl/Migrations/202110241232502_RequireClaimResponsible.cs | namespace JoinRpg.Dal.Impl.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class RequireClaimResponsible : DbMigration
{
public override void Up()
{
Sql(@"
UPDATE Claims
SET[ResponsibleMasterUserId] = ACL.UserId
FROM
Claims
LEFT JOIN ProjectAcl... | namespace JoinRpg.Dal.Impl.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class RequireClaimResponsible : DbMigration
{
public override void Up()
{
Sql(@"
UPDATE Claims
SET[ResponsibleMasterUserId] = ACL.UserId
FROM
Claims
LEFT JOIN ProjectAcl... | mit | C# |
e28ed250032e552322c0a9f35443b9eefa2ab6d5 | fix running single test | skoberlink/NSpecTestAdapter,osoftware/NSpecTestAdapter | NSpec.TestAdapter/Executor.cs | NSpec.TestAdapter/Executor.cs | using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using NSpec.Domain;
using NSpec.Domain.Formatters;
namespace NSpec.TestAdapter
{
/// <summary>
/// Executes tests. Should be used in Sandbox only.
/// </summary>
class Executor : DomainProxy, ILiveFormatter... | using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using NSpec.Domain;
using NSpec.Domain.Formatters;
namespace NSpec.TestAdapter
{
/// <summary>
/// Executes tests. Should be used in Sandbox only.
/// </summary>
class Executor : DomainProxy, ILiveFormatter... | mit | C# |
af1dd1e846c1b31a976a8ab097d20505b370f179 | Remove Console.Read | gregsochanik/7d-feedmunch | src/FeedMuncher/Program.cs | src/FeedMuncher/Program.cs | using FeedMuncher.IOC.StructureMap;
namespace FeedMuncher
{
class Program
{
static void Main(string[] args)
{
Bootstrap.ConfigureDependencies();
var feedMunchConfig = FeedMunch.Configure.FromConsoleArgs(args);
FeedMunch.Download
.WithConfig(feedMunchConfig)
.Invoke();
}
}... | using System;
using FeedMuncher.IOC.StructureMap;
namespace FeedMuncher
{
class Program
{
static void Main(string[] args)
{
Bootstrap.ConfigureDependencies();
var feedMunchConfig = FeedMunch.Configure.FromConsoleArgs(args);
FeedMunch.Download
.WithConfig(feedMunchConfig)
.Invok... | mit | C# |
673c063f82d73fb1977525753967f17cb1854b03 | Update SocketThread | sguertl/Flying_Pi,sguertl/Flying_Pi,sguertl/Flying_Pi,sguertl/Flying_Pi | Dronection/Android/WiFi/Android_Wifi_Test/Android_Wifi_Test/SocketThread.cs | Dronection/Android/WiFi/Android_Wifi_Test/Android_Wifi_Test/SocketThread.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Java.Lang;
using Java.Net;
namespace Android_Wifi_Test
{
public class SocketThread : Thread
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Java.Lang;
using Java.Net;
namespace Android_Wifi_Test
{
public class SocketThread : Thread
... | apache-2.0 | C# |
25fcf991586c9f43cacf0f52e7e874bdfbdea50f | Package Management Tweaks #CHANGE: Tweaked package management user interface handling. | thecocce/duality,BraveSirAndrew/duality,cpascal/duality,RockyTV/duality,enguard/duality,abhishekbhalani/duality,SirePi/duality,caryanne/duality,AdamsLair/duality,YMRYMR/duality,mfep/duality,ninja2003/duality,GHackAnonymous/duality,Barsonax/duality | DualityEditorPlugins/PackageManagerFrontend/PackageManagerFrontendPlugin.cs | DualityEditorPlugins/PackageManagerFrontend/PackageManagerFrontendPlugin.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml.Linq;
using WeifenLuo.WinFormsUI.Docking;
using AdamsLair.WinForms.ItemModels;
using Duality.Editor;
using Duality.Editor.Properties;
using Duality.Editor.Forms;
using Duality.Editor.Pl... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml.Linq;
using WeifenLuo.WinFormsUI.Docking;
using AdamsLair.WinForms.ItemModels;
using Duality.Editor;
using Duality.Editor.Properties;
using Duality.Editor.Forms;
using Duality.Editor.Pl... | mit | C# |
f53e82e0429c770bfd0ee994563d9c48460ea6be | Update number of extensions (#2279) | cake-build/website,cake-build/website,cake-build/website | input/docs/index.cshtml | input/docs/index.cshtml | Title: Documentation
---
<p>
Cake (C# Make) is a cross-platform build automation system with a C# DSL for tasks such as compiling code, copying files and folders, running unit tests, compressing files and building NuGet packages.
</p>
<p>
It ships both as a <a href="/docs/running-builds/runners/dotnet-core-too... | Title: Documentation
---
<p>
Cake (C# Make) is a cross-platform build automation system with a C# DSL for tasks such as compiling code, copying files and folders, running unit tests, compressing files and building NuGet packages.
</p>
<p>
It ships both as a <a href="/docs/running-builds/runners/dotnet-core-too... | mit | C# |
a386ab2859c27c8132363d50a0a3b39f55bb9ebc | use constant for date format | OlegKleyman/AlphaDev,OlegKleyman/AlphaDev,OlegKleyman/AlphaDev | web/AlphaDev.Web/Models/DatesViewModel.cs | web/AlphaDev.Web/Models/DatesViewModel.cs | using System;
using System.ComponentModel.DataAnnotations;
using Optional;
namespace AlphaDev.Web.Models
{
public struct DatesViewModel
{
private const string DateDisplayFormat = "{0:dddd, MMMM dd, yyyy}";
public DatesViewModel(DateTime created, Option<DateTime> modified)
{
... | using System;
using System.ComponentModel.DataAnnotations;
using Optional;
namespace AlphaDev.Web.Models
{
public struct DatesViewModel
{
public DatesViewModel(DateTime created, Option<DateTime> modified)
{
Created = created;
Modified = modified;
}
[Disp... | unlicense | C# |
8ab09a414c2a1afd1fd974bd4d937822f3c2f74a | Unify DispatchWrapper behavior for null | ViktorHofer/corefx,ptoonen/corefx,wtgodbe/corefx,shimingsg/corefx,shimingsg/corefx,ericstj/corefx,shimingsg/corefx,ptoonen/corefx,shimingsg/corefx,BrennanConroy/corefx,BrennanConroy/corefx,ViktorHofer/corefx,ptoonen/corefx,ViktorHofer/corefx,ericstj/corefx,wtgodbe/corefx,ericstj/corefx,ptoonen/corefx,shimingsg/corefx,B... | src/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/DispatchWrapperTests.cs | src/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/DispatchWrapperTests.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 Xunit;
namespace System.Runtime.InteropServices.Tests
{
#pragma warning disable 0618 // DispatchWrapper is ma... | // 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 Xunit;
namespace System.Runtime.InteropServices.Tests
{
#pragma warning disable 0618 // DispatchWrapper is ma... | mit | C# |
1a3d8df98de5de2ec06f0dbbf32a427c101ce792 | Remove redundant constructor. | mcneel/RhinoCycles | RenderPipeline.cs | RenderPipeline.cs | /**
Copyright 2014-2017 Robert McNeel and Associates
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 agreed to in w... | /**
Copyright 2014-2017 Robert McNeel and Associates
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 agreed to in w... | apache-2.0 | C# |
abddbb9ec5eaceb0ea28f3d26d3947509fd45a75 | Add properties to Circular. | JohanLarsson/Gu.Inject | Gu.Inject.Tests/Types/Circular1.cs | Gu.Inject.Tests/Types/Circular1.cs | // ReSharper disable All
#pragma warning disable CA1801 // Review unused parameters
#pragma warning disable IDE0060 // Remove unused parameter
namespace Gu.Inject.Tests.Types
{
public static class Circular1
{
public class A
{
public A(B b)
{
this.B = b;
... | // ReSharper disable All
#pragma warning disable CA1801 // Review unused parameters
#pragma warning disable IDE0060 // Remove unused parameter
namespace Gu.Inject.Tests.Types
{
public static class Circular1
{
public class A
{
public A(B b)
{
}
}
... | mit | C# |
0ae272b75b0a9a47b860a9e8a713be2638733fee | Fix for NAN on Distance Calculations | Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving | src/MobileApps/MyDriving/MyDriving.Utils/Helpers/DistanceUtils.cs | src/MobileApps/MyDriving/MyDriving.Utils/Helpers/DistanceUtils.cs | using System;
using static System.Math;
namespace MyDriving.Utils
{
public static class DistanceUtils
{
/// <summary>
/// Calculates the distance in miles
/// </summary>
/// <returns>The distance.</returns>
/// <param name="latitudeStart">Latitude start.</param>
... | using System;
using static System.Math;
namespace MyDriving.Utils
{
public static class DistanceUtils
{
/// <summary>
/// Calculates the distance in miles
/// </summary>
/// <returns>The distance.</returns>
/// <param name="latitudeStart">Latitude start.</param>
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.