public void SetTypeInfo(Type type, bool isReturnType, bool isExceptionSafe)
{
if ((XlAddIn.XlCallVersion < 12)
#if DEBUG // on debug-32bit we want to keep exercising the Excel4 APIs
|| (IntPtr.Size == 4)
#endif
)
{
SetTypeInfo4(type, isReturnType, isExceptionSafe);
}
else
{
SetTypeInfo12(type, isReturnType, isExceptionSafe);
}
}