2215 references to Format
aspire (148)
Backchannel\ExtensionBackchannel.cs (8)
174throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.InvalidSocketPath, endpoint));
226string.Format(CultureInfo.CurrentCulture, ErrorStrings.ExtensionIncompatibleWithCli,
242string.Format(CultureInfo.CurrentCulture, ErrorStrings.ExtensionIncompatibleWithCli,
435throw new ExtensionOperationCanceledException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText));
465throw new ExtensionOperationCanceledException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText));
489throw new ExtensionOperationCanceledException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText));
515throw new ExtensionOperationCanceledException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText));
541throw new ExtensionOperationCanceledException(string.Format(CultureInfo.CurrentCulture, ErrorStrings.NoSelectionMade, promptText));
Commands\AddCommand.cs (4)
276var errorMessage = string.Format(CultureInfo.CurrentCulture, AddCommandStrings.ErrorOccurredWhileAddingPackage, ex.Message);
328InteractionService.DisplaySubtleMessage(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.NoPackagesMatchedSearchTerm, searchTerm));
381string.Format(CultureInfo.CurrentCulture, AddCommandStrings.SelectAVersionOfPackage, firstPackage.Package.Id),
448string.Format(CultureInfo.CurrentCulture, AddCommandStrings.SelectAVersionOfPackage, firstPackage.Package.Id),
Commands\ConfigCommand.cs (7)
113InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, ErrorStrings.ConfigurationKeyNotFound, key));
193var errorMessage = string.Format(CultureInfo.CurrentCulture, ErrorStrings.ErrorSettingConfiguration, ex.Message);
385InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, ErrorStrings.ConfigurationKeyNotFound, key));
408InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeyDeletedGlobally, key));
412InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeyDeletedLocally, key));
419InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, ErrorStrings.ConfigurationKeyNotFound, key));
425var errorMessage = string.Format(CultureInfo.CurrentCulture, ErrorStrings.ErrorDeletingConfiguration, ex.Message);
Commands\ExecCommand.cs (5)
246InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, RunCommandStrings.ProjectCouldNotBeRun, ExecutionContext.LogFilePath));
257InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, RunCommandStrings.ProjectCouldNotBeRun, ExecutionContext.LogFilePath));
280var errorMessage = string.Format(CultureInfo.CurrentCulture, TemplatingStrings.CertificateTrustError, ex.Message);
287var errorMessage = string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.ErrorConnectingToAppHost, ex.Message);
295var errorMessage = string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.UnexpectedErrorOccurred, ex.Message);
Commands\ExportCommand.cs (4)
82string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.SelectAppHost, ExportCommandStrings.SelectAppHostAction),
139_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, ExportCommandStrings.ResourceNotFound, resourceName));
194_interactionService.DisplayMessage(KnownEmojis.CheckMark, string.Format(CultureInfo.CurrentCulture, ExportCommandStrings.ExportComplete, fullPath));
200_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, ExportCommandStrings.FailedToExport, ex.Message));
Commands\RunCommand.cs (6)
244InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.ProjectCouldNotBeBuilt, ExecutionContext.LogFilePath));
383var errorMessage = string.Format(CultureInfo.CurrentCulture, TemplatingStrings.CertificateTrustError, ex.Message);
390var errorMessage = string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.ErrorConnectingToAppHost, ex.Message);
394InteractionService.DisplayMessage(KnownEmojis.PageFacingUp, string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.SeeLogsAt, ExecutionContext.LogFilePath));
405var errorMessage = string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.UnexpectedErrorOccurred, ex.Message);
409InteractionService.DisplayMessage(KnownEmojis.PageFacingUp, string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.SeeLogsAt, ExecutionContext.LogFilePath));
Commands\Sdk\SdkDumpCommand.cs (16)
285var loc = string.IsNullOrEmpty(d.Location) ? "" : string.Format(CultureInfo.InvariantCulture, " [{0}]", d.Location);
308var flagStr = flags.Count > 0 ? string.Format(CultureInfo.InvariantCulture, " [{0}]", string.Join(", ", flags)) : "";
330var desc = !string.IsNullOrEmpty(p.Description) ? string.Format(CultureInfo.InvariantCulture, " # {0}", p.Description) : "";
378sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " Handle Types: {0}", capabilities.HandleTypes.Count));
379sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " DTO Types: {0}", capabilities.DtoTypes.Count));
380sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " Enum Types: {0}", capabilities.EnumTypes.Count));
381sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " Capabilities: {0}", capabilities.Capabilities.Count));
399sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " -> {0}", d.Location));
423var flagStr = flags.Count > 0 ? string.Format(CultureInfo.InvariantCulture, " ({0})", string.Join(", ", flags)) : "";
440sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " {0}", t.Name));
443sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " {0}", t.Description));
454sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " {0}", p.Description));
468sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " {0}", t.Name));
469sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " {0}", string.Join(" | ", t.Values)));
485sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " [{0}]", group.Key));
498sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " {0}", c.Description));
Interaction\ConsoleInteractionService.cs (5)
178throw new EmptyChoicesException(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NoItemsAvailableForSelection, promptText));
215throw new EmptyChoicesException(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NoItemsAvailableForSelection, promptText));
416_errorConsole.MarkupLine(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NewCliVersionAvailable, newerVersion.EscapeMarkup()));
420_errorConsole.MarkupLine(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.ToUpdateRunCommand, updateCommand.EscapeMarkup()));
423_errorConsole.MarkupLine(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.MoreInfoNewCliVersion, UpdateUrl));
Projects\ProjectLocator.cs (3)
135interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileUnsupportedInCurrentEnvironment, relativePath));
142interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFileMayBeUnbuildableAppHost, relativePath));
437interactionService.DisplayMessage(KnownEmojis.FileCabinet, string.Format(CultureInfo.CurrentCulture, message, $"[bold]'{relativeSettingsFilePath.EscapeMarkup()}'[/]"), allowMarkup: true);
Projects\ProjectUpdater.cs (17)
129interactionService.DisplaySubtleMessage(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.ExecutingUpdateStepFormat, updateStep.Description));
191throw new ProjectUpdaterException(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.FailedFetchItemsAndPropertiesFormat, projectFile.FullName));
234var appHostProjectAnalyzeStep = new AnalyzeStep(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.AnalyzeProjectFormat, context.AppHostProjectFile.FullName), () => AnalyzeProjectAsync(context.AppHostProjectFile, context, cancellationToken));
384interactionService.DisplaySubtleMessage(string.Format(CultureInfo.InvariantCulture,
399throw new ProjectUpdaterException(string.Format(CultureInfo.InvariantCulture,
414throw new ProjectUpdaterException(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.CouldNotFindRootProjectElementFormat, projectFile.FullName));
432throw new ProjectUpdaterException(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.CouldNotFindSdkElementFormat, projectFile.FullName));
583throw new ProjectUpdaterException(string.Format(CultureInfo.InvariantCulture,
639context.AnalyzeSteps.Enqueue(new AnalyzeStep(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.AnalyzeProjectFormat, referencedProjectFile.FullName), () => AnalyzeProjectAsync(referencedProjectFile, context, cancellationToken)));
795throw new ProjectUpdaterException(string.Format(CultureInfo.InvariantCulture,
1046interactionService.DisplayPlainText(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.AddedFeedFormat, feed.Value));
1053interactionService.DisplayPlainText(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.MappingAddedFormat, pattern));
1062interactionService.DisplayPlainText(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.RemovedFeedFormat, feed.Value));
1069interactionService.DisplayPlainText(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.RetainedFeedFormat, feed.Value));
1077interactionService.DisplayPlainText(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.MappingAddedFormat, pattern));
1083interactionService.DisplayPlainText(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.MappingRemovedFormat, pattern));
1097interactionService.DisplayPlainText(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.MappingRetainedFormat, pattern));
Templating\DotNetTemplateFactory.cs (4)
396interactionService.DisplayMessage(KnownEmojis.CheckMark, string.Format(CultureInfo.CurrentCulture, TemplatingStrings.PromptForTFM_UsingForTesting, testFramework));
550interactionService.DisplayMessage(KnownEmojis.Package, string.Format(CultureInfo.CurrentCulture, TemplatingStrings.UsingProjectTemplatesVersion, templateInstallResult.TemplateVersion));
596interactionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, TemplatingStrings.ProjectCreatedSuccessfully, outputPath));
607interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, TemplatingStrings.CertificateTrustError, ex.Message));
Utils\EnvironmentChecker\DevCertsCheck.cs (10)
20private static readonly string s_trustFixCommand = string.Format(CultureInfo.InvariantCulture, DoctorCommandStrings.DevCertsTrustFixFormat, "aspire certs trust");
102Message = string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsMultipleNoneTrustedMessageFormat, certInfos.Count),
103Details = string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsMultipleNoneTrustedDetailsFormat, certDetails),
116Message = string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsMultipleSomeUntrustedMessageFormat, certInfos.Count),
117Details = string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsMultipleSomeUntrustedDetailsFormat, certDetails),
146Details = string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsNotTrustedDetailsFormat, cert.Thumbprint ?? "unknown"),
162Details = string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsPartiallyTrustedDetailsFormat, devCertsTrustPath),
163Fix = string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsPartiallyTrustedFixFormat, BuildSslCertDirFixCommand(devCertsTrustPath)),
190Message = string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsOldVersionMessageFormat, versions),
191Details = string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsOldVersionDetailsFormat, CertificateManager.CurrentMinimumAspNetCoreCertificateVersion),
Aspire.Dashboard (4)
Aspire.Hosting (14)
Aspire.Hosting.Azure.Functions (2)
Aspire.Hosting.DevTunnels (2)
Aspire.Hosting.Testing (3)
Aspire.Hosting.Tests (2)
aspire-managed (3)
dotnet (10)
Commands\Test\MTP\Terminal\TerminalTestReporter.cs (6)
253terminal.Append(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Failed));
261terminal.Append(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Failed));
265terminal.Append(string.Format(CultureInfo.CurrentCulture, "{0}!", CliCommandStrings.Passed));
434(true, _) => string.Format(CultureInfo.CurrentCulture, CliCommandStrings.FailedWithErrors, state.FailedTests),
1019terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.DiscoveredTestsInAssembly, assembly.DiscoveredTestNames.Count));
1052terminal.AppendLine(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.TestDiscoverySummarySingular, totalTests));
dotnet-dev-certs (8)
src\aspnetcore\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\aspnetcore\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-Microsoft.XmlSerializer.Generator (1)
dotnet-openapi (6)
src\aspnetcore\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\aspnetcore\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)
353throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrInvalidOperationNoProjectFileFoundUnderFolderFormat, workingDirectory));
358var moreThanOneProjectMsg = string.Format(CultureInfo.CurrentCulture, SR.ErrMoreThanOneProjectFoundFormat, workingDirectory);
480throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrInvalidOperationNoProjectFileFoundUnderFolderFormat, Directory.GetCurrentDirectory()));
515throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrNoUpdateParamsFileFoundFormat, this.Project.FullPath));
545throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrNoUpdateParamsFileFoundFormat, this.Project.FullPath));
669throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrInvalidNamespaceFormat,
680this.Project.EndOfLifeTargetFrameworks?.ToList().ForEach(tfx => this.AddWarning(string.Format(CultureInfo.CurrentCulture, SR.WrnOutOfSupportTargetFrameworkFormat, tfx)));
686this.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)
src\aspnetcore\artifacts\obj\dotnet-user-jwts\Release\net11.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);
226=> string.Format(Culture, GetResourceString("RemoveCommand_Confirmed"), p0);
236=> string.Format(Culture, GetResourceString("RemoveCommand_NoJwtFound"), p0);
244=> string.Format(Culture, GetResourceString("RemoveCommand_AppsettingsFileNotFound_Error"), p0);
src\aspnetcore\artifacts\obj\dotnet-user-jwts\Release\net11.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_File_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\aspnetcore\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 (26)
src\aspnetcore\artifacts\obj\dotnet-user-secrets\Release\net11.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_File_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\aspnetcore\artifacts\obj\dotnet-user-secrets\Release\net11.0\Microsoft.Extensions.SecretManager.Tools.Resources.cs (12)
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_ProjectMissingId", new [] { "project" }), project);
68=> string.Format(Culture, GetResourceString("Error_ProjectFailedToLoad", new [] { "project" }), project);
74=> string.Format(Culture, GetResourceString("Message_Project_File_Path", new [] { "project" }), project);
80=> string.Format(Culture, GetResourceString("Message_Saved_Secret", new [] { "key" }), key);
86=> string.Format(Culture, GetResourceString("Message_Saved_Secrets", new [] { "number" }), number);
92=> string.Format(Culture, GetResourceString("Message_Secret_File_Path", new [] { "secretsFilePath" }), secretsFilePath);
104=> string.Format(Culture, GetResourceString("Error_InvalidSecretsId", new [] { "userSecretsId" }), userSecretsId);
110=> string.Format(Culture, GetResourceString("Message_ProjectAlreadyInitialized", new [] { "project" }), project);
src\aspnetcore\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)
src\aspnetcore\artifacts\obj\GetDocument.Insider\Release\net11.0\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\aspnetcore\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.Analyzers.Local (2)
Microsoft.Arcade.Common (2)
Microsoft.AspNetCore.Antiforgery (6)
Microsoft.AspNetCore.App.Analyzers (18)
src\aspnetcore\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.Authentication (1)
Microsoft.AspNetCore.Authentication.Facebook (1)
Microsoft.AspNetCore.Authentication.Google (1)
Microsoft.AspNetCore.Authentication.JwtBearer (1)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
Microsoft.AspNetCore.Authentication.OAuth (2)
Microsoft.AspNetCore.Authentication.OpenIdConnect (9)
OpenIdConnectHandler.cs (5)
1391throw new SecurityTokenException(string.Format(CultureInfo.InvariantCulture, Resources.UnableToValidateToken, idToken));
1414throw new SecurityTokenException(string.Format(CultureInfo.InvariantCulture, Resources.ValidatedSecurityTokenNotJwt, validatedToken?.GetType()));
1420throw new SecurityTokenException(string.Format(CultureInfo.InvariantCulture, Resources.UnableToValidateToken, idToken));
1469throw new SecurityTokenException(string.Format(CultureInfo.InvariantCulture, Resources.UnableToValidateTokenFromHandler, idToken));
1475throw 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)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Components\Release\net11.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 (7)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Components.Analyzers\Release\netstandard2.0\Microsoft.AspNetCore.Components.Analyzers.Resources.cs (7)
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);
108=> string.Format(Culture, GetResourceString("SupplyParameterFromFormShouldNotHavePropertyInitializer_Format"), p0);
118=> string.Format(Culture, GetResourceString("PersistentStateShouldNotHavePropertyInitializer_Format"), p0);
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.SdkAnalyzers (4)
Microsoft.AspNetCore.Components.Web (2)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.Cors (1)
Microsoft.AspNetCore.Cryptography.Internal (2)
Microsoft.AspNetCore.DataProtection (18)
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);
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.DataProtection\Release\net11.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);
Microsoft.AspNetCore.DataProtection.Abstractions (4)
Microsoft.AspNetCore.DataProtection.Extensions (1)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
Microsoft.AspNetCore.Diagnostics (5)
StatusCodePage\StatusCodePagesExtensions.cs (5)
86var body = string.Format(CultureInfo.InvariantCulture, bodyFormat, context.HttpContext.Response.StatusCode);
109var location = string.Format(CultureInfo.InvariantCulture, locationFormat, context.HttpContext.Response.StatusCode);
118var location = string.Format(CultureInfo.InvariantCulture, locationFormat, context.HttpContext.Response.StatusCode);
222string.Format(CultureInfo.InvariantCulture, pathFormat, originalStatusCode));
224string.Format(CultureInfo.InvariantCulture, queryFormat, originalStatusCode);
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Microsoft.AspNetCore.Grpc.Swagger (1)
Microsoft.AspNetCore.Hosting (3)
Microsoft.AspNetCore.Http.Abstractions (5)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Http.Abstractions\Release\net11.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 (4)
Microsoft.AspNetCore.Http.Extensions (4)
Microsoft.AspNetCore.Identity (3)
Microsoft.AspNetCore.Identity.EntityFrameworkCore (2)
Microsoft.AspNetCore.JsonPatch (15)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.JsonPatch\Release\net11.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)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.JsonPatch.SystemTextJson\Release\net11.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)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Mvc.Core\Release\net11.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.Cors (1)
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
Microsoft.AspNetCore.Mvc.Razor (6)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Mvc.Razor\Release\net11.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)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Mvc.ViewFeatures\Release\net11.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.OpenApi (3)
Microsoft.AspNetCore.Razor.Utilities.Shared (5)
Microsoft.AspNetCore.Rewrite (6)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Rewrite\Release\net11.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)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Routing\Release\net11.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 (9)
Microsoft.AspNetCore.Server.IIS (5)
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Microsoft.AspNetCore.Server.Kestrel.Core (65)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Server.Kestrel.Core\Release\net11.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);
70=> string.Format(Culture, GetResourceString("BadRequest_InvalidRequestHeader_Detail", new [] { "detail" }), detail);
78=> string.Format(Culture, GetResourceString("BadRequest_InvalidRequestLine_Detail", new [] { "detail" }), detail);
84=> string.Format(Culture, GetResourceString("BadRequest_InvalidRequestTarget_Detail", new [] { "detail" }), detail);
90=> string.Format(Culture, GetResourceString("BadRequest_LengthRequiredHttp10", new [] { "detail" }), detail);
116=> string.Format(Culture, GetResourceString("BadRequest_UnrecognizedHTTPVersion_Detail", new [] { "detail" }), detail);
122=> string.Format(Culture, GetResourceString("FallbackToIPv4Any", new [] { "port" }), port);
146=> string.Format(Culture, GetResourceString("UnknownTransportMode", new [] { "mode" }), mode);
152=> string.Format(Culture, GetResourceString("InvalidAsciiOrControlChar", new [] { "character" }), character);
158=> string.Format(Culture, GetResourceString("InvalidContentLength_InvalidNumber", new [] { "value" }), value);
174=> string.Format(Culture, GetResourceString("AddressBindingFailed", new [] { "address" }), address);
180=> string.Format(Culture, GetResourceString("BindingToDefaultAddress", new [] { "address" }), address);
186=> string.Format(Culture, GetResourceString("ConfigurePathBaseFromMethodCall", new [] { "methodName" }), methodName);
194=> string.Format(Culture, GetResourceString("EndpointAlreadyInUse", new [] { "endpoint" }), endpoint);
206=> string.Format(Culture, GetResourceString("OverridingWithKestrelOptions", new [] { "addresses" }), addresses);
218=> string.Format(Culture, GetResourceString("UnsupportedAddressScheme", new [] { "address" }), address);
234=> string.Format(Culture, GetResourceString("ParameterReadOnlyAfterResponseStarted", new [] { "name" }), name);
254=> string.Format(Culture, GetResourceString("WritingToResponseBodyNotSupported", new [] { "statusCode" }), statusCode);
270=> string.Format(Culture, GetResourceString("BadRequest_RequestBodyTooLarge", new [] { "maxRequestBodySize" }), maxRequestBodySize);
282=> string.Format(Culture, GetResourceString("MinimumGracePeriodRequired", new [] { "heartbeatInterval" }), heartbeatInterval);
316=> string.Format(Culture, GetResourceString("Http2ErrorStreamIdZero", new [] { "frameType" }), frameType);
322=> string.Format(Culture, GetResourceString("Http2ErrorStreamIdNotZero", new [] { "frameType" }), frameType);
328=> string.Format(Culture, GetResourceString("Http2ErrorPaddingTooLong", new [] { "frameType" }), frameType);
362=> string.Format(Culture, GetResourceString("Http2ErrorSettingsParameterOutOfRange", new [] { "parameter" }), parameter);
398=> string.Format(Culture, GetResourceString("InvalidServerCertificateEku", new [] { "thumbprint" }), thumbprint);
412=> string.Format(Culture, GetResourceString("EndpointMissingUrl", new [] { "endpointName" }), endpointName);
421=> string.Format(Culture, GetResourceString("MultipleCertificateSources", new [] { "endpointName" }), endpointName);
445=> string.Format(Culture, GetResourceString("Http2ErrorMinTlsVersion", new [] { "protocol" }), protocol);
471=> string.Format(Culture, GetResourceString("Http2ErrorMethodInvalid", new [] { "method" }), method);
477=> string.Format(Culture, GetResourceString("Http2StreamErrorPathInvalid", new [] { "path" }), path);
505=> string.Format(Culture, GetResourceString("Http3ErrorMethodInvalid", new [] { "method" }), method);
511=> string.Format(Culture, GetResourceString("Http3StreamErrorPathInvalid", new [] { "path" }), path);
543=> string.Format(Culture, GetResourceString("Http2StreamResetByApplication", new [] { "errorCode" }), errorCode);
555=> string.Format(Culture, GetResourceString("QPackErrorIndexOutOfRange", new [] { "index" }), index);
581=> string.Format(Culture, GetResourceString("ArgumentTimeSpanGreaterOrEqual", new [] { "value" }), value);
589=> string.Format(Culture, GetResourceString("UnrecognizedCertificateKeyOid"), p0);
601=> string.Format(Culture, GetResourceString("SniNotConfiguredToAllowNoServerName", new [] { "endpointName" }), endpointName);
607=> string.Format(Culture, GetResourceString("SniNameCannotBeEmpty", new [] { "endpointName" }), endpointName);
623=> string.Format(Culture, GetResourceString("Http3StreamResetByApplication", new [] { "errorCode" }), errorCode);
633=> string.Format(Culture, GetResourceString("Http3StreamErrorFrameReceivedAfterTrailers", new [] { "frameType" }), frameType);
639=> string.Format(Culture, GetResourceString("Http3ErrorUnsupportedFrameOnRequestStream", new [] { "frameType" }), frameType);
645=> string.Format(Culture, GetResourceString("Http3ErrorUnsupportedFrameOnServer", new [] { "frameType" }), frameType);
651=> string.Format(Culture, GetResourceString("Http3ErrorUnsupportedFrameOnControlStream", new [] { "frameType" }), frameType);
659=> string.Format(Culture, GetResourceString("Http3ErrorControlStreamFrameReceivedBeforeSettings", new [] { "frameType" }), frameType);
665=> string.Format(Culture, GetResourceString("Http3ErrorControlStreamReservedSetting", new [] { "identifier" }), identifier);
671=> string.Format(Culture, GetResourceString("Http3ControlStreamErrorMultipleInboundStreams", new [] { "streamType" }), streamType);
683=> string.Format(Culture, GetResourceString("Http3ControlStreamErrorUnsupportedType", new [] { "type" }), type);
721=> string.Format(Culture, GetResourceString("UnidentifiedStream", new [] { "stream" }), stream);
729=> string.Format(Culture, GetResourceString("FailedToNegotiateCommonWebTransportVersion", new [] { "currentSuppportedVersion" }), currentSuppportedVersion);
743=> string.Format(Culture, GetResourceString("ConnectResponseCanNotHaveBody", new [] { "StatusCode" }), StatusCode);
749=> string.Format(Culture, GetResourceString("FailedToBindToIPv6Any", new [] { "port" }), port);
763=> string.Format(Culture, GetResourceString("Http3ControlStreamFrameTooLarge", new [] { "frameType" }), frameType);
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Server.Kestrel.Core\Release\net11.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.WebUtilities (7)
Microsoft.Build (13)
Microsoft.Build.Framework (9)
src\msbuild\artifacts\obj\Microsoft.Build.Framework\Release\net11.0\Microsoft.Build.Framework.Resources.SR.cs (9)
102=> string.Format(Culture, GetResourceString("FailedCreatingTempFile"), p0);
108=> string.Format(Culture, GetResourceString("InvalidGetPathOfFileAboveParameter"), p0);
120=> string.Format(Culture, GetResourceString("DebugPathTooLong"), p0);
134=> string.Format(Culture, GetResourceString("CannotConvertStringToBool"), p0);
152=> string.Format(Culture, GetResourceString("UnsupportedFrameworkVersionForWindowsSdk"), p0);
158=> string.Format(Culture, GetResourceString("UnsupportedVisualStudioVersion"), p0);
164=> string.Format(Culture, GetResourceString("UnsupportedFrameworkVersion"), p0);
176=> string.Format(Culture, GetResourceString("_0_does_not_contain_matching_element"), p0);
182=> string.Format(Culture, GetResourceString("_0_contains_no_elements"), p0);
Microsoft.Build.NuGetSdkResolver (2)
Microsoft.Build.Tasks.Core (13)
BootstrapperUtil\BootstrapperBuilder.cs (5)
563XmlNode stringNode = stringsNode?.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, "String[@Name='{0}']", cultureAttribute.Value));
671foreach (XmlNode relatedProductNode in eitherProductNode.SelectNodes(String.Format(CultureInfo.InvariantCulture, "{0}:DependsOnProduct", BOOTSTRAPPER_PREFIX), _xmlNamespaceManager))
1350XmlNode stringNode = stringsNode.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, stringNodeLookupTemplate, attribute.Value), _xmlNamespaceManager);
1535string configFileKey = string.Format(CultureInfo.InvariantCulture, "EULA{0}", eulas.Count);
1650XmlNode stringNode = stringsNode.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, stringNodeLookupTemplate, attribute.Value), _xmlNamespaceManager);
Microsoft.Build.Utilities.Core (1)
Microsoft.CodeAnalysis (2)
Microsoft.CodeAnalysis.Analyzers (2)
Microsoft.CodeAnalysis.CSharp (8)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.Razor.Compiler (68)
src\roslyn\artifacts\obj\Microsoft.CodeAnalysis.Razor.Compiler\Release\net11.0\Microsoft.AspNetCore.Mvc.Razor.Extensions.RazorExtensionsResources.cs (5)
52=> string.Format(Culture, GetResourceString("MvcRazorCodeParser_CannotHaveModelAndInheritsKeyword"), p0);
58=> string.Format(Culture, GetResourceString("MvcRazorCodeParser_InjectDirectivePropertyNameRequired"), p0);
64=> string.Format(Culture, GetResourceString("MvcRazorCodeParser_KeywordMustBeFollowedByTypeName"), p0);
70=> string.Format(Culture, GetResourceString("MvcRazorCodeParser_OnlyOneModelStatementIsAllowed"), p0);
88=> string.Format(Culture, GetResourceString("PageDirectiveMustExistAtTheTopOfFile"), p0);
src\roslyn\artifacts\obj\Microsoft.CodeAnalysis.Razor.Compiler\Release\net11.0\Microsoft.AspNetCore.Razor.Language.ComponentResources.cs (6)
56=> string.Format(Culture, GetResourceString("BindTagHelper_Element_Event_Documentation"), p0);
62=> string.Format(Culture, GetResourceString("BindTagHelper_Element_Format_Documentation"), p0);
74=> string.Format(Culture, GetResourceString("BindTagHelper_Fallback_Event_Documentation"), p0);
82=> string.Format(Culture, GetResourceString("ChildContentParameterName_Documentation"), p0);
102=> string.Format(Culture, GetResourceString("EventHandlerTagHelper_PreventDefault_Documentation"), p0);
108=> string.Format(Culture, GetResourceString("EventHandlerTagHelper_StopPropagation_Documentation"), p0);
src\roslyn\artifacts\obj\Microsoft.CodeAnalysis.Razor.Compiler\Release\net11.0\Microsoft.AspNetCore.Razor.Language.Resources.cs (40)
44=> string.Format(Culture, GetResourceString("BlockDirectiveCannotBeImported"), p0);
54=> string.Format(Culture, GetResourceString("CodeWriter_InvalidNewLine"), p0);
84=> string.Format(Culture, GetResourceString("DirectiveDescriptor_InvalidDirectiveKeyword"), p0);
92=> string.Format(Culture, GetResourceString("DirectiveExpectsIdentifier"), p0);
98=> string.Format(Culture, GetResourceString("DirectiveExpectsNamespace"), p0);
104=> string.Format(Culture, GetResourceString("DirectiveExpectsQuotedStringLiteral"), p0);
110=> string.Format(Culture, GetResourceString("DirectiveExpectsTypeName"), p0);
116=> string.Format(Culture, GetResourceString("DirectiveMustAppearAtStartOfLine"), p0);
122=> string.Format(Culture, GetResourceString("DirectiveTokensMustBeSeparatedByWhitespace"), p0);
134=> string.Format(Culture, GetResourceString("DuplicateDirective"), p0);
170=> string.Format(Culture, GetResourceString("IntermediateNodeBuilder_PopInvalid"), p0);
176=> string.Format(Culture, GetResourceString("IntermediateNodeReference_CollectionIsReadOnly"), p0);
202=> string.Format(Culture, GetResourceString("InvalidTagHelperLookupText"), p0);
232=> string.Format(Culture, GetResourceString("ParseError_DirectiveMustHaveValue"), p0);
250=> string.Format(Culture, GetResourceString("ParseError_HelperDirectiveNotAvailable"), p0);
256=> string.Format(Culture, GetResourceString("ParseError_IncompleteQuotesAroundDirective"), p0);
266=> string.Format(Culture, GetResourceString("ParseError_MissingEndTag"), p0);
282=> string.Format(Culture, GetResourceString("ParseError_ReservedWord"), p0);
288=> string.Format(Culture, GetResourceString("ParseError_Sections_Cannot_Be_Nested"), p0);
298=> string.Format(Culture, GetResourceString("ParseError_Unexpected_Character_At_Start_Of_CodeBlock"), p0);
310=> string.Format(Culture, GetResourceString("ParseError_UnexpectedEndTag"), p0);
316=> string.Format(Culture, GetResourceString("ParseError_UnfinishedTag"), p0);
408=> string.Format(Culture, GetResourceString("TagHelper_InvalidRestrictedChildNullOrWhitespace"), p0);
478=> string.Format(Culture, GetResourceString("TagHelpers_AttributesMustHaveAName"), p0);
484=> string.Format(Culture, GetResourceString("TagHelpers_CannotHaveCSharpInTagDeclaration"), p0);
495=> string.Format(Culture, GetResourceString("TagHelpers_InlineMarkupBlocks_NotSupported_InAttributes"), p0);
501=> string.Format(Culture, GetResourceString("TagHelpersParseTreeRewriter_FoundMalformedTagHelper"), p0);
507=> string.Format(Culture, GetResourceString("TagHelpersParseTreeRewriter_VoidElement"), p0);
513=> string.Format(Culture, GetResourceString("TagHelpersParseTreeRewriter_MissingCloseAngle"), p0);
519=> string.Format(Culture, GetResourceString("UnexpectedDirectiveKind"), p0);
555=> string.Format(Culture, GetResourceString("RazorLanguageVersion_InvalidVersion"), p0);
567=> string.Format(Culture, GetResourceString("VirtualFileSystem_InvalidRelativePath"), p0);
587=> string.Format(Culture, GetResourceString("TagHelper_InvalidBoundAttributeParameterNullOrWhitespace"), p0);
593=> string.Format(Culture, GetResourceString("DirectiveExpectsCSharpAttribute"), p0);
617=> string.Format(Culture, GetResourceString("DirectiveExpectsBooleanLiteral"), p0);
643=> string.Format(Culture, GetResourceString("An_item_with_the_same_key_has_already_been_added_Key_0"), p0);
649=> string.Format(Culture, GetResourceString("The_given_key_0_was_not_present"), p0);
655=> string.Format(Culture, GetResourceString("Unknown_documentation_id_0"), p0);
661=> string.Format(Culture, GetResourceString("A_documentation_object_can_only_be_a_0_instance_string_or_null"), p0);
679=> string.Format(Culture, GetResourceString("DirectiveExpectsIdentifierOrExpression"), p0);
src\roslyn\artifacts\obj\Microsoft.CodeAnalysis.Razor.Compiler\Release\net11.0\Microsoft.NET.Sdk.Razor.SourceGenerators.Diagnostics.RazorSourceGeneratorResources.cs (6)
44=> string.Format(Culture, GetResourceString("InvalidRazorWarningLevelMessage"), p0);
60=> string.Format(Culture, GetResourceString("TargetPathNotProvidedMessage"), p0);
68=> string.Format(Culture, GetResourceString("GeneratedOutputFullPathNotProvidedMessage"), p0);
80=> string.Format(Culture, GetResourceString("SkippingGeneratedFileWriteMessage"), p0);
88=> string.Format(Culture, GetResourceString("SourceTextNotFoundMessage"), p0);
96=> string.Format(Culture, GetResourceString("UnexpectedProjectItemReadCallMessage"), p0);
Microsoft.CodeAnalysis.VisualBasic.Features (4)
Microsoft.CSharp (1)
Microsoft.Data.Analysis (2)
Microsoft.Data.Analysis.Tests (2)
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
Microsoft.Extensions.AI.Evaluation.Reporting (5)
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (7)
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.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.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)
src\aspnetcore\artifacts\obj\Microsoft.Extensions.Identity.Core\Release\net11.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);
156=> string.Format(Culture, GetResourceString("UserAlreadyInRole"), p0);
166=> string.Format(Culture, GetResourceString("UserNameNotFound"), p0);
172=> string.Format(Culture, GetResourceString("UserNotInRole"), p0);
180=> string.Format(Culture, GetResourceString("PasswordRequiresUniqueChars"), p0);
Microsoft.Extensions.Localization (2)
Microsoft.Extensions.Logging (1)
Microsoft.Extensions.Logging.Abstractions (5)
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.Validation.Localization (1)
Microsoft.Gen.ComplianceReports (1)
Microsoft.Gen.MetadataExtractor (3)
Microsoft.Gen.Metrics (3)
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.Build.Tasks (3)
Microsoft.Net.Http.Headers (5)
Microsoft.NET.Sdk.Publish.Tasks (16)
MsDeploy\CommonUtility.cs (6)
703strSucceedFailMsg = string.Format(CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_SucceedArchiveDir, string.IsNullOrEmpty(dirUri) ? destRoot : dirUri);
779strSucceedFailMsg = string.Format(CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_SucceedArchiveDir, string.IsNullOrEmpty(dirUri) ? destRoot : dirUri);
876log.LogWarning(string.Format(CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_UnknownSkipDirective, name));
1389log.LogMessage(Framework.MessageImportance.Normal, string.Format(CultureInfo.CurrentCulture, Resources.BUILDTASK_RemoveEmptyDirectories_Deleting, dirinfo.FullName));
1672Log.LogError(string.Format(CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_FailedWithException, strBuilder.ToString()));
1847throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_MSDEPLOYASSEMBLYLOAD_FAIL, task.ToString()));
Tasks\Xdt\TransformXml.cs (6)
116logger?.StartSection(string.Format(System.Globalization.CultureInfo.CurrentCulture, Resources.BUILDTASK_TransformXml_TransformationStart, Source));
119logger?.LogMessage(string.Format(System.Globalization.CultureInfo.CurrentCulture, Resources.BUILDTASK_TransformXml_TransformationApply, Transform));
126logger?.LogMessage(string.Format(System.Globalization.CultureInfo.CurrentCulture, Resources.BUILDTASK_TransformXml_TransformOutput, Destination));
194string.Format(System.Globalization.CultureInfo.CurrentCulture, Resources.BUILDTASK_TransformXml_DestinationWriteFailed, ex.Message),
218string.Format(System.Globalization.CultureInfo.CurrentCulture, Resources.BUILDTASK_TransformXml_SourceLoadFailed, ex.Message),
236string.Format(System.Globalization.CultureInfo.CurrentCulture, Resources.BUILDTASK_TransformXml_TransformLoadFailed, ex.Message),
Microsoft.Private.Windows.Core (1)
Microsoft.TestPlatform.AdapterUtilities (9)
Microsoft.TestPlatform.CommunicationUtilities (3)
Microsoft.TestPlatform.CoreUtilities (9)
Microsoft.TestPlatform.CrossPlatEngine (20)
Microsoft.TestPlatform.Extensions.BlameDataCollector (6)
Microsoft.TestPlatform.Filter.Source (13)
Microsoft.TestPlatform.TestHostRuntimeProvider (1)
Microsoft.TestPlatform.Utilities (3)
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (4)
Microsoft.VisualBasic.Core (4)
Microsoft.VisualStudio.TestPlatform.Client (1)
Microsoft.VisualStudio.TestPlatform.Common (25)
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (1)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (4)
Microsoft.VisualStudio.TestPlatform.ObjectModel (21)
Microsoft.Web.XmlTransform (16)
Microsoft.Win32.Registry (1)
Microsoft.Win32.Registry.AccessControl (1)
Microsoft.Win32.SystemEvents (1)
MSBuild (2)
NuGet.Build.Tasks (2)
NuGet.Build.Tasks.Console (3)
NuGet.Build.Tasks.Pack (16)
PackTaskLogic.cs (13)
58throw new PackagingException(NuGetLogCode.NU5022, string.Format(
116throw new PackagingException(NuGetLogCode.NU5023, string.Format(
145throw new PackagingException(NuGetLogCode.NU5024, string.Format(
200throw new PackagingException(NuGetLogCode.NU5022, string.Format(
216throw new PackagingException(NuGetLogCode.NU5025, string.Format(
267throw new PackagingException(NuGetLogCode.NU5033, string.Format(
331throw new PackagingException(NuGetLogCode.NU5034, string.Format(
353throw new InvalidOperationException(string.Format(
469string.Format(
535throw new PackagingException(NuGetLogCode.NU5026, string.Format(CultureInfo.CurrentCulture, Strings.Error_FileNotFound, finalOutputPath));
556string.Format(CultureInfo.CurrentCulture, Strings.AmbigiousPackageAssemblies, targetPath)));
563throw new PackagingException(NuGetLogCode.NU5027, string.Format(CultureInfo.CurrentCulture, Strings.InvalidTargetFramework, finalOutputPath));
893string.Format(CultureInfo.CurrentCulture, Strings.AmbigiousPackageDependencies, string.Join(", ", unsuppressedAliases))));
NuGet.CommandLine.XPlat (65)
ListPackage\ListPackageConsoleRenderer.cs (9)
106consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_NoPackagesFoundForFrameworks, project.ProjectName));
119consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_NoUpdatesForProject, project.ProjectName));
122consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_NoDeprecatedPackagesForProject, project.ProjectName));
125consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_NoVulnerablePackagesForProject, project.ProjectName));
153consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, " [{0}]: " + Strings.ListPkg_NoUpdatesForFramework, frameworkHeader));
156consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, " [{0}]: " + Strings.ListPkg_NoDeprecationsForFramework, frameworkHeader));
159consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, " [{0}]: " + Strings.ListPkg_NoVulnerabilitiesForFramework, frameworkHeader));
162consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, " [{0}]: " + Strings.ListPkg_NoPackagesForFramework, frameworkHeader));
172consoleOut.WriteLine(string.Format(CultureInfo.CurrentCulture, " [{0}]: ", frameworkHeader));
Messages.cs (6)
15return string.Format(CultureInfo.CurrentCulture, Strings.Error_NoVersionsAvailable, packageId);
21return string.Format(CultureInfo.CurrentCulture, Strings.Error_CouldNotFindPackageVersionForCpmPackage, packageId);
45return string.Format(CultureInfo.CurrentCulture, Strings.Error_MissingVersion, packageId);
51return string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidVersionRange, input);
57return string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidVersion, input);
63return string.Format(CultureInfo.CurrentCulture, Strings.Error_PackageSourceMappingNotFound, packageId);
Utility\MSBuildAPIUtility.cs (12)
66throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_MsBuildUnableToOpenProject, projectCSProjPath));
81throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_MsBuildUnableToOpenProject, projectCSProjPath));
146string.Format(
215packageReferenceArgs.Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_CentralPackageVersions_VersionOverrideDisabled, string.Join(";", dependenciesWithVersionOverride.Select(d => d.Name))));
224packageReferenceArgs.Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_CentralPackageVersions_VersionsNotAllowed, string.Join(";", dependenciesWithDefinedVersion.Select(d => d.Name))));
230packageReferenceArgs.Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_CentralPackageVersions_AutoreferencedReferencesNotAllowed, string.Join(";", autoReferencedAndDefinedInCentralFile.Select(d => d.Name))));
236packageReferenceArgs.Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_CentralPackageVersions_MissingPackageVersion, string.Join(";", packageReferencedDependenciesWithoutCentralVersionDefined.Select(d => d.Name))));
254packageReferenceArgs.Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_AddPkg_CentralPackageVersions_PackageVersion_WrongLocation, packageReferenceArgs.PackageId));
262packageReferenceArgs.Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_AddPkg_CentralPackageVersions_PackageReference_WrongLocation, packageReferenceArgs.PackageId));
797throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_ErrorReadingAssetsFile, assetsFile.Path));
830throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_ErrorReadingReferenceFromProject, project.FullPath));
1084return string.Format(CultureInfo.CurrentCulture, "'$(TargetFramework)' == '{0}'", targetFramework);
NuGet.Commands (161)
CommandRunners\LocalsCommandRunner.cs (5)
180localsArgs.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.LocalsCommand_ClearingNuGetPluginsCache, pluginsCacheFolder));
195localsArgs.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.LocalsCommand_ClearingNuGetGlobalPackagesFolder, globalPackagesFolderPath));
212localsArgs.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.LocalsCommand_ClearingNuGetHttpCache,
231localsArgs.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.LocalsCommand_ClearingNuGetTempCache,
289localsArgs.LogError(string.Format(CultureInfo.CurrentCulture, Strings.LocalsCommand_FailedToDeletePath, failedDelete));
CommandRunners\PackCommandRunner.cs (9)
176string.Format(CultureInfo.CurrentCulture, Strings.Log_PackageCommandSuccess, outputPath),
209string.Format(
506string.Format(CultureInfo.CurrentCulture, Strings.Warning_DuplicatePropertyKey, property.Key),
528throw new PackagingException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PackFailed, path));
605string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidTargetFramework, reference.AssemblyName));
672string.Format(
982string.Format(CultureInfo.CurrentCulture, message, arg?.ToString()),
1009string.Format(
1039string.Format(
RestoreCommand\ProjectRestoreCommand.cs (5)
67_logger.LogVerbose(string.Format(CultureInfo.CurrentCulture, Strings.Log_RestoringPackages, pair.Key.DotNetFrameworkName));
210string.Format(CultureInfo.CurrentCulture,
296await _logger.LogAsync(LogLevel.Verbose, string.Format(CultureInfo.CurrentCulture, Strings.Log_ResolvingConflicts, name));
468_logger.LogVerbose(string.Format(CultureInfo.CurrentCulture, Strings.Log_RestoringPackages, FrameworkRuntimePair.GetTargetGraphName(graph.Framework, runtimeName)));
511logger.LogVerbose(string.Format(CultureInfo.CurrentCulture, Strings.Log_MergingRuntimes, match.Library));
RestoreCommand\RestoreCommand.cs (18)
482_logger.LogVerbose(string.Format(CultureInfo.CurrentCulture, Strings.Log_RestoreNoOpFinish, _request.Project.Name));
512_logger.LogVerbose(string.Format(CultureInfo.CurrentCulture, Strings.Log_RestoreNoOpDGChanged, _request.Project.Name));
704_logger.LogVerbose(string.Format(CultureInfo.CurrentCulture, Strings.Log_SkippingPackagesLockFileGeneration, packagesLockFilePath));
863string.Format(CultureInfo.CurrentCulture, Strings.Error_PlatformVersionNotPresent, string.Join(", ", badPlatforms))
1014string.Format(CultureInfo.CurrentCulture, Strings.Error_RestorePruningDirectPackageReference, prunedPackage.Key),
1106var diagnostic = RestoreLogMessage.CreateError(NuGetLogCode.NU1015, string.Format(CultureInfo.InvariantCulture, Strings.Error_PackageReference_NoVersion, string.Join(", ", packagesList)));
1205string.Format(
1218string.Format(
1231string.Format(
1244string.Format(
1259string.Format(
1350errorMessageBuilder.AppendLine(string.Format(CultureInfo.CurrentCulture, Strings.Error_PackageValidationFailed, package.ToString()));
1390var message = string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidLockFileInput, packagesLockFilePath);
1793await logger.LogAsync(LogLevel.Verbose, string.Format(CultureInfo.CurrentCulture, Strings.Log_PackagesAndProjectsAreCompatible, graph.TargetGraphName));
1842_logger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.Log_RestoringPackages, _request.Project.FilePath));
1943var message = string.Format(CultureInfo.CurrentCulture, Strings.Log_UnknownCompatibilityProfile, profile.Key);
2042_logger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.Log_RestoringPackages, _request.Project.FilePath));
2107var message = string.Format(CultureInfo.CurrentCulture, Strings.Log_UnknownCompatibilityProfile, profile.Key);
SourcesCommands\SourceRunners.cs (9)
95getLogger().LogMinimal(string.Format(CultureInfo.CurrentCulture,
197throw new CommandException(string.Format(CultureInfo.CurrentCulture, Strings.Source_InvalidFormatValue, args.Format));
221string.Format(CultureInfo.CurrentCulture,
228string.Format(CultureInfo.CurrentCulture,
251getLogger().LogMinimal(string.Format(CultureInfo.CurrentCulture,
301getLogger().LogMinimal(string.Format(CultureInfo.CurrentCulture,
321getLogger().LogMinimal(string.Format(CultureInfo.CurrentCulture,
380getLogger().LogMinimal(string.Format(CultureInfo.CurrentCulture,
389getLogger().LogMinimal(string.Format(CultureInfo.CurrentCulture,
TrustedSignersCommand\TrustedSignerActionsProvider.cs (12)
63await _logger.LogAsync(LogLevel.Minimal, string.Format(CultureInfo.CurrentCulture, Strings.SuccessfullySynchronizedTrustedRepository, name));
69throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_TrustedRepositoryDoesNotExist, name));
95throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_UnsupportedTrustTarget, trustTarget.ToString()));
139await _logger.LogAsync(LogLevel.Minimal, string.Format(CultureInfo.CurrentCulture, Strings.SuccessfullyAddedTrustedRepository, name));
152await _logger.LogAsync(LogLevel.Minimal, string.Format(CultureInfo.CurrentCulture, Strings.SuccessfullyAddedTrustedAuthor, name));
179throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.UnsupportedHashAlgorithm, hashAlgorithm.ToString()));
210_logger.Log(LogLevel.Minimal, string.Format(CultureInfo.CurrentCulture, logMessage, name));
239await _logger.LogAsync(LogLevel.Minimal, string.Format(CultureInfo.CurrentCulture, Strings.SuccessfullyAddedTrustedRepository, name));
249throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_TrustedSignerAlreadyExists, name));
254throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_TrustedRepoAlreadyExists, serviceIndex));
284throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidCertificateInformationFromServer, serviceIndex));
289throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_EmptyCertificateListInRepository, serviceIndex));
TrustedSignersCommand\TrustedSignersCommandRunner.cs (16)
64throw new CommandLineArgumentCombinationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_CouldNotAdd, Strings.Error_InvalidCombinationOfArguments));
69throw new CommandLineArgumentCombinationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_NoSignatureTrustedForPackage, trustedSignersArgs.PackagePath));
98throw new ArgumentException(string.Format(CultureInfo.CurrentCulture,
124throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_CouldNotAdd, Strings.Error_InvalidCombinationOfArguments));
158throw new CommandLineArgumentCombinationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_CouldNotAdd, Strings.Error_InvalidCombinationOfArguments));
169throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_UnavailableSource, trustedSignersArgs.Name));
229trustedSignerBuilder.AppendLine(defaultIndentation + string.Format(CultureInfo.CurrentCulture, Strings.TrustedSignerLogServiceIndex, repoItem.ServiceIndex));
233trustedSignerBuilder.AppendLine(defaultIndentation + string.Format(CultureInfo.CurrentCulture, Strings.TrustedSignerLogOwners, string.Join("; ", repoItem.Owners)));
258await logger.LogAsync(LogLevel.Minimal, string.Format(CultureInfo.CurrentCulture, Strings.NoTrustedSignersMatching, name));
264await logger.LogAsync(LogLevel.Minimal, string.Format(CultureInfo.CurrentCulture, Strings.SuccessfullyRemovedTrustedSigner, name));
283throw new CommandLineArgumentCombinationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_CouldNotList, Strings.Error_InvalidCombinationOfArguments));
304throw new CommandLineArgumentCombinationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_CouldNotRemove, Strings.Error_InvalidCombinationOfArguments));
325throw new CommandLineArgumentCombinationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_CouldNotSync, Strings.Error_InvalidCombinationOfArguments));
333throw new CommandLineArgumentCombinationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PropertyCannotBeNullOrEmpty, nameof(name)));
348throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_NotSupportedHashAlgorithm, algorithm));
359throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_ServiceIndexShouldBeHttps, serviceIndex));
NuGet.Common (11)
CryptoHashUtility.cs (5)
204string.Format(CultureInfo.CurrentCulture, Strings.UnsupportedHashAlgorithmName, hashAlgorithmName),
253string.Format(CultureInfo.CurrentCulture, Strings.UnsupportedHashAlgorithmName, hashAlgorithmName),
274string.Format(CultureInfo.CurrentCulture, Strings.UnsupportedHashAlgorithmName, hashAlgorithmName),
307string.Format(CultureInfo.CurrentCulture, Strings.UnsupportedHashAlgorithmName, oid),
328string.Format(CultureInfo.CurrentCulture, Strings.UnsupportedSignatureAlgorithmName, signatureAlgorithmName),
NuGet.Configuration (18)
NuGet.Credentials (2)
NuGet.DependencyResolver.Core (1)
NuGet.Frameworks (12)
NuGet.LibraryModel (1)
NuGet.PackageManagement (32)
NuGetPackageManager.cs (17)
335throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.NoLatestVersionFound, packageId));
544throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.UnknownPackage, packageId));
552throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.NewerVersionAlreadyReferenced, packageId));
919throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.UnknownPackage, packageId));
925throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture,
1480throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.PackageNotFound, newPackageToInstall));
1521message: string.Format(CultureInfo.CurrentCulture, Strings.PackageNotFound, id),
1530message: string.Format(CultureInfo.CurrentCulture, Strings.PackageNotFound, id),
1776message: string.Format(CultureInfo.CurrentCulture, Strings.PropertyCannotBeNull, nameof(packageIdentity.Version)),
1878throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.UnableToGatherDependencyInfo, packageIdentity));
1996throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.PackageNotFound, packageIdentity));
2015throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.PackageCouldNotBeInstalled, packageIdentity), ex);
2163message: string.Format(CultureInfo.CurrentCulture, Strings.PropertyCannotBeNull, nameof(project)),
2196message: string.Format(CultureInfo.CurrentCulture, Strings.PropertyCannotBeNull, nameof(project)),
2714var errorMessage = string.Format(CultureInfo.CurrentCulture,
3488var message = string.Format(
3625nuGetProjectContext.Log(MessageLevel.Info, string.Format(CultureInfo.CurrentCulture, Strings.RestoringPackage, packageIdentity));
Utility\PackagesConfigLockFileUtility.cs (5)
43var message = string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidLockFileInput, lockFileName);
102var message = string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidLockFileInput, lockFilePath);
139var message = string.Format(CultureInfo.CurrentCulture, Strings.Error_PackageValidationFailed, difference.Key.Id + "." + difference.Key.ResolvedVersion);
293throw new FileNotFoundException(string.Format(CultureInfo.CurrentCulture, Strings.Error_FileDoesNotExist, pcFile), pcFile);
305throw new DirectoryNotFoundException(string.Format(CultureInfo.CurrentCulture, Strings.Error_DirectoryDoesNotExist, packagesFolderPath));
NuGet.Packaging (164)
Licenses\NuGetLicense.cs (6)
56throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_DeprecatedIdentifier, licenseIdentifier));
68throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_DeprecatedIdentifier, licenseIdentifier));
78string.Format(CultureInfo.CurrentCulture, Strings.ArgumentCannotBeNullOrEmpty, nameof(licenseIdentifier)));
109throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_UnexpectedIdentifier, licenseIdentifier));
118throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_LicenseInvalidCharacters, licenseIdentifier));
121throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_LicenseIdentifierIsException, licenseIdentifier));
Licenses\NuGetLicenseExpressionParser.cs (5)
50throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value));
59throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value));
67throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value));
92throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidToken, token.Value));
159throw new NuGetLicenseExpressionParsingException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicenseExpression_InvalidCharacters, expression));
PackageCreation\Authoring\ManifestMetadata.cs (8)
303yield return String.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_RequiredMetadataMissing, "Id");
313yield return String.Format(CultureInfo.CurrentCulture, NuGetResources.InvalidPackageId, Id);
319yield return String.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_RequiredMetadataMissing, "Version");
324yield return String.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_RequiredMetadataMissing, "Authors");
329yield return String.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_RequiredMetadataMissing, "Description");
334yield return String.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_UriCannotBeEmpty, "LicenseUrl");
339yield return String.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_UriCannotBeEmpty, "IconUrl");
344yield return String.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_UriCannotBeEmpty, "ProjectUrl");
PackageCreation\Authoring\ManifestReader.cs (6)
30string.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_RequiredElementMissing, "metadata"));
63string.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_RequiredElementMissing, requiredElement));
189throw new InvalidDataException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicense_InvalidLicenseType, type));
206throw new PackagingException(NuGetLogCode.NU5034, string.Format(
240throw new InvalidDataException(string.Format(CultureInfo.CurrentCulture, Strings.NuGetLicense_InvalidLicenseType, type));
369throw new InvalidDataException(string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidTargetFramework, targetFrameworkName));
PackageCreation\Authoring\PackageBuilder.cs (17)
92string.Format(CultureInfo.CurrentCulture, Strings.ErrorManifestFileNotFound, path ?? "null"));
181string.Format(CultureInfo.CurrentCulture, Strings.ErrorInvalidTimestamp, value));
507throw new PackagingException(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromDependencyGroups, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str))));
530throw new PackagingException(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromReferenceGroups, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str))));
544throw new PackagingException(NuGetLogCode.NU5018, string.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_InvalidReference, reference));
559throw new PackagingException(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromFrameworkAssemblyReferences, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str))));
569throw new PackagingException(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromFrameworkAssemblyGroups, string.Join(", ", frameworksMissingPlatformVersion.OrderBy(str => str))));
619throw new PackagingException(NuGetLogCode.NU5050, string.Format(CultureInfo.CurrentCulture, NuGetResources.FoundDuplicateFile, string.Join(", ", duplicates)));
633throw new PackagingException(NuGetLogCode.NU5031, string.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_LicenseFileExtensionIsInvalid, licenseMetadata.License));
641errorMessage = string.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_LicenseFileIsNotInNupkg, licenseMetadata.License);
672string.Format(CultureInfo.CurrentCulture, NuGetResources.IconInvalidExtension, iconPath));
683errorMessage = string.Format(CultureInfo.CurrentCulture, NuGetResources.IconNoFileElement, iconPath);
775throw new PackagingException(NuGetLogCode.NU1012, string.Format(CultureInfo.CurrentCulture, Strings.MissingTargetPlatformVersionsFromIncludedFiles, string.Join(", ", itemsWithFrameworkMissingPlatformVersion.OrderBy(str => str))));
797string.Format(CultureInfo.CurrentCulture, NuGetResources.ReadmeFileExtensionIsInvalid, readmePath));
812string.Format(CultureInfo.CurrentCulture, NuGetResources.ReadmeNoFileElement, readmePath));
829string.Format(CultureInfo.CurrentCulture, NuGetResources.ReadmeErrorEmpty, readmePath));
1037string.Format(CultureInfo.CurrentCulture, NuGetResources.PackageAuthoring_FileNotFound, source));
Rules\InvalidUndottedFrameworkRule.cs (5)
56throw new PackagingException(string.Format(
105string.Format(CultureInfo.CurrentCulture, AnalysisResources.InvalidUndottedFrameworkInDependencyGroupsWarning, string.Join(", ", bads)),
134string.Format(CultureInfo.CurrentCulture, AnalysisResources.InvalidUndottedFrameworkInReferenceGroupsWarning, string.Join(", ", bads)),
181string.Format(CultureInfo.CurrentCulture, AnalysisResources.InvalidUndottedFrameworkInFrameworkAssemblyGroupsWarning, string.Join(", ", bads)),
249string.Format(CultureInfo.CurrentCulture, AnalysisResources.InvalidUndottedFrameworkInFilesWarning, string.Join(", ", warnPaths)),
Signing\Signatures\Signature.cs (6)
150issues.Add(SignatureLog.Issue(!settings.AllowIllegal, NuGetLogCode.NU3010, string.Format(CultureInfo.CurrentCulture, Strings.Verify_ErrorNoCertificate, FriendlyName)));
170issues.Add(SignatureLog.Issue(!settings.AllowIllegal, NuGetLogCode.NU3012, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_SignatureVerificationFailed, FriendlyName)));
251issues.Add(SignatureLog.Issue(!settings.AllowUntrusted, NuGetLogCode.NU3018, string.Format(CultureInfo.CurrentCulture, Strings.VerifyChainBuildingIssue_UntrustedRoot, FriendlyName)));
329string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_SignatureNotTimeValid, FriendlyName)));
351string.Format(
361throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.Verify_ErrorNoCertificate, FriendlyName));
Signing\Utility\CertificateUtility.cs (12)
51issues.Add(SignatureLog.MinimalLog($"{indentation}{string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityCertificateSubjectName, cert.Subject)}"));
52issues.Add(SignatureLog.InformationLog($"{indentation}{string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityCertificateHashSha1, cert.Thumbprint)}"));
54issues.Add(SignatureLog.InformationLog($"{indentation}{string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityCertificateIssuer, cert.IssuerName.Name)}"));
59issues.Add(SignatureLog.InformationLog($"{indentation}{string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityCertificateCrlUrl, url)}"));
64issues.Add(SignatureLog.InformationLog($"{indentation}{string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityCertificateOcspUrl, url)}"));
74certStringBuilder.AppendLine(indentation + string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityCertificateSubjectName, cert.Subject));
75certStringBuilder.AppendLine(indentation + string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityCertificateHashSha1, cert.Thumbprint));
77certStringBuilder.AppendLine(indentation + string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityCertificateIssuer, cert.IssuerName.Name));
82certStringBuilder.AppendLine(indentation + string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityCertificateCrlUrl, url));
87certStringBuilder.AppendLine(indentation + string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityCertificateOcspUrl, url));
123collectionStringBuilder.AppendLine(string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityMultipleCertificatesFooter, certCollection.Count - ChainDepthLimit));
145collectionStringBuilder.AppendLine(string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityMultipleCertificatesFooter, chainElementsCount - ChainDepthLimit));
Signing\Utility\SignatureUtility.cs (9)
118noCertificateString: string.Format(CultureInfo.CurrentCulture, Strings.Verify_ErrorNoCertificate, signatureFriendlyName),
337noCertificateString: string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampNoCertificate, signatureFriendlyName),
339invalidSignatureString: string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampInvalid, signatureFriendlyName),
439string.Format(
449string.Format(
463string.Format(
473string.Format(
497string.Format(CultureInfo.CurrentCulture,
687throw new SignatureException(string.Format(CultureInfo.CurrentCulture, Strings.SignatureContainsInvalidAttribute, attribute.Oid.Value));
Signing\Utility\VerificationUtility.cs (13)
73issues.Add(SignatureLog.Issue(treatIssuesAsErrors, NuGetLogCode.NU3013, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_CertificateHasUnsupportedSignatureAlgorithm, signatureFriendlyName)));
79issues.Add(SignatureLog.Issue(treatIssuesAsErrors, NuGetLogCode.NU3014, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_CertificateFailsPublicKeyLengthRequirement, signatureFriendlyName)));
85issues.Add(SignatureLog.Issue(treatIssuesAsErrors, NuGetLogCode.NU3015, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_CertificateHasLifetimeSigningEKU, signatureFriendlyName)));
91issues.Add(SignatureLog.Issue(treatIssuesAsErrors, NuGetLogCode.NU3017, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_CertificateNotYetValid, signatureFriendlyName)));
127issues.Add(SignatureLog.Issue(treatIssuesAsErrors, NuGetLogCode.NU3021, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampSignatureValidationFailed, signature.FriendlyName)));
134issues.Add(SignatureLog.Issue(treatIssuesAsErrors, NuGetLogCode.NU3022, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampUnsupportedSignatureAlgorithm, signature.FriendlyName)));
140issues.Add(SignatureLog.Issue(treatIssuesAsErrors, NuGetLogCode.NU3023, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampCertificateFailsPublicKeyLengthRequirement, signature.FriendlyName)));
146issues.Add(SignatureLog.Issue(treatIssuesAsErrors, NuGetLogCode.NU3024, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampSignatureUnsupportedDigestAlgorithm, signature.FriendlyName)));
158issues.Add(SignatureLog.Issue(treatIssuesAsErrors, NuGetLogCode.NU3019, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampIntegrityCheckFailed, signature.FriendlyName)));
165issues.Add(SignatureLog.Issue(treatIssuesAsErrors, NuGetLogCode.NU3030, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampMessageImprintUnsupportedHashAlgorithm, signature.FriendlyName)));
171issues.Add(SignatureLog.Issue(treatIssuesAsErrors, NuGetLogCode.NU3025, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampNotYetValid, signature.FriendlyName)));
177issues.Add(SignatureLog.Issue(treatIssuesAsErrors, NuGetLogCode.NU3036, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampGeneralizedTimeInvalid, signature.FriendlyName)));
183issues.Add(SignatureLog.Issue(treatIssuesAsErrors, NuGetLogCode.NU3020, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampNoCertificate, signature.FriendlyName)));
NuGet.ProjectModel (9)
NuGet.Protocol (122)
LegacyFeed\V2FeedQueryBuilder.cs (7)
78filter = string.Format(
102var uri = string.Format(
208return string.Format(CultureInfo.InvariantCulture, TopFormat, top);
218return string.Format(CultureInfo.InvariantCulture, SkipFormat, skip);
239return string.Format(CultureInfo.InvariantCulture, FilterFormat, filter);
261orderBy = string.Format(CultureInfo.InvariantCulture, OrderByFormat, orderBy);
314term = string.Format(CultureInfo.InvariantCulture, TagTermFormat, term);
Plugins\MessageConverter.cs (9)
110throw new JsonException(string.Format(CultureInfo.CurrentCulture, Strings.Error_RequiredJsonPropertyMissing, nameof(Message.RequestId)));
116throw new JsonException(string.Format(CultureInfo.CurrentCulture, Strings.ArgumentCannotBeNullOrEmpty, nameof(Message.RequestId)));
121throw new JsonException(string.Format(CultureInfo.CurrentCulture, Strings.Error_RequiredJsonPropertyMissing, nameof(Message.Type)));
127throw new JsonException(string.Format(CultureInfo.CurrentCulture, Strings.Plugin_UnrecognizedEnumValue, typeStr));
132throw new JsonException(string.Format(CultureInfo.CurrentCulture, Strings.Error_RequiredJsonPropertyMissing, nameof(Message.Method)));
138throw new JsonException(string.Format(CultureInfo.CurrentCulture, Strings.Plugin_UnrecognizedEnumValue, methodStr));
146throw new JsonException(string.Format(CultureInfo.CurrentCulture, Strings.Error_UnexpectedPayloadTokenType, payloadProp.ValueKind));
163throw new JsonException(string.Format(CultureInfo.CurrentCulture, Strings.Plugin_UnrecognizedEnumValue, $"{messageMethod}/{messageType}"));
181throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.Error_UnsupportedPayloadType, value.PayloadObject.GetType()));
NuGet.Resolver (6)
NuGet.Versioning (6)
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") +
RepoTasks (2)
rzc (6)
CommandLine\CommandLineApplication.cs (6)
114var message = string.Format(
418Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName));
438headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name));
475var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2);
491var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2);
507var 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.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.Reflection.Execution (1)
System.Private.TypeLoader (1)
System.Private.Uri (1)
System.Private.Windows.Core (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.Http (5)
System.ServiceModel.Primitives (42)
System\ServiceModel\Channels\SecurityBindingElement.cs (9)
606sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "{0}:", GetType().ToString()));
607sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "DefaultAlgorithmSuite: {0}", _defaultAlgorithmSuite.ToString()));
608sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "IncludeTimestamp: {0}", IncludeTimestamp.ToString()));
609sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "KeyEntropyMode: {0}", _keyEntropyMode.ToString()));
610sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "MessageSecurityVersion: {0}", MessageSecurityVersion.ToString()));
611sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "SecurityHeaderLayout: {0}", _securityHeaderLayout.ToString()));
612sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "ProtectTokens: {0}", _protectTokens.ToString()));
626sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "OperationSupportingTokenParameters[\"{0}\"]:", requestAction));
639sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "OptionalOperationSupportingTokenParameters[\"{0}\"]:", requestAction));
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (8)
153sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "TokenType: {0}", TokenType == null ? "null" : TokenType));
154sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "KeyType: {0}", _keyType.ToString()));
155sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "KeySize: {0}", _keySize.ToString(CultureInfo.InvariantCulture)));
156sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "IssuerAddress: {0}", IssuerAddress == null ? "null" : IssuerAddress.ToString()));
157sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "IssuerMetadataAddress: {0}", IssuerMetadataAddress == null ? "null" : IssuerMetadataAddress.ToString()));
158sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "DefaultMessgeSecurityVersion: {0}", DefaultMessageSecurityVersion == null ? "null" : DefaultMessageSecurityVersion.ToString()));
159sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "UseStrTransform: {0}", UseStrTransform.ToString()));
171sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " BindingElement[{0}]:", i.ToString(CultureInfo.InvariantCulture)));
System.ServiceModel.Syndication (1)
System.ServiceProcess.ServiceController (1)
System.Speech (8)
System.Text.Encoding.CodePages (1)
System.Text.Encodings.Web (1)
System.Text.Json (1)
System.Text.Json.SourceGeneration (2)
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)
UIAutomationClientSideProviders (4)
vstest.console (44)
CommandLine\Executor.cs (4)
244Output.Error(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.NoArgumentProcessorFound, arg));
352Output.Error(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.DuplicateArgumentError, processor.Metadata.Value.CommandName));
451string commandLineBanner = string.Format(CultureInfo.CurrentCulture, CommandLineResources.MicrosoftCommandLineTitle, assemblyVersionAndArchitecture);
547Output.Error(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.OpenResponseFileError, fileName));
Internal\ConsoleLogger.cs (6)
418Output.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestSourcesDiscovered, CommandLineOptions.Instance.Sources.Count()), OutputLevel.Information);
695var attachmentOutput = string.Format(CultureInfo.CurrentCulture, CommandLineResources.AttachmentOutputFormat, uriDataAttachment.Uri.LocalPath);
865Output.Information(false, string.Format(CultureInfo.CurrentCulture, totalTestsformat, totalTests));
869Output.Information(false, ConsoleColor.Green, string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestRunSummaryPassedTests, passedTests));
873Output.Information(false, ConsoleColor.Red, string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestRunSummaryFailedTests, failedTests));
877Output.Information(false, ConsoleColor.Yellow, string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestRunSummarySkippedTests, skippedTests));
Processors\AeDebuggerArgumentProcessor.cs (4)
92string exceptionMessage = string.Format(CultureInfo.CurrentCulture, CommandLineResources.InvalidAeDebuggerArgument, _argument ?? "");
150_output.Error(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ProcDumpFileNameNotFound, procDumpPath));
157_output.Error(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ProcDumpFileNameNotFound, procDumpPath));
226_output.Error(false, string.Format(CultureInfo.CurrentCulture, invalidDirectoryErrorMessage, directoryInfo.FullName));
vstest.console.arm64 (44)
src\vstest\src\vstest.console\CommandLine\Executor.cs (4)
244Output.Error(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.NoArgumentProcessorFound, arg));
352Output.Error(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.DuplicateArgumentError, processor.Metadata.Value.CommandName));
451string commandLineBanner = string.Format(CultureInfo.CurrentCulture, CommandLineResources.MicrosoftCommandLineTitle, assemblyVersionAndArchitecture);
547Output.Error(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.OpenResponseFileError, fileName));
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (6)
418Output.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestSourcesDiscovered, CommandLineOptions.Instance.Sources.Count()), OutputLevel.Information);
695var attachmentOutput = string.Format(CultureInfo.CurrentCulture, CommandLineResources.AttachmentOutputFormat, uriDataAttachment.Uri.LocalPath);
865Output.Information(false, string.Format(CultureInfo.CurrentCulture, totalTestsformat, totalTests));
869Output.Information(false, ConsoleColor.Green, string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestRunSummaryPassedTests, passedTests));
873Output.Information(false, ConsoleColor.Red, string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestRunSummaryFailedTests, failedTests));
877Output.Information(false, ConsoleColor.Yellow, string.Format(CultureInfo.CurrentCulture, CommandLineResources.TestRunSummarySkippedTests, skippedTests));
src\vstest\src\vstest.console\Processors\AeDebuggerArgumentProcessor.cs (4)
92string exceptionMessage = string.Format(CultureInfo.CurrentCulture, CommandLineResources.InvalidAeDebuggerArgument, _argument ?? "");
150_output.Error(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ProcDumpFileNameNotFound, procDumpPath));
157_output.Error(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ProcDumpFileNameNotFound, procDumpPath));
226_output.Error(false, string.Format(CultureInfo.CurrentCulture, invalidDirectoryErrorMessage, directoryInfo.FullName));
src\vstest\src\vstest.console\Processors\RunSettingsArgumentProcessor.cs (1)
92string.Format(
WindowsFormsIntegration (7)