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
