37 references to ToString
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\XmlPropertyBag.cs (1)
246return XmlConvert.ToString((decimal)value);
System.Data (4)
fx\src\data\System\Data\Common\DecimalStorage.cs (1)
215return XmlConvert.ToString((Decimal)value);
fx\src\data\System\Data\Common\SQLConvert.cs (2)
737return XmlConvert.ToString(((SqlMoney)value).Value); 767return XmlConvert.ToString((Decimal) value);
fx\src\data\System\Data\SQLTypes\SQLMoney.cs (1)
651writer.WriteString( XmlConvert.ToString(ToDecimal()) );
System.Data.Services (1)
System\Data\Services\Parsing\WebConvert.cs (1)
641result = XmlConvert.ToString((decimal)value);
System.Data.Services.Client (2)
parent\Server\System\Data\Services\Parsing\WebConvert.cs (1)
641result = XmlConvert.ToString((decimal)value);
System\Data\Services\Client\ClientConvert.cs (1)
321return XmlConvert.ToString((Decimal)propertyValue);
System.Runtime.Serialization (2)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
690this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<decimal>)dataNode).GetValue() : (decimal)dataNode.Value);
System\Xml\XmlConverter.cs (1)
418static public string ToString(decimal value) { return XmlConvert.ToString(value); }
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
208return XmlConvert.ToString((decimal) parameter);
System.Xml (25)
System\Xml\Core\XmlWriter.cs (1)
315WriteString(XmlConvert.ToString(value));
System\Xml\Schema\XmlSchemaParticle.cs (2)
34return (flags & Occurs.Min) == 0 ? null : XmlConvert.ToString(minOccurs); 58return (flags & Occurs.Max) == 0 ? null : (maxOccurs == decimal.MaxValue) ? "unbounded" : XmlConvert.ToString(maxOccurs);
System\Xml\Schema\XmlValueConverter.cs (8)
811throw new OverflowException(Res.GetString(Res.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Int32" })); 818throw new OverflowException(Res.GetString(Res.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Int64" })); 825throw new OverflowException(Res.GetString(Res.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "UInt64" })); 1026if (TypeCode == XmlTypeCode.Decimal) return XmlConvert.ToString((decimal) value); 1027return XmlConvert.ToString(decimal.Truncate((decimal) value)); 2353return XmlConvert.ToString((decimal) value); 2382if (sourceType == DecimalType) return XmlConvert.ToString((decimal) value); 2437if (destinationType == StringType) return XmlConvert.ToString((decimal) value);
System\Xml\Serialization\PrimitiveXmlSerializers.cs (1)
81WriteElementStringRaw(@"decimal", @"", System.Xml.XmlConvert.ToString((System.Decimal)((System.Decimal)o)));
System\Xml\Serialization\SchemaObjectWriter.cs (12)
799WriteAttribute("minOccurs", "", XmlConvert.ToString(o.MinOccurs)); 800WriteAttribute("maxOccurs", "", o.MaxOccurs == decimal.MaxValue ? "unbounded" : XmlConvert.ToString(o.MaxOccurs)); 812WriteAttribute("minOccurs", "", XmlConvert.ToString(o.MinOccurs)); 813WriteAttribute("maxOccurs", "", o.MaxOccurs == decimal.MaxValue ? "unbounded" : XmlConvert.ToString(o.MaxOccurs)); 950WriteAttribute("minOccurs", "", XmlConvert.ToString(o.MinOccurs)); 951WriteAttribute(@"maxOccurs", @"", o.MaxOccurs == decimal.MaxValue ? "unbounded" : XmlConvert.ToString(o.MaxOccurs)); 963WriteAttribute("minOccurs", "", XmlConvert.ToString(o.MinOccurs)); 964WriteAttribute(@"maxOccurs", @"", o.MaxOccurs == decimal.MaxValue ? "unbounded" : XmlConvert.ToString(o.MaxOccurs)); 978WriteAttribute("minOccurs", "", XmlConvert.ToString(o.MinOccurs)); 979WriteAttribute("maxOccurs", "", o.MaxOccurs == decimal.MaxValue ? "unbounded" : XmlConvert.ToString(o.MaxOccurs)); 1011WriteAttribute("minOccurs", "", XmlConvert.ToString(o.MinOccurs)); 1012WriteAttribute(@"maxOccurs", @"", o.MaxOccurs == decimal.MaxValue ? "unbounded" : XmlConvert.ToString(o.MaxOccurs));
System\Xml\Serialization\XmlSerializationWriter.cs (1)
259value = XmlConvert.ToString((decimal)o);
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
3004s = XmlConvert.ToString((decimal)value);