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