dotnet/roslyn

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

Aperta

#25.301 aperta il 7 mar 2018

 (3 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-IDEBughelp wanted

Metriche repository

Star
 (20.414 stelle)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

(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

Guida contributor