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