Skip to content

Poor wording in CA2253 error message #5737

@archer884

Description

@archer884

Description

The wording is as follows:

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

Correct usage is composed of. I realize comprised of is a relatively common (ab)usage, and I do not care. It's a blight upon my language! (...Slightly kidding.) In any case, it is my opinion that we ought to hold compiler messages of all kinds to a very high standard. The compiler is meant to engender trust, after all.

Reproduction Steps

logger.LogError("Hello, {0}!", name);

Expected behavior

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

This issue template is ridiculous, by the way.

Actual behavior

...Seriously?

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions