When the fix is applied to:
public class C
{
private readonly string b;
private string a;
}
The code is changed to:
public class C
{
private string a;
private readonly string b;
}
But it should not change because "A readonly field is positioned beneath a non-readonly field": https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1214.md
readonly
When the fix is applied to:
The code is changed to:
But it should not change because "A readonly field is positioned beneath a non-readonly field": https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1214.md
readonly