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