Set a breakpoint in the corresponding source code and trigger it, as shown below:
When switching the current stack frame in the Call Stack, Visual Studio fails to navigate to the C# file—even though the source code clearly exists (just like the top frame, it comes from the same ILSpy-generated C# project). Furthermore, the language type changes to "Unknown", as shown below:
However, I tested this with dotPeek and did not encounter this issue.
Moreover, it supports generating the PDB file simultaneously when generating the source project, whereas ILSpy requires generating them separately.
