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