I want to collect all types used/referenced from within an assembly using Roslyn. This works fine for all type usages, except for the types used in local variable declarations.
Without Roslyn I would use the LocalVariable property of a MethodBody object of the C# reflection API.
My question is how to do this with Roslyn?
Aucun commentaire:
Enregistrer un commentaire