Implemented interface member:
method
ToString
System.IFormattable.ToString(System.String, System.IFormatProvider)
10 references to ToString
System (2)
compmod\system\componentmodel\DateTimeOffsetConverter.cs (2)
120return dto.ToString("yyyy-MM-dd zzz", culture); 137return dto.ToString(format, CultureInfo.CurrentCulture);
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (1)
376return 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)
959result.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)
647return dateTime.ToUniversalTime().ToString(Rfc3339UTCDateTimeFormat, CultureInfo.InvariantCulture); 651return dateTime.ToString(Rfc3339LocalDateTimeFormat, CultureInfo.InvariantCulture);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (2)
467return dateTime.ToUniversalTime().ToString(Rfc822OutputUtcDateTimeFormat, CultureInfo.InvariantCulture); 471StringBuilder sb = new StringBuilder(dateTime.ToString(Rfc822OutputLocalDateTimeFormat, CultureInfo.InvariantCulture));
System.Xml (1)
System\Xml\XmlConvert.cs (1)
802return value.ToString( format, DateTimeFormatInfo.InvariantInfo );