In VS 2022 in a C# project I right-click on a method and select "Find All References" In some cases it shows no references, but when I put a breakpoint it stops in this method and in the call stack it's a normal call not some reflection magic. The method in question does reside in a different project than the caller of that method, but they are both in the same solution. What am I missing?
CodePudding user response:
Make sure that the contained by
dropdown is set to Entire Solution
.
CodePudding user response:
You can try to delete the .ilk, .pch and .pdb files in the Debug or Release subdirectories, and then build all. This functionality may return to normal after this action.