Base:
property
Type
System.Linq.Expressions.Expression.Type
1 write to Type
System.Linq.Expressions (1)
System\Linq\Expressions\SwitchExpression.cs (1)
20
Type
= type;
12 references to Type
System.Linq.Expressions (12)
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (5)
173
EmitExpressionAsType(node.DefaultBody, node.
Type
, flags);
179
Debug.Assert(node.
Type
== typeof(void));
501
EmitExpressionAsType(node.Cases[i].Body, node.
Type
, flags);
523
EmitExpressionAsType(node.DefaultBody, node.
Type
, flags);
744
Expression.Switch(node.
Type
, switchIndex, node.DefaultBody, null, cases.ToReadOnly())
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
945
expr = new SwitchExpression(node.
Type
, switchValue.Node, defaultBody.Node, node.Comparison, cases);
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
432
public Type Type => _node.
Type
;
System\Linq\Expressions\Interpreter\LightCompiler.cs (4)
1548
Debug.Assert(node.
Type
== typeof(void));
1603
LabelTarget doneLabel = Expression.Label(node.
Type
, "done");
1631
bool hasValue = node.
Type
!= typeof(void);
1673
bool hasValue = node.
Type
!= typeof(void);
System\Linq\Expressions\SwitchExpression.cs (1)
99
return Expression.Switch(
Type
, switchValue, defaultBody, Comparison, cases);