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