MonoError error;
MonoCustomAttrInfo *cinfo;
GPtrArray *ifaces;
- MonoBoolean visible = 0;
+ MonoBoolean visible = 1;
/* Handle the ComVisibleAttribute */
if (!ComVisibleAttribute)
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+
public class Tests
{
}
}
#endregion // SafeArray Tests
+
+ #region COM Visible Test
+ TestVisible test_vis = new TestVisible();
+ IntPtr pDisp = Marshal.GetIDispatchForObject(test_vis);
+ if (pDisp == IntPtr.Zero)
+ return 200;
+ #endregion
}
return 0;
return 0;
}
}
+
+public class TestVisible
+{
+}