Skip to content

Commit c90851d

Browse files
JamesYFCSergio0694
authored andcommitted
fix object.Equals for EquatableArray
1 parent 0edfe27 commit c90851d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommunityToolkit.Mvvm.SourceGenerators/Helpers/EquatableArray{T}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public bool Equals(EquatableArray<T> array)
8080
/// <sinheritdoc/>
8181
public override bool Equals([NotNullWhen(true)] object? obj)
8282
{
83-
return obj is EquatableArray<T> array && Equals(this, array);
83+
return obj is EquatableArray<T> array && Equals(array);
8484
}
8585

8686
/// <sinheritdoc/>

0 commit comments

Comments
 (0)