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

Source Generators: IDE change signature on replacing member should propagate to original #11197

Closed
VSadov opened this issue May 9, 2016 · 0 comments

Comments

@VSadov
Copy link
Member

VSadov commented May 9, 2016

Reordering parameters via "change signature" in the second Foo, does not propagate to the original Foo and causes compile errors (and that triggers an assert in IDE).

        static int Foo(int x, object y)
        {
            return x;
        }

        replace static int Foo(int x, object y)
        { 
            return original(x, y) + 1;   // <--- Extract this line
        } 
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