30 references to ToDecimal
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\XmlPropertyBag.cs (1)
180
return XmlConvert.
ToDecimal
(value);
System.Data (4)
fx\src\data\System\Data\Common\DecimalStorage.cs (1)
211
return XmlConvert.
ToDecimal
(s);
fx\src\data\System\Data\Common\SQLConvert.cs (2)
648
return new SqlMoney(XmlConvert.
ToDecimal
((string)value));
685
return XmlConvert.
ToDecimal
((string) value);
fx\src\data\System\Data\SQLTypes\SQLMoney.cs (1)
637
SqlMoney money = new SqlMoney(XmlConvert.
ToDecimal
(reader.ReadElementString()));
System.Data.Services (2)
System\Data\Services\Parsing\WebConvert.cs (2)
456
targetValue = XmlConvert.
ToDecimal
(text);
536
targetValue = XmlConvert.
ToDecimal
(text);
System.Data.Services.Client (1)
System\Data\Services\Client\ClientConvert.cs (1)
156
return XmlConvert.
ToDecimal
(propertyValue);
System.Runtime.Serialization (1)
System\Xml\XmlConverter.cs (1)
210
return XmlConvert.
ToDecimal
(value);
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
109
return parameter == null ? default(Decimal) : XmlConvert.
ToDecimal
(parameter);
System.Xml (16)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
1327
return XmlConvert.
ToDecimal
(String.Empty);
System\Xml\Core\XmlReader.cs (2)
286
return XmlConvert.
ToDecimal
(InternalReadContentAsString());
448
return XmlConvert.
ToDecimal
(string.Empty);
System\Xml\Schema\DataTypeImplementation.cs (1)
3546
decimal value = XmlConvert.
ToDecimal
(s);
System\Xml\Schema\XmlValueConverter.cs (9)
921
if (TypeCode == XmlTypeCode.Decimal) return XmlConvert.
ToDecimal
((string) value);
962
if (TypeCode == XmlTypeCode.Decimal) return DecimalToInt32(XmlConvert.
ToDecimal
((string) value));
996
if (TypeCode == XmlTypeCode.Decimal) return DecimalToInt64(XmlConvert.
ToDecimal
((string) value));
2246
return XmlConvert.
ToDecimal
((string) value);
2253
if (sourceType == StringType) return XmlConvert.
ToDecimal
((string) value);
2488
if (destinationType == DecimalType) return XmlConvert.
ToDecimal
((string) value);
2498
if (destinationType == UInt64Type) return DecimalToUInt64(XmlConvert.
ToDecimal
((string) value));
2531
if (sourceType == StringType) return XmlConvert.
ToDecimal
((string) value);
2561
if (sourceType == StringType) return DecimalToUInt64(XmlConvert.
ToDecimal
((string) value));
System\Xml\Serialization\PrimitiveXmlSerializers.cs (1)
336
o = System.Xml.XmlConvert.
ToDecimal
(Reader.ReadElementString());
System\Xml\Serialization\XmlSerializationReader.cs (2)
568
value = XmlConvert.
ToDecimal
(ReadStringValue());
639
value = XmlConvert.
ToDecimal
(ReadStringValue());
System.Xml.Linq (4)
System\Xml\Linq\XLinq.cs (4)
4755
return XmlConvert.
ToDecimal
(element.Value);
4774
return XmlConvert.
ToDecimal
(element.Value);
6978
return XmlConvert.
ToDecimal
(attribute.value);
6993
return XmlConvert.
ToDecimal
(attribute.value);