close
Skip to content

Update ExtractMethod to work correctly for records#48531

Merged
CyrusNajmabadi merged 3 commits into
dotnet:masterfrom
Youssef1313:patch-41
Oct 19, 2020
Merged

Update ExtractMethod to work correctly for records#48531
CyrusNajmabadi merged 3 commits into
dotnet:masterfrom
Youssef1313:patch-41

Conversation

@Youssef1313
Copy link
Copy Markdown
Member

@Youssef1313 Youssef1313 commented Oct 12, 2020

Fixes #48453

Current behavior:

  • Works well for classes.

    image

  • Partially working for records (note the caller isn't updated).

    image

@Youssef1313 Youssef1313 requested a review from a team as a code owner October 12, 2020 19:00
@Dotnet-GitSync-Bot
Copy link
Copy Markdown
Collaborator

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

Needs test. :)

@Youssef1313
Copy link
Copy Markdown
Member Author

Needs test. :)

Was just doing the commit :)
Done.

@jinujoseph jinujoseph added Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee. Feature - Records Records labels Oct 12, 2020
@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

THanks!

@CyrusNajmabadi CyrusNajmabadi merged commit ab2eb83 into dotnet:master Oct 19, 2020
@ghost ghost added this to the Next milestone Oct 19, 2020
@Youssef1313 Youssef1313 deleted the patch-41 branch October 19, 2020 17:01
@allisonchou allisonchou modified the milestones: Next, 16.9.P2 Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee. Feature - Records Records

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make sure ExtractMethod refactoring is working with records

6 participants