Skip to main content

Convert interpolated string to concatenation

PropertyValue
IdRR0193
Applicable Syntaxinterpolated string
Enabled by Default

Usage

Example #1

before.cs
string s = $"a{b}c";
after.cs
string s = "a" + b + "c";

Configuration

roslynator_refactoring.convert_interpolated_string_to_concatenation.enabled = true|false