CA2253: Named placeholders should not be numeric values

Value
Rule ID CA2253
Category Usage
Fix is breaking or non-breaking Non-breaking

Cause

A message placeholder consists of numeric characters only.

Rule description

Named placeholders in the logging message template should not be comprised of only numeric characters.

How to fix violations

Rename the numeric placeholder.

When to suppress errors

Do not suppress a warning from this rule.

See also