-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
Description
Version Used: Visual Studio 18.0.0 Preview 1.0 [10510.66.main] / ICSharpCode.Decompiler Version 8.2.0.7535
Summary of the issue:
The version of ICSharpCode.Decompiler that ships with Rosyln cannot decompile .NET 10 binaries. This was fixed with icsharpcode/ILSpy#3349, which shipped in their 9.0 release, but VS isn't shipping 9.0 yet. I am opening this issue to track updating Rosyln to 9.0 (or updating in some other way if that is impossible for some reason).
Steps to Reproduce:
- Create a .NET 10 class library
- Add a "Hello World" method to it
- Build it
- Delete the PDB to ensure that the only way to allow "Go to definition" to work is through decompilation
- Make a second project and reference the class library dll directly
- Add a call to the hello world method
- Right click on it and invoke Go To Definition
Expected Behavior:
Go to definition should decompile the class library
Actual Behavior:
Decompilation will fail and the metadata view will be used instead