Code Analysis ReferenceAnalyzers[deprecated] RCS1012On this pageRCS1012: Use explicit type instead of 'var' (when the type is obvious)WARNINGThis analyzer is obsolete. Use RCS1264 instead.PropertiesPropertyValueDefault Severitydisabled by defaultMinimum language version-ExamplesExample #1diagnostic.csvar foo = new Foo();fix.csFoo foo = new Foo();Applies toExtension for VS 2022Extension for VS CodeExtension for Open VSXPackage Roslynator.Analyzers