73 references to AppendFormat
ClientSample (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);
CodeGenerator (4)
HttpUtilities\HttpUtilities.cs (2)
109result.AppendFormat(CultureInfo.InvariantCulture, " private static readonly ulong {0} = GetAsciiStringAsLong(\"{1}\");", httpMethodFieldName, methodInfo.MethodAsciiString.Replace("\0", "\\0")); 136result.AppendFormat(CultureInfo.InvariantCulture, """ private static readonly ulong {0} = GetMaskAsLong([{1}]);""", maskFieldName, hexMaskString);
HttpUtilities\HttpUtilitiesGeneratorHelpers.cs (2)
177result.AppendFormat(CultureInfo.InvariantCulture, "{0}{1:x2}", prefix, array[i]); 183result.AppendFormat(CultureInfo.InvariantCulture, "{0}{1:x2}", prefix, array[i]);
dotnet-dev-certs (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);
dotnet-getdocument (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);
dotnet-openapi (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);
dotnet-sql-cache (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);
dotnet-user-jwts (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);
dotnet-user-secrets (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);
GetDocument.Insider (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);
Microsoft.AspNetCore.Authentication.Twitter (3)
TwitterHandler.cs (3)
218stringBuilder.AppendFormat(CultureInfo.InvariantCulture, "{0}={1}&", Uri.EscapeDataString(signaturePart.Key), Uri.EscapeDataString(signaturePart.Value)); 240stringBuilder.AppendFormat(CultureInfo.InvariantCulture, "{0}={1}&", queryParam.Key, queryParam.Value); 250stringBuilder.AppendFormat(CultureInfo.InvariantCulture, "{0}=\"{1}\",", authorizationPart.Key, Uri.EscapeDataString(authorizationPart.Value));
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
Verifiers\DiagnosticVerifier.cs (1)
254builder.AppendFormat(CultureInfo.InvariantCulture, "GetGlobalResult({0}.{1})", analyzerType.Name, rule.Id);
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (1)
Verifiers\DiagnosticVerifier.cs (1)
254builder.AppendFormat(CultureInfo.InvariantCulture, "GetGlobalResult({0}.{1})", analyzerType.Name, rule.Id);
Microsoft.AspNetCore.Shared.Tests (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);
Microsoft.AspNetCore.StaticFiles (3)
HtmlDirectoryFormatter.cs (3)
57builder.AppendFormat( 109builder.AppendFormat( 136builder.AppendFormat(
Microsoft.Extensions.Telemetry (4)
Latency\Internal\LatencyConsoleExporter.cs (4)
72_ = sb.AppendFormat(CultureInfo.InvariantCulture, fmt, c.Name, (double)c.Elapsed / c.Frequency * MillisPerSecond); 88_ = sb.AppendFormat(CultureInfo.InvariantCulture, fmt, t.Name, t.Value); 104_ = sb.AppendFormat(CultureInfo.InvariantCulture, fmt, m.Name, m.Value); 134_ = sb.AppendFormat(CultureInfo.InvariantCulture, fmt, nameHeader, valueHeader);
PresentationCore (4)
System\Windows\Media\Color.cs (2)
296sb.AppendFormat(provider, "{0}{1} ", Parsers.s_ContextColor, uriString); 297sb.AppendFormat(provider,"{1:" + format + "}{0}",separator,scRgbColor.a);
System\Windows\Media\FamilyMap.cs (1)
96sb.AppendFormat(NumberFormatInfo.InvariantInfo, "{0:x4}-{1:x4}", _ranges[i].First, _ranges[i].Last);
System\Windows\Media\GlyphsSerializer.cs (1)
236_indicesStringBuider.AppendFormat(CultureInfo.InvariantCulture, "({0}:{1})", charactersInCluster, glyphsInCluster);
ReachFramework (1)
Serialization\ColorTypeConverter.cs (1)
181sb.AppendFormat(provider, "{1:R}{0}", separator, color.ScA);
Swaggatherer (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\CompositionException.cs (1)
256writer.AppendFormat(CultureInfo.CurrentCulture, SR.CompositionException_OriginFormat, SR.CompositionException_OriginSeparator, element.DisplayName);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackTrace.cs (1)
345sb.AppendFormat(CultureInfo.InvariantCulture, inFileLineNum, fileName, sf.GetFileLineNumber());
System.ServiceModel.Primitives (2)
Internals\System\Xml\XmlMtomWriter.cs (2)
173contentTypeBuilder.AppendFormat(CultureInfo.InvariantCulture, ";{0}=\"<{1}>\"", MtomGlobals.StartParam, startUri); 176contentTypeBuilder.AppendFormat(CultureInfo.InvariantCulture, ";{0}=\"{1}\"", MtomGlobals.StartInfoParam, startInfo);
Templates.Blazor.Tests (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);
Templates.Blazor.WebAssembly.Auth.Tests (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);
Templates.Blazor.WebAssembly.Tests (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);
Templates.Mvc.Tests (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);
Templates.Tests (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);
Wasm.Performance.ConsoleHost (3)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (3)
484argumentsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, arg.Name, arg.Description); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.GetDisplayText(), opt.Description); 516commandsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, cmd.Name, cmd.Description);