Searched refs:GetEqualityComparer (Results 1 – 5 of 5) sorted by relevance
60 Assert.AreSame(EqualityComparer<object>.Default, GetEqualityComparer<object>()); in GetEqualityComparer_Default()61 Assert.AreSame(EqualityComparer<string>.Default, GetEqualityComparer<string>()); in GetEqualityComparer_Default()62 Assert.AreSame(EqualityComparer<int>.Default, GetEqualityComparer<int>()); in GetEqualityComparer_Default()63 Assert.AreSame(EqualityComparer<int?>.Default, GetEqualityComparer<int?>()); in GetEqualityComparer_Default()70 Assert.AreSame(BitwiseDoubleEqualityComparer, GetEqualityComparer<double>()); in GetEqualityComparer_NotDefault()71 Assert.AreSame(BitwiseSingleEqualityComparer, GetEqualityComparer<float>()); in GetEqualityComparer_NotDefault()72 Assert.AreSame(BitwiseNullableDoubleEqualityComparer, GetEqualityComparer<double?>()); in GetEqualityComparer_NotDefault()73 Assert.AreSame(BitwiseNullableSingleEqualityComparer, GetEqualityComparer<float?>()); in GetEqualityComparer_NotDefault()
50 public static EqualityComparer<T> GetEqualityComparer<T>() in GetEqualityComparer() method in Google.Protobuf.Collections.ProtobufEqualityComparers
74 …tyComparer<TValue> ValueEqualityComparer = ProtobufEqualityComparers.GetEqualityComparer<TValue>();75 …EqualityComparer<TKey> KeyEqualityComparer = ProtobufEqualityComparers.GetEqualityComparer<TKey>();
54 …readonly EqualityComparer<T> EqualityComparer = ProtobufEqualityComparers.GetEqualityComparer<T>();
595 …readonly EqualityComparer<T> EqualityComparer = ProtobufEqualityComparers.GetEqualityComparer<T>();