How to get and transform all attributes that inherit from another attribute? #78508
Unanswered
Windows11CE
asked this question in
Q&A
Replies: 1 comment 10 replies
-
You cannot, plain and simple. This is not something supported by FAWMN, and cannot be, as that would break the caching it uses to be as fast as possible. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I currently have this piece of code that I use to collect and transform all my "custom attributes" before passing it down to my source generator:
However I want to also get ahold of attributes that inherit from this specific attribute, how would I do that? I currently have a
IncrementalGeneratorInitializationContext
and so I tried to create a compilation context to do it but couldn't get around it.Beta Was this translation helpful? Give feedback.
All reactions