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