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