Work my way through a bunch of the analysis suggestions.

Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon
2020-06-22 00:00:15 +01:00
parent db0e8c613f
commit cd4af67177
32 changed files with 297 additions and 292 deletions
+16 -16
View File
@@ -7,21 +7,21 @@ namespace EightBit
public enum Mask
{
None = 0,
Mask1 = Bits.Bit1 - 1,
Mask2 = Bits.Bit2 - 1,
Mask3 = Bits.Bit3 - 1,
Mask4 = Bits.Bit4 - 1,
Mask5 = Bits.Bit5 - 1,
Mask6 = Bits.Bit6 - 1,
Mask7 = Bits.Bit7 - 1,
Mask8 = Bits.Bit8 - 1,
Mask9 = Bits.Bit9 - 1,
Mask10 = Bits.Bit10 - 1,
Mask11 = Bits.Bit11 - 1,
Mask12 = Bits.Bit12 - 1,
Mask13 = Bits.Bit13 - 1,
Mask14 = Bits.Bit14 - 1,
Mask15 = Bits.Bit15 - 1,
Mask16 = Bits.Bit16 - 1,
One = Bits.Bit1 - 1,
Two = Bits.Bit2 - 1,
Three = Bits.Bit3 - 1,
Four = Bits.Bit4 - 1,
Five = Bits.Bit5 - 1,
Six = Bits.Bit6 - 1,
Seven = Bits.Bit7 - 1,
Eight = Bits.Bit8 - 1,
Nine = Bits.Bit9 - 1,
Ten = Bits.Bit10 - 1,
Eleven = Bits.Bit11 - 1,
Twelve = Bits.Bit12 - 1,
Thirteen = Bits.Bit13 - 1,
Fourteen = Bits.Bit14 - 1,
Fifteen = Bits.Bit15 - 1,
Sixteen = Bits.Bit16 - 1,
}
}