Fix line may only contain a single statement issues
MODIFY
WalletWasabi/Gma/QrCodeNet/Encoding/DataEncodation/EightBitByteEncoder.cs
WalletWasabi/Gma/QrCodeNet/Encoding/DataEncodation/EightBitByteEncoder.cs
@@ -23,11 +23,15 @@ namespace Gma.QrCodeNet.Encoding.DataEncodation
/// EightBitByte encoder's encoding will change according to different region
/// </summary>
/// <param name="encoding">Default encoding is "iso-8859-1"</param>
- internal EightBitByteEncoder(string encoding)
- : base() => Encoding = encoding ?? _defaultEncoding;
+ internal EightBitByteEncoder(string encoding) : base()
+ {
+ Encoding = encoding ?? _defaultEncoding;
+ }
- internal EightBitByteEncoder()
- : base() => Encoding = _defaultEncoding;
+ internal EightBitByteEncoder() : base()
+ {
+ Encoding = _defaultEncoding;
+ }
internal override Mode Mode => Mode.EightBitByte;

MODIFY
WalletWasabi/Gma/QrCodeNet/Encoding/DataEncodation/EncodationStruct.cs
WalletWasabi/Gma/QrCodeNet/Encoding/DataEncodation/EncodationStruct.cs
@@ -8,7 +8,9 @@ namespace Gma.QrCodeNet.Encoding.DataEncodation
internal Mode Mode { get; set; }
internal BitList DataCodewords { get; set; }
- internal EncodationStruct(VersionControlStruct vcStruct)
- : this() => VersionDetail = vcStruct.VersionDetail;
+ internal EncodationStruct(VersionControlStruct vcStruct) : this()
+ {
+ VersionDetail = vcStruct.VersionDetail;
+ }
}
}

MODIFY
WalletWasabi/Gma/QrCodeNet/Encoding/TriStateMatrix.cs
WalletWasabi/Gma/QrCodeNet/Encoding/TriStateMatrix.cs
@@ -6,7 +6,10 @@ namespace Gma.QrCodeNet.Encoding
{
private readonly StateMatrix M_stateMatrix;
- public TriStateMatrix(int width) : base(width, new bool[width, width]) => M_stateMatrix = new StateMatrix(width);
+ public TriStateMatrix(int width) : base(width, new bool[width, width])
+ {
+ M_stateMatrix = new StateMatrix(width);
+ }
public static bool CreateTriStateMatrix(bool[,] internalArray, out TriStateMatrix triStateMatrix)
{
@@ -20,7 +23,10 @@ namespace Gma.QrCodeNet.Encoding
return false;
}
- internal TriStateMatrix(bool[,] internalArray) : base(internalArray) => M_stateMatrix = new StateMatrix(internalArray.GetLength(0));
+ internal TriStateMatrix(bool[,] internalArray) : base(internalArray)
+ {
+ M_stateMatrix = new StateMatrix(internalArray.GetLength(0));
+ }
public override bool this[int i, int j]
{

Fix line may only contain a single statement issues