diff options
Diffstat (limited to 'src/Ryujinx.Common/Hash128.cs')
-rw-r--r-- | src/Ryujinx.Common/Hash128.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Ryujinx.Common/Hash128.cs b/src/Ryujinx.Common/Hash128.cs index 04457bd0..28c0946b 100644 --- a/src/Ryujinx.Common/Hash128.cs +++ b/src/Ryujinx.Common/Hash128.cs @@ -15,7 +15,7 @@ namespace Ryujinx.Common High = high; } - public override string ToString() + public readonly override string ToString() { return $"{High:x16}{Low:x16}"; } @@ -30,17 +30,17 @@ namespace Ryujinx.Common return !x.Equals(y); } - public override bool Equals(object obj) + public readonly override bool Equals(object obj) { return obj is Hash128 hash128 && Equals(hash128); } - public bool Equals(Hash128 cmpObj) + public readonly bool Equals(Hash128 cmpObj) { return Low == cmpObj.Low && High == cmpObj.High; } - public override int GetHashCode() + public readonly override int GetHashCode() { return HashCode.Combine(Low, High); } |