Fetching contributors…
Cannot retrieve contributors at this time
31 lines (21 sloc) 765 Bytes

RCS1143: Simplify coalesce expression

Property Value
Id RCS1143
Category Simplification
Default Severity Hidden
Enabled by Default
Supports Fade-Out
Supports Fade-Out Analyzer -


Code with Diagnostic

string s = default(string) ?? ""; // RCS1143

Code with Fix

string s = "";

See Also

(Generated with DotMarkdown)