示例#1
0
 public CorElementType GetReturnType(out TypeHandle thValueType)
 {
     thValueType = _returnType;
     CorElementType returnValue = thValueType.GetCorElementType();
     if (!thValueType.IsValueType())
     {
         thValueType = default(TypeHandle);
     }
     return returnValue;
 }
示例#2
0
 // Argument iteration.
 public CorElementType GetArgumentType(int argNum, out TypeHandle thValueType)
 {
     thValueType = _parameterTypes[argNum];
     CorElementType returnValue = thValueType.GetCorElementType();
     if (!thValueType.IsValueType())
     {
         thValueType = default(TypeHandle);
     }
     return returnValue;
 }