Esempio n. 1
0
        public override BoundNode VisitThrowExpression(BoundThrowExpression node)
        {
            BoundSpillSequenceBuilder builder = null;
            BoundExpression           operand = VisitExpression(ref builder, node.Expression);

            return(UpdateExpression(builder, node.Update(operand, node.IsAbort, node.Type)));
        }
Esempio n. 2
0
 public override BoundNode VisitThrowExpression(BoundThrowExpression node)
 {
     if (!node.IsAbort)
     {
         RecordThrow(node.Syntax, node.Expression.Type);
     }
     return(base.VisitThrowExpression(node));
 }
Esempio n. 3
0
        public override BoundNode VisitThrowExpression(BoundThrowExpression node)
        {
            if (_inExpressionLambda)
            {
                Error(ErrorCode.ERR_ExpressionTreeContainsThrowExpression, node);
            }

            return(base.VisitThrowExpression(node));
        }