26 references to ToString
dotnet-svcutil-lib (26)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWriter.cs (1)
334
WriteString(XmlConvert.
ToString
(value));
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaParticle.cs (2)
39
return (_flags & Occurs.Min) == 0 ? null : XmlConvert.
ToString
(_minOccurs);
69
return (_flags & Occurs.Max) == 0 ? null : (_maxOccurs == decimal.MaxValue) ? "unbounded" : XmlConvert.
ToString
(_maxOccurs);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (8)
888
throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.
ToString
(value), "Int32" }));
896
throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.
ToString
(value), "Int64" }));
904
throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.
ToString
(value), "UInt64" }));
1132
if (TypeCode == XmlTypeCode.Decimal) return XmlConvert.
ToString
((decimal)value);
1133
return XmlConvert.
ToString
(decimal.Truncate((decimal)value));
2609
return XmlConvert.
ToString
((decimal)value);
2644
if (sourceType == DecimalType) return XmlConvert.
ToString
((decimal)value);
2703
if (destinationType == StringType) return XmlConvert.
ToString
((decimal)value);
FrameworkFork\Microsoft.Xml\Xml\Serialization\PrimitiveXmlSerializers.cs (1)
97
WriteElementStringRaw(@"decimal", @"", Microsoft.Xml.XmlConvert.
ToString
((System.Decimal)((System.Decimal)o)));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (12)
961
WriteAttribute("minOccurs", "", XmlConvert.
ToString
(o.MinOccurs));
962
WriteAttribute("maxOccurs", "", o.MaxOccurs == decimal.MaxValue ? "unbounded" : XmlConvert.
ToString
(o.MaxOccurs));
975
WriteAttribute("minOccurs", "", XmlConvert.
ToString
(o.MinOccurs));
976
WriteAttribute("maxOccurs", "", o.MaxOccurs == decimal.MaxValue ? "unbounded" : XmlConvert.
ToString
(o.MaxOccurs));
1141
WriteAttribute("minOccurs", "", XmlConvert.
ToString
(o.MinOccurs));
1142
WriteAttribute(@"maxOccurs", @"", o.MaxOccurs == decimal.MaxValue ? "unbounded" : XmlConvert.
ToString
(o.MaxOccurs));
1155
WriteAttribute("minOccurs", "", XmlConvert.
ToString
(o.MinOccurs));
1156
WriteAttribute(@"maxOccurs", @"", o.MaxOccurs == decimal.MaxValue ? "unbounded" : XmlConvert.
ToString
(o.MaxOccurs));
1171
WriteAttribute("minOccurs", "", XmlConvert.
ToString
(o.MinOccurs));
1172
WriteAttribute("maxOccurs", "", o.MaxOccurs == decimal.MaxValue ? "unbounded" : XmlConvert.
ToString
(o.MaxOccurs));
1212
WriteAttribute("minOccurs", "", XmlConvert.
ToString
(o.MinOccurs));
1213
WriteAttribute(@"maxOccurs", @"", o.MaxOccurs == decimal.MaxValue ? "unbounded" : XmlConvert.
ToString
(o.MaxOccurs));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (1)
289
value = XmlConvert.
ToString
((decimal)o);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlConverter.cs (1)
422
static public string ToString(decimal value) { return XmlConvert.
ToString
(value); }