1 write to SwitchValue
System.Linq.Expressions (1)
System\Linq\Expressions\SwitchExpression.cs (1)
21
SwitchValue
= switchValue;
24 references to SwitchValue
System.Linq.Expressions (24)
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (8)
168
EmitExpressionAsVoid(node.
SwitchValue
);
202
ParameterExpression switchValue = Expression.Parameter(node.
SwitchValue
.Type, "switchValue");
207
EmitExpression(node.
SwitchValue
);
286
Type = Node.
SwitchValue
.Type;
373
Type type = node.
SwitchValue
.Type;
427
LocalBuilder value = GetLocal(node.
SwitchValue
.Type);
428
EmitExpression(node.
SwitchValue
);
734
Expression.Assign(switchValue, node.
SwitchValue
),
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
882
Result switchValue = RewriteExpressionFreeTemps(node.
SwitchValue
, stack);
System\Linq\Expressions\DebugViewWriter.cs (1)
1051
Visit(node.
SwitchValue
);
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
431
public Expression SwitchValue => _node.
SwitchValue
;
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
725
Visit(node.
SwitchValue
);
System\Linq\Expressions\ExpressionVisitor.cs (1)
487
Visit(node.
SwitchValue
),
System\Linq\Expressions\Interpreter\LightCompiler.cs (6)
1537
CompileAsVoid(node.
SwitchValue
);
1553
TypeCode switchType = node.
SwitchValue
.Type.GetTypeCode();
1599
LocalDefinition temp = _locals.DefineLocal(Expression.Parameter(node.
SwitchValue
.Type), _instructions.Count);
1600
Compile(node.
SwitchValue
);
1633
Compile(node.
SwitchValue
);
1675
Compile(node.
SwitchValue
);
System\Linq\Expressions\SwitchCase.cs (1)
24
/// Gets the values of this case. This case is selected for execution when the <see cref="SwitchExpression.
SwitchValue
"/> matches any of these values.
System\Linq\Expressions\SwitchExpression.cs (4)
72
if (
SwitchValue
.Type.IsNullableType())
75
!TypeUtils.AreEquivalent(
SwitchValue
.Type, Comparison.GetParametersCached()[0].ParameterType.GetNonRefType());
86
/// <param name="switchValue">The <see cref="
SwitchValue
"/> property of the result.</param>
92
if (switchValue ==
SwitchValue
&& defaultBody == DefaultBody && cases != null)