You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Funnily enough, if I copy the attribute code and put it above the ImportArgs, it stops complaining
/// Demands at least one parsed result for this argument; a parse exception is raised otherwise.
[<AttributeUsage(AttributeTargets.Class ||| AttributeTargets.Method ||| AttributeTargets.Property, AllowMultiple = false)>]
type MandatoryAttribute () = inherit Attribute ()
type ImportArgs =
| [<Mandatory>] Name of name: string
Attribute usage doesn't compile on
net9
Gives me this error for the
Mandatory
attribute:The text was updated successfully, but these errors were encountered: