Skip to content

[NativeAot] ComWrappers don't work on Linux #76005

@MichalStrehovsky

Description

@MichalStrehovsky
[FAIL] System.Runtime.InteropServices.Tests.ReleaseTests.Release_ValidPointer_Success
System.PlatformNotSupportedException : Operation is not supported on this platform.
   at System.Runtime.InteropServices.ComWrappers.GetOrCreateComInterfaceForObject(Object instance, CreateComInterfaceFlags flags) + 0x28
   at System.Runtime.InteropServices.Tests.ReleaseTests.Release_ValidPointer_Success() + 0x48
   at System.Runtime.InteropServices!<BaseAddress>+0xfda184
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0xd8
[FAIL] System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_ValidInterface_Success(o: Object { }, iidString: "00000000-0000-0000-C000-000000000046")
System.PlatformNotSupportedException : Operation is not supported on this platform.
   at System.Runtime.InteropServices.ComWrappers.GetOrCreateComInterfaceForObject(Object instance, CreateComInterfaceFlags flags) + 0x28
   at System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_ValidInterface_Success(Object o, String iidString) + 0x48
   at System.Runtime.InteropServices!<BaseAddress>+0xff910c
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0x14c
[FAIL] System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_ValidInterface_Success(o: Object { }, iidString: "1F906666-B388-4729-B78C-826BC5FD4245")
System.PlatformNotSupportedException : Operation is not supported on this platform.
   at System.Runtime.InteropServices.ComWrappers.GetOrCreateComInterfaceForObject(Object instance, CreateComInterfaceFlags flags) + 0x28
   at System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_ValidInterface_Success(Object o, String iidString) + 0x48
   at System.Runtime.InteropServices!<BaseAddress>+0xff910c
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0x14c
[FAIL] System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_NoSuchInterface_Success(o: Object { }, iidString: "00000000-0000-0000-0000-000000000000")
System.PlatformNotSupportedException : Operation is not supported on this platform.
   at System.Runtime.InteropServices.ComWrappers.GetOrCreateComInterfaceForObject(Object instance, CreateComInterfaceFlags flags) + 0x28
   at System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_NoSuchInterface_Success(Object o, String iidString) + 0x44
   at System.Runtime.InteropServices!<BaseAddress>+0xff910c
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0x14c
[FAIL] System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_NoSuchInterface_Success(o: Object { }, iidString: "639610C8-26EA-48BB-BD74-4BC18EECC6EA")
System.PlatformNotSupportedException : Operation is not supported on this platform.
   at System.Runtime.InteropServices.ComWrappers.GetOrCreateComInterfaceForObject(Object instance, CreateComInterfaceFlags flags) + 0x28
   at System.Runtime.InteropServices.Tests.QueryInterfaceTests.QueryInterface_NoSuchInterface_Success(Object o, String iidString) + 0x44
   at System.Runtime.InteropServices!<BaseAddress>+0xff910c
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0x14c
[FAIL] System.Runtime.InteropServices.Tests.AddRefTests.AddRef_ValidPointer_Success
System.PlatformNotSupportedException : Operation is not supported on this platform.
   at System.Runtime.InteropServices.ComWrappers.GetOrCreateComInterfaceForObject(Object instance, CreateComInterfaceFlags flags) + 0x28
   at System.Runtime.InteropServices.Tests.AddRefTests.AddRef_ValidPointer_Success() + 0x48
   at System.Runtime.InteropServices!<BaseAddress>+0xfda184
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0xd8

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions