19 references to TestValues
System.Core (19)
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
1005foreach (var test in node.TestValues) {
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
383public ReadOnlyCollection<Expression> TestValues { get { return _node.TestValues; } }
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
734VisitExpressions('(', node.TestValues, ')');
Microsoft\Scripting\Ast\ExpressionVisitor.cs (1)
471return node.Update(Visit(node.TestValues), Visit(node.Body));
Microsoft\Scripting\Ast\SwitchCase.cs (2)
69/// <param name="testValues">The <see cref="TestValues" /> property of the result.</param> 73if (testValues == TestValues && body == Body) {
Microsoft\Scripting\Ast\SwitchExpression.cs (5)
232for (int i = 0; i < c.TestValues.Count; i++) { 235Type rightOperandType = c.TestValues[i].Type; 250var firstTestValue = caseList[0].TestValues[0]; 255for (int i = 0; i < c.TestValues.Count; i++) { 256if (!TypeUtils.AreEquivalent(firstTestValue.Type, c.TestValues[i].Type)) {
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (7)
190foreach (Expression test in node.Cases[i].TestValues) { 215return node.Cases[0].TestValues[0].Type; 329!TypeUtils.AreEquivalent(type, node.Cases[0].TestValues[0].Type)) { 335if (!node.Cases.All(c => c.TestValues.All(t => t is ConstantExpression))) { 353foreach (ConstantExpression test in node.Cases[i].TestValues) { 565foreach (Expression t in c.TestValues) { 587foreach (ConstantExpression t in node.Cases[i].TestValues) {
Microsoft\Scripting\Compiler\StackSpiller.cs (1)
791ReadOnlyCollection<Expression> testValues = @case.TestValues;