A code refactoring to deinterpol a string #15564
Labels
Area-LangService-CodeRefactorings
Suggested but not necessary code actions. Screwdrivers in VS.
Feature Request
Milestone
Suggested by @T-Gro
Basically it could fix the following cases:
Interpolation is useless here - it decreases readability and in the second case has small perf penalty. Change the code to:
Note, $"test" compiles to the "test" so it might be not worth running a code ref in the background for this case.
The text was updated successfully, but these errors were encountered: