Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Goto def on complex pattern member name doesn't work. #9072

Closed
CyrusNajmabadi opened this issue Feb 23, 2016 · 2 comments
Closed

Goto def on complex pattern member name doesn't work. #9072

CyrusNajmabadi opened this issue Feb 23, 2016 · 2 comments
Assignees

Comments

@CyrusNajmabadi
Copy link
Member

Given this code:

    public class Expression { }
    public class Constant : Expression
    {
        public readonly int Value;
        public Constant(int Value)
        {
            this.Value = Value;
        }
    }
    public class Plus : Expression
    {
        public readonly Expression Left, Right;
        public Plus(Expression Left, Expression Right)
        {
            this.Left = Left;
            this.Right = Right;
        }
    }
    public class X
    {
        public static void Main()
        {
            Expression expr = null;
            if (expr is Plus { $$Left is Plus })

Goto def on Left (in the last line) does not work.

@jaredpar
Copy link
Member

jaredpar commented Mar 2, 2016

Reopen pending unit tests.

@jaredpar jaredpar reopened this Mar 2, 2016
@jaredpar jaredpar removed the Resolution-Fixed The bug has been fixed and/or the requested behavior has been implemented label Mar 2, 2016
@gafter gafter added 4 - In Review A fix for the issue is submitted for review. Area-IDE Test Test failures in roslyn-CI and removed Bug labels Mar 3, 2016
gafter added a commit to gafter/roslyn that referenced this issue Mar 3, 2016
@gafter
Copy link
Member

gafter commented Mar 3, 2016

Fixed in features/patterns.

@gafter gafter closed this as completed Mar 3, 2016
@gafter gafter removed the 4 - In Review A fix for the issue is submitted for review. label Mar 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants