Skip to content

[tvOS] XmlSerializerTests failing #74247

Closed

Description

@simonrozsival

Failing tests:

  • XmlSerializerTests.Xml_ReadOnlyCollection
  • XmlSerializerTests.Xml_ImmutableCollections

Likely introduced in #73729
Originaly reported in #74076
Sample test results: https://dev.azure.com/dnceng/public/_build/results?buildId=1948701&view=results

Sample failures:

Assert.Throws() Failure
Expected: typeof(System.InvalidOperationException)
Actual:   (No exception was thrown)
   at XmlSerializerTests.Xml_ReadOnlyCollection()
   at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
Assert.Contains() Failure
Not found: Parameterless constructor is required for collections and enumerators.
In value:  There is an error in XML document (4, 14). : Specified method is not supported.
   at XmlSerializerTests.Xml_ImmutableCollections(Type type, Object collection, Type createException, Type addException, String expectedXml, String exMsg)
   at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)

Activity

  1. changed the title [-][tvOS] XmlSerializerTests are failing[/-] [+][tvOS] XmlSerializerTests failing[/+] on Aug 19, 2022
  2. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Aug 19, 2022
  3. added this to the 8.0.0 milestone on Aug 22, 2022
  4. ghost removed
    untriagedNew issue has not been triaged by the area owner
    on Aug 22, 2022
  5. modified the milestones: 8.0.0, Future on Aug 8, 2023
  6. StephenMolloy commented on Aug 19, 2025

    @StephenMolloy
    Contributor

    I have re-enabled a bunch of serialization tests in PR #118507.
    Per these two runs (1118444, 1118071), none of these testcases are failing anymore.

  7. locked and limited conversation to collaborators on Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions