Skip to content

RCS1105 Suggesting Unnecessary Interpolation Incorrectly for $"""a {"\n"} b""" #1634

@pedrohugorm

Description

@pedrohugorm

The Analyzer is incorrectly indicating an issue with the code below.
However, after applying the auto-fix, the end result in comparison is different.

For the scenario:

$"""a \n b""" != $"""a {"\n"} b"""

On the left, after the code fix.
On the right, the original code.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions