Code inspection: Raw string can be simplified
This inspection reports a raw string literal that uses more quotes or $ characters than necessary, or that could be written as a simpler regular string literal. Simplifying it makes the string easier to read without changing its contents.
Example
using static System.Console;
WriteLine("""single-line""");
using static System.Console;
WriteLine("single-line");
Quick-fix
The quick-fix can also keep the raw string form and only remove redundant quotes or interpolation markers when a regular string would not be appropriate.
13 April 2026