commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
c6c164f29e93bbe42d6d24eee60b15d4e0d4de89 | DesktopWidgets/Widgets/Search/Settings.cs | DesktopWidgets/Widgets/Search/Settings.cs | using System.ComponentModel;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.Search
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Style.Width = 150;
}
[Category("General")]
[DisplayName("URL Prefix")]
... | using System.ComponentModel;
using System.Windows;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.Search
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Style.Width = 150;
Style.FramePadding = new Thickness(0);
}
... | Change "Search" "Frame Padding" option default value | Change "Search" "Frame Padding" option default value
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
a6877071f4814f1c52358dcc5b1ee716b0e719ee | wslib/Protocol/Writer/WsMessageWriter.cs | wslib/Protocol/Writer/WsMessageWriter.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace wslib.Protocol.Writer
{
public class WsMessageWriter : IDisposable
{
private readonly MessageType messageType;
private readonly Action onDispose;
private readonly IWsMessageWriteStream stream;
public ... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace wslib.Protocol.Writer
{
public class WsMessageWriter : IDisposable
{
private readonly MessageType messageType;
private readonly Action onDispose;
private readonly IWsMessageWriteStream stream;
private ... | Set continuation opcode for non-first frames in the writer | Set continuation opcode for non-first frames in the writer
| C# | mit | Chelaris182/wslib |
84aeac2049c18f6f2561978be717693d0bbe6a87 | DupImage/ImageStruct.cs | DupImage/ImageStruct.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace DupImage
{
/// <summary>
/// Structure for containing image information and hash values.
/// </summary>
public class ImageStruct
{
/// <summary>
/// Construct a new ImageStruct from FileInfo.
/// </s... | using System;
using System.Collections.Generic;
using System.IO;
namespace DupImage
{
/// <summary>
/// Structure for containing image information and hash values.
/// </summary>
public class ImageStruct
{
/// <summary>
/// Construct a new ImageStruct from FileInfo.
/// </s... | Use string instead of String. | Use string instead of String.
| C# | unknown | Quickshot/DupImageLib,Quickshot/DupImage |
f05f14fc382cf60cbc3a7f3a23669ffdc5d0fc46 | src/FluentMigrator.Runner.MySql/Processors/MySql/MySqlDbFactory.cs | src/FluentMigrator.Runner.MySql/Processors/MySql/MySqlDbFactory.cs | #region License
// Copyright (c) 2007-2018, FluentMigrator Project
//
// 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 b... | #region License
// Copyright (c) 2007-2018, FluentMigrator Project
//
// 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 b... | Add Support for MysqlConnector 1 namespace changes | Add Support for MysqlConnector 1 namespace changes
| C# | apache-2.0 | stsrki/fluentmigrator,spaccabit/fluentmigrator,amroel/fluentmigrator,fluentmigrator/fluentmigrator,amroel/fluentmigrator,fluentmigrator/fluentmigrator,stsrki/fluentmigrator,spaccabit/fluentmigrator |
fb4376b228a8bd0a50672d19b6314586e8fb8b13 | RestImageResize/Security/HashGenerator.cs | RestImageResize/Security/HashGenerator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace RestImageResize.Security
{
public class HashGenerator
{
public string ComputeHash(string privateKey, int width, int height, ImageTransform transform)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace RestImageResize.Security
{
public class HashGenerator
{
public string ComputeHash(string privateKey, int width, int height, ImageTransform transform)
{
... | Use lowered transform value in hash computing | Use lowered transform value in hash computing
| C# | mit | Romanets/RestImageResize,Romanets/RestImageResize,Romanets/RestImageResize,Romanets/RestImageResize,Romanets/RestImageResize |
37aba6ed699b4a62b7b2ec784a579a4188bb1e15 | Src/Client/Client.Admin.Plugins/Views/ComponentManagerPanel.xaml.cs | Src/Client/Client.Admin.Plugins/Views/ComponentManagerPanel.xaml.cs | using Client.Base;
using Core.Comm;
using Core.Interfaces.ServiceContracts;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using Sys... | using Client.Base;
using Core.Comm;
using Core.Interfaces.ServiceContracts;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using Sys... | Change panel icon to the cog | Change panel icon to the cog
| C# | mit | SAEnergy/Infrastructure,SAEnergy/Superstructure,SAEnergy/Infrastructure |
9a7c7a0d253eb4c77b13484fb72ca8b4f1fd405e | Source/Solution/FormEditor/FieldHelper.cs | Source/Solution/FormEditor/FieldHelper.cs | using System.Text.RegularExpressions;
namespace FormEditor
{
public static class FieldHelper
{
private static readonly Regex FormSafeNameRegex = new Regex("[ -]", RegexOptions.Compiled);
public static string FormSafeName(string name)
{
return FormSafeNameRegex.Replace(name ?? string.Empty, "_");
}
}
} | using System.Text.RegularExpressions;
namespace FormEditor
{
public static class FieldHelper
{
private static readonly Regex FormSafeNameRegex = new Regex("[^a-zA-Z0-9_]", RegexOptions.Compiled);
public static string FormSafeName(string name)
{
return FormSafeNameRegex.Replace(name ?? string.Empty, "_");
... | Improve form safe name regex | Improve form safe name regex
| C# | mit | kjac/FormEditor,kjac/FormEditor,kjac/FormEditor |
0e12ae4cb2452e81e6a25868554168540a06ff55 | src/ProjectEuler/Puzzles/Puzzle010.cs | src/ProjectEuler/Puzzles/Puzzle010.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | Improve performance of puzzle 10 | Improve performance of puzzle 10
Increase the throughput of the solution for puzzle 10 by skipping even
numbers (which cannot be prime, except for 2).
| C# | apache-2.0 | martincostello/project-euler |
de0923f26fb264bd6789236fe983d3db6fa1f93c | Wox.Infrastructure/Http/HttpRequest.cs | Wox.Infrastructure/Http/HttpRequest.cs | using System;
using System.IO;
using System.Net;
using System.Text;
using Wox.Plugin;
namespace Wox.Infrastructure.Http
{
public class HttpRequest
{
public static string Get(string url, string encoding = "UTF8")
{
return Get(url, encoding, HttpProxy.Instance);
}
pr... | using System;
using System.IO;
using System.Net;
using System.Text;
using Wox.Plugin;
namespace Wox.Infrastructure.Http
{
public class HttpRequest
{
public static string Get(string url, string encoding = "UTF-8")
{
return Get(url, encoding, HttpProxy.Instance);
}
p... | Fix a http request issues. | Fix a http request issues.
| C# | mit | dstiert/Wox,Launchify/Launchify,AlexCaranha/Wox,yozora-hitagi/Saber,Launchify/Launchify,18098924759/Wox,18098924759/Wox,zlphoenix/Wox,apprentice3d/Wox,sanbinabu/Wox,jondaniels/Wox,kayone/Wox,mika76/Wox,JohnTheGr8/Wox,kayone/Wox,zlphoenix/Wox,apprentice3d/Wox,kdar/Wox,danisein/Wox,yozora-hitagi/Saber,mika76/Wox,apprenti... |
9893da92ac50226235547f2c3823e9a60d9520da | Purchasing.Mvc/Views/Order/_Submit.cshtml | Purchasing.Mvc/Views/Order/_Submit.cshtml | @model OrderModifyModel
@{
var submitMap = new Dictionary<string, string> {{"Request", "Create"}, {"Edit", "Save"}, {"Copy", "Save"}};
var submitText = submitMap[ViewBag.Title];
var submitTitle = ViewBag.Title == "Copy" ? "Save this order which was duplicated from an existing order" : string.E... | @model OrderModifyModel
@{
var submitMap = new Dictionary<string, string> {{"Request", "Create"}, {"Edit", "Save"}, {"Copy", "Save"}};
var submitText = submitMap[ViewBag.Title];
var submitTitle = ViewBag.Title == "Copy" ? "Save this order which was duplicated from an existing order" : string.E... | Make consistent and add a comment for clarification | Make consistent and add a comment for clarification
| C# | mit | ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing |
ae3662c392b6670dcfbdd63b9bf850e2f024d6ff | Website/Security/EnforceHttpsAttribute.cs | Website/Security/EnforceHttpsAttribute.cs | using System;
using System.Web.Mvc;
namespace Website.Security
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class EnforceHttpsAttribute : RequireHttpsAttribute
{
public override void OnAuthorization(AuthorizationContext filterContext)
{
if(filterContext == null)
{
throw... | using System;
using System.Web.Mvc;
namespace Website.Security
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class EnforceHttpsAttribute : RequireHttpsAttribute
{
public override void OnAuthorization(AuthorizationContext filterContext)
{
if(filterContext == null)
{
throw... | Remove nameof operator because it caused a build error in AppHarbor | Remove nameof operator because it caused a build error in AppHarbor
Will have to investigate if AH supports c# 6 yet
| C# | mit | nelsonwellswku/Yahtzee,nelsonwellswku/Yahtzee,nelsonwellswku/Yahtzee |
a3136065406748f4e34a048783f5ccf061ef8100 | CacheSleeve.Tests/TestSettings.cs | CacheSleeve.Tests/TestSettings.cs | using System.Collections.Generic;
using CacheSleeve.Tests.TestObjects;
namespace CacheSleeve.Tests
{
public static class TestSettings
{
public static string RedisHost = "localhost";
public static int RedisPort = 6379;
public static string RedisPassword = null;
public static int... | using System.Collections.Generic;
using CacheSleeve.Tests.TestObjects;
namespace CacheSleeve.Tests
{
public static class TestSettings
{
public static string RedisHost = "localhost";
public static int RedisPort = 6379;
public static string RedisPassword = null;
public static int... | Change test settings default Redis Db | Change test settings default Redis Db
| C# | apache-2.0 | jdehlin/CacheSleeve,MonoSoftware/CacheSleeve |
d1a06381161223bd024ee6c80ea483834ee0b477 | src/SFA.DAS.EmployerApprenticeshipsService.Domain/Configuration/HmrcConfiguration.cs | src/SFA.DAS.EmployerApprenticeshipsService.Domain/Configuration/HmrcConfiguration.cs | namespace SFA.DAS.EAS.Domain.Configuration
{
public class HmrcConfiguration
{
public string BaseUrl { get; set; }
public string ClientId { get; set; }
public string Scope { get; set; }
public string ClientSecret { get; set; }
public string ServerToken { get; set; }
... | namespace SFA.DAS.EAS.Domain.Configuration
{
public class HmrcConfiguration
{
public string BaseUrl { get; set; }
public string ClientId { get; set; }
public string Scope { get; set; }
public string ClientSecret { get; set; }
public string ServerToken { get; set; }
... | Add configuration options for HMRC to use MI Feed | Add configuration options for HMRC to use MI Feed
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
c4ab17da68ff73ddf5aa10e895fd52394b6fa007 | src/Workspaces/Core/Portable/CodeFixes/FixAllOccurrences/WellKnownFixAllProviders.cs | src/Workspaces/Core/Portable/CodeFixes/FixAllOccurrences/WellKnownFixAllProviders.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.CodeActions;
namespace Microsoft.CodeAnalysis.CodeFixes
{
/// <summary>
/// Contains well known implementations of <see... | // 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.CodeActions;
namespace Microsoft.CodeAnalysis.CodeFixes
{
/// <summary>
/// Contains well known implementations of <see... | Remove static that is unused. | Remove static that is unused.
| C# | mit | mgoertz-msft/roslyn,KevinRansom/roslyn,dpoeschl/roslyn,bartdesmet/roslyn,AlekseyTs/roslyn,CyrusNajmabadi/roslyn,KirillOsenkov/roslyn,tmeschter/roslyn,reaction1989/roslyn,genlu/roslyn,OmarTawfik/roslyn,eriawan/roslyn,agocke/roslyn,AlekseyTs/roslyn,CyrusNajmabadi/roslyn,swaroop-sridhar/roslyn,VSadov/roslyn,jcouv/roslyn,c... |
3ca2a7767a04d2911d8244bb1d2755747e099a45 | osu.Game/Screens/Ranking/Statistics/UnstableRate.cs | osu.Game/Screens/Ranking/Statistics/UnstableRate.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.Linq;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Screens.Ranking.Statistics
{
/// <summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Screens.Ranking.Statistics
{
/// <summary>
... | Exclude misses and empty window hits from UR calculation | Exclude misses and empty window hits from UR calculation
| C# | mit | ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu |
e3ef6c174e6a6fd382ab7ea27dff814b0ecafe94 | Model/Flag/Impl/NoVehiclesUsageFlag.cs | Model/Flag/Impl/NoVehiclesUsageFlag.cs | using System.Collections.Generic;
using Rocket.Unturned.Player;
using RocketRegions.Util;
using SDG.Unturned;
using UnityEngine;
namespace RocketRegions.Model.Flag.Impl
{
public class NoVehiclesUsageFlag : BoolFlag
{
public override string Description => "Allow/Disallow usage of vehicles in region";
... | using System.Collections.Generic;
using Rocket.Unturned.Player;
using RocketRegions.Util;
using SDG.Unturned;
using UnityEngine;
namespace RocketRegions.Model.Flag.Impl
{
public class NoVehiclesUsageFlag : BoolFlag
{
public override string Description => "Allow/Disallow usage of vehicles in region";
... | Add group support for NoVehiclesUsage | Add group support for NoVehiclesUsage
| C# | agpl-3.0 | Trojaner25/Rocket-Regions,Trojaner25/Rocket-Safezone |
41efb49427532bb534b835f6279ddf182c95795c | src/Glimpse.Agent.Connection.Stream/Connection/StreamInvokerProxy.cs | src/Glimpse.Agent.Connection.Stream/Connection/StreamInvokerProxy.cs | using Microsoft.AspNet.SignalR.Client;
using System;
using System.Threading.Tasks;
namespace Glimpse.Agent.Connection.Stream.Connection
{
public class StreamInvokerProxy : IStreamInvokerProxy
{
private readonly IHubProxy _hubProxy;
internal StreamInvokerProxy(IHubProxy hubProxy)
{
... | using Microsoft.AspNet.SignalR.Client;
using System;
using System.Threading.Tasks;
namespace Glimpse.Agent.Connection.Stream.Connection
{
internal class StreamInvokerProxy : IStreamInvokerProxy
{
private readonly IHubProxy _hubProxy;
internal StreamInvokerProxy(IHubProxy hubProxy)
{
... | Convert invoker proxy over to be internal | Convert invoker proxy over to be internal
| C# | mit | pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototy... |
768c3bc31e70272332fde096be6dfb093de0a972 | osu.Game/Database/BeatmapMetadata.cs | osu.Game/Database/BeatmapMetadata.cs | using System;
using osu.Game.Beatmaps;
using SQLite;
namespace osu.Game.Database
{
public class BeatmapMetadata
{
[PrimaryKey]
public int ID { get; set; }
public string Title { get; set; }
public string TitleUnicode { get; set; }
public string Artist { get; set; }
... | using System;
using osu.Game.GameModes.Play;
using SQLite;
namespace osu.Game.Database
{
public class BeatmapMetadata
{
[PrimaryKey]
public int ID { get; set; }
public string Title { get; set; }
public string TitleUnicode { get; set; }
public string Artist { get; set... | Use PlayMode instead of GameMode | Use PlayMode instead of GameMode
| C# | mit | Drezi126/osu,tacchinotacchi/osu,Damnae/osu,smoogipoo/osu,RedNesto/osu,naoey/osu,theguii/osu,DrabWeb/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,NotKyon/lolisu,ppy/osu,DrabWeb/osu,2yangk23/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,2yangk23/osu,ZLima12/osu,naoey/osu,ZLima12/osu,naoey/osu,johnneijzen/osu,smoogipoo... |
02fbbc506d73036c87f3466774c2eaec0a5e987b | src/Workspaces/Core/Portable/Editing/GenerationOptions.cs | src/Workspaces/Core/Portable/Editing/GenerationOptions.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.Options;
namespace Microsoft.CodeAnalysis.Editing
{
internal class GenerationOptions
{
public static readonly P... | // 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.Options;
namespace Microsoft.CodeAnalysis.Editing
{
internal class GenerationOptions
{
public static readonly P... | Fix spelling of .editorconfig option | Fix spelling of .editorconfig option | C# | mit | tmeschter/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,sharwell/roslyn,tvand7093/roslyn,tannergooding/roslyn,mattscheffer/roslyn,jcouv/roslyn,khyperia/roslyn,gafter/roslyn,davkean/roslyn,robinsedlaczek/roslyn,orthoxerox/roslyn,physhi/roslyn,brettfo/roslyn,tmeschter/roslyn,swaroop-sridhar/roslyn,jmarolf/roslyn,AnthonyD... |
2ce0a8316650920744b5ff1557ea9dbe012f633b | osu.Framework/Graphics/Shaders/Uniform.cs | osu.Framework/Graphics/Shaders/Uniform.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.Graphics.OpenGL;
using System;
namespace osu.Framework.Graphics.Shaders
{
public class Uniform<T> : IUniformWi... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.OpenGL;
using System;
namespace osu.Framework.Graphics.Shaders
{
public class Uniform<T> : IUniformWithValue<T>
where T : struc... | Fix formatting and remove unnecessary using | Fix formatting and remove unnecessary using
| C# | mit | smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework |
a18342b7e00c28af04ee650dbc352396e7eedb64 | src/FlaUInspect/Views/MainWindow.xaml.cs | src/FlaUInspect/Views/MainWindow.xaml.cs | using System.Windows;
using System.Windows.Controls;
using FlaUInspect.ViewModels;
namespace FlaUInspect.Views
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
private readonly MainViewModel _vm;
publi... | using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using FlaUInspect.ViewModels;
namespace FlaUInspect.Views
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
private readonly MainViewM... | Append version number to title | Append version number to title
| C# | mit | maxinfet/FlaUI,Roemer/FlaUI |
90c75a64cf9e30e213821706e8d54de262d2b629 | osu.Game/Screens/Edit/Timing/DifficultySection.cs | osu.Game/Screens/Edit/Timing/DifficultySection.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.ControlPoints;
namespace osu.Game.Screens.Edit.Timing
{
internal class Difficu... | // 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.ControlPoints;
namespace osu.Game.Screens.Edit.Timing
{
internal class Difficu... | Fix legacy control point precision having an adverse effect on the editor | Fix legacy control point precision having an adverse effect on the editor
| C# | mit | peppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,ppy/osu,smoogipooo/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu |
d6fce070c2591858ce190d40a1781651df44ebac | src/Ensconce.Console/Backup.cs | src/Ensconce.Console/Backup.cs | using System.IO;
using System.IO.Compression;
namespace Ensconce.Console
{
internal static class Backup
{
internal static void DoBackup()
{
if (File.Exists(Arguments.BackupDestination) && Arguments.BackupOverwrite)
{
File.Delete(Arguments.BackupDestinati... | using System.IO;
using System.IO.Compression;
namespace Ensconce.Console
{
internal static class Backup
{
internal static void DoBackup()
{
var backupSource = Arguments.BackupSource.Render();
var backupDestination = Arguments.BackupDestination.Render();
if ... | Add tag replacement on backup paths | Add tag replacement on backup paths
| C# | mit | 15below/Ensconce,BlythMeister/Ensconce,15below/Ensconce,BlythMeister/Ensconce |
d88649ecd2dbea412381a38cfcb4692fd166f13d | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata Framework")]
[assembly: AssemblyCopyright("© Yevgeniy Shunevych 2019")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata Framework")]
[assembly: AssemblyCopyright("© Yevgeniy Shunevych 2020")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1... | Increment projects copyright year to 2020 | Increment projects copyright year to 2020
| C# | apache-2.0 | atata-framework/atata-sample-app-tests |
0a8eeff2955e57895ee5f90eda6db8d6b947a396 | PluginTest/TestPlugin.cs | PluginTest/TestPlugin.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PluginTest
{
public class TestPlugin
{
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace PluginTest
{
public class TestPlugin : MonoBehaviour
{
private void Start()
{
Debug.Log("Start called");
}
}
}
| Add a stronger dependency on UnityEngine for testing. | Add a stronger dependency on UnityEngine for testing.
This makes it easier to test what happens if ReferencePath is used, but
removed.
| C# | mit | PrecisionMojo/Unity3D.DLLs |
771d6f8074051e4fe3d21ed1b28169ffa7b6c3bb | src/Hyde.IntegrationTest/DecoratedItem.cs | src/Hyde.IntegrationTest/DecoratedItem.cs | using TechSmith.Hyde.Common.DataAnnotations;
namespace TechSmith.Hyde.IntegrationTest
{
/// <summary>
/// Class with decorated partition and row key properties, for testing purposes.
/// </summary>
class DecoratedItem
{
[PartitionKey]
public string Id
{
get;
set;
... | using System.Data.Services.Common;
using TechSmith.Hyde.Common.DataAnnotations;
namespace TechSmith.Hyde.IntegrationTest
{
/// <summary>
/// Class with decorated partition and row key properties, for testing purposes.
/// </summary>
class DecoratedItem
{
[PartitionKey]
public string Id
... | Update test entity with attribute to denote partition/row key | Update test entity with attribute to denote partition/row key
| C# | bsd-3-clause | dontjee/hyde |
55567d498b037dbfd9887bc231d8aff12519a15b | themes/Docs/Samson/Shared/_Infobar.cshtml | themes/Docs/Samson/Shared/_Infobar.cshtml | @{
string baseEditUrl = Context.String(DocsKeys.BaseEditUrl);
FilePath editFilePath = Model.FilePath(Wyam.Web.WebKeys.EditFilePath);
if(!string.IsNullOrWhiteSpace(baseEditUrl) && editFilePath != null)
{
string editUrl = baseEditUrl + editFilePath.FullPath;
<div><p><a href="@editUrl"><i c... | @{
string baseEditUrl = Context.String(DocsKeys.BaseEditUrl);
FilePath editFilePath = Model.FilePath(Wyam.Web.WebKeys.EditFilePath);
if(!string.IsNullOrWhiteSpace(baseEditUrl) && editFilePath != null)
{
if (!baseEditUrl[baseEditUrl.Length - 1].equals('/'))
{
baseEditUrl += "/... | Add handling for missing / | Add handling for missing /
If `DocsKeys.BaseEditUrl` in `config.wyam` is missing a forward slash at the end, a malformed edit address is produced.
For example,
`Settings[DocsKeys.BaseEditUrl] = "https://code.luzfaltex.com"`
Will result in a url like:
`https://code.luzfaltex.comlegal/privacy/index.md` | C# | mit | Wyamio/Wyam,Wyamio/Wyam,Wyamio/Wyam |
915d0afb898e56bc56e6ecd6f693296be6c29e1f | a/Program.cs | a/Program.cs | using System;
using System.Net;
namespace a
{
class Program
{
//Code is dirty, who cares, it's C#.
static void Main(string[] args)
{
//IPHostEntry heserver = Dns.GetHostEntry(Dns.GetHostName());
//foreach (IPAddress curAdd in heserver.AddressList)
... | using System;
using System.Net;
namespace a
{
class Program
{
//Code is dirty, who cares, it's C#.
static void Main(string[] args)
{
Server server = new Server(IPAddress.Any, 5000);
server.Start();
Console.WriteLine("Press q to exit");
... | Fix problems with launching and exiting the app | Fix problems with launching and exiting the app
| C# | mit | ParriauxMaxime/assignement3 |
b98f655eca1b80c9926b0ba11cb19708443a2ece | BobTheBuilder.Tests/BuildFacts.cs | BobTheBuilder.Tests/BuildFacts.cs | using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace BobTheBuilder.Tests
{
public class BuildFacts
{
[Fact]
public void CreateADynamicInstanceOfTheRequestedType()
{
var sut = A.BuilderFor<SampleType>();
var result = sut.Build();
... | using System;
using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace BobTheBuilder.Tests
{
public class BuildFacts
{
[Fact]
public void CreateADynamicInstanceOfTheRequestedType()
{
var sut = A.BuilderFor<SampleType>();
var result = sut.B... | Add unit test for complex types. | Add unit test for complex types.
This Just WorksTM because complex types with parameterless constructors
can be easily created via reflection.
| C# | apache-2.0 | alastairs/BobTheBuilder,fffej/BobTheBuilder |
c28adfcbf1e3b3cb1afa9a5b0940156f05c75a7b | src/SixLabors.Fonts/Tables/AdvancedTypographic/Shapers/ShaperFactory.cs | src/SixLabors.Fonts/Tables/AdvancedTypographic/Shapers/ShaperFactory.cs | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.Fonts.Unicode;
namespace SixLabors.Fonts.Tables.AdvancedTypographic.Shapers
{
internal static class ShaperFactory
{
/// <summary>
/// Creates a Shaper based on the given script language.
///... | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.Fonts.Unicode;
namespace SixLabors.Fonts.Tables.AdvancedTypographic.Shapers
{
internal static class ShaperFactory
{
/// <summary>
/// Creates a Shaper based on the given script language.
///... | Add additional script languages which use the arabic shaper | Add additional script languages which use the arabic shaper
| C# | apache-2.0 | SixLabors/Fonts |
019160398ae26aa3a48ffefb6ae03f8d2ed6bfb7 | Lbookshelf/ViewModels/SettingsFileSystemViewModel.cs | Lbookshelf/ViewModels/SettingsFileSystemViewModel.cs | using Lbookshelf.Business;
using Microsoft.Expression.Interactivity.Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Configuration;
using Lbookshelf.Utils;
using Lbookshelf.Models;
using L... | using Lbookshelf.Business;
using Microsoft.Expression.Interactivity.Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Configuration;
using Lbookshelf.Utils;
using Lbookshelf.Models;
using L... | Fix a bug: When clean up disused images, the DefaultThumbnail.jpg could be removed by mistake if all books have their own images. | Fix a bug: When clean up disused images, the DefaultThumbnail.jpg could be removed by mistake if all books have their own images.
| C# | mit | allenlooplee/Lbookshelf |
dc14cc14cf7b37097785a327fb24603e332b7dd9 | 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 : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | 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 : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | Create server side API for single multiple answer question | Create server side API for single multiple answer question
| C# | mit | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist |
6e21c36ef373b14f7bd882f5de78861aa1ee4f7c | 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... | Update server side API for single multiple answer question | Update server side API for single multiple answer question
| C# | mit | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist |
dca96e519b975162bec46762864676401465ea21 | src/MailTrace.Host.Selfhost/Program.cs | src/MailTrace.Host.Selfhost/Program.cs | namespace MailTrace.Host.Selfhost
{
using System;
using MailTrace.Data.Postgresql;
using MailTrace.Host;
using MailTrace.Host.Data;
using Microsoft.Owin.Hosting;
internal static class Program
{
private static void Main(string[] args)
{
const string baseAddress... | namespace MailTrace.Host.Selfhost
{
using System;
using System.Linq;
using MailTrace.Data.Postgresql;
using MailTrace.Host.Data;
using Microsoft.Owin.Hosting;
internal static class Program
{
private static void Main(string[] args)
{
var baseAddress = args.Firs... | Allow bind interface to be customized. | Allow bind interface to be customized.
| C# | mit | Silvenga/MailTrace,Silvenga/MailTrace,Silvenga/MailTrace |
776ffbcbdcb6eaa8e32f989a7527bc8a201362dc | src/Avalonia.Visuals/Platform/AlphaFormat.cs | src/Avalonia.Visuals/Platform/AlphaFormat.cs | namespace Avalonia.Platform
{
public enum AlphaFormat
{
Premul,
Unpremul,
Opaque
}
}
| namespace Avalonia.Platform
{
/// <summary>
/// Describes how to interpret the alpha component of a pixel.
/// </summary>
public enum AlphaFormat
{
/// <summary>
/// All pixels have their alpha premultiplied in their color components.
/// </summary>
Premul,
/... | Add documentation for alpha format. | Add documentation for alpha format.
| C# | mit | SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,akrisiun/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,Av... |
9e33face791c92f4281f5bd74a6f1735aa6b08d0 | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserCustomListItemsRemoveRequestTests.cs | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserCustomListItemsRemoveRequestTests.cs | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
using TraktApiSharp.Objects.Post.Users.CustomListItems;
using TraktApiSharp.Objects.Post.Users.CustomL... | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
using TraktApiSharp.Objects.Post.Users.CustomListItems;
using TraktApiSharp.Objects.Post.Users.CustomL... | Add test for authorization requirement in TraktUserCustomListItemsRemoveRequest | Add test for authorization requirement in TraktUserCustomListItemsRemoveRequest
| C# | mit | henrikfroehling/TraktApiSharp |
cb23202a308041d4f0dcdf95bc466ab548c695c6 | Amry.Gst.Web/Controllers/HomeController.cs | Amry.Gst.Web/Controllers/HomeController.cs | using System.Web.Mvc;
using Amry.Gst.Properties;
using WebMarkupMin.Mvc.ActionFilters;
namespace Amry.Gst.Web.Controllers
{
public class HomeController : Controller
{
const int OneWeek = 604800;
const int OneYear = 31536000;
[Route, MinifyHtml, OutputCache(Duration = OneWeek)]
... | using System.Web.Mvc;
using Amry.Gst.Properties;
using WebMarkupMin.Mvc.ActionFilters;
namespace Amry.Gst.Web.Controllers
{
public class HomeController : Controller
{
const int OneWeek = 604800;
const int OneYear = 31536000;
[Route, MinifyHtml, OutputCache(Duration = OneWeek)]
... | Revert "Change controller action to debug Kudu issue .." | Revert "Change controller action to debug Kudu issue .."
This reverts commit 84cebcdc1d49c04c1060fa779b4872b2f208c233.
| C# | mit | ShamsulAmry/Malaysia-GST-Checker |
820ce9e8455feb15c8114457f82cf9fa9cf74461 | Core/Handling/General/FileDialogHandler.cs | Core/Handling/General/FileDialogHandler.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using CefSharp;
namespace TweetDuck.Core.Handling.General{
sealed class FileDialogHandler : IDialogHandler{
public bool OnFileDialog(IWebBrowser browserControl, IBrowser browser, CefFileDialogMode mode, strin... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using CefSharp;
namespace TweetDuck.Core.Handling.General{
sealed class FileDialogHandler : IDialogHandler{
public bool OnFileDialog(IWebBrowser browserControl, IBrowser browser, CefFileDialogMo... | Fix uploading files with uppercase extensions | Fix uploading files with uppercase extensions
| C# | mit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck |
7f38dca1abe2a14c183f81b931cd63a550214865 | Translator/Translator/Translator.Build.cs | Translator/Translator/Translator.Build.cs | using System;
using System.Diagnostics;
namespace Bridge.Translator
{
public partial class Translator
{
protected static readonly char ps = System.IO.Path.DirectorySeparatorChar;
protected virtual string GetBuilderPath()
{
switch (Environment.OSVersion.Platform)
... | using System;
using System.Diagnostics;
namespace Bridge.Translator
{
public partial class Translator
{
protected static readonly char ps = System.IO.Path.DirectorySeparatorChar;
protected virtual string GetBuilderPath()
{
switch (Environment.OSVersion.Platform)
... | Correct builder path - .Net Framework folder starts from "v" | Correct builder path - .Net Framework folder starts from "v"
| C# | apache-2.0 | AndreyZM/Bridge,AndreyZM/Bridge,AndreyZM/Bridge,bridgedotnet/Bridge,bridgedotnet/Bridge,bridgedotnet/Bridge,bridgedotnet/Bridge,AndreyZM/Bridge |
4e2224ca4d4c91079868bb4f5d98b1ef45691334 | RedGate.AppHost.Server/ChildProcessFactory.cs | RedGate.AppHost.Server/ChildProcessFactory.cs | namespace RedGate.AppHost.Server
{
public class ChildProcessFactory
{
public IChildProcessHandle Create(string assemblyName, bool openDebugConsole, bool is64Bit, bool monitorHostProcess)
{
IProcessStartOperation processStarter;
if (is64Bit)
{
... | namespace RedGate.AppHost.Server
{
public class ChildProcessFactory
{
public IChildProcessHandle Create(string assemblyName, bool openDebugConsole, bool is64Bit, bool monitorHostProcess)
{
IProcessStartOperation processStarter;
if (is64Bit)
{
... | Fix for assuming any legacy call is 32-bit | Fix for assuming any legacy call is 32-bit
| C# | apache-2.0 | nycdotnet/RedGate.AppHost,red-gate/RedGate.AppHost |
8be0dec2c4fab0deca694537470cf7252ba16df6 | Core/EntityCore/DynamicEntity/DatabaseStructure/EntityDatabaseStructure.cs | Core/EntityCore/DynamicEntity/DatabaseStructure/EntityDatabaseStructure.cs | using System.Text;
using Models = EntityCore.Initialization.Metadata.Models;
namespace EntityCore.DynamicEntity
{
internal class EntityDatabaseStructure
{
public static string GenerateCreateTableSqlQuery(Models.Entity entity)
{
var createTable = new StringBuilder();
cre... | using EntityCore.Proxy.Metadata;
using System.Text;
namespace EntityCore.DynamicEntity
{
internal class EntityDatabaseStructure
{
public static string GenerateCreateTableSqlQuery(IEntity entity)
{
var createTable = new StringBuilder();
createTable.AppendFormat("CREATE T... | Use of metadata proxies to generate table. | Use of metadata proxies to generate table.
| C# | mit | xaviermonin/EntityCore |
189491de6ecf6f8f2a4b465853ed01a3ff262544 | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Configuration")]
[assembly: AssemblyDescription("Autofac XML Configuration Support")]
[assembly: InternalsVisibleTo("Autofac.Tests.Configuration, PublicKey=00240... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Configuration")]
[assembly: InternalsVisibleTo("Autofac.Tests.Configuration, PublicKey=00240000048000009400000006020000002400005253413100040000010001008728425885ef385e049261b188... | 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. | 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.
| C# | mit | jango2015/Autofac.Configuration,autofac/Autofac.Configuration |
8c9d39700d66af8c12ff2a82a46f39a8ea241b19 | osu.iOS/Application.cs | osu.iOS/Application.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 UIKit;
namespace osu.iOS
{
public static class Application
{
public static void Main(string[] args)
{
UIApplication.Main(args,... | // 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.iOS;
using UIKit;
namespace osu.iOS
{
public static class Application
{
public static void Main(string[] args)
{
... | Update deprecated code in iOS main entry | Update deprecated code in iOS main entry
| C# | mit | smoogipoo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu |
7cc66a2f336d1da21c95a142894a7e09cad9c300 | AltFunding/Properties/AssemblyInfo.cs | AltFunding/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("Alt... | 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("Alt... | Update assembly info for development of the next version | Update assembly info for development of the next version
| C# | mit | nanathan/AltFunding |
6861b7f9d994ddc3c1a7e9ef046f64447fff32ce | Idiot/Net/Credentials.cs | Idiot/Net/Credentials.cs | using System;
using Microsoft.SPOT;
namespace Idiot.Net
{
class Credentials
{
}
}
| using System;
using Microsoft.SPOT;
using System.Text;
using GHIElectronics.NETMF.Net;
namespace Idiot.Net
{
public class Credentials
{
private string username;
private string password;
public Credentials(string username, string password)
{
this.username = username... | Add credentials class for user authorization | Add credentials class for user authorization
| C# | mit | tenevdev/idiot-netmf-sdk |
f4a1b293db9d18ca0816b6067bbfedf5b1cb0a27 | SNPPlib/SNPPlib/PagerCollection.cs | SNPPlib/SNPPlib/PagerCollection.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace SNPPlib
{
public class PagerCollection : Collection<string>
{
public PagerCollection()
{
Pagers = new List<string>();
}
internal IList<string> Pagers { get; set; }
... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace SNPPlib
{
public class PagerCollection : Collection<string>
{
public PagerCollection()
{
Pagers = new List<string>();
}
internal IList<string> Pagers { get; set; }
... | Change missed exception message to resource. | Change missed exception message to resource.
| C# | mit | PCFDev/SNPPlib |
15e67e171ae5b33f6406a285225b0498328b2e99 | Source/DriftUe4PluginServer.Target.cs | Source/DriftUe4PluginServer.Target.cs | // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class DriftUe4PluginServerTarget : TargetRules
{
public DriftUe4PluginServerTarget(TargetInfo Target)
{
Type = TargetType.Server;
}
//
// TargetRules interface.
... | // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class DriftUe4PluginServerTarget : TargetRules
{
public DriftUe4PluginServerTarget(TargetInfo Target)
{
Type = TargetType.Server;
}
//
// TargetRules interface.
... | Remove use of obsolete function | Remove use of obsolete function
| C# | mit | dgnorth/DriftUe4Plugin,dgnorth/DriftUe4Plugin,dgnorth/DriftUe4Plugin,dgnorth/DriftUe4Plugin |
3c9a0e8143230c5b4639bf3906d3e02eb898e674 | LBD2OBJ/Program.cs | LBD2OBJ/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LBD2OBJ
{
class Program
{
static void Main(string[] args)
{
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using LBD2OBJ.Types;
namespace LBD2OBJ
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("LBD2OBJ - Made by Figglewatts 2015");
foreach (string arg in ar... | Add beginnings of a method to parse TMD files | Add beginnings of a method to parse TMD files
| C# | mit | Figglewatts/LBD2OBJ |
1cf3f61d2b2c6ad51a006bc4204c1dd0761b3a7e | src/GitReleaseNotes/ArgumentVerifier.cs | src/GitReleaseNotes/ArgumentVerifier.cs | using System;
namespace GitReleaseNotes
{
public class ArgumentVerifier
{
public static bool VerifyArguments(GitReleaseNotesArguments arguments)
{
if (arguments.IssueTracker == null)
{
Console.WriteLine("The IssueTracker argument must be provided, see he... | using System;
namespace GitReleaseNotes
{
public class ArgumentVerifier
{
public static bool VerifyArguments(GitReleaseNotesArguments arguments)
{
if (arguments.IssueTracker == null)
{
Console.WriteLine("The IssueTracker argument must be provided, see he... | Allow publish without outputting a .md file | Allow publish without outputting a .md file
| C# | mit | bendetat/GitReleaseNotes,JakeGinnivan/GitReleaseNotes,bendetat/GitReleaseNotes,GitTools/GitReleaseNotes,JakeGinnivan/GitReleaseNotes,theleancoder/GitReleaseNotes,JakeGinnivan/GitReleaseNotes,MacDennis76/GitReleaseNotes,GitTools/GitReleaseNotes,theleancoder/GitReleaseNotes,MacDennis76/GitReleaseNotes |
083e4335a903053c0b1a23041bd5f5a6cbf6bfc6 | src/Website/Views/Shared/_Footer.cshtml | src/Website/Views/Shared/_Footer.cshtml | @model SiteOptions
<hr />
<footer>
<p>
© @Model.Metadata.Author.Name @DateTimeOffset.UtcNow.Year |
<a id="link-status" href="@Model.ExternalLinks.Status.AbsoluteUri" target="_blank" title="View site uptime information">
Site Status & Uptime
</a>
| Built from
... | @model SiteOptions
<hr />
<footer>
<p>
© @Model.Metadata.Author.Name @DateTimeOffset.UtcNow.Year |
<a id="link-status" href="@Model.ExternalLinks.Status.AbsoluteUri" target="_blank" title="View site uptime information">
Site Status & Uptime
</a>
| Built from
... | Add Ids to footer links | Add Ids to footer links
Add Ids to the links in the footer for Git metadata.
| C# | apache-2.0 | martincostello/website,martincostello/website,martincostello/website,martincostello/website |
c84695c3462f46a720ea43504ab5118be2580a70 | IronFoundry.Warden.Service/Constants.cs | IronFoundry.Warden.Service/Constants.cs | namespace IronFoundry.Warden.Service
{
public static class Constants
{
public const string DisplayName = "Iron Foundry Warden Service";
public const string ServiceName = "ironfoundry.warden";
}
}
| namespace IronFoundry.Warden.Service
{
public static class Constants
{
public const string DisplayName = "Iron Foundry Warden Service";
public const string ServiceName = "IronFoundry.Warden";
}
}
| Fix casing of warden service. | Fix casing of warden service.
| C# | apache-2.0 | cloudfoundry/IronFrame,cloudfoundry/IronFrame,stefanschneider/IronFrame,cloudfoundry-incubator/IronFrame,cloudfoundry-incubator/if_warden,cloudfoundry-incubator/if_warden,stefanschneider/IronFrame,cloudfoundry-incubator/IronFrame |
78f9692401e189d03b508a3cac4c04d1475e69bb | KuduSync.NET/Logger.cs | KuduSync.NET/Logger.cs | using System;
using System.IO;
using System.Text;
namespace KuduSync.NET
{
public class Logger : IDisposable
{
private const int KeepAliveLogTimeInSeconds = 20;
private int _logCounter = 0;
private StreamWriter _writer;
private int _maxLogLines;
private DateTime _nextL... | using System;
using System.IO;
using System.Text;
namespace KuduSync.NET
{
public class Logger : IDisposable
{
private const int KeepAliveLogTimeInSeconds = 20;
private int _logCounter = 0;
private StreamWriter _writer;
private int _maxLogLines;
private DateTime _nextL... | Fix flushing issue and added number of files being processed. | Fix flushing issue and added number of files being processed.
| C# | apache-2.0 | projectkudu/KuduSync.NET,kostrse/KuduSync.NET,uQr/KuduSync.NET,kostrse/KuduSync.NET,projectkudu/KuduSync.NET,uQr/KuduSync.NET |
27fab71a1c105fcbf088d070907217a9cfada889 | src/Pather.CSharp/PathElements/Property.cs | src/Pather.CSharp/PathElements/Property.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Pather.CSharp.PathElements
{
public class Property : IPathElement
{
public static bool IsApplicable(string pathElement)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Pather.CSharp.PathElements
{
public class Property : IPathElement
{
private string property;
public Property(string propert... | Remove unnecessary static method IsApplicable | Remove unnecessary static method IsApplicable
This method became unnecessary because of the factory.
| C# | mit | Domysee/Pather.CSharp |
c3ba5011960f5d200f8d96bb7d8573ec48c895ec | EOLib.IO/Map/MapEffect.cs | EOLib.IO/Map/MapEffect.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
namespace EOLib.IO.Map
{
public enum MapEffect : byte
{
None = 0,
HPDrain = 1,
TPDrain = 2,
Quake = 3
}
} | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
namespace EOLib.IO.Map
{
public enum MapEffect : byte
{
None = 0,
HPDrain = 1,
TPDrain = 2,
Quake1 = 3,
Quake2 = 4,
... | Add more quakes to map effect | Add more quakes to map effect
| C# | mit | ethanmoffat/EndlessClient |
559e46f2d695d39d124dbf79124b841fa7c191b7 | src/Foo.Web/Controllers/HomeController.cs | src/Foo.Web/Controllers/HomeController.cs | using System;
using System.Web.Mvc;
namespace Foo.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
throw new NotImplementedException();
}
}
}
| using System;
using System.Web.Mvc;
namespace Foo.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
}
}
| Return view from index action | Return view from index action
| C# | mit | appharbor/foo,appharbor/foo |
b124b3df7f63560e6ad08702c022c386035c86e1 | PlatformSamples/AspNetCoreMvc/Controllers/HomeController.cs | PlatformSamples/AspNetCoreMvc/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using AspNetCoreMvc.Models;
using Ooui;
using Ooui.AspNetCore;
namespace AspNetCoreMvc.Controllers
{
public class HomeController : Controller
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using AspNetCoreMvc.Models;
using Ooui;
using Ooui.AspNetCore;
namespace AspNetCoreMvc.Controllers
{
public class HomeController : Controller
... | Make the ASP.NET demo more interesting | Make the ASP.NET demo more interesting
| C# | mit | praeclarum/Ooui,praeclarum/Ooui,praeclarum/Ooui |
b4d4f5456c762f7867ef5a3db4e814a125348f38 | osu.Game.Tests/Visual/Gameplay/TestSceneFailJudgement.cs | osu.Game.Tests/Visual/Gameplay/TestSceneFailJudgement.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.Linq;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Scoring;
using osu.Game.Screens.Play;
namespace osu.Game.... | // 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.Linq;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Scoring;
using osu.Game.Scoring;
using osu.Game.Screens.Pl... | Fix broken fail judgement test | Fix broken fail judgement test
| C# | mit | NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,ppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu |
5bd600e626a59f92fbeaa2246022fa79fdc645e1 | source/Cosmos.Kernel.LogTail/ErrorStrippingFileStream.cs | source/Cosmos.Kernel.LogTail/ErrorStrippingFileStream.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Cosmos.Kernel.LogTail
{
public class ErrorStrippingFileStream : FileStream
{
public ErrorStrippingFileStream(string file)
: base(file, FileMode.Open, FileAccess.ReadW... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Cosmos.Kernel.LogTail
{
public class ErrorStrippingFileStream : FileStream
{
public ErrorStrippingFileStream(string file)
: base(file, FileMode.Open, FileAccess.Read,... | Make sure you run the log after qemu starts... But it works. | Make sure you run the log after qemu starts... But it works.
| C# | bsd-3-clause | kant2002/Cosmos-1,MyvarHD/Cosmos,jp2masa/Cosmos,zhangwenquan/Cosmos,CosmosOS/Cosmos,Cyber4/Cosmos,Cyber4/Cosmos,MetSystem/Cosmos,MyvarHD/Cosmos,MetSystem/Cosmos,MetSystem/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,trivalik/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,kant2002/Cosmos-1,zhangwenquan/Cosmos,zdimension/Cosmos,CosmosOS/Cosm... |
f9603eefe5fed7e02c040a0e12a4b27541e4aa60 | osu.Game/Input/Bindings/RealmKeyBinding.cs | osu.Game/Input/Bindings/RealmKeyBinding.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 osu.Framework.Input.Bindings;
using osu.Game.Database;
using Realms;
namespace osu.Game.Input.Bindings
{
[MapTo(nameof(KeyBinding))]
public c... | // 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 osu.Framework.Input.Bindings;
using osu.Game.Database;
using Realms;
namespace osu.Game.Input.Bindings
{
[MapTo(nameof(KeyBinding))]
public c... | Revert "Switch Guid implementation temporarily to avoid compile time error" | Revert "Switch Guid implementation temporarily to avoid compile time error"
This reverts commit 4d976094d1c69613ef581828d638ffdb04a48984.
| C# | mit | smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu-new,ppy/osu,peppy/osu |
ee82455506a09e554268af1039dd014291a3314b | src/MsgPack/Serialization/DefaultSerializers/NonGenericDictionarySerializer.cs | src/MsgPack/Serialization/DefaultSerializers/NonGenericDictionarySerializer.cs | using System;
using System.Collections;
namespace MsgPack.Serialization.DefaultSerializers
{
/// <summary>
/// Dictionary interface serializer.
/// </summary>
internal sealed class NonGenericDictionarySerializer : MessagePackSerializer<IDictionary>
{
private readonly System_Collections_DictionaryEntryMessageP... | using System;
using System.Collections;
using System.Runtime.Serialization;
namespace MsgPack.Serialization.DefaultSerializers
{
/// <summary>
/// Dictionary interface serializer.
/// </summary>
internal sealed class NonGenericDictionarySerializer : MessagePackSerializer<IDictionary>
{
private readonly IMessa... | Fix non-generic dictionary serializer does not pack key value pair correctly. | Fix non-generic dictionary serializer does not pack key value pair correctly.
| C# | apache-2.0 | undeadlabs/msgpack-cli,scopely/msgpack-cli,modulexcite/msgpack-cli,msgpack/msgpack-cli,modulexcite/msgpack-cli,msgpack/msgpack-cli,scopely/msgpack-cli,undeadlabs/msgpack-cli |
c5852c3b174c14f4cbe6c79a50f4cd0df13d4eef | BackOffice.Worker/CProductAlwaysFailingReportWorker.cs | BackOffice.Worker/CProductAlwaysFailingReportWorker.cs | using BackOffice.Jobs.Interfaces;
using BackOffice.Jobs.Reports;
using System;
namespace BackOffice.Worker
{
public class CProductAlwaysFailingReportWorker : IJobWorker
{
private readonly AlwaysFailingReport report;
public CProductAlwaysFailingReportWorker(AlwaysFailingReport report)
... | using BackOffice.Jobs.Interfaces;
using BackOffice.Jobs.Reports;
using System;
using System.Threading;
namespace BackOffice.Worker
{
public class CProductAlwaysFailingReportWorker : IJobWorker
{
private readonly AlwaysFailingReport report;
public CProductAlwaysFailingReportWorker(AlwaysFailin... | Add 10s delay for always failing worker | Add 10s delay for always failing worker
| C# | mit | Rosiv/backoffice,Rosiv/backoffice,Rosiv/backoffice |
586fdaa5a69a212e1a80d28a6ace73df681d939f | src/NBench.VisualStudio.TestAdapter/NBenchTestDiscoverer.cs | src/NBench.VisualStudio.TestAdapter/NBenchTestDiscoverer.cs | namespace NBench.VisualStudio.TestAdapter
{
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
public class NBenchTestDiscoverer : ITestDiscoverer
{
... | namespace NBench.VisualStudio.TestAdapter
{
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
public class NBenchTestDiscoverer : ITestDiscoverer
{
... | Make the discovery context null tests pass. | Make the discovery context null tests pass.
| C# | apache-2.0 | SeanFarrow/NBench.VisualStudio |
4e21336a5c575618d5ef98dfc9928ba29b2e25c9 | src/Moq.Proxy.Generator/ProxyDiscoverer.cs | src/Moq.Proxy.Generator/ProxyDiscoverer.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
namespace Moq.Proxy
{
public class ProxyDiscoverer
{
public async Task<IImmutableSet<ImmutableArray<ITypeSymbol>>> DiscoverProxiesAsyn... | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
namespace Moq.Proxy
{
public class ProxyDiscoverer
{
public async Task<IImmutableSet<ImmutableArray<ITypeSymbol>>> DiscoverProxiesAsyn... | Reduce memory usage by using a hashset instead of a list | Reduce memory usage by using a hashset instead of a list
This would prevent accumulating multiple references to the same
type symbol.
| C# | apache-2.0 | Moq/moq |
a2c7ee20055cf9db0ce13d3b8458ea2a17b8c4a5 | Src/Roflcopter.Plugin/TodoItems/TodoItemsCountDummyAction.cs | Src/Roflcopter.Plugin/TodoItems/TodoItemsCountDummyAction.cs | using System.Linq;
using JetBrains.ActionManagement;
using JetBrains.Annotations;
using JetBrains.Application.DataContext;
using JetBrains.ReSharper.Features.Inspections.Actions;
using JetBrains.UI.ActionsRevised;
namespace Roflcopter.Plugin.TodoItems
{
[Action(nameof(TodoItemsCountDummyAction), Id = 944208914)]
... | using System.Linq;
using JetBrains.ActionManagement;
using JetBrains.Annotations;
using JetBrains.Application.DataContext;
using JetBrains.ReSharper.Features.Inspections.Actions;
using JetBrains.UI.ActionsRevised;
namespace Roflcopter.Plugin.TodoItems
{
[ActionGroup(nameof(TodoItemsCountDummyActionGroup), ActionGr... | Add separator before action item in tool bar | Add separator before action item in tool bar
| C# | mit | ulrichb/Roflcopter,ulrichb/Roflcopter |
b920ecd7fdbd9ed7fa3cba950fdc336978eee56e | PalasoUIWindowsForms.Tests/FontTests/FontHelperTests.cs | PalasoUIWindowsForms.Tests/FontTests/FontHelperTests.cs | using System;
using System.Drawing;
using System.Linq;
using NUnit.Framework;
using Palaso.UI.WindowsForms;
namespace PalasoUIWindowsForms.Tests.FontTests
{
[TestFixture]
public class FontHelperTests
{
[SetUp]
public void SetUp()
{
// setup code goes here
}
[TearDown]
public void TearDown()
{
... | using System;
using System.Drawing;
using System.Linq;
using NUnit.Framework;
using Palaso.UI.WindowsForms;
namespace PalasoUIWindowsForms.Tests.FontTests
{
[TestFixture]
public class FontHelperTests
{
[SetUp]
public void SetUp()
{
// setup code goes here
}
[TearDown]
public void TearDown()
{
... | Fix mono bug in the FontHelper class | Fix mono bug in the FontHelper class
| C# | mit | gmartin7/libpalaso,gmartin7/libpalaso,JohnThomson/libpalaso,mccarthyrb/libpalaso,chrisvire/libpalaso,glasseyes/libpalaso,andrew-polk/libpalaso,gtryus/libpalaso,andrew-polk/libpalaso,darcywong00/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,ddaspit/libpalaso,marksvc/libpalaso,tombogle/libpalaso,... |
4e4c3cc52f95d2cdd18a04065bd2b1f29097f470 | src/ProblemDetails/Mvc/MvcBuilderExtensions.cs | src/ProblemDetails/Mvc/MvcBuilderExtensions.cs | using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
using MvcProblemDetailsFactory = Microsoft.AspNetCore.Mvc.Infrastructure.ProblemDetailsFactory;... | using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
using MvcProblemDetailsFactory = Microsoft.AspNetCore.Mvc.Infrastructure.ProblemDetailsFactory;... | Replace the existing ProblemDetailsFactory from MVC | Replace the existing ProblemDetailsFactory from MVC
| C# | mit | khellang/Middleware,khellang/Middleware |
e00179f3c92dd16e3e2ad2b9c7281fd19f90d3f6 | glib/GLib.cs | glib/GLib.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
//using GLib;
//using Gtk;
using NDesk.DBus;
using NDesk.GLib;
using org.freedesktop.DBus;
namespace NDesk.DBus
{
//FIXME: this API needs review and de-unixification
public ... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
//using GLib;
//using Gtk;
using NDesk.DBus;
using NDesk.GLib;
using org.freedesktop.DBus;
namespace NDesk.DBus
{
//FIXME: this API needs review and de-unixification
public ... | Remove dead private and comments | Remove dead private and comments
| C# | mit | mono/dbus-sharp-glib,mono/dbus-sharp-glib |
80bd4b04f9ee2644f0ba6b1f4b816f2c78e20036 | osu-database-reader/Components/HitObjects/HitObjectSlider.cs | osu-database-reader/Components/HitObjects/HitObjectSlider.cs | using System.Collections.Generic;
using System.Diagnostics;
namespace osu_database_reader.Components.HitObjects
{
public class HitObjectSlider : HitObject
{
public CurveType CurveType;
public List<Vector2> Points = new List<Vector2>(); //does not include initial point!
public int Repe... | using System.Collections.Generic;
using System.Diagnostics;
namespace osu_database_reader.Components.HitObjects
{
public class HitObjectSlider : HitObject
{
public CurveType CurveType;
public List<Vector2> Points = new List<Vector2>(); //does not include initial point!
public int Repe... | Make CodeFactor happy at the cost of my own happiness (code unfolding) | Make CodeFactor happy at the cost of my own happiness (code unfolding)
| C# | mit | HoLLy-HaCKeR/osu-database-reader |
b80acbf059ab4ba69b9e8dbd4444c0735b5c310c | build/Lifetime.cs | build/Lifetime.cs | using Cake.Common;
using Cake.Frosting;
namespace Build
{
public sealed class Lifetime : FrostingLifetime<Context>
{
public override void Setup(Context context)
{
context.Configuration = context.Argument("configuration", "Release");
context.BaseDir = context.Environment... | using Cake.Common;
using Cake.Frosting;
namespace Build
{
public sealed class Lifetime : FrostingLifetime<Context>
{
public override void Setup(Context context)
{
context.Configuration = context.Argument("configuration", "Release");
context.BaseDir = context.Environment... | Use separate output directories for debug and release builds | Use separate output directories for debug and release builds
| C# | mit | Thealexbarney/VGAudio,Thealexbarney/VGAudio,Thealexbarney/LibDspAdpcm,Thealexbarney/LibDspAdpcm |
6fa4efdd422d80373e2de91fb3712fc311616160 | src/ExternalTemplates.AspNet/IGeneratorOptions.Default.cs | src/ExternalTemplates.AspNet/IGeneratorOptions.Default.cs | using System;
namespace ExternalTemplates
{
/// <summary>
/// Default generator options.
/// </summary>
public class GeneratorOptions : IGeneratorOptions
{
/// <summary>
/// Gets the path relative to the web root where the templates are stored.
/// Default is "/Content/templates".
/// </summary>
public... | using System;
namespace ExternalTemplates
{
/// <summary>
/// Default generator options.
/// </summary>
public class GeneratorOptions : IGeneratorOptions
{
/// <summary>
/// Gets the path relative to the web root where the templates are stored.
/// Default is "Content/templates".
/// </summary>
public ... | Fix the default virtual path | Fix the default virtual path
The virtual path shouldn't start with a slash.
| C# | mit | mrahhal/ExternalTemplates |
456e18cdcb50ddb64bded8ef5a0820a5b848f7f2 | testproj/UnitTest1.cs | testproj/UnitTest1.cs | namespace testproj
{
using JetBrains.dotMemoryUnit;
using NUnit.Framework;
[TestFixture]
public class UnitTest1
{
[Test]
public void TestMethod1()
{
dotMemory.Check(
memory =>
{
Assert.AreEqual(10, memory.Obje... | namespace testproj
{
using System;
using JetBrains.dotMemoryUnit;
using NUnit.Framework;
[TestFixture]
public class UnitTest1
{
[Test]
public void TestMethod1()
{
dotMemory.Check(
memory =>
{
var str1 = "... | Fix test in the testproj | Fix test in the testproj
| C# | apache-2.0 | JetBrains/teamcity-dotmemory,JetBrains/teamcity-dotmemory |
a6d99737e8b8907f0b429e87d49b27f38da3bd13 | source/Graphite.System/ServiceInstaller.designer.cs | source/Graphite.System/ServiceInstaller.designer.cs | using System.ComponentModel;
using System.ServiceProcess;
using System.Configuration.Install;
namespace Graphite.System
{
public partial class ServiceInstaller
{
private IContainer components = null;
private global::System.ServiceProcess.ServiceInstaller serviceInstaller;
private Ser... | using System.ComponentModel;
using System.ServiceProcess;
using System.Configuration.Install;
namespace Graphite.System
{
public partial class ServiceInstaller
{
private IContainer components = null;
private global::System.ServiceProcess.ServiceInstaller serviceInstaller;
private Ser... | Install service with "delayed auto start". | Install service with "delayed auto start".
| C# | mit | PeteGoo/graphite-client,peschuster/graphite-client |
62f1af61fef25d02e116dda01f7b1b42e0ec3601 | src/TagLib/IFD/Tags/Nikon3MakerNoteEntryTag.cs | src/TagLib/IFD/Tags/Nikon3MakerNoteEntryTag.cs | //
// Nikon3MakerNoteEntryTag.cs:
//
// Author:
// Ruben Vermeersch (ruben@savanne.be)
//
// Copyright (C) 2010 Ruben Vermeersch
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License version
// 2.1 as published by the Free Software F... | //
// Nikon3MakerNoteEntryTag.cs:
//
// Author:
// Ruben Vermeersch (ruben@savanne.be)
//
// Copyright (C) 2010 Ruben Vermeersch
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License version
// 2.1 as published by the Free Software F... | Fix wrong value for the Preview tag. | Fix wrong value for the Preview tag.
| C# | lgpl-2.1 | punker76/taglib-sharp,mono/taglib-sharp,hwahrmann/taglib-sharp,punker76/taglib-sharp,Clancey/taglib-sharp,archrival/taglib-sharp,CamargoR/taglib-sharp,Clancey/taglib-sharp,hwahrmann/taglib-sharp,CamargoR/taglib-sharp,Clancey/taglib-sharp,archrival/taglib-sharp |
6113a39d627d9e1115675a0dd1b3a98d1c334347 | IS24RestApi/Properties/AssemblyInfo.cs | IS24RestApi/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("IS... | 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("IS... | Change version number to 1.1 | Change version number to 1.1
| C# | apache-2.0 | mganss/IS24RestApi,enkol/IS24RestApi |
104445424cc51a8d485dbe7d337f03dbbad3d578 | Containerizer/Services/Implementations/StreamOutService.cs | Containerizer/Services/Implementations/StreamOutService.cs | using System.IO;
using Containerizer.Services.Interfaces;
namespace Containerizer.Services.Implementations
{
public class StreamOutService : IStreamOutService
{
private readonly IContainerPathService containerPathService;
private readonly ITarStreamService tarStreamService;
public Str... | using System.IO;
using Containerizer.Services.Interfaces;
namespace Containerizer.Services.Implementations
{
public class StreamOutService : IStreamOutService
{
private readonly IContainerPathService containerPathService;
private readonly ITarStreamService tarStreamService;
public Str... | Fix path issue for StreamOut | Fix path issue for StreamOut
| C# | apache-2.0 | cloudfoundry/garden-windows,cloudfoundry-incubator/garden-windows,cloudfoundry/garden-windows,cloudfoundry-incubator/garden-windows,stefanschneider/garden-windows,stefanschneider/garden-windows,cloudfoundry/garden-windows,cloudfoundry-incubator/garden-windows,stefanschneider/garden-windows |
e0ca905efa5ef1f4a48e8d0b17a599a4715827aa | EncodingConverter/Logic/EncodingManager.cs | EncodingConverter/Logic/EncodingManager.cs | using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dokas.FluentStrings;
using Mozilla.CharDet;
namespace dokas.EncodingConverter.Logic
{
internal sealed class EncodingManager
{
private readonly FileManager _fileManager;
private static re... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dokas.FluentStrings;
using Mozilla.CharDet;
namespace dokas.EncodingConverter.Logic
{
internal sealed class EncodingManager
{
private readonly FileManager _fileManager;
pri... | Fix error with multithreaded UniversalDetector reseting | Fix error with multithreaded UniversalDetector reseting
Additional argument checks were added as well
| C# | mit | MSayfullin/EncodingConverter |
c007dcf71c233b61dbc6db0252f1f54724e9a3e3 | FabricStore/FabricStore.Web/Global.asax.cs | FabricStore/FabricStore.Web/Global.asax.cs | using FabricStore.Data;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using FabricStore.Data.Migrations;
using FabricStore.Web.Infrastructure.Mapping;
using System.Reflection;... | using FabricStore.Data;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using FabricStore.Data.Migrations;
using FabricStore.Web.Infrastructure.Mapping;
using System.Reflection;... | Set Razor to be the only view engine | Set Razor to be the only view engine
| C# | mit | simoto/FabricStore,simoto/FabricStore,simoto/FabricStore |
f2a95c24afa4ed918fc01a78c196ce2809bbc789 | Data-Structures/BinaryTree/Program.cs | Data-Structures/BinaryTree/Program.cs | #region
using System;
using BinaryTree.Models;
#endregion
namespace BinaryTree
{
internal class Program
{
private static void Main()
{
var binaryTree = new BinaryTree<int> {5, 3, 9, 1, -5, 0, 2};
Console.WriteLine("{0}, count of items: {1}", binaryTree, binaryTree.Co... | #region
using System;
using BinaryTree.Models;
#endregion
namespace BinaryTree
{
internal class Program
{
private static void Main()
{
var binaryTree = new BinaryTree<int> {5, 3, 9, 1, -5, 0, 2};
Console.WriteLine("{0}, count of items: {1}", binaryTree, binaryTree.Co... | Add binaryTree.Clear(); to binary tree test. | Add binaryTree.Clear(); to binary tree test.
| C# | apache-2.0 | Appius/Algorithms-and-Data-Structures |
4564967108790490ab2179daf88838431bbf7f77 | exec/csnex/Exceptions.cs | exec/csnex/Exceptions.cs | using System;
namespace csnex
{
[Serializable()]
public class NeonException: ApplicationException
{
public NeonException() {
}
public NeonException(string message) : base(message) {
}
public NeonException(string message, params object[] args) : base(string.Format(... | using System;
using System.Runtime.Serialization;
using System.Security.Permissions;
namespace csnex
{
[Serializable()]
public class NeonException: ApplicationException
{
public NeonException() {
}
public NeonException(string name, string info) : base(name) {
Name = na... | Add Neon runtime information to NeonException | Add Neon runtime information to NeonException
| C# | mit | ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang |
7a82c437e9dbfd61897ad37043a214f38e0943ea | MonoDevelop.Addins.Tasks/AddinTask.cs | MonoDevelop.Addins.Tasks/AddinTask.cs | using System;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Mono.Addins;
namespace MonoDevelop.Addins.Tasks
{
public abstract class AddinTask : Task
{
[Required]
public string ConfigDir { get; set; }
[Required]
public string AddinsDir { get; set; }
[Required]
... | using System;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Mono.Addins;
namespace MonoDevelop.Addins.Tasks
{
public abstract class AddinTask : Task
{
[Required]
public string ConfigDir { get; set; }
[Required]
public string AddinsDir { get; set; }
[Required]
... | Fix use of private addin registry | Fix use of private addin registry
For some reason the full path to the intermediate
directory was resolving elsewhere.
| C# | mit | mhutch/MonoDevelop.AddinMaker,mhutch/MonoDevelop.AddinMaker |
a0880bfb11af268827252757f37aaa518ce6f875 | NElasticsearch/NElasticsearch/Models/Hit.cs | NElasticsearch/NElasticsearch/Models/Hit.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace NElasticsearch.Models
{
/// <summary>
/// Individual hit response from ElasticSearch.
/// </summary>
[DebuggerDisplay("{_type} in {_index} id {_id}")]
public class Hit<T>
{
public string _index { get; s... | using System.Collections.Generic;
using System.Diagnostics;
namespace NElasticsearch.Models
{
/// <summary>
/// Individual hit response from ElasticSearch.
/// </summary>
[DebuggerDisplay("{_type} in {_index} id {_id}")]
public class Hit<T>
{
public string _index { get; set; }
... | Support fields and highlights in responses | Support fields and highlights in responses
| C# | agpl-3.0 | synhershko/HebrewSearch |
355caf41ae633e4b4ec88fac9e213079e0219e56 | LocalServer/Program.cs | LocalServer/Program.cs | using System;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using wslib;
using wslib.Protocol;
namespace LocalServer
{
class Program
{
static void Main(string[] args)
{
TaskScheduler.UnobservedTaskException += LogUnobser... | using System;
using System.IO;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using wslib;
namespace LocalServer
{
class Program
{
static void Main(string[] args)
{
TaskScheduler.UnobservedTaskException += LogUnobservedTaskException;
var listen... | Update local echo server to work with binary messages | Update local echo server to work with binary messages
| C# | mit | Chelaris182/wslib |
5f5ebf46464722151ecbe969fc4b8c5f795e9288 | Source/Treenumerable/Properties/AssemblyInfo.cs | Source/Treenumerable/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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.Reflection;
using System.Resources;
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... | Set Treenumerable version to 1.0.0 | Set Treenumerable version to 1.0.0
| C# | mit | jasonmcboyd/Treenumerable |
cafb24f72c828e5a37794a370c258dcaef8aff99 | src/UnwindMC/Analysis/Function.cs | src/UnwindMC/Analysis/Function.cs | namespace UnwindMC.Analysis
{
public class Function
{
public Function(ulong address)
{
Address = address;
Status = FunctionStatus.Created;
}
public ulong Address { get; }
public FunctionStatus Status { get; set; }
}
public enum FunctionS... | using System;
using System.Collections.Generic;
using UnwindMC.Analysis.Flow;
using UnwindMC.Analysis.IL;
namespace UnwindMC.Analysis
{
public class Function
{
private List<IBlock> _blocks;
public Function(ulong address)
{
Address = address;
Status = FunctionSt... | Add flow tree body to the function | Add flow tree body to the function
| C# | mit | coffeecup-winner/unwind-mc,coffeecup-winner/unwind-mc,coffeecup-winner/unwind-mc,coffeecup-winner/unwind-mc,coffeecup-winner/unwind-mc |
427f7cb407bda07f0ddad721e4dba4f40653558e | SCPI/Display/DISPLAY_GRID.cs | SCPI/Display/DISPLAY_GRID.cs | using System;
using System.Text;
namespace SCPI.Display
{
public class DISPLAY_GRID : ICommand
{
public string Description => "Set or query the grid type of screen display.";
public string Grid { get; private set; }
private readonly string[] gridRange = new string[] { "FULL", "HALF",... | using System;
using System.Text;
namespace SCPI.Display
{
public class DISPLAY_GRID : ICommand
{
public string Description => "Set or query the grid type of screen display.";
public string Grid { get; private set; }
private readonly string[] gridRange = new string[] { "FULL", "HALF",... | Change example to contain default values | Change example to contain default values
| C# | mit | tparviainen/oscilloscope |
f720b23bc413a77e98e09781d389d52c38214ef7 | source/CroquetAustralia.QueueProcessor/Email/EmailGenerators/U21WorldsEOIEmailGenerator.cs | source/CroquetAustralia.QueueProcessor/Email/EmailGenerators/U21WorldsEOIEmailGenerator.cs | using CroquetAustralia.Domain.Features.TournamentEntry.Events;
namespace CroquetAustralia.QueueProcessor.Email.EmailGenerators
{
public class U21WorldsEOIEmailGenerator : BaseEmailGenerator
{
/* todo: remove hard coding of email addresses */
private static readonly EmailAddress U21Coordinator ... | using System.Linq;
using CroquetAustralia.Domain.Features.TournamentEntry.Events;
namespace CroquetAustralia.QueueProcessor.Email.EmailGenerators
{
public class U21WorldsEOIEmailGenerator : BaseEmailGenerator
{
/* todo: remove hard coding of email addresses */
private static readonly EmailAddr... | Fix BCC for EOI emails | Fix BCC for EOI emails
| C# | mit | croquet-australia/api.croquet-australia.com.au |
2f46e52be23bb03356a2e9c4c46c94dbb1f42707 | Source/Tests/TraktApiSharp.Tests/TraktConfigurationTests.cs | Source/Tests/TraktApiSharp.Tests/TraktConfigurationTests.cs | namespace TraktApiSharp.Tests
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class TraktConfigurationTests
{
[TestMethod]
public void TestTraktConfigurationDefaultConstructor()
{
var client = new TraktClient();
... | namespace TraktApiSharp.Tests
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class TraktConfigurationTests
{
[TestMethod]
public void TestTraktConfigurationDefaultConstructor()
{
var client = new TraktClient();
... | Fix issues due to merge conflict. | Fix issues due to merge conflict.
| C# | mit | henrikfroehling/TraktApiSharp |
2cd9da5c9682c2a711f69cad19b48434697fb493 | ToolkitTests/ToolkitTests/ToolkitTests.cs | ToolkitTests/ToolkitTests/ToolkitTests.cs | using System;
using FormsToolkit;
using Xamarin.Forms;
namespace ToolkitTests
{
public class App : Application
{
public App()
{
var messagingCenter = new Button
{
Text = "Messaging Center",
Command = new Command(()=>MainPage.... | using System;
using FormsToolkit;
using Xamarin.Forms;
namespace ToolkitTests
{
public class App : Application
{
public App()
{
var messagingCenter = new Button
{
Text = "Messaging Center",
Command = new Command(()=>MainPage.... | Add sample of data trigger | Add sample of data trigger
| C# | mit | jamesmontemagno/xamarin.forms-toolkit |
7f0ddcd0df3d369e6cd67c5dd438c430f8910b21 | Validators/FModalitaPagamentoValidator.cs | Validators/FModalitaPagamentoValidator.cs | using BusinessObjects.Validators;
namespace FatturaElettronicaPA.Validators
{
/// <summary>
/// Validates FatturaElettronicaBody.DatiPagamento.DettaglioPagamento.ModalitaPagamento.
/// </summary>
public class FModalitaPagamentoValidator : DomainValidator
{
private const string BrokenDescri... | using BusinessObjects.Validators;
namespace FatturaElettronicaPA.Validators
{
/// <summary>
/// Validates FatturaElettronicaBody.DatiPagamento.DettaglioPagamento.ModalitaPagamento.
/// </summary>
public class FModalitaPagamentoValidator : DomainValidator
{
private const string BrokenDescri... | Update ModalitaPagamento validator with MP18..21 values | Update ModalitaPagamento validator with MP18..21 values
| C# | bsd-3-clause | FatturaElettronicaPA/FatturaElettronicaPA,sirmmo/FatturaElettronicaPA |
7a4a8bab4e9577aebfc934137f2f28677396803b | src/Foundation/NSUrlCredential.cs | src/Foundation/NSUrlCredential.cs | // Copyright 2013 Xamarin Inc.
using System;
using System.Reflection;
using System.Collections;
using System.Runtime.InteropServices;
using MonoMac.ObjCRuntime;
namespace MonoMac.Foundation {
public partial class NSUrlCredential {
public NSUrlCredential (IntPtr trust, bool ignored) : base (NSObjectFlag.Empty)
... | // Copyright 2013 Xamarin Inc.
using System;
using System.Reflection;
using System.Collections;
using System.Runtime.InteropServices;
using MonoMac.ObjCRuntime;
namespace MonoMac.Foundation {
public partial class NSUrlCredential {
public NSUrlCredential (IntPtr trust, bool ignored) : base (NSObjectFlag.Empty)
... | Fix MonoMac/MonoTouch (for MonoMac builds) | Fix MonoMac/MonoTouch (for MonoMac builds)
| C# | apache-2.0 | mono/maccore |
0e2ab20ccf1e2f8c9f680ba72be87aea5bd59dd2 | DesktopWidgets/Helpers/DateTimeSyncHelper.cs | DesktopWidgets/Helpers/DateTimeSyncHelper.cs | using System;
namespace DesktopWidgets.Helpers
{
public static class DateTimeSyncHelper
{
public static DateTime SyncNext(this DateTime dateTime, bool syncYear, bool syncMonth, bool syncDay,
bool syncHour, bool syncMinute, bool syncSecond)
{
var endDateTime = dateTime;
... | using System;
namespace DesktopWidgets.Helpers
{
public static class DateTimeSyncHelper
{
public static DateTime SyncNext(this DateTime dateTime, bool syncYear, bool syncMonth, bool syncDay,
bool syncHour, bool syncMinute, bool syncSecond)
{
var endDateTime = dateTime;
... | Change "Countdown" syncing priority order | Change "Countdown" syncing priority order
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
3ffceda5fb5ca782b1b031c6c26710ee6f7e8bb4 | PhotoLife/PhotoLife.Services/PostsService.cs | PhotoLife/PhotoLife.Services/PostsService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PhotoLife.Data.Contracts;
using PhotoLife.Models;
using PhotoLife.Services.Contracts;
namespace PhotoLife.Services
{
public class PostsService: IPostService
{
private readonly IRep... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PhotoLife.Data.Contracts;
using PhotoLife.Models;
using PhotoLife.Services.Contracts;
namespace PhotoLife.Services
{
public class PostsService : IPostService
{
private readonly IRe... | Add get top to service | Add get top to service
| C# | mit | Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife |
cd91183a9787d9295efe4e252af2b7535ff21d5a | src/SilentHunter.Core/Encoding.cs | src/SilentHunter.Core/Encoding.cs | namespace SilentHunter
{
public static class Encoding
{
/// <summary>
/// The default encoding to use for parsing Silent Hunter game files.
/// </summary>
public static System.Text.Encoding ParseEncoding { get; } = System.Text.Encoding.GetEncoding(1252);
}
} | namespace SilentHunter
{
public static class Encoding
{
/// <summary>
/// The default encoding to use for parsing Silent Hunter game files.
/// </summary>
public static System.Text.Encoding ParseEncoding { get; } = System.Text.Encoding.GetEncoding("ISO-8859-1");
}
} | Use ISO encoding, for cross platform | Use ISO encoding, for cross platform
| C# | apache-2.0 | skwasjer/SilentHunter |
b1559a8fa55aea86d4704a23961c143f10b4a77d | Source/MQTTnet/Adapter/MqttConnectingFailedException.cs | Source/MQTTnet/Adapter/MqttConnectingFailedException.cs | using MQTTnet.Client.Connecting;
using MQTTnet.Exceptions;
namespace MQTTnet.Adapter
{
public class MqttConnectingFailedException : MqttCommunicationException
{
public MqttConnectingFailedException(MqttClientAuthenticateResult resultCode)
: base($"Connecting with MQTT server failed ({resul... | using MQTTnet.Client.Connecting;
using MQTTnet.Exceptions;
namespace MQTTnet.Adapter
{
public class MqttConnectingFailedException : MqttCommunicationException
{
public MqttConnectingFailedException(MqttClientAuthenticateResult resultCode)
: base($"Connecting with MQTT server failed ({resul... | Correct to print right result | Correct to print right result
Lost a change while moving from my developement branch to here.
| C# | mit | chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet |
6249ff9a2eb54bac1bebe4e4ebcec4d2a24ae1f0 | CSharpInternals/1.CSharpInternals.ExceptionHandling/a.Basics.cs | CSharpInternals/1.CSharpInternals.ExceptionHandling/a.Basics.cs | using System;
using Xunit;
namespace CSharpInternals.ExceptionHandling
{
public class Basics
{
[Fact]
public void Test()
{
Assert.Throws<NullReferenceException>(() => ThrowsNullReferenceException());
}
// Fact - ToString allocates a lot, esp... | using System;
using Xunit;
namespace CSharpInternals.ExceptionHandling
{
public class Basics
{
[Fact]
public void ThrowsNull()
{
Assert.Throws<NullReferenceException>(() => ThrowsNullReferenceException());
}
// Fact - ToString allocates a lo... | Use more proper name for test | Use more proper name for test
| C# | mit | Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode |
1fd524ada1078de4afd694a0c95a25edfa6061ae | EOLib.Graphics/PEFileCollection.cs | EOLib.Graphics/PEFileCollection.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using PELoaderLib;
namespace EOLib.Graphics
{
public sealed class PEFileCollectio... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using System.Collections.Generic;
using System.IO;
using PELoaderLib;
namespace EOLib.Graphics
{
public sealed class PEFileCollection : Dictionary<GFXT... | Fix resource leak that occurred when any GFX files were missing from GFX folder | Fix resource leak that occurred when any GFX files were missing from GFX folder
| C# | mit | ethanmoffat/EndlessClient |
321920bc857b07f1359ac0407a080c56f2815a6c | osu.Game/Overlays/Settings/Sections/MaintenanceSection.cs | osu.Game/Overlays/Settings/Sections/MaintenanceSection.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.
#nullable disable
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Localisation;
using osu.Game.Localisation;
using osu.Game.Over... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Localisation;
using osu.Game.Localisation;
using osu.Game.Overlays.Settings.Secti... | Remove one more nullable disable | Remove one more nullable disable
| C# | mit | ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu |
3deab026c82669e70daadcc09d35c8c62740ef3a | src/Microsoft.Blazor/Components/RazorToolingWorkaround.cs | src/Microsoft.Blazor/Components/RazorToolingWorkaround.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
/*
* Currently if you have a .cshtml file in a project with <Project Sdk="Microsoft.NET.Sdk.Web">,
* Visual Studio will run design-time builds for th... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
/*
* Currently if you have a .cshtml file in a project with <Project Sdk="Microsoft.NET.Sdk.Web">,
* Visual Studio will run design-time builds for th... | Stop spurious VS "cannot override ExecuteAsync" errors even if you don't specify a base class | Stop spurious VS "cannot override ExecuteAsync" errors even if you don't specify a base class
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
f23cc40ad8e6a41354fb65405d4a3a1d2982ee94 | src/OpenSage.DataViewer.Windows/App.xaml.cs | src/OpenSage.DataViewer.Windows/App.xaml.cs | using System.Windows;
namespace OpenSage.DataViewer
{
public partial class App : Application
{
}
}
| using System.Windows;
using System.Globalization;
using System.Threading;
namespace OpenSage.DataViewer
{
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
... | Set thread culture to InvariantCulture on startup | Set thread culture to InvariantCulture on startup
Fixes the data viewer in locales which use the decimal comma.
| C# | mit | feliwir/openSage,feliwir/openSage |
06f6bbdff806d3cc02d1012e55963638cd247e76 | src/Core2D.Perspex/Presenters/CachedContentPresenter.cs | src/Core2D.Perspex/Presenters/CachedContentPresenter.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 Perspex;
using Perspex.Controls;
using Perspex.Controls.Presenters;
using System;
using System.Collections.Generic;
namespace Core2D.Perspex.Presenters
{
... | // 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 Perspex;
using Perspex.Controls;
using Perspex.Controls.Presenters;
using System;
using System.Collections.Generic;
namespace Core2D.Perspex.Presenters
{
... | Throw excpetion when type is not found | Throw excpetion when type is not found
| C# | mit | Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.