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