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 |
|---|---|---|---|---|---|---|---|---|---|
f5303737451723a446a0006338fe55839b910358 | AudioController/Assets/Source/Model/CategoryItem.cs | AudioController/Assets/Source/Model/CategoryItem.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public struct CategoryItem
{
public string name;
public SoundItem[] soundItems;
public GameObject audioObjectPrefab;
}
| using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public struct CategoryItem
{
public string name;
public SoundItem[] soundItems;
public GameObject audioObjectPrefab = null;
public bool usingDefaultPrefab = true;
}
| Use default AudioObject prefab if none is assigned. | Use default AudioObject prefab if none is assigned.
| C# | mit | dimixar/audio-controller-unity |
56d8c033d79dd98a5b2d2ec7cae6d997359e0ab7 | BTCPayServer/Models/InvoicingModels/CreateInvoiceModel.cs | BTCPayServer/Models/InvoicingModels/CreateInvoiceModel.cs | using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Validation;
using System.ComponentModel;
namespace BTCPayServer.Models.InvoicingModels
{
public class CreateInv... | using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Validation;
using System.ComponentModel;
namespace BTCPayServer.Models.InvoicingModels
{
public class CreateInv... | Update display text on the view model. | Update display text on the view model. | C# | mit | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver |
7e9a47ec7927a815feae5a097ae7bc9554f95041 | src/Quibill.Web/Controllers/TransactionsController.cs | src/Quibill.Web/Controllers/TransactionsController.cs | using Quibill.Web.Contexts;
using System;
using System.Collections.Generic;
using Quibill.Domain.Models;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Microsoft.AspNet.Identity;
using Quibill.Domain;
namespace Quibill.Web.Controllers
{
[Authoriz... | using Quibill.Web.Contexts;
using System;
using System.Collections.Generic;
using Quibill.Domain.Models;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Microsoft.AspNet.Identity;
using Quibill.Domain;
namespace Quibill.Web.Controllers
{
[Authoriz... | Set AddDate on server for new transactions | Set AddDate on server for new transactions | C# | mit | tloltman/Quibill-backend,tloltman/Quibill-backend |
f59585bbdd8247e46c1e06ce1c9790f17fcdec9a | src/NodaTime.Test/Annotations/SecurityTest.cs | src/NodaTime.Test/Annotations/SecurityTest.cs | // Copyright 2014 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
using System.Security;
namespace NodaTime.Test.Annotations
{
[TestFixtur... | // Copyright 2014 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
using System.Security;
namespace NodaTime.Test.Annotations
{
[TestFixtur... | Use DeclaringType instead of ReflectedType to find interface implementations within the NodaTime assembly. (Not sure why the mapping code behaves differently in .NET to in Mono anyway, but...) | Use DeclaringType instead of ReflectedType to find interface implementations within the NodaTime assembly.
(Not sure why the mapping code behaves differently in .NET to in Mono anyway, but...)
| C# | apache-2.0 | jskeet/nodatime,nodatime/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,jskeet/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime |
86d17131658fa845445b1d4655b6cab676d3dcf0 | src/SmugMugCodeGen/CodeGen/CodeGen.Methods.cs | src/SmugMugCodeGen/CodeGen/CodeGen.Methods.cs | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using SmugMug.Shared.Descriptors;
using System.Collections.Generic;
using System.Text;
namespace SmugMugCodeGen
{
public partial class CodeGen
{
p... | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using SmugMug.Shared.Descriptors;
using System.Collections.Generic;
using System.Text;
namespace SmugMugCodeGen
{
public partial class CodeGen
{
p... | Add code to start generating the methods. | Add code to start generating the methods.
| C# | mit | AlexGhiondea/SmugMug.NET |
eb944c4e242503cf91d20f419d401ca96ae62ea6 | src/Cash-Flow-Projection/Models/RepeatingEntry.cs | src/Cash-Flow-Projection/Models/RepeatingEntry.cs | using System;
using System.ComponentModel.DataAnnotations;
namespace Cash_Flow_Projection.Models
{
public class RepeatingEntry
{
[DataType(DataType.Date)]
public DateTime FirstDate { get; set; } = DateTime.Today;
public String Description { get; set; }
public Decimal Amount {... | using System;
using System.ComponentModel.DataAnnotations;
namespace Cash_Flow_Projection.Models
{
public class RepeatingEntry
{
[DataType(DataType.Date)]
public DateTime FirstDate { get; set; } = DateTime.Today;
public String Description { get; set; }
public Decimal Amount {... | Change default to be once per month for a year | Change default to be once per month for a year
| C# | mit | mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection |
9ed0b4864c673111eb650c79da7a3ff394cb3950 | FileStores/Serialization/Yaml/Halforbit.DataStores.FileStores.Serialization.Yaml/Implementation/YamlSerializer.cs | FileStores/Serialization/Yaml/Halforbit.DataStores.FileStores.Serialization.Yaml/Implementation/YamlSerializer.cs | using Halforbit.DataStores.FileStores.Serialization.Json.Implementation;
using Newtonsoft.Json.Linq;
using System.Dynamic;
using System.Text;
using System.Threading.Tasks;
using YamlDotNet.Serialization;
using ISerializer = Halforbit.DataStores.FileStores.Interface.ISerializer;
namespace Halforbit.DataStores.... | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;
using System.Dynamic;
using System.Text;
using System.Threading.Tasks;
using YamlDotNet.Serialization;
using ISerializer = Halforbit.DataStores.FileStores.Interface.ISerializer;
namespac... | Use camelCase and string enums with YAML serialization | Use camelCase and string enums with YAML serialization
| C# | mit | halforbit/data-stores |
5967fd80c91d0d06a217cd4cfed5987ac16fac4f | Source/Bumpy/Template.cs | Source/Bumpy/Template.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Bumpy
{
internal sealed class Template
{
private static readonly Dictionary<string, Template> Templates = new Dictionary<string, Template>()
{
{ ".csproj", new Template(@"<(?<marker>[Vv]... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Bumpy
{
internal sealed class Template
{
private static readonly Dictionary<string, Template> Templates = new Dictionary<string, Template>()
{
{ ".csproj", new Template(@"<(?<marker>[Vv]... | Add template for Visual Studio C++ resource files | Add template for Visual Studio C++ resource files
| C# | mit | fwinkelbauer/Bumpy |
8a693ba3c705901dca9b92bc01af76244cc0aaf1 | dotnet/Mammoth.Tests/DocumentConverterTests.cs | dotnet/Mammoth.Tests/DocumentConverterTests.cs | using Xunit;
using System.IO;
using Xunit.Sdk;
namespace Mammoth.Tests {
public class DocumentConverterTests {
[Fact]
public void DocxContainingOneParagraphIsConvertedToSingleParagraphElement() {
assertSuccessfulConversion(
ConvertToHtml("single-paragraph.docx"),
"<p>Walking on imported air</p>");
}... | using Xunit;
using System.IO;
using Xunit.Sdk;
using System;
namespace Mammoth.Tests {
public class DocumentConverterTests {
[Fact]
public void DocxContainingOneParagraphIsConvertedToSingleParagraphElement() {
assertSuccessfulConversion(
ConvertToHtml("single-paragraph.docx"),
"<p>Walking on imported ... | Add test for preserving empty paragraphs | Add test for preserving empty paragraphs
| C# | bsd-2-clause | mwilliamson/java-mammoth |
b87eb96b850ddf758b406858f87d9e6863563e0e | AssemblyInfo.cs | AssemblyInfo.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System.Reflection;
using System.Runtime.CompilerServices;
//[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyTitle ("NDesk.DBus")]
[assembly: AssemblyDescription ("D-Bus IPC ... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System.Reflection;
using System.Runtime.CompilerServices;
//[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyTitle ("NDesk.DBus")]
[assembly: AssemblyDescription ("D-Bus IPC ... | Add a couple of friend assemblies | Add a couple of friend assemblies
| C# | mit | tmds/Tmds.DBus |
bc3b1d51940ba36df6c8ea2c6bb49612ef127c06 | Localization/Localizers/DictionaryLocalizer.cs | Localization/Localizers/DictionaryLocalizer.cs | using System;
using System.Collections.Generic;
namespace Mios.Localization.Localizers {
public class DictionaryLocalizer {
private readonly IDictionary<string, string> source;
public DictionaryLocalizer(IDictionary<string,string> source) {
this.source = source;
}
public LocalizedString Localize(... | using System;
using System.Collections.Generic;
namespace Mios.Localization.Localizers {
public class DictionaryLocalizer {
private readonly IDictionary<string, string> source;
private readonly Localizer defaultLocalizer;
public DictionaryLocalizer(IDictionary<string, string> source) : this(source, ... | Allow specifying a default localizer. | Allow specifying a default localizer.
| C# | bsd-2-clause | mios-fi/mios.localization |
d8a5e9ac64f530559d9e83659cfbe7fc526a12e9 | DesktopWidgets/Classes/DirectoryWatcherSettings.cs | DesktopWidgets/Classes/DirectoryWatcherSettings.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Classes
{
[ExpandableObject]
[DisplayName("Directory Watcher Settings")]
public class DirectoryWatcherSettings
{
[DisplayName("Watch Folder Pat... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Classes
{
[ExpandableObject]
[DisplayName("Directory Watcher Settings")]
public class DirectoryWatcherSettings
{
[DisplayName("Watch Folder Pat... | Change directory watcher settings "Max Size" default | Change directory watcher settings "Max Size" default
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
29d7477ff0744d07055e2dbb2c8b3e7ccb0042e1 | WindowsSolutionUniversal/UnityProject/UnityProject.Shared/Logging/RaygunExceptionLogger.cs | WindowsSolutionUniversal/UnityProject/UnityProject.Shared/Logging/RaygunExceptionLogger.cs | using System;
using System.Diagnostics;
using Mindscape.Raygun4Net;
using MarkerMetro.Unity.WinIntegration.Logging;
using MarkerMetro.Unity.WinIntegration;
namespace UnityProject.Logging
{
/// <summary>
/// Implementation of IExceptionLogger for Raygun Exception Logger.
/// </summary>
public sealed ... | using System;
using System.Diagnostics;
using Mindscape.Raygun4Net;
using MarkerMetro.Unity.WinIntegration.Logging;
using MarkerMetro.Unity.WinIntegration;
namespace UnityProject.Logging
{
/// <summary>
/// Implementation of IExceptionLogger for Raygun Exception Logger.
/// </summary>
public sealed ... | Remove the outter try/catch in BuildRaygunClient | Remove the outter try/catch in BuildRaygunClient
| C# | mit | hungweng/MarkerMetro.Unity.WinShared,cedw032/MarkerMetro.Unity.WinShared,hungweng/MarkerMetro.Unity.WinShared,MarkerMetro/MarkerMetro.Unity.WinShared,Kezeali/MarkerMetro.Unity.WinShared |
30e75f1b47ea63d1bba3d2295df6a8a6e3dc20e5 | StarsReloaded.Client.ViewModel/Fragments/CollapsiblePanelViewModel.cs | StarsReloaded.Client.ViewModel/Fragments/CollapsiblePanelViewModel.cs | namespace StarsReloaded.Client.ViewModel.Fragments
{
using System.Windows;
using GalaSoft.MvvmLight.Command;
using StarsReloaded.Client.ViewModel.Attributes;
public class CollapsiblePanelViewModel : BaseViewModel
{
private bool isExpanded;
private string header;
public ... | namespace StarsReloaded.Client.ViewModel.Fragments
{
using System.Windows;
using GalaSoft.MvvmLight.Command;
using StarsReloaded.Client.ViewModel.Attributes;
public class CollapsiblePanelViewModel : BaseViewModel
{
private bool isExpanded;
private string header;
public ... | Add TODO regarding use of styling in VM | Add TODO regarding use of styling in VM
| C# | mit | Misza13/StarsReloaded |
4681d1cd8cb7810edf2e865a0a7206eb17026fe0 | proj/Mail/Dragon.Mail/Impl/DefaultReceiverMapper.cs | proj/Mail/Dragon.Mail/Impl/DefaultReceiverMapper.cs | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dragon.Mail.Interfaces;
namespace Dragon.Mail.Impl
{
public class DefaultReceiverMapper : IReceiverMapper
{
public void Map(dynamic receiver, Models.Mail mail... | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dragon.Mail.Interfaces;
namespace Dragon.Mail.Impl
{
public class DefaultReceiverMapper : IReceiverMapper
{
public void Map(dynamic receiver, Models.Mail mail... | Check receiver has at least email property | Check receiver has at least email property
| C# | mit | jbinder/dragon,aduggleby/dragon,aduggleby/dragon,jbinder/dragon,jbinder/dragon,aduggleby/dragon |
27d0ca8d8795a20d623221aaf9bed11ca2e71c94 | src/Glimpse.Web.Common/Context/HttpRequestExtension.cs | src/Glimpse.Web.Common/Context/HttpRequestExtension.cs | using System;
namespace Glimpse.Web
{
public static class HttpRequestExtension
{
public static string Uri(this IHttpRequest request)
{
return $"{request.Scheme}://{request.Host}{request.PathBase}{request.Path}{request.QueryString}";
}
}
} | using System;
namespace Glimpse.Web
{
public static class HttpRequestExtension
{
public static string Uri(this IHttpRequest request)
{
return $"{request.Scheme}://{request.Host}{request.PathBase}{request.Path}{request.QueryString}";
}
public static string UriAbsolu... | Add extra extension method for getting URI | Add extra extension method for getting URI
| C# | mit | zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimps... |
1d82315e39f6f415473e6a08e64068b106ad93a6 | AngleSharp/DOM/Html/Objects/HTMLMarqueeElement.cs | AngleSharp/DOM/Html/Objects/HTMLMarqueeElement.cs | namespace AngleSharp.DOM.Html
{
using AngleSharp.Attributes;
using System;
/// <summary>
/// Represents the HTML marquee element.
/// </summary>
[DomHistorical]
sealed class HTMLMarqueeElement : HTMLElement
{
#region ctor
internal HTMLMarqueeElement()
: bas... | namespace AngleSharp.DOM.Html
{
using AngleSharp.Attributes;
using System;
/// <summary>
/// Represents the HTML marquee element.
/// </summary>
[DomHistorical]
sealed class HTMLMarqueeElement : HTMLElement
{
#region ctor
internal HTMLMarqueeElement()
: bas... | Handle Marquee start / stop via event | Handle Marquee start / stop via event
| C# | mit | AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,FlorianRappl/AngleSharp,zedr0n/AngleSharp.Local,Livven/AngleSharp,Livven/AngleSharp,Livven/AngleSharp,zedr0n/AngleSharp.Local,FlorianRappl/AngleSharp,zedr0n/AngleSharp.Local,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,AngleSharp... |
b5908ff54db5618660e0c64e31d2bae3494ffac0 | Program.cs | Program.cs | using System;
using System.Windows.Forms;
namespace FreenetTray
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
FNLog.Initialize();
Application.EnableVi... | using System;
using System.Windows.Forms;
namespace FreenetTray
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
// migrate settings from older config files for prev... | Migrate preferences from older assembly versions at launch | Migrate preferences from older assembly versions at launch
Without this, any preferences set by a user will be reset to the default
values every time the assembly version changes, for example upgrading
the tray app would cause it to forget user preferences
| C# | mit | freenet/wintray,freenet/wintray |
4cc4450ed743d2b6c8464fe419904ab9662f49bf | Program.cs | Program.cs | using System;
namespace UpVer
{
class Program
{
static void Main(string[] args)
{
try
{
var settings = new Settings(args);
var updater = new VersionUpdater(settings);
var changes = updater.Process();
if (... | using System;
namespace UpVer
{
class Program
{
static void Main(string[] args)
{
try
{
var settings = new Settings(args);
var updater = new VersionUpdater(settings);
var changes = updater.Process();
if (... | Remove pause at end (left in accidentally) | Remove pause at end (left in accidentally)
| C# | mit | jordanwallwork/upver |
13adfe7c2bb578deb79d3a04bff190238c22bce0 | OttoMail/src/OttoMail/Views/Shared/_Layout.cshtml | OttoMail/src/OttoMail/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
<link rel="stylesheet" type="text/css" href="~/css/styles.css" />
</head>
<body>
<div>
@RenderBody()
</div>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewBag.Title</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
<link rel="stylesheet" href="~/css/styles.css" />
</head>
<b... | Add bootstrap and jquery using bower package management. | Add bootstrap and jquery using bower package management.
| C# | mit | ottoetc/OttoMail,ottoetc/OttoMail,ottoetc/OttoMail |
a7449380cda7920f23cbb6d2f034ec634dcdba16 | osu.Game.Rulesets.Osu/Objects/SliderTick.cs | osu.Game.Rulesets.Osu/Objects/SliderTick.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.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Osu.Judgements;
using osu.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Osu.Judgements;
using osu.... | Fix osu! slider ticks appearing too late | Fix osu! slider ticks appearing too late
| C# | mit | peppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu |
d2ecdfa9ebd68fc34b1d9c8079a7fe69bf557bcc | Kudu.Core/Deployment/MsBuildSiteBuilder.cs | Kudu.Core/Deployment/MsBuildSiteBuilder.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Kudu.Contracts.Tracing;
using Kudu.Core.Infrastructure;
namespace Kudu.Core.Deployment
{
public abstract class MsBuildSiteBuilder : ISiteBuilder
{
private const string NuGetCachePathKey = "NuGetCachePath";
private readonly E... | using System;
using System.Linq;
using System.Threading.Tasks;
using Kudu.Contracts.Tracing;
using Kudu.Core.Infrastructure;
namespace Kudu.Core.Deployment
{
public abstract class MsBuildSiteBuilder : ISiteBuilder
{
private const string NuGetCachePathKey = "NuGetCachePath";
private const strin... | Set flag to enable package restore for future versions of nuget. | Set flag to enable package restore for future versions of nuget.
| C# | apache-2.0 | mauricionr/kudu,shrimpy/kudu,barnyp/kudu,shrimpy/kudu,bbauya/kudu,shibayan/kudu,chrisrpatterson/kudu,chrisrpatterson/kudu,puneet-gupta/kudu,kenegozi/kudu,WeAreMammoth/kudu-obsolete,EricSten-MSFT/kudu,juvchan/kudu,dev-enthusiast/kudu,sitereactor/kudu,puneet-gupta/kudu,juoni/kudu,duncansmart/kudu,mauricionr/kudu,duncansm... |
d3b64dd677898ce3a5e1f1eea795a72e55f6dc62 | symbooglix/symbooglix/Core/Solver/ISolver.cs | symbooglix/symbooglix/Core/Solver/ISolver.cs | using System;
using System.Collections.Generic;
namespace symbooglix
{
public interface ISolver
{
void SetConstraints(ConstraintManager cm);
// This can be used as a hint to the solver to destroy Constraints created internally in the solver
void DropConstraints();
// Given the... | using System;
using System.Collections.Generic;
namespace symbooglix
{
public interface ISolver
{
void SetConstraints(ConstraintManager cm);
void SetFunctions(IEnumerable<Microsoft.Boogie.Function> functions);
// Given the constraints is the query expression satisfiable
// \re... | Add method to solver interface to tell it about functions it might see in queries. | Add method to solver interface to tell it about functions it might
see in queries.
Also remove the dropConstaints() method for now. It probably isn't
a good idea to have it as it leaks information about the internal
implementation.
| C# | bsd-2-clause | symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix |
2eb304668b2f72791a1d3bfb12767218b3a66e56 | Src/MultipleStartNodes/PackageActions/CreateDatabase.cs | Src/MultipleStartNodes/PackageActions/CreateDatabase.cs | using MultipleStartNodes.Models;
using MultipleStartNodes.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using umbraco.cms.businesslogic.packager.standardPackageActions;
using umbraco.interfaces;
using Umbraco.Core.Loggin... | using MultipleStartNodes.Models;
using MultipleStartNodes.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using umbraco.cms.businesslogic.packager.standardPackageActions;
using umbraco.interfaces;
using Umbraco.Core.Loggin... | Check if table exist before creating it in the install | Check if table exist before creating it in the install
| C# | mit | danwhite85/Umbraco.MultipleStartNodes,danwhite85/Umbraco.MultipleStartNodes,danwhite85/Umbraco.MultipleStartNodes |
aedd548c3be0c7aaf09fbdf3a649a4ac9a7e8856 | samples/SampleApp/Startup.cs | samples/SampleApp/Startup.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
namespace SampleApp
{
public class Startup
{
public void Co... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
namespace SampleApp
{
public class Startup
{
public void Co... | Fix sample perf (Option 1) | Fix sample perf (Option 1)
No need to await just return Task | C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
8425ac329908ff28a61e1f5d23106191eac592ee | Snittlistan.Test/PlayerStat_Test.cs | Snittlistan.Test/PlayerStat_Test.cs | using System;
using System.Linq;
using MvcContrib.TestHelper;
using Snittlistan.Infrastructure.Indexes;
using Snittlistan.Models;
using Xunit;
namespace Snittlistan.Test
{
public class PlayerStat_Test : DbTest
{
[Fact]
public void VerifyIndex()
{
// Arrange
IndexCreator.CreateIndexes(Stor... | using System;
using System.Linq;
using MvcContrib.TestHelper;
using Snittlistan.Infrastructure.Indexes;
using Snittlistan.Models;
using Xunit;
namespace Snittlistan.Test
{
public class PlayerStat_Test : DbTest
{
[Fact]
public void VerifyIndex()
{
// Arrange
IndexCreator.CreateIndexes(Stor... | Correct way to wait for indexing | Correct way to wait for indexing
| C# | mit | dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan |
0cd03b27bda272224a599e2c0f00da18be4dccb9 | src/Firehose.Web/Authors/MikeKanakos.cs | src/Firehose.Web/Authors/MikeKanakos.cs | public class MikeKanakos : IAmACommunityMember
{
public string FirstName => "Mike";
public string LastName => "Kanakos";
public string ShortBioOrTagLine => "Windows IT pro located in the RTP area of North Carolina. Active Directory, Azure AD, Group Policy, and automation.";
public st... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MikeKanakos : IAmACommunityMember
{
public string FirstName => "Mike";
public string LastN... | Add missing namespace and using statements. | Add missing namespace and using statements. | C# | mit | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell |
1cc83fdd052366f52cf2500e669b7cdd39410a19 | src/Nest/Domain/Cat/CatIndicesRecord.cs | src/Nest/Domain/Cat/CatIndicesRecord.cs | using Newtonsoft.Json;
namespace Nest
{
[JsonObject]
public class CatIndicesRecord : ICatRecord
{
[JsonProperty("docs.count")]
public string DocsCount { get; set; }
[JsonProperty("docs.deleted")]
public string DocsDeleted { get; set; }
[JsonProperty("health")]
public string Health { get; set; }
[J... | using Newtonsoft.Json;
namespace Nest
{
[JsonObject]
public class CatIndicesRecord : ICatRecord
{
[JsonProperty("docs.count")]
public string DocsCount { get; set; }
[JsonProperty("docs.deleted")]
public string DocsDeleted { get; set; }
[JsonProperty("health")]
public string Health { get; set; }
[J... | Add status to cat indices response | Add status to cat indices response
Closes #1340
| C# | apache-2.0 | faisal00813/elasticsearch-net,UdiBen/elasticsearch-net,TheFireCookie/elasticsearch-net,jonyadamit/elasticsearch-net,starckgates/elasticsearch-net,junlapong/elasticsearch-net,ststeiger/elasticsearch-net,geofeedia/elasticsearch-net,CSGOpenSource/elasticsearch-net,azubanov/elasticsearch-net,cstlaurent/elasticsearch-net,st... |
6cb7b318ef43ef682cacda6d48a8ba740064d4bb | src/Testing/src/CollectDumpAttribute.cs | src/Testing/src/CollectDumpAttribute.cs | // Copyright(c) .NET Foundation.All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Testing;
namesp... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Testing;
name... | Normalize all file headers to the expected Apache 2.0 license | Normalize all file headers to the expected Apache 2.0 license
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
a85a592f70245b01f8bde3db136f913912da67c4 | osu.Game.Rulesets.Osu/Skinning/OsuSkinColour.cs | osu.Game.Rulesets.Osu/Skinning/OsuSkinColour.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.
namespace osu.Game.Rulesets.Osu.Skinning
{
public enum OsuSkinColour
{
SliderTrackOverride,
SliderBorder,
SliderBall
}
}
| // 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.
namespace osu.Game.Rulesets.Osu.Skinning
{
public enum OsuSkinColour
{
SliderTrackOverride,
SliderBorder,
SliderBall,
SpinnerBackg... | Add lookup for spinner background colour | Add lookup for spinner background colour
| C# | mit | smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu |
efc6f6cf97c6fad05c5da3a98100e2bf83fbbb05 | src/RestfulRouting/Mapper.cs | src/RestfulRouting/Mapper.cs | namespace RestfulRouting
{
public abstract class Mapper
{
}
}
| using System;
using System.Web.Routing;
namespace RestfulRouting
{
public abstract class Mapper
{
protected Route GenerateRoute(string path, string controller, string action, string[] httpMethods)
{
throw new NotImplementedException();
}
}
}
| Add new method stub for generating routes | Add new method stub for generating routes
| C# | mit | stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing |
d1591491e5c818b903b6bf51900c3a4d1721bbeb | NCrunchAdapterForUnity.cs | NCrunchAdapterForUnity.cs | using SyntaxTree.VisualStudio.Unity.Bridge;
using UnityEditor;
[InitializeOnLoad]
public class NCrunchAdapterForUnity
{
public const string NUnitUnityReference = @"<Reference Include=""nunit.framework"">
<HintPath>Library\UnityAssemblies\nunit.framework.dll</HintPath>
</Reference>";
publi... | using System.Text.RegularExpressions;
using SyntaxTree.VisualStudio.Unity.Bridge;
using UnityEditor;
[InitializeOnLoad]
public class NCrunchAdapterForUnity
{
public const string NUnitUnityReference = @"<Reference Include=""nunit.framework"">
<HintPath>.*nunit.framework.dll</HintPath>
</Referenc... | Replace reference by using regex | Replace reference by using regex
To avoid path inconsistence between different Unity versions.
| C# | mit | networm/NCrunchAdapterForUnity |
79e584cd272292c39a25ce96f65a91d6f066c395 | TrueCraft.Core/Logic/Blocks/TallGrassBlock.cs | TrueCraft.Core/Logic/Blocks/TallGrassBlock.cs | using System;
using TrueCraft.API.Logic;
using TrueCraft.Core.Logic.Items;
using TrueCraft.API;
namespace TrueCraft.Core.Logic.Blocks
{
public class TallGrassBlock : BlockProvider
{
public static readonly byte BlockID = 0x1F;
public override byte ID { get { return 0x1F; } }
... | using System;
using TrueCraft.API.Logic;
using TrueCraft.Core.Logic.Items;
using TrueCraft.API;
namespace TrueCraft.Core.Logic.Blocks
{
public class TallGrassBlock : BlockProvider
{
public static readonly byte BlockID = 0x1F;
public override byte ID { get { return 0x1F; } }
... | Remove tall grass metadata when dropping seed | Remove tall grass metadata when dropping seed
| C# | mit | flibitijibibo/TrueCraft,robinkanters/TrueCraft,christopherbauer/TrueCraft,creatorfromhell/TrueCraft,blha303/TrueCraft,Mitch528/TrueCraft,christopherbauer/TrueCraft,flibitijibibo/TrueCraft,SirCmpwn/TrueCraft,thdtjsdn/TrueCraft,SirCmpwn/TrueCraft,blha303/TrueCraft,thdtjsdn/TrueCraft,flibitijibibo/TrueCraft,robinkanters/T... |
90dcbe9e33684cf05504de0e9ab22d939ad8d710 | Anlab.Core/Domain/TestItem.cs | Anlab.Core/Domain/TestItem.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Anlab.Core.Domain
{
public class TestItem
{
[Key]
public int Id { get; set; }
[Required]
[StringLength(7)]
public string FeeSchedule { get; set; }
... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Anlab.Core.Domain
{
public class TestItem
{
[Key]
public int Id { get; set; }
[Required]
[StringLength(7)]
public string FeeSchedule { get; set; }
... | Add other to the enum | Add other to the enum
| C# | mit | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab |
51d1cad33b4d26eb9d3d5ba41b699c40d8b4fdb1 | src/Rook.Compiling/Syntax/Class.cs | src/Rook.Compiling/Syntax/Class.cs | using System.Collections.Generic;
using System.Linq;
using Parsley;
using Rook.Compiling.Types;
namespace Rook.Compiling.Syntax
{
public class Class : TypedSyntaxTree, Binding
{
public Position Position { get; private set; }
public Name Name { get; private set; }
public IEnumerable<Func... | using System.Collections.Generic;
using System.Linq;
using Parsley;
using Rook.Compiling.Types;
namespace Rook.Compiling.Syntax
{
public class Class : TypedSyntaxTree, Binding
{
public Position Position { get; private set; }
public Name Name { get; private set; }
public IEnumerable<Func... | Fix bug in which class members polluted the surrounding namespace. | Fix bug in which class members polluted the surrounding namespace.
| C# | mit | plioi/rook |
44c437983c43bc882fc8c434fb154db616ea5980 | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System.Reflection;
using System.Security;
[assembly: AssemblyVersion("0.1.0.0")]
[assembly: AssemblyCopyright("Copyright 2008-2009 James Gregory and contributors (Paul Batum, Andrew Stewart, Chad Myers et al). All rights reserved.")]
[assembly: AssemblyProduct("Fluent NHibernate")]
[assembly: AssemblyCompa... | using System.Reflection;
using System.Security;
[assembly: AssemblyVersion("0.1.0.0")]
[assembly: AssemblyCopyright("Copyright 2008-2009 James Gregory and contributors (Paul Batum, Andrew Stewart, Chad Myers, Hudson Akridge et al). All rights reserved.")]
[assembly: AssemblyProduct("Fluent NHibernate")]
[assembl... | Test for Jame's Github mirror | Test for Jame's Github mirror
git-svn-id: a161142445158cf41e00e2afdd70bb78aded5464@496 48f0ce17-cc52-0410-af8c-857c09b6549b
| C# | bsd-3-clause | hzhgis/ss,HermanSchoenfeld/fluent-nhibernate,chester89/fluent-nhibernate,bogdan7/nhibernate,chester89/fluent-nhibernate,MiguelMadero/fluent-nhibernate,lingxyd/fluent-nhibernate,lingxyd/fluent-nhibernate,owerkop/fluent-nhibernate,hzhgis/ss,HermanSchoenfeld/fluent-nhibernate,oceanho/fluent-nhibernate,hzhgis/ss,bogdan7/nh... |
814b92893770771ef3993b1b63d08908a0aa16a0 | FsxWebApi/FsxWebApi/Services/PlaneController.cs | FsxWebApi/FsxWebApi/Services/PlaneController.cs | namespace FsxWebApi.Services
{
using System.Web.Http.Cors;
using Infrastructure;
using Model;
using System.Web.Http;
[EnableCors(origins: "http://localhost:26759", headers: "*", methods: "*")]
public class PlaneController : ApiController
{
private readonly FsxManager _fsxManager = ... | namespace FsxWebApi.Services
{
using System.Web.Http.Cors;
using Infrastructure;
using Model;
using System.Web.Http;
[EnableCors(origins: "*", headers: "*", methods: "*")]
public class PlaneController : ApiController
{
private readonly FsxManager _fsxManager = new FsxManager();
... | Access allwed for all addresses (by CORS) | Access allwed for all addresses (by CORS)
| C# | mit | Krzyrok/FsxWebApi,Krzyrok/FsxWithGoogleMaps |
1b8012dfe591ccf0933172276dfbdad582523866 | OpenOrderFramework/Views/P4M/P4MCheckout.cshtml | OpenOrderFramework/Views/P4M/P4MCheckout.cshtml | @model OpenOrderFramework.Models.Order
@{
ViewBag.Title = "P4MCheckout";
}
<link rel="import" href="/Scripts/widgets/p4m-checkout/p4m-checkout.html">
<link rel="import" href="/Scripts/widgets/p4m-login/p4m-login.html">
<h2>Parcel For Me</h2>
<p4m-login></p4m-login>
<p4m-checkout></p4m-checkout> | @model OpenOrderFramework.Models.Order
@{
ViewBag.Title = "P4MCheckout";
}
<link rel="import" href="/Scripts/widgets/p4m-checkout/p4m-checkout.html">
<link rel="import" href="/Scripts/widgets/p4m-login/p4m-login.html">
<h2>Parcel For Me</h2>
<p4m-checkout></p4m-checkout> | Remove redundant login widget in page | Remove redundant login widget in page
| C# | mit | ParcelForMe/p4m-demo-shop,ParcelForMe/p4m-demo-shop,ParcelForMe/p4m-demo-shop,ParcelForMe/p4m-demo-shop |
be82d0df867912239ecb48d4ef74dda3e66b571f | MadCat/NutEngine/Sprite.cs | MadCat/NutEngine/Sprite.cs | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace NutEngine
{
public class Sprite : Node, IDrawable
{
public Texture2D Atlas { get; }
public Rectangle? Frame { get; set; }
public Color Color { get; set; }
public Vector2 Origin { get; set; }
... | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace NutEngine
{
public class Sprite : Node, IDrawable
{
public Texture2D Atlas { get; }
public Rectangle? Frame { get; set; }
public Color Color { get; set; }
public Vector2 Origin { get; set; }
... | Add default value for frame in constructor | Add default value for frame in constructor
| C# | mit | EasyPeasyLemonSqueezy/MadCat |
64c5d352a3c671f7eecb0c66eddb9a9d62f9927b | 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... | Increment assembly version to 1.1.2 | Increment assembly version to 1.1.2
| C# | mit | jasonmcboyd/Treenumerable |
56ccc1086f656e92431c3c26f36cc19922835ee8 | CefSharp/JavascriptResponse.cs | CefSharp/JavascriptResponse.cs | using System.Runtime.Serialization;
namespace CefSharp
{
[DataContract]
[KnownType(typeof(object[]))]
public class JavascriptResponse
{
[DataMember]
public string Message { get; set; }
[DataMember]
public bool Success { get; set; }
[DataMember]
public object Result { get; set; }
}
}
| using System.Collections.Generic;
using System.Runtime.Serialization;
namespace CefSharp
{
[DataContract]
[KnownType(typeof(object[]))]
[KnownType(typeof(Dictionary<string,object>))]
public class JavascriptResponse
{
[DataMember]
public string Message { get; set; }
[DataMember]
public bool Success { get... | Add [KnownType(typeof(Dictionary<string,object>))] to allow for Object mapping to be passed over WCF channel | Add [KnownType(typeof(Dictionary<string,object>))] to allow for Object mapping to be passed over WCF channel
| C# | bsd-3-clause | NumbersInternational/CefSharp,zhangjingpu/CefSharp,zhangjingpu/CefSharp,Livit/CefSharp,twxstar/CefSharp,jamespearce2006/CefSharp,ITGlobal/CefSharp,zhangjingpu/CefSharp,Octopus-ITSM/CefSharp,rlmcneary2/CefSharp,illfang/CefSharp,ruisebastiao/CefSharp,Livit/CefSharp,ITGlobal/CefSharp,battewr/CefSharp,AJDev77/CefSharp,rove... |
3b26b49f2bc62942c6bd9e6daf78f210ff7fa827 | CSharpLLVM/Generator/Instructions/FlowControl/EmitRet.cs | CSharpLLVM/Generator/Instructions/FlowControl/EmitRet.cs | using Swigged.LLVM;
using Mono.Cecil;
using Mono.Cecil.Cil;
using CSharpLLVM.Compilation;
using CSharpLLVM.Stack;
namespace CSharpLLVM.Generator.Instructions.FlowControl
{
[InstructionHandler(Code.Ret)]
class EmitRet : ICodeEmitter
{
/// <summary>
/// Emits a ret instruction.
/// <... | using Swigged.LLVM;
using Mono.Cecil;
using Mono.Cecil.Cil;
using CSharpLLVM.Compilation;
using CSharpLLVM.Stack;
using CSharpLLVM.Helpers;
namespace CSharpLLVM.Generator.Instructions.FlowControl
{
[InstructionHandler(Code.Ret)]
class EmitRet : ICodeEmitter
{
/// <summary>
/// Emits a ret ... | Add cast on return value if needed | Add cast on return value if needed
| C# | mit | SharpNative/CSharpLLVM,SharpNative/CSharpLLVM |
8c1e53dec942c0cb96882d7ad93de1b6db5f78f7 | MagicalCryptoWallet.Tests/WalletTests.cs | MagicalCryptoWallet.Tests/WalletTests.cs | using MagicalCryptoWallet.KeyManagement;
using MagicalCryptoWallet.Services;
using NBitcoin;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace MagicalCryptoWallet.Tests
{
public class WalletTests : IClassFixture<SharedFixture>
... | using MagicalCryptoWallet.KeyManagement;
using MagicalCryptoWallet.Logging;
using MagicalCryptoWallet.Services;
using NBitcoin;
using NBitcoin.Protocol;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Magi... | Add connection to the Bitcoin network test | Add connection to the Bitcoin network test
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
b5cbdcf9819dff87a57758b4577c80da49f9ed85 | osu.Game/Beatmaps/Drawables/Cards/Buttons/FavouriteButton.cs | osu.Game/Beatmaps/Drawables/Cards/Buttons/FavouriteButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Sprites;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Beatmaps.Drawables.Cards.Buttons
{
public class FavouriteButto... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Game.Online.API.Requests.Responses;
using osu.Framework.Logging;
using osu.Game.Online.API... | Implement basic behaviour of favourite button | Implement basic behaviour of favourite button
| C# | mit | smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu |
002d795225de35a00e957f1ea67d86608f2bd836 | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.Tests.EnterpriseLibraryConfigurator")]
[assembly: AssemblyDescription("Tests for the Autofac container configurator for Enterprise Library.")]
| using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.Tests.EnterpriseLibraryConfigurator")]
| 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 | autofac/Autofac.Extras.EnterpriseLibraryConfigurator |
489376ac62ea57393f681ec993ffbb9742362cf3 | WOptiPng/OptiPngWrapper.cs | WOptiPng/OptiPngWrapper.cs | using System;
using System.ComponentModel;
using System.Diagnostics;
namespace WOptiPng
{
public static class OptiPngWrapper
{
public static bool OptiPngExists()
{
var process = new Process
{
StartInfo = new ProcessStartInfo("optipng")
{
... | using System;
using System.ComponentModel;
using System.Diagnostics;
namespace WOptiPng
{
public static class OptiPngWrapper
{
public static bool OptiPngExists()
{
var process = new Process
{
StartInfo = new ProcessStartInfo("optipng")
{
... | Allow OptiPNG to fix some apparently broken PNGs | Allow OptiPNG to fix some apparently broken PNGs
| C# | mit | tp7/WOptiPNG |
6f2963a2504cc1e64773a10193f0e60c93b17884 | csharp/device/Microsoft.Azure.Devices.Client/TransportType.cs | csharp/device/Microsoft.Azure.Devices.Client/TransportType.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.Azure.Devices.Client
{
/// <summary>
/// Transport types supported by DeviceClient
/// </summary>
public enum TransportType
{
/// <summary>
/// Advanced Message Queuing Protocol transport.
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Devices.Client
{
/// <summary>
/// Transport types supported by DeviceClient - AMQP/TCP, HTTP 1.1, MQTT/TCP, AMQP/WS, MQTT/WS
///... | Update tranportype with new additions for Mqtt/Ws and Mqtt/Tcp | Update tranportype with new additions for Mqtt/Ws and Mqtt/Tcp
| C# | mit | Eclo/azure-iot-sdks,Eclo/azure-iot-sdks,Eclo/azure-iot-sdks,Eclo/azure-iot-sdks,Eclo/azure-iot-sdks,Eclo/azure-iot-sdks,Eclo/azure-iot-sdks,Eclo/azure-iot-sdks,Eclo/azure-iot-sdks |
224572a5bdd66cb9b4f09fe185fbc11de1e4cc0e | resharper/resharper-unity/src/CSharp/Daemon/Stages/Dispatcher/UnityElementProblemAnalyzer.cs | resharper/resharper-unity/src/CSharp/Daemon/Stages/Dispatcher/UnityElementProblemAnalyzer.cs | using JetBrains.Annotations;
using JetBrains.ReSharper.Daemon.Stages.Dispatcher;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.ReSharper.Psi.Tree;
namespace JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Stages.Dispatcher
{
public abstract... | using JetBrains.Annotations;
using JetBrains.ReSharper.Daemon.Stages.Dispatcher;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.ReSharper.Psi.Tree;
namespace JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Stages.Dispatcher
{
public abstract... | Support all daemon kinds except global analysis | Support all daemon kinds except global analysis
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity |
011c60502f6bdbcc7b2f7db7325020317c4449b2 | src/WebJobs.Script.WebHost/Models/MSIContext.cs | src/WebJobs.Script.WebHost/Models/MSIContext.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace Microsoft.Azure.WebJobs.Script.WebHost.Models
{
public class MSIContext
{
public string MSISecret { get; s... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace Microsoft.Azure.WebJobs.Script.WebHost.Models
{
public class MSIContext
{
public string SiteName { get; se... | Add sitename to MSI specialization payload. | Add sitename to MSI specialization payload.
Will be used by token service sidecar
| C# | mit | Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script |
ee303fc38c2fae26345fe4f751d8c1d4af69291e | src/AppHarbor.Tests/CommandDispatcherTest.cs | src/AppHarbor.Tests/CommandDispatcherTest.cs | namespace AppHarbor.Tests
{
public class CommandDispatcherTest
{
public class FooCommand : ICommand
{
public virtual void Execute(string[] arguments)
{
}
}
}
}
| using System.Linq;
using Castle.MicroKernel;
using Moq;
using Ploeh.AutoFixture.Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests
{
public class CommandDispatcherTest
{
public class FooCommand : ICommand
{
public virtual void Execute(string[] arguments)
{
}
}
[Theory]
[InlineAutoCommandDa... | Verify that executing single argument command works as expected | Verify that executing single argument command works as expected
| C# | mit | appharbor/appharbor-cli |
6bed0fcd98969e4496a342526b3b2fc359aa02a1 | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.Tests.Multitenant")]
[assembly: AssemblyDescription("Tests for the Autofac multitenancy feature.")]
| using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.Tests.Multitenant")]
| 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 | autofac/Autofac.Multitenant |
640b7e79afd6e1419bd3ac5e4ed690826915097b | frogJumper/Assets/scripts/mainMenuHandler.cs | frogJumper/Assets/scripts/mainMenuHandler.cs | using UnityEngine;
using System.Collections;
public class mainMenuHandler : MonoBehaviour {
// private Texture2D startButton;
void OnGUI () {
GUI.backgroundColor = Color.clear;
if (GUI.Button (new Rect (260,300, 300, 300), "")) {
// print ("Start Game");
//start game
Application.LoadLevel(2);
}
... | using UnityEngine;
using System.Collections;
public class mainMenuHandler : MonoBehaviour {
public Texture2D startButton;
void OnGUI () {
GUI.backgroundColor = Color.clear;
if (GUI.Button (new Rect (Screen.width/20*3,Screen.height/10*4, 250, 250), startButton)) {
// print ("Start Game");
//start game... | Fix pos of main menu buttons | Fix pos of main menu buttons
| C# | mit | danielholst/Froggy |
8bd04109701d298f78be3d5f1186050805e5bb91 | src/EntityFramework.Filters/FilterInterceptor.cs | src/EntityFramework.Filters/FilterInterceptor.cs | namespace EntityFramework.Filters
{
using System.Data.Entity.Core.Common.CommandTrees;
using System.Data.Entity.Core.Metadata.Edm;
using System.Data.Entity.Infrastructure.Interception;
using System.Linq;
public class FilterInterceptor : IDbCommandTreeInterceptor
{
public void TreeCreat... | namespace EntityFramework.Filters
{
using System.Data.Entity.Core.Common.CommandTrees;
using System.Data.Entity.Core.Metadata.Edm;
using System.Data.Entity.Infrastructure.Interception;
using System.Linq;
public class FilterInterceptor : IDbCommandTreeInterceptor
{
public void TreeCreate... | Add DbContext null check to FieldInterceptor.cs | Add DbContext null check to FieldInterceptor.cs
In some cases (outlined under "caveat" here, http://entityframework.codeplex.com/wikipage?title=Interception) EntityFramework interceptors may not have any DbContexts associated with them. The current code will cause a null reference exception. This can be replicated b... | C# | apache-2.0 | jonnybee/EntityFramework.Filters,pedroreys/EntityFramework.Filters,jbogard/EntityFramework.Filters |
8f17914ea55b1aef65df7bef6fbf6d3de8b6965b | source/Glimpse.Core/Resource/InsightResource.cs | source/Glimpse.Core/Resource/InsightResource.cs | using Glimpse.Core.Extensibility;
namespace Glimpse.Core.Resource
{
/// <summary>
/// The <see cref="IResource"/> implementation responsible for providing the Glimpse JavaScript client to the browser.
/// </summary>
public class InsightResource : FileResource, IKey
{
internal const string ... | using Glimpse.Core.Extensibility;
namespace Glimpse.Core.Resource
{
/// <summary>
/// The <see cref="IResource"/> implementation responsible for providing the Glimpse JavaScript client to the browser.
/// </summary>
public class InsightResource : FileResource, IKey
{
internal const string ... | Add file that was missed in rename | Add file that was missed in rename
| C# | apache-2.0 | codevlabs/Glimpse,elkingtonmcb/Glimpse,Glimpse/Glimpse,flcdrg/Glimpse,dudzon/Glimpse,sorenhl/Glimpse,sorenhl/Glimpse,gabrielweyer/Glimpse,Glimpse/Glimpse,gabrielweyer/Glimpse,codevlabs/Glimpse,elkingtonmcb/Glimpse,rho24/Glimpse,sorenhl/Glimpse,rho24/Glimpse,rho24/Glimpse,SusanaL/Glimpse,Glimpse/Glimpse,paynecrl97/Glimp... |
5740dd8c8ac3f9e1c10f4a9bb79d00b29691aec4 | Plugins/PluginEnvironment.cs | Plugins/PluginEnvironment.cs | using System;
using System.Collections.Generic;
namespace TweetDck.Plugins{
[Flags]
enum PluginEnvironment{
None = 0,
Browser = 1,
Notification = 2
}
static class PluginEnvironmentExtensions{
public static IEnumerable<PluginEnvironment> Values{
get{
... | using System;
using System.Collections.Generic;
namespace TweetDck.Plugins{
[Flags]
enum PluginEnvironment{
None = 0,
Browser = 1,
Notification = 2
}
static class PluginEnvironmentExtensions{
public static IEnumerable<PluginEnvironment> Values{
get{
... | Add plugin bridge object to script variable list | Add plugin bridge object to script variable list
| C# | mit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck |
13a42be69a69d57c2fd8b8f009f389154ff23f1d | src/Abp.AutoMapper/AutoMapper/AutoMapFromAttribute.cs | src/Abp.AutoMapper/AutoMapper/AutoMapFromAttribute.cs | using System;
using Abp.Collections.Extensions;
using AutoMapper;
namespace Abp.AutoMapper
{
public class AutoMapFromAttribute : AutoMapAttributeBase
{
public MemberList MemberList { get; set; } = MemberList.Destination;
public AutoMapFromAttribute(params Type[] targetTypes)
: bas... | using System;
using Abp.Collections.Extensions;
using AutoMapper;
namespace Abp.AutoMapper
{
public class AutoMapFromAttribute : AutoMapAttributeBase
{
public MemberList MemberList { get; set; } = MemberList.Destination;
public AutoMapFromAttribute(params Type[] targetTypes)
: bas... | Fix create map not using MemberList property | Fix create map not using MemberList property
| C# | mit | AlexGeller/aspnetboilerplate,fengyeju/aspnetboilerplate,zclmoon/aspnetboilerplate,ryancyq/aspnetboilerplate,andmattia/aspnetboilerplate,oceanho/aspnetboilerplate,oceanho/aspnetboilerplate,carldai0106/aspnetboilerplate,fengyeju/aspnetboilerplate,carldai0106/aspnetboilerplate,abdllhbyrktr/aspnetboilerplate,andmattia/aspn... |
42c79520d112e307ac320ffc686baaae20870d48 | Curve.cs | Curve.cs | using UnityEngine;
public abstract class Curve : ICurve {
protected abstract Vector3 GetPositionImpl(float u);
protected abstract float LengthImpl { get; }
public static readonly Vector3 DefaultUpVector = Vector3.up;
protected bool Invalid { get; private set; }
public float Length { get; private set; }
pro... | using UnityEngine;
public abstract class Curve : ICurve {
protected abstract Vector3 GetPositionImpl(float u);
protected abstract float LengthImpl { get; }
public static readonly Vector3 DefaultUpVector = Vector3.up;
protected bool Invalid { get; private set; }
private float _length;
public float Length { ... | Fix for using Length before GetPosition. | Fix for using Length before GetPosition.
| C# | apache-2.0 | y-a-r-g/unity-curvee |
52f4c84fa51d9651c245018a0855e04d39673d26 | SupportManager.Web/Areas/Teams/BaseController.cs | SupportManager.Web/Areas/Teams/BaseController.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using SupportManager.DAL;
namespace SupportManager.Web.Areas.Teams
{
[Area("Teams")]
[Authorize]
public abstract class BaseController : Controller
{
p... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using SupportManager.DAL;
namespace SupportManager.Web.Areas.Teams
{
[Area("Teams")]
[Authorize]
public abstract class BaseController : Controller
{
p... | Return NotFound on invalid team ID's | web: Return NotFound on invalid team ID's
| C# | mit | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager |
65c3a1dfa1d4d449d30cd1d676584034a341f79f | src/VisualStudio/Core/Def/Implementation/UnusedReferences/ProjectAssets/ProjectAssetsFileReader.cs | src/VisualStudio/Core/Def/Implementation/UnusedReferences/ProjectAssets/ProjectAssetsFileReader.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.IO;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Sha... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.IO;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Sha... | Read file before the reader is disposed | Read file before the reader is disposed
| C# | mit | KevinRansom/roslyn,eriawan/roslyn,mavasani/roslyn,weltkante/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,dotnet/roslyn,bartdesmet/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,KevinRansom/roslyn,Cyru... |
11ae19654e7145a6929af70d817d4700c12ad5fe | DynamixelServo.Quadruped.WebInterface/Pages/_Layout.cshtml | DynamixelServo.Quadruped.WebInterface/Pages/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Quadruped WebInterface</title>
<link rel="stylesheet" href="~/css/site.css" />
<script src="~/js/site.min.js"></script>
</head>
<body>
@RenderB... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Quadruped WebInterface</title>
<link rel="stylesheet" href="~/css/site.css" />
@*<script src="~/js/site.min.js"></script>*@
</head>
<body>
@Ren... | Remove import for empty script file | Remove import for empty script file
| C# | apache-2.0 | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo |
05777646c714606ad50014e67e256966274a12d9 | src/Tgstation.Server.Host/Core/ServerPortProivder.cs | src/Tgstation.Server.Host/Core/ServerPortProivder.cs | using Microsoft.Extensions.Configuration;
using System;
using System.Linq;
namespace Tgstation.Server.Host.Core
{
/// <inheritdoc />
sealed class ServerPortProivder : IServerPortProvider
{
/// <inheritdoc />
public ushort HttpApiPort { get; }
/// <summary>
/// Initializes a new instance of the <see cref="... | using Microsoft.Extensions.Configuration;
using System;
using System.Linq;
namespace Tgstation.Server.Host.Core
{
/// <inheritdoc />
sealed class ServerPortProivder : IServerPortProvider
{
/// <inheritdoc />
public ushort HttpApiPort { get; }
/// <summary>
/// Initializes a new instance of the <see cref="... | Improve wording of an exception | Improve wording of an exception
| C# | agpl-3.0 | tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server |
13ca9f71e713748ebbdf3f81577ab4fde93b6120 | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api/Controllers/LearnerController.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api/Controllers/LearnerController.cs | using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
using SFA.DAS.CommitmentsV2.Application.Queries.GetAllLearners;
using System;
using System.Net;
using System.Threading.Tasks;
namespace SFA.DAS.CommitmentsV2... | using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
using SFA.DAS.CommitmentsV2.Application.Queries.GetAllLearners;
using System;
using System.Net;
using System.Threading.Ta... | Fix camel case on the Learners response | Fix camel case on the Learners response
| C# | mit | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments |
854beaab5f590f3a3e6fc0bd6f788c8fc2ed792e | osu.Desktop/Program.cs | osu.Desktop/Program.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.IO;
using System.Linq;
using osu.Framework;
using osu.Framework.Platform;
using osu.Game.IPC;
#if NET_FRAMEWORK
using System.Runtime;
#endif... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.IO;
using System.Linq;
using osu.Framework;
using osu.Framework.Platform;
using osu.Game.IPC;
namespace osu.Desktop
{
public static clas... | Remove only remaining .NET desktop code | Remove only remaining .NET desktop code
| C# | mit | peppy/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,2yangk23/osu,peppy/osu,naoey/osu,naoey/osu,ZLima12/osu,EVAST9919/osu,naoey/osu,ZLima12/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,DrabWeb/osu,DrabWeb/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,johnneijze... |
af8b7a243b8f67742789ff344cbd7f88afc6d7b4 | src/HttpMock.Integration.Tests/EndpointsReturningFilesTests.cs | src/HttpMock.Integration.Tests/EndpointsReturningFilesTests.cs | using System;
using System.IO;
using System.Net;
using NUnit.Framework;
namespace HttpMock.Integration.Tests
{
[TestFixture]
public class EndpointsReturningFilesTests
{
private const string FILE_NAME = "transcode-input.mp3";
private const string RES_TRANSCODE_INPUT_MP3 = "./res/"+FILE_NAME;
[Te... | using System;
using System.IO;
using System.Net;
using NUnit.Framework;
namespace HttpMock.Integration.Tests
{
[TestFixture]
public class EndpointsReturningFilesTests
{
private const string FILE_NAME = "transcode-input.mp3";
private const string RES_TRANSCODE_INPUT_MP3 = "res\\"+FILE_NAME;
[Tes... | Fix path, because NUnit does nto run from the current assembly dir | Fix path, because NUnit does nto run from the current assembly dir
| C# | mit | zhdusurfin/HttpMock,hibri/HttpMock |
8ce0e1343f08d42e196429744ba3a391eebdc534 | BeerCellier/Global.asax.cs | BeerCellier/Global.asax.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace BeerCellier
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
... | using System.Security.Claims;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace BeerCellier
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistratio... | Fix authentication crash on edit | Fix authentication crash on edit
| C# | mit | yanpearson/BeerCellier,yanpearson/BeerCellier |
5337bdf7841cfe80e88436ec7657d3251e695512 | Examples/Client/Program.cs | Examples/Client/Program.cs | using System;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using Obvs.Types;
using Obvs.ActiveMQ.Configuration;
using Obvs.Configuration;
using Obvs.Example.Messages;
using Obvs.Serialization.Json.Configuration;
namespace Obvs.Example.Client
{
internal static class Program
{
private ... | using System;
using Obvs.Types;
using Obvs.ActiveMQ.Configuration;
using Obvs.Configuration;
using Obvs.Example.Messages;
using Obvs.Serialization.Json.Configuration;
namespace Obvs.Example.Client
{
internal static class Program
{
private static void Main(string[] args)
{
var broke... | Remove unused references from example client | Remove unused references from example client
| C# | mit | inter8ection/Obvs |
bd174481a7ce4112b65f87b0d5f1c875f6582f66 | Tests/Scripting/Scripting.cs | Tests/Scripting/Scripting.cs | using System;
using System.CodeDom.Compiler;
using System.IO;
using System.Text;
using IronAHK.Scripting;
using NUnit.Framework;
namespace Tests
{
[TestFixture]
public partial class Scripting
{
[Test]
public void RunScripts()
{
string path = string.Format("..{0}..{0}Scr... | using System;
using System.CodeDom.Compiler;
using System.IO;
using System.Text;
using IronAHK.Scripting;
using NUnit.Framework;
namespace Tests
{
[TestFixture]
public partial class Scripting
{
[Test]
public void RunScripts()
{
string path = string.Format("..{0}..{0}Scr... | Set NUnit tests to run scripts under the current domain for access to the same console. | Set NUnit tests to run scripts under the current domain for access to the same console.
| C# | bsd-2-clause | michaltakac/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,polyethene/IronAHK,michaltakac/IronAHK,polyethene/IronAHK,polyethene/IronAHK,yatsek/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,polyethene/IronAHK,yatsek/IronAHK |
53e6a41eff53587dec6a3e3fe57de62b93a6c72e | src/NodaTime.Web/Models/FakeReleaseRepository.cs | src/NodaTime.Web/Models/FakeReleaseRepository.cs | // Copyright 2017 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System.Collections.Generic;
namespace NodaTime.Web.Models
{
/// <summary>
/// Fake implementation of IReleaseRepository used in cases of em... | // Copyright 2017 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System.Collections.Generic;
namespace NodaTime.Web.Models
{
/// <summary>
/// Fake implementation of IReleaseRepository used in cases of em... | Fix version number for the fake release | Fix version number for the fake release
| C# | apache-2.0 | malcolmr/nodatime,malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime,jskeet/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,jskeet/nodatime,nodatime/nodatime,BenJenkinson/nodatime |
b495c77a6435519a1298adc35617f7165090b871 | src/Generator/Passes/PassBuilder.cs | src/Generator/Passes/PassBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using CppSharp.Passes;
namespace CppSharp
{
/// <summary>
/// This class is used to build passes that will be run against the AST
/// that comes from C++.
/// </summary>
public class PassBuilder<T>
{
public List<T> Pass... | using System;
using System.Collections.Generic;
using System.Linq;
using CppSharp.Passes;
namespace CppSharp
{
/// <summary>
/// This class is used to build passes that will be run against the AST
/// that comes from C++.
/// </summary>
public class PassBuilder<T>
{
public List<T> Pass... | Set the driver property in TranslationUnitPass when adding new passes. | Set the driver property in TranslationUnitPass when adding new passes.
| C# | mit | inordertotest/CppSharp,ktopouzi/CppSharp,KonajuGames/CppSharp,ktopouzi/CppSharp,ddobrev/CppSharp,mono/CppSharp,mono/CppSharp,mydogisbox/CppSharp,u255436/CppSharp,u255436/CppSharp,mydogisbox/CppSharp,imazen/CppSharp,mydogisbox/CppSharp,xistoso/CppSharp,Samana/CppSharp,nalkaro/CppSharp,zillemarco/CppSharp,Samana/CppSharp... |
52b5965612a30c9acc108f18b291dca9da3bc746 | CakeMail.RestClient/Properties/AssemblyInfo.cs | CakeMail.RestClient/Properties/AssemblyInfo.cs | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | Increase nuget version to 2.0.0-beta02 | Increase nuget version to 2.0.0-beta02
| C# | mit | Jericho/CakeMail.RestClient |
43ecf253d6606bb329724d0df5bbb0e86b39423c | Configgy/Coercion/ValueCoercerAttributeBase.cs | Configgy/Coercion/ValueCoercerAttributeBase.cs | using System;
using System.Reflection;
namespace Configgy.Coercion
{
/// <summary>
/// A base class for any coercer attributes.
/// </summary>
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true, Inherited = true)]
public abstract class ValueCoercerAttributeBase : Attribute, IValueCoer... | using System;
using System.Reflection;
namespace Configgy.Coercion
{
/// <summary>
/// A base class for any coercer attributes.
/// </summary>
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true, Inherited = true)]
public abstract class ValueCoercerAttributeBase : Attribute, IValueCoer... | Make a method static because it can be | Make a method static because it can be
| C# | mit | bungeemonkee/Configgy |
8d5cddeda9874b46cbcffb9986862243a516204e | src/Fixie/TestClass.cs | src/Fixie/TestClass.cs | namespace Fixie
{
using System;
using System.Reflection;
using Internal;
/// <summary>
/// The context in which a test class is running.
/// </summary>
public class TestClass
{
readonly Action<Action<Case>> runCases;
readonly bool isStatic;
internal TestClass(Ty... | namespace Fixie
{
using System;
using System.Reflection;
using System.Runtime.ExceptionServices;
using Internal;
/// <summary>
/// The context in which a test class is running.
/// </summary>
public class TestClass
{
readonly Action<Action<Case>> runCases;
readonly ... | Use ExceptionDispatchInfo to rethrow test class constructor exceptions, now that all other such exception rethrows use ExceptionDispatchInfo. | Use ExceptionDispatchInfo to rethrow test class constructor exceptions, now that all other such exception rethrows use ExceptionDispatchInfo.
| C# | mit | fixie/fixie |
1c159f38d34863994587390879983538b78b5f81 | AspNetCore-v3/Breeze.Core/Query/AndOrPredicate.cs | AspNetCore-v3/Breeze.Core/Query/AndOrPredicate.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Breeze.Core {
/**
* @author IdeaBlade
*
*/
public class AndOrPredicate : BasePredicate {
private List<BasePredicate> _predicates;
pu... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Breeze.Core {
/**
* @author IdeaBlade
*
*/
public class AndOrPredicate : BasePredicate {
private List<BasePredicate> _predicates;
pu... | Change BuildAndOrExpr to use AndAlso & OrElse to make NHibernate Linq happy | Change BuildAndOrExpr to use AndAlso & OrElse to make NHibernate Linq happy
| C# | mit | Breeze/breeze.server.net,Breeze/breeze.server.net,Breeze/breeze.server.net,Breeze/breeze.server.net |
61ea3f2e6410980341803eb2c4548e917229ee3e | osu.Game.Tests/Visual/Gameplay/TestSceneSkinEditor.cs | osu.Game.Tests/Visual/Gameplay/TestSceneSkinEditor.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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Osu;
us... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Osu;
us... | Remove unnecessary test step creating needless skins | Remove unnecessary test step creating needless skins
| C# | mit | UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu |
925615320e4d8ae455738b5dc3fa1de8a170f71f | osu.Game/Skinning/DefaultSkinConfiguration.cs | osu.Game/Skinning/DefaultSkinConfiguration.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 osuTK.Graphics;
namespace osu.Game.Skinning
{
/// <summary>
/// A skin configuration pre-populated with sane defaults.
/// </summary>
public class ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osuTK.Graphics;
namespace osu.Game.Skinning
{
/// <summary>
/// A skin configuration pre-populated with sane defaults.
/// </summary>
public class ... | Update lazer default combo colours to match stable | Update lazer default combo colours to match stable
| C# | mit | smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,ZLima12/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,johnneijzen/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,ZLima12/osu,UselessToucan/osu,peppy/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,EVAST9919/osu,ppy/osu,peppy/osu-new,Neo... |
3e7d8ad60542c2234dd1d001ef8ea4a37e5a69e7 | src/Cassette.Web/PlaceholderReplacingResponseFilter.cs | src/Cassette.Web/PlaceholderReplacingResponseFilter.cs | using System;
using System.IO;
using System.Web;
using Cassette.UI;
namespace Cassette.Web
{
public class PlaceholderReplacingResponseFilter : MemoryStream
{
public PlaceholderReplacingResponseFilter(HttpResponseBase response, IPlaceholderTracker placeholderTracker)
{
th... | using System;
using System.IO;
using System.Web;
using Cassette.UI;
namespace Cassette.Web
{
public class PlaceholderReplacingResponseFilter : MemoryStream
{
public PlaceholderReplacingResponseFilter(HttpResponseBase response, IPlaceholderTracker placeholderTracker)
{
th... | Remove HTML content type check from response filter because the check is performed in CassetteApplication instead. | Remove HTML content type check from response filter because the check is performed in CassetteApplication instead.
| C# | mit | BluewireTechnologies/cassette,andrewdavey/cassette,damiensawyer/cassette,andrewdavey/cassette,damiensawyer/cassette,honestegg/cassette,honestegg/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette |
38482e3638508520748122b4f7a811724b6e4e9e | src/Features/Core/Portable/NavigateTo/INavigateToSearchService.cs | src/Features/Core/Portable/NavigateTo/INavigateToSearchService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Micro... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Micro... | Remove interface that is no longer user. | Remove interface that is no longer user.
| C# | mit | dotnet/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,eriawan/roslyn,CyrusNajmabadi/roslyn,wvdd007/roslyn,dotnet/roslyn,diryboy/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,diryboy/roslyn,AmadeusW/roslyn,weltkante/roslyn,dotnet/roslyn,physhi/roslyn,weltka... |
4588febcfc3214cc0a8a83b9401e2f0679c94421 | Portal.CMS.Web/Areas/PageBuilder/Views/Section/_Clone.cshtml | Portal.CMS.Web/Areas/PageBuilder/Views/Section/_Clone.cshtml | @model Portal.CMS.Web.Areas.PageBuilder.ViewModels.Section.CloneViewModel
@{
Layout = "";
var pageList = Model.PageList.Select(x => new SelectListItem { Value = x.PageId.ToString(), Text = x.PageName });
}
<div class="panel-inner">
@using (Html.BeginForm("Clone", "Section", FormMethod.Post))
{
... | @model Portal.CMS.Web.Areas.PageBuilder.ViewModels.Section.CloneViewModel
@{
Layout = "";
var pageList = Model.PageList.Select(x => new SelectListItem { Value = x.PageId.ToString(), Text = x.PageName });
}
<div class="panel-inner">
@using (Html.BeginForm("Clone", "Section", FormMethod.Post))
{
... | Add Validation Messages to the Clone Section Screen | Add Validation Messages to the Clone Section Screen
| C# | mit | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS |
28722a34e4a4a5781cb33525e40497f1e2a8b218 | AllReadyApp/Web-App/AllReady/Models/ApplicationUser.cs | AllReadyApp/Web-App/AllReady/Models/ApplicationUser.cs | using Microsoft.AspNet.Identity.EntityFramework;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace AllReady.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class ApplicationUser : IdentityUser... | using Microsoft.AspNet.Identity.EntityFramework;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace AllReady.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class ApplicationUser : IdentityUser... | Simplify logic in user profile validation | Simplify logic in user profile validation
| C# | mit | shanecharles/allReady,enderdickerson/allReady,anobleperson/allReady,auroraocciduusadmin/allReady,JowenMei/allReady,HamidMosalla/allReady,dpaquette/allReady,joelhulen/allReady,gftrader/allReady,binaryjanitor/allReady,forestcheng/allReady,pranap/allReady,JowenMei/allReady,BillWagner/allReady,jonatwabash/allReady,chinwobb... |
735663e59c9ae44141239898ee2bc21d2be8edf6 | AlertRoster.Web/Models/MemberGroup.cs | AlertRoster.Web/Models/MemberGroup.cs | namespace AlertRoster.Web.Models
{
public class MemberGroup
{
public int MemberId { get; private set; }
public virtual Member Member { get; private set; }
public int GroupId { get; private set; }
public virtual Group Group { get; private set; }
private MemberGroup()
... | namespace AlertRoster.Web.Models
{
public class MemberGroup
{
public int MemberId { get; private set; }
public virtual Member Member { get; private set; }
public int GroupId { get; private set; }
public virtual Group Group { get; private set; }
public GroupRole Role ... | Add group role to relationship | Add group role to relationship
| C# | mit | mattgwagner/alert-roster |
2f3f4f3e4b8b660b05d6652a9b1261f09901bcea | osu.Game.Rulesets.Osu/Edit/OsuBeatmapVerifier.cs | osu.Game.Rulesets.Osu/Edit/OsuBeatmapVerifier.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Edit.Checks.Components;
using osu.Game.Rulesets.Osu.Edit.Checks... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Edit.Checks.Components;
using osu.Game.Rulesets.Osu.Edit.Checks... | Add new checks to verifier | Add new checks to verifier
| C# | mit | peppy/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu |
757bb6911e6e7db4e4cbadaec7bb58858afc9780 | osu.Game.Tests/Visual/TestCasePlaybackControl.cs | osu.Game.Tests/Visual/TestCasePlaybackControl.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Screens.Edit.Components;
using osu.Game.Tests.Beatmaps;
using OpenTK;
namespac... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Screens.Edit.Components;
using osu.Game.Tests.Beatmaps;
using OpenTK;
namespace osu.Game... | Fix license header from wrong project | Fix license header from wrong project
| C# | mit | EVAST9919/osu,ZLima12/osu,smoogipoo/osu,DrabWeb/osu,peppy/osu,ppy/osu,Nabile-Rahmani/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,Frontear/osuKyzer,UselessToucan/osu,ZLima12/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,johnneijzen/osu,johnneijzen/osu,naoey/osu,DrabWeb/osu,2yangk23/osu,naoey/osu,NeoAdonis/osu,smo... |
0067657d0571e01a73275efc845a8b328719f768 | JenkinsTransport/BuildParameters/BaseBuildParameter.cs | JenkinsTransport/BuildParameters/BaseBuildParameter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using ThoughtWorks.CruiseControl.Remote.Parameters;
namespace JenkinsTransport.BuildParameters
{
public abstract class BaseBuildParameter
{
public string Name { get; private set; }
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using ThoughtWorks.CruiseControl.Remote.Parameters;
namespace JenkinsTransport.BuildParameters
{
public abstract class BaseBuildParameter
{
public string Name { get; private set; }
publ... | Modify method to abstract which will force a compile error if the implementation is not supplied in a derived class rather than throw a NotImplementedException() | Modify method to abstract which will force a compile error if the implementation is not supplied in a derived class rather than throw a NotImplementedException()
| C# | mit | csnate/cctray-jenkins-transport,csnate/cctray-jenkins-transport |
7202958d3ffe5e5eeb189155c3485e020231a3c5 | tests/OpenGost.Security.Cryptography.Tests/CmacTest.cs | tests/OpenGost.Security.Cryptography.Tests/CmacTest.cs | using Xunit;
namespace OpenGost.Security.Cryptography
{
public abstract class CmacTest<T> : CryptoConfigRequiredTest
where T : CMAC, new()
{
protected void VerifyCmac(string dataHex, string keyHex, string digestHex)
{
var digestBytes = digestHex.HexToByteArray();
... | using System;
using Xunit;
namespace OpenGost.Security.Cryptography
{
public abstract class CmacTest<T> : CryptoConfigRequiredTest
where T : CMAC, new()
{
protected void VerifyCmac(string dataHex, string keyHex, string digestHex)
{
var digestBytes = digestHex.HexToByteArray... | Cover CMAC -> Key property setter with null check test | Cover CMAC -> Key property setter with null check test
| C# | mit | sergezhigunov/OpenGost |
e0ca5b126f3574fe935e7c30336b3929dea61d7a | ShopifySharp/Entities/ShopifyClientDetails.cs | ShopifySharp/Entities/ShopifyClientDetails.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShopifySharp
{
public class ShopifyClientDetails
{
/// <summary>
/// Shopify does not offer documentation for this field.
/// </summary>
... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShopifySharp
{
public class ShopifyClientDetails
{
/// <summary>
/// Shopify does not offer documentation for this field.
/// </summary>
... | Add SessionHash property and mark SessionHeight as obsolete. | Add SessionHash property and mark SessionHeight as obsolete.
Closes #99
| C# | mit | clement911/ShopifySharp,addsb/ShopifySharp,nozzlegear/ShopifySharp |
834bcda840dcd253fe8ad7de6c3bb6618cfe0a6f | Content.Server/GameObjects/Components/Mobs/VisitingMindComponent.cs | Content.Server/GameObjects/Components/Mobs/VisitingMindComponent.cs | using Content.Server.Mobs;
using Robust.Shared.GameObjects;
namespace Content.Server.GameObjects.Components.Mobs
{
[RegisterComponent]
public sealed class VisitingMindComponent : Component
{
public override string Name => "VisitingMind";
public Mind Mind { get; set; }
public over... | using Content.Server.Mobs;
using Robust.Shared.GameObjects;
using Robust.Shared.ViewVariables;
namespace Content.Server.GameObjects.Components.Mobs
{
[RegisterComponent]
public sealed class VisitingMindComponent : Component
{
public override string Name => "VisitingMind";
[ViewVariables]
... | Make VisitingMind's Mind readable by VV | Make VisitingMind's Mind readable by VV
| C# | mit | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 |
bf43bae316ec6216e79beb95b2ba25137d91908d | System/services/monitoring/system/diagnosticts/processwaithandle.cs | System/services/monitoring/system/diagnosticts/processwaithandle.cs | using System;
using System.Threading;
using Microsoft.Win32;
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
namespace System.Diagnostics {
internal class ProcessWaitHandle : WaitHandle {
[ResourceExposure(ResourceScope.None)]
[ResourceCons... | using System;
using System.Threading;
using Microsoft.Win32;
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
namespace System.Diagnostics {
internal class ProcessWaitHandle : WaitHandle {
[ResourceExposure(ResourceScope.None)]
[ResourceCons... | Remove Marshal.GetHRForLastWin32Error call from Diagnostics.Process | [System] Remove Marshal.GetHRForLastWin32Error call from Diagnostics.Process
GetHRForLastWin32Error breaks the build on AOT, and even on non-AOT is unimplemented.
| C# | mit | mono/referencesource,evincarofautumn/referencesource |
9b9bf73ece95bc7a02192d31ddb7ddd5d0eae9cd | src/MusicStore/Program.cs | src/MusicStore/Program.cs | using Microsoft.AspNetCore.Hosting;
namespace MusicStore
{
public static class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
// We set the server before default args so that command line arguments can override it.
... | using Microsoft.AspNetCore.Hosting;
namespace MusicStore
{
public static class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
// We set the server by name before default args so that command line arguments can override it.
... | Use UseServer() instead of UseKestrel() to allow override in tests | Use UseServer() instead of UseKestrel() to allow override in tests
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
be3c6911f8aa6e188e33b2367452bf0e227097fd | Src/AutoRhinoMockUnitTest/Properties/AssemblyInfo.cs | Src/AutoRhinoMockUnitTest/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using Xunit;
// 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: AssemblyCulture("")]
// Setting ComVisible... | using System.Reflection;
using System.Runtime.InteropServices;
using Xunit;
// 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: AssemblyCulture("")]
// Setting ComVisible... | Disable parallelization for RhinoMock using alternative way | Disable parallelization for RhinoMock using alternative way
It appeared that explicit console runner parameter could cause
assembly to be still parallelized.
| C# | mit | AutoFixture/AutoFixture,Pvlerick/AutoFixture,sean-gilliam/AutoFixture,zvirja/AutoFixture |
290ae373469bd43d66c6c965edb7e0c016ff797a | osu.Game/Screens/Play/ScreenSuspensionHandler.cs | osu.Game/Screens/Play/ScreenSuspensionHandler.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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Platform;
nam... | // 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.Diagnostics;
using JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using os... | Add assertion of only usage game-wide | Add assertion of only usage game-wide
| C# | mit | peppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,ppy/osu,peppy/osu-new |
d4e60da38f3f02458494b3089003e6b8a2c43c75 | src/CollectdWinService/Properties/AssemblyInfo.cs | src/CollectdWinService/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CollectdWinService")]
[assembly: Assembl... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CollectdWinService")]
[assembly:... | Include build number in version | Include build number in version
| C# | apache-2.0 | Netuitive/collectdwin,Netuitive/netuitive-windows-agent |
13a0d4eadcd77c4e7a804a4335f6c03401e5dcf3 | src/TeamCityApi/UseCases/ShowBuildChainUseCase.cs | src/TeamCityApi/UseCases/ShowBuildChainUseCase.cs | using System.Linq;
using System.Threading.Tasks;
using TeamCityApi.Helpers;
using TeamCityApi.Logging;
namespace TeamCityApi.UseCases
{
public class ShowBuildChainUseCase
{
private static readonly ILog Log = LogProvider.GetLogger(typeof(ShowBuildChainUseCase));
private readonly ITeamCityClien... | using System.Linq;
using System.Threading.Tasks;
using TeamCityApi.Helpers;
using TeamCityApi.Logging;
namespace TeamCityApi.UseCases
{
public class ShowBuildChainUseCase
{
private static readonly ILog Log = LogProvider.GetLogger(typeof(ShowBuildChainUseCase));
private readonly ITeamCityClien... | Fix show-build-chain logic to properly detect cloned build configs. | Fix show-build-chain logic to properly detect cloned build configs.
| C# | mit | ComputerWorkware/TeamCityApi |
ad207dbb5b3e0a21f754af86edc340e3257784fd | Assets/Alensia/Core/Common/ComponentExtensions.cs | Assets/Alensia/Core/Common/ComponentExtensions.cs | using UnityEngine;
namespace Alensia.Core.Common
{
public static class ComponentExtensions
{
public static T GetOrAddComponent<T>(this Component component) where T : Component
{
return component.GetComponent<T>() ?? component.gameObject.AddComponent<T>();
}
}
} | using System.Collections.Generic;
using UnityEngine;
namespace Alensia.Core.Common
{
public static class ComponentExtensions
{
public static T GetOrAddComponent<T>(this Component component) where T : Component
{
return component.GetComponent<T>() ?? component.gameObject.AddComponen... | Duplicate some methods from TransformExtensions for convenience | Duplicate some methods from TransformExtensions for convenience
| C# | apache-2.0 | mysticfall/Alensia |
c73cec6b1ee407e85dbc1f0d2c9ed23316b321a9 | DapperTesting/Core/Data/MsSqlConnectionFactory.cs | DapperTesting/Core/Data/MsSqlConnectionFactory.cs | using System.Data.Common;
using System.Data.SqlClient;
using DapperTesting.Core.Configuration;
namespace DapperTesting.Core.Data
{
public class MsSqlConnectionFactory : IConnectionFactory
{
private readonly IConfiguration _configuration;
public MsSqlConnectionFactory(IConfiguration configura... | using System.Data.Common;
using System.Data.SqlClient;
using DapperTesting.Core.Configuration;
namespace DapperTesting.Core.Data
{
public class MsSqlConnectionFactory : IConnectionFactory
{
private readonly IConfiguration _configuration;
public MsSqlConnectionFactory(IConfiguration configurat... | Remove empty line in name spaces | Remove empty line in name spaces
| C# | mit | tvanfosson/dapper-integration-testing |
b97eb3118ad880b558ab9a1f737110b2b46b44fc | WOptiPng/OptiPngWrapper.cs | WOptiPng/OptiPngWrapper.cs | using System;
using System.ComponentModel;
using System.Diagnostics;
namespace WOptiPng
{
public static class OptiPngWrapper
{
public static bool OptiPngExists()
{
var process = new Process
{
StartInfo = new ProcessStartInfo("optipng")
{
... | using System;
using System.ComponentModel;
using System.Diagnostics;
namespace WOptiPng
{
public static class OptiPngWrapper
{
public static bool OptiPngExists()
{
var process = new Process
{
StartInfo = new ProcessStartInfo("optipng")
{
... | Fix Process class not being disposed | Fix Process class not being disposed
| C# | mit | tp7/WOptiPNG |
ae4eb8aaf3f6f24f7f9ee8cab847751145b4fc3a | CalDavSynchronizer.IntegrationTests/Infrastructure/InMemoryGeneralOptionsDataAccess.cs | CalDavSynchronizer.IntegrationTests/Infrastructure/InMemoryGeneralOptionsDataAccess.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CalDavSynchronizer.Contracts;
using CalDavSynchronizer.DataAccess;
namespace CalDavSynchronizer.IntegrationTests.Infrastructure
{
class InMemoryGeneralOptionsDataAccess : IGeneralOptionsDataAcce... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CalDavSynchronizer.Contracts;
using CalDavSynchronizer.DataAccess;
namespace CalDavSynchronizer.IntegrationTests.Infrastructure
{
class InMemoryGeneralOptionsDataAccess : IGeneralOptionsDataAcce... | Fix global options for Integration test | Fix global options for Integration test
| C# | agpl-3.0 | aluxnimm/outlookcaldavsynchronizer |
988d3627f811c400e9536492f1dbff3ada55939d | Assets/Scripts/Inventory.cs | Assets/Scripts/Inventory.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Events;
public class Inventory : MonoBehaviour {
public int[] inventorySlots;
public UnityEvent InventoryChangedEvent;
void Awake()
{
inventorySlots = new int[18];
}
void Start()
{
for (int i = 0; i < in... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Events;
public class Inventory : MonoBehaviour {
public int[] inventorySlots;
public UnityEvent InventoryChangedEvent;
protected bool isDirty;
void Awake()
{
inventorySlots = new int[18];
}
void Start()
... | Fix inventory trying to update on every frame | Fix inventory trying to update on every frame
| C# | mit | Bering/TetriNET-RL |
cb4b17504e1e2e807023563698bcb9ed9b40e566 | src/Microsoft.AspNet.StaticFiles/DefaultFilesOptions.cs | src/Microsoft.AspNet.StaticFiles/DefaultFilesOptions.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNet.StaticFiles.Infrastructure;
namespace Microsoft.AspNet.... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.AspNet.StaticFiles.Infrastructure;
namespace Microsoft.AspNet.StaticFiles
{
/// <summary>
///... | Remove `[SuppressMessage]` - build break | Remove `[SuppressMessage]`
- build break
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
9ba48ed61fe9e58d205f903f144f31f37bee9e69 | Tests/Cosmos.TestRunner.Core/TestKernelSets.cs | Tests/Cosmos.TestRunner.Core/TestKernelSets.cs | using System;
using System.Collections.Generic;
namespace Cosmos.TestRunner.Core
{
public static class TestKernelSets
{
public static IEnumerable<Type> GetStableKernelTypes()
{
yield return typeof(VGACompilerCrash.Kernel);
//yield return typeof(Cosmos.Compiler.Tests.Enc... | using System;
using System.Collections.Generic;
namespace Cosmos.TestRunner.Core
{
public static class TestKernelSets
{
public static IEnumerable<Type> GetStableKernelTypes()
{
for (int i = 0; i < 5; i++)
{
yield return typeof(VGACompilerCrash.Kernel);
... | Test to see if running multiple works ok. | Test to see if running multiple works ok.
| C# | bsd-3-clause | zarlo/Cosmos,tgiphil/Cosmos,trivalik/Cosmos,trivalik/Cosmos,CosmosOS/Cosmos,trivalik/Cosmos,CosmosOS/Cosmos,fanoI/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos,tgiphil/Cosmos,tgiphil/Cosmos,zarlo/Cosmos,fanoI/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,zarlo/Cosmos,fanoI/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos |
f2d0d89133e0bcf2c09ff560bee6413357ba9278 | src/SecurityConsultantCore/Factories/SecurityObjectFactory.cs | src/SecurityConsultantCore/Factories/SecurityObjectFactory.cs | using System.Collections.Generic;
using SecurityConsultantCore.Domain;
using SecurityConsultantCore.Domain.Basic;
namespace SecurityConsultantCore.Factories
{
public static class SecurityObjectFactory
{
private static SecurityObjectContainer _container;
public static SecurityObject Create(str... | using System.Collections.Generic;
using SecurityConsultantCore.Domain;
using SecurityConsultantCore.Domain.Basic;
namespace SecurityConsultantCore.Factories
{
public static class SecurityObjectFactory
{
private static SecurityObjectContainer _container;
public static SecurityObject Create(str... | Test checkin with new repo | Test checkin with new repo
| C# | mit | EnigmaDragons/SecurityConsultantCore |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.