private static void AnalyzeReturnStatement(SyntaxNodeAnalysisContext context)
        {
            MergeLocalDeclarationWithReturnStatementRefactoring.Analyze(context);

            var returnStatement = (ReturnStatementSyntax)context.Node;

            ReplaceReturnStatementWithExpressionStatementRefactoring.Analyze(context, returnStatement);
        }
Exemplo n.º 2
0
 private void AnalyzeReturnStatement(SyntaxNodeAnalysisContext context)
 {
     MergeLocalDeclarationWithReturnStatementRefactoring.Analyze(context);
 }