60 implementations of ToString
mscorlib (17)
system\byte.cs (1)
174
public String
ToString
(String format, IFormatProvider provider) {
system\datetime.cs (1)
1457
public String
ToString
(String format, IFormatProvider provider) {
system\datetimeoffset.cs (1)
718
public String
ToString
(String format, IFormatProvider formatProvider) {
system\decimal.cs (1)
517
public String
ToString
(String format, IFormatProvider provider) {
system\double.cs (1)
230
public String
ToString
(String format, IFormatProvider provider) {
system\enum.cs (1)
808
public String
ToString
(String format, IFormatProvider provider)
system\FormattableString.cs (1)
49
string IFormattable.
ToString
(string ignored, IFormatProvider formatProvider)
system\guid.cs (1)
1194
public String
ToString
(String format, IFormatProvider provider)
system\int16.cs (1)
101
public String
ToString
(String format, IFormatProvider provider) {
system\int32.cs (1)
113
public String
ToString
(String format, IFormatProvider provider) {
system\int64.cs (1)
108
public String
ToString
(String format, IFormatProvider provider) {
system\sbyte.cs (1)
103
public String
ToString
(String format, IFormatProvider provider) {
system\single.cs (1)
198
public String
ToString
(String format, IFormatProvider provider) {
system\timespan.cs (1)
330
public String
ToString
(String format, IFormatProvider formatProvider) {
system\uint16.cs (1)
101
public String
ToString
(String format, IFormatProvider provider) {
system\uint32.cs (1)
111
public String
ToString
(String format, IFormatProvider provider) {
system\uint64.cs (1)
107
public String
ToString
(String format, IFormatProvider provider) {
PresentationCore (32)
Core\CSharp\System\Windows\FontStretch.cs (1)
203
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\FontStyle.cs (1)
110
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\FontWeight.cs (1)
199
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Animation\KeySpline.cs (1)
471
string IFormattable.
ToString
(string format, IFormatProvider formatProvider)
Core\CSharp\System\Windows\Media\Animation\RepeatBehavior.cs (1)
284
string IFormattable.
ToString
(string format, IFormatProvider formatProvider)
Core\CSharp\System\Windows\Media\Color.cs (1)
262
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\Brush.cs (1)
379
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\DoubleCollection.cs (1)
698
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\GeneralTransform.cs (1)
176
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\Geometry.cs (1)
296
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\GradientStop.cs (1)
224
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\GradientStopCollection.cs (1)
781
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\ImageSource.cs (1)
233
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\Int32Collection.cs (1)
698
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\PathFigureCollection.cs (1)
782
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (1)
698
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\VectorCollection.cs (1)
698
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\PathFigure.cs (1)
204
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Camera.cs (1)
289
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\GeneralTransform3D.cs (1)
172
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Material.cs (1)
229
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Matrix3D.cs (1)
367
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Model3D.cs (1)
289
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Point3D.cs (1)
334
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollection.cs (1)
694
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Point4D.cs (1)
355
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Quaternion.cs (1)
319
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Rect3D.cs (1)
320
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Rotation3D.cs (1)
229
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Size3D.cs (1)
308
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Vector3D.cs (1)
334
string IFormattable.
ToString
(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
694
string IFormattable.
ToString
(string format, IFormatProvider provider)
System.Numerics (5)
System\Numerics\BigInteger.cs (1)
385
public String
ToString
(String format, IFormatProvider provider) {
System\Numerics\Complex.cs (1)
270
public String
ToString
(String format, IFormatProvider provider) {
System\Numerics\Vector2.cs (1)
85
public string
ToString
(string format, IFormatProvider formatProvider)
System\Numerics\Vector3.cs (1)
91
public string
ToString
(string format, IFormatProvider formatProvider)
System\Numerics\Vector4.cs (1)
95
public string
ToString
(string format, IFormatProvider formatProvider)
WindowsBase (6)
Base\System\Windows\Generated\Int32Rect.cs (1)
367
string IFormattable.
ToString
(string format, IFormatProvider provider)
Base\System\Windows\Generated\Point.cs (1)
302
string IFormattable.
ToString
(string format, IFormatProvider provider)
Base\System\Windows\Generated\Rect.cs (1)
301
string IFormattable.
ToString
(string format, IFormatProvider provider)
Base\System\Windows\Generated\Size.cs (1)
293
string IFormattable.
ToString
(string format, IFormatProvider provider)
Base\System\Windows\Generated\Vector.cs (1)
302
string IFormattable.
ToString
(string format, IFormatProvider provider)
Base\System\Windows\Media\Generated\Matrix.cs (1)
317
string IFormattable.
ToString
(string format, IFormatProvider provider)
26 references to ToString
mscorlib (4)
system\convert.cs (1)
1807
return formattable.
ToString
(null, provider);
system\io\textwriter.cs (2)
300
Write(f.
ToString
(null, FormatProvider));
499
WriteLine(f.
ToString
(null, FormatProvider));
system\text\stringbuilder.cs (1)
1464
s = formattableArg.
ToString
(sFmt, provider);
PresentationCore (9)
Core\CSharp\MS\Internal\FontFace\FontDifferentiator.cs (3)
53
parsedWeightName = ((IFormattable)fontWeight).
ToString
(null, CultureInfo.InvariantCulture);
56
parsedStretchName = ((IFormattable)fontStretch).
ToString
(null, CultureInfo.InvariantCulture);
59
parsedStyleName = ((IFormattable)fontStyle).
ToString
(null, CultureInfo.InvariantCulture);
Core\CSharp\System\Windows\FontStretchConverter.cs (1)
124
return ((IFormattable)c).
ToString
(null, culture);
Core\CSharp\System\Windows\FontStyleConverter.cs (1)
124
return ((IFormattable)c).
ToString
(null, culture);
Core\CSharp\System\Windows\FontWeightConverter.cs (1)
124
return ((IFormattable)c).
ToString
(null, culture);
Core\CSharp\System\Windows\Media\LineSegment.cs (1)
109
return "L" + ((IFormattable)Point).
ToString
(format, provider);
Core\CSharp\System\Windows\Media\MatrixTransform.cs (1)
121
return ((IFormattable)Matrix).
ToString
(format, provider);
Core\CSharp\System\Windows\Media\PathFigure.cs (1)
235
((IFormattable)StartPoint).
ToString
(format, provider) +
System (1)
compmod\system\componentmodel\TypeConverter.cs (1)
180
return formattable.
ToString
(/* format = */ null, /* formatProvider = */ culture);
System.Data (2)
fx\src\data\System\Data\Common\SQLConvert.cs (2)
544
return iformattable.
ToString
((string)null, formatProvider);
788
return iformattable.
ToString
((string)null, System.Globalization.CultureInfo.InvariantCulture);
System.Data.Entity (1)
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
797
this.m_hashSourceBuilder.AppendLine(formatContent.
ToString
(null, CultureInfo.InvariantCulture));
System.Numerics (3)
System\Numerics\Vector3.cs (3)
96
sb.Append(((IFormattable)this.X).
ToString
(format, formatProvider));
99
sb.Append(((IFormattable)this.Y).
ToString
(format, formatProvider));
102
sb.Append(((IFormattable)this.Z).
ToString
(format, formatProvider));
System.Windows.Forms (3)
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (2)
434
edit.Text = ((IFormattable)value).
ToString
(format, formatInfo);
534
return ((IFormattable)value).
ToString
(format, this.formatInfo);
winforms\Managed\System\WinForms\Formatter.cs (1)
128
return (value as IFormattable).
ToString
(formatString, formatInfo);
System.Xml (3)
System\Xml\Schema\XmlSchemaDataType.cs (3)
263
bldr.Append( ((IFormattable)cur).
ToString
("", CultureInfo.InvariantCulture) );
272
bldr.Append( ((IFormattable)cur).
ToString
("", CultureInfo.InvariantCulture) );
283
stringValue = ((IFormattable)value).
ToString
("", CultureInfo.InvariantCulture);