5 references to CreateSerializationExceptionWithReaderDetails
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\DataContractSerializer.cs (2)
482
throw XmlObjectSerializer.
CreateSerializationExceptionWithReaderDetails
(SR.Format(SR.ExpectingElement, expectedNs, expectedName), xmlReader);
487
throw XmlObjectSerializer.
CreateSerializationExceptionWithReaderDetails
(SR.Format(SR.ExpectingElementAtDeserialize, XmlNodeType.Element), xmlReader);
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (2)
453
throw XmlObjectSerializer.
CreateSerializationExceptionWithReaderDetails
(SR.Format(SR.ExpectingElement, XmlDictionaryString.Empty, RootName), xmlReader);
458
throw XmlObjectSerializer.
CreateSerializationExceptionWithReaderDetails
(SR.Format(SR.ExpectingElementAtDeserialize, XmlNodeType.Element), xmlReader);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
1082
return XmlObjectSerializer.
CreateSerializationExceptionWithReaderDetails
(SR.Format(SR.ExpectingState, expectedState), xmlReader);