11 references to ReadElementContentAsString
System.Private.DataContractSerialization (11)
System\Runtime\Serialization\EnumDataContract.cs (1)
332
string stringValue = reader.
ReadElementContentAsString
();
System\Runtime\Serialization\Json\JsonObjectDataContract.cs (2)
39
obj = jsonReader.
ReadElementContentAsString
();
42
obj = ParseJsonNumber(jsonReader.
ReadElementContentAsString
());
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (2)
69
return XmlConvert.ToChar(
ReadElementContentAsString
());
206
return ParseJsonDate(
ReadElementContentAsString
(), _dateTimeFormat);
System\Runtime\Serialization\Json\JsonStringDataContract.cs (2)
29
return TryReadNullAtTopLevel(jsonReader) ? null : jsonReader.
ReadElementContentAsString
();
33
return HandleReadValue(jsonReader.
ReadElementContentAsString
(), context);
System\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
28
string xmlContent = jsonReader.
ReadElementContentAsString
();
System\Runtime\Serialization\PrimitiveDataContract.cs (2)
734
return TryReadNullAtTopLevel(reader) ? null : reader.
ReadElementContentAsString
();
738
return HandleReadValue(reader.
ReadElementContentAsString
(), context);
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
727
string str =
ReadElementContentAsString
();