private void AnalyzeBlock(SyntaxNodeAnalysisContext context)
        {
            var block = (BlockSyntax)context.Node;

            RemoveRedundantEmptyLineRefactoring.Analyze(context, block);

            FormatEachStatementOnSeparateLineRefactoring.Analyze(context, block);

            FormatEmptyBlockRefactoring.Analyze(context, block);
        }
 private void AnalyzeSwitchStatement(SyntaxNodeAnalysisContext context)
 {
     RemoveRedundantEmptyLineRefactoring.Analyze(context, (SwitchStatementSyntax)context.Node);
 }
 private void AnalyzeNamespaceDeclaration(SyntaxNodeAnalysisContext context)
 {
     RemoveRedundantEmptyLineRefactoring.Analyze(context, (NamespaceDeclarationSyntax)context.Node);
 }
 public void AnalyzeClassDeclaration(SyntaxNodeAnalysisContext context)
 {
     RemoveRedundantEmptyLineRefactoring.Analyze(context, (ClassDeclarationSyntax)context.Node);
 }
Пример #5
0
 private void AnalyzeElseClause(SyntaxNodeAnalysisContext context)
 {
     RemoveRedundantEmptyLineRefactoring.Analyze(context, (ElseClauseSyntax)context.Node);
 }
Пример #6
0
 private void AnalyzeAccessorList(SyntaxNodeAnalysisContext context)
 {
     RemoveRedundantEmptyLineRefactoring.Analyze(context, (AccessorListSyntax)context.Node);
 }