18 references to ToDecimal
mscorlib (4)
system\enum.cs (1)
1026
return Convert.
ToDecimal
(GetValue(), CultureInfo.CurrentCulture);
system\runtime\serialization\formatter.cs (1)
162
WriteDecimal(Convert.
ToDecimal
(data, CultureInfo.InvariantCulture), memberName);
system\runtime\serialization\formatterconverter.cs (1)
149
return System.Convert.
ToDecimal
(value, CultureInfo.InvariantCulture);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (1)
759
WriteDecimal(Convert.
ToDecimal
(value, CultureInfo.InvariantCulture));
System.Core (1)
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
400
return Convert.
ToDecimal
(value, CultureInfo.InvariantCulture);
System.Data (10)
fx\src\data\System\Data\Filter\BinaryNode.cs (10)
150
return Decimal.Compare(Convert.
ToDecimal
(vLeft, FormatProvider), Convert.
ToDecimal
(vRight, FormatProvider));
322
checked {value = Convert.
ToDecimal
(vLeft, FormatProvider) + Convert.
ToDecimal
(vRight, FormatProvider);}
435
checked {value = Convert.
ToDecimal
(vLeft, FormatProvider) - Convert.
ToDecimal
(vRight, FormatProvider);}
524
checked {value = Convert.
ToDecimal
(vLeft, FormatProvider) * Convert.
ToDecimal
(vRight, FormatProvider);}
589
checked {value = Convert.
ToDecimal
(vLeft, FormatProvider) / Convert.
ToDecimal
(vRight, FormatProvider);}
System.Windows.Forms (1)
winforms\Managed\System\WinForms\NativeMethods.cs (1)
4338
Decimal d = Convert.
ToDecimal
(var, CultureInfo.InvariantCulture);
System.Xml (2)
System\Xml\Schema\ConstraintStruct.cs (2)
254
this.dstruct.Dvalue[i] = Convert.
ToDecimal
(((Array) this.ovalue).GetValue(i),NumberFormatInfo.InvariantInfo);
260
this.dstruct.Dvalue[0] = Convert.
ToDecimal
(this.ovalue, NumberFormatInfo.InvariantInfo);