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
