Skip to content

Conversation

@gewarren
Copy link
Contributor

@gewarren gewarren commented Oct 30, 2025

Contributes to #48767.


Internal previews

📄 File 🔗 Preview link
docs/fundamentals/code-analysis/quality-rules/ca1806.md CA1806: Do not ignore method results

Copilot AI review requested due to automatic review settings October 30, 2025 16:40
@gewarren gewarren requested a review from a team as a code owner October 30, 2025 16:40
@dotnetrepoman dotnetrepoman bot added this to the October 2025 milestone Oct 30, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the documentation for code analysis rule CA1806 to include coverage of [Pure] methods and makes minor editorial improvements. The changes clarify that methods annotated with PureAttribute should have their return values used, similar to LINQ methods.

Key changes:

  • Added documentation for [Pure] method behavior and violations
  • Updated the date metadata to reflect current documentation status
  • Applied contraction style guidelines ("can't" instead of "cannot")

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@gewarren gewarren enabled auto-merge (squash) October 30, 2025 16:48
@gewarren gewarren merged commit 6982979 into main Oct 30, 2025
11 checks passed
@gewarren gewarren deleted the gewarren-patch-4 branch October 30, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants