private void AnalyzeAttributeList(SyntaxNodeAnalysisContext context) { var attributeList = (AttributeListSyntax)context.Node; if (DeclareEachAttributeSeparatelyRefactoring.CanRefactor(attributeList)) { context.ReportDiagnostic(DiagnosticDescriptors.DeclareEachAttributeSeparately, attributeList); } }