Skip to content

Navigate to external definition does not work on enum/DU cases #15159

@kerams

Description

@kerams

Given

let f () =
    let k = System.DateTimeKind.Local
    let g = Ok 3
    ()

pressing F12 (Go to definition) on Local and Ok does nothing. In the first case I can at least F12 DateTimeKind, but in the latter, I have to qualify the DU case first.

Describe the solution you'd like

Navigation to external metadata should occur, with the cursor placed on the right case, or at least on the type.

Additional context

VS 17.6.0 Preview 5.0

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions