From 4ce53c845bdd900aa90f46f8c3675e2b0010c692 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Thu, 8 Aug 2019 14:37:31 -0400 Subject: [PATCH] Fix StyleCop warning SA1113 (comma position for parameters) Signed-off-by: dotnet-bot --- netcore/System.Private.CoreLib/shared/System/ObsoleteAttribute.cs | 4 ++-- .../shared/System/Threading/Tasks/TplEventSource.cs | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/netcore/System.Private.CoreLib/shared/System/ObsoleteAttribute.cs b/netcore/System.Private.CoreLib/shared/System/ObsoleteAttribute.cs index 4b7d62bf344..ad6c4eb028b 100644 --- a/netcore/System.Private.CoreLib/shared/System/ObsoleteAttribute.cs +++ b/netcore/System.Private.CoreLib/shared/System/ObsoleteAttribute.cs @@ -20,8 +20,8 @@ namespace System // method's implementation had changed). // [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | - AttributeTargets.Interface | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Delegate - , Inherited = false)] + AttributeTargets.Interface | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Delegate, + Inherited = false)] public sealed class ObsoleteAttribute : Attribute { private string? _message; diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TplEventSource.cs b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TplEventSource.cs index 794afc523b0..3a1d3148928 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TplEventSource.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/TplEventSource.cs @@ -11,9 +11,12 @@ namespace System.Threading.Tasks /// Provides an event source for tracing TPL information. [EventSource( Name = "System.Threading.Tasks.TplEventSource", - Guid = "2e5dba47-a3d2-4d16-8ee0-6671ffdcd7b5" + Guid = "2e5dba47-a3d2-4d16-8ee0-6671ffdcd7b5", + LocalizationResources = #if CORECLR - ,LocalizationResources = "System.Private.CoreLib.Resources.Strings" + "System.Private.CoreLib.Resources.Strings" +#else + null #endif )] internal sealed class TplEventSource : EventSource -- 2.11.4.GIT