❔ 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
JakenVeina9mo ago
it applies to the value
Will Pittenger
Will Pittenger9mo ago
Thanks.
JakenVeina
JakenVeina9mo ago
reflect on it and see
Accord
Accord9mo 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.
Want results from more Discord servers?
Add your server
More Posts
❔ Best web scraping/downloading library?I saw someone recommended anglesharp, but does it allow downloading full page content (javascript,ht❔ visual studio windows form app, how can i allow a panel to extend out of the form itsself?I have a custom dropdown menu i'm making for a windows form application, and i'm wondering if it's p❔ Blazor .Net 8 Rendermode Auto switchIs it normal that a Component with "Rendermode=Auto" is displaying the Server Component for about a ✅ Controller routing in 2023Hi, as I understand it, just like everything in programming, you can do one thing in many different ❔ I need to make sure I understand and doing this correctlyI'm learning coding in class and this video explain classes and objects. I tried my best to follow w❔ Help with TargetInvocationException when creating trace switchI have 3 files, appsettings.json, instrumenting.csproj and Program.cs. appsettings.json:❔ ✅ portfolio guidanceHello, I want to preface by saying I am fairly new, I haven't launched anything yet but i am committ❔ Hoe can I make 3d in WinForms?Hello, for a few days I was planning to make a 3d game in the WinForms using C#. The only problem is❔ trying to consume signalr through gatewayI am using the followin json in my gateway ```json { "DownstreamPathTemplate": "/ws", "Upstream❔ I would love some Feedback on my first Pseudocode I had to do for Class (C++)Please Let me know if you can understand. The topic was to write a Pseudocode about a fitness routin