未验证 提交 5ffaf4f3 编写于 作者: S Sam Harwell 提交者: GitHub

Merge pull request #31756 from CyrusNajmabadi/convertToTuple

Fix 'convert to tuple' analyzer.
......@@ -24,7 +24,7 @@ protected AbstractConvertAnonymousTypeToTupleDiagnosticAnalyzer()
protected abstract int GetInitializerCount(TAnonymousObjectCreationExpressionSyntax anonymousType);
public override DiagnosticAnalyzerCategory GetAnalyzerCategory()
=> DiagnosticAnalyzerCategory.SyntaxAnalysis;
=> DiagnosticAnalyzerCategory.SemanticSpanAnalysis;
public override bool OpenFileOnly(Workspace workspace)
=> false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册