You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the result of code clean up for the file layout's extension.
public class TestResharperLayout
{
public const int PublicConst = 5;
public readonly int PublicReadOnlyField;
public int PublicField;
private const int PrivateConst = 5;
private readonly int privateReadOnlyField;
private int privateField;
}
There is an error
SA1202 : CSharp.Ordering : All private fields must be placed after all public fields.
for private const int PrivateConst = 5; It has to be after public int PublicField;
The text was updated successfully, but these errors were encountered:
This is the result of code clean up for the file layout's extension.
There is an error
for
private const int PrivateConst = 5;
It has to be afterpublic int PublicField;
The text was updated successfully, but these errors were encountered: