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