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