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