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

Keep CLSCompliantAttribute in sync for src <-> ref #66075

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Mar 2, 2022

Contributes to #58163

Until two years ago, ApiCompat validated the CLSCompliantAttribute
but that check was then disabled with a675e1c.

Re-enable it and only disable the check during baseline api compat
validation, which is performed in ApiCompat.proj.

ApiCompat actually ran validation for that attribute until the check was
disabled with a675e1c.

Enable it again and only disable it for baseline api compat validation,
which is performed in ApiCompat.proj.
@dotnet-issue-labeler
Copy link

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

@ghost
Copy link

ghost commented Mar 2, 2022

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

Issue Details

ApiCompat actually ran validation for that attribute until the check was
disabled with a675e1c.

Re-enable it and only disable the check during baseline api compat
validation, which is performed in ApiCompat.proj.

Author: ViktorHofer
Assignees: ViktorHofer
Labels:

area-Infrastructure-libraries

Milestone: -

Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

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

LGTM.

@ViktorHofer ViktorHofer merged commit b61687b into dotnet:main Mar 2, 2022
@ViktorHofer ViktorHofer deleted the ProtectClsCompliantAttribute branch March 2, 2022 15:17
@ghost ghost locked as resolved and limited conversation to collaborators Apr 2, 2022
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