7 references to TryAddLineInfo
System.Private.DataContractSerialization (7)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (2)
266
throw new XmlException(XmlObjectSerializer.
TryAddLineInfo
(this, SR.Format(SR.XmlInvalidConversion, value, "UInt64")));
299
throw new XmlException(XmlObjectSerializer.
TryAddLineInfo
(this, SR.Format(SR.XmlInvalidConversion, value, "UInt64")));
System\Runtime\Serialization\XmlObjectSerializer.cs (1)
443
return XmlObjectSerializer.CreateSerializationException(
TryAddLineInfo
(reader, SR.Format(SR.EncounteredWithNameNamespace, errorMessage, reader.NodeType, reader.LocalName, reader.NamespaceURI)));
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (3)
162
throw XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.
TryAddLineInfo
(reader, SR.Format(SR.DcTypeNotFoundOnDeserialize, attributes.XsiTypeNamespace, attributes.XsiTypeName, reader.NamespaceURI, reader.LocalName)));
164
throw XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.
TryAddLineInfo
(reader, SR.Format(SR.DcTypeNotResolvedOnDeserialize, attributes.XsiTypeNamespace, attributes.XsiTypeName, reader.NamespaceURI, reader.LocalName)));
261
throw XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.
TryAddLineInfo
(xmlReader, SR.Format(SR.UnexpectedElementExpectingElements, xmlReader.NodeType, xmlReader.LocalName, xmlReader.NamespaceURI, stringBuilder.ToString())));
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
338
throw new XmlException(XmlObjectSerializer.
TryAddLineInfo
(this, SR.Format(SR.XmlInvalidConversion, value, type)));