Source: Al0110TracedTagOnOutRefParameterAnalyzer.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
[TracedTag] captures the parameter value as a span attribute at call time. For out and ref parameters, the value is not available until after the method executes, making the tag capture meaningless or incorrect.
Bad Code
Good Code
Properties
- Category: OpenTelemetry
- Severity: Error
- Enabled by default: True
- Code fix available: True
