VSCode version: 1.60.2
C# Extension: 1.23.16
Steps to reproduce
Set the omnisharp.enableDecompilationSupport
to true in VSCode's settings.json.
Expected behavior
F12 (Go to Definition) should navigate to the decompiled the source code.
Actual behavior
It doesn't, but just navigates to metadata. So omnisharp.enableDecompilationSupport
looks like having no effect.
Look like, leave this setting with its default value, i.e., omnisharp.enableDecompilationSupport = false
, but adding the below settings into the file %USERPROFILE%/.omnisharp/omnisharp.json
"RoslynExtensionsOptions": {
"enableDecompilationSupport": true
}
will just enable the decompilation feature.