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

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

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

Example

Code with Diagnostic

var foo = new Foo(); // RCS1012

Code with Fix

Foo foo = new Foo();

See Also

(Generated with DotMarkdown)