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

Add APICompat support for checking generic constraints #40230

Merged
merged 4 commits into from
Apr 19, 2024

Conversation

ericstj
Copy link
Member

@ericstj ericstj commented Apr 17, 2024

Fixes #39659

Still pending running this against dotnet/runtime for validation.

@ericstj ericstj requested a review from a team as a code owner April 17, 2024 00:18
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-ApiCompat untriaged Request triage from a team member labels Apr 17, 2024
@ericstj ericstj force-pushed the validateGenericConstraints branch from 70ab8fa to 17c3dbb Compare April 17, 2024 00:28
@ericstj ericstj removed the untriaged Request triage from a team member label Apr 17, 2024
DocComments use ``n to refer to the generic argument by index.
�Use this in our diagnostics to refer to the constraint on a type.

Also fix some comments.
@ericstj
Copy link
Member Author

ericstj commented Apr 17, 2024

Here's the diff we need in dotnet/runtime to fix issues found with this rule: ericstj/runtime@b2220ea

@ericstj ericstj merged commit 170fa21 into dotnet:main Apr 19, 2024
16 checks passed
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.

ApiCompat does not notice breaking change in generic constraints
2 participants