Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (19 sloc) 514 Bytes

RCS1145: Remove redundant 'as' operator

Property Value
Id RCS1145
Category Redundancy
Severity Hidden

Example

Code with Diagnostic

string s = null;

string s2 = s as string; // RCS1145

Code with Fix

string s2 = s;

See Also

(Generated with DotMarkdown)