RCS1008: Use explicit type instead of 'var' (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
var s = GetValue();
fix.cs
string s = GetValue();