Implemented interface member:
method
ToString
System.IFormattable.ToString(System.String, System.IFormatProvider)
10 references to ToString
System (2)
compmod\system\componentmodel\DateTimeOffsetConverter.cs (2)
120
return dto.
ToString
("yyyy-MM-dd zzz", culture);
137
return dto.
ToString
(format, CultureInfo.CurrentCulture);
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (1)
376
return dto.
ToString
(__katmaiDateTimeOffsetFormatByScale[scale], DateTimeFormatInfo.InvariantInfo);
System.Data.Entity (2)
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
245
_key.Append(((DateTimeOffset)e.Value).
ToString
("o", CultureInfo.InvariantCulture));
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
959
result.Append(EscapeSingleQuote(((System.DateTimeOffset)e.Value).
ToString
("yyyy-MM-dd HH:mm:ss.fffffff zzz", CultureInfo.InvariantCulture), false /* IsUnicode */));
System.ServiceModel (4)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (2)
647
return dateTime.ToUniversalTime().
ToString
(Rfc3339UTCDateTimeFormat, CultureInfo.InvariantCulture);
651
return dateTime.
ToString
(Rfc3339LocalDateTimeFormat, CultureInfo.InvariantCulture);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (2)
467
return dateTime.ToUniversalTime().
ToString
(Rfc822OutputUtcDateTimeFormat, CultureInfo.InvariantCulture);
471
StringBuilder sb = new StringBuilder(dateTime.
ToString
(Rfc822OutputLocalDateTimeFormat, CultureInfo.InvariantCulture));
System.Xml (1)
System\Xml\XmlConvert.cs (1)
802
return value.
ToString
( format, DateTimeFormatInfo.InvariantInfo );