forked from dnSpy/dnSpy
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usages of methods / fields is not shown if called over the interface #245
Labels
bug
Something isn't working
Comments
Because decompiler doesn't assume that ITest foo is instance of TestClass, same as virtual methods |
Perhaps its not a bug report but rather a feature request then to show those usages over the interface or abstract class. I'm not sure if that's even possible to implement though as it would require some non trivial analysis and might be out of scope since its already somewhat doable by just looking up the usages of the parent. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dnSpyEx version
6.4.0
Describe the Bug
When analyzing a method of some class
TestClass : ITest
and checking its usages, dnSpy might show no usages at all since it does not show usages which are invoked by the interfaceITest
.How To Reproduce
Create a class which implements an interface and call a method on that class via its interface.
Expected Behavior
Its found
Actual Behavior
Its not found
Additional Context
No response
The text was updated successfully, but these errors were encountered: