public static IEqualityComparer <TProperty> CreateKeyEqualityComparer <TProperty>([NotNull] this IReadOnlyProperty property)
        {
            var comparer = property.GetKeyValueComparer() !;

            return(comparer is IEqualityComparer <TProperty> nullableComparer
                ? nullableComparer
                : new NullableComparer <TProperty>(comparer));
        }
 public static ValueComparer?GetStructuralValueComparer([NotNull] this IReadOnlyProperty property)
 => property.GetKeyValueComparer();