11 references to Comparison
System.Core (11)
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
395
public MethodInfo Comparison { get { return _node.
Comparison
; } }
Microsoft\Scripting\Ast\ExpressionVisitor.cs (3)
660
if (before.
Comparison
== null && after.
Comparison
!= null) {
661
throw Error.MustRewriteWithoutMethod(after.
Comparison
, "VisitSwitch");
Microsoft\Scripting\Ast\SwitchExpression.cs (1)
128
return Expression.Switch(Type, switchValue, defaultBody,
Comparison
, cases);
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (5)
196
EmitExpressionAndBranch(true, Expression.Equal(switchValue, testValue, false, node.
Comparison
), labels[i]);
212
if (node.
Comparison
== null) {
219
Type result = node.
Comparison
.GetParametersCached()[1].ParameterType.GetNonRefType();
321
if (node.
Comparison
!= null) {
558
if (node.
Comparison
!= typeof(string).GetMethod("op_Equality", BindingFlags.Public | BindingFlags.Static | BindingFlags.ExactBinding, null, new[] { typeof(string), typeof(string) }, null)) {
Microsoft\Scripting\Compiler\StackSpiller.cs (1)
837
expr = new SwitchExpression(node.Type, switchValue.Node, defaultBody.Node, node.
Comparison
, cases);