protected void CheckActualMethodCalled(BaseCallExpression bc) { this.methodType = bc.ActualMethodCalled as TypeSystem.MethodType; if (this.methodType == null) // ActualMethodCalled is a TypeVariable or UnionType { TypeSystem.TypeVariable typeVariable = bc.ActualMethodCalled as TypeSystem.TypeVariable; if (typeVariable != null) { this.methodType = typeVariable.Substitution as TypeSystem.MethodType; } } }
public CheckMakeAnUnboxOperation() { this.methodType = null; }