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