.NET Decompiler with support for PDB generation, ReadyToRun, Metadata
ILSpy is the open-source .NET assembly browser and decompiler. VisualStudio 2022 ships with decompilation support for F12 enabled by default (using our engine v7.1). In VisualStudio 2019, you have to manually enable F12 support. Go to Tools / Options / Text Editor / C# / Advanced and check Enable navigation to decompiled source. C# for VisualStudio Code ships with decompilation support as well.