Implemented interface member:
method
ToString
System.IConvertible.ToString(System.IFormatProvider)
24 references to ToString
mscorlib (2)
system\convert.cs (1)
1956
return value.
ToString
(provider);
system\security\cryptography\x509certificates\x509certificate.cs (1)
473
return date.
ToString
(culture);
PresentationFramework (2)
src\Framework\System\Windows\Controls\Calendar.cs (1)
778
return this.SelectedDate.Value.
ToString
(DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this)));
src\Framework\System\Windows\Controls\DatePicker.cs (1)
737
return this.SelectedDate.Value.
ToString
(DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this)));
System (3)
compmod\system\componentmodel\DateTimeConverter.cs (1)
111
return dt.
ToString
(culture);
net\System\Net\Cache\_Rfc2616CacheValidators.cs (1)
899
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_policy_cache_sync_date, ctx.Policy.InternalCacheSyncDateUtc.ToString("r", CultureInfo.CurrentCulture), ctx.CacheEntry.LastSynchronizedUtc.
ToString
(CultureInfo.CurrentCulture)));
net\System\Net\Cache\RequestCachePolicy.cs (1)
278
(CacheSyncDate==DateTime.MinValue? string.Empty: " CacheSyncDate:" + CacheSyncDate.
ToString
(CultureInfo.CurrentCulture));
System.Data (3)
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
10659
throw SQL.SmallDateTimeOverflow(MetaType.ToDateTime(dt.days, dt.time, 4).
ToString
(CultureInfo.InvariantCulture));
10846
throw SQL.SmallDateTimeOverflow(MetaType.ToDateTime(dt.days, dt.time, 4).
ToString
(CultureInfo.InvariantCulture));
fx\src\data\System\Data\SQLTypes\SQLDateTime.cs (1)
343
return dateTime.
ToString
((IFormatProvider)null);
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
72
DateTime.Now.
ToString
( System.Globalization.CultureInfo.CurrentCulture ));
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
138
DateTime.Now.
ToString
(System.Globalization.CultureInfo.CurrentCulture));
System.Messaging (8)
System\Messaging\MessageQueueCriteria.cs (8)
60
throw new ArgumentException(Res.GetString(Res.InvalidDateValue, MessageQueueCriteria.minDate.
ToString
(CultureInfo.CurrentCulture), MessageQueueCriteria.maxDate.
ToString
(CultureInfo.CurrentCulture)));
89
throw new ArgumentException(Res.GetString(Res.InvalidDateValue, MessageQueueCriteria.minDate.
ToString
(CultureInfo.CurrentCulture), MessageQueueCriteria.maxDate.
ToString
(CultureInfo.CurrentCulture)));
191
throw new ArgumentException(Res.GetString(Res.InvalidDateValue, MessageQueueCriteria.minDate.
ToString
(CultureInfo.CurrentCulture), MessageQueueCriteria.maxDate.
ToString
(CultureInfo.CurrentCulture)));
221
throw new ArgumentException(Res.GetString(Res.InvalidDateValue, MessageQueueCriteria.minDate.
ToString
(CultureInfo.CurrentCulture), MessageQueueCriteria.maxDate.
ToString
(CultureInfo.CurrentCulture)));
System.Web (4)
Management\EventlogProvider.cs (1)
106
dataFields.Add(procStats.ProcessStartTime.
ToString
(CultureInfo.InstalledUICulture));
Management\WebEvents.cs (3)
243
formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_time, EventTime.
ToString
(CultureInfo.InstalledUICulture)));
244
formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_time_Utc, EventTimeUtc.
ToString
(CultureInfo.InstalledUICulture)));
2123
formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_process_start_time, ProcessStartTime.
ToString
(CultureInfo.InstalledUICulture)));