Azure / Azure/azure-sdk-tools

AZC0003: Analyzer should flag missing virtual keyword for any service methods

Open
#900 1 comment 0 reactions 0 assignees View on GitHub
API Analyzer
Dominant language
C#
Stars
135
Forks
260
Avg merge
1d 22h
Merged PRs (30d)
115

Description

Currently the check is restricted to types with a "Client" suffix. We would ideally flag any public async method (and its sync variant) if it is not virtual.

Contributor guide

Open the contributing guide

Research direction

The issue names the AZC0003 analyzer but no source file or test entry point. Start by locating the analyzer and the existing check for types ending in "Client", then inspect its tests if present. Done means public async service methods and their sync variants are flagged when they are not virtual, without restricting the check to Client-suffixed types.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.