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

Enable CS1591 errors for undocumented API #4230

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Aug 1, 2023

Arcade by default NoWarns CS1591 errors. While that default is questionable, our team added a condition to not suppress that compiler error. Use that to enable CS1591 errors.

... and document the HttpClientBuilderExtensions class that was missing a class summary.

Microsoft Reviewers: Open in CodeFlow

Arcade by default NoWarns CS1591 errors. While that default is
questionable, our team added a condition to not suppress that compiler
error. Use that to enable CS1591 errors.

... and document the HttpClientBuilderExtensions class that was missing
a class summary.
@ViktorHofer ViktorHofer self-assigned this Aug 1, 2023
ViktorHofer added a commit to dotnet/wcf that referenced this pull request Aug 1, 2023
Similar as dotnet/extensions#4230, enable the CS1591 compiler errors when a library generates a documentation file.
@joperezr
Copy link
Member

joperezr commented Aug 1, 2023

FYI: @RussKie

Copy link
Member

@joperezr joperezr left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this @ViktorHofer

@joperezr joperezr merged commit 95b1e6c into main Aug 1, 2023
6 checks passed
@joperezr joperezr deleted the EnableCompilerGeneratedXMLWarnings branch August 1, 2023 17:17
@ghost ghost added this to the 8.0 RC1 milestone Aug 1, 2023
@joperezr
Copy link
Member

joperezr commented Aug 1, 2023

FWIW I believe we have in extensions our own analyzers and rules that were checking for this, which leads me to question how come there seemed to be one violation we weren't catching.

@ViktorHofer
Copy link
Member Author

Just as an FYI, @carlossanlop will eventually send a PR to dotnet/extensions to add a transport package for the dotnet-api-docs team. More details in dotnet/runtime#996 (comment).

That transport package will include both all reference assemblies and the compiler generated XML docs.

ViktorHofer added a commit to dotnet/wcf that referenced this pull request Aug 11, 2023
* Enable CS1591 errors for undocumented API

Similar as dotnet/extensions#4230, enable the CS1591 compiler errors when a library generates a documentation file.

* Update System.Web.Services.Description.csproj

feedback from #5222

* Fix "build -vs" and adding /// comments to Federation

---------

Co-authored-by: Matt Connew <mconnew@users.noreply.github.com>
@ghost ghost locked as resolved and limited conversation to collaborators Aug 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants