❔ 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
JakenVeina
JakenVeina2y ago
it applies to the value
Will Pittenger
Will PittengerOP2y ago
Thanks.
JakenVeina
JakenVeina2y ago
reflect on it and see
Accord
Accord2y ago
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.

Did you find this page helpful?