public CorElementType GetReturnType(out TypeHandle thValueType) { thValueType = _returnType; CorElementType returnValue = thValueType.GetCorElementType(); if (!thValueType.IsValueType()) { thValueType = default(TypeHandle); } return returnValue; }
// 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; }