Enable SA1212: Property accessors should follow order (#14051)
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1202.md
This commit is contained in:
parent
7dee446324
commit
8f659a2e31
|
@ -1251,7 +1251,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
|
||||
|
|
|
@ -675,9 +675,9 @@ namespace System.Management.Automation.Remoting
|
|||
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()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue