Skip to content

Conversation

CyrusNajmabadi
Copy link
Member

@CyrusNajmabadi CyrusNajmabadi commented Jul 23, 2025

Fixes #76562

@CyrusNajmabadi CyrusNajmabadi marked this pull request as ready for review July 23, 2025 07:45
@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner July 23, 2025 07:45
Copy link
Member Author

@CyrusNajmabadi CyrusNajmabadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c

return document.WithSyntaxRoot(editor.GetChangedRoot());
}

private static ImmutableArray<ITypeParameterSymbol> CreateFinalTypeParameterList(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the same as before. just with the logic encapsulated here, instead of being spread in teh caling method and some hjelper methods. There are a bunch of local temp buffers here i didn't want polluting the callers local variable space with.

@CyrusNajmabadi
Copy link
Member Author

@akhera99 ptal.

@CyrusNajmabadi CyrusNajmabadi merged commit 829244a into dotnet:main Jul 23, 2025
25 checks passed
@CyrusNajmabadi CyrusNajmabadi deleted the useMethod branch July 23, 2025 21:46
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jul 23, 2025
@RikkiGibson RikkiGibson modified the milestones: Next, 18.0 P1 Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intellisense "Convert to method" feature on local functions with optional parameters does not update call sites properly
3 participants