34 references to ToString
Microsoft.Build.Tasks.Core (2)
Hash.cs (1)
104stringBuilder.Append(b.ToString("x2"));
NativeMethods.cs (1)
1475.Aggregate(new StringBuilder(), (builder, v) => builder.Append(v.ToString("x2")))),
Microsoft.Cci.Extensions (1)
Extensions\TypeExtensions.cs (1)
483return identity.PublicKeyToken.Aggregate("", (s, b) => s += b.ToString("x2"));
Microsoft.CodeAnalysis (3)
Compilation\DeterministicKeyBuilder.cs (1)
72builder.Append(b.ToString("x"));
MetadataReference\AssemblyIdentity.DisplayName.cs (1)
147sb.Append(b.ToString("x2"));
PEWriter\MetadataWriter.cs (1)
3716sb.Append(b.ToString("x2"));
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Helpers\MefHostServicesHelpers.cs (1)
37var publicKeyToken = thisAssemblyName.GetPublicKeyToken()?.Aggregate(string.Empty, (s, b) => s + b.ToString("x2"));
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\ObjectDisplay.cs (1)
376return "0x" + value.ToString("x2");
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider (1)
src\Compilers\CSharp\Portable\SymbolDisplay\ObjectDisplay.cs (1)
376return "0x" + value.ToString("x2");
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
Symbols\DefaultInterfaceImplementationTests.cs (8)
62595publicKeyToken[0].ToString("X2") + 62596publicKeyToken[1].ToString("X2") + 62597publicKeyToken[2].ToString("X2") + 62598publicKeyToken[3].ToString("X2") + 62599publicKeyToken[4].ToString("X2") + 62600publicKeyToken[5].ToString("X2") + 62601publicKeyToken[6].ToString("X2") + 62602publicKeyToken[7].ToString("X2") +
Microsoft.CodeAnalysis.Features (1)
Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs (1)
301builder.Append(b.ToString("x2"));
Microsoft.CodeAnalysis.Scripting (1)
src\Compilers\Shared\GlobalAssemblyCacheHelpers\MonoGlobalAssemblyCache.cs (1)
223sb.Builder.Append(b.ToString("x2"));
Microsoft.CodeAnalysis.UnitTests (2)
MetadataReferences\AssemblyIdentityTestBase.cs (1)
69sb.Append(b.ToString("x2"));
Text\StringTextTest.cs (1)
37builder.Append(b.ToString("x2"));
Microsoft.CodeAnalysis.VisualBasic (1)
SymbolDisplay\ObjectDisplay.vb (1)
180Return "&H" & value.ToString("X2")
Microsoft.CodeAnalysis.VisualBasic.ResultProvider (1)
src\Compilers\VisualBasic\Portable\SymbolDisplay\ObjectDisplay.vb (1)
180Return "&H" & value.ToString("X2")
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Helpers\MefHostServicesHelpers.cs (1)
37var publicKeyToken = thisAssemblyName.GetPublicKeyToken()?.Aggregate(string.Empty, (s, b) => s + b.ToString("x2"));
Microsoft.DotNet.Build.Tasks.Workloads (1)
Utils.cs (1)
32sb.Append(b.ToString("x2"));
Microsoft.DotNet.SignCheckLibrary (1)
Utils.cs (1)
38sb.Append(b.ToString("x2"));
Microsoft.DotNet.SignTool (1)
src\ContentUtil.cs (1)
99string.Join("", pktBytes.Select(b => b.ToString("x2")));
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Conversion.vb (1)
252Return Number.ToString("X")
System.CodeDom (2)
Microsoft\CSharp\CSharpCodeGenerator.cs (1)
2521Output.Write(b.ToString("X2"));
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
2295Output.Write(b.ToString("X2"));
System.Drawing.Common.Tests (1)
mono\System.Drawing\BitmapTests.cs (1)
362sOutput.Append(arrInput[i].ToString("X2"));
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\SocksHelper.cs (2)
195throw new SocksException(SR.Format(SR.net_socks_connection_failed, buffer[1].ToString("X2"))); 310throw new SocksException(SR.Format(SR.net_socks_connection_failed, buffer[1].ToString("X2")));
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1645sb.Append(utf8Json[i].ToString("X2")); // X2 is hex format