Tidy up a stylecop suggestion.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2019-02-21 00:01:36 +00:00
parent 42d7095dab
commit 900ac02869

View File

@ -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))