Fix stylecop issue (Element must not be on single line)
MODIFY
WalletWasabi/Blockchain/TransactionOutputs/CoinsView.cs
WalletWasabi/Blockchain/TransactionOutputs/CoinsView.cs
@@ -53,7 +53,11 @@ namespace WalletWasabi.Blockchain.TransactionOutputs
return new CoinsView(Generator(coin));
}
- public ICoinsView DescendantOfAndSelf(SmartCoin coin) => new CoinsView(DescendantOf(coin).Concat(new[] { coin }));
+ public ICoinsView DescendantOfAndSelf(SmartCoin coin) => new CoinsView(DescendantOf(coin)
+ .Concat(new[]
+ {
+ coin
+ }));
public ICoinsView FilterBy(Func<SmartCoin, bool> expression) => new CoinsView(Coins.Where(expression));

MODIFY
WalletWasabi/Gma/QrCodeNet/Encoding/DataEncodation/ECISet.cs
WalletWasabi/Gma/QrCodeNet/Encoding/DataEncodation/ECISet.cs
@@ -25,7 +25,12 @@ namespace Gma.QrCodeNet.Encoding.DataEncodation
Initialize(option);
}
- public enum AppendOption { NameToValue, ValueToName, Both }
+ public enum AppendOption
+ {
+ NameToValue,
+ ValueToName,
+ Both
+ }
/// <summary>
/// Length indicator for number of ECI codewords
@@ -34,7 +39,12 @@ namespace Gma.QrCodeNet.Encoding.DataEncodation
/// 1 codeword length = 0. Any additional codeword add 1 to front. Eg: 3 = 110</remarks>
/// <description>Bits required for each one is:
/// one = 1, two = 2, three = 3</description>
- private enum ECICodewordsLength { One = 0, Two = 2, Three = 6 }
+ private enum ECICodewordsLength
+ {
+ One = 0,
+ Two = 2,
+ Three = 6
+ }
private void AppendECI(string name, int value, AppendOption option)
{

MODIFY
WalletWasabi/Mono/OptionValueCollection.cs
WalletWasabi/Mono/OptionValueCollection.cs
@@ -178,7 +178,12 @@ namespace Mono.Options
bool IList.IsFixedSize => false;
public List<string> Values { get; set; } = new List<string>();
public OptionContext C { get; set; }
- object IList.this[int index] { get => this[index]; set => (Values as IList)[index] = value; }
+
+ object IList.this[int index]
+ {
+ get => this[index];
+ set => (Values as IList)[index] = value;
+ }
public string this[int index]
{

MODIFY
WalletWasabi/TorSocks5/Models/Messages/MethodSelectionResponse.cs
WalletWasabi/TorSocks5/Models/Messages/MethodSelectionResponse.cs
@@ -42,7 +42,11 @@ namespace WalletWasabi.TorSocks5.Models.Messages
Method.FromByte(bytes[1]);
}
- public override byte[] ToBytes() => new byte[] { Ver.ToByte(), Method.ToByte() };
+ public override byte[] ToBytes() => new byte[]
+ {
+ Ver.ToByte(),
+ Method.ToByte()
+ };
#endregion Serialization
}

MODIFY
WalletWasabi/TorSocks5/Models/Messages/UsernamePasswordResponse.cs
WalletWasabi/TorSocks5/Models/Messages/UsernamePasswordResponse.cs
@@ -42,7 +42,11 @@ namespace WalletWasabi.TorSocks5.Models.Messages
Status.FromByte(bytes[1]);
}
- public override byte[] ToBytes() => new byte[] { Ver.ToByte(), Status.ToByte() };
+ public override byte[] ToBytes() => new byte[]
+ {
+ Ver.ToByte(),
+ Status.ToByte()
+ };
#endregion Serialization
}

MODIFY
WalletWasabi/TorSocks5/Models/Messages/VersionMethodRequest.cs
WalletWasabi/TorSocks5/Models/Messages/VersionMethodRequest.cs
@@ -61,7 +61,13 @@ namespace WalletWasabi.TorSocks5.Models.Messages
Methods.FromBytes(bytes.Skip(2).ToArray());
}
- public override byte[] ToBytes() => ByteHelpers.Combine(new byte[] { Ver.ToByte(), NMethods.ToByte() }, Methods.ToBytes());
+ public override byte[] ToBytes() => ByteHelpers.Combine(
+ new byte[]
+ {
+ Ver.ToByte(),
+ NMethods.ToByte()
+ },
+ Methods.ToBytes());
#endregion Serialization
}

Fix stylecop issue (Element must not be on single line)