You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/CommunityToolkit.Mvvm.SourceGenerators/Helpers/HashCode.cs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ private void Add(int value)
134
134
/// Gets the resulting hashcode from the current instance.
135
135
/// </summary>
136
136
/// <returns>The resulting hashcode from the current instance.</returns>
137
-
publicintToHashCode()
137
+
publicreadonlyintToHashCode()
138
138
{
139
139
uintlength=this.length;
140
140
uintposition=length%4;
@@ -165,12 +165,12 @@ public int ToHashCode()
165
165
/// <inheritdoc/>
166
166
[Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.",error:true)]
Copy file name to clipboardExpand all lines: src/CommunityToolkit.Mvvm/Messaging/Internals/System/Runtime.CompilerServices/ConditionalWeakTable2{TKey,TValue}.Proxy.cs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -72,13 +72,13 @@ public Enumerator(ConditionalWeakTable2<TKey, TValue> owner)
Copy file name to clipboardExpand all lines: src/CommunityToolkit.Mvvm/Messaging/Internals/System/Runtime.CompilerServices/ConditionalWeakTable2{TKey,TValue}.ZeroAlloc.cs
Copy file name to clipboardExpand all lines: src/CommunityToolkit.Mvvm/Messaging/Internals/System/Runtime.CompilerServices/ConditionalWeakTable2{TKey,TValue}.cs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -139,7 +139,7 @@ public Enumerator(ConditionalWeakTable2<TKey, TValue> owner)
0 commit comments