Skip to content

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

Merged
ViktorHofer merged 1 commit into
dotnet:mainfrom
ViktorHofer:ProtectClsCompliantAttribute
Mar 2, 2022
Merged

ViktorHofer merged 1 commit into
dotnet:mainfrom
ViktorHofer:ProtectClsCompliantAttribute

Conversation

@ViktorHofer

@ViktorHofer ViktorHofer commented Mar 2, 2022 •

Copy link
Copy Markdown
Member

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

ghost commented Mar 2, 2022

Copy link
Copy Markdown

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

ghost commented Mar 2, 2022

Copy link
Copy Markdown

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: -

@eerhardt eerhardt 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.

@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