diff --git a/src/Features/CSharp/Portable/UsePatternMatching/CSharpIsAndCastCheckWithoutNameDiagnosticAnalyzer.cs b/src/Features/CSharp/Portable/UsePatternMatching/CSharpIsAndCastCheckWithoutNameDiagnosticAnalyzer.cs index 338927aa024ada7f647c6c94e9101a854f344022..a3d016bf52337236211d37420e78d41f70e710b9 100644 --- a/src/Features/CSharp/Portable/UsePatternMatching/CSharpIsAndCastCheckWithoutNameDiagnosticAnalyzer.cs +++ b/src/Features/CSharp/Portable/UsePatternMatching/CSharpIsAndCastCheckWithoutNameDiagnosticAnalyzer.cs @@ -26,7 +26,7 @@ namespace Microsoft.CodeAnalysis.CSharp.UsePatternMatching /// but only for code cases where the user has provided an appropriate variable name in /// code that can be used). /// - [ExportCodeRefactoringProvider(LanguageNames.CSharp), Shared] + [DiagnosticAnalyzer(LanguageNames.CSharp), Shared] internal class CSharpIsAndCastCheckWithoutNameDiagnosticAnalyzer : AbstractCodeStyleDiagnosticAnalyzer { private const string CS0165 = nameof(CS0165); // Use of unassigned local variable 's'