Use [System.Collections.Generic.ReferenceEqualityComparer](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.referenceequalitycomparer?view=net-7.0) instead.
Use System.Collections.Generic.ReferenceEqualityComparer instead.