Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/ReactiveUI.SourceGenerators/Core/Helpers/HashCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public readonly int ToHashCode()

return (int)hash;
}

#pragma warning disable CA1065
/// <inheritdoc/>
[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)]
Expand All @@ -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

/// <summary>
/// Rotates the specified value left by the specified number of bits.
Expand Down
Loading