17 implementations of ToDateTime
mscorlib (17)
system\boolean.cs (1)
301
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
system\byte.cs (1)
254
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
system\char.cs (1)
499
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
system\datetime.cs (1)
1644
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
system\dbnull.cs (1)
113
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
system\decimal.cs (1)
1267
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
system\double.cs (1)
368
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
system\enum.cs (1)
1030
DateTime IConvertible.
ToDateTime
(IFormatProvider provider)
system\int16.cs (1)
267
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
system\int32.cs (1)
240
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
system\int64.cs (1)
219
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
system\sbyte.cs (1)
275
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
system\single.cs (1)
338
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
system\string.cs (1)
3430
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
system\uint16.cs (1)
242
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
system\uint32.cs (1)
224
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
system\uint64.cs (1)
219
DateTime IConvertible.
ToDateTime
(IFormatProvider provider) {
24 references to ToDateTime
mscorlib (20)
system\convert.cs (18)
247
return v.
ToDateTime
(provider);
304
return value.
ToDateTime
(provider);
375
return ic.
ToDateTime
(provider);
1717
return value == null? DateTime.MinValue: ((IConvertible)value).
ToDateTime
(null);
1721
return value == null? DateTime.MinValue: ((IConvertible)value).
ToDateTime
(provider);
1738
return ((IConvertible)value).
ToDateTime
(null);
1742
return ((IConvertible)value).
ToDateTime
(null);
1746
return ((IConvertible)value).
ToDateTime
(null);
1751
return ((IConvertible)value).
ToDateTime
(null);
1755
return ((IConvertible)value).
ToDateTime
(null);
1760
return ((IConvertible)value).
ToDateTime
(null);
1764
return ((IConvertible)value).
ToDateTime
(null);
1769
return ((IConvertible)value).
ToDateTime
(null);
1773
return ((IConvertible)value).
ToDateTime
(null);
1777
return ((IConvertible)value).
ToDateTime
(null);
1781
return ((IConvertible)value).
ToDateTime
(null);
1785
return ((IConvertible)value).
ToDateTime
(null);
1789
return ((IConvertible)value).
ToDateTime
(null);
system\variant.cs (2)
520
v = new Variant(ic.
ToDateTime
(provider));
617
v = new Variant(iv.
ToDateTime
(provider));
System.AddIn.Contract (1)
System\Addin\Contract\RemoteArgument.cs (1)
181
dateTimeToUse = convertibleValue.
ToDateTime
(null);
System.Data (3)
fx\src\data\System\Data\Common\DateTimeStorage.cs (2)
111
value = ((IConvertible)value).
ToDateTime
(FormatProvider);
142
DateTime tmpValue = ((IConvertible)value).
ToDateTime
(FormatProvider);
fx\src\data\System\Data\Common\SQLConvert.cs (1)
598
return ((IConvertible)(string)value).
ToDateTime
(formatProvider);