dotnet/roslyn

Cannot "Go To Definition" of a type keyword if you are within that type in decompilation

Open

#25,301 建立於 2018年3月7日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)C# (20,414 star) (4,257 fork)batch import
Area-IDEBughelp wanted

描述

(Turn on decompilation)

  1. Create Console App (.NET Framework)
  2. In the following, CTRL+Click int
    class Program
    {
        static void Main(string[] args)
        {
            int foo;
        }
    }
  1. When prompted say Yes to decompile
  2. Scroll down to bool TryParse(string s, out int result)
  3. try and CTRL+Click int

Expected: To go to the top of the class to the definition Actual: It's not clickable

貢獻者指南