public override void VisitDoStatement(DoStatementSyntax node) { var whileBinder = new WhileBinder(this.method, enclosing, node); AddToMap(node, whileBinder); VisitPossibleEmbeddedStatement(node.Statement, whileBinder); }
public override void VisitDoStatement(DoStatementSyntax node) { Debug.Assert((object)_method == _enclosing.ContainingMemberOrLambda); var whileBinder = new WhileBinder(_enclosing, node); AddToMap(node, whileBinder); VisitPossibleEmbeddedStatement(node.Statement, whileBinder); }
public override void VisitDoStatement(DoStatementSyntax node) { Debug.Assert((object)_containingMemberOrLambda == _enclosing.ContainingMemberOrLambda); var patternBinder = new PatternVariableBinder(node, _enclosing); var whileBinder = new WhileBinder(patternBinder, node); AddToMap(node, whileBinder); Visit(node.Condition, whileBinder); VisitPossibleEmbeddedStatement(node.Statement, whileBinder); }