Home
last modified time | relevance | path

Searched refs:GetEqualityComparer (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DProtobufEqualityComparersTest.cs60 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()
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DProtobufEqualityComparers.cs50 public static EqualityComparer<T> GetEqualityComparer<T>() in GetEqualityComparer() method in Google.Protobuf.Collections.ProtobufEqualityComparers
DMapField.cs74 …tyComparer<TValue> ValueEqualityComparer = ProtobufEqualityComparers.GetEqualityComparer<TValue>();
75 …EqualityComparer<TKey> KeyEqualityComparer = ProtobufEqualityComparers.GetEqualityComparer<TKey>();
DRepeatedField.cs54 …readonly EqualityComparer<T> EqualityComparer = ProtobufEqualityComparers.GetEqualityComparer<T>();
/external/protobuf/csharp/src/Google.Protobuf/
DFieldCodec.cs595 …readonly EqualityComparer<T> EqualityComparer = ProtobufEqualityComparers.GetEqualityComparer<T>();