GetNonOptionalAttribute changed to always return Unchecked.defaultof<'T>