16 references to ToDateTime
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\XmlPropertyBag.cs (1)
176
return XmlConvert.
ToDateTime
(value, XmlDateTimeSerializationMode.RoundtripKind);
System.Data (5)
fx\src\data\System\Data\Common\DateTimeStorage.cs (2)
190
retValue = XmlConvert.
ToDateTime
(s, XmlDateTimeSerializationMode.Unspecified);
193
retValue = XmlConvert.
ToDateTime
(s, XmlDateTimeSerializationMode.RoundtripKind);
fx\src\data\System\Data\Common\SQLConvert.cs (2)
634
return new SqlDateTime(XmlConvert.
ToDateTime
((string)value, XmlDateTimeSerializationMode.RoundtripKind));
687
return XmlConvert.
ToDateTime
((string)value, XmlDateTimeSerializationMode.RoundtripKind);
fx\src\data\System\Data\SQLTypes\SQLDateTime.cs (1)
633
DateTime dt = XmlConvert.
ToDateTime
(reader.ReadElementString(), XmlDateTimeSerializationMode.RoundtripKind);
System.Data.Services (2)
System\Data\Services\Parsing\WebConvert.cs (2)
298
targetValue = XmlConvert.
ToDateTime
(text, XmlDateTimeSerializationMode.RoundtripKind);
532
targetValue = XmlConvert.
ToDateTime
(text, XmlDateTimeSerializationMode.RoundtripKind);
System.Data.Services.Client (1)
System\Data\Services\Client\ClientConvert.cs (1)
152
return XmlConvert.
ToDateTime
(propertyValue, XmlDateTimeSerializationMode.RoundtripKind);
System.Runtime.Serialization (1)
System\Xml\XmlConverter.cs (1)
247
return XmlConvert.
ToDateTime
(value, XmlDateTimeSerializationMode.RoundtripKind);
System.Xml (6)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
1069
return XmlConvert.
ToDateTime
(String.Empty, XmlDateTimeSerializationMode.RoundtripKind);
System\Xml\Core\XmlReader.cs (2)
230
return XmlConvert.
ToDateTime
(InternalReadContentAsString(), XmlDateTimeSerializationMode.RoundtripKind);
397
return XmlConvert.
ToDateTime
(string.Empty, XmlDateTimeSerializationMode.RoundtripKind);
System\Xml\Schema\Inference\Infer.cs (2)
1636
XmlConvert.
ToDateTime
(s, XmlDateTimeSerializationMode.RoundtripKind);
2346
XmlConvert.
ToDateTime
(s, XmlDateTimeSerializationMode.RoundtripKind);
System\Xml\Serialization\Xmlcustomformatter.cs (1)
329
return XmlConvert.
ToDateTime
(value, XmlDateTimeSerializationMode.RoundtripKind);