public virtual PropertySpec WrapProperty(TypeSpec typeSpec, PropertyInfo propertyInfo)
{
if (typeSpec == null)
{
throw new ArgumentNullException(nameof(typeSpec));
}
if (propertyInfo == null)
{
throw new ArgumentNullException(nameof(propertyInfo));
}
return(typeSpec.OnWrapProperty(propertyInfo));
}