Searched refs:BitwiseSingleEqualityComparer (Results 1 – 5 of 5) sorted by relevance
53 … : typeof(T) == typeof(float) ? (EqualityComparer<T>) (object) BitwiseSingleEqualityComparer in GetEqualityComparer()69 …public static EqualityComparer<float> BitwiseSingleEqualityComparer { get; } = new BitwiseSingleEq… property in Google.Protobuf.Collections.ProtobufEqualityComparers122 : BitwiseSingleEqualityComparer.Equals(x.Value, y.Value); in Equals()127 obj == null ? 293864 : BitwiseSingleEqualityComparer.GetHashCode(obj.Value); in GetHashCode()
71 Assert.AreSame(BitwiseSingleEqualityComparer, GetEqualityComparer<float>()); in GetEqualityComparer_NotDefault()91 ValidateEqualityComparer(BitwiseSingleEqualityComparer, doubles.Select(d => (float) d)); in SingleComparisons()
258 …if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Value, other.Value)) retu… in Equals()265 …if (Value != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(… in GetHashCode()
1774 …if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OptionalFloat, other.Opti… in Equals()1833 …if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OneofFloat, other.OneofFl… in Equals()1902 …if (OptionalFloat != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetH… in GetHashCode()1961 …dOneofCase.OneofFloat) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHas… in GetHashCode()
911 …if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SingleFloat, other.Single… in Equals()966 …if (SingleFloat != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHas… in GetHashCode()3631 …if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MyFloat, other.MyFloat)) … in Equals()3641 …if (MyFloat != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCod… in GetHashCode()