Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCS1267 - propose wrong fix #1410

Closed
AlexanderKot opened this issue Feb 22, 2024 · 0 comments · Fixed by #1412
Closed

RCS1267 - propose wrong fix #1410

AlexanderKot opened this issue Feb 22, 2024 · 0 comments · Fixed by #1412
Assignees

Comments

@AlexanderKot
Copy link

AlexanderKot commented Feb 22, 2024

Hello all
Using 4.11.0

string.Concat("<h4 id={0}> ", "xxx", " </h4>")}
TCS1267 detected
Apply proposed fix
Get result
$"<h4 id={0}> xxx </h4>"}

Must be
$"<h4 id={{0}}> xxx </h4>"}
or
"<h4 id={0}> xxx </h4>"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants