We can consider making a type annotated with `[OptionsValidator]` to be a fallback in that case (worst case scenario is when a validator is applied on a type residing in another assembly).
For JSON source-gen, a class annotated with [JsonSerializable] can be considered as a fallback location.
Originally posted by @xakep139 in #88396 (comment)