27 references to ToDecimal
ReachFramework (1)
PrintConfig\PrintSchema.cs (1)
2472
decValue = XmlConvert.
ToDecimal
(s);
System.Data.Common (4)
System\Data\Common\DecimalStorage.cs (1)
240
return XmlConvert.
ToDecimal
(s);
System\Data\Common\SQLConvert.cs (2)
593
return new SqlMoney(XmlConvert.
ToDecimal
((string)value));
630
return XmlConvert.
ToDecimal
((string)value);
System\Data\SQLTypes\SQLMoney.cs (1)
573
SqlMoney money = new SqlMoney(XmlConvert.
ToDecimal
(reader.ReadElementString()));
System.Private.DataContractSerialization (1)
System\Xml\XmlConverter.cs (1)
182
return XmlConvert.
ToDecimal
(value);
System.Private.Xml (17)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
1496
return XmlConvert.
ToDecimal
(string.Empty);
System\Xml\Core\XmlReader.cs (2)
258
return XmlConvert.
ToDecimal
(InternalReadContentAsString());
457
return XmlConvert.
ToDecimal
(string.Empty);
System\Xml\Schema\DataTypeImplementation.cs (1)
3824
decimal value = XmlConvert.
ToDecimal
(s);
System\Xml\Schema\XmlValueConverter.cs (9)
899
if (TypeCode == XmlTypeCode.Decimal) return XmlConvert.
ToDecimal
((string)value);
924
if (TypeCode == XmlTypeCode.Decimal) return DecimalToInt32(XmlConvert.
ToDecimal
((string)value));
949
if (TypeCode == XmlTypeCode.Decimal) return DecimalToInt64(XmlConvert.
ToDecimal
((string)value));
2095
return XmlConvert.
ToDecimal
((string)value);
2103
if (sourceType == StringType) return XmlConvert.
ToDecimal
((string)value);
2339
if (destinationType == DecimalType) return XmlConvert.
ToDecimal
((string)value);
2349
if (destinationType == UInt64Type) return DecimalToUInt64(XmlConvert.
ToDecimal
((string)value));
2389
if (sourceType == StringType) return XmlConvert.
ToDecimal
((string)value);
2429
if (sourceType == StringType) return DecimalToUInt64(XmlConvert.
ToDecimal
((string)value));
System\Xml\Serialization\PrimitiveXmlSerializers.cs (1)
430
o = System.Xml.XmlConvert.
ToDecimal
(Reader.ReadElementString());
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
1200
"Decimal" => XmlConvert.
ToDecimal
(value),
System\Xml\Serialization\XmlSerializationReader.cs (2)
570
value = XmlConvert.
ToDecimal
(ReadStringValue());
642
value = XmlConvert.
ToDecimal
(ReadStringValue());
System.Private.Xml.Linq (4)
System\Xml\Linq\XAttribute.cs (2)
517
return XmlConvert.
ToDecimal
(attribute.value);
534
return XmlConvert.
ToDecimal
(attribute.value);
System\Xml\Linq\XElement.cs (2)
1668
return XmlConvert.
ToDecimal
(element.Value);
1688
return XmlConvert.
ToDecimal
(element.Value);