How can I access symbols of inaccessible members in referenced assemblies from a source generator? #80835
Unanswered
eiriktsarpalis
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
Tagging @333fred @RikkiGibson @chsienki for brainstorming. |
Beta Was this translation helpful? Give feedback.
2 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 recently hit this issue while working on one of my source generators. The only way I'm able to work around the issue is by specifying a
MetadataImportOptions.Allwhen creating the compilation, however source generators generally do not create or own the compilations they are consuming. Is there a best practice when it comes to dealing with this problem in source generators?cc @jcouv
Beta Was this translation helpful? Give feedback.
All reactions