Skip to content

ApiDiff: Allow deciding whether to include partial modifier in TypeDeclarationCSharpSyntaxRewriter output#45803

Merged
carlossanlop merged 2 commits intodotnet:mainfrom
carlossanlop:ApiDiffPart2
Jan 9, 2025
Merged

ApiDiff: Allow deciding whether to include partial modifier in TypeDeclarationCSharpSyntaxRewriter output#45803
carlossanlop merged 2 commits intodotnet:mainfrom
carlossanlop:ApiDiffPart2

Conversation

@carlossanlop
Copy link
Copy Markdown
Contributor

This PR is part of the work needed to create an ApiDiff tool that reuses some of the code from Microsoft.DotNet.GenAPI. The idea is to make the larger PR smaller and make it easier to review: #45389

This change adds a boolean parameter to the TypeDeclarationCSharpSyntaxRewriter to allow callers to decide whether to include the partial modifier in the output or not.

Copy link
Copy Markdown
Member

@ViktorHofer ViktorHofer left a comment

Choose a reason for hiding this comment

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

LGTM aside from the unnecessary field in the TypeDeclarationCSharpSyntax... type.

@carlossanlop
Copy link
Copy Markdown
Contributor Author

/ba-g Build failure is unrelated: Unable to find directory for jdk 11.0.24; please make sure the tool is installed on this image. #45834

@carlossanlop carlossanlop enabled auto-merge (squash) January 9, 2025 17:38
@carlossanlop carlossanlop disabled auto-merge January 9, 2025 17:38
@carlossanlop carlossanlop removed the request for review from ericstj January 9, 2025 17:38
@carlossanlop carlossanlop removed the untriaged Request triage from a team member label Jan 9, 2025
@carlossanlop carlossanlop enabled auto-merge (squash) January 9, 2025 20:04
@carlossanlop carlossanlop merged commit ae86a4a into dotnet:main Jan 9, 2025
@carlossanlop carlossanlop deleted the ApiDiffPart2 branch January 9, 2025 20:24
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.

2 participants