mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2024-12-23 02:29:59 +00:00
Tidy up a stylecop suggestion.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
42d7095dab
commit
900ac02869
@ -32,6 +32,12 @@
|
||||
return (byte)((input.high << 7) | (input.variable & (byte)Mask.Mask7));
|
||||
}
|
||||
|
||||
public static RefreshRegister Increment(RefreshRegister value)
|
||||
{
|
||||
++value.variable;
|
||||
return value;
|
||||
}
|
||||
|
||||
public static RefreshRegister FromByte(byte input)
|
||||
{
|
||||
return new RefreshRegister(input);
|
||||
@ -42,12 +48,6 @@
|
||||
return ToByte(this);
|
||||
}
|
||||
|
||||
public static RefreshRegister Increment(RefreshRegister value)
|
||||
{
|
||||
++value.variable;
|
||||
return value;
|
||||
}
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if (!(obj is RefreshRegister))
|
||||
|
Loading…
Reference in New Issue
Block a user