Version Used:
Microsoft Visual Studio Enterprise 2022 (64-bit) - Current
Version 17.13.2
Steps to Reproduce:
- Create a new C# Console App (.NET 8)
- Put cursor in
WriteLine of Console.WriteLine and F12 to Go To Definition
- You should navigate to the definition of Console.WriteLine in Console.cs that is pull from Source Link (the document tab shows [Source Link]
- From this definition, place cursor in the
WriteLine of Out.WriteLine and F12
Expected Behavior:
Navigates to the definition of Out.WriteLine
Actual Behavior:
Navigates to the top of the file TextWriter.cs [Source Link]
Note
This only seems to repro the first time the file is pulled from Source Link. The source link cache is at %LocalAppData%\SourceServer and can be deleted to facilitate reproing this issue.