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 |
|---|---|---|---|---|---|---|---|---|
d1bc91e44e94d047c455804dcecdc80ceae2e6e6 | Fix NullReferenceException | luberda-molinet/FFImageLoading,molinch/FFImageLoading,petlack/FFImageLoading,AndreiMisiukevich/FFImageLoading,kalarepa/FFImageLoading,daniel-luberda/FFImageLoading | source/FFImageLoading.Touch/Work/DataResolver/FilePathDataResolver.cs | source/FFImageLoading.Touch/Work/DataResolver/FilePathDataResolver.cs | using System;
using FFImageLoading.Work;
using System.IO;
using FFImageLoading.IO;
using System.Threading.Tasks;
using System.Threading;
using UIKit;
namespace FFImageLoading.Work.DataResolver
{
public class FilePathDataResolver : IDataResolver
{
private static int _screenScale;
private readonly ImageSource _so... | using System;
using FFImageLoading.Work;
using System.IO;
using FFImageLoading.IO;
using System.Threading.Tasks;
using System.Threading;
using UIKit;
namespace FFImageLoading.Work.DataResolver
{
public class FilePathDataResolver : IDataResolver
{
private static int _screenScale;
private readonly ImageSource _so... | mit | C# |
45239fc737423f05f63c93b05e72ef20a33ef267 | Update `TrueGameplayRate` accessing | ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game/Screens/Play/HUD/ClicksPerSecond/ClicksPerSecondCalculator.cs | osu.Game/Screens/Play/HUD/ClicksPerSecond/ClicksPerSecondCalculator.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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.UI;
namespace osu.Game.Screens.Play.HUD.ClicksPer... | // 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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.UI;
namespace osu.Game.Screens.Play.HUD.ClicksPer... | mit | C# |
1eff5128f4a9aa1741ee92eb34b7f05ed2c4cade | fix test to remove spaces when matching thread name in ThreadNameConverterTests.cs | Cayan-LLC/syslog4net,akramsaleh/syslog4net,jbeats/syslog4net,merchantwarehouse/syslog4net | src/test/unit/syslog4net.Tests/Converters/ThreadNameConverterTests.cs | src/test/unit/syslog4net.Tests/Converters/ThreadNameConverterTests.cs | using System.IO;
using System.Threading;
using log4net.Core;
using syslog4net.Converters;
using NUnit.Framework;
namespace syslog4net.Tests.Converters
{
[TestFixture]
public class ThreadNameConverterTests
{
[Test]
public void ConvertTest()
{
var writer = new StreamWrite... | using System.IO;
using System.Threading;
using log4net.Core;
using syslog4net.Converters;
using NUnit.Framework;
namespace syslog4net.Tests.Converters
{
[TestFixture]
public class ThreadNameConverterTests
{
[Test]
public void ConvertTest()
{
var writer = new StreamWrite... | apache-2.0 | C# |
3b91a07942353a71bfa225cec7d6c98693500a98 | Tweak the latest news view. | bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes | Orchard.Source.1.8.1/src/Orchard.Web/Themes/LccNetwork.Bootstrap/Views/ProjectionWidgetLatestNews.cshtml | Orchard.Source.1.8.1/src/Orchard.Web/Themes/LccNetwork.Bootstrap/Views/ProjectionWidgetLatestNews.cshtml | @using System.Dynamic;
@using System.Linq;
@using Orchard.ContentManagement;
@using Orchard.Utility.Extensions;
@functions
{
dynamic GetMainPartFromContentItem(ContentItem item)
{
// get the ContentPart that has the same name as the item's ContentType
// so that we can access the item fields.
... | @using System.Dynamic;
@using System.Linq;
@using Orchard.ContentManagement;
@using Orchard.Utility.Extensions;
@functions
{
dynamic GetMainPartFromContentItem(ContentItem item)
{
// get the ContentPart that has the same name as the item's ContentType
// so that we can access the item fields.
... | bsd-3-clause | C# |
1e71681916b3fe6473da6f3fda1e2fb35f9dc7fd | Fix osu!catch catcher not scaling down correctly | NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,johnneijzen/osu,ppy/osu,peppy/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,peppy/osu-new,2yangk23/osu,peppy/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu | osu.Game.Rulesets.Catch/UI/CatcherSprite.cs | osu.Game.Rulesets.Catch/UI/CatcherSprite.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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Skinning;
using osuTK;
namespace osu.Game.Rulesets... | // 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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Skinning;
using osuTK;
namespace osu.Game.Rulesets... | mit | C# |
0e3b001b133e310064065be3c98f3f13f320321d | Make maps with storyboards decode correctly with OsuJsonDecoder | naoey/osu,NeoAdonis/osu,EVAST9919/osu,UselessToucan/osu,ZLima12/osu,Nabile-Rahmani/osu,naoey/osu,DrabWeb/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,peppy/osu-new,peppy/osu,DrabWeb/osu,UselessToucan/osu,2yangk23/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu... | osu.Game/Beatmaps/Formats/OsuJsonDecoder.cs | osu.Game/Beatmaps/Formats/OsuJsonDecoder.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.IO;
using osu.Game.IO.Serialization;
namespace osu.Game.Beatmaps.Formats
{
public class OsuJsonDecoder : BeatmapDecoder
{
public... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.IO;
using osu.Game.IO.Serialization;
namespace osu.Game.Beatmaps.Formats
{
public class OsuJsonDecoder : BeatmapDecoder
{
public... | mit | C# |
3c11055ee063395b3fa647e213235dfa030fd695 | Add "x-delayed-message" as valid exchange type | EasyNetQ/EasyNetQ.Management.Client,EasyNetQ/EasyNetQ.Management.Client,chinaboard/EasyNetQ.Management.Client,micdenny/EasyNetQ.Management.Client,alexwiese/EasyNetQ.Management.Client,Pliner/EasyNetQ.Management.Client,micdenny/EasyNetQ.Management.Client,Pliner/EasyNetQ.Management.Client | Source/EasyNetQ.Management.Client/Model/ExchangeInfo.cs | Source/EasyNetQ.Management.Client/Model/ExchangeInfo.cs | using System;
using System.Collections.Generic;
namespace EasyNetQ.Management.Client.Model
{
public class ExchangeInfo
{
public string Type { get; private set; }
public bool AutoDelete { get; private set; }
public bool Durable { get; private set; }
public bool Internal { get; p... | using System;
using System.Collections.Generic;
namespace EasyNetQ.Management.Client.Model
{
public class ExchangeInfo
{
public string Type { get; private set; }
public bool AutoDelete { get; private set; }
public bool Durable { get; private set; }
public bool Internal { get; p... | mit | C# |
997d8ee315f8d0203392a71df0b7ae98d92d97a4 | Update PersonMap.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Test/AdventureWorksFunctionalModel/Mapping/PersonMap.cs | Test/AdventureWorksFunctionalModel/Mapping/PersonMap.cs | using System.Data.Entity.ModelConfiguration;
using AW.Types;
namespace AW.Mapping
{
public class PersonMap : EntityTypeConfiguration<Person>
{
public PersonMap()
{
// Primary Key
HasKey(t => t.BusinessEntityID);
Property(t => t.Title)
.HasMax... | using System.Data.Entity.ModelConfiguration;
using AW.Types;
namespace AW.Mapping
{
public class PersonMap : EntityTypeConfiguration<Person>
{
public PersonMap()
{
// Primary Key
HasKey(t => t.BusinessEntityID);
Property(t => t.Title)
.HasMax... | apache-2.0 | C# |
9b5674b2273ff9cbca3ac035db92da6847a83808 | Bump version | o11c/WebMConverter,nixxquality/WebMConverter,Yuisbean/WebMConverter | Properties/AssemblyInfo.cs | 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("We... | 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("We... | mit | C# |
48e14ec4d0e08d3d835c44040d3f88fc4358c770 | Fix build | serilog/serilog-sinks-azuretablestorage | src/Serilog.Sinks.AzureTableStorage/Sinks/AzureTableStorageWithProperties/AzurePropertyFormatter.cs | src/Serilog.Sinks.AzureTableStorage/Sinks/AzureTableStorageWithProperties/AzurePropertyFormatter.cs | // Copyright 2014 Serilog Contributors
//
// 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 ... | // Copyright 2014 Serilog Contributors
//
// 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 ... | apache-2.0 | C# |
3dc875915c799a3c366090bc17e74e9a49eaf4ec | fix typo | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Shell/Commands/ToolCommands.cs | WalletWasabi.Gui/Shell/Commands/ToolCommands.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Diagnostics;
using AvalonStudio.Commands;
using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using ReactiveUI;
using System;
using System.Composition;
using System.IO;
using System.Linq;
using System.Reactive.... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Diagnostics;
using AvalonStudio.Commands;
using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using ReactiveUI;
using System;
using System.Composition;
using System.IO;
using System.Linq;
using System.Reactive.... | mit | C# |
4b84564f474e1369817815a7bfa8dcb90d99f0c4 | Switch casing comparison mode to ordinal | peppy/osu-new,UselessToucan/osu,ppy/osu,2yangk23/osu,EVAST9919/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu | osu.Game/IO/Archives/ZipArchiveReader.cs | osu.Game/IO/Archives/ZipArchiveReader.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 System.IO;
using System.Linq;
using SharpCompress.Archives.Zip;
using SharpCompress.Common;
namespace osu.Game.IO.... | // 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 System.IO;
using System.Linq;
using SharpCompress.Archives.Zip;
using SharpCompress.Common;
namespace osu.Game.IO.... | mit | C# |
464650a94a43a4c7eade3781c03afdb1fff1e243 | Reorganize DiscordOAuthValidator | tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools | src/Tgstation.Server.Host/Security/OAuth/DiscordOAuthValidator.cs | src/Tgstation.Server.Host/Security/OAuth/DiscordOAuthValidator.cs | using System;
using System.Net.Http;
using Microsoft.Extensions.Logging;
using Tgstation.Server.Api.Models;
using Tgstation.Server.Host.Configuration;
using Tgstation.Server.Host.System;
namespace Tgstation.Server.Host.Security.OAuth
{
/// <summary>
/// OAuth validator for Discord.
/// </summary>
sealed class D... | using System;
using System.Net.Http;
using Microsoft.Extensions.Logging;
using Tgstation.Server.Api.Models;
using Tgstation.Server.Host.Configuration;
using Tgstation.Server.Host.System;
namespace Tgstation.Server.Host.Security.OAuth
{
/// <summary>
/// OAuth validator for Discord.
/// </summary>
sealed class D... | agpl-3.0 | C# |
7314dd3a5d7dbd79d77d6e06f24160365e0332e5 | Add an area for errors | github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity,mpOzelot/Unity,github-for-unity/Unity | src/UnityExtension/Assets/Editor/GitHub.Unity/UI/PublishWindow.cs | src/UnityExtension/Assets/Editor/GitHub.Unity/UI/PublishWindow.cs | using UnityEditor;
using UnityEngine;
namespace GitHub.Unity
{
public class PublishWindow : EditorWindow
{
private const string PublishTitle = "Publish this repository to GitHub";
private string repoName = "";
private string repoDescription = "";
private int selectedOrg = 0;
... | using UnityEditor;
using UnityEngine;
namespace GitHub.Unity
{
public class PublishWindow : EditorWindow
{
private const string PublishTitle = "Publish this repository to GitHub";
private string repoName = "";
private string repoDescription = "";
private int selectedOrg = 0;
... | mit | C# |
a684be92bb82d369a7fc91b5b335993fbee4efb8 | Fix #3325 Add support for zero_terms_query to match_phrase query (#3363) | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/QueryDsl/FullText/MatchPhrasePrefix/MatchPhrasePrefixQuery.cs | src/Nest/QueryDsl/FullText/MatchPhrasePrefix/MatchPhrasePrefixQuery.cs | using Newtonsoft.Json;
using System;
namespace Nest
{
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
[JsonConverter(typeof(FieldNameQueryJsonConverter<MatchPhrasePrefixQuery>))]
public interface IMatchPhrasePrefixQuery : IFieldNameQuery
{
[JsonProperty("query")]
string Query { get; set; }
[J... | using Newtonsoft.Json;
using System;
namespace Nest
{
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
[JsonConverter(typeof(FieldNameQueryJsonConverter<MatchPhrasePrefixQuery>))]
public interface IMatchPhrasePrefixQuery : IFieldNameQuery
{
[JsonProperty("query")]
string Query { get; set; }
[J... | apache-2.0 | C# |
571d3edf6c416ae13bf91f5210ca67793ad4b8e4 | Bump up new version for assemblyinfor file | shahabhijeet/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,hyonholee/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,stankovski/azure-sdk-for-net,pilor/azure-sdk-for-net,stankovski/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,hyonholee/azure-sdk-for-net,jamestao/azure-sdk-for-net,hyo... | src/SDKs/Consumption/Management.Consumption/Properties/AssemblyInfo.cs | src/SDKs/Consumption/Management.Consumption/Properties/AssemblyInfo.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Microsoft Azure Consumption Management Library"... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Microsoft Azure Consumption Management Library"... | mit | C# |
518b902214aa4f0fa2dad2d246f9888c7cdbf53a | Improve assertion message. | yfakariya/msgpack-rpc-cli,yonglehou/msgpack-rpc-cli | test/MsgPack.Rpc.Server.UnitTest/Rpc/Server/Protocols/_SetUpFixture.cs | test/MsgPack.Rpc.Server.UnitTest/Rpc/Server/Protocols/_SetUpFixture.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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.or... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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.or... | apache-2.0 | C# |
af8232392d5355df67d4f2a19ea3d11658412aa3 | Adjust delete alias test to specify the index (#5737) (#5738) | elastic/elasticsearch-net,elastic/elasticsearch-net | tests/Tests/Indices/AliasManagement/DeleteAlias/AliasDeleteApiTests.cs | tests/Tests/Indices/AliasManagement/DeleteAlias/AliasDeleteApiTests.cs | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System;
using Elastic.Transport;
using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Fra... | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System;
using Elastic.Transport;
using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Fra... | apache-2.0 | C# |
38bcf06f9967519146b8ace0de4d618cd9c95f55 | Disable JanusGraph integration tests. | ExRam/ExRam.Gremlinq | ExRam.Gremlinq.Providers.JanusGraph.Tests/JanusGraphIntegrationTests.cs | ExRam.Gremlinq.Providers.JanusGraph.Tests/JanusGraphIntegrationTests.cs | #if RELEASE && NETCOREAPP3_1
//Id generation on the JanusGraph docker image is too nondeterministic.
/*using ExRam.Gremlinq.Core;
using ExRam.Gremlinq.Core.Tests;
using ExRam.Gremlinq.Providers.WebSocket;
using Xunit.Abstractions;
using static ExRam.Gremlinq.Core.GremlinQuerySource;
namespace ExRam.Gremlinq.Providers... | #if RELEASE && NETCOREAPP3_1
using ExRam.Gremlinq.Core;
using ExRam.Gremlinq.Core.Tests;
using ExRam.Gremlinq.Providers.WebSocket;
using Xunit.Abstractions;
using static ExRam.Gremlinq.Core.GremlinQuerySource;
namespace ExRam.Gremlinq.Providers.JanusGraph.Tests
{
public class JanusGraphIntegrationTests : QueryExe... | mit | C# |
af34a03ebc0a9fca829fa3d47ad8c575cb6fd8fc | Optimize ice cream | CaitSith2/KtaneTwitchPlays,samfun123/KtaneTwitchPlays | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/IceCreamConfirm.cs | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/IceCreamConfirm.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using Newtonsoft.Json;
public class IceCreamConfirm : ComponentSolver
{
public IceCreamConfirm(BombCommander bombCommander, BombComponent bombComponent) :
base(bombCommander, bomb... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using Newtonsoft.Json;
public class IceCreamConfirm : ComponentSolver
{
public IceCreamConfirm(BombCommander bombCommander, BombComponent bombComponent) :
base(bombCommander, bomb... | mit | C# |
fa144579b55df33a5159cdb453a33e3249bb2b48 | Add RecordDeclaration to IsNamedTypeDeclarationBlock | mavasani/roslyn-analyzers,mavasani/roslyn-analyzers,dotnet/roslyn-analyzers,dotnet/roslyn-analyzers | src/Microsoft.CodeAnalysis.Analyzers/CSharp/MetaAnalyzers/CSharpDiagnosticAnalyzerAPIUsageAnalyzer.cs | src/Microsoft.CodeAnalysis.Analyzers/CSharp/MetaAnalyzers/CSharpDiagnosticAnalyzerAPIUsageAnalyzer.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Analyzers.MetaAnalyzers;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Micros... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Analyzers.MetaAnalyzers;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Micros... | mit | C# |
ca7773eb68f8b95ca9b830a7278932e588d00c76 | Make it exportable | davidebbo/PublishSettingsToPfx | PublishSettingsToPfx/Program.cs | PublishSettingsToPfx/Program.cs | using System;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Xml.Linq;
namespace PublishSettingsToPfx
{
class Program
{
static void Main(string[] args)
{
string publishSettingsFile = args[0];
string pfxPassword = ar... | using System;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Xml.Linq;
namespace PublishSettingsToPfx
{
class Program
{
static void Main(string[] args)
{
string publishSettingsFile = args[0];
string pfxPassword = ar... | apache-2.0 | C# |
18a843307269b4e631f744bd65cdfcf0e85c023e | Remove FormattableAttribute | yufeih/Nine.Storage,studio-nine/Nine.Storage | src/Portable/IEntity.cs | src/Portable/IEntity.cs | namespace Nine.Storage
{
using System;
/// <summary>
/// Represents a storage object that can be saved
/// </summary>
public interface IKeyed
{
/// <summary>
/// Gets or sets a key that identifies this object.
/// </summary>
string GetKey();
}
/// <... | namespace Nine.Storage
{
using System;
/// <summary>
/// Marks an object as formattable to be used as a polymophic type with IFormatter.
/// </summary>
public class FormattableAttribute : Attribute
{
public uint TypeId { get; private set; }
public FormattableAttribute(uint typ... | mit | C# |
b63d9c96784658537534a583fd2e965c53fc3fbe | Save card after giving point | pleonex/deblocus,pleonex/deblocus | Deblocus/Controllers/CardViewController.cs | Deblocus/Controllers/CardViewController.cs | //
// CardViewerController.cs
//
// Author:
// Benito Palacios Sánchez (aka pleonex) <benito356@gmail.com>
//
// Copyright (c) 2015 Benito Palacios Sánchez (c) 2015
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published... | //
// CardViewerController.cs
//
// Author:
// Benito Palacios Sánchez (aka pleonex) <benito356@gmail.com>
//
// Copyright (c) 2015 Benito Palacios Sánchez (c) 2015
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published... | agpl-3.0 | C# |
26c511b5397e3514c671fe9bb516c05963ab8d97 | disable ExtendedViewCellRenderer for now | flagbug/UnofficialGitterApp | Gitter.Android/ExtendedViewCellRenderer.cs | Gitter.Android/ExtendedViewCellRenderer.cs | using System;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using Android.Content;
using Android.Views;
using Android.Widget;
using Android.Graphics.Drawables;
//Disabled for now, because it doesn't really works, the ListView Divider is always shown
//Maybe it is working in a later Xamarin.Forms releas... | using System;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using Android.Content;
using Android.Views;
using Android.Widget;
using Android.Graphics.Drawables;
[assembly: ExportRenderer(typeof(ViewCell), typeof(Gitter.Android.Renderers.ExtendedViewCellRenderer))]
namespace Gitter.Android.Renderers
{
... | mit | C# |
efdbefa7c62f5ea2475844e505464a9406874ba1 | test stub | tonnyeremin/knet,tonnyeremin/knet | Knet/Knet.Test.Unit/ParseConfigFromFile.cs | Knet/Knet.Test.Unit/ParseConfigFromFile.cs | using System;
using Knet.Core.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Knet.Test.Unit
{
[TestClass]
public class ParseConfigFromFile
{
[TestMethod]
public void Parse()
{
//CConfigurationParser parser = new CConfigurationParser();
... | using System;
using Knet.Core.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Knet.Test.Unit
{
[TestClass]
public class ParseConfigFromFile
{
[TestMethod]
public void Parse()
{
CConfigurationParser parser = new CConfigurationParser();
... | mit | C# |
c507049e7339d508d1a4fef923230ad9c439bfca | Make sure time related test works fine on appveyor | bronumski/HealthNet,bronumski/HealthNet,bronumski/HealthNet | src/Tests/HealthNet.Tests/HealthCheckServiceFixtures/When_getting_the_status_and_a_system_check_overruns.cs | src/Tests/HealthNet.Tests/HealthCheckServiceFixtures/When_getting_the_status_and_a_system_check_overruns.cs | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
namespace HealthNet.HealthCheckServiceFixtures
{
class When_getting_the_status_and_a_system_check_overruns
{
private HealthResult result;
[OneTimeSetUp]
... | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
namespace HealthNet.HealthCheckServiceFixtures
{
class When_getting_the_status_and_a_system_check_overruns
{
private HealthResult result;
[OneTimeSetUp]
... | apache-2.0 | C# |
0d9c792575aa7c5239021600eb2f46b7ca4ec1ad | Set key in constructor [GREEN] | mattherman/MbDotNet,SuperDrew/MbDotNet,mattherman/MbDotNet | MbDotNet/Models/Imposters/HttpsImposter.cs | MbDotNet/Models/Imposters/HttpsImposter.cs | using MbDotNet.Models.Stubs;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MbDotNet.Models.Imposters
{
public class HttpsImposter : Imposter
{
[JsonProperty("stubs")]
public ICollection<HttpStub> Stubs { get; private set; }
[JsonProperty("key")]
p... | using MbDotNet.Models.Stubs;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MbDotNet.Models.Imposters
{
public class HttpsImposter : Imposter
{
[JsonProperty("stubs")]
public ICollection<HttpStub> Stubs { get; private set; }
public HttpsImposter(int port, string n... | mit | C# |
17de9972ba03f6bcca237d5930f7da5d8be41412 | remove dummy value | albertoms/monotouch-samples,nervevau2/monotouch-samples,nelzomal/monotouch-samples,peteryule/monotouch-samples,nervevau2/monotouch-samples,W3SS/monotouch-samples,kingyond/monotouch-samples,xamarin/monotouch-samples,a9upam/monotouch-samples,hongnguyenpro/monotouch-samples,labdogg1003/monotouch-samples,nervevau2/monotouc... | ios8/UICatalog/UICatalog/ViewControllers/Search/SearchControllers/SearchShowResultsInSourceViewController.cs | ios8/UICatalog/UICatalog/ViewControllers/Search/SearchControllers/SearchShowResultsInSourceViewController.cs | // This file has been autogenerated from a class added in the UI designer.
using System;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace UICatalog
{
public partial class SearchShowResultsInSourceViewController : SearchResultsViewController
{
private UISearchController _searchController;
public Se... | // This file has been autogenerated from a class added in the UI designer.
using System;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace UICatalog
{
public partial class SearchShowResultsInSourceViewController : SearchResultsViewController
{
private UISearchController _searchController;
public Se... | mit | C# |
b7a3106d0e4173b8aa73edb5f0adba50332a2b22 | Fix exception when saving asmdef file template | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/CSharp/Feature/Services/LiveTemplates/Scope/MustBeInProjectWithUnityVersion.cs | resharper/resharper-unity/src/CSharp/Feature/Services/LiveTemplates/Scope/MustBeInProjectWithUnityVersion.cs | using System;
using System.Collections.Generic;
using JetBrains.ReSharper.Feature.Services.LiveTemplates.Scope;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.CSharp.Feature.Services.LiveTemplates.Scope
{
// If the scope point declares itself mandatory, then a template is unavailable unless the... | using System;
using System.Collections.Generic;
using JetBrains.ReSharper.Feature.Services.LiveTemplates.Scope;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.CSharp.Feature.Services.LiveTemplates.Scope
{
// If the scope point declares itself mandatory, then a template is unavailable unless the... | apache-2.0 | C# |
da7c82f404fdb8ee658b5bef3ae827c62882f778 | Fix incorrect version number displayed when deployed | danielchalmers/DesktopWidgets | DesktopWidgets/Classes/AssemblyInfo.cs | DesktopWidgets/Classes/AssemblyInfo.cs | #region
using System;
using System.Deployment.Application;
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
namespace DesktopWidgets.Classes
{
internal static class AssemblyInfo
{
public static Version Version { get; } = (ApplicationDeployment.IsNetworkDeployed
?... | #region
using System;
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
namespace DesktopWidgets.Classes
{
internal static class AssemblyInfo
{
public static Version Version { get; } = Assembly.GetExecutingAssembly().GetName().Version;
public static string Copyright {... | apache-2.0 | C# |
26c11d914616d10db871b77a18a255f59106bd68 | improve senpai experience | RPCS3/discord-bot | CompatBot/Commands/Attributes/RequiresDm.cs | CompatBot/Commands/Attributes/RequiresDm.cs | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
namespace CompatBot.Commands.Attributes
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, Inherited = false)]
internal class RequiresDm... | using System;
using System.Threading.Tasks;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
namespace CompatBot.Commands.Attributes
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, Inherited = false)]
internal class RequiresDm: CheckBaseAttribute
{
publi... | lgpl-2.1 | C# |
ab043dcff8ac265af1205b03463e578af9556df0 | Bump version | 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 applica... | /*
* 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 applica... | apache-2.0 | C# |
84861374f430be8a4ce34431a0abc8b2368176e9 | Update PolyQuadraticBezierSegmentTests.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | tests/Core2D.UnitTests/Path/Segments/PolyQuadraticBezierSegmentTests.cs | tests/Core2D.UnitTests/Path/Segments/PolyQuadraticBezierSegmentTests.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 Core2D.Path.Segments;
using Core2D.Shapes;
using System.Linq;
using Xunit;
namespace Core2D.UnitTests
{
public class PolyQuadraticBezierSegmentTests
... | // 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 Core2D.Path.Segments;
using Core2D.Shapes;
using System.Linq;
using Xunit;
namespace Core2D.UnitTests
{
public class PolyQuadraticBezierSegmentTests
... | mit | C# |
42a9e8e917cf93dde896fad4bd2597d2dbb1764e | Update GeoffreyHuntley.cs | beraybentesen/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,stvansolano/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin,MabroukENG/planetxamarin,beraybentesen/planetxamarin,beraybentesen/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin... | src/Firehose.Web/Authors/GeoffreyHuntley.cs | src/Firehose.Web/Authors/GeoffreyHuntley.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class GeoffreyHuntley : IAmAMicrosoftMVP
{
public string FirstName => "Geoffrey";
public string LastName => "Huntley";
public string Title => "software engineer wh... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class GeoffreyHuntley : IAmAMicrosoftMVP
{
public string FirstName => "Geoffrey";
public string LastName => "Huntley";
public string Title => "aussie who likes bot... | mit | C# |
a3c3b5c74c3329bf0180eb3700627679a09b0a14 | Update server side API for single multiple answer question | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | mit | C# |
e87061a407d993f80fb27372012e8690a45a1244 | Add Rest stuff to RestUser | Aux/NTwitch,Aux/NTwitch | src/NTwitch.Rest/Entities/Users/RestUser.cs | src/NTwitch.Rest/Entities/Users/RestUser.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace NTwitch.Rest
{
public class RestUser : IUser
{
[JsonIgnore]
public TwitchRestClient Client { get; internal set; }
[JsonProperty("created_at")]
public DateTime CreatedA... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace NTwitch.Rest
{
public class RestUser : IUser
{
public TwitchRestClient Client { get; }
public DateTime CreatedAt { get; }
public DateTime UpdatedAt { get; }
public uint Id { get; }
p... | mit | C# |
d2775a6100f5e60952e734b198c98613bcf42640 | Improve funds display | jefftimlin/BetterLoadSaveGame | src/SaveGameInfo.cs | src/SaveGameInfo.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEngine;
namespace BetterLoadSaveGame
{
public class SaveGameInfo
{
public FileInfo SaveFile { get; private set; }
public Dictionary<string, string> MetaData { get; private set; }
public Save... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEngine;
namespace BetterLoadSaveGame
{
public class SaveGameInfo
{
public FileInfo SaveFile { get; private set; }
public Dictionary<string, string> MetaData { get; private set; }
public Save... | mit | C# |
eaf754304f9d269501689d174b34de2bc0afc96c | Bump version to 0.8.3 | ar3cka/Journalist | src/SolutionInfo.cs | src/SolutionInfo.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.8.3")]
[assembly: AssemblyInformationalVersionAttribute("0.8.3")]
[assembly: AssemblyFileVersionAttribute("0.8.3")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.8.2")]
[assembly: AssemblyInformationalVersionAttribute("0.8.2")]
[assembly: AssemblyFileVersionAttribute("0.8.2")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | apache-2.0 | C# |
b9cb3ca9a3bdc513f521d0ee7c61bcb569617d66 | bump 1.1.3 | GangZhuo/kcptun-gui-windows | kcptun-gui/Controller/MainController.cs | kcptun-gui/Controller/MainController.cs | using System;
using kcptun_gui.Model;
namespace kcptun_gui.Controller
{
public class MainController
{
public const string Version = "1.1.3";
public ConfigurationController ConfigController { get; private set; }
public KCPTunnelController KCPTunnelController { get; private set; }
... | using System;
using kcptun_gui.Model;
namespace kcptun_gui.Controller
{
public class MainController
{
public const string Version = "1.1.2";
public ConfigurationController ConfigController { get; private set; }
public KCPTunnelController KCPTunnelController { get; private set; }
... | mit | C# |
6be8b42a30a15a81bd2fd60c5a15437e641fd8de | add getallergylist | EhrgoHealth/CS6440,EhrgoHealth/CS6440 | src/EhrgoHealth.Web/AddAllergyData.cs | src/EhrgoHealth.Web/AddAllergyData.cs | using Microsoft.Owin.Security;
using Owin.Security.Providers.Fitbit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EhrgoHealth.Web
{
public class AddAllergyData
{
private ApplicationUserManager userManager;
private... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EhrgoHealth.Web
{
public class AddAllergyData
{
public void AddAllergyToMedication(string fhirPatientId, string medicationName)
{
}
public void RemoveA... | mit | C# |
734968ca2f1306e20462eb0795345b365052d274 | fix minor build issue | spring-projects/spring-net-amqp | examples/Spring.RabbitQuickStart.2008/src/Spring/Spring.RabbitQuickStart.Client/Gateways/RabbitStockServiceGateway.cs | examples/Spring.RabbitQuickStart.2008/src/Spring/Spring.RabbitQuickStart.Client/Gateways/RabbitStockServiceGateway.cs |
using System;
using Spring.Messaging.Amqp.Core;
using Spring.Messaging.Amqp.Rabbit.Core.Support;
using Spring.RabbitQuickStart.Client.Gateways;
using Spring.RabbitQuickStart.Common.Data;
namespace Spring.RabbitQuickStart.Client.Gateways
{
public class RabbitStockServiceGateway : RabbitGatewaySupport, IStockServ... |
using System;
using Spring.Messaging.Amqp.Core;
using Spring.Messaging.Amqp.Rabbit.Core.Support;
using Spring.RabbitQuickStart.Client.Gateways;
using Spring.RabbitQuickStart.Common.Data;
namespace Spring.RabbitQuickStart.Client.Gateways
{
public class RabbitStockServiceGateway : RabbitGatewaySupport, IStockServ... | apache-2.0 | C# |
c3e6f5fec89ddd72751c3da9536d434fbdea94a0 | Update RemoveAzureVirtualNetworkGatewayDefaultSiteCommand.cs | AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azur... | src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/RemoveAzureVirtualNetworkGatewayDefaultSiteCommand.cs | src/ResourceManager/Network/Commands.Network/VirtualNetworkGateway/RemoveAzureVirtualNetworkGatewayDefaultSiteCommand.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# |
418bbcd4203274ad20df900ab03eff5c988ac853 | Fix spelling of "executable" | freenet/wintray,freenet/wintray | Browsers/Chrome.cs | Browsers/Chrome.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace FreenetTray.Browsers
{
class Chrome : IBrowser
{
/*
* Google Chrome does not maintain a registry entry with a path to its executable.
* Usual Google Chrome installation locations:
* See htt... | using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace FreenetTray.Browsers
{
class Chrome : IBrowser
{
/*
* Google Chrome does not maintain a registry entry with a path to its exutable.
* Usual Google Chrome installation locations:
* See https... | mit | C# |
260356d075823feee0b83a4de1620b38b11f6f48 | Add tostring | Klocman/Bulk-Crap-Uninstaller,Klocman/Bulk-Crap-Uninstaller,Klocman/Bulk-Crap-Uninstaller | source/UninstallTools/Junk/Containers/JunkResultBase.cs | source/UninstallTools/Junk/Containers/JunkResultBase.cs | /*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System.IO;
using System.Security.Permissions;
using Klocman.Tools;
using UninstallTools.Junk.Confidence;
using UninstallTools.Properties;
namespace UninstallTools.Junk.Containers
{
public ab... | /*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System.IO;
using System.Security.Permissions;
using Klocman.Tools;
using UninstallTools.Junk.Confidence;
using UninstallTools.Properties;
namespace UninstallTools.Junk.Containers
{
public ... | apache-2.0 | C# |
15a725aa4bf5d031950436e22adccd53fb06fe02 | Fix formatting and add some constructor overloads | sharwell/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,mavasani/roslyn,mavasani/roslyn,bartdesmet/roslyn,KevinRansom/roslyn,diryboy/roslyn,diryboy/roslyn,sharwell/roslyn,sharwell/roslyn,shyamna... | src/EditorFeatures/Core/CodeDefinitionWindowLocation.cs | src/EditorFeatures/Core/CodeDefinitionWindowLocation.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.Editor
{
internal struct CodeDefinitionWindowLocation
{
public string Di... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Editor
{
internal struct CodeDefinitionWindowLocation
{
public string DisplayName { get; }
... | mit | C# |
1eb89b4f03901004fa766ae72a01cf77c9d6dcce | Remove Academic Year Left Of Line Unit Test | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Orchestrators/Commitments/WhenValidatingApprenticeshipViewModel.cs | src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Orchestrators/Commitments/WhenValidatingApprenticeshipViewModel.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using SFA.DAS.ProviderApprenticeshipsService.Application.Queries.GetOverlappingApprenticeships;
using SFA.DAS.ProviderApprenticeshipsService.Infrastructure.Services;
using SFA.DAS.P... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using SFA.DAS.ProviderApprenticeshipsService.Application.Queries.GetOverlappingApprenticeships;
using SFA.DAS.ProviderApprenticeshipsService.Infrastructure.Services;
using SFA.DAS.P... | mit | C# |
b59bd199eee50c1bc357e8d8d678fa2ea1fca108 | Add more properties found in Twitter V2 Url | linvi/tweetinvi,linvi/tweetinvi,linvi/tweetinvi,linvi/tweetinvi | src/Tweetinvi.Core/Public/Models/V2/Properties/UrlV2.cs | src/Tweetinvi.Core/Public/Models/V2/Properties/UrlV2.cs | using Newtonsoft.Json;
namespace Tweetinvi.Models.V2
{
public class UrlV2
{
/// <summary>
/// The URL as displayed in the Twitter client.
/// </summary>
[JsonProperty("display_url")] public string DisplayUrl { get; set; }
/// <summary>
/// The end position (zero... | using Newtonsoft.Json;
namespace Tweetinvi.Models.V2
{
public class UrlV2
{
/// <summary>
/// The URL as displayed in the Twitter client.
/// </summary>
[JsonProperty("display_url")] public string DisplayUrl { get; set; }
/// <summary>
/// The end position (zero... | mit | C# |
176aa37aa3c78f303bbb901c2a27b70c005011dc | Add Japanese language to DefaultLanguagesCreator | aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template | aspnet-core/src/AbpCompanyName.AbpProjectName.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultLanguagesCreator.cs | aspnet-core/src/AbpCompanyName.AbpProjectName.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultLanguagesCreator.cs | using System.Collections.Generic;
using System.Linq;
using Abp.Localization;
using Microsoft.EntityFrameworkCore;
namespace AbpCompanyName.AbpProjectName.EntityFrameworkCore.Seed.Host
{
public class DefaultLanguagesCreator
{
public static List<ApplicationLanguage> InitialLanguages => GetInitialLanguag... | using System.Collections.Generic;
using System.Linq;
using Abp.Localization;
using Microsoft.EntityFrameworkCore;
namespace AbpCompanyName.AbpProjectName.EntityFrameworkCore.Seed.Host
{
public class DefaultLanguagesCreator
{
public static List<ApplicationLanguage> InitialLanguages => GetInitialLanguag... | mit | C# |
b6254a1f252f55750cb66a9033f8e65719b35291 | Remove unnecessary casting | peppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu | osu.Game/Screens/OnlinePlay/Multiplayer/Spectate/MultiSpectatorPlayer.cs | osu.Game/Screens/OnlinePlay/Multiplayer/Spectate/MultiSpectatorPlayer.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.Allocation;
using osu.Framework.Bindables;
using osu.Game.Beatmaps;
using osu.Game.Scoring;
using osu.Game.Screens.Play;
namespace osu.Game.Screens.O... | // 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.Allocation;
using osu.Framework.Bindables;
using osu.Game.Beatmaps;
using osu.Game.Scoring;
using osu.Game.Screens.Play;
namespace osu.Game.Screens.O... | mit | C# |
1cb5a4264096e5e563672e8bc48b0e2720376e67 | Use my enumerable in a loop | sushantgoel/MVA-LINQ,BillWagner/MVA-LINQ | CodePlayground/Program.cs | CodePlayground/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodePlayground
{
class Program
{
static void Main(string[] args)
{
// This doesn't change (yet):
foreach (var item in GeneratedStrings())
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodePlayground
{
class Program
{
static void Main(string[] args)
{
// This doesn't change (yet):
foreach (var item in GeneratedStrings())
... | apache-2.0 | C# |
7901081607b56fa6af1cf54fb262900b8d6f0834 | Fix missing newline after file header. | Sharparam/Colore,CoraleStudios/Colore,WolfspiritM/Colore,danpierce1/Colore | Colore/Razer/Constants.cs | Colore/Razer/Constants.cs | // ---------------------------------------------------------------------------------------
// <copyright file="Constants.cs" company="">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associ... | // ---------------------------------------------------------------------------------------
// <copyright file="Constants.cs" company="">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associ... | mit | C# |
9b7f6b3227cd8498daa59579bd273964b234e524 | Add meaningful ToString implementation for Target | chkn/Tempest | Desktop/Tempest/Target.cs | Desktop/Tempest/Target.cs | //
// Target.cs
//
// Author:
// Eric Maupin <me@ermau.com>
//
// Copyright (c) 2012 Eric Maupin
//
// 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 withou... | //
// Target.cs
//
// Author:
// Eric Maupin <me@ermau.com>
//
// Copyright (c) 2012 Eric Maupin
//
// 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 withou... | mit | C# |
7ea404c862e74cdf04d806b6e8856948435bbf44 | Make sure window is visible. | fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game | game/client/ui/shell/shell.cs | game/client/ui/shell/shell.cs | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------
//--------------------------------------------------------------------------... | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------
//--------------------------------------------------------------------------... | lgpl-2.1 | C# |
b69180e35f855479550596cc9aef3868c113df55 | Add basic test for ParallelFireworkAlgorithm. | sleshJdev/Fireworks.NET | src/FireworksNet.Tests/Algorithm/ParallelFireworkAlgorithmTests.cs | src/FireworksNet.Tests/Algorithm/ParallelFireworkAlgorithmTests.cs | using FireworksNet.Algorithm;
using FireworksNet.Algorithm.Implementation;
using FireworksNet.Problems;
using FireworksNet.StopConditions;
using System;
using Xunit;
namespace FireworksNet.Tests.Algorithm
{
public class ParallelFireworkAlgorithmTests : AlgorithmTestDataSource
{
[Theory]
[Member... | using FireworksNet.Algorithm;
using FireworksNet.Algorithm.Implementation;
using FireworksNet.Problems;
using FireworksNet.StopConditions;
using System;
using Xunit;
namespace FireworksNet.Tests.Algorithm
{
public class ParallelFireworkAlgorithmTests : AlgorithmTestDataSource
{
}
}
| mit | C# |
3ce9dd203ceb8e0e2a02669d99d637bb385db59e | Use proper format parameter names when logging | jskeet/nodatime.org,jskeet/nodatime.org,jskeet/nodatime.org,jskeet/nodatime.org | src/NodaTime.Web/Middleware/SingleLineResponseLoggingMiddleware.cs | src/NodaTime.Web/Middleware/SingleLineResponseLoggingMiddleware.cs | // Copyright 2019 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System;
using System.Diagnostics;
using System.Net;
using System.Threading.Tas... | // Copyright 2019 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System;
using System.Diagnostics;
using System.Net;
using System.Threading.Tas... | apache-2.0 | C# |
80d3e332d1f1b2993f1358be4284332a86d81e26 | Remove unused usings | nguerrera/roslyn,jamesqo/roslyn,robinsedlaczek/roslyn,KevinRansom/roslyn,dotnet/roslyn,wvdd007/roslyn,srivatsn/roslyn,orthoxerox/roslyn,genlu/roslyn,diryboy/roslyn,mattwar/roslyn,lorcanmooney/roslyn,tmat/roslyn,OmarTawfik/roslyn,lorcanmooney/roslyn,vslsnap/roslyn,mgoertz-msft/roslyn,heejaechang/roslyn,vslsnap/roslyn,ga... | src/Features/CSharp/Portable/InvokeDelegateWithConditionalAccess/InvokeDelegateWithConditionalAccessCodeFixProvider.FixAllProvider.cs | src/Features/CSharp/Portable/InvokeDelegateWithConditionalAccess/InvokeDelegateWithConditionalAccessCodeFixProvider.FixAllProvider.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Mic... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.... | mit | C# |
09c5e2bf4cf2c65178a345afce0a38dd913d5a9d | Make solution mutation explicit | mavasani/roslyn,KirillOsenkov/roslyn,bartdesmet/roslyn,tannergooding/roslyn,KevinRansom/roslyn,tmat/roslyn,KirillOsenkov/roslyn,wvdd007/roslyn,physhi/roslyn,bartdesmet/roslyn,sharwell/roslyn,heejaechang/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,eriawan/roslyn,KirillOsenkov/roslyn,CyrusNajmabadi/roslyn,wvdd007/roslyn,C... | src/Features/LanguageServer/Protocol/Handler/ExportLspMethodAttribute.cs | src/Features/LanguageServer/Protocol/Handler/ExportLspMethodAttribute.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 enable
using System;
using System.Composition;
namespace Microsoft.CodeAnalysis.LanguageServer.Handler
... | // 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 enable
using System;
using System.Composition;
namespace Microsoft.CodeAnalysis.LanguageServer.Handler
... | mit | C# |
b0118afdbd9bb877eac3a1a6b88fb99b86323c50 | Update DisabledFacetTest.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | NakedFramework/NakedFramework.Metamodel.Test/Facet/DisabledFacetTest.cs | NakedFramework/NakedFramework.Metamodel.Test/Facet/DisabledFacetTest.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 requi... | // 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 requi... | apache-2.0 | C# |
659d4c8e269ad9b526dc64d04f3d968e4c4faafd | Add EndpointAssessorName to Apprenticeship type so can generate a new nuget package | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/SFA.DAS.Commitments.Api.Types/Apprenticeship/Apprenticeship.cs | src/SFA.DAS.Commitments.Api.Types/Apprenticeship/Apprenticeship.cs | using System;
using SFA.DAS.Commitments.Api.Types.Apprenticeship.Types;
namespace SFA.DAS.Commitments.Api.Types.Apprenticeship
{
public class Apprenticeship
{
public long Id { get; set; }
public long CommitmentId { get; set; }
public long EmployerAccountId { get; set; }
public... | using System;
using SFA.DAS.Commitments.Api.Types.Apprenticeship.Types;
namespace SFA.DAS.Commitments.Api.Types.Apprenticeship
{
public class Apprenticeship
{
public long Id { get; set; }
public long CommitmentId { get; set; }
public long EmployerAccountId { get; set; }
public... | mit | C# |
eb88b32b38a43db9b66d9c22b2b9145853247f17 | bump version in client message | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | Mindscape.Raygun4Net.NetCore.Common/Messages/RaygunClientMessage.cs | Mindscape.Raygun4Net.NetCore.Common/Messages/RaygunClientMessage.cs | namespace Mindscape.Raygun4Net
{
public class RaygunClientMessage
{
public RaygunClientMessage()
{
Name = "Raygun4Net.NetCore";
Version = "6.5.1";
ClientUrl = @"https://github.com/MindscapeHQ/raygun4net";
}
public string Name { get; set; }
public string Version { get; set; }... | namespace Mindscape.Raygun4Net
{
public class RaygunClientMessage
{
public RaygunClientMessage()
{
Name = "Raygun4Net.NetCore";
Version = "6.5.0";
ClientUrl = @"https://github.com/MindscapeHQ/raygun4net";
}
public string Name { get; set; }
public string Version { get; set; }... | mit | C# |
ad5da1d356b62b708fe90a5b67b20126408fcdfb | change props names in json file | juankakode/Drone | src/Drone/Drone.Lib/DroneConfig.cs | src/Drone/Drone.Lib/DroneConfig.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Drone.Lib.Helpers;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Drone.Lib
{
public class DroneConfig
{
public static readonly string DroneFileName = "drone.json";
public static readonly ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Drone.Lib.Helpers;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Drone.Lib
{
public class DroneConfig
{
public static readonly string DroneFileName = "drone.json";
public static readonly ... | mit | C# |
a85624bc7500c0bcca74f80ed9e2960be2e914f1 | Update PackagedProduct.cs | ADAPT/ADAPT | source/ADAPT/Products/PackagedProduct.cs | source/ADAPT/Products/PackagedProduct.cs | /*******************************************************************************
* Copyright (C) 2020 AgGateway and ADAPT Contributors
* Copyright (C) 2020 Syngenta
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
*... | /*******************************************************************************
* Copyright (C) 2020 AgGateway and ADAPT Contributors
* Copyright (C) 2020 Syngenta
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
*... | epl-1.0 | C# |
745780618d5a9f3e6fd411d97d86804cb91e8057 | Fix session parameter for moderator | c410echo/echo-asp | login.aspx.cs | login.aspx.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
using TicketDBTableAdapters;
public partial class login:System.Web.UI.Page {
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
using TicketDBTableAdapters;
public partial class login:System.Web.UI.Page {
... | mit | C# |
123b51ae768e5a5242581836e27161c13a629d02 | Update Version Information | usagirei/3DS-Theme-Editor | ThemeEditor.WPF/Properties/AssemblyInfo.cs | ThemeEditor.WPF/Properties/AssemblyInfo.cs | // --------------------------------------------------
// 3DS Theme Editor - AssemblyInfo.cs
// --------------------------------------------------
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Media;
// General Information about an assembly is controlled thr... | // --------------------------------------------------
// 3DS Theme Editor - AssemblyInfo.cs
// --------------------------------------------------
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Media;
// General Information about an assembly is controlled thr... | mit | C# |
590f43995270f5350b703e4165d41d76529f8347 | Add some xmldocs | vostok/core | Vostok.Core/Tracing/ITraceConfiguration.cs | Vostok.Core/Tracing/ITraceConfiguration.cs | using System;
using System.Collections.Generic;
using Vostok.Flow;
namespace Vostok.Tracing
{
public interface ITraceConfiguration
{
/// <summary>
/// Fields to be added as trace annotations from current <see cref="Context"/>
/// </summary>
ISet<string> ContextFieldsWhitelist {... | using System;
using System.Collections.Generic;
namespace Vostok.Tracing
{
public interface ITraceConfiguration
{
ISet<string> ContextFieldsWhitelist { get; }
ISet<string> InheritedFieldsWhitelist { get; }
Func<bool> IsEnabled { get; set; }
// TODO(iloktionov): Invent a way ... | mit | C# |
a1aed44f109c0e38d9da85bea51f2e6a4ed6094c | Fix health not being calculated in osu! mode (regression). | 2yangk23/osu,tacchinotacchi/osu,Damnae/osu,DrabWeb/osu,Frontear/osuKyzer,osu-RP/osu-RP,peppy/osu,EVAST9919/osu,nyaamara/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,johnneijzen/osu,ZLima12/osu,EVAST9919/osu,peppy/osu,naoey/osu,smoogipooo/osu,johnneijzen/osu,RedNesto/osu,DrabWeb/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,DrabWeb... | osu.Game.Modes.Osu/Scoring/OsuScoreProcessor.cs | osu.Game.Modes.Osu/Scoring/OsuScoreProcessor.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Modes.Objects.Drawables;
using osu.Game.Modes.Osu.Judgements;
using osu.Game.Modes.Osu.Objects;
using osu.Game.Modes.Scoring;
using osu.Game.Modes... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Modes.Objects.Drawables;
using osu.Game.Modes.Osu.Judgements;
using osu.Game.Modes.Osu.Objects;
using osu.Game.Modes.Scoring;
using osu.Game.Modes... | mit | C# |
73929345bcb2a88dc7fc93d4bd48f0d4d42b300c | Add new overload to Compare method | Ackara/Daterpillar | src/Daterpillar.Core/Management/ISchemaComparer.cs | src/Daterpillar.Core/Management/ISchemaComparer.cs | using Gigobyte.Daterpillar.Transformation;
namespace Gigobyte.Daterpillar.Management
{
public interface ISchemaComparer : System.IDisposable
{
SchemaDiscrepancy Compare(Schema source, Schema target);
SchemaDiscrepancy Compare(ISchemaAggregator source, ISchemaAggregator target);
}
} | namespace Gigobyte.Daterpillar.Management
{
public interface ISchemaComparer : System.IDisposable
{
SchemaDiscrepancy Compare(ISchemaAggregator source, ISchemaAggregator target);
}
} | mit | C# |
65352f4a5ad1b29386cfccb39944ce566e5a0e79 | Fix comment typo. | autofac/Autofac.Extensions.DependencyInjection | src/Autofac.Extensions.DependencyInjection/ServiceCollectionExtensions.cs | src/Autofac.Extensions.DependencyInjection/ServiceCollectionExtensions.cs | // This software is part of the Autofac IoC container
// Copyright © 2017 Autofac Contributors
// http://autofac.org
//
// 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
// restrict... | // This software is part of the Autofac IoC container
// Copyright © 2017 Autofac Contributors
// http://autofac.org
//
// 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
// restrict... | mit | C# |
2efbf9e579ce5f6aebaa73134ea74bf6434f1699 | Modify to read only for BindingVisibleRegionBehavior#Value. | nuitsjp/Xamarin.Forms.GoogleMaps.Bindings | Soruce/Xamarin.Forms.GoogleMaps.Bindings/BindingVisibleRegionBehavior.cs | Soruce/Xamarin.Forms.GoogleMaps.Bindings/BindingVisibleRegionBehavior.cs | using System.ComponentModel;
namespace Xamarin.Forms.GoogleMaps.Bindings
{
[Preserve(AllMembers = true)]
public class BindingVisibleRegionBehavior : BehaviorBase<Map>
{
private static readonly BindablePropertyKey ValuePropertyKey = BindableProperty.CreateReadOnly("Value", typeof(MapSpan), typeof(B... | using System.ComponentModel;
namespace Xamarin.Forms.GoogleMaps.Bindings
{
[Preserve(AllMembers = true)]
public class BindingVisibleRegionBehavior : BehaviorBase<Map>
{
public static readonly BindableProperty ValueProperty = BindableProperty.Create("Value", typeof(MapSpan), typeof(BindingVisibleRe... | mit | C# |
1aee75a0f3bf1812cf57d9f0369e423e5d78f5f0 | Rearrange invitee page | tpkelly/voting-application,stevenhillcox/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,Generic-Voting-Application/voting-application,Generic-Voting-Application/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-application,tpkelly/voting-applicatio... | VotingApplication/VotingApplication.Web/Views/Routes/ManageInvitees.cshtml | VotingApplication/VotingApplication.Web/Views/Routes/ManageInvitees.cshtml | <div ng-app="GVA.Creation" ng-controller="ManageInviteesController">
<div class="centered">
<h2>Poll Invitees</h2>
<h4>Invited</h4>
<p ng-if="invitedUsers.length === 0">You haven't invited anybody yet</p>
<div class="pill-box">
<div class="invitee-pill" ng-repeat="invit... | <div ng-app="GVA.Creation" ng-controller="ManageInviteesController">
<div class="centered">
<h2>Poll Invitees</h2>
<h4>Email to Invite</h4>
<input id="new-invitee" name="new-invitee" ng-model="inviteString" ng-change="emailUpdated()" ng-trim="false" />
<span class="glyphicon glyphic... | apache-2.0 | C# |
e8bdb60c10c4f0dd986c6ad63936fd76de07837e | Update XSelectableTests.cs | Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | tests/Core2D.UnitTests/Project/XSelectableTests.cs | tests/Core2D.UnitTests/Project/XSelectableTests.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 Core2D.Project;
using Xunit;
namespace Core2D.UnitTests
{
public class XSelectableTests
{
[Fact]
[Trait("Core2D.Project", "Project")... | // 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 Core2D.Project;
using Xunit;
namespace Core2D.UnitTests
{
public class XSelectableTests
{
[Fact]
[Trait("Core2D.Project", "Project")... | mit | C# |
523bfccc0e82fbfa974707a06cb574cc385ba882 | Fix missing code docs. | korsimoro/indy-sdk,Artemkaaas/indy-sdk,Artemkaaas/indy-sdk,Artemkaaas/indy-sdk,peacekeeper/indy-sdk,Artemkaaas/indy-sdk,peacekeeper/indy-sdk,peacekeeper/indy-sdk,korsimoro/indy-sdk,Artemkaaas/indy-sdk,anastasia-tarasova/indy-sdk,korsimoro/indy-sdk,anastasia-tarasova/indy-sdk,srottem/indy-sdk,anastasia-tarasova/indy-sdk... | wrappers/dotnet/indy-sdk-dotnet/SovrinConstants.cs | wrappers/dotnet/indy-sdk-dotnet/SovrinConstants.cs | using System;
namespace Indy.Sdk.Dotnet
{
/// <summary>
/// Constants used in Sovrin.
/// </summary>
public static class SovrinConstants
{
/// <summary>
/// Role for trustees.
/// </summary>
public const String ROLE_TRUSTEE = "TRUSTEE";
/// <summary>
... | using System;
namespace Indy.Sdk.Dotnet
{
/// <summary>
/// Constants used in Sovrin.
/// </summary>
public static class SovrinConstants
{
public const String ROLE_TRUSTEE = "TRUSTEE";
public const String ROLE_STEWARD = "STEWARD";
public const String OP_NODE = "0";
public c... | apache-2.0 | C# |
878f1bf194d376c1feee9e92a4bb5452b0cddd98 | Test that nameof nag is ignored in [DebuggerDisplay] | JohanLarsson/Gu.Analyzers | Gu.Analyzers.Test/GU0006UseNameofTests/HappyPath.cs | Gu.Analyzers.Test/GU0006UseNameofTests/HappyPath.cs | namespace Gu.Analyzers.Test.GU0006UseNameofTests
{
using System.Threading.Tasks;
using NUnit.Framework;
internal class HappyPath : HappyPathVerifier<GU0006UseNameof>
{
[Test]
public async Task WhenThrowingArgumentException()
{
var testCode = @"
using System;
... | namespace Gu.Analyzers.Test.GU0006UseNameofTests
{
using System.Threading.Tasks;
using NUnit.Framework;
internal class HappyPath : HappyPathVerifier<GU0006UseNameof>
{
[Test]
public async Task WhenThrowingArgumentException()
{
var testCode = @"
using System;
... | mit | C# |
0fbe1054303ec6c7270d5f84948b991979992b8e | Revert "give compilation error instead of warning or exception at runtime" | adamsitnik/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,redknightlois/Ben... | BenchmarkDotNet.Diagnostics.Windows/GCDiagnoser.cs | BenchmarkDotNet.Diagnostics.Windows/GCDiagnoser.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Running;
namespace BenchmarkDotNet.Diagnostics.Windows
{
[Obsolete(message)]
public cla... | using System;
namespace BenchmarkDotNet.Diagnostics
{
[Obsolete("The \"GCDiagnoser\" has been renamed, please use the \"MemoryDiagnoser\" instead (it has the same functionality)", true)]
public class GCDiagnoser
{
}
}
| mit | C# |
4702f28ae51dfebbdf93b4562d0ea6a2784b08a0 | Allow to extract 000xx.idx from the UI version of IdxImg | Xeeynamo/KingdomHearts | OpenKh.Tools.IdxImg/ViewModels/EntryParserModel.cs | OpenKh.Tools.IdxImg/ViewModels/EntryParserModel.cs | using OpenKh.Kh2;
using OpenKh.Tools.IdxImg.Interfaces;
using System.Collections.Generic;
using System.Linq;
namespace OpenKh.Tools.IdxImg.ViewModels
{
internal class EntryParserModel
{
internal EntryParserModel(Idx.Entry entry)
{
Entry = entry;
Path = entry.GetFullName(... | using OpenKh.Kh2;
using OpenKh.Tools.IdxImg.Interfaces;
using System.Collections.Generic;
using System.Linq;
namespace OpenKh.Tools.IdxImg.ViewModels
{
internal class EntryParserModel
{
internal EntryParserModel(Idx.Entry entry)
{
Entry = entry;
Path = entry.GetFullName(... | mit | C# |
9de14b0744122562b637bbf58054f406a82cde68 | copy change | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Web/Views/EmployerCommitments/SubmitCommitmentEntry.cshtml | src/SFA.DAS.EAS.Web/Views/EmployerCommitments/SubmitCommitmentEntry.cshtml | @using SFA.DAS.EAS.Web.Models
@model SubmitCommitmentViewModel
@{
var targetName = string.IsNullOrWhiteSpace(Model.HashedCommitmentId) ? "SubmitNewCommitmentEntry" : "SubmitExistingCommitmentEntry";
}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Instructions for ... | @using SFA.DAS.EAS.Web.Models
@model SubmitCommitmentViewModel
@{
var targetName = string.IsNullOrWhiteSpace(Model.HashedCommitmentId) ? "SubmitNewCommitmentEntry" : "SubmitExistingCommitmentEntry";
}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Instructions for ... | mit | C# |
3d7b5d7ea0218394adeede54aff24cfd564f153f | Install all indexes by scanning assembly | dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan | Snittlistan/Infrastructure/Indexes/IndexCreator.cs | Snittlistan/Infrastructure/Indexes/IndexCreator.cs | using System.ComponentModel.Composition.Hosting;
using System.Linq;
using System.Reflection;
using Raven.Client;
using Raven.Client.Indexes;
namespace Snittlistan.Infrastructure.Indexes
{
public static class IndexCreator
{
public static void CreateIndexes(IDocumentStore store)
{
var indexes = fro... | using System.ComponentModel.Composition.Hosting;
using Raven.Client;
using Raven.Client.Indexes;
namespace Snittlistan.Infrastructure.Indexes
{
public static class IndexCreator
{
public static void CreateIndexes(IDocumentStore store)
{
var typeCatalog = new TypeCatalog(typeof(Matches_PlayerStats), ... | mit | C# |
503878bcb23d6dc7479d44416cb15f096685e1eb | move RenderContextForTest out of BuiltinPrimitiveRendererFacts | zwcloud/ImGui,zwcloud/ImGui,zwcloud/ImGui | test/ImGui.UnitTest/GraphicsImplementation/Builtin/RenderContextForTest.cs | test/ImGui.UnitTest/GraphicsImplementation/Builtin/RenderContextForTest.cs | using ImGui.Common.Primitive;
using ImGui.OSImplentation.Windows;
using System;
namespace ImGui.UnitTest
{
internal class RenderContextForTest : IDisposable
{
//TODO de-cuple with Windows platform
public Win32Window Window { get; private set; }
public Win32OpenGLRenderer Renderer { ge... | using System;
using ImGui.Common.Primitive;
using ImGui.OSImplentation.Windows;
namespace ImGui.UnitTest.Rendering
{
public partial class BuiltinPrimitiveRendererFacts
{
internal class RenderContextForTest : IDisposable
{
//TODO de-cuple with Windows platform
public Wi... | agpl-3.0 | C# |
418df5fe8e6562cb549735253f6b69aa4ea3702f | Add explanatory text comment for person-prisoner example | pavlosmcg/solid | LSP/Person/Program.cs | LSP/Person/Program.cs | namespace PersonPrisoner
{
class Program
{
static void Main(string[] args)
{
Person person = new Prisoner();
person.WalkEast(5);
}
}
#region Explanation
// At a first glance, it would be pretty obvious to make the prisoner derive from person class.
// Ju... | namespace PersonPrisoner
{
class Program
{
static void Main(string[] args)
{
Person person = new Prisoner();
person.WalkEast(5);
}
}
}
| mit | C# |
e6377c171c5f0af56b42e1ed277959d7303e47ee | Simplify init to work around editor hot-reload | googlevr/tilt-brush-toolkit,googlevr/tilt-brush-toolkit | UnitySDK/Assets/TiltBrush/Scripts/BrushManifest.cs | UnitySDK/Assets/TiltBrush/Scripts/BrushManifest.cs | // Copyright 2016 Google 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.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | // Copyright 2016 Google 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.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | apache-2.0 | C# |
3b990400626c654bab14f42326cb2c4d55a37782 | upgrade version | tynor88/Topshelf.SimpleInjector | Source/AssemblyVersion.cs | Source/AssemblyVersion.cs | using System.Reflection;
[assembly: AssemblyVersion("0.1.4.0")]
[assembly: AssemblyFileVersion("0.1.4.0")] | using System.Reflection;
[assembly: AssemblyVersion("0.1.3.2")]
[assembly: AssemblyFileVersion("0.1.3.2")] | mit | C# |
1972ca6633812c3bceb4c491e598f33cea648fde | Update version number for new nuget release. | SAEnergy/Infrastructure,SAEnergy/Infrastructure | Src/GlobalAssemblyInfo.cs | Src/GlobalAssemblyInfo.cs | using System.Reflection;
// 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: AssemblyCompany("Simple Answers Energy, Inc.")]
[assembly: AssemblyProduct("Infrastructure")]
[... | using System.Reflection;
// 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: AssemblyCompany("Simple Answers Energy, Inc.")]
[assembly: AssemblyProduct("Infrastructure")]
[... | mit | C# |
6981498aea28b8adc62ef2867c2441b222ed9040 | Update assembly info | SnapMD/connectedcare-sdk,dhawalharsora/connectedcare-sdk | SnapMD.ConnectedCare.Sdk/Properties/AssemblyInfo.cs | SnapMD.ConnectedCare.Sdk/Properties/AssemblyInfo.cs | // Copyright 2015 SnapMD, 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.org/licenses/LICENSE-2.0
// Unless required by applicable law or ag... | // Copyright 2015 SnapMD, 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.org/licenses/LICENSE-2.0
// Unless required by applicable law or ag... | apache-2.0 | C# |
6fc60956660a2186ab6432bcccbce2a4eca851b1 | Optimize SetUp method initialization style | SICU-Stress-Measurement-System/frontend-cs | StressMeasurementSystem.Tests/Models/ContactTest.cs | StressMeasurementSystem.Tests/Models/ContactTest.cs | using NUnit.Framework;
using StressMeasurementSystem.Models;
using System.Collections.Generic;
namespace StressMeasurementSystem.Tests.Models
{
[TestFixture]
public class ContactTest
{
#region Fields
private Contact _contact;
private Contact.NameInfo _name;
private Contact... | using NUnit.Framework;
using StressMeasurementSystem.Models;
using System.Collections.Generic;
namespace StressMeasurementSystem.Tests.Models
{
[TestFixture]
public class ContactTest
{
#region Fields
private Contact _contact;
private Contact.NameInfo _name;
private Contact... | apache-2.0 | C# |
6ecd9265ab9e1a4f52da50a672a347f04b73eb7c | Update SingleDatabaseFixture.cs | unosquare/tenantcore | Unosquare.TenantCore.Tests/SingleDatabaseFixture.cs | Unosquare.TenantCore.Tests/SingleDatabaseFixture.cs | using Effort;
using Microsoft.Owin.Testing;
using NUnit.Framework;
using Owin;
using System.Collections.Generic;
using System.Linq;
using Unosquare.TenantCore.SampleDatabase;
namespace Unosquare.TenantCore.Tests
{
[TestFixture]
public class SingleDatabaseFixture
{
private ApplicationDbContext _con... | using Effort;
using Microsoft.Owin.Testing;
using NUnit.Framework;
using Owin;
using System.Collections.Generic;
using System.Linq;
using Unosquare.TenantCore.SampleDatabase;
namespace Unosquare.TenantCore.Tests
{
[TestFixture]
public class SingleDatabaseFixture
{
private ApplicationDbContext _con... | mit | C# |
8ec750115734f5571da7e3cb63d8906a72e41200 | Fix fade out interrupt | DMagic1/KSP_Contract_Window | Source/ContractsWindow.Unity/CanvasFader.cs | Source/ContractsWindow.Unity/CanvasFader.cs | #region license
/*The MIT License (MIT)
CanvasFader - Monobehaviour for making smooth fade in and fade out for UI windows
Copyright (c) 2016 DMagic
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 Softwar... | #region license
/*The MIT License (MIT)
CanvasFader - Monobehaviour for making smooth fade in and fade out for UI windows
Copyright (c) 2016 DMagic
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 Softwar... | mit | C# |
5d4e49021869038422183e908192afc5021bbafd | Add logic to validate when function has zero expected parameters | bijington/expressive | Source/Expressive/Functions/FunctionBase.cs | Source/Expressive/Functions/FunctionBase.cs | using Expressive.Exceptions;
using Expressive.Expressions;
using System.Collections.Generic;
using System.Linq;
namespace Expressive.Functions
{
public abstract class FunctionBase : IFunction
{
#region IFunction Members
/// <inheritdoc />
#pragma warning disable CA2227 // Collection propertie... | using Expressive.Exceptions;
using Expressive.Expressions;
using System.Collections.Generic;
using System.Linq;
namespace Expressive.Functions
{
public abstract class FunctionBase : IFunction
{
#region IFunction Members
/// <inheritdoc />
#pragma warning disable CA2227 // Collection propertie... | mit | C# |
75435030410ad665c227f3fb109c8da4d241a157 | Update UserViewModel.cs | xcjs/ASP.NET-WebForm-MVVM-Demo | MVVMDemo/ViewModels/Account/UserViewModel.cs | MVVMDemo/ViewModels/Account/UserViewModel.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;
using MVVMDemo.Entities;
using MVVMDemo.ViewModels;
namespace MVVMDemo.ViewModels.Account
{
public class UserViewModel : ViewModelBase<UserViewModel>
{
private User _user;
public User Us... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;
using MVVMDemo.Entities;
using MVVMDemo.ViewModels;
namespace MVVMDemo.ViewModels.Account
{
public class UserViewModel : ViewModelBase<UserViewModel>
{
private User _user;
public User Us... | mit | C# |
211b29538384ca2f741a739e82eff04bdccef9dd | Remove redundant controller specification. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | MitternachtWeb/Controllers/HomeController.cs | MitternachtWeb/Controllers/HomeController.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace MitternachtWeb.Controllers {
public class HomeController : DiscordUserController {
private readonly ILogger<HomeController... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace MitternachtWeb.Controllers {
public class HomeController : DiscordUserController {
private readonly ILogger<HomeController... | mit | C# |
d8e64cb8aee5a1a4965a112e6bf1956a83cbc407 | Add the 'Schedule' value to the 'LogType' enum | Jericho/CakeMail.RestClient | Source/CakeMail.RestClient/Models/LogType.cs | Source/CakeMail.RestClient/Models/LogType.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
namespace CakeMail.RestClient.Models
{
/// <summary>
/// Enumeration to indicate the type of log.
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum LogType
{
/// <summary>
/// Subscribe
/// <... | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
namespace CakeMail.RestClient.Models
{
/// <summary>
/// Enumeration to indicate the type of log.
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum LogType
{
/// <summary>
/// Subscribe
/// ... | mit | C# |
9ac934ad51efd8bb54831fabec657ccf0bc7fe0e | Remove `in` from IGame and change method signatures | TalkTakesTime/csharpgamesuite | GameSuite.Games/IGame.cs | GameSuite.Games/IGame.cs | using System.Collections.Generic;
namespace GameSuite.Games
{
public interface IGame<G, M>
where G : IGame<G, M>
where M : IMove<G>
{
bool CanPlay(M move);
bool Play(M move);
void Undo();
List<M> GenerateMoves();
G GenerateChild(M move);
/// <s... | using System.Collections.Generic;
namespace GameSuite.Games
{
// this may be a misuse of contravariance
public interface IGame<G, in M>
where G : IGame<G, M>
where M : IMove<G>
{
bool CanPlay(M move);
bool Play(M move);
bool Undo();
G GenerateMoves();
... | mit | C# |
a2702ce37fd9d36fb86f56c3c7b645dac50da5e9 | Update AboutWindow.xaml.cs | Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D.UI/Views/AboutWindow.xaml.cs | src/Core2D.UI/Views/AboutWindow.xaml.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace Core2D.UI.Views
{
/// <summary>
/// Interaction logic for <see cref="AboutWindow"/> xaml.
/// </summary>
public class AboutWindow : Window
{
/// <summary>
/// Initializes a new instance of the <see cref=... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace Core2D.UI.Views
{
/// <summary>
/// Interaction logic for <see cref="AboutWindow"/> xaml.
/// </summary>
public class AboutWindow : Window
{
/// <summary>
/// Initializes a new instance of the <see cref=... | mit | C# |
3455f650cd3283f0d024ceee6f6adf3dcc0ea855 | Copy change completed to Error403 page. (#153) | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Error/_Error403.cshtml | src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Error/_Error403.cshtml | @{
ViewBag.Title = "Access denied - Error 403";
ViewBag.PageId = "error-403";
}
<main id="content" role="main" class="error-403">
<div class="grid-row">
<div class="column-two-thirds">
<div class="hgroup">
<h1 class="heading-xlarge">
Access denied
... | @{
ViewBag.Title = "Access denied - Error 403";
ViewBag.PageId = "error-403";
}
<main id="content" role="main" class="error-403">
<div class="grid-row">
<div class="column-two-thirds">
<div class="hgroup">
<h1 class="heading-xlarge">
Your account do... | mit | C# |
698541057dd23f9ba5ff6c69a75209c011f4f1fd | Access operator for array is now "item" | hahoyer/reni.cs,hahoyer/reni.cs,hahoyer/reni.cs | src/reni2/FeatureTest/Text.cs | src/reni2/FeatureTest/Text.cs | using System.Collections.Generic;
using System.Linq;
using System;
using hw.Parser;
using hw.UnitTest;
using Reni.FeatureTest.Array;
using Reni.FeatureTest.BitArrayOp;
namespace Reni.FeatureTest.Text
{
[TestFixture]
[TargetSet(@"'Hallo' dump_print", "Hallo")]
public sealed class Hallo : CompilerTest
{}... | using System.Collections.Generic;
using System.Linq;
using System;
using hw.Parser;
using hw.UnitTest;
using Reni.FeatureTest.Array;
using Reni.FeatureTest.BitArrayOp;
namespace Reni.FeatureTest.Text
{
[TestFixture]
[TargetSet(@"'Hallo' dump_print", "Hallo")]
public sealed class Hallo : CompilerTest
{}... | mit | C# |
6c9470ae0a9a24437e5c5e6cbd9af016741c9c62 | Add missing obsolete method for sprite pools. | Damnae/storybrew | common/Storyboarding/Util/OsbSpritePools.cs | common/Storyboarding/Util/OsbSpritePools.cs | using System;
using System.Collections.Generic;
namespace StorybrewCommon.Storyboarding.Util
{
public class OsbSpritePools
{
private Dictionary<string, OsbSpritePool> pools = new Dictionary<string, OsbSpritePool>();
private StoryboardLayer layer;
public OsbSpritePools(StoryboardLayer ... | using System.Collections.Generic;
namespace StorybrewCommon.Storyboarding.Util
{
public class OsbSpritePools
{
private Dictionary<string, OsbSpritePool> pools = new Dictionary<string, OsbSpritePool>();
private StoryboardLayer layer;
public OsbSpritePools(StoryboardLayer layer)
... | mit | C# |
6ff9e44ffa558160f2abe9b166cbce6b3284c9d6 | Remove linq allocation. | robinsedlaczek/roslyn,bkoelman/roslyn,dotnet/roslyn,davkean/roslyn,dpoeschl/roslyn,VSadov/roslyn,aelij/roslyn,pdelvo/roslyn,KevinRansom/roslyn,tannergooding/roslyn,panopticoncentral/roslyn,jasonmalinowski/roslyn,jamesqo/roslyn,Giftednewt/roslyn,jmarolf/roslyn,diryboy/roslyn,Hosch250/roslyn,physhi/roslyn,jamesqo/roslyn,... | src/Workspaces/Core/Portable/PatternMatching/PatternMatcherExtensions.cs | src/Workspaces/Core/Portable/PatternMatching/PatternMatcherExtensions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.PooledObjects;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.PatternMatching
{
internal static class PatternMatc... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.PooledObjects;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.PatternMatching
{
internal static class PatternMatc... | mit | C# |
c652102e406e09bb0c5f5407eb71f7149a20ffa0 | Implement RemoveHostnameCommand#Execute | appharbor/appharbor-cli | src/AppHarbor/Commands/RemoveHostnameCommand.cs | src/AppHarbor/Commands/RemoveHostnameCommand.cs | namespace AppHarbor.Commands
{
public class RemoveHostnameCommand : ICommand
{
private readonly IApplicationConfiguration _applicationConfiguration;
private readonly IAppHarborClient _appharborClient;
public RemoveHostnameCommand(IApplicationConfiguration applicationConfiguration, IAppHarborClient appharborCl... | using System;
namespace AppHarbor.Commands
{
public class RemoveHostnameCommand : ICommand
{
private readonly IApplicationConfiguration _applicationConfiguration;
private readonly IAppHarborClient _appharborClient;
public RemoveHostnameCommand(IApplicationConfiguration applicationConfiguration, IAppHarborCli... | mit | C# |
e77a518db2ba617c988a8828f72d9a204c82447c | change return type to List | LagoVista/DeviceAdmin | src/LagoVista.IoT.DeviceAdmin/Models/UnitSet.cs | src/LagoVista.IoT.DeviceAdmin/Models/UnitSet.cs | using LagoVista.Core.Attributes;
using LagoVista.Core.Interfaces;
using LagoVista.Core.Validation;
using LagoVista.IoT.DeviceAdmin.Resources;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace LagoVista.IoT.DeviceAdmin.Models
{
[EntityDescription... | using LagoVista.Core.Attributes;
using LagoVista.Core.Interfaces;
using LagoVista.Core.Validation;
using LagoVista.IoT.DeviceAdmin.Resources;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace LagoVista.IoT.DeviceAdmin.Models
{
[EntityDescription... | mit | C# |
4b2899690d07dcd4fbcd6bc006c9d8a934a19a8f | add Invalid static instances and Length getter for Log | bpowers/Raft.NET | Log.cs | Log.cs | // Copyright 2017 Bobby Powers. All rights reserved.
// Use of this source code is governed by the ISC
// license that can be found in the LICENSE file.
namespace Raft
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
public struct LogIndex
{
public static rea... | // Copyright 2017 Bobby Powers. All rights reserved.
// Use of this source code is governed by the ISC
// license that can be found in the LICENSE file.
namespace Raft
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
public struct LogIndex
{
internal int N;
... | isc | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.