Skip to content

Fix outdated HasSizeAtLeast method name in Guard docs - #658

Open
Benziza wants to merge 1 commit into
MicrosoftDocs:mainfrom
Benziza:fix/guard-hassizeatleast-stale-api
Open

Fix outdated HasSizeAtLeast method name in Guard docs#658
Benziza wants to merge 1 commit into
MicrosoftDocs:mainfrom
Benziza:fix/guard-hassizeatleast-stale-api

Conversation

@Benziza

@Benziza Benziza commented Aug 25, 2026

Copy link
Copy Markdown

The Collections table still lists HasSizeAtLeast, but that one was renamed to HasSizeGreaterThanOrEqualTo a while back, so copying the row straight out of the table doesn't compile:

error CS0117: 'Guard' does not contain a definition for 'HasSizeAtLeast'

Left the description alone since it already said the right thing, just swapped "at least" for the wording used by the row below it.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit a49f6c2:

✅ Validation status: passed

File Status Preview URL Details
docs/diagnostics/Guard.md ✅Succeeded View

For more details, please refer to the build report.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@jfversluis Gerald Versluis (jfversluis) added the dotnet The .NET Community Toolkit label Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dotnet The .NET Community Toolkit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants