32 references to RoundtripKind
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\XmlPropertyBag.cs (2)
176return XmlConvert.ToDateTime(value, XmlDateTimeSerializationMode.RoundtripKind); 238return XmlConvert.ToString((DateTime)value, XmlDateTimeSerializationMode.RoundtripKind);
System.Data (7)
fx\src\data\System\Data\Common\DateTimeStorage.cs (2)
193retValue = XmlConvert.ToDateTime(s, XmlDateTimeSerializationMode.RoundtripKind); 204retValue = XmlConvert.ToString((DateTime)value, XmlDateTimeSerializationMode.RoundtripKind);
fx\src\data\System\Data\Common\SQLConvert.cs (4)
634return new SqlDateTime(XmlConvert.ToDateTime((string)value, XmlDateTimeSerializationMode.RoundtripKind)); 687return XmlConvert.ToDateTime((string)value, XmlDateTimeSerializationMode.RoundtripKind); 723return XmlConvert.ToString(((SqlDateTime)value).Value, XmlDateTimeSerializationMode.RoundtripKind); 769return XmlConvert.ToString((DateTime)value, XmlDateTimeSerializationMode.RoundtripKind);
fx\src\data\System\Data\SQLTypes\SQLDateTime.cs (1)
633DateTime dt = XmlConvert.ToDateTime(reader.ReadElementString(), XmlDateTimeSerializationMode.RoundtripKind);
System.Data.Services (3)
System\Data\Services\Parsing\WebConvert.cs (3)
298targetValue = XmlConvert.ToDateTime(text, XmlDateTimeSerializationMode.RoundtripKind); 532targetValue = XmlConvert.ToDateTime(text, XmlDateTimeSerializationMode.RoundtripKind); 637result = XmlConvert.ToString((DateTime)value, XmlDateTimeSerializationMode.RoundtripKind);
System.Data.Services.Client (5)
parent\Server\System\Data\Services\Parsing\WebConvert.cs (1)
637result = XmlConvert.ToString((DateTime)value, XmlDateTimeSerializationMode.RoundtripKind);
System\Data\Services\Client\ClientConvert.cs (2)
152return XmlConvert.ToDateTime(propertyValue, XmlDateTimeSerializationMode.RoundtripKind); 317return XmlConvert.ToString(dt.Kind == DateTimeKind.Unspecified && atomDateConstruct ? new DateTime(dt.Ticks, DateTimeKind.Utc) : dt, XmlDateTimeSerializationMode.RoundtripKind);
System\Data\Services\Client\DataServiceContext.cs (1)
2943writer.WriteElementString(XmlConstants.AtomUpdatedElementName, XmlConstants.AtomNamespace, XmlConvert.ToString(DateTime.UtcNow, XmlDateTimeSerializationMode.RoundtripKind));
System\Data\Services\Client\Epm\EpmSyndicationContentSerializer.cs (1)
227this.Target.WriteElementString(XmlConstants.AtomUpdatedElementName, XmlConstants.AtomNamespace, XmlConvert.ToString(DateTime.UtcNow, XmlDateTimeSerializationMode.RoundtripKind));
System.Runtime.Serialization (1)
System\Xml\XmlConverter.cs (1)
247return XmlConvert.ToDateTime(value, XmlDateTimeSerializationMode.RoundtripKind);
System.ServiceModel (2)
System\ServiceModel\Security\SecurityTimestamp.cs (2)
149XmlConvert.ToString(this.CreationTimeUtc, XmlDateTimeSerializationMode.RoundtripKind), 150XmlConvert.ToString(this.ExpiryTimeUtc, XmlDateTimeSerializationMode.RoundtripKind));
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
214return XmlConvert.ToString((DateTime) parameter, XmlDateTimeSerializationMode.RoundtripKind);
System.Xml (10)
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\Core\XmlWriter.cs (1)
287WriteString(XmlConvert.ToString(value, XmlDateTimeSerializationMode.RoundtripKind));
System\Xml\Schema\Inference\Infer.cs (2)
1636XmlConvert.ToDateTime(s, XmlDateTimeSerializationMode.RoundtripKind); 2346XmlConvert.ToDateTime(s, XmlDateTimeSerializationMode.RoundtripKind);
System\Xml\Serialization\Xmlcustomformatter.cs (2)
94return XmlConvert.ToString(value, XmlDateTimeSerializationMode.RoundtripKind); 329return XmlConvert.ToDateTime(value, XmlDateTimeSerializationMode.RoundtripKind);
System\Xml\XmlConvert.cs (2)
786case XmlDateTimeSerializationMode.RoundtripKind: 1282case XmlDateTimeSerializationMode.RoundtripKind:
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
2938return XmlConvert.ToString(value, XmlDateTimeSerializationMode.RoundtripKind);