dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
19.05k stars 4.03k forks source link

IDE features don't handle crefs to primary constructor parameters #69446

Open tmat opened 1 year ago

tmat commented 1 year ago

Version Used: Version 17.8.0 Preview 2.0 [34008.482.main]

Steps to Reproduce:

/// <summary>
/// <paramref name="Primary"/>
/// </summary>
class C(int Primary)
{
    /// <summary>
    /// <see cref="Primary"/>
    /// </summary>
    void WritePrimary()
    {
        Console.WriteLine(Primary);
    }
}

GTD: "Cannot navigate to the symbol under the caret." FAR: image Highlight: image

However, completion does include it: image

tmat commented 1 year ago

@CyrusNajmabadi FYI