Code inspection: String literal can be inlined
This inspection reports a string literal inserted into an interpolated string through { ... }. That literal can be written directly as text inside the interpolation, which is shorter and easier to read.
Example
string text = $"Status: {"ready"}";
string text = $"Status: ready";
Quick-fix
Inline the string literal into the interpolated string.
29 March 2026