public override SyntaxNode VisitForEachComponentStatement(ForEachComponentStatementSyntax node) { if (node != this.ContainerOfStatementsOrFieldToReplace) { return(base.VisitForEachComponentStatement(node)); } return(node.WithExpression(VisitNode(node.Expression)) .WithStatement(ReplaceStatementIfNeeded(node.Statement))); }
public override void VisitForEachComponentStatement(ForEachComponentStatementSyntax node) { VisitCommonForEachStatement(node); }
public override void VisitForEachComponentStatement(ForEachComponentStatementSyntax node) { AddVariableExpressions(node.VariableComponent, _expressions); AddExpressionTerms(node.Expression, _expressions); }
public override void VisitForEachComponentStatement(ForEachComponentStatementSyntax node) { VisitCommonForEachStatement(node); }
public override void VisitForEachComponentStatement(ForEachComponentStatementSyntax node) { AddVariableExpressions(node.VariableComponent, _expressions); AddExpressionTerms(node.Expression, _expressions); }