22 references to RoundtripKind
System.Data.Common (7)
System\Data\Common\DateTimeStorage.cs (2)
225retValue = XmlConvert.ToDateTime(s, XmlDateTimeSerializationMode.RoundtripKind); 241retValue = XmlConvert.ToString((DateTime)value, XmlDateTimeSerializationMode.RoundtripKind);
System\Data\Common\SQLConvert.cs (4)
579return new SqlDateTime(XmlConvert.ToDateTime((string)value, XmlDateTimeSerializationMode.RoundtripKind)); 632return XmlConvert.ToDateTime((string)value, XmlDateTimeSerializationMode.RoundtripKind); 667return XmlConvert.ToString(((SqlDateTime)value).Value, XmlDateTimeSerializationMode.RoundtripKind); 713return XmlConvert.ToString((DateTime)value, XmlDateTimeSerializationMode.RoundtripKind);
System\Data\SQLTypes\SQLDateTime.cs (1)
643DateTime dt = XmlConvert.ToDateTime(reader.ReadElementString(), XmlDateTimeSerializationMode.RoundtripKind);
System.Private.DataContractSerialization (1)
System\Xml\XmlConverter.cs (1)
219return XmlConvert.ToDateTime(value, XmlDateTimeSerializationMode.RoundtripKind);
System.Private.Xml (13)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
1211return XmlConvert.ToDateTime(string.Empty, XmlDateTimeSerializationMode.RoundtripKind);
System\Xml\Core\XmlReader.cs (2)
182return XmlConvert.ToDateTime(InternalReadContentAsString(), XmlDateTimeSerializationMode.RoundtripKind); 395return XmlConvert.ToDateTime(string.Empty, XmlDateTimeSerializationMode.RoundtripKind);
System\Xml\Core\XmlWriter.cs (1)
268WriteString(XmlConvert.ToString(value, XmlDateTimeSerializationMode.RoundtripKind));
System\Xml\Schema\Inference\Infer.cs (2)
1648XmlConvert.ToDateTime(s, XmlDateTimeSerializationMode.RoundtripKind); 2365XmlConvert.ToDateTime(s, XmlDateTimeSerializationMode.RoundtripKind);
System\Xml\Serialization\Xmlcustomformatter.cs (3)
104return XmlConvert.ToString(value, XmlDateTimeSerializationMode.RoundtripKind); 116return XmlConvert.TryFormat(value, XmlDateTimeSerializationMode.RoundtripKind, destination, out charsWritten); 382return XmlConvert.ToDateTime(value, XmlDateTimeSerializationMode.RoundtripKind);
System\Xml\XmlConvert.cs (4)
718case XmlDateTimeSerializationMode.RoundtripKind: 1229case XmlDateTimeSerializationMode.RoundtripKind: 1761return TryFormat(value, XmlDateTimeSerializationMode.RoundtripKind, destination, out charsWritten); 1780case XmlDateTimeSerializationMode.RoundtripKind:
System.Private.Xml.Linq (1)
System\Xml\Linq\XContainer.cs (1)
820DateTime dtValue => XmlConvert.ToString(dtValue, XmlDateTimeSerializationMode.RoundtripKind),