Implemented interface member:
method
ToString
System.IFormattable.ToString(System.String, System.IFormatProvider)
37 references to ToString
PresentationFramework (13)
src\Framework\MS\Internal\LayoutDump.cs (9)
386writer.WriteAttributeString("Left", point.X.ToString("F", CultureInfo.InvariantCulture)); 387writer.WriteAttributeString("Top", point.Y.ToString("F", CultureInfo.InvariantCulture)); 397writer.WriteAttributeString("Width", size.Width.ToString ("F", CultureInfo.InvariantCulture)); 398writer.WriteAttributeString("Height", size.Height.ToString("F", CultureInfo.InvariantCulture)); 408writer.WriteAttributeString("Left", rect.Left.ToString ("F", CultureInfo.InvariantCulture)); 409writer.WriteAttributeString("Top", rect.Top.ToString ("F", CultureInfo.InvariantCulture)); 410writer.WriteAttributeString("Width", rect.Width.ToString ("F", CultureInfo.InvariantCulture)); 411writer.WriteAttributeString("Height", rect.Height.ToString("F", CultureInfo.InvariantCulture)); 499writer.WriteAttributeString("BaselineOffset", ((double)text.GetValue(TextBlock.BaselineOffsetProperty)).ToString("F", CultureInfo.InvariantCulture));
src\Framework\System\Windows\Controls\Slider.cs (1)
911return this.Value.ToString("N", format);
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (3)
188return px.ToString("f2", CultureInfo.InvariantCulture); 194return px.ToString("f2", CultureInfo.InvariantCulture); 200return px.ToString("f2", CultureInfo.InvariantCulture);
System (4)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
2032Output.Write(d.ToString("R", CultureInfo.InvariantCulture));
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1243Output.Write(d.ToString("R", CultureInfo.InvariantCulture));
compmod\system\codedom\compiler\CodeGenerator.cs (1)
1553Output.Write(d.ToString("R", CultureInfo.InvariantCulture));
compmod\system\componentmodel\DoubleConverter.cs (1)
73return ((Double)value).ToString("R", formatInfo);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
1706result = string.Format(CultureInfo.CurrentCulture, "{0}%", valueAsDouble.ToString("F0", CultureInfo.CurrentCulture)); 1710result = string.Format(CultureInfo.CurrentCulture, "{0}%", valueAsDouble.ToString("F2", CultureInfo.CurrentCulture));
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
1706result = string.Format(CultureInfo.CurrentCulture, "{0}%", valueAsDouble.ToString("F0", CultureInfo.CurrentCulture)); 1710result = string.Format(CultureInfo.CurrentCulture, "{0}%", valueAsDouble.ToString("F2", CultureInfo.CurrentCulture));
System.Data.Entity (1)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
982WrapWithCastIfNeeded(true, doubleValue.ToString("R", CultureInfo.InvariantCulture), "float(53)", result);
System.Data.Services (1)
System\Data\Services\Serializers\JsonWriter.cs (1)
223this.WriteCore(value.ToString(null, CultureInfo.InvariantCulture), true /*quotes*/);
System.Data.SqlXml (2)
System\Xml\Xsl\Runtime\DecimalFormatter.cs (1)
213string result = value.ToString(subPicture, formatInfo);
System\Xml\Xsl\XsltOld\NumberAction.cs (1)
117str = val.ToString("N", NumberFormat);
System.Numerics (4)
System\Numerics\Complex.cs (4)
263return (String.Format(CultureInfo.CurrentCulture, "({0}, {1})", this.m_real.ToString(format, CultureInfo.CurrentCulture), this.m_imaginary.ToString(format, CultureInfo.CurrentCulture))); 271return (String.Format(provider, "({0}, {1})", this.m_real.ToString(format, provider), this.m_imaginary.ToString(format, provider)));
System.Runtime.Serialization (1)
System\Xml\XmlConverter.cs (1)
1007return ToAsciiChars(value.ToString("R", NumberFormatInfo.InvariantInfo), buffer, offset);
System.Web (2)
Handlers\TraceHandler.cs (1)
498return (o is double) ? ((double)o).ToString("F6", CultureInfo.CurrentCulture) : o.ToString();
UI\ObjectConverter.cs (1)
114return ((Double)value).ToString(formatString, CultureInfo.InvariantCulture);
System.Web.Extensions (1)
Script\Serialization\JavaScriptSerializer.cs (1)
455sb.Append(((double)o).ToString("r", CultureInfo.InvariantCulture));
System.Xml (4)
System\Xml\Serialization\XmlSerializationWriter.cs (1)
3084Writer.Write(((Double)value).ToString("R", NumberFormatInfo.InvariantInfo));
System\Xml\XmlConvert.cs (2)
739return value.ToString("R", NumberFormatInfo.InvariantInfo); 1136return ((double)value).ToString("R", NumberFormatInfo.InvariantInfo);
System\Xml\XPath\Internal\StringFunctions.cs (1)
60return num.ToString("R", NumberFormatInfo.InvariantInfo);