RCS1176: Use 'var' instead of explicit type (when the type is not obvious)
WARNING
This analyzer is obsolete. Use RCS1264 instead.
Properties
Property | Value |
---|---|
Default Severity | disabled by default |
Minimum language version | - |
Examples
Example #1
diagnostic.cs
string s = GetValue();
fix.cs
var s = GetValue();