Source: Al0072MetricMethodMustBePartialAnalyzer.csDocumentation Index
Fetch the complete documentation index at: https://ancplua.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Description
Methods annotated with metric attributes ([Counter], [Histogram], etc.) must be partial so the source generator can provide the implementation.
Bad Code
Good Code
Properties
- Category: Metrics
- Severity: Error
- Enabled by default: True
- Code fix available: True
