IronRuby.Builtins.RubyClass.MarkNewException C# (CSharp) Method

MarkNewException() private method

private MarkNewException ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression
        private Expression/*!*/ MarkNewException(Expression/*!*/ expression) {
            // mark the exception as "Ruby created" so that "new" is not called again on its class when handled in rescue clause:
            return IsException() ? Methods.MarkException.OpCall(AstUtils.Convert(expression, typeof(Exception))) : expression;
        }