Is there any particular reason to check `propertyInfo` for null, but not `fieldInfo`?