❔ Attributes on a enum value?
If I declare an attribute with
[AttributeUsage(AttributeTargets.enum)]
, does that apply to the type or to the value inside the type? It's the latter I'm needing.4 Replies
it applies to the value
Thanks.
reflect on it and see
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.