13 references to ToDateTime
mscorlib (2)
system\runtime\serialization\formatter.cs (1)
160
WriteDateTime(Convert.
ToDateTime
(data, CultureInfo.InvariantCulture), memberName);
system\runtime\serialization\formatterconverter.cs (1)
157
return System.Convert.
ToDateTime
(value, CultureInfo.InvariantCulture);
System.Data (5)
fx\src\data\System\Data\Common\ObjectStorage.cs (2)
124
valueNo1 = Convert.
ToDateTime
(valueNo1, FormatProvider);
125
valueNo2 = Convert.
ToDateTime
(valueNo1, FormatProvider);
fx\src\data\System\Data\Filter\BinaryNode.cs (2)
158
return DateTime.Compare(Convert.
ToDateTime
(vLeft, FormatProvider), Convert.
ToDateTime
(vRight, FormatProvider));
fx\src\data\System\Data\Filter\FunctionNode.cs (1)
291
return Convert.
ToDateTime
(argumentValues[0], FormatProvider);
System.Data.Services (1)
System\Data\Services\Epm\EpmSyndicationContentSerializer.cs (1)
196
date = new DateTimeOffset(Convert.
ToDateTime
(propertyValue, CultureInfo.InvariantCulture));
System.Web.DataVisualization (2)
Common\DataManager\DataPoint.cs (2)
2294
yDate = Convert.
ToDateTime
(yValue[i], CultureInfo.InvariantCulture); //This will throw an exception in case when the yValue type is not compatible with the DateTime
2315
yTime = Convert.
ToDateTime
(yValue[i], CultureInfo.InvariantCulture); //This will throw an exception in case when the yValue type is not compatible with the DateTime
System.Windows.Forms (1)
winforms\Managed\System\WinForms\NativeMethods.cs (1)
4351
v.SetLong(Convert.
ToDateTime
(var, CultureInfo.InvariantCulture).ToFileTime());
System.Windows.Forms.DataVisualization (2)
Common\DataManager\DataPoint.cs (2)
2294
yDate = Convert.
ToDateTime
(yValue[i], CultureInfo.InvariantCulture); //This will throw an exception in case when the yValue type is not compatible with the DateTime
2315
yTime = Convert.
ToDateTime
(yValue[i], CultureInfo.InvariantCulture); //This will throw an exception in case when the yValue type is not compatible with the DateTime