Skip to content

Expected behavior for Go To Definition for metadata references #24349

@sharwell

Description

@sharwell

The Navigate to Decompiled Sources feature recently added is the first step towards a better F12 experience. This issue describes the more complete picture for how this experience should eventually look.

🔗 AB#624702

⚠️ This workflow is currently just a draft

  1. Start with the metadata reference
  2. Locate the correct runtime assembly from the metadata reference (accounting for execution environment and assembly binding redirection)
  3. Locate the symbols for the runtime assembly
  4. Using the symbol file and/or symbol server, locate the original source file(s) for the symbol getting decompiled
  5. If step 3 or 4 fails, decompile the symbol from the runtime assembly using ILSpy
  6. If step 2 fails, attempt steps 3-5 using the metadata reference instead of the runtime assembly
  7. Otherwise, don't attempt to decompile

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions