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

RCS1008: Use explicit type instead of 'var' (when the type is not obvious)

Property Value
Id RCS1008
Category Readability
Default Severity Hidden
Enabled by Default -
Supports Fade-Out -
Supports Fade-Out Analyzer -

Example

Code with Diagnostic

var s = GetValue(); // RCS1008

Code with Fix

string s = GetValue();

See Also

(Generated with DotMarkdown)