Skip to content

Remove redundant nullable annotation #113550

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

Merged
merged 4 commits into from
May 29, 2025

Conversation

xtqqczze
Copy link
Contributor

The nullable annotation on type constraint 'IEquatable?' is redundant because type parameter 'T' has 'struct' constraint.

The nullable annotation on type constraint 'IEquatable<T>?' is redundant because type parameter 'T' has 'struct' constraint.
@ghost ghost added the area-System.Memory label Mar 14, 2025
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Mar 14, 2025
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-memory
See info in area-owners.md if you want to be subscribed.

@stephentoub
Copy link
Member

/ba-g unrelated test failures

@stephentoub stephentoub merged commit 02750a4 into dotnet:main May 29, 2025
138 of 141 checks passed
@xtqqczze xtqqczze deleted the nullable-struct-constraint branch May 29, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Memory community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants