internal void Parse(BoundThrowExpression boundThrowExpression) { if (boundThrowExpression == null) { throw new ArgumentNullException(); } this.Expression = Deserialize(boundThrowExpression.Expression) as Expression; }
private void EmitThrowExpression(BoundThrowExpression node, bool used) { this.EmitThrow(node.Expression); // to satisfy invariants, we push a default value to pretend to adjust the stack height EmitDefaultValue(node.Type, used, node.Syntax); }
public override object VisitThrow(BoundThrowExpression x) { return(x.Update(x.Thrown)); }
public virtual TResult VisitThrow(BoundThrowExpression x) => DefaultVisitOperation(x);