19 references to AnalyzeTypeIsResult
System.Linq.Expressions (19)
System\Linq\Expressions\Common\ConstantCheck.cs (8)
37
internal static
AnalyzeTypeIsResult
AnalyzeTypeIs(TypeBinaryExpression typeIs)
50
private static
AnalyzeTypeIsResult
AnalyzeTypeIs(Expression operand, Type testType)
57
return testType == typeof(void) ?
AnalyzeTypeIsResult
.KnownTrue :
AnalyzeTypeIsResult
.KnownFalse;
62
return
AnalyzeTypeIsResult
.KnownFalse;
86
return
AnalyzeTypeIsResult
.KnownTrue;
90
return
AnalyzeTypeIsResult
.KnownAssignable;
98
return
AnalyzeTypeIsResult
.Unknown;
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (6)
658
AnalyzeTypeIsResult
result = ConstantCheck.AnalyzeTypeIs(node);
660
if (result ==
AnalyzeTypeIsResult
.KnownTrue ||
661
result ==
AnalyzeTypeIsResult
.KnownFalse)
666
_ilg.EmitPrimitive(result ==
AnalyzeTypeIsResult
.KnownTrue);
670
if (result ==
AnalyzeTypeIsResult
.KnownAssignable)
688
Debug.Assert(result ==
AnalyzeTypeIsResult
.Unknown);
System\Linq\Expressions\Interpreter\LightCompiler.cs (5)
2926
AnalyzeTypeIsResult
result = ConstantCheck.AnalyzeTypeIs(node);
2932
case
AnalyzeTypeIsResult
.KnownTrue:
2933
case
AnalyzeTypeIsResult
.KnownFalse:
2942
_instructions.EmitLoad(result ==
AnalyzeTypeIsResult
.KnownTrue);
2944
case
AnalyzeTypeIsResult
.KnownAssignable: