dotnet/roslyn

Signature help not offered in positional pattern.

Open

#9,101 opened on Feb 23, 2016

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C# (20,414 stars) (4,257 forks)batch import
Area-CompilersArea-IDEBugFeature - Pattern MatchingLanguage-C#help wanted

Description

public class Point
{
    public int X;
    public int Y;
    public void Deconstruct(out int XX, out int YY) => throw null;
    void M()
    {
        object o = null;
        if (o is Point($)) // <-- i should get sighelp here to make it clear what is being matched
        {

        }
    }
}

Contributor guide