dotnet/roslyn

'Go to definition' on a tuple element name does not take you to the declaration of the name in metadata/decompiled source

開放

#51,940 建立於 2021年3月17日

 (1 則留言) (0 個反應) (0 位負責人)C# (4,257 個分叉)batch import
Area-IDEConcept-Continuous Improvementhelp wanted

倉庫指標

星標
 (20,414 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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[||];

image

Expected:

Metadata view places you here:

image

貢獻者指南