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

Fix C# warnings. #21913

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Fix C# warnings. #21913

merged 2 commits into from
Sep 3, 2024

Conversation

skottmckay
Copy link
Contributor

@skottmckay skottmckay commented Aug 29, 2024

Description

Update some testing dependencies.
Fix various warnings. Mainly around documentation (existing) and unit test usage (mainly resulting from xunit update).

Invalid angle brackets for generics in documentation were changed to use curly braces based on https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/xmldoc/

To refer to generic identifiers in code reference (cref) elements, you can use either the escape characters (for example, cref="List<T>") or braces (cref="List{T}"). As a special case, the compiler parses the braces as angle brackets to make the documentation comment less cumbersome to the author when referring to generic identifiers.

Motivation and Context

Copy link
Member

@yuslepukhin yuslepukhin left a comment

Choose a reason for hiding this comment

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

:shipit:

@skottmckay skottmckay merged commit e788b3d into main Sep 3, 2024
91 of 96 checks passed
@skottmckay skottmckay deleted the skottmckay/FixCSharpWarnings branch September 3, 2024 00:08
skottmckay added a commit that referenced this pull request Sep 4, 2024
This csproj isn't included in the main sln and was overlooked.
skottmckay added a commit that referenced this pull request Sep 4, 2024
### Description
<!-- Describe your changes. -->
Update C# test package dependencies to match #21913

This csproj isn't included in the main sln and was overlooked. We need
the newer xunit version for Assert.Fail which is used in shared unit
test source that is included here as well.

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Fix CI failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants