Source: Al0071MeterClassMustBePartialStaticAnalyzer.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
Classes annotated with[Meter] must be partial static so the source generator can emit the metric instrument implementations.
Bad Code
Good Code
Properties
- Category: Metrics
- Severity: Error
- Enabled by default: True
- Code fix available: True
