1268 references to Format
Aspire.Dashboard (1)
Aspire.Hosting (5)
Aspire.Hosting.Azure.Functions (2)
Aspire.Hosting.Testing (3)
Aspire.Hosting.Tests (1)
ClientSample (6)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format(
424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
CodeGenerator (7)
HttpUtilities\HttpUtilities.cs (5)
46throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, "Generated {0} not found.", nameof(mask)));
227bodyString = string.Format(CultureInfo.InvariantCulture, "return (int)(value & {0});", maskHexString);
235return string.Format(CultureInfo.InvariantCulture, "_http{0}MethodLong", methodsInfo.HttpMethod.ToString());
240return string.Format(CultureInfo.InvariantCulture, "_mask{0}Chars", nBytes);
308Debug.Assert(str.Length == sizeof(ulong), string.Format(CultureInfo.InvariantCulture, "String must be exactly {0} (ASCII) characters long.", sizeof(ulong)));
dotnet-dev-certs (8)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format(
424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
dotnet-getdocument (8)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format(
424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
dotnet-openapi (6)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format(
424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
dotnet-sql-cache (8)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format(
424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
dotnet-svcutil.xmlserializer (2)
dotnet-svcutil-lib (122)
CodeDomFixup\MethodCreationHelper.cs (7)
120string.Format(CultureInfo.InvariantCulture, comment, "///") +
126string.Format(CultureInfo.InvariantCulture, comment, "'''") +
211throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.ErrBindingTypeNotSupportedFormat, binding.GetType().FullName));
1084throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.ErrBindingElementNotSupportedFormat, bindingElement.GetType().FullName));
1632throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.ErrEncodingNotSupportedFormat, encoding.WebName));
1658throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.ErrMessageVersionNotSupportedFormat, messageVersion));
1676throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.ErrMessageVersionNotSupportedFormat, messagingVersion));
CommandProcessorOptions.cs (8)
347throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrInvalidOperationNoProjectFileFoundUnderFolderFormat, workingDirectory));
352var moreThanOneProjectMsg = string.Format(CultureInfo.CurrentCulture, SR.ErrMoreThanOneProjectFoundFormat, workingDirectory);
474throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrInvalidOperationNoProjectFileFoundUnderFolderFormat, Directory.GetCurrentDirectory()));
509throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrNoUpdateParamsFileFoundFormat, this.Project.FullPath));
539throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrNoUpdateParamsFileFoundFormat, this.Project.FullPath));
663throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrInvalidNamespaceFormat,
674this.Project.EndOfLifeTargetFrameworks?.ToList().ForEach(tfx => this.AddWarning(string.Format(CultureInfo.CurrentCulture, SR.WrnOutOfSupportTargetFrameworkFormat, tfx)));
680this.AddWarning(string.Format(CultureInfo.CurrentCulture, SR.WrnOutOfSupportTargetFrameworkFormat, this.TargetFramework.FullName));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (9)
1414sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "{0}:", this.GetType().ToString()));
1415sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "DefaultAlgorithmSuite: {0}", _defaultAlgorithmSuite.ToString()));
1416sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IncludeTimestamp: {0}", _includeTimestamp.ToString()));
1417sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeyEntropyMode: {0}", _keyEntropyMode.ToString()));
1418sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageSecurityVersion: {0}", this.MessageSecurityVersion.ToString()));
1419sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SecurityHeaderLayout: {0}", _securityHeaderLayout.ToString()));
1420sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ProtectTokens: {0}", _protectTokens.ToString()));
1433sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OperationSupportingTokenParameters[\"{0}\"]:", requestAction));
1445sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OptionalOperationSupportingTokenParameters[\"{0}\"]:", requestAction));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (9)
945return string.Format(CultureInfo.InvariantCulture, "{0}Async", syncMethodName);
950return string.Format(CultureInfo.InvariantCulture, "onBegin{0}Delegate", syncMethodName);
955return string.Format(CultureInfo.InvariantCulture, "OnBegin{0}", syncMethodName);
960return string.Format(CultureInfo.InvariantCulture, "onEnd{0}Delegate", syncMethodName);
965return string.Format(CultureInfo.InvariantCulture, "OnEnd{0}", syncMethodName);
970return string.Format(CultureInfo.InvariantCulture, "on{0}CompletedDelegate", syncMethodName);
975return string.Format(CultureInfo.InvariantCulture, "On{0}Completed", syncMethodName);
980return string.Format(CultureInfo.InvariantCulture, "{0}Completed", syncMethodName);
985return string.Format(CultureInfo.InvariantCulture, "{0}CompletedEventArgs", syncMethodName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (9)
23private static readonly string s_wsidPPIClaim = String.Format(CultureInfo.InvariantCulture, "{0}/claims/privatepersonalidentifier", wsidNamespace);
595sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "TokenType: {0}", _tokenType == null ? "null" : _tokenType));
596sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeyType: {0}", _keyType.ToString()));
597sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeySize: {0}", _keySize.ToString(CultureInfo.InvariantCulture)));
598sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerAddress: {0}", _issuerAddress == null ? "null" : _issuerAddress.ToString()));
599sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerMetadataAddress: {0}", _issuerMetadataAddress == null ? "null" : _issuerMetadataAddress.ToString()));
600sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "DefaultMessgeSecurityVersion: {0}", _defaultMessageSecurityVersion == null ? "null" : _defaultMessageSecurityVersion.ToString()));
601sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "UseStrTransform: {0}", _useStrTransform.ToString()));
613sb.AppendLine(String.Format(CultureInfo.InvariantCulture, " BindingElement[{0}]:", i.ToString(CultureInfo.InvariantCulture)));
dotnet-user-jwts (28)
artifacts\obj\dotnet-user-jwts\Release\net10.0\Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Resources.cs (14)
46=> string.Format(Culture, GetResourceString("ClearCommand_NoJwtsRemoved"), p0);
62=> string.Format(Culture, GetResourceString("CreateCommand_Confirmed", new [] { "id" }), id);
74=> string.Format(Culture, GetResourceString("CreateCommand_AppsettingsFileNotFound_Error"), p0);
82=> string.Format(Culture, GetResourceString("CreateCommand_InvalidDate_Error", new [] { "type" }), type);
90=> string.Format(Culture, GetResourceString("CreateCommand_InvalidPeriod_Error"), p0);
150=> string.Format(Culture, GetResourceString("KeyCommand_Confirmed"), p0);
160=> string.Format(Culture, GetResourceString("KeyCommand_KeyCreated"), p0);
178=> string.Format(Culture, GetResourceString("ListCommand_Project"), p0);
186=> string.Format(Culture, GetResourceString("ListCommand_UserSecretsId"), p0);
192=> string.Format(Culture, GetResourceString("PrintCommand_Confirmed"), p0);
202=> string.Format(Culture, GetResourceString("PrintCommand_NoJwtFound"), p0);
216=> string.Format(Culture, GetResourceString("RemoveCommand_Confirmed"), p0);
226=> string.Format(Culture, GetResourceString("RemoveCommand_NoJwtFound"), p0);
234=> string.Format(Culture, GetResourceString("RemoveCommand_AppsettingsFileNotFound_Error"), p0);
artifacts\obj\dotnet-user-jwts\Release\net10.0\Microsoft.AspNetCore.Tools.SecretsHelpersResources.cs (8)
34=> string.Format(Culture, GetResourceString("Error_InvalidSecretsId", new [] { "userSecretsId" }), userSecretsId);
40=> string.Format(Culture, GetResourceString("Error_MultipleProjectsFound", new [] { "projectPath" }), projectPath);
46=> string.Format(Culture, GetResourceString("Error_NoProjectsFound", new [] { "projectPath" }), projectPath);
52=> string.Format(Culture, GetResourceString("Error_ProjectFailedToLoad", new [] { "project" }), project);
58=> string.Format(Culture, GetResourceString("Error_ProjectMissingId", new [] { "project" }), project);
64=> string.Format(Culture, GetResourceString("Error_ProjectPath_NotFound"), p0);
70=> string.Format(Culture, GetResourceString("Message_ProjectAlreadyInitialized", new [] { "project" }), project);
76=> string.Format(Culture, GetResourceString("Message_Project_File_Path", new [] { "project" }), project);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format(
424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
dotnet-user-secrets (28)
artifacts\obj\dotnet-user-secrets\Release\net10.0\Microsoft.AspNetCore.Tools.SecretsHelpersResources.cs (8)
34=> string.Format(Culture, GetResourceString("Error_InvalidSecretsId", new [] { "userSecretsId" }), userSecretsId);
40=> string.Format(Culture, GetResourceString("Error_MultipleProjectsFound", new [] { "projectPath" }), projectPath);
46=> string.Format(Culture, GetResourceString("Error_NoProjectsFound", new [] { "projectPath" }), projectPath);
52=> string.Format(Culture, GetResourceString("Error_ProjectFailedToLoad", new [] { "project" }), project);
58=> string.Format(Culture, GetResourceString("Error_ProjectMissingId", new [] { "project" }), project);
64=> string.Format(Culture, GetResourceString("Error_ProjectPath_NotFound"), p0);
70=> string.Format(Culture, GetResourceString("Message_ProjectAlreadyInitialized", new [] { "project" }), project);
76=> string.Format(Culture, GetResourceString("Message_Project_File_Path", new [] { "project" }), project);
artifacts\obj\dotnet-user-secrets\Release\net10.0\Microsoft.Extensions.SecretManager.Tools.Resources.cs (14)
34=> string.Format(Culture, GetResourceString("Error_Command_Failed", new [] { "message" }), message);
42=> string.Format(Culture, GetResourceString("Error_MissingArgument", new [] { "name" }), name);
48=> string.Format(Culture, GetResourceString("Error_Missing_Secret", new [] { "key" }), key);
54=> string.Format(Culture, GetResourceString("Error_MultipleProjectsFound", new [] { "projectPath" }), projectPath);
62=> string.Format(Culture, GetResourceString("Error_NoProjectsFound", new [] { "projectPath" }), projectPath);
68=> string.Format(Culture, GetResourceString("Error_ProjectMissingId", new [] { "project" }), project);
74=> string.Format(Culture, GetResourceString("Error_ProjectPath_NotFound", new [] { "path" }), path);
80=> string.Format(Culture, GetResourceString("Error_ProjectFailedToLoad", new [] { "project" }), project);
86=> string.Format(Culture, GetResourceString("Message_Project_File_Path", new [] { "project" }), project);
92=> string.Format(Culture, GetResourceString("Message_Saved_Secret", new [] { "key" }), key);
98=> string.Format(Culture, GetResourceString("Message_Saved_Secrets", new [] { "number" }), number);
104=> string.Format(Culture, GetResourceString("Message_Secret_File_Path", new [] { "secretsFilePath" }), secretsFilePath);
116=> string.Format(Culture, GetResourceString("Error_InvalidSecretsId", new [] { "userSecretsId" }), userSecretsId);
122=> string.Format(Culture, GetResourceString("Message_ProjectAlreadyInitialized", new [] { "project" }), project);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format(
424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
GetDocument.Insider (13)
artifacts\obj\GetDocument.Insider\Release\net462\Microsoft.Extensions.ApiDescription.Tool.Resources.cs (7)
36=> string.Format(Culture, GetResourceString("MissingOption"), p0);
50=> string.Format(Culture, GetResourceString("GeneratingDocument"), p0);
56=> string.Format(Culture, GetResourceString("MissingEntryPoint"), p0);
62=> string.Format(Culture, GetResourceString("ServiceTypeNotFound"), p0);
74=> string.Format(Culture, GetResourceString("ServiceNotFound"), p0);
144=> string.Format(Culture, GetResourceString("InvalidOpenApiVersion"), p0);
150=> string.Format(Culture, GetResourceString("DocumentNotFound"), p0);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format(
424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
http2cat (5)
artifacts\obj\http2cat\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0);
50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0);
66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0);
76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0);
86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
IIS.FunctionalTests (5)
artifacts\obj\IIS.FunctionalTests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0);
50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0);
66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0);
76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0);
86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
IIS.LongTests (5)
artifacts\obj\IIS.LongTests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0);
50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0);
66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0);
76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0);
86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
IIS.NewHandler.FunctionalTests (5)
artifacts\obj\IIS.NewHandler.FunctionalTests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0);
50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0);
66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0);
76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0);
86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
IIS.NewShim.FunctionalTests (5)
artifacts\obj\IIS.NewShim.FunctionalTests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0);
50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0);
66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0);
76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0);
86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
IIS.ShadowCopy.Tests (5)
artifacts\obj\IIS.ShadowCopy.Tests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0);
50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0);
66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0);
76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0);
86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
IISExpress.FunctionalTests (5)
artifacts\obj\IISExpress.FunctionalTests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0);
50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0);
66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0);
76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0);
86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
InteropClient (2)
Microsoft.Analyzers.Local (2)
Microsoft.Arcade.Common (2)
Microsoft.AspNetCore.Antiforgery (3)
Microsoft.AspNetCore.App.Analyzers (18)
artifacts\obj\Microsoft.AspNetCore.App.Analyzers\Release\netstandard2.0\Microsoft.AspNetCore.Analyzers.Resources.cs (18)
36=> string.Format(Culture, GetResourceString("TemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly"), p0);
52=> string.Format(Culture, GetResourceString("TemplateRoute_InvalidLiteral"), p0);
58=> string.Format(Culture, GetResourceString("TemplateRoute_InvalidParameterName"), p0);
68=> string.Format(Culture, GetResourceString("TemplateRoute_RepeatedParameter"), p0);
110=> string.Format(Culture, GetResourceString("Analyzer_RequestDelegateReturnValue_Message"), p0);
118=> string.Format(Culture, GetResourceString("Analyzer_RouteIssue_Message"), p0);
126=> string.Format(Culture, GetResourceString("Analyzer_UnusedParameter_Message"), p0);
152=> string.Format(Culture, GetResourceString("Analyzer_DoNotReturnActionResultsFromRouteHandlers_Message"), p0);
160=> string.Format(Culture, GetResourceString("Analyzer_DetectMisplacedLambdaAttribute_Message"), p0);
168=> string.Format(Culture, GetResourceString("Analyzer_DoNotUseNonLiteralSequenceNumbers_Message"), p0);
176=> string.Format(Culture, GetResourceString("Analyzer_DetectMismatchedParameterOptionality_Message"), p0);
196=> string.Format(Culture, GetResourceString("Analyzer_DoNotUseHostConfigureLogging_Message"), p0);
204=> string.Format(Culture, GetResourceString("Analyzer_DoNotUseHostConfigureServices_Message"), p0);
212=> string.Format(Culture, GetResourceString("Analyzer_DisallowConfigureAppConfigureHostBuilder_Message"), p0);
220=> string.Format(Culture, GetResourceString("Analyzer_UseTopLevelRouteRegistrationsInsteadOfUseEndpoints_Message"), p0);
244=> string.Format(Culture, GetResourceString("Analyzer_AmbiguousRouteHandlerRoute_Message"), p0);
252=> string.Format(Culture, GetResourceString("Analyzer_AmbiguousActionRoute_Message"), p0);
262=> string.Format(Culture, GetResourceString("Analyzer_OverriddenAuthorizeAttribute_Message"), p0);
Microsoft.AspNetCore.App.Analyzers.Test (1)
Microsoft.AspNetCore.Authentication (1)
Microsoft.AspNetCore.Authentication.Facebook (1)
Microsoft.AspNetCore.Authentication.Google (1)
Microsoft.AspNetCore.Authentication.JwtBearer (1)
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
Microsoft.AspNetCore.Authentication.OAuth (2)
Microsoft.AspNetCore.Authentication.OpenIdConnect (9)
OpenIdConnectHandler.cs (5)
1386throw new SecurityTokenException(string.Format(CultureInfo.InvariantCulture, Resources.UnableToValidateToken, idToken));
1409throw new SecurityTokenException(string.Format(CultureInfo.InvariantCulture, Resources.ValidatedSecurityTokenNotJwt, validatedToken?.GetType()));
1415throw new SecurityTokenException(string.Format(CultureInfo.InvariantCulture, Resources.UnableToValidateToken, idToken));
1464throw new SecurityTokenException(string.Format(CultureInfo.InvariantCulture, Resources.UnableToValidateTokenFromHandler, idToken));
1470throw new SecurityTokenException(string.Format(CultureInfo.InvariantCulture, Resources.ValidatedSecurityTokenNotJsonWebToken, validatedToken?.GetType()));
Microsoft.AspNetCore.Authentication.Twitter (1)
Microsoft.AspNetCore.Authentication.WsFederation (1)
Microsoft.AspNetCore.Authorization (1)
Microsoft.AspNetCore.Components (5)
artifacts\obj\Microsoft.AspNetCore.Components\Release\net10.0\Microsoft.AspNetCore.Components.Routing.Resources.cs (5)
104=> string.Format(Culture, GetResourceString("ArgumentMustBeGreaterThanOrEqualTo"), p0);
116=> string.Format(Culture, GetResourceString("TemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly"), p0);
132=> string.Format(Culture, GetResourceString("TemplateRoute_InvalidLiteral"), p0);
138=> string.Format(Culture, GetResourceString("TemplateRoute_InvalidParameterName"), p0);
162=> string.Format(Culture, GetResourceString("TemplateRoute_RepeatedParameter"), p0);
Microsoft.AspNetCore.Components.Analyzers (5)
artifacts\obj\Microsoft.AspNetCore.Components.Analyzers\Release\netstandard2.0\Microsoft.AspNetCore.Components.Analyzers.Resources.cs (5)
36=> string.Format(Culture, GetResourceString("ComponentParameterSettersShouldBePublic_Format"), p0);
64=> string.Format(Culture, GetResourceString("ComponentParameterShouldBePublic_Format"), p0);
78=> string.Format(Culture, GetResourceString("ComponentParameterShouldNotBeSetOutsideOfTheirDeclaredComponent_Format"), p0);
88=> string.Format(Culture, GetResourceString("DoNotUseRenderTreeTypes_Format"), p0);
96=> string.Format(Culture, GetResourceString("ComponentParametersShouldBeAutoProperties_Message"), p0);
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.SdkAnalyzers (4)
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (1)
Microsoft.AspNetCore.Components.Web (2)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.Cors (1)
Microsoft.AspNetCore.Cryptography.Internal (2)
Microsoft.AspNetCore.DataProtection (18)
artifacts\obj\Microsoft.AspNetCore.DataProtection\Release\net10.0\Microsoft.AspNetCore.DataProtection.Resources.cs (8)
44=> string.Format(Culture, GetResourceString("Common_PropertyCannotBeNullOrEmpty"), p0);
78=> string.Format(Culture, GetResourceString("Common_PropertyMustBeNonNegative"), p0);
86=> string.Format(Culture, GetResourceString("CertificateXmlEncryptor_CertificateNotFound"), p0);
94=> string.Format(Culture, GetResourceString("AlgorithmAssert_BadBlockSize"), p0);
100=> string.Format(Culture, GetResourceString("AlgorithmAssert_BadDigestSize"), p0);
106=> string.Format(Culture, GetResourceString("AlgorithmAssert_BadKeySize"), p0);
118=> string.Format(Culture, GetResourceString("LifetimeMustNotBeNegative"), p0);
124=> string.Format(Culture, GetResourceString("FileSystem_EphemeralKeysLocationInContainer", new [] { "path" }), path);
Error.cs (6)
42var message = string.Format(CultureInfo.CurrentCulture, Resources.Common_PropertyCannotBeNullOrEmpty, propertyName);
48var message = string.Format(CultureInfo.CurrentCulture, Resources.Common_PropertyMustBeNonNegative, propertyName);
59var message = string.Format(CultureInfo.CurrentCulture, Resources.Common_KeyNotFound, id);
65var message = string.Format(CultureInfo.CurrentCulture, Resources.Common_KeyRevoked, id);
91var message = string.Format(CultureInfo.CurrentCulture, Resources.XmlKeyManager_DuplicateKey, keyId);
97var message = string.Format(CultureInfo.CurrentCulture, Resources.KeyRingProvider_DefaultKeyRevoked, id);
Microsoft.AspNetCore.DataProtection.Abstractions (3)
Microsoft.AspNetCore.DataProtection.Extensions (1)
Microsoft.AspNetCore.DataProtection.Tests (6)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
Microsoft.AspNetCore.Diagnostics (5)
StatusCodePage\StatusCodePagesExtensions.cs (5)
80var body = string.Format(CultureInfo.InvariantCulture, bodyFormat, context.HttpContext.Response.StatusCode);
103var location = string.Format(CultureInfo.InvariantCulture, locationFormat, context.HttpContext.Response.StatusCode);
112var location = string.Format(CultureInfo.InvariantCulture, locationFormat, context.HttpContext.Response.StatusCode);
213string.Format(CultureInfo.InvariantCulture, pathFormat, originalStatusCode));
215string.Format(CultureInfo.InvariantCulture, queryFormat, originalStatusCode);
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (3)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Microsoft.AspNetCore.Diagnostics.Tests (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (2)
Microsoft.AspNetCore.Grpc.Swagger (1)
Microsoft.AspNetCore.Hosting (3)
Microsoft.AspNetCore.Http.Abstractions (5)
artifacts\obj\Microsoft.AspNetCore.Http.Abstractions\Release\net10.0\Microsoft.AspNetCore.Http.Abstractions.Resources.cs (5)
34=> string.Format(Culture, GetResourceString("Exception_UseMiddlewareIServiceProviderNotAvailable"), p0);
64=> string.Format(Culture, GetResourceString("Exception_PathMustStartWithSlash"), p0);
76=> string.Format(Culture, GetResourceString("Exception_InvokeDoesNotSupportRefOrOutParams"), p0);
84=> string.Format(Culture, GetResourceString("Exception_UseMiddlewareNoMiddlewareFactory"), p0);
96=> string.Format(Culture, GetResourceString("Exception_UseMiddlewareExplicitArgumentsNotSupported"), p0);
Microsoft.AspNetCore.Http.Connections (3)
Microsoft.AspNetCore.Http.Extensions (4)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (8)
artifacts\obj\Microsoft.AspNetCore.Http.RequestDelegateGenerator\Release\netstandard2.0\Microsoft.AspNetCore.Http.RequestDelegateGenerator.Resources.cs (8)
42=> string.Format(Culture, GetResourceString("UnableToResolveParameter_Message"), p0);
56=> string.Format(Culture, GetResourceString("InvalidAsParametersAbstractType_Message"), p0);
64=> string.Format(Culture, GetResourceString("InvalidAsParametersSignature_Message"), p0);
72=> string.Format(Culture, GetResourceString("InvalidAsParametersNoConstructorFound_Message"), p0);
80=> string.Format(Culture, GetResourceString("InvalidAsParametersSingleConstructorOnly_Message"), p0);
92=> string.Format(Culture, GetResourceString("InvalidAsParametersNullable_Message"), p0);
104=> string.Format(Culture, GetResourceString("InaccessibleTypesNotSupported_Message"), p0);
116=> string.Format(Culture, GetResourceString("InvalidAsParametersEnumerableType_Message"), p0);
Microsoft.AspNetCore.Identity.EntityFrameworkCore (2)
Microsoft.AspNetCore.Identity.Test (1)
Microsoft.AspNetCore.JsonPatch (15)
artifacts\obj\Microsoft.AspNetCore.JsonPatch\Release\net10.0\Microsoft.AspNetCore.JsonPatch.Resources.cs (15)
34=> string.Format(Culture, GetResourceString("CannotCopyProperty"), p0);
40=> string.Format(Culture, GetResourceString("CannotDeterminePropertyType"), p0);
52=> string.Format(Culture, GetResourceString("CannotReadProperty"), p0);
58=> string.Format(Culture, GetResourceString("CannotUpdateProperty"), p0);
64=> string.Format(Culture, GetResourceString("ExpressionTypeNotSupported"), p0);
70=> string.Format(Culture, GetResourceString("IndexOutOfBounds"), p0);
76=> string.Format(Culture, GetResourceString("InvalidIndexValue"), p0);
84=> string.Format(Culture, GetResourceString("InvalidJsonPatchOperation"), p0);
90=> string.Format(Culture, GetResourceString("InvalidPathSegment"), p0);
96=> string.Format(Culture, GetResourceString("InvalidValueForPath"), p0);
102=> string.Format(Culture, GetResourceString("InvalidValueForProperty"), p0);
114=> string.Format(Culture, GetResourceString("PatchNotSupportedForArrays"), p0);
120=> string.Format(Culture, GetResourceString("PatchNotSupportedForNonGenericLists"), p0);
126=> string.Format(Culture, GetResourceString("TargetLocationAtPathSegmentNotFound"), p0);
146=> string.Format(Culture, GetResourceString("ValueForTargetSegmentCannotBeNullOrEmpty"), p0);
Microsoft.AspNetCore.JsonPatch.SystemTextJson (15)
artifacts\obj\Microsoft.AspNetCore.JsonPatch.SystemTextJson\Release\net10.0\Microsoft.AspNetCore.JsonPatch.SystemTextJson.Resources.cs (15)
34=> string.Format(Culture, GetResourceString("CannotCopyProperty"), p0);
40=> string.Format(Culture, GetResourceString("CannotDeterminePropertyType"), p0);
52=> string.Format(Culture, GetResourceString("CannotReadProperty"), p0);
58=> string.Format(Culture, GetResourceString("CannotUpdateProperty"), p0);
64=> string.Format(Culture, GetResourceString("ExpressionTypeNotSupported"), p0);
70=> string.Format(Culture, GetResourceString("IndexOutOfBounds"), p0);
76=> string.Format(Culture, GetResourceString("InvalidIndexValue"), p0);
84=> string.Format(Culture, GetResourceString("InvalidJsonPatchOperation"), p0);
90=> string.Format(Culture, GetResourceString("InvalidPathSegment"), p0);
96=> string.Format(Culture, GetResourceString("InvalidValueForPath"), p0);
102=> string.Format(Culture, GetResourceString("InvalidValueForProperty"), p0);
114=> string.Format(Culture, GetResourceString("PatchNotSupportedForArrays"), p0);
120=> string.Format(Culture, GetResourceString("PatchNotSupportedForNonGenericLists"), p0);
126=> string.Format(Culture, GetResourceString("TargetLocationAtPathSegmentNotFound"), p0);
146=> string.Format(Culture, GetResourceString("ValueForTargetSegmentCannotBeNullOrEmpty"), p0);
Microsoft.AspNetCore.Mvc.Abstractions (1)
Microsoft.AspNetCore.Mvc.Core (43)
artifacts\obj\Microsoft.AspNetCore.Mvc.Core\Release\net10.0\Microsoft.AspNetCore.Mvc.Core.Resources.cs (41)
34=> string.Format(Culture, GetResourceString("MatchAllContentTypeIsNotAllowed"), p0);
58=> string.Format(Culture, GetResourceString("ActionInvokerFactory_CouldNotCreateInvoker"), p0);
64=> string.Format(Culture, GetResourceString("ActionDescriptorMustBeBasedOnControllerAction"), p0);
84=> string.Format(Culture, GetResourceString("ModelBinding_NullValueNotValid"), p0);
90=> string.Format(Culture, GetResourceString("Invalid_IncludePropertyExpression"), p0);
116=> string.Format(Culture, GetResourceString("ActionResult_ActionReturnValueCannotBeNull"), p0);
128=> string.Format(Culture, GetResourceString("InputFormatterNoEncoding"), p0);
134=> string.Format(Culture, GetResourceString("UnsupportedContentType"), p0);
140=> string.Format(Culture, GetResourceString("OutputFormatterNoMediaType"), p0);
228=> string.Format(Culture, GetResourceString("FileResult_InvalidPath"), p0);
248=> string.Format(Culture, GetResourceString("ApiExplorer_UnsupportedAction"), p0);
254=> string.Format(Culture, GetResourceString("FormatterMappings_NotValidMediaType"), p0);
260=> string.Format(Culture, GetResourceString("Format_NotValid"), p0);
266=> string.Format(Culture, GetResourceString("CacheProfileNotFound"), p0);
308=> string.Format(Culture, GetResourceString("JQueryFormValueProviderFactory_MissingClosingBracket"), p0);
316=> string.Format(Culture, GetResourceString("ModelBinderUtil_ModelCannotBeNull"), p0);
330=> string.Format(Culture, GetResourceString("ModelBinding_MissingBindRequiredMember"), p0);
344=> string.Format(Culture, GetResourceString("FileResult_PathNotRooted"), p0);
352=> string.Format(Culture, GetResourceString("FormatFormatterMappings_GetMediaTypeMappingForFormat_InvalidFormat"), p0);
358=> string.Format(Culture, GetResourceString("AcceptHeaderParser_ParseAcceptHeader_InvalidValues"), p0);
370=> string.Format(Culture, GetResourceString("ModelState_NonPropertyAttemptedValueIsInvalid"), p0);
376=> string.Format(Culture, GetResourceString("ModelState_UnknownValueIsInvalid"), p0);
384=> string.Format(Culture, GetResourceString("HtmlGeneration_ValueIsInvalid"), p0);
390=> string.Format(Culture, GetResourceString("HtmlGeneration_ValueMustBeNumber"), p0);
398=> string.Format(Culture, GetResourceString("TextInputFormatter_SupportedEncodingsMustNotBeEmpty"), p0);
404=> string.Format(Culture, GetResourceString("TextOutputFormatter_SupportedEncodingsMustNotBeEmpty"), p0);
422=> string.Format(Culture, GetResourceString("CouldNotCreateIModelBinder"), p0);
446=> string.Format(Culture, GetResourceString("MiddewareFilter_ConfigureMethodOverload"), p0);
458=> string.Format(Culture, GetResourceString("MiddlewareFilterBuilder_NullApplicationBuilder"), p0);
488=> string.Format(Culture, GetResourceString("VaryByQueryKeys_Requires_ResponseCachingMiddleware"), p0);
494=> string.Format(Culture, GetResourceString("CandidateResolver_DifferentCasedReference"), p0);
512=> string.Format(Culture, GetResourceString("ComplexTypeModelBinder_NoParameterlessConstructor_ForType"), p0);
524=> string.Format(Culture, GetResourceString("NoRoutesMatchedForPage"), p0);
564=> string.Format(Culture, GetResourceString("ApplicationAssembliesProvider_DuplicateRelatedAssembly"), p0);
588=> string.Format(Culture, GetResourceString("ApiConventionMustBeStatic"), p0);
668=> string.Format(Culture, GetResourceString("FailedToReadRequestForm"), p0);
674=> string.Format(Culture, GetResourceString("ValidationVisitor_ContainerCannotBeSpecified"), p0);
680=> string.Format(Culture, GetResourceString("StateShouldBeNullForRouteValueTransformers"), p0);
698=> string.Format(Culture, GetResourceString("ComplexObjectModelBinder_NoSuitableConstructor_ForType"), p0);
716=> string.Format(Culture, GetResourceString("GetContentTypes_WildcardsNotSupported"), p0);
722=> string.Format(Culture, GetResourceString("OutputCacheAttribute_Requires_OutputCachingMiddleware"), p0);
Microsoft.AspNetCore.Mvc.Core.Test (9)
Microsoft.AspNetCore.Mvc.Cors (1)
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (4)
Microsoft.AspNetCore.Mvc.IntegrationTests (5)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
Microsoft.AspNetCore.Mvc.Razor (6)
artifacts\obj\Microsoft.AspNetCore.Mvc.Razor\Release\net10.0\Microsoft.AspNetCore.Mvc.Razor.Resources.cs (6)
38=> string.Format(Culture, GetResourceString("FlushPointCannotBeInvoked"), p0);
76=> string.Format(Culture, GetResourceString("SectionAlreadyDefined"), p0);
126=> string.Format(Culture, GetResourceString("Compilation_MissingReferences"), p0);
132=> string.Format(Culture, GetResourceString("ViewLocationFormatsIsRequired"), p0);
156=> string.Format(Culture, GetResourceString("UnsupportedDebugInformationFormat"), p0);
168=> string.Format(Culture, GetResourceString("AsyncDisposableViewsNotSupported"), p0);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
Microsoft.AspNetCore.Mvc.RazorPages (3)
Microsoft.AspNetCore.Mvc.Testing (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (19)
artifacts\obj\Microsoft.AspNetCore.Mvc.ViewFeatures\Release\net10.0\Microsoft.AspNetCore.Mvc.ViewFeatures.Resources.cs (13)
60=> string.Format(Culture, GetResourceString("ViewComponent_IViewComponentFactory_ReturnedNull"), p0);
118=> string.Format(Culture, GetResourceString("HtmlHelper_NullModelMetadata"), p0);
132=> string.Format(Culture, GetResourceString("HtmlHelper_SelectExpressionNotEnumerable"), p0);
158=> string.Format(Culture, GetResourceString("TemplateHelpers_NoTemplate"), p0);
164=> string.Format(Culture, GetResourceString("ViewData_ModelCannotBeNull"), p0);
190=> string.Format(Culture, GetResourceString("UnobtrusiveJavascript_ValidationParameterCannotBeEmpty"), p0);
202=> string.Format(Culture, GetResourceString("UnobtrusiveJavascript_ValidationTypeCannotBeEmpty"), p0);
214=> string.Format(Culture, GetResourceString("UnobtrusiveJavascript_ValidationTypeMustBeUnique"), p0);
220=> string.Format(Culture, GetResourceString("TemplatedViewLocationExpander_NoReplacementToken"), p0);
248=> string.Format(Culture, GetResourceString("RemoteAttribute_RemoteValidationFailed"), p0);
266=> string.Format(Culture, GetResourceString("Dictionary_DuplicateKey"), p0);
324=> string.Format(Culture, GetResourceString("TempData_CannotDeserializeType"), p0);
330=> string.Format(Culture, GetResourceString("AsyncDisposableViewsNotSupported"), p0);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (9)
Microsoft.AspNetCore.Rewrite (6)
artifacts\obj\Microsoft.AspNetCore.Rewrite\Release\net10.0\Microsoft.AspNetCore.Rewrite.Resources.cs (6)
36=> string.Format(Culture, GetResourceString("Error_CouldNotParseInteger"), p0);
54=> string.Format(Culture, GetResourceString("Error_InputParserMissingCloseBrace"), p0);
60=> string.Format(Culture, GetResourceString("Error_InputParserNoBackreference"), p0);
74=> string.Format(Culture, GetResourceString("Error_InvalidChangeCookieFlag"), p0);
86=> string.Format(Culture, GetResourceString("Error_ModRewriteGeneralParseError"), p0);
98=> string.Format(Culture, GetResourceString("Error_UnsupportedServerVariable"), p0);
Microsoft.AspNetCore.Routing (11)
artifacts\obj\Microsoft.AspNetCore.Routing\Release\net10.0\Microsoft.AspNetCore.Routing.Resources.cs (11)
34=> string.Format(Culture, GetResourceString("ArgumentMustBeGreaterThanOrEqualTo"), p0);
52=> string.Format(Culture, GetResourceString("NamedRoutes_AmbiguousRoutesFound"), p0);
58=> string.Format(Culture, GetResourceString("DefaultHandler_MustBeSet"), p0);
84=> string.Format(Culture, GetResourceString("TemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly"), p0);
100=> string.Format(Culture, GetResourceString("TemplateRoute_InvalidLiteral"), p0);
106=> string.Format(Culture, GetResourceString("TemplateRoute_InvalidParameterName"), p0);
116=> string.Format(Culture, GetResourceString("TemplateRoute_RepeatedParameter"), p0);
148=> string.Format(Culture, GetResourceString("AttributeRoute_DifferentLinkGenerationEntries_SameName"), p0);
204=> string.Format(Culture, GetResourceString("DuplicateEndpointNameEntry"), p0);
212=> string.Format(Culture, GetResourceString("FormatterMapping_MediaTypeInvalid"), p0);
224=> string.Format(Culture, GetResourceString("MapGroup_CustomEndpointUnsupported"), p0);
Microsoft.AspNetCore.Server.HttpSys (6)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (5)
artifacts\obj\Microsoft.AspNetCore.Server.HttpSys.FunctionalTests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0);
50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0);
66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0);
76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0);
86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
Microsoft.AspNetCore.Server.IIS (2)
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Microsoft.AspNetCore.Server.Kestrel.Core (64)
artifacts\obj\Microsoft.AspNetCore.Server.Kestrel.Core\Release\net10.0\Microsoft.AspNetCore.Server.Kestrel.Core.CoreStrings.cs (54)
42=> string.Format(Culture, GetResourceString("BadRequest_FinalTransferCodingNotChunked", new [] { "detail" }), detail);
52=> string.Format(Culture, GetResourceString("BadRequest_InvalidContentLength_Detail", new [] { "detail" }), detail);
60=> string.Format(Culture, GetResourceString("BadRequest_InvalidHostHeader_Detail", new [] { "detail" }), detail);
68=> string.Format(Culture, GetResourceString("BadRequest_InvalidRequestHeader_Detail", new [] { "detail" }), detail);
76=> string.Format(Culture, GetResourceString("BadRequest_InvalidRequestLine_Detail", new [] { "detail" }), detail);
82=> string.Format(Culture, GetResourceString("BadRequest_InvalidRequestTarget_Detail", new [] { "detail" }), detail);
88=> string.Format(Culture, GetResourceString("BadRequest_LengthRequiredHttp10", new [] { "detail" }), detail);
112=> string.Format(Culture, GetResourceString("BadRequest_UnrecognizedHTTPVersion", new [] { "detail" }), detail);
118=> string.Format(Culture, GetResourceString("FallbackToIPv4Any", new [] { "port" }), port);
142=> string.Format(Culture, GetResourceString("UnknownTransportMode", new [] { "mode" }), mode);
148=> string.Format(Culture, GetResourceString("InvalidAsciiOrControlChar", new [] { "character" }), character);
154=> string.Format(Culture, GetResourceString("InvalidContentLength_InvalidNumber", new [] { "value" }), value);
170=> string.Format(Culture, GetResourceString("AddressBindingFailed", new [] { "address" }), address);
176=> string.Format(Culture, GetResourceString("BindingToDefaultAddress", new [] { "address" }), address);
182=> string.Format(Culture, GetResourceString("ConfigurePathBaseFromMethodCall", new [] { "methodName" }), methodName);
190=> string.Format(Culture, GetResourceString("EndpointAlreadyInUse", new [] { "endpoint" }), endpoint);
202=> string.Format(Culture, GetResourceString("OverridingWithKestrelOptions", new [] { "addresses" }), addresses);
214=> string.Format(Culture, GetResourceString("UnsupportedAddressScheme", new [] { "address" }), address);
230=> string.Format(Culture, GetResourceString("ParameterReadOnlyAfterResponseStarted", new [] { "name" }), name);
250=> string.Format(Culture, GetResourceString("WritingToResponseBodyNotSupported", new [] { "statusCode" }), statusCode);
266=> string.Format(Culture, GetResourceString("BadRequest_RequestBodyTooLarge", new [] { "maxRequestBodySize" }), maxRequestBodySize);
278=> string.Format(Culture, GetResourceString("MinimumGracePeriodRequired", new [] { "heartbeatInterval" }), heartbeatInterval);
312=> string.Format(Culture, GetResourceString("Http2ErrorStreamIdZero", new [] { "frameType" }), frameType);
318=> string.Format(Culture, GetResourceString("Http2ErrorStreamIdNotZero", new [] { "frameType" }), frameType);
324=> string.Format(Culture, GetResourceString("Http2ErrorPaddingTooLong", new [] { "frameType" }), frameType);
358=> string.Format(Culture, GetResourceString("Http2ErrorSettingsParameterOutOfRange", new [] { "parameter" }), parameter);
394=> string.Format(Culture, GetResourceString("InvalidServerCertificateEku", new [] { "thumbprint" }), thumbprint);
408=> string.Format(Culture, GetResourceString("EndpointMissingUrl", new [] { "endpointName" }), endpointName);
417=> string.Format(Culture, GetResourceString("MultipleCertificateSources", new [] { "endpointName" }), endpointName);
441=> string.Format(Culture, GetResourceString("Http2ErrorMinTlsVersion", new [] { "protocol" }), protocol);
467=> string.Format(Culture, GetResourceString("Http2ErrorMethodInvalid", new [] { "method" }), method);
473=> string.Format(Culture, GetResourceString("Http2StreamErrorPathInvalid", new [] { "path" }), path);
501=> string.Format(Culture, GetResourceString("Http3ErrorMethodInvalid", new [] { "method" }), method);
507=> string.Format(Culture, GetResourceString("Http3StreamErrorPathInvalid", new [] { "path" }), path);
539=> string.Format(Culture, GetResourceString("Http2StreamResetByApplication", new [] { "errorCode" }), errorCode);
551=> string.Format(Culture, GetResourceString("QPackErrorIndexOutOfRange", new [] { "index" }), index);
577=> string.Format(Culture, GetResourceString("ArgumentTimeSpanGreaterOrEqual", new [] { "value" }), value);
585=> string.Format(Culture, GetResourceString("UnrecognizedCertificateKeyOid"), p0);
597=> string.Format(Culture, GetResourceString("SniNotConfiguredToAllowNoServerName", new [] { "endpointName" }), endpointName);
603=> string.Format(Culture, GetResourceString("SniNameCannotBeEmpty", new [] { "endpointName" }), endpointName);
619=> string.Format(Culture, GetResourceString("Http3StreamResetByApplication", new [] { "errorCode" }), errorCode);
629=> string.Format(Culture, GetResourceString("Http3StreamErrorFrameReceivedAfterTrailers", new [] { "frameType" }), frameType);
635=> string.Format(Culture, GetResourceString("Http3ErrorUnsupportedFrameOnRequestStream", new [] { "frameType" }), frameType);
641=> string.Format(Culture, GetResourceString("Http3ErrorUnsupportedFrameOnServer", new [] { "frameType" }), frameType);
647=> string.Format(Culture, GetResourceString("Http3ErrorUnsupportedFrameOnControlStream", new [] { "frameType" }), frameType);
655=> string.Format(Culture, GetResourceString("Http3ErrorControlStreamFrameReceivedBeforeSettings", new [] { "frameType" }), frameType);
661=> string.Format(Culture, GetResourceString("Http3ErrorControlStreamReservedSetting", new [] { "identifier" }), identifier);
667=> string.Format(Culture, GetResourceString("Http3ControlStreamErrorMultipleInboundStreams", new [] { "streamType" }), streamType);
679=> string.Format(Culture, GetResourceString("Http3ControlStreamErrorUnsupportedType", new [] { "type" }), type);
717=> string.Format(Culture, GetResourceString("UnidentifiedStream", new [] { "stream" }), stream);
725=> string.Format(Culture, GetResourceString("FailedToNegotiateCommonWebTransportVersion", new [] { "currentSuppportedVersion" }), currentSuppportedVersion);
739=> string.Format(Culture, GetResourceString("ConnectResponseCanNotHaveBody", new [] { "StatusCode" }), StatusCode);
745=> string.Format(Culture, GetResourceString("FailedToBindToIPv6Any", new [] { "port" }), port);
759=> string.Format(Culture, GetResourceString("Http3ControlStreamFrameTooLarge", new [] { "frameType" }), frameType);
artifacts\obj\Microsoft.AspNetCore.Server.Kestrel.Core\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0);
50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0);
66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0);
76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0);
86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
Microsoft.AspNetCore.Session (1)
Microsoft.AspNetCore.Shared.Tests (14)
artifacts\obj\Microsoft.AspNetCore.Shared.Tests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0);
50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0);
66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0);
76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0);
86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format(
424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
Microsoft.AspNetCore.WebUtilities (6)
Microsoft.Build (27)
BackEnd\Components\Scheduler\Scheduler.cs (7)
2528String.Format(CultureInfo.InvariantCulture, "{0:0.000}", request.GetTimeSpentInState(SchedulableRequestState.Executing).TotalSeconds),
2529String.Format(CultureInfo.InvariantCulture, "{0:0.000}", request.GetTimeSpentInState(SchedulableRequestState.Executing).TotalSeconds + request.GetTimeSpentInState(SchedulableRequestState.Blocked).TotalSeconds + request.GetTimeSpentInState(SchedulableRequestState.Ready).TotalSeconds),
2568using StreamWriter file = FileUtilities.OpenWrite(string.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerTrace_{0}.txt"), EnvironmentUtilities.CurrentProcessId), append: true);
2592using StreamWriter file = FileUtilities.OpenWrite(string.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), EnvironmentUtilities.CurrentProcessId), append: true);
2603? string.Format(
2706using StreamWriter file = FileUtilities.OpenWrite(string.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), EnvironmentUtilities.CurrentProcessId), append: true);
2746using StreamWriter file = FileUtilities.OpenWrite(string.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), EnvironmentUtilities.CurrentProcessId), append: true);
Construction\Solution\SolutionProjectGenerator.cs (8)
421string destinationFolder = String.Format(CultureInfo.InvariantCulture, @"$({0})\Bin\", GenerateSafePropertyName(project, "AspNetPhysicalPath"));
428ProjectTaskInstance copyNonExistentReferencesTask = target.AddTask("Copy", String.Format(CultureInfo.InvariantCulture, "!Exists('%({0}.Identity)')", referenceItemName), "true");
444ProjectTaskInstance rarTask = target.AddTask("ResolveAssemblyReference", String.Format(CultureInfo.InvariantCulture, "Exists('%({0}.Identity)')", referenceItemName), null);
486ProjectTaskInstance readLinesTask = target.AddTask("ReadLinesFromFile", String.Format(CultureInfo.InvariantCulture, @" '%({0}_RefreshFile.Identity)' != '' ", referenceItemName), null);
487readLinesTask.SetParameter("File", String.Format(CultureInfo.InvariantCulture, @"%({0}_RefreshFile.Identity)", referenceItemName));
495combinePathTask.SetParameter("Paths", String.Format(CultureInfo.InvariantCulture, @"@({0}_ReferenceRelPath)", referenceItemName));
1263string targetOutputItemName = string.Format(CultureInfo.InvariantCulture, "{0}BuildOutput", safeItemNameFromProjectName);
1691if (!traversalProject.EvaluateCondition(String.Format(CultureInfo.InvariantCulture, " '$(AspNetConfiguration)' == '{0}' ", EscapingUtilities.Escape(configurationName))))
Microsoft.Build.CommandLine.UnitTests (1)
Microsoft.Build.Engine.OM.UnitTests (2)
Microsoft.Build.Engine.UnitTests (5)
BackEnd\BuildManager_Tests.cs (4)
350string shutdownProjectDirectory = Path.Combine(Path.GetTempPath(), String.Format(CultureInfo.InvariantCulture, "VSNodeShutdown_{0}_UnitTest", Process.GetCurrentProcess().Id));
2097File.WriteAllText(rootProjectPath, String.Format(CultureInfo.InvariantCulture, contents1, importedProjectPath));
3639string rootProjectPath = Path.Combine(shutdownProjectDirectory, String.Format(CultureInfo.InvariantCulture, "RootProj_{0}.proj", Guid.NewGuid().ToString("N")));
3654metadata["AdditionalProperties"] = String.Format(CultureInfo.InvariantCulture, "p={0}", i);
Microsoft.Build.Framework.UnitTests (1)
Microsoft.Build.Tasks.Core (20)
BootstrapperUtil\BootstrapperBuilder.cs (5)
561XmlNode stringNode = stringsNode?.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, "String[@Name='{0}']", cultureAttribute.Value));
669foreach (XmlNode relatedProductNode in eitherProductNode.SelectNodes(String.Format(CultureInfo.InvariantCulture, "{0}:DependsOnProduct", BOOTSTRAPPER_PREFIX), _xmlNamespaceManager))
1348XmlNode stringNode = stringsNode.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, stringNodeLookupTemplate, attribute.Value), _xmlNamespaceManager);
1533string configFileKey = string.Format(CultureInfo.InvariantCulture, "EULA{0}", eulas.Count);
1648XmlNode stringNode = stringsNode.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, stringNodeLookupTemplate, attribute.Value), _xmlNamespaceManager);
ManifestUtil\ComImporter.cs (4)
139_outputMessages.AddWarningMessage("GenerateManifest.ComImport", _outputDisplayName, String.Format(CultureInfo.CurrentCulture, _resources.GetString("ComImporter.SubKeyNotImported"), key.Name + "\\" + name));
161_outputMessages.AddWarningMessage("GenerateManifest.ComImport", _outputDisplayName, String.Format(CultureInfo.CurrentCulture, _resources.GetString("ComImporter.ValueNotImported"), key.Name + "\\@" + name));
243_outputMessages.AddWarningMessage("GenerateManifest.ComImport", _outputDisplayName, String.Format(CultureInfo.CurrentCulture, _resources.GetString("ComImporter.LocalServerNotSupported"), classKey.Name + "\\LocalServer32"));
254_outputMessages.AddWarningMessage("GenerateManifest.ComImport", _outputDisplayName, String.Format(CultureInfo.CurrentCulture, _resources.GetString("ComImporter.SubKeyNotImported"), classKey.Name + "\\" + subKeyName));
Microsoft.Build.Utilities.Core (2)
Microsoft.CodeAnalysis (2)
Microsoft.CodeAnalysis.Analyzers (2)
Microsoft.CodeAnalysis.CSharp (7)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (5)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Features (4)
Microsoft.CSharp (1)
Microsoft.Data.Analysis (2)
Microsoft.Data.Analysis.Tests (2)
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
Microsoft.DotNet.GenAPI (1)
Microsoft.Extensions.AI.Evaluation.Reporting (7)
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (2)
Microsoft.Extensions.ApiDescription.Client (1)
Microsoft.Extensions.Caching.Memory (1)
Microsoft.Extensions.Caching.SqlServer (5)
SqlQueries.cs (5)
64GetCacheItem = string.Format(CultureInfo.InvariantCulture, UpdateCacheItemFormat + GetCacheItemFormat, tableNameWithSchema);
65GetCacheItemWithoutValue = string.Format(CultureInfo.InvariantCulture, UpdateCacheItemFormat, tableNameWithSchema);
66DeleteCacheItem = string.Format(CultureInfo.InvariantCulture, DeleteCacheItemFormat, tableNameWithSchema);
67DeleteExpiredCacheItems = string.Format(CultureInfo.InvariantCulture, DeleteExpiredCacheItemsFormat, tableNameWithSchema);
68SetCacheItem = string.Format(CultureInfo.InvariantCulture, SetCacheItemFormat, tableNameWithSchema);
Microsoft.Extensions.Caching.SqlServer.Tests (1)
Microsoft.Extensions.Compliance.Testing (3)
Microsoft.Extensions.Configuration (1)
Microsoft.Extensions.Configuration.Abstractions (1)
Microsoft.Extensions.Configuration.Binder (1)
Microsoft.Extensions.Configuration.CommandLine (1)
Microsoft.Extensions.Configuration.FileExtensions (1)
Microsoft.Extensions.Configuration.Ini (1)
Microsoft.Extensions.Configuration.Json (1)
Microsoft.Extensions.Configuration.UserSecrets (1)
Microsoft.Extensions.Configuration.Xml (1)
Microsoft.Extensions.DependencyInjection (1)
Microsoft.Extensions.DependencyInjection.Abstractions (1)
Microsoft.Extensions.DependencyModel (1)
Microsoft.Extensions.Diagnostics (1)
Microsoft.Extensions.Diagnostics.Abstractions (1)
Microsoft.Extensions.FileProviders.Abstractions (1)
Microsoft.Extensions.FileProviders.Physical (1)
Microsoft.Extensions.FileSystemGlobbing (1)
Microsoft.Extensions.Hosting (1)
Microsoft.Extensions.Hosting.Abstractions (1)
Microsoft.Extensions.Http (1)
Microsoft.Extensions.Http.Resilience.Tests (1)
Microsoft.Extensions.Identity.Core (12)
artifacts\obj\Microsoft.Extensions.Identity.Core\Release\net10.0\Microsoft.Extensions.Identity.Core.Resources.cs (12)
38=> string.Format(Culture, GetResourceString("DuplicateEmail"), p0);
44=> string.Format(Culture, GetResourceString("DuplicateRoleName"), p0);
50=> string.Format(Culture, GetResourceString("DuplicateUserName"), p0);
56=> string.Format(Culture, GetResourceString("InvalidEmail"), p0);
72=> string.Format(Culture, GetResourceString("InvalidRoleName"), p0);
80=> string.Format(Culture, GetResourceString("InvalidUserName"), p0);
108=> string.Format(Culture, GetResourceString("PasswordTooShort"), p0);
114=> string.Format(Culture, GetResourceString("RoleNotFound"), p0);
154=> string.Format(Culture, GetResourceString("UserAlreadyInRole"), p0);
164=> string.Format(Culture, GetResourceString("UserNameNotFound"), p0);
170=> string.Format(Culture, GetResourceString("UserNotInRole"), p0);
178=> string.Format(Culture, GetResourceString("PasswordRequiresUniqueChars"), p0);
Microsoft.Extensions.Localization (2)
Microsoft.Extensions.Logging (1)
Microsoft.Extensions.Logging.Abstractions (3)
Microsoft.Extensions.Logging.Configuration (1)
Microsoft.Extensions.Logging.Console (1)
Microsoft.Extensions.Logging.Generators (1)
Microsoft.Extensions.Options (1)
Microsoft.Extensions.Options.SourceGeneration (1)
Microsoft.Extensions.Primitives (1)
Microsoft.Extensions.SecretManager.Tools.Tests (7)
Microsoft.Gen.ComplianceReports (1)
Microsoft.Gen.MetadataExtractor (3)
Microsoft.Gen.Metrics (2)
Microsoft.Gen.MetricsReports (1)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.JavaScript.JSImportGenerator (1)
Microsoft.Interop.LibraryImportGenerator (1)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
Microsoft.Interop.SourceGeneration (1)
Microsoft.ML.Core (4)
Utilities\Contracts.cs (4)
806DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}", paramName));
810DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}", paramName), ctx);
826DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-empty assertion failure: {0}", msg));
830DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-empty assertion failure: {0}", msg), ctx);
Microsoft.ML.CpuMath (4)
src\Microsoft.ML.Core\Utilities\Contracts.cs (4)
806DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}", paramName));
810DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}", paramName), ctx);
826DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-empty assertion failure: {0}", msg));
830DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-empty assertion failure: {0}", msg), ctx);
Microsoft.ML.Data (3)
Microsoft.ML.LightGbm (1)
Microsoft.ML.Maml (1)
Microsoft.Net.Http.Headers (5)
Microsoft.VisualBasic.Core (4)
Microsoft.VisualStudio.LanguageServices (1)
Microsoft.Win32.Registry (1)
Microsoft.Win32.Registry.AccessControl (1)
Microsoft.Win32.SystemEvents (1)
MSBuild (5)
PresentationBuildTasks (1)
PresentationCore (22)
PresentationFramework (14)
PresentationUI (16)
ReachFramework (15)
PrintConfig\PrtTicket_Public_Simple.cs (5)
110return ((PageMediaSizeName != null) ? String.Format(CultureInfo.CurrentCulture, "{0}", PageMediaSizeName) : "Null") + " (" +
111((Width != null) ? String.Format(CultureInfo.CurrentCulture, "{0}", Width) : "Null") +
113((Height != null) ? String.Format(CultureInfo.CurrentCulture, "{0}", Height) : "Null") +
218return ((X != null) ? String.Format(CultureInfo.CurrentCulture, "{0}", X) : "Null") +
220((Y != null) ? String.Format(CultureInfo.CurrentCulture, "{0}", Y) : "Null") +
Swaggatherer (6)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format(
424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
System.CodeDom (1)
System.Collections (1)
System.Collections.Concurrent (1)
System.Collections.Immutable (1)
System.Collections.NonGeneric (1)
System.Collections.Specialized (1)
System.ComponentModel.Annotations (3)
System.ComponentModel.Composition (1)
System.ComponentModel.Composition.Registration (1)
System.ComponentModel.EventBasedAsync (1)
System.ComponentModel.Primitives (1)
System.ComponentModel.TypeConverter (1)
System.Composition.Convention (1)
System.Composition.Hosting (1)
System.Composition.Runtime (1)
System.Composition.TypedParts (1)
System.Configuration.ConfigurationManager (5)
System.Console (1)
System.Data.Common (59)
System\Data\DataTable.cs (54)
385info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnName", i), Columns[i].ColumnName);
386info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.Namespace", i), Columns[i]._columnUri);
387info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.Prefix", i), Columns[i].Prefix);
388info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnMapping", i), Columns[i].ColumnMapping);
389info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.AllowDBNull", i), Columns[i].AllowDBNull);
390info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrement", i), Columns[i].AutoIncrement);
391info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementStep", i), Columns[i].AutoIncrementStep);
392info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementSeed", i), Columns[i].AutoIncrementSeed);
393info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.Caption", i), Columns[i].Caption);
394info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DefaultValue", i), Columns[i].DefaultValue);
395info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.ReadOnly", i), Columns[i].ReadOnly);
396info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.MaxLength", i), Columns[i].MaxLength);
397info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DataType_AssemblyQualifiedName", i), Columns[i].DataType.AssemblyQualifiedName);
398info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.XmlDataType", i), Columns[i].XmlDataType);
399info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.SimpleType", i), Columns[i].SimpleType);
401info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DateTimeMode", i), Columns[i].DateTimeMode);
404info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementCurrent", i), Columns[i].AutoIncrementCurrent);
409info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.Expression", i), Columns[i].Expression);
413info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.ExtendedProperties", i), Columns[i]._extendedProperties);
463dc.ColumnName = info.GetString(string.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnName", i));
464dc._columnUri = info.GetString(string.Format(formatProvider, "DataTable.DataColumn_{0}.Namespace", i));
465dc.Prefix = info.GetString(string.Format(formatProvider, "DataTable.DataColumn_{0}.Prefix", i));
467string typeName = (string)info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DataType_AssemblyQualifiedName", i), typeof(string))!;
469dc.XmlDataType = (string?)info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.XmlDataType", i), typeof(string));
470dc.SimpleType = (SimpleType?)info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.SimpleType", i), typeof(SimpleType));
472dc.ColumnMapping = (MappingType)info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnMapping", i), typeof(MappingType))!;
473dc.DateTimeMode = (DataSetDateTime)info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DateTimeMode", i), typeof(DataSetDateTime))!;
475dc.AllowDBNull = info.GetBoolean(string.Format(formatProvider, "DataTable.DataColumn_{0}.AllowDBNull", i));
476dc.AutoIncrement = info.GetBoolean(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrement", i));
477dc.AutoIncrementStep = info.GetInt64(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementStep", i));
478dc.AutoIncrementSeed = info.GetInt64(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementSeed", i));
479dc.Caption = info.GetString(string.Format(formatProvider, "DataTable.DataColumn_{0}.Caption", i));
480dc.DefaultValue = info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DefaultValue", i), typeof(object));
481dc.ReadOnly = info.GetBoolean(string.Format(formatProvider, "DataTable.DataColumn_{0}.ReadOnly", i));
482dc.MaxLength = info.GetInt32(string.Format(formatProvider, "DataTable.DataColumn_{0}.MaxLength", i));
485dc.AutoIncrementCurrent = info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementCurrent", i), typeof(object))!;
490expressions[i] = info.GetString(string.Format(formatProvider, "DataTable.DataColumn_{0}.Expression", i));
494dc._extendedProperties = (PropertyCollection?)info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.ExtendedProperties", i), typeof(PropertyCollection));
585info.AddValue(string.Format(CultureInfo.InvariantCulture, "DataTable_{0}.Constraints", serIndex), constraintList);
594ArrayList constraintList = (ArrayList)info.GetValue(string.Format(CultureInfo.InvariantCulture, "DataTable_{0}.Constraints", serIndex), typeof(ArrayList))!;
764info.AddValue(string.Format(formatProvider, "DataTable_{0}.Rows.Count", serIndex), rowCount);
765info.AddValue(string.Format(formatProvider, "DataTable_{0}.Records.Count", serIndex), recordCount);
766info.AddValue(string.Format(formatProvider, "DataTable_{0}.RowStates", serIndex), rowStates);
767info.AddValue(string.Format(formatProvider, "DataTable_{0}.Records", serIndex), storeList);
768info.AddValue(string.Format(formatProvider, "DataTable_{0}.NullBits", serIndex), nullbitList);
769info.AddValue(string.Format(formatProvider, "DataTable_{0}.RowErrors", serIndex), rowErrors);
770info.AddValue(string.Format(formatProvider, "DataTable_{0}.ColumnErrors", serIndex), colErrors);
785int rowCount = info.GetInt32(string.Format(formatProvider, "DataTable_{0}.Rows.Count", serIndex));
786int recordCount = info.GetInt32(string.Format(formatProvider, "DataTable_{0}.Records.Count", serIndex));
787BitArray rowStates = (BitArray)info.GetValue(string.Format(formatProvider, "DataTable_{0}.RowStates", serIndex), typeof(BitArray))!;
788ArrayList storeList = (ArrayList)info.GetValue(string.Format(formatProvider, "DataTable_{0}.Records", serIndex), typeof(ArrayList))!;
789ArrayList nullbitList = (ArrayList)info.GetValue(string.Format(formatProvider, "DataTable_{0}.NullBits", serIndex), typeof(ArrayList))!;
790Hashtable rowErrors = (Hashtable)info.GetValue(string.Format(formatProvider, "DataTable_{0}.RowErrors", serIndex), typeof(Hashtable))!;
792Hashtable colErrors = (Hashtable)info.GetValue(string.Format(formatProvider, "DataTable_{0}.ColumnErrors", serIndex), typeof(Hashtable))!;
System.Data.Odbc (1)
System.Data.OleDb (1)
System.Diagnostics.DiagnosticSource (1)
System.Diagnostics.EventLog (1)
System.Diagnostics.FileVersionInfo (1)
System.Diagnostics.PerformanceCounter (1)
System.Diagnostics.Process (1)
System.Diagnostics.TextWriterTraceListener (1)
System.Diagnostics.TraceSource (1)
System.DirectoryServices (1)
System.DirectoryServices.AccountManagement (1)
System.DirectoryServices.Protocols (1)
System.Drawing.Common (1)
System.Drawing.Primitives (1)
System.Formats.Asn1 (1)
System.Formats.Cbor (1)
System.Formats.Nrbf (1)
System.Formats.Tar (1)
System.IO.Compression (1)
System.IO.Compression.Brotli (1)
System.IO.Compression.ZipFile (1)
System.IO.FileSystem.AccessControl (1)
System.IO.FileSystem.DriveInfo (1)
System.IO.FileSystem.Watcher (1)
System.IO.Hashing (1)
System.IO.IsolatedStorage (1)
System.IO.MemoryMappedFiles (1)
System.IO.Packaging (1)
System.IO.Pipelines (1)
System.IO.Pipes (1)
System.IO.Pipes.AccessControl (1)
System.IO.Ports (1)
System.Linq (1)
System.Linq.AsyncEnumerable (1)
System.Linq.Expressions (1)
System.Linq.Parallel (1)
System.Linq.Queryable (1)
System.Management (1)
System.Memory (1)
System.Memory.Data (1)
System.Net.Http (1)
System.Net.Http.Json (1)
System.Net.Http.WinHttpHandler (1)
System.Net.HttpListener (1)
System.Net.Mail (1)
System.Net.NameResolution (1)
System.Net.NetworkInformation (1)
System.Net.Ping (1)
System.Net.Primitives (1)
System.Net.Quic (1)
System.Net.Requests (1)
System.Net.Security (1)
System.Net.ServerSentEvents (1)
System.Net.Sockets (1)
System.Net.WebClient (1)
System.Net.WebHeaderCollection (1)
System.Net.WebSockets (1)
System.Net.WebSockets.Client (1)
System.Numerics.Tensors (1)
System.ObjectModel (1)
System.Private.CoreLib (5)
System.Private.DataContractSerialization (1)
System.Private.Uri (1)
System.Private.Xml (2)
System.Private.Xml.Linq (1)
System.Reflection.Context (1)
System.Reflection.DispatchProxy (1)
System.Reflection.Emit (1)
System.Reflection.Metadata (1)
System.Reflection.MetadataLoadContext (1)
System.Reflection.TypeExtensions (1)
System.Resources.Extensions (1)
System.Resources.Writer (1)
System.Runtime.Caching (1)
System.Runtime.InteropServices (1)
System.Runtime.InteropServices.JavaScript (1)
System.Runtime.Numerics (1)
System.Runtime.Serialization.Formatters (1)
System.Runtime.Serialization.Primitives (1)
System.Runtime.Serialization.Schema (1)
System.Security.AccessControl (1)
System.Security.Claims (1)
System.Security.Cryptography (2)
System.Security.Cryptography.Cose (1)
System.Security.Cryptography.Pkcs (1)
System.Security.Cryptography.ProtectedData (1)
System.Security.Cryptography.Xml (2)
System.Security.Permissions (1)
System.Security.Principal.Windows (1)
System.ServiceModel.Federation (1)
System.ServiceModel.Syndication (1)
System.ServiceProcess.ServiceController (1)
System.Speech (1)
System.Text.Encoding.CodePages (1)
System.Text.Encodings.Web (1)
System.Text.Json (1)
System.Text.Json.SourceGeneration (1)
System.Text.RegularExpressions (1)
System.Text.RegularExpressions.Generator (1)
System.Threading (1)
System.Threading.AccessControl (1)
System.Threading.Channels (1)
System.Threading.RateLimiting (1)
System.Threading.Tasks.Dataflow (1)
System.Threading.Tasks.Parallel (1)
System.Transactions.Local (1)
System.Windows.Extensions (1)
System.Windows.Forms (1)
System.Windows.Forms.Design (3)
System.Windows.Input.Manipulations (1)
System.Xaml (1)
TagHelpersWebSite (1)
TaskUsageLogger (6)
TaskUsageLogger.cs (6)
178throw new LoggerException(String.Format(CultureInfo.CurrentCulture, "Why do we have two instances of {0}?", t));
195throw new LoggerException(String.Format(CultureInfo.CurrentCulture, "Why is toolset '{0}' missing??", toolsVersion));
303throw new LoggerException(String.Format(CultureInfo.CurrentCulture, "This logger doesn't know how to evaluate '{0}'!", unevaluatedString));
337throw new LoggerException(String.Format(CultureInfo.CurrentCulture, "Why haven't we collected using task data for {0}?", projectFile));
350throw new LoggerException(String.Format(CultureInfo.CurrentCulture, "Why don't we have a cached ToolsVersion for {0}?", projectFile));
356throw new LoggerException(String.Format(CultureInfo.CurrentCulture, "Why haven't we collected default using task data for TV {0}?", parentProjectToolsVersion));
Templates.Blazor.Tests (8)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format(
424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
Templates.Blazor.WebAssembly.Auth.Tests (8)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format(
424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
Templates.Blazor.WebAssembly.Tests (8)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format(
424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
Templates.Mvc.Tests (8)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format(
424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
Templates.Tests (8)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format(
424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
UIAutomationClientSideProviders (4)
Wasm.Performance.ConsoleHost (6)
WindowsFormsIntegration (7)
xunit.assert (39)
EqualityAsserts.cs (8)
402 string.Format(CultureInfo.CurrentCulture, "Values are not within tolerance {0:G17}", tolerance)
474 string.Format(CultureInfo.CurrentCulture, "Values are not within tolerance {0:G9}", tolerance)
834 string.Format(CultureInfo.CurrentCulture, "Values are within {0} decimal places", precision)
860 string.Format(CultureInfo.CurrentCulture, "Values are within {0} decimal places", precision)
883 string.Format(CultureInfo.CurrentCulture, "Values are within tolerance {0:G17}", tolerance)
906 string.Format(CultureInfo.CurrentCulture, "Values are within {0} decimal places", precision)
932 string.Format(CultureInfo.CurrentCulture, "Values are within {0} decimal places", precision)
955 string.Format(CultureInfo.CurrentCulture, "Values are within tolerance {0:G9}", tolerance)
Sdk\ArgumentFormatter.cs (13)
195 return string.Format(CultureInfo.CurrentCulture, "typeof({0})", FormatTypeName(value, fullTypeName: true));
218 return string.Format(CultureInfo.CurrentCulture, "typeof({0})", FormatTypeName(valueAsType, fullTypeName: true));
267 : string.Format(CultureInfo.CurrentCulture, "Task<{0}>", string.Join(",", typeParameters.Select(t => FormatTypeName(t))));
309 return string.Format(CultureInfo.CurrentCulture, "'{0}'", escapeSequence);
312 return string.Format(CultureInfo.CurrentCulture, "'{0}'", value);
315 return string.Format(CultureInfo.CurrentCulture, "0x{0:x4}", (int)value);
353 return string.Format(CultureInfo.CurrentCulture, "{0}{{ }}", typeName);
364 string.Format(CultureInfo.CurrentCulture, "{0:o}", value);
367 string.Format(CultureInfo.CurrentCulture, "{0:G17}", value);
430 string.Format(CultureInfo.CurrentCulture, "{0:G9}", value);
446 return string.Format(CultureInfo.CurrentCulture, "\"{0}\"", value);
494 arraySuffix += string.Format(CultureInfo.CurrentCulture, "[{0}]", new string(',', rank - 1));
715 return string.Format(CultureInfo.CurrentCulture, "(throws {0})", UnwrapException(ex)?.GetType().Name);
Sdk\Exceptions\EqualException.cs (4)
117 ? string.Format(CultureInfo.CurrentCulture, "Assert.Equal() Failure: {0} differ", collectionDisplay ?? "Collections")
120 var expectedTypeText = expectedType != null && actualType != null && expectedType != actualType ? string.Format(CultureInfo.CurrentCulture, ", type {0}", expectedType) : "";
121 var actualTypeText = expectedType != null && actualType != null && expectedType != actualType ? string.Format(CultureInfo.CurrentCulture, ", type {0}", actualType) : "";
230 ? string.Format(CultureInfo.CurrentCulture, "Assert.Equal() Failure: {0}", banner ?? "Values differ")
Sdk\Exceptions\EquivalentException.cs (6)
44 string.Format(
57 string.Format(
161 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, ": Mismatched value on member '{0}'", memberName),
191 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),
226 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),
254 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),