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

[ApiDiff] Allow passing diagnostic options to all Compat places that use CSharpCompilationOptions #46424

Merged
merged 3 commits into from
Jan 31, 2025

Conversation

carlossanlop
Copy link
Member

@carlossanlop carlossanlop commented Jan 30, 2025

Follow up of #46380

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

The proposed changes in this PR include:

  • Add a new argument to all the methods that create a CSharpCompilationOptions object so that the caller can specify an optional list of diagnostic options to change the behavior of their detection.

@carlossanlop carlossanlop self-assigned this Jan 30, 2025
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Request triage from a team member label Jan 30, 2025
Copy link

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.

1 similar comment
Copy link

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.

@carlossanlop
Copy link
Member Author

/ba-g Failure is new but unrelated (dotnet watch): #46454

@carlossanlop carlossanlop enabled auto-merge (squash) January 31, 2025 22:31
@carlossanlop carlossanlop removed request for a team, ViktorHofer and ericstj January 31, 2025 22:32
@carlossanlop carlossanlop merged commit 1087712 into dotnet:main Jan 31, 2025
36 of 38 checks passed
@carlossanlop carlossanlop deleted the AllowDiagnostic branch February 1, 2025 00:59
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