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