// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+#if !FULL_AOT_RUNTIME
using Mono.Interop;
using System.Collections;
using System.Runtime.InteropServices;
// many times that obj.GetType().FullName == "System.__ComObject" and
// Type.GetType("System.__ComObject") may be used.
+ [StructLayout (LayoutKind.Sequential)]
internal class __ComObject : MarshalByRefObject
{
#pragma warning disable 169
// Guard multiple invocation.
if (iunknown != IntPtr.Zero)
return;
+
+ System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (t.TypeHandle);
ObjectCreationDelegate ocd = ExtensibleClassFactory.GetObjectCreationCallback (t);
if (ocd != null) {
out IntPtr pUnk);
}
}
+#endif