Source: Al0087PreferConstantAttributeAnalyzer.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
Attribute names used inSetTag() calls should reference constant fields instead of string literals to prevent typos and enable refactoring.
Bad Code
Good Code
Properties
- Category: OpenTelemetry
- Severity: Info
- Enabled by default: True
- Code fix available: False
