Implemented interface member:
method
ToString
System.IFormattable.ToString(System.String, System.IFormatProvider)
71 references to ToString
mscorlib (6)
system\enum.cs (3)
60return result.ToString("X2", null); 67return result.ToString("X2", null); 75return result.ToString("X2", null);
system\resources\manifestbasedresourcegroveler.cs (1)
656publicKeyTok.Append(token[i].ToString("x", CultureInfo.InvariantCulture));
system\runtime\remoting\soapinteroptypes.cs (1)
936String s = _value[i].ToString("X", CultureInfo.InvariantCulture);
system\text\decoderexceptionfallback.cs (1)
90strBytes.Append(bytesUnknown[i].ToString("X2", CultureInfo.InvariantCulture));
PresentationFramework (2)
src\Framework\MS\Internal\AppModel\ResourceContainer.cs (1)
302assemblyKey += reqKeyToken[i].ToString("x", NumberFormatInfo.InvariantInfo);
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
4035sb.Append(rgAnsi[k].ToString("x", CultureInfo.InvariantCulture));
System (5)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
2988Output.Write(b.ToString("X2", CultureInfo.InvariantCulture));
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
2487Output.Write(b.ToString("X2", CultureInfo.InvariantCulture));
compmod\system\componentmodel\ByteConverter.cs (1)
62return ((Byte)value).ToString("G", formatInfo);
net\System\Net\HttpListenerRequestUriBuilder.cs (2)
389target.Append(octet.ToString("X2", CultureInfo.InvariantCulture)); 408octetString.Append(octet.ToString("X2", CultureInfo.InvariantCulture));
System.AddIn (1)
System\Addin\Hosting\Utils.cs (1)
141sb.Append(b.ToString("x2", System.Globalization.CultureInfo.InvariantCulture));
System.Data (4)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (1)
1443Debug.Assert(false, "Unknown TdsType!" + type.NullableType.ToString("x2", (IFormatProvider)null));
fx\src\data\System\Data\SqlClient\SqlDependency.cs (1)
1182builder.Append(temp[j].ToString("x2", CultureInfo.InvariantCulture));
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
10097Debug.Assert(false, "Unknown TdsType!" + type.NullableType.ToString("x2", (IFormatProvider)null)); 10700Debug.Assert(false, "Unknown TdsType!" + type.NullableType.ToString("x2", (IFormatProvider)null));
System.Data.Entity (2)
System\Data\Mapping\MetadataMappingHasherVisitor.HashSourceBuilder.cs (1)
201stringData.Append(hash[i].ToString("x2", CultureInfo.InvariantCulture));
System\Data\Metadata\Edm\EntityType.cs (1)
314builder.Append(bite.ToString("X2", CultureInfo.InvariantCulture));
System.Drawing (3)
commonui\System\Drawing\Advanced\ColorTranslator.cs (3)
337colorString = "#" + c.R.ToString("X2", null) + 338c.G.ToString("X2", null) + 339c.B.ToString("X2", null);
System.Numerics (2)
System\Numerics\BigNumber.cs (2)
485sb.Append(head.ToString(fmt, info)); 492sb.Append(bits[cur--].ToString(fmt, info));
System.Runtime.Serialization (1)
System\Xml\XmlExceptionHelper.cs (1)
178ThrowXmlException(reader, SR.XmlInvalidXmlByte, b.ToString("X2", CultureInfo.InvariantCulture));
System.Security (3)
system\security\cryptography\pkcs\pkcsutils.cs (2)
464objId.Append(c.ToString(null, null)); 467objId.Append(c.ToString(null, null));
system\security\cryptography\xml\SignedXmlDebugLog.cs (1)
200builder.Append(b.ToString("x2", CultureInfo.InvariantCulture));
System.Web (8)
Configuration\RemoteWebConfigurationHostServer.cs (2)
266return buf[1].ToString("X", CultureInfo.InvariantCulture) + buf[0].ToString("X", CultureInfo.InvariantCulture);
Handlers\AssemblyResourceLoader.cs (1)
441builder.Append(token[i].ToString("x2", CultureInfo.InvariantCulture));
Security\ADMembershipProvider.cs (1)
1932sidHexValueStr.Append(sidBinaryForm[i].ToString("x2", NumberFormatInfo.InvariantInfo));
UI\WebControls\WebColorConverter.cs (3)
124sb.Append((c.R).ToString("X2", CultureInfo.InvariantCulture)); 125sb.Append((c.G).ToString("X2", CultureInfo.InvariantCulture)); 126sb.Append((c.B).ToString("X2", CultureInfo.InvariantCulture));
Util\HashCodeCombiner.cs (1)
145sbFileContentHashBytes.Append(fileContentHashBytes[index].ToString("X2", CultureInfo.InvariantCulture));
System.Web.Extensions (1)
Util\HexParser.cs (1)
24tokenBuilder.Append(tokenBytes[i].ToString("x2", CultureInfo.InvariantCulture));
System.Workflow.ComponentModel (16)
Shared\XomlSerializationHelpers.cs (16)
288string checksum = string.Format(CultureInfo.InvariantCulture, "{0}{1}{2}{3}{4}{5}{6}{7}{8}{9}{10}{11}{12}{13}{14}{15}", new object[] { checksumBytes[0].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[1].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[2].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[3].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[4].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[5].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[6].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[7].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[8].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[9].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[10].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[11].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[12].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[13].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[14].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[15].ToString("X2", CultureInfo.InvariantCulture) });
System.Workflow.Runtime (16)
parent\Common\Shared\DigestComparer.cs (16)
37return string.Format(CultureInfo.InvariantCulture, "{0}{1}{2}{3}{4}{5}{6}{7}{8}{9}{10}{11}{12}{13}{14}{15}", md5Digest[0].ToString("X2", CultureInfo.InvariantCulture), md5Digest[1].ToString("X2", CultureInfo.InvariantCulture), md5Digest[2].ToString("X2", CultureInfo.InvariantCulture), md5Digest[3].ToString("X2", CultureInfo.InvariantCulture), md5Digest[4].ToString("X2", CultureInfo.InvariantCulture), md5Digest[5].ToString("X2", CultureInfo.InvariantCulture), md5Digest[6].ToString("X2", CultureInfo.InvariantCulture), md5Digest[7].ToString("X2", CultureInfo.InvariantCulture), md5Digest[8].ToString("X2", CultureInfo.InvariantCulture), md5Digest[9].ToString("X2", CultureInfo.InvariantCulture), md5Digest[10].ToString("X2", CultureInfo.InvariantCulture), md5Digest[11].ToString("X2", CultureInfo.InvariantCulture), md5Digest[12].ToString("X2", CultureInfo.InvariantCulture), md5Digest[13].ToString("X2", CultureInfo.InvariantCulture), md5Digest[14].ToString("X2", CultureInfo.InvariantCulture), md5Digest[15].ToString("X2", CultureInfo.InvariantCulture));
System.Xml (1)
System\Xml\XmlConvert.cs (1)
686return value.ToString(null, NumberFormatInfo.InvariantInfo);