Place field before constructor
MODIFY
WalletWasabi/Tor/Socks5/Models/Fields/OctetFields/AuthStatusField.cs
WalletWasabi/Tor/Socks5/Models/Fields/OctetFields/AuthStatusField.cs
@@ -4,13 +4,13 @@ namespace WalletWasabi.Tor.Socks5.Models.Fields.OctetFields
{
public class AuthStatusField : OctetSerializableBase
{
+ public static AuthStatusField Success = new AuthStatusField(0x00);
+
public AuthStatusField(byte value)
{
ByteValue = value;
}
- public static AuthStatusField Success = new AuthStatusField(0x00);
-
public bool IsSuccess() => ByteValue == Success.ByteValue;
}
}

Place field before constructor