Code Analysis ReferenceAnalyzersRCS1145On this pageRCS1145: Remove redundant 'as' operatorPropertiesPropertyValueDefault SeverityHiddenMinimum language version-ExamplesExample #1diagnostic.csstring s = null;string s2 = s as string;fix.csstring s2 = s;Applies toPackage Roslynator.Analyzers