12 references to AnalyzeTypeIsResult
System.Core (12)
Microsoft\Scripting\Compiler\ConstantCheck.cs (6)
51
internal static
AnalyzeTypeIsResult
AnalyzeTypeIs(TypeBinaryExpression typeIs) {
63
private static
AnalyzeTypeIsResult
AnalyzeTypeIs(Expression operand, Type testType) {
69
return
AnalyzeTypeIsResult
.KnownFalse;
91
return
AnalyzeTypeIsResult
.KnownTrue;
95
return
AnalyzeTypeIsResult
.KnownAssignable;
103
return
AnalyzeTypeIsResult
.Unknown;
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (6)
543
AnalyzeTypeIsResult
result = ConstantCheck.AnalyzeTypeIs(node);
545
if (result ==
AnalyzeTypeIsResult
.KnownTrue ||
546
result ==
AnalyzeTypeIsResult
.KnownFalse) {
550
_ilg.EmitBoolean(result ==
AnalyzeTypeIsResult
.KnownTrue);
554
if (result ==
AnalyzeTypeIsResult
.KnownAssignable) {
572
Debug.Assert(result ==
AnalyzeTypeIsResult
.Unknown);