17 implementations of ToDecimal
mscorlib (17)
system\boolean.cs (1)
296
Decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
system\byte.cs (1)
249
Decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
system\char.cs (1)
494
Decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
system\datetime.cs (1)
1639
Decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
system\dbnull.cs (1)
108
decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
system\decimal.cs (1)
1262
Decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
system\double.cs (1)
363
Decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
system\enum.cs (1)
1024
Decimal IConvertible.
ToDecimal
(IFormatProvider provider)
system\int16.cs (1)
262
Decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
system\int32.cs (1)
235
Decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
system\int64.cs (1)
214
Decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
system\sbyte.cs (1)
270
Decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
system\single.cs (1)
333
Decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
system\string.cs (1)
3425
Decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
system\uint16.cs (1)
237
Decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
system\uint32.cs (1)
219
Decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
system\uint64.cs (1)
214
Decimal IConvertible.
ToDecimal
(IFormatProvider provider) {
16 references to ToDecimal
mscorlib (10)
system\convert.cs (7)
245
return v.
ToDecimal
(provider);
302
return value.
ToDecimal
(provider);
373
return ic.
ToDecimal
(provider);
1627
return value == null? 0: ((IConvertible)value).
ToDecimal
(null);
1631
return value == null? 0: ((IConvertible)value).
ToDecimal
(provider);
1644
return ((IConvertible)value).
ToDecimal
(null);
1704
return ((IConvertible)value).
ToDecimal
(null);
system\variant.cs (3)
516
v = new Variant(ic.
ToDecimal
(provider));
613
v = new Variant(new CurrencyWrapper(iv.
ToDecimal
(provider)));
645
v = new Variant(iv.
ToDecimal
(provider));
System.AddIn.Contract (1)
System\Addin\Contract\RemoteArgument.cs (1)
199
decimalToUse = convertibleValue.
ToDecimal
(null);
System.Data (4)
fx\src\data\System\Data\Common\DecimalStorage.cs (2)
171
value = ((IConvertible)value).
ToDecimal
(FormatProvider);
196
values[record] = ((IConvertible)value).
ToDecimal
(FormatProvider);
fx\src\data\System\Data\Common\SQLConvert.cs (1)
596
return ((IConvertible)(string)value).
ToDecimal
(formatProvider);
fx\src\data\System\Data\Filter\ConstNode.cs (1)
123
return convertible.
ToDecimal
(NumberFormatInfo.InvariantInfo);
System.Xml (1)
System\Xml\Serialization\CodeExporter.cs (1)
291
return ((IConvertible)value).
ToDecimal
(null);