public static TypeInfo?GetTypeInfo(this ITypeInfoProvider typeInfoProvider, Type type) => typeInfoProvider.CheckNotNull(nameof(typeInfoProvider)).GetTypeInfo(type);
public static PropertyInfo?GetPropertyInfo(this ITypeInfoProvider typeInfoProvider, System.Reflection.PropertyInfo?property) => property is null ? null : new PropertyInfo(property, typeInfoProvider.CheckNotNull(nameof(typeInfoProvider)).AsNative());