14 references to Throw
System.Linq.Expressions (14)
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (1)
97case ExpressionType.Throw:
System\Linq\Expressions\Compiler\LambdaCompiler.Generated.cs (1)
89case ExpressionType.Throw:
System\Linq\Expressions\Compiler\StackSpiller.cs (2)
595expr = new UnaryExpression(ExpressionType.Throw, value.Node, node.Type, null); 606Debug.Assert(node.NodeType != ExpressionType.Throw, "unexpected Throw");
System\Linq\Expressions\Compiler\StackSpiller.Generated.cs (1)
81case ExpressionType.Throw:
System\Linq\Expressions\DebugViewWriter.cs (2)
728case ExpressionType.Throw: 909case ExpressionType.Throw:
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
613case ExpressionType.Throw: Out("throw("); break;
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
2991case ExpressionType.Throw: 3068case 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> 58if (NodeType == ExpressionType.TypeAs || NodeType == ExpressionType.Quote || NodeType == ExpressionType.Throw) 330ExpressionType.Throw => Throw(operand, type), 889return new UnaryExpression(ExpressionType.Throw, value!, type, null);