36 references to ToDouble
mscorlib (4)
system\enum.cs (1)
1020
return Convert.
ToDouble
(GetValue(), CultureInfo.CurrentCulture);
system\runtime\serialization\formatter.cs (1)
158
WriteDouble(Convert.
ToDouble
(data, CultureInfo.InvariantCulture), memberName);
system\runtime\serialization\formatterconverter.cs (1)
141
return System.Convert.
ToDouble
(value, CultureInfo.InvariantCulture);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (1)
732
WriteDouble(Convert.
ToDouble
(value, CultureInfo.InvariantCulture));
PresentationFramework (7)
src\Framework\System\Windows\Controls\DataGridLengthConverter.cs (1)
87
double doubleValue = Convert.
ToDouble
(value, culture);
src\Framework\System\Windows\Controls\VirtualizationCacheLengthConverter.cs (1)
114
double value = Convert.
ToDouble
(source, cultureInfo);
src\Framework\System\Windows\CornerRadiusConverter.cs (1)
110
else { return new CornerRadius(Convert.
ToDouble
(source, cultureInfo)); }
src\Framework\System\Windows\FigureLengthConverter.cs (1)
124
return new FigureLength(Convert.
ToDouble
(source, cultureInfo)); //conversion from numeric type
src\Framework\System\Windows\GridLengthConverter.cs (1)
131
value = Convert.
ToDouble
(source, cultureInfo);
src\Framework\System\Windows\LengthConverter.cs (1)
118
else { return (double)(Convert.
ToDouble
(source, cultureInfo)); }
src\Framework\System\Windows\ThicknessConverter.cs (1)
111
else { return new Thickness(Convert.
ToDouble
(source, cultureInfo)); }
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1702
double valueAsDouble = System.Convert.
ToDouble
(value, CultureInfo.CurrentCulture);
System.ComponentModel.DataAnnotations (1)
DataAnnotations\RangeAttribute.cs (1)
157
this.Initialize((double)minimum, (double)maximum, v => Convert.
ToDouble
(v, CultureInfo.InvariantCulture));
System.Data (15)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1702
double valueAsDouble = System.Convert.
ToDouble
(value, CultureInfo.CurrentCulture);
fx\src\data\System\Data\Common\ObjectStorage.cs (2)
128
valueNo1 = Convert.
ToDouble
(valueNo1, FormatProvider);
129
valueNo2 = Convert.
ToDouble
(valueNo2, FormatProvider);
fx\src\data\System\Data\Filter\BinaryNode.cs (10)
154
return Convert.
ToDouble
(vLeft, FormatProvider).CompareTo(Convert.
ToDouble
(vRight, FormatProvider));
328
checked {value = Convert.
ToDouble
(vLeft, FormatProvider) + Convert.
ToDouble
(vRight, FormatProvider);}
447
checked {value = Convert.
ToDouble
(vLeft, FormatProvider) - Convert.
ToDouble
(vRight, FormatProvider);}
539
checked {value = Convert.
ToDouble
(vLeft, FormatProvider) * Convert.
ToDouble
(vRight, FormatProvider);}
604
Double b = Convert.
ToDouble
(vRight, FormatProvider);
605
checked {value = Convert.
ToDouble
(vLeft, FormatProvider) / b;}
fx\src\data\System\Data\Filter\ConstNode.cs (1)
36
this.val = Convert.
ToDouble
(constant, NumberFormatInfo.InvariantInfo);
fx\src\data\System\Data\Filter\FunctionNode.cs (1)
295
return Convert.
ToDouble
(argumentValues[0], FormatProvider);
System.Management (3)
property.cs (2)
481
((Double[])(wmiValue))[i] = Convert.
ToDouble
(valArray.GetValue(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Double)));
575
wmiValue = Convert.
ToDouble
(val,(IFormatProvider)culInfo.GetFormat(typeof(System.Double)));
qualifier.cs (1)
128
((Double[])(wmiValue))[i] = Convert.
ToDouble
(valArray.GetValue(i),(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Double)));
System.Web.DynamicData (1)
DynamicData\FieldTemplateUserControl.cs (1)
508
converter = val => Convert.
ToDouble
(val, CultureInfo.InvariantCulture).ToString(CultureInfo.InvariantCulture);
System.Windows.Forms (3)
winforms\Managed\System\WinForms\AxHost.cs (1)
5050
return Twip2Pixel(Convert.
ToDouble
(o, CultureInfo.InvariantCulture), xDirection);
winforms\Managed\System\WinForms\Form.cs (1)
2068
return Convert.
ToDouble
(opacity, CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
747
return Convert.
ToDouble
(opacity, CultureInfo.InvariantCulture);
System.Xml (1)
System\Xml\XmlConvert.cs (1)
1123
return Convert.
ToDouble
(o, NumberFormatInfo.InvariantInfo);