RsvField: Using of "X00" does not require allocations now.
MODIFY
WalletWasabi/Tor/Socks5/Models/Fields/OctetFields/RsvField.cs
WalletWasabi/Tor/Socks5/Models/Fields/OctetFields/RsvField.cs
@@ -4,11 +4,11 @@ namespace WalletWasabi.Tor.Socks5.Models.Fields.OctetFields
{
public class RsvField : OctetSerializableBase
{
+ public static readonly RsvField X00 = new RsvField(0x00);
+
public RsvField(byte byteValue)
{
ByteValue = byteValue;
}
-
- public static RsvField X00 => new RsvField(0x00);
}
}

RsvField: Using of "X00" does not require allocations now.