Example #1
0
 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;
         }
     }
 }
Example #2
0
 public CheckMakeAnUnboxOperation()
 {
     this.methodType = null;
 }