Skip to content

Add APICompat support for checking generic constraints#40230

Merged
ericstj merged 4 commits intodotnet:mainfrom
ericstj:validateGenericConstraints
Apr 19, 2024
Merged

Add APICompat support for checking generic constraints#40230
ericstj merged 4 commits intodotnet:mainfrom
ericstj:validateGenericConstraints

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
@ghost ghost 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
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