Skip to content

Do not warn on MakeGeneric when class constraint present - #104029

Merged
MichalStrehovsky merged 1 commit into
dotnet:mainfrom
MichalStrehovsky:nowarnclass
Jun 26, 2024
Merged

MichalStrehovsky merged 1 commit into
dotnet:mainfrom
MichalStrehovsky:nowarnclass

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

Fixing both the Roslyn analyzer and ILC not to warn if MakeGeneric APIs are used on something that has class constraint.

Contributes to #97408

Cc @dotnet/illink

Fixing both the Roslyn analyzer and ILC not to warn if `MakeGeneric` APIs are used on something that has `class` constraint.

Contributes to dotnet#97408
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

@agocke agocke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@MichalStrehovsky
MichalStrehovsky merged commit 42b46df into dotnet:main Jun 26, 2024
@MichalStrehovsky
MichalStrehovsky deleted the nowarnclass branch June 26, 2024 21:18
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants