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

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

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

Example

Code with Diagnostic

Foo foo = new Foo(); // RCS1010

Code with Fix

var foo = new Foo();

See Also

(Generated with DotMarkdown)