Skip to content

Commit

Permalink
== operator fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusfriedman committed Dec 19, 2023
1 parent dbf1cbd commit 18f3071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Common/Classes/MemorySegment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ public bool Equals(MemorySegment other)
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]
public static bool operator ==(MemorySegment a, MemorySegment b)
{
return b is null ? a is null : a.Equals(b);
return b is null ? a is null : b.Equals(a);
}

[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]
Expand Down

0 comments on commit 18f3071

Please sign in to comment.