public static void GetComObjectData() { Assert.Throws<PlatformNotSupportedException>(() => Marshal.GetComObjectData(null, null)); }