Exemple #1
0
        public override void VisitIfStatement(IfStatementSyntax node)
        {
            Debug.Assert((object)this.method == enclosing.ContainingMemberOrLambda);
            var ifBinder = new IfBinder(enclosing, node);

            AddToMap(node, ifBinder);

            VisitPossibleEmbeddedStatement(node.Statement, ifBinder);
            Visit(node.Else, ifBinder);
        }
Exemple #2
0
        public override void VisitIfStatement(IfStatementSyntax node)
        {
            Debug.Assert((object)this.method == enclosing.ContainingMemberOrLambda);
            var ifBinder = new IfBinder(enclosing, node);
            AddToMap(node, ifBinder);

            VisitPossibleEmbeddedStatement(node.Statement, ifBinder);
            Visit(node.Else, ifBinder);
        }