From 900ac0286936d8010f34bc8df10bcaeed85f0942 Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Thu, 21 Feb 2019 00:01:36 +0000 Subject: [PATCH] Tidy up a stylecop suggestion. Signed-off-by: Adrian Conlon --- Z80/RefreshRegister.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Z80/RefreshRegister.cs b/Z80/RefreshRegister.cs index cbad7c3..c8a735c 100644 --- a/Z80/RefreshRegister.cs +++ b/Z80/RefreshRegister.cs @@ -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))