Skip to content

System.Xml.XmlSerializer cannot serialize System.Nullable<t> as attribute #1412

Closed
Woodpile37/runtime
#47
@shmuelie

Description

@shmuelie
System.InvalidOperationException occurred
  HResult=-2146233079
  Message=Cannot serialize member 'ResX' of type System.Nullable`1[System.Double]. XmlAttribute/XmlText cannot be used to encode complex types.
  Source=System.Xml.XmlSerializer
  StackTrace:
       at System.Xml.Serialization.XmlReflectionImporter.ImportAccessorMapping(MemberMapping accessor, FieldModel model, XmlAttributes a, String ns, Type choiceIdentifierType, Boolean rpc, Boolean openModel, RecursionLimiter limiter)
  InnerException: 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions