Implemented interface member:
method
ToString
System.IFormattable.ToString(System.String, System.IFormatProvider)
30 references to ToString
mscorlib (5)
system\diagnostics\eventing\eventsource.cs (1)
6438
sb.Append(" <map value=\"0x").Append(hexValue.
ToString
("x", CultureInfo.InvariantCulture)).Append("\"");
system\globalization\timespanformat.cs (2)
199
result.Append((tmp).
ToString
(DateTimeFormat.fixedNumberFormats[tokenLen - 1], CultureInfo.InvariantCulture));
222
result.Append((tmp).
ToString
(DateTimeFormat.fixedNumberFormats[effectiveDigits - 1], CultureInfo.InvariantCulture));
system\resources\resourcereader.cs (2)
610
BCLDebug.Log("RESMGRFILEFORMAT", "LoadObject type: "+type.Name+" pos: 0x"+_store.BaseStream.Position.
ToString
("x", CultureInfo.InvariantCulture));
682
BCLDebug.Log("RESMGRFILEFORMAT", "LoadObjectV2 type: "+typeCode+" pos: 0x"+_store.BaseStream.Position.
ToString
("x", CultureInfo.InvariantCulture));
System (3)
compmod\system\componentmodel\Int64Converter.cs (1)
61
return ((Int64)value).
ToString
("G", formatInfo);
net\System\Net\HttpListenerResponse.cs (1)
667
Headers.SetInternal(HttpResponseHeader.ContentLength, m_ContentLength.
ToString
("D", NumberFormatInfo.InvariantInfo));
net\System\Net\webclient.cs (1)
624
string boundary = "---------------------" + DateTime.Now.Ticks.
ToString
("x", NumberFormatInfo.InvariantInfo);
System.Runtime.Caching (6)
System\Caching\HostFileChangeMonitor.cs (4)
37
uniqueId = path + lastWrite.UtcDateTime.Ticks.
ToString
("X", CultureInfo.InvariantCulture) + fileSize.
ToString
("X", CultureInfo.InvariantCulture);
58
sb.Append(lastWrite.UtcDateTime.Ticks.
ToString
("X", CultureInfo.InvariantCulture));
59
sb.Append(fileSize.
ToString
("X", CultureInfo.InvariantCulture));
System\Caching\MemoryCacheEntryChangeMonitor.cs (2)
36
uniqueId = k + utcCreated.Ticks.
ToString
("X", CultureInfo.InvariantCulture);
50
sb.Append(utcCreated.Ticks.
ToString
("X", CultureInfo.InvariantCulture));
System.Web (10)
Cache\CacheDependency.cs (1)
747
sb.Append(fad.UtcLastWriteTime.Ticks.
ToString
("d", NumberFormatInfo.InvariantInfo));
Compilation\BuildResultCache.cs (2)
759
writer.Write(hash.Item1.
ToString
("x", CultureInfo.InvariantCulture));
761
writer.Write(hash.Item2.
ToString
("x", CultureInfo.InvariantCulture));
Compilation\PreservationFileWriter.cs (1)
62
SetAttribute("hash", hash.
ToString
("x", CultureInfo.InvariantCulture));
Security\AntiXss\SafeList.cs (1)
165
return StringToCharArrayWithSlashPrefix(value.
ToString
("X6", CultureInfo.InvariantCulture));
StaticFileHandler.cs (1)
69
string hexFileTime = lastModFileTime.
ToString
("X8", CultureInfo.InvariantCulture);
UI\Page.cs (1)
793
_uniqueFilePathSuffix = String.Concat(UniqueFilePathSuffixID + "=", ticks.
ToString
("D6", CultureInfo.InvariantCulture));
Util\HashCodeCombiner.cs (3)
110
Debug.Trace("HashCodeCombiner", "Ticks: " + dt.Ticks.
ToString
("x", CultureInfo.InvariantCulture));
116
Debug.Trace("HashCodeCombiner", "file size: " + fileSize.
ToString
("x", CultureInfo.InvariantCulture));
251
return _combinedHash.
ToString
("x", CultureInfo.InvariantCulture);
System.Web.Extensions (1)
ClientServices\Providers\ClientData.cs (1)
196
writer.WriteValue(((DateTime)_StoredValues[iter]).ToFileTimeUtc().
ToString
("X", CultureInfo.InvariantCulture));
System.Web.Mobile (1)
UI\MobileControls\MobilePage.cs (1)
558
ticks.
ToString
("D6", CultureInfo.InvariantCulture));
System.Windows.Forms (2)
winforms\Managed\System\WinForms\NumericUpDown.cs (2)
754
text = ((Int64)num).
ToString
("X", CultureInfo.InvariantCulture);
860
shortText = ((Int64) testNumber).
ToString
("X", CultureInfo.InvariantCulture);
System.Workflow.ComponentModel (1)
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (1)
326
stringValue = "0X" + colorValue.
ToString
("X08", System.Globalization.CultureInfo.InvariantCulture);
System.Xml (1)
System\Xml\XmlConvert.cs (1)
678
return value.
ToString
(null, NumberFormatInfo.InvariantInfo);