1 write to TestValues
System.Linq.Expressions (1)
System\Linq\Expressions\SwitchCase.cs (1)
20
TestValues
= testValues;
23 references to TestValues
System.Linq.Expressions (23)
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (7)
216
foreach (Expression test in node.Cases[i].
TestValues
)
244
return node.Cases[0].
TestValues
[0].Type;
375
!TypeUtils.AreEquivalent(type, node.Cases[0].
TestValues
[0].Type))
382
if (!node.Cases.All(c => c.
TestValues
.All(t => t is ConstantExpression)))
401
foreach (ConstantExpression test in node.Cases[i].
TestValues
)
647
foreach (Expression t in c.
TestValues
)
673
foreach (ConstantExpression t in node.Cases[i].
TestValues
)
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
892
ReadOnlyCollection<Expression> testValues = @case.
TestValues
;
System\Linq\Expressions\DebugViewWriter.cs (1)
1034
foreach (Expression test in node.
TestValues
)
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
412
public ReadOnlyCollection<Expression> TestValues => _node.
TestValues
;
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
716
VisitExpressions('(', node.
TestValues
, ')');
System\Linq\Expressions\ExpressionVisitor.cs (1)
473
return node.Update(Visit(node.
TestValues
), Visit(node.Body));
System\Linq\Expressions\Interpreter\LightCompiler.cs (4)
1531
if (node.Cases.All(c => c.
TestValues
.All(t => t is ConstantExpression)))
1607
foreach (Expression val in @case.
TestValues
)
1653
foreach (ConstantExpression testValue in switchCase.
TestValues
)
1697
foreach (ConstantExpression testValue in switchCase.
TestValues
)
System\Linq\Expressions\SwitchCase.cs (2)
47
/// <param name="testValues">The <see cref="
TestValues
"/> property of the result.</param>
54
if (ExpressionUtils.SameElements(ref testValues!,
TestValues
))
System\Linq\Expressions\SwitchExpression.cs (5)
223
for (int i = 0, n = c.
TestValues
.Count; i < n; i++)
227
Type rightOperandType = c.
TestValues
[i].Type;
253
Expression firstTestValue = caseList[0].
TestValues
[0];
259
for (int i = 0, n = c.
TestValues
.Count; i < n; i++)
261
if (!TypeUtils.AreEquivalent(firstTestValue.Type, c.
TestValues
[i].Type))