Can Roslyn detect a target method in third-party library or package? #74930
-
Hi. I was working on a project to monitor services' resilience gaps. We found that some methods are not recommended any more. I am new to Roslyn, so I am not sure if Roslyn can detect a target method which is wrapped by another method or class in a shared library. If it is possible to do so, how many layers can be checked? How can I use Roslyn to do that? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
CyrusNajmabadi
Aug 29, 2024
Replies: 1 comment 4 replies
-
I suspect the answer is no, but can you show an example to make sure I'm understanding the question? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Roslyn can analyze source code. Or the signatures of symbols from metadata. It can't see inside methods from metadata.