18 references to ToString
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\XmlPropertyBag.cs (1)
238
return XmlConvert.
ToString
((DateTime)value, XmlDateTimeSerializationMode.RoundtripKind);
System.Data (4)
fx\src\data\System\Data\Common\DateTimeStorage.cs (2)
201
retValue = XmlConvert.
ToString
((DateTime)value, XmlDateTimeSerializationMode.Local);
204
retValue = XmlConvert.
ToString
((DateTime)value, XmlDateTimeSerializationMode.RoundtripKind);
fx\src\data\System\Data\Common\SQLConvert.cs (2)
723
return XmlConvert.
ToString
(((SqlDateTime)value).Value, XmlDateTimeSerializationMode.RoundtripKind);
769
return XmlConvert.
ToString
((DateTime)value, XmlDateTimeSerializationMode.RoundtripKind);
System.Data.Services (1)
System\Data\Services\Parsing\WebConvert.cs (1)
637
result = XmlConvert.
ToString
((DateTime)value, XmlDateTimeSerializationMode.RoundtripKind);
System.Data.Services.Client (4)
parent\Server\System\Data\Services\Parsing\WebConvert.cs (1)
637
result = XmlConvert.
ToString
((DateTime)value, XmlDateTimeSerializationMode.RoundtripKind);
System\Data\Services\Client\ClientConvert.cs (1)
317
return XmlConvert.
ToString
(dt.Kind == DateTimeKind.Unspecified && atomDateConstruct ? new DateTime(dt.Ticks, DateTimeKind.Utc) : dt, XmlDateTimeSerializationMode.RoundtripKind);
System\Data\Services\Client\DataServiceContext.cs (1)
2943
writer.WriteElementString(XmlConstants.AtomUpdatedElementName, XmlConstants.AtomNamespace, XmlConvert.
ToString
(DateTime.UtcNow, XmlDateTimeSerializationMode.RoundtripKind));
System\Data\Services\Client\Epm\EpmSyndicationContentSerializer.cs (1)
227
this.Target.WriteElementString(XmlConstants.AtomUpdatedElementName, XmlConstants.AtomNamespace, XmlConvert.
ToString
(DateTime.UtcNow, XmlDateTimeSerializationMode.RoundtripKind));
System.ServiceModel (4)
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (2)
556
xml.WriteElementString("ValidFrom", XmlConvert.
ToString
(sessiontoken.ValidFrom, XmlDateTimeSerializationMode.Utc));
557
xml.WriteElementString("ValidTo", XmlConvert.
ToString
(sessiontoken.ValidTo, XmlDateTimeSerializationMode.Utc));
System\ServiceModel\Security\SecurityTimestamp.cs (2)
149
XmlConvert.
ToString
(this.CreationTimeUtc, XmlDateTimeSerializationMode.RoundtripKind),
150
XmlConvert.
ToString
(this.ExpiryTimeUtc, XmlDateTimeSerializationMode.RoundtripKind));
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
214
return XmlConvert.
ToString
((DateTime) parameter, XmlDateTimeSerializationMode.RoundtripKind);
System.Xml (2)
System\Xml\Core\XmlWriter.cs (1)
287
WriteString(XmlConvert.
ToString
(value, XmlDateTimeSerializationMode.RoundtripKind));
System\Xml\Serialization\Xmlcustomformatter.cs (1)
94
return XmlConvert.
ToString
(value, XmlDateTimeSerializationMode.RoundtripKind);
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
2938
return XmlConvert.
ToString
(value, XmlDateTimeSerializationMode.RoundtripKind);