Skip to content

[tvOS] XmlSerializerTests failing #74247

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

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