14 references to Throw
System.Linq.Expressions (14)
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (1)
97
case ExpressionType.
Throw
:
System\Linq\Expressions\Compiler\LambdaCompiler.Generated.cs (1)
89
case ExpressionType.
Throw
:
System\Linq\Expressions\Compiler\StackSpiller.cs (2)
595
expr = new UnaryExpression(ExpressionType.
Throw
, value.Node, node.Type, null);
606
Debug.Assert(node.NodeType != ExpressionType.
Throw
, "unexpected Throw");
System\Linq\Expressions\Compiler\StackSpiller.Generated.cs (1)
81
case ExpressionType.
Throw
:
System\Linq\Expressions\DebugViewWriter.cs (2)
728
case ExpressionType.
Throw
:
909
case ExpressionType.
Throw
:
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
613
case ExpressionType.
Throw
: Out("throw("); break;
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
2991
case ExpressionType.
Throw
:
3068
case ExpressionType.
Throw
: CompileThrowUnaryExpression(expr, expr.Type == typeof(void)); break;
System\Linq\Expressions\UnaryExpression.cs (4)
41
/// <returns> An <see cref="Expression"/> that represents the operand of the unary operation. Returns null if node type is <see cref="ExpressionType.
Throw
"/> with no operand.</returns>
58
if (NodeType == ExpressionType.TypeAs || NodeType == ExpressionType.Quote || NodeType == ExpressionType.
Throw
)
330
ExpressionType.
Throw
=> Throw(operand, type),
889
return new UnaryExpression(ExpressionType.
Throw
, value!, type, null);