提交 32bfd015 编写于 作者: C CyrusNajmabadi

Make into a DiagnosticAnalyzer.

上级 cfb20c71
......@@ -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).
/// </summary>
[ExportCodeRefactoringProvider(LanguageNames.CSharp), Shared]
[DiagnosticAnalyzer(LanguageNames.CSharp), Shared]
internal class CSharpIsAndCastCheckWithoutNameDiagnosticAnalyzer : AbstractCodeStyleDiagnosticAnalyzer
{
private const string CS0165 = nameof(CS0165); // Use of unassigned local variable 's'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册