dotnet/roslyn
View on GitHub'Go to definition' on a tuple element name does not take you to the declaration of the name in metadata/decompiled source
Open
#51,940 opened on Mar 17, 2021
Area-IDEConcept-Continuous Improvementhelp wanted
Repository metrics
- Stars
- (20,414 stars)
- PR merge metrics
- (Avg merge 6d 17h) (256 merged PRs in 30d)
Description
If you press F12, you get an error rather than navigating to where Zip declares the tuple element name First in metadata or decompiled source:
using System.Linq;
_ = new[] { 1 }.Zip(new[] { 1 }).First().First[||];

Expected:
Metadata view places you here:
