diff --git a/src/ReactiveUI.SourceGenerators/Core/Helpers/HashCode.cs b/src/ReactiveUI.SourceGenerators/Core/Helpers/HashCode.cs
index 841c80d..7bfa54c 100644
--- a/src/ReactiveUI.SourceGenerators/Core/Helpers/HashCode.cs
+++ b/src/ReactiveUI.SourceGenerators/Core/Helpers/HashCode.cs
@@ -73,7 +73,7 @@ public readonly int ToHashCode()
return (int)hash;
}
-
+#pragma warning disable CA1065
///
[Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.", error: true)]
[EditorBrowsable(EditorBrowsableState.Never)]
@@ -83,6 +83,7 @@ public readonly int ToHashCode()
[Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes.", error: true)]
[EditorBrowsable(EditorBrowsableState.Never)]
public override readonly bool Equals(object? obj) => throw new NotSupportedException();
+#pragma warning restore CA1065
///
/// Rotates the specified value left by the specified number of bits.