diff --git a/.globalconfig b/.globalconfig index ced5ff22453..899a4054821 100644 --- a/.globalconfig +++ b/.globalconfig @@ -1250,7 +1250,7 @@ dotnet_diagnostic.SA1210.severity = none dotnet_diagnostic.SA1211.severity = none # SA1212: Property accessors should follow order -dotnet_diagnostic.SA1212.severity = none +dotnet_diagnostic.SA1212.severity = warning # SA1213: Event accessors should follow order dotnet_diagnostic.SA1213.severity = none diff --git a/src/System.Management.Automation/engine/remoting/common/throttlemanager.cs b/src/System.Management.Automation/engine/remoting/common/throttlemanager.cs index cf742cdba7d..afccc28362a 100644 --- a/src/System.Management.Automation/engine/remoting/common/throttlemanager.cs +++ b/src/System.Management.Automation/engine/remoting/common/throttlemanager.cs @@ -675,9 +675,9 @@ internal class Operation : IThrottleOperation private Thread workerThreadStart; private Thread workerThreadStop; - public bool Done { set; get; } + public bool Done { get; set; } - public int SleepTime { set; get; } = 100; + public int SleepTime { get; set; } = 100; private void WorkerThreadMethodStart() {