Skip to content

[AVC] Update dotnet filter#15518

Open
tjprescott wants to merge 1 commit intomainfrom
avc/update-dotnet-filter-20260506
Open

[AVC] Update dotnet filter#15518
tjprescott wants to merge 1 commit intomainfrom
avc/update-dotnet-filter-20260506

Conversation

@tjprescott
Copy link
Copy Markdown
Member

Filter additions based on a review of feedback collected during April 2026.

Rule 11 added: DO NOT suggest hiding or removing Equals(object) overrides on extensible enum structs. These overrides are part of the accepted struct equality pattern.

Evidence: 2 downvoted comments (AcceptedSDKPattern) from christothes.

Note: The remaining 53 feedback items were already covered by existing rules 7 (implicit operators) and 10 (serialization consolidation). Those comments predate the current filter rules.

Copilot AI review requested due to automatic review settings May 6, 2026 17:02
@tjprescott tjprescott added the APIView Copilot Issues related to APIView Copilot label May 6, 2026
@tjprescott tjprescott self-assigned this May 6, 2026
@tjprescott tjprescott requested a review from christothes May 6, 2026 17:02
@github-project-automation github-project-automation Bot moved this to 🆕 New in APIView May 6, 2026
@tjprescott tjprescott moved this from 🆕 New to 👀In PR in APIView May 6, 2026
@tjprescott tjprescott added this to the 2026-06 milestone May 6, 2026
Copy link
Copy Markdown
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

Updates the .NET feedback filter rules used by APIView Copilot to avoid generating suggestions that conflict with accepted Azure SDK patterns.

Changes:

  • Adds a new Rule 11 exception to prevent suggestions to hide/remove Equals(object) overrides on extensible enum structs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

APIView Copilot Issues related to APIView Copilot

Projects

Status: 👀In PR

Development

Successfully merging this pull request may close these issues.

2 participants