diff options
author | Stephen Toub <stoub@microsoft.com> | 2019-08-08 21:37:31 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-08-09 17:23:42 +0300 |
commit | 4ce53c845bdd900aa90f46f8c3675e2b0010c692 (patch) | |
tree | 5e88a3499157065ef6c080180adfa2e02fe56813 /netcore | |
parent | 442e9ad144dd2da2672cf69ce284ae65068291fa (diff) |
Fix StyleCop warning SA1113 (comma position for parameters)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'netcore')
-rw-r--r-- | netcore/System.Private.CoreLib/shared/System/ObsoleteAttribute.cs | 4 | ||||
-rw-r--r-- | netcore/System.Private.CoreLib/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 /// <summary>Provides an event source for tracing TPL information.</summary> [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 |