C# Class System.Linq.Expressions.ConstantCheck

Mostra file Open project: dotnet/corefx

Private Methods

Method Description
AnalyzeTypeIs ( Expression operand, Type testType ) : AnalyzeTypeIsResult

If the result of an isinst opcode is known statically, this returns the result, otherwise it returns null, meaning we'll need to perform the IsInst instruction at runtime. The result of this function must be equivalent to IsInst, or null.

AnalyzeTypeIs ( TypeBinaryExpression typeIs ) : AnalyzeTypeIsResult

If the result of a TypeBinaryExpression is known statically, this returns the result, otherwise it returns null, meaning we'll need to perform the IsInst instruction at runtime. The result of this function must be equivalent to IsInst, or null.

IsNull ( Expression e ) : bool