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

Replace 'xxx' with method has bug #75186

Open
vsfeedback opened this issue Sep 20, 2024 · 1 comment
Open

Replace 'xxx' with method has bug #75186

vsfeedback opened this issue Sep 20, 2024 · 1 comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


GIF 2024-09-15 오후 5-37-40.gif


Original Comments

Feedback Bot on 9/18/2024, 04:59 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Sep 20, 2024
@sharwell
Copy link
Member

sharwell commented Sep 20, 2024

Input code

class A
{
    #region
    static bool a;
    #endregion
    static bool b => true;
}

Steps

Run Replace 'b' with method on property b.

Actual result

class A
{
    #region
    static bool a;

    #endregion
    #endregion
    private static bool Getb()
    {
        return true;
    }
}

Expected result

class A
{
    #region
    static bool a;
    #endregion
    private static bool Getb()
    {
        return true;
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

No branches or pull requests

2 participants