dotnet/roslyn

Signature help not offered in positional pattern.

Open

#9,101 创建于 2016年2月23日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)C# (20,414 star) (4,257 fork)batch import
Area-CompilersArea-IDEBugFeature - Pattern MatchingLanguage-C#help wanted

描述

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
        {

        }
    }
}

贡献者指南