1257 references to Format
aspire (93)
Agents\AspireSkills\AspireSkillsBundleProvider.cs (9)
236throw new InvalidOperationException(string.Format( 268throw new InvalidOperationException(string.Format( 282throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, "Aspire skills bundle file '{0}' in skill '{1}' was not found.", relativePath, skillName)); 308throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, "Aspire skills bundle file '{0}' in skill '{1}' does not specify a SHA-512 or SHA-256 hash.", relativePath, skillName)); 337throw new InvalidOperationException(string.Format( 460throw new InvalidOperationException(string.Format( 519throw new InvalidDataException(string.Format(CultureInfo.InvariantCulture, "Aspire skills archive entry '{0}' has unsupported type '{1}'.", entry.Name, entry.EntryType)); 640throw new InvalidOperationException(string.Format( 650throw new InvalidOperationException(string.Format(
Agents\AspireSkills\AspireSkillsInstaller.cs (3)
241return AcquisitionResult.Failed(string.Format( 376return string.Format( 924throw new InvalidOperationException(string.Format(
Agents\Playwright\PlaywrightCliInstaller.cs (2)
139return (PlaywrightInstallStatus.Failed, string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.PlaywrightCliInstaller_InvalidVersionOverride, VersionOverrideKey, versionOverride)); 233return (PlaywrightInstallStatus.Failed, string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.PlaywrightCliInstaller_ProvenanceVerificationFailed, NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version), provenanceResult.Outcome));
Certificates\CertificateGeneration\MacOSCertificateManager.cs (3)
256string.Format( 300string.Format(CultureInfo.InvariantCulture, MacOSFindCertificateOnKeychainCommandLineArgumentsFormat, subject, keychain)) 355string.Format(CultureInfo.InvariantCulture, s_macOSAddCertificateToKeyChainCommandLineArgumentsFormat, certificatePath, password))
Commands\AddCommand.cs (4)
224var notCompatibleMessage = string.Format(CultureInfo.CurrentCulture, AddCommandStrings.IntegrationNotPolyglotCompatible, integrationName, project.LanguageId); 410InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.PackageAddedSuccessfully, selectedNuGetPackage.Package.Id, selectedNuGetPackage.Package.Version)); 500string.Format(CultureInfo.CurrentCulture, AddCommandStrings.SearchingForSpecifiedPackageVersion, selectedPackage.Package.Id, preferredVersion), 508throw new EmptyChoicesException(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.SpecifiedVersionNotFoundForPackage, selectedPackage.Package.Id, preferredVersion));
Commands\ApiListCommand.cs (1)
72InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, ApiCommandStrings.FoundApiEntries, items.Count, scope));
Commands\ApiSearchCommand.cs (1)
86InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, ApiCommandStrings.FoundSearchResults, items.Count, query));
Commands\AppHostLauncher.cs (1)
846failureMessage = string.Format(CultureInfo.CurrentCulture, RunCommandStrings.TimeoutWaitingForAppHost, timeoutSeconds, CliConfigNames.AppHostStartupTimeout);
Commands\ConfigCommand.cs (2)
182? string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeySetGlobally, key, 184: string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeySetLocally, key,
Commands\DocsSearchCommand.cs (1)
82InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, DocsCommandStrings.FoundSearchResults, response.Results.Count, query));
Commands\IntegrationSearchCommand.cs (1)
200InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.FoundIntegrationPackagesMatchingSearchTerm, results.Length, searchTerm));
Commands\LsCommand.cs (1)
254return string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.LsSearchingForAppHostsStatus, directoriesSearched, appHostsFound);
Commands\NewCommand.cs (1)
422errorMessage = string.Format(
Commands\ParseResultHelper.cs (1)
375return string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.UnrecognizedOptionDidYouMeanFormat, optionName, correctName);
Commands\ResourceCommand.cs (2)
762string.Format(CultureInfo.CurrentCulture, ResourceCommandStrings.CommandSpecificHelpUsageSyntax, resourceName, command.Name)); 894parts.Add(string.Format(CultureInfo.CurrentCulture, ResourceCommandStrings.CommandSpecificHelpDelimiterHint, optionName, valuePlaceholder));
Commands\RunCommand.cs (1)
1294string.Format(CultureInfo.CurrentCulture, RunCommandStrings.TimeoutWaitingForAppHost, timeoutSeconds, CliConfigNames.AppHostStartupTimeout));
Commands\Sdk\SdkDumpCommand.cs (7)
446sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "{0}{1}", t.AtsTypeId, flagStr)); 458sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "{0} # {1}", t.TypeId, t.Description)); 480sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "{0} = {1}", t.TypeId, string.Join(" | ", t.Values))); 542sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " Diagnostics: {0} errors, {1} warnings", errorCount, warningCount)); 554sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " {0} {1}", icon, d.Message)); 587sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " {0}{1}", shortName, flagStr)); 639sb.AppendLine(string.Format(
Commands\StopCommand.cs (6)
94return CommandResult.Failure(CompleteStopActivity(activity, CliExitCodes.FailedToFindProject), string.Format(CultureInfo.InvariantCulture, StopCommandStrings.AllAndProjectMutuallyExclusive, s_allOption.Name, s_appHostOption.Name)); 99return CommandResult.Failure(CompleteStopActivity(activity, CliExitCodes.InvalidCommand), string.Format(CultureInfo.InvariantCulture, StopCommandStrings.AllAndProjectMutuallyExclusive, s_allOption.Name, s_forceOption.Name)); 245InteractionService.DisplayError(string.Format(CultureInfo.InvariantCulture, StopCommandStrings.MultipleAppHostsNonInteractive, s_appHostOption.Name, s_allOption.Name)); 367InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, StopCommandStrings.DcpCleanupFailed, appHostDisplayPath, details)); 408InteractionService.DisplayMessage(KnownEmojis.Warning, string.Format( 593? string.Format(CultureInfo.CurrentCulture, StopCommandStrings.AppHostIdentifierWithProcessId, displayPath, appHostInfo.ProcessId)
Commands\TerminalAttachCommand.cs (6)
160string.Format(CultureInfo.CurrentCulture, 180var sessionLabel = string.Format(CultureInfo.InvariantCulture, 194_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, 203string.Format(CultureInfo.CurrentCulture, 238_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, 250: string.Format(CultureInfo.CurrentCulture, "{0} (exited code={1})", r.Label, r.ExitCode?.ToString(CultureInfo.InvariantCulture) ?? "unknown"),
Commands\TerminalPsCommand.cs (3)
224string.Format(CultureInfo.InvariantCulture, "{0}x{1}", terminal.ConfiguredColumns, terminal.ConfiguredRows), 239? string.Format(CultureInfo.InvariantCulture, "{0}x{1}", cols, rows) 240: string.Format(CultureInfo.InvariantCulture, "{0}x{1}", terminal.ConfiguredColumns, terminal.ConfiguredRows);
Commands\UpdateCommand.cs (1)
272throw new ChannelNotFoundException(string.Format(
Commands\WaitCommand.cs (2)
111string.Format(CultureInfo.CurrentCulture, WaitCommandStrings.WaitingForResource, resourceName, statusLabel), 134InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, WaitCommandStrings.ResourceEnteredFailedState, resourceName, response.State ?? response.ErrorMessage));
Configuration\AspireConfigFile.cs (1)
147string.Format(CultureInfo.CurrentCulture, ErrorStrings.InvalidJsonInConfigFile, filePath, ex.Message),
Configuration\ConfigurationService.cs (1)
479string.Format(CultureInfo.CurrentCulture, ErrorStrings.InvalidJsonInConfigFile, filePath, ex.Message),
Interaction\ConsoleInteractionService.cs (2)
821DisplayError(result.Message ?? string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NonInteractiveInvalidValue, value, symbolDisplayName)); 830DisplayError(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.NonInteractiveInvalidValue, value, symbolDisplayName));
Migrations\TypeScriptAppHostMigration.cs (2)
73Title = string.Format( 112_interactionService.DisplaySuccess(string.Format(
Packaging\PackagingService.cs (1)
718throw new InvalidOperationException(string.Format(
Program.cs (3)
204var warning = string.Format( 786errorMessage = string.Format(CultureInfo.CurrentCulture, ErrorStrings.UnsupportedLocaleProvided, localeOverride, string.Join(", ", LocaleHelpers.SupportedLocales)); 871var notice = string.Format(
Projects\GuestAppHostProject.cs (1)
1791var message = string.Format(
Projects\ProjectLocator.cs (5)
734interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.AppHostWasSpecifiedButDoesntExist, configFilePath, qualifiedPath)); 794interactionService.DisplayMessage(KnownEmojis.Warning, string.Format(CultureInfo.CurrentCulture, ErrorStrings.AppHostWasSpecifiedButDoesntExist, settingsFile.FullName, qualifiedAppHostPath)); 803var message = string.Format(CultureInfo.CurrentCulture, ErrorStrings.InvalidJsonInConfigFile, settingsFile.FullName, ex.Message); 835var message = string.Format(CultureInfo.CurrentCulture, ErrorStrings.ConfiguredAppHostPathMustBeString, configFilePath, fieldName); 870interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, ErrorStrings.ConfiguredAppHostPathHasInvalidCharacters, configFilePath, fieldName));
Projects\ProjectUpdater.cs (4)
256descriptions.Add(string.Format( 391throw new ProjectUpdaterException(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.NoPackageFoundFormat, packageId, context.Channel.Name)); 1215throw new ProjectUpdaterException(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.CouldNotFindPackageVersionInDirectoryPackagesProps, packageId, directoryPackagesPropsFile.FullName)); 1243throw new ProjectUpdaterException(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.FailedUpdatePackageReferenceFormat, package.Id, projectFile.FullName));
Utils\ConfigurationHelper.cs (1)
278string.Format(CultureInfo.CurrentCulture, ErrorStrings.InvalidJsonInConfigFile, filePath, ex.Message),
Utils\ConsoleActivityLogger.cs (1)
291? string.Format(CultureInfo.CurrentCulture, ConsoleActivityLoggerStrings.SummaryStepsSucceededWithTotal, succeededSteps, totalSteps)
Utils\EnvironmentChecker\AspireVersionCheck.cs (2)
118Message = string.Format( 308Message = string.Format(
Utils\EnvironmentChecker\DcpConnectionChecker.cs (1)
68details: string.Format(
Utils\EnvironmentChecker\DevCertsCheck.cs (6)
32private static readonly string s_cleanAndTrustFixCommand = string.Format(CultureInfo.InvariantCulture, DoctorCommandStrings.DevCertsCleanAndTrustFixFormat, "aspire certs clean", "aspire certs trust"); 281string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsOpenSslCacheMissingDetailsFormat, trustPath, string.Join(", ", trustedThumbprints)), 327string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsOpenSslCacheUnreadableFilesDetailsFormat, trustPath, string.Join(", ", unreadableFiles)), 335string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsOpenSslCacheMissingDetailsFormat, trustPath, string.Join(", ", mismatchedThumbprints)), 343string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsOpenSslCacheMissingDetailsFormat, trustPath, string.Join(", ", missingTrustedThumbprints)), 351string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.DevCertsOpenSslCacheMissingHashLinkDetailsFormat, trustPath, string.Join(", ", missingHashLinkThumbprints)),
Utils\EnvironmentChecker\EnvironmentChecker.cs (1)
109string.Format(CultureInfo.CurrentCulture, DoctorCommandStrings.EnvironmentCheckTimedOutMessageFormat, checkName, _checkTimeout.TotalSeconds),
Utils\MissingJavaScriptToolWarning.cs (1)
37return string.Format(CultureInfo.CurrentCulture, ErrorStrings.ProjectFilesCreatedButNodeToolsNotFound, installCommand, installDisplayName);
Utils\SdkInstallHelper.cs (1)
51var sdkErrorMessage = string.Format(CultureInfo.InvariantCulture,
aspire-managed (2)
NuGet\Commands\LayoutCommand.cs (1)
117Console.WriteLine(string.Format(CultureInfo.InvariantCulture, "Layout created: {0} files copied to {1}", copiedCount, outputPath));
NuGet\Commands\SearchCommand.cs (1)
127Console.Error.WriteLine(string.Format(CultureInfo.InvariantCulture, "Searching {0} source(s) for '{1}'", packageSources.Count, query));
Aspire.Cli.EndToEnd.Tests (1)
StopNonInteractiveTests.cs (1)
252string.Format(CultureInfo.InvariantCulture, StopCommandStrings.MultipleAppHostsNonInteractive, "--apphost", "--all"),
Aspire.Cli.Tests (12)
Commands\BaseCommandTests.cs (4)
536var expectedError = string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.UnrecognizedOptionDidYouMeanFormat, badOption, correctOption); 594var expectedError = string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.UnrecognizedOptionDidYouMeanFormat, optionName, "--apphost"); 685var expectedError = string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.UnrecognizedOptionDidYouMeanFormat, "--AppHost", "--apphost"); 725var expectedError = string.Format(CultureInfo.CurrentCulture, SharedCommandStrings.UnrecognizedOptionDidYouMeanFormat, "--AppHost", "--apphost");
Commands\NewCommandTests.cs (1)
2593var expectedMessage = string.Format(CultureInfo.CurrentCulture, TemplatingStrings.ProjectCreationFailed, 1, executionContext.LogFilePath);
Commands\RunCommandTests.cs (2)
357string.Format(CultureInfo.CurrentCulture, RunCommandStrings.TimeoutWaitingForAppHost, 1, CliConfigNames.AppHostStartupTimeout), 759string.Format(CultureInfo.CurrentCulture, RunCommandStrings.TimeoutWaitingForAppHost, 2, CliConfigNames.AppHostStartupTimeout),
Commands\StopCommandTests.cs (3)
181var expectedIdentifier1 = string.Format(CultureInfo.CurrentCulture, StopCommandStrings.AppHostIdentifierWithProcessId, expectedPath, processId1); 182var expectedIdentifier2 = string.Format(CultureInfo.CurrentCulture, StopCommandStrings.AppHostIdentifierWithProcessId, expectedPath, processId2); 1175string.Format(CultureInfo.InvariantCulture, StopCommandStrings.AllAndProjectMutuallyExclusive, "--all", "--force"),
DotNetSdkInstallerTests.cs (1)
225var message = string.Format(CultureInfo.InvariantCulture,
Projects\GuestAppHostProjectTests.cs (1)
1400var expectedWarning = string.Format(
Aspire.Dashboard (2)
Components\Dialogs\AIAgentsDialog.razor.cs (1)
37? string.Format(CultureInfo.CurrentCulture, Loc[nameof(DialogsLoc.AIAgentsDialogAppHostDescription)], AppHostLearnMoreUrl, InstallCliUrl)
src\Shared\ConsoleLogs\LogPauseViewModel.cs (1)
32? string.Format(
Aspire.Hosting (3)
ApplicationModel\RequiredCommandValidator.cs (3)
104(not null, null) => string.Format(CultureInfo.CurrentCulture, MessageStrings.RequiredCommandNotFoundWithLink, command, link), 112(not null, not null) => string.Format(CultureInfo.CurrentCulture, MessageStrings.RequiredCommandValidationFailed, command, validationMessage), 118_logger.LogWarning("{Message}", string.Format(CultureInfo.CurrentCulture, MessageStrings.ResourceMayFailToStart, resource.Name, message));
Aspire.Hosting.Browsers (7)
BrowserLogsBuilderExtensions.cs (1)
336throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, BrowserMessageStrings.BrowserLogsEndpointNotAllocated, endpointAnnotation.Name, resource.Name));
BrowserLogsConfigurationManager.cs (1)
261return string.Format(
ChromiumBrowserResolver.cs (5)
95string.Format(CultureInfo.CurrentCulture, BrowserMessageStrings.BrowserLogsUnableToReadProfileMetadata, localStatePath, profile), 101string.Format(CultureInfo.CurrentCulture, BrowserMessageStrings.BrowserLogsUnableToReadProfileMetadata, localStatePath, profile), 107string.Format(CultureInfo.CurrentCulture, BrowserMessageStrings.BrowserLogsInvalidProfileMetadata, localStatePath, profile), 113string.Format(CultureInfo.CurrentCulture, BrowserMessageStrings.BrowserLogsProfileNotFound, profile, userDataDirectory)); 147string.Format(CultureInfo.CurrentCulture, BrowserMessageStrings.BrowserLogsAmbiguousProfile, profile, userDataDirectory));
Aspire.Hosting.Browsers.Tests (7)
src\Aspire.Hosting.Browsers\BrowserLogsBuilderExtensions.cs (1)
336throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, BrowserMessageStrings.BrowserLogsEndpointNotAllocated, endpointAnnotation.Name, resource.Name));
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (1)
261return string.Format(
src\Aspire.Hosting.Browsers\ChromiumBrowserResolver.cs (5)
95string.Format(CultureInfo.CurrentCulture, BrowserMessageStrings.BrowserLogsUnableToReadProfileMetadata, localStatePath, profile), 101string.Format(CultureInfo.CurrentCulture, BrowserMessageStrings.BrowserLogsUnableToReadProfileMetadata, localStatePath, profile), 107string.Format(CultureInfo.CurrentCulture, BrowserMessageStrings.BrowserLogsInvalidProfileMetadata, localStatePath, profile), 113string.Format(CultureInfo.CurrentCulture, BrowserMessageStrings.BrowserLogsProfileNotFound, profile, userDataDirectory)); 147string.Format(CultureInfo.CurrentCulture, BrowserMessageStrings.BrowserLogsAmbiguousProfile, profile, userDataDirectory));
Aspire.Hosting.DevTunnels (6)
DevTunnelHealthCheck.cs (2)
41return HealthCheckResult.Unhealthy(string.Format(CultureInfo.CurrentCulture, Resources.MessageStrings.DevTunnelUnhealthy_PortInactive, _tunnelResource.TunnelId, tunnelPort)); 74return HealthCheckResult.Unhealthy(string.Format(CultureInfo.CurrentCulture, Resources.MessageStrings.DevTunnelUnhealthy_Error, _tunnelResource.TunnelId, ex.Message), ex);
DevTunnelPortHealthCheck.cs (3)
22return HealthCheckResult.Unhealthy(string.Format(CultureInfo.CurrentCulture, Resources.MessageStrings.DevTunnelPortUnhealthy_StatusUnknown, port, tunnelResource.TunnelId)); 35return HealthCheckResult.Unhealthy(string.Format(CultureInfo.CurrentCulture, Resources.MessageStrings.DevTunnelUnhealthy_PortInactive, tunnelResource.TunnelId, port)); 38return HealthCheckResult.Healthy(string.Format(CultureInfo.CurrentCulture, Resources.MessageStrings.DevTunnelPortHealthy, port, tunnelResource.TunnelId));
DevTunnelResourceBuilderExtensions.cs (1)
923string.Format(CultureInfo.CurrentCulture, MessageStrings.DevtunnelCliVersionNotSupported, version, DevTunnelCli.MinimumSupportedVersion));
Aspire.Hosting.Testing (1)
DistributedApplicationHostingTestingExtensions.cs (1)
287throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, Properties.Resources.EndpointForResourceNotFoundExceptionMessage, endpointName, resourceName), nameof(endpointName));
dotnet (6)
Commands\Test\MTP\ArtifactPostProcessingManager.cs (3)
167failedJobs += ReportFailureUnlessCancelled(output, ctrlC, string.Format( 175failedJobs += ReportFailureUnlessCancelled(output, ctrlC, string.Format( 189failedJobs += ReportFailureUnlessCancelled(output, ctrlC, string.Format(
Commands\Test\MTP\Terminal\TerminalTestReporter.cs (3)
330terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.MinimumExpectedTestsPolicyViolation, totalTests, _options.MinimumExpectedTests)); 488terminal.AppendLine(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.RetriedTestsAndRuns, retriedTests, retriedExecutions)); 1418terminal.AppendLine(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.TestDiscoverySummary, totalTests, assemblies.Count));
dotnet-dev-certs (4)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
241string.Format( 286string.Format(CultureInfo.InvariantCulture, MacOSFindCertificateOnKeychainCommandLineArgumentsFormat, subject, keychain)) 343string.Format(CultureInfo.InvariantCulture, MacOSAddCertificateToKeyChainCommandLineArgumentsFormat, certificatePath, password))
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
dotnet-getdocument (3)
src\aspnetcore\artifacts\obj\dotnet-getdocument\Release\net11.0\Microsoft.Extensions.ApiDescription.Tool.Resources.cs (2)
38=> string.Format(Culture, GetResourceString("OldNETCoreAppProject"), p0, p1); 56=> string.Format(Culture, GetResourceString("UnsupportedFramework"), p0, p1);
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
dotnet-Microsoft.XmlSerializer.Generator (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
dotnet-openapi (1)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
dotnet-sql-cache (3)
SqlQueries.cs (2)
36var tableNameWithSchema = string.Format( 43TableInfo = string.Format(CultureInfo.InvariantCulture, TableInfoFormat, EscapeLiteral(schemaName), EscapeLiteral(tableName));
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
dotnet-svcutil-lib (69)
CmdCredentialsProvider.cs (1)
227Console.WriteLine(string.Format(CultureInfo.InvariantCulture, SR.ErrServerCertFailedValidationFormat, sslPolicyErrors, FormatCertificate(cert)));
CodeDomFixup\EndpointSelector.cs (1)
339string incompatEndpointMsg = string.Format(CultureInfo.InvariantCulture, SR.WrnIncompatibleEndpointFormat, endpoint.Name, endpoint.Address);
CommandProcessorOptions.cs (4)
362var useProjectOptions = string.Format(CultureInfo.CurrentCulture, SR.UseProjectFileOptionOnMultipleFilesMsgFormat, Switches.ProjectFile.Name, projectItems); 447throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrOutputFileAlreadyExistsFormat, filePath, Switches.OutputFile.Name)); 484throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrProjectToUpdateNotFoundFormat, Switches.Update.Name, Switches.ProjectFile.Name)); 537throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrServiceReferenceNotFoundUnderProjectFormat, this.UpdateServiceReferenceFolder, this.Project.FullPath));
FrameworkFork\Microsoft.CodeDom\System\FixedStringLookup.cs (1)
52String.Format(CultureInfo.InvariantCulture, "Lookup table is out of order. Items {0} and {1} are reversed", lastValue, value));
FrameworkFork\Microsoft.Xml\Xml\Core\XmlConfiguration.cs (2)
23internal static string XmlReaderSectionPath = string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", XmlConfigurationSectionName, XmlReaderSectionName); 24internal static string XsltSectionPath = string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", XmlConfigurationSectionName, XsltSectionName);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
1813return !type.GetTypeInfo().IsGenericTypeDefinition && type.GetTypeInfo().ContainsGenericParameters ? String.Format(CultureInfo.InvariantCulture, "{0}.{1}", type.Namespace, type.Name) : type.FullName;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExtensionDataObject.cs (1)
201element.AddAttribute(elementPrefix, elementNs, elementName, String.Format(CultureInfo.InvariantCulture, "{0}:{1}", prefix, valueName));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (2)
984memberTypeContract = ImportAnonymousElement(element, new XmlQualifiedName(String.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace)); 1091XmlQualifiedName fullName = new XmlQualifiedName(String.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (1)
362return String.Format(CultureInfo.InvariantCulture, "{0} {1}", string.Format(SRSerialization.ErrorInLine, reader.LineNumber, reader.LinePosition), errorMessage);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
246DictionaryGlobals.SerializationNamespace, string.Format(CultureInfo.InvariantCulture, "{0}{1}", "i", objectId)); 251xmlWriter.WriteAttributeString(Globals.SerPrefix, DictionaryGlobals.RefLocalName, DictionaryGlobals.SerializationNamespace, string.Format(CultureInfo.InvariantCulture, "{0}{1}", "i", objectId));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlWriterDelegator.cs (1)
96prefix = String.Format(CultureInfo.InvariantCulture, "d{0}p{1}", depth, _prefixes);
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
161return String.Format(CultureInfo.CurrentCulture, "{0}/{1}", source.GetType().ToString(), source.GetHashCode());
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\Claim.cs (1)
201return string.Format(CultureInfo.CurrentCulture, "{0}: {1}", _right, _claimType);
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\EncryptedKeyIdentifierClause.cs (1)
81return string.Format(CultureInfo.InvariantCulture, "EncryptedKeyIdentifierClause(EncryptedKey = {0}, Method '{1}')",
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\LocalIdKeyIdentifierClause.cs (1)
85return string.Format(CultureInfo.InvariantCulture, "LocalIdKeyIdentifierClause(LocalId = '{0}', Owner = '{1}')", this.LocalId, this.OwnerType);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
264connectionGroupName = string.Format(CultureInfo.InvariantCulture, "{0}[{1}]", connectionGroupName,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TcpConnectionPool.cs (1)
45return string.Format(CultureInfo.InvariantCulture, @"[{0}, {1}]", normalizedHost, port);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TextMessageEncoder.cs (1)
94return String.Format(CultureInfo.InvariantCulture, "{0}; charset={1}", mediaType, TextEncoderDefaults.EncodingToCharSet(encoding));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceEndpoint.cs (1)
105return String.Format(CultureInfo.InvariantCulture, "{0}_{1}", new XmlName(Binding.Name).EncodedName, Contract.Name);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (1)
683String.Format(CultureInfo.InvariantCulture, "Bad contract inheritence. Contract {0} does not implement {1}", declaringContract.ContractType.Name, contractDescription.ContractType.Name)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (4)
879return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_policy", 890return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_Input_policy", wsdlBinding.Name, wsdlOperationBinding.Name); 892return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_output_policy", wsdlBinding.Name, wsdlOperationBinding.Name); 901return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_Fault", wsdlBinding.Name, wsdlOperationBinding.Name);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (13)
1187XmlName xmlName = new XmlName(string.Format(CultureInfo.InvariantCulture, "{0}_{1}", wsdlPort.Service.Name, wsdlPort.Name), true /*isEncoded*/); 1348string id = string.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}_{1}_BindingAdHocPolicy", wsdlBinding.Name, name); 1349string newPolicyUris = string.Format(System.Globalization.CultureInfo.InvariantCulture, "#{0} {1}", id, policyUris).Trim(); 1772itemPath = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, localName, nameValue); 1816rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "port", item.Name); 1824rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", item.Name); 1832rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", item.Name); 1852rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", wsdlOperationBinding.Name); 1856rest += string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, messageTag, messageName); 2423string policyUri = string.Format(CultureInfo.InvariantCulture, "{0}{1}", identifier, policyId); 2432private static readonly string s_wspPolicy = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", MetadataStrings.WSPolicy.Prefix, MetadataStrings.WSPolicy.Elements.Policy); 2433private static readonly string s_xmlId = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", MetadataStrings.Xml.Prefix, MetadataStrings.Xml.Attributes.Id); 2434private static readonly string s_wsuId = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", MetadataStrings.Wsu.Prefix, MetadataStrings.Wsu.Attributes.Id);
FrameworkFork\System.ServiceModel\System\ServiceModel\ExceptionDetail.cs (1)
75return string.Format(CultureInfo.InvariantCulture, "{0}\n{1}", SRServiceModel.SFxExceptionDetailFormat, this.ToStringHelper(false));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityContextKeyIdentifierClause.cs (1)
63return string.Format(CultureInfo.InvariantCulture, "SecurityContextKeyIdentifierClause(ContextId = '{0}', Generation = '{1}')",
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityHeader.cs (1)
161return string.Format(CultureInfo.InvariantCulture, "{0}(Actor = '{1}')", GetType().Name, this.Actor);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (1)
627sb.AppendLine(String.Format(CultureInfo.InvariantCulture, " {0}, optional={1}", _claimTypeRequirements[i].ClaimType, _claimTypeRequirements[i].IsOptional));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (1)
235return String.Format(CultureInfo.CurrentCulture, "SecurityContextSecurityToken(Identifier='{0}', KeyGeneration='{1}')", _contextId, _keyGeneration);
HelpGenerator.cs (2)
119_name = String.Format(CultureInfo.InvariantCulture, "{0}{1}", CommandSwitch.FullSwitchIndicator, option), 156return string.Format(CultureInfo.InvariantCulture, pattern, _name, _helpText);
ImportModule.cs (1)
171ToolConsole.WriteWarning(string.Format(CultureInfo.CurrentCulture, SR.WrnCouldNotGenerateContractOperationsFormat, importer1, importer2));
Shared\Options\ListValue.cs (1)
33throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorOptionDuplicateValueFormat, this.Owner.Name, value));
Shared\Options\OptionBase.cs (1)
239var value = string.Format(CultureInfo.CurrentCulture, "{0}: {1}", this.Name, this.Value?.ToString());
Shared\Options\OptionsSerializer.cs (1)
70var jOptionsObject = jPropInfo.Value as JObject ?? throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidOptionValueFormat, jPropInfo.Value?.Type, option.SerializationName));
Shared\Options\OptionValueParser.cs (3)
238var invalidValueError = string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidOptionValueFormat, value, option.Name); 271throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidOptionValueFormat, value, option.Name)); 277throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidOptionValueFormat, value, option.Name), innerException);
Shared\ProjectDependency.cs (10)
77throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, filePath, nameof(filePath))); 82throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, packageName, nameof(packageName))); 91throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, packageVersion, nameof(packageVersion))); 96throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, dependencyType, nameof(dependencyType))); 104throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, packageName, nameof(packageName))); 110throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, packageName, nameof(packageName))); 120throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, packageName, nameof(packageName))); 127throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, filePath, nameof(filePath))); 140throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, filePath, nameof(filePath))); 180throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, dependencySpec, nameof(dependencySpec)));
ToolConsole.cs (2)
84errMsg = string.Format(CultureInfo.CurrentCulture, "{0} {1}", prefix, errMsg); 95message = string.Format(CultureInfo.CurrentCulture, "{0} {1}", SR.WarningPrefix, message);
dotnet-svcutil.xmlserializer (1)
Microsoft\Tools\ServiceModel\SvcUtil\ToolConsole.cs (1)
305return string.Format(CultureInfo.InvariantCulture, pattern, _name, _helpText);
dotnet-user-jwts (4)
src\aspnetcore\artifacts\obj\dotnet-user-jwts\Release\net11.0\win-x64\Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Resources.cs (2)
36=> string.Format(Culture, GetResourceString("ClearCommand_Confirmed"), p0, p1); 52=> string.Format(Culture, GetResourceString("ClearCommand_Permission"), p0, p1);
src\aspnetcore\artifacts\obj\dotnet-user-jwts\Release\net11.0\win-x64\Microsoft.AspNetCore.Tools.SecretsHelpersResources.cs (1)
82=> string.Format(Culture, GetResourceString("Message_SetUserSecretsIdForProject", new [] { "userSecretsId", "project" }), userSecretsId, project);
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
dotnet-user-secrets (4)
src\aspnetcore\artifacts\obj\dotnet-user-secrets\Release\net11.0\win-x64\Microsoft.AspNetCore.Tools.SecretsHelpersResources.cs (1)
82=> string.Format(Culture, GetResourceString("Message_SetUserSecretsIdForProject", new [] { "userSecretsId", "project" }), userSecretsId, project);
src\aspnetcore\artifacts\obj\dotnet-user-secrets\Release\net11.0\win-x64\Microsoft.Extensions.SecretManager.Tools.Resources.cs (2)
98=> string.Format(Culture, GetResourceString("Message_Secret_Value_Format", new [] { "key", "value" }), key, value); 116=> string.Format(Culture, GetResourceString("Message_SetUserSecretsIdForProject", new [] { "userSecretsId", "project" }), userSecretsId, project);
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
GetDocument.Insider (5)
src\aspnetcore\artifacts\obj\GetDocument.Insider\Release\net11.0\Microsoft.Extensions.ApiDescription.Tool.Resources.cs (4)
68=> string.Format(Culture, GetResourceString("MethodNotFound"), p0, p1); 98=> string.Format(Culture, GetResourceString("MethodIsStatic"), p0, p1); 110=> string.Format(Culture, GetResourceString("WritingDocument"), p0, p1); 160=> string.Format(Culture, GetResourceString("FileNameDescription", new [] { "FileName", "DocumentName" }), FileName, DocumentName);
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
Microsoft.AspNetCore.Antiforgery (3)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Antiforgery\Release\net11.0\Microsoft.AspNetCore.Antiforgery.Resources.cs (3)
54=> string.Format(Culture, GetResourceString("AntiforgeryToken_UsernameMismatch"), p0, p1); 82=> string.Format(Culture, GetResourceString("Antiforgery_RequestToken_MustBeProvided"), p0, p1); 90=> string.Format(Culture, GetResourceString("Antiforgery_RequiresSSL", new [] { "optionName", "value" }), optionName, value);
Microsoft.AspNetCore.App.Analyzers (5)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.App.Analyzers\Release\netstandard2.0\Microsoft.AspNetCore.Analyzers.Resources.cs (5)
88=> string.Format(Culture, GetResourceString("TemplateRoute_Exception"), p0, p1); 102=> string.Format(Culture, GetResourceString("Analyzer_HeaderDictionaryIndexer_Message"), p0, p1); 144=> string.Format(Culture, GetResourceString("Analyzer_DoNotUseModelBindingAttributesOnRouteHandlerParameters_Message"), p0, p1); 228=> string.Format(Culture, GetResourceString("Analyzer_RouteParameterComplexTypeIsNotParsable_Message"), p0, p1); 236=> string.Format(Culture, GetResourceString("Analyzer_BindAsyncSignatureMustReturnValueTaskOfT_Message"), p0, p1);
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
348string.Format(CultureInfo.InvariantCulture,
Microsoft.AspNetCore.Authorization.Policy (1)
src\14e676a0f2e74239\Microsoft.AspNetCore.Authorization.Policy.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("Exception_UnableToFindServices"), p0, p1);
Microsoft.AspNetCore.Components (5)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Components\Release\net11.0\Microsoft.AspNetCore.Components.Routing.Resources.cs (5)
34=> string.Format(Culture, GetResourceString("RangeConstraint_MinShouldBeLessThanOrEqualToMax"), p0, p1); 40=> string.Format(Culture, GetResourceString("DefaultInlineConstraintResolver_AmbiguousCtors"), p0, p1); 46=> string.Format(Culture, GetResourceString("DefaultInlineConstraintResolver_CouldNotFindCtor"), p0, p1); 78=> string.Format(Culture, GetResourceString("RoutePattern_InvalidConstraintReference"), p0, p1); 126=> string.Format(Culture, GetResourceString("TemplateRoute_Exception"), p0, p1);
Microsoft.AspNetCore.Components.Endpoints (15)
Builder\ResourceCollectionUrlEndpoint.cs (4)
34var fingerprintedResourceCollectionUrl = string.Format(CultureInfo.InvariantCulture, resourceCollectionUrlFormat, fingerprintSuffix, ""); 36var fingerprintedGzResourceCollectionUrl = string.Format(CultureInfo.InvariantCulture, resourceCollectionUrlFormat, fingerprintSuffix, ".gz"); 38var resourceCollectionUrl = string.Format(CultureInfo.InvariantCulture, resourceCollectionUrlFormat, "", ""); 40var gzResourceCollectionUrl = string.Format(CultureInfo.InvariantCulture, resourceCollectionUrlFormat, "", ".gz");
Forms\DataAnnotationsLocalizer.cs (5)
142CompareAttribute a => string.Format(culture, messageTemplate, displayName, a.OtherPropertyDisplayName ?? a.OtherProperty), 143FileExtensionsAttribute a => string.Format(culture, messageTemplate, displayName, a.Extensions), 145MaxLengthAttribute a => string.Format(culture, messageTemplate, displayName, a.Length), 146MinLengthAttribute a => string.Format(culture, messageTemplate, displayName, a.Length), 148RegularExpressionAttribute a => string.Format(culture, messageTemplate, displayName, a.Pattern),
src\0f6147b19c23fa97\Microsoft.AspNetCore.Components.Endpoints.FormMapping.FormDataResources.cs (4)
34=> string.Format(Culture, GetResourceString("DictionaryUnparsableKey"), p0, p1); 40=> string.Format(Culture, GetResourceString("EnumMappingError"), p0, p1); 48=> string.Format(Culture, GetResourceString("MaxCollectionSizeReached"), p0, p1); 54=> string.Format(Culture, GetResourceString("ParsableMappingError"), p0, p1);
src\0f6147b19c23fa97\Microsoft.AspNetCore.Components.Endpoints.Resources.cs (2)
36=> string.Format(Culture, GetResourceString("TypeMustDeriveFromType"), p0, p1); 42=> string.Format(Culture, GetResourceString("UnableToFindServices"), p0, p1);
Microsoft.AspNetCore.DataProtection (2)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.DataProtection\Release\net11.0\Microsoft.AspNetCore.DataProtection.Resources.cs (2)
36=> string.Format(Culture, GetResourceString("Common_BufferIncorrectlySized"), p0, p1); 64=> string.Format(Culture, GetResourceString("TypeExtensions_BadCast"), p0, p1);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (3)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
241string.Format( 286string.Format(CultureInfo.InvariantCulture, MacOSFindCertificateOnKeychainCommandLineArgumentsFormat, subject, keychain)) 343string.Format(CultureInfo.InvariantCulture, MacOSAddCertificateToKeyChainCommandLineArgumentsFormat, certificatePath, password))
Microsoft.AspNetCore.HeaderPropagation (1)
DependencyInjection\HeaderPropagationApplicationBuilderExtensions.cs (1)
16private static readonly string _unableToFindServices = string.Format(
Microsoft.AspNetCore.Hosting (1)
Internal\HostingApplicationDiagnostics.cs (1)
640_cachedToString = string.Format(
Microsoft.AspNetCore.Http.Abstractions (4)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Http.Abstractions\Release\net11.0\Microsoft.AspNetCore.Http.Abstractions.Resources.cs (4)
58=> string.Format(Culture, GetResourceString("Exception_UseMiddleMutlipleInvokes"), p0, p1); 70=> string.Format(Culture, GetResourceString("Exception_InvokeMiddlewareNoService"), p0, p1); 90=> string.Format(Culture, GetResourceString("Exception_UseMiddlewareUnableToCreateMiddleware"), p0, p1); 104=> string.Format(Culture, GetResourceString("RouteValueDictionary_DuplicateKey"), p0, p1);
Microsoft.AspNetCore.Http.Extensions (8)
RequestDelegateFactory.cs (4)
2737var message = string.Format(CultureInfo.InvariantCulture, RequestDelegateCreationLogging.InvalidJsonRequestBodyExceptionMessage, parameterTypeName, parameterName); 2821var message = string.Format(CultureInfo.InvariantCulture, RequestDelegateCreationLogging.InvalidFormRequestBodyExceptionMessage, parameterTypeName, parameterName); 2835var message = string.Format(CultureInfo.InvariantCulture, RequestDelegateCreationLogging.InvalidAntiforgeryTokenExceptionMessage, parameterTypeName, parameterName); 2863var message = string.Format(CultureInfo.InvariantCulture, RequestDelegateCreationLogging.UnexpectedRequestWithoutBodyExceptionMessage, parameterTypeName, parameterName);
src\ea80b82a2eb23ee8\Microsoft.AspNetCore.Components.Endpoints.FormMapping.FormDataResources.cs (4)
37=> string.Format(Culture, GetResourceString("DictionaryUnparsableKey"), p0, p1); 43=> string.Format(Culture, GetResourceString("EnumMappingError"), p0, p1); 51=> string.Format(Culture, GetResourceString("MaxCollectionSizeReached"), p0, p1); 57=> string.Format(Culture, GetResourceString("ParsableMappingError"), p0, p1);
Microsoft.AspNetCore.HttpLogging (1)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.HttpLogging\Release\net11.0\Microsoft.AspNetCore.HttpLogging.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("UnableToFindServices"), p0, p1);
Microsoft.AspNetCore.Identity (2)
_generated\0\GeneratedRouteBuilderExtensions.g.cs (2)
1566var message = string.Format(CultureInfo.InvariantCulture, "Failed to read parameter \"{0} {1}\" from the request body as JSON.", parameterTypeName, parameterName); 1668var message = string.Format(CultureInfo.InvariantCulture, "Failed to read parameter \"{0} {1}\" from the request body as form.", parameterTypeName, parameterName);
Microsoft.AspNetCore.JsonPatch (3)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.JsonPatch\Release\net11.0\Microsoft.AspNetCore.JsonPatch.Resources.cs (3)
46=> string.Format(Culture, GetResourceString("CannotPerformOperation"), p0, p1); 108=> string.Format(Culture, GetResourceString("ParameterMustMatchType"), p0, p1); 132=> string.Format(Culture, GetResourceString("TargetLocationNotFound"), p0, p1);
Microsoft.AspNetCore.JsonPatch.SystemTextJson (3)
src\f3018ccc2ba0686c\Microsoft.AspNetCore.JsonPatch.SystemTextJson.Resources.cs (3)
46=> string.Format(Culture, GetResourceString("CannotPerformOperation"), p0, p1); 108=> string.Format(Culture, GetResourceString("ParameterMustMatchType"), p0, p1); 132=> string.Format(Culture, GetResourceString("TargetLocationNotFound"), p0, p1);
Microsoft.AspNetCore.Mvc.Abstractions (6)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Mvc.Abstractions\Release\net11.0\Microsoft.AspNetCore.Mvc.Abstractions.Resources.cs (6)
60=> string.Format(Culture, GetResourceString("BindingSource_CannotBeComposite"), p0, p1); 66=> string.Format(Culture, GetResourceString("BindingSource_MustBeFromRequest"), p0, p1); 72=> string.Format(Culture, GetResourceString("BindingSource_CannotBeGreedy"), p0, p1); 78=> string.Format(Culture, GetResourceString("BindingSource_MustBeGreedy"), p0, p1); 88=> string.Format(Culture, GetResourceString("BinderType_MustBeIModelBinder"), p0, p1); 94=> string.Format(Culture, GetResourceString("RecordTypeHasValidationOnProperties"), p0, p1);
Microsoft.AspNetCore.Mvc.Core (39)
Routing\ConventionalRouteEntry.cs (1)
44throw new RouteCreationException(string.Format(
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Mvc.Core\Release\net11.0\Microsoft.AspNetCore.Mvc.Core.Resources.cs (38)
40=> string.Format(Culture, GetResourceString("ObjectResult_MatchAllContentType"), p0, p1); 52=> string.Format(Culture, GetResourceString("ActionExecutor_UnexpectedTaskInstance"), p0, p1); 72=> string.Format(Culture, GetResourceString("PropertyOfTypeCannotBeNull"), p0, p1); 78=> string.Format(Culture, GetResourceString("TypeMethodMustReturnNotNullValue"), p0, p1); 110=> string.Format(Culture, GetResourceString("FilterFactoryAttribute_TypeMustImplementIFilter"), p0, p1); 122=> string.Format(Culture, GetResourceString("TypeMustDeriveFromType"), p0, p1); 146=> string.Format(Culture, GetResourceString("AttributeRoute_AggregateErrorMessage"), p0, p1); 168=> string.Format(Culture, GetResourceString("AttributeRoute_TokenReplacement_InvalidSyntax"), p0, p1); 190=> string.Format(Culture, GetResourceString("AttributeRoute_DuplicateNames_Item"), p0, p1); 222=> string.Format(Culture, GetResourceString("DefaultActionSelector_AmbiguousActions"), p0, p1); 242=> string.Format(Culture, GetResourceString("ResponseCache_SpecifyDuration"), p0, p1); 272=> string.Format(Culture, GetResourceString("ModelType_WrongType"), p0, p1); 278=> string.Format(Culture, GetResourceString("ValueInterfaceAbstractOrOpenGenericTypesCannotBeActivated"), p0, p1); 284=> string.Format(Culture, GetResourceString("BinderType_MustBeIModelBinder"), p0, p1); 290=> string.Format(Culture, GetResourceString("BindingSource_CannotBeComposite"), p0, p1); 296=> string.Format(Culture, GetResourceString("BindingSource_CannotBeGreedy"), p0, p1); 302=> string.Format(Culture, GetResourceString("Common_PropertyNotFound"), p0, p1); 322=> string.Format(Culture, GetResourceString("ModelBinderUtil_ModelInstanceIsWrong"), p0, p1); 338=> string.Format(Culture, GetResourceString("ValueProviderResult_NoConverterExists"), p0, p1); 364=> string.Format(Culture, GetResourceString("ModelState_AttemptedValueIsInvalid"), p0, p1); 416=> string.Format(Culture, GetResourceString("Formatter_NoMediaTypes"), p0, p1); 452=> string.Format(Culture, GetResourceString("MiddewareFilter_NoConfigureMethod"), p0, p1); 476=> string.Format(Culture, GetResourceString("AuthorizeFilter_AuthorizationPolicyCannotBeCreated"), p0, p1); 500=> string.Format(Culture, GetResourceString("MiddlewareFilterConfigurationProvider_CreateConfigureDelegate_CannotCreateType"), p0, p1); 506=> string.Format(Culture, GetResourceString("Argument_InvalidOffsetLength"), p0, p1); 538=> string.Format(Culture, GetResourceString("ApiController_AttributeRouteRequired"), p0, p1); 552=> string.Format(Culture, GetResourceString("RelatedAssemblyAttribute_AssemblyCannotReferenceSelf"), p0, p1); 570=> string.Format(Culture, GetResourceString("ApplicationAssembliesProvider_RelatedAssemblyCannotDefineAdditional"), p0, p1); 576=> string.Format(Culture, GetResourceString("ComplexTypeModelBinder_NoParameterlessConstructor_ForParameter"), p0, p1); 594=> string.Format(Culture, GetResourceString("InvalidTypeTForActionResultOfT"), p0, p1); 606=> string.Format(Culture, GetResourceString("ApiConventionMethod_AmbiguousMethodName"), p0, p1); 612=> string.Format(Culture, GetResourceString("ApiConventionMethod_NoMethodFound"), p0, p1); 624=> string.Format(Culture, GetResourceString("ValidationVisitor_ExceededMaxDepthFix"), p0, p1); 660=> string.Format(Culture, GetResourceString("ObjectResultExecutor_MaxEnumerationExceeded"), p0, p1); 686=> string.Format(Culture, GetResourceString("ComplexObjectModelBinder_NoSuitableConstructor_ForParameter"), p0, p1); 704=> string.Format(Culture, GetResourceString("ValidationStrategy_MappedPropertyNotFound"), p0, p1); 710=> string.Format(Culture, GetResourceString("TryUpdateModel_RecordTypeNotSupported"), p0, p1); 728=> string.Format(Culture, GetResourceString("TryParseModelBinder_InvalidType"), p0, p1);
Microsoft.AspNetCore.Mvc.DataAnnotations (3)
CompareAttributeAdapter.cs (1)
72return string.Format(CultureInfo.CurrentCulture,
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Mvc.DataAnnotations\Release\net11.0\Microsoft.AspNetCore.Mvc.DataAnnotations.Resources.cs (2)
34=> string.Format(Culture, GetResourceString("ValidatableObjectAdapter_IncompatibleType"), p0, p1); 42=> string.Format(Culture, GetResourceString("PropertyOfTypeCannotBeNull"), p0, p1);
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Mvc.Formatters.Xml\Release\net11.0\Microsoft.AspNetCore.Mvc.Formatters.Xml.Resources.cs (1)
48=> string.Format(Culture, GetResourceString("WrapperProvider_MismatchType"), p0, p1);
Microsoft.AspNetCore.Mvc.NewtonsoftJson (4)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Mvc.NewtonsoftJson\Release\net11.0\Microsoft.AspNetCore.Mvc.NewtonsoftJson.Resources.cs (4)
40=> string.Format(Culture, GetResourceString("InvalidContractResolverForJsonCasingConfiguration"), p0, p1); 52=> string.Format(Culture, GetResourceString("ObjectResultExecutor_MaxEnumerationExceeded"), p0, p1); 64=> string.Format(Culture, GetResourceString("TempData_CannotDeserializeToken"), p0, p1); 76=> string.Format(Culture, GetResourceString("TempData_CannotSerializeType"), p0, p1);
Microsoft.AspNetCore.Mvc.Razor (8)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Mvc.Razor\Release\net11.0\Microsoft.AspNetCore.Mvc.Razor.Resources.cs (8)
44=> string.Format(Culture, GetResourceString("LayoutCannotBeLocated"), p0, p1); 50=> string.Format(Culture, GetResourceString("LayoutCannotBeRendered"), p0, p1); 58=> string.Format(Culture, GetResourceString("RazorPage_CannotFlushWhileInAWritingScope"), p0, p1); 64=> string.Format(Culture, GetResourceString("RazorPage_MethodCannotBeCalled"), p0, p1); 100=> string.Format(Culture, GetResourceString("ViewContextMustBeSet"), p0, p1); 120=> string.Format(Culture, GetResourceString("LayoutHasCircularReference"), p0, p1); 148=> string.Format(Culture, GetResourceString("PropertyMustBeSet"), p0, p1); 162=> string.Format(Culture, GetResourceString("CompiledViewDescriptor_NoData"), p0, p1);
Microsoft.AspNetCore.Mvc.RazorPages (5)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Mvc.RazorPages\Release\net11.0\Microsoft.AspNetCore.Mvc.RazorPages.Resources.cs (5)
34=> string.Format(Culture, GetResourceString("PropertyOfTypeCannotBeNull"), p0, p1); 40=> string.Format(Culture, GetResourceString("ActivatedInstance_MustBeAnInstanceOf"), p0, p1); 60=> string.Format(Culture, GetResourceString("AmbiguousHandler"), p0, p1); 74=> string.Format(Culture, GetResourceString("InvalidPageType_WrongBase"), p0, p1); 80=> string.Format(Culture, GetResourceString("InvalidPageType_NoModelProperty"), p0, p1);
Microsoft.AspNetCore.Mvc.TagHelpers (6)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Mvc.TagHelpers\Release\net11.0\Microsoft.AspNetCore.Mvc.TagHelpers.Resources.cs (6)
34=> string.Format(Culture, GetResourceString("CannotDetermineAttributeFor"), p0, p1); 82=> string.Format(Culture, GetResourceString("TagHelperOutput_AttributeDoesNotExist"), p0, p1); 88=> string.Format(Culture, GetResourceString("PropertyOfTypeCannotBeNull"), p0, p1); 102=> string.Format(Culture, GetResourceString("ViewEngine_PartialViewNotFound"), p0, p1); 114=> string.Format(Culture, GetResourceString("ViewEngine_FallbackViewNotFound"), p0, p1); 120=> string.Format(Culture, GetResourceString("AttributeIsRequired"), p0, p1);
Microsoft.AspNetCore.Mvc.Testing (1)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Mvc.Testing\Release\net11.0\Microsoft.AspNetCore.Mvc.Testing.Resources.cs (1)
46=> string.Format(Culture, GetResourceString("MissingDepsFile"), p0, p1);
Microsoft.AspNetCore.Mvc.ViewFeatures (21)
DefaultDisplayTemplates.cs (1)
125var fieldName = string.Format(CultureInfo.InvariantCulture, "{0}[{1}]", oldPrefix, index++);
DefaultEditorTemplates.cs (1)
108var fieldName = string.Format(CultureInfo.InvariantCulture, "{0}[{1}]", oldPrefix, index++);
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Mvc.ViewFeatures\Release\net11.0\Microsoft.AspNetCore.Mvc.ViewFeatures.Resources.cs (18)
48=> string.Format(Culture, GetResourceString("ViewComponent_SyncMethod_ShouldReturnValue"), p0, p1); 80=> string.Format(Culture, GetResourceString("PropertyOfTypeCannotBeNull"), p0, p1); 86=> string.Format(Culture, GetResourceString("TypeMethodMustReturnNotNullValue"), p0, p1); 98=> string.Format(Culture, GetResourceString("Common_PartialViewNotFound"), p0, p1); 112=> string.Format(Culture, GetResourceString("ExpressionHelper_InvalidIndexerExpression"), p0, p1); 126=> string.Format(Culture, GetResourceString("HtmlHelper_MissingSelectData"), p0, p1); 170=> string.Format(Culture, GetResourceString("ViewData_WrongTModelType"), p0, p1); 176=> string.Format(Culture, GetResourceString("ViewEngine_PartialViewNotFound"), p0, p1); 182=> string.Format(Culture, GetResourceString("ViewEngine_ViewNotFound"), p0, p1); 196=> string.Format(Culture, GetResourceString("UnobtrusiveJavascript_ValidationParameterMustBeLegal"), p0, p1); 208=> string.Format(Culture, GetResourceString("UnobtrusiveJavascript_ValidationTypeMustBeLegal"), p0, p1); 226=> string.Format(Culture, GetResourceString("TemplatedExpander_PopulateValuesMustBeInvokedFirst"), p0, p1); 234=> string.Format(Culture, GetResourceString("ViewComponent_AmbiguousTypeMatch_Item"), p0, p1); 240=> string.Format(Culture, GetResourceString("Common_PropertyNotFound"), p0, p1); 260=> string.Format(Culture, GetResourceString("ViewComponentResult_NameOrTypeMustBeSet"), p0, p1); 284=> string.Format(Culture, GetResourceString("ValueInterfaceAbstractOrOpenGenericTypesCannotBeActivated"), p0, p1); 290=> string.Format(Culture, GetResourceString("CreateModelExpression_NullModelMetadata"), p0, p1); 318=> string.Format(Culture, GetResourceString("TempData_CannotSerializeType"), p0, p1);
ViewComponents\ViewViewComponentResult.cs (1)
99var qualifiedViewName = string.Format(
Microsoft.AspNetCore.OpenApi (2)
_generated\0\GeneratedRouteBuilderExtensions.g.cs (2)
299var message = string.Format(CultureInfo.InvariantCulture, "Failed to read parameter \"{0} {1}\" from the request body as JSON.", parameterTypeName, parameterName); 401var message = string.Format(CultureInfo.InvariantCulture, "Failed to read parameter \"{0} {1}\" from the request body as form.", parameterTypeName, parameterName);
Microsoft.AspNetCore.RateLimiting (1)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.RateLimiting\Release\net11.0\Microsoft.AspNetCore.RateLimiting.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("UnableToFindServices"), p0, p1);
Microsoft.AspNetCore.Razor.Utilities.Shared (8)
src\427269d77cf079ab\Microsoft.AspNetCore.Razor.SharedUtilities.Resources.CollectionUtilitiesSR.cs (4)
34=> string.Format(Culture, GetResourceString("0_1_must_be_a_non_negative_and_non_zero_value"), p0, p1); 40=> string.Format(Culture, GetResourceString("0_1_must_be_a_non_negative_value"), p0, p1); 46=> string.Format(Culture, GetResourceString("0_1_must_be_a_non_zero_value"), p0, p1); 100=> string.Format(Culture, GetResourceString("File_0_Line_1"), p0, p1);
src\427269d77cf079ab\Microsoft.AspNetCore.Razor.Utilities.Shared.Resources.SR.cs (4)
34=> string.Format(Culture, GetResourceString("0_1_must_be_a_non_negative_and_non_zero_value"), p0, p1); 40=> string.Format(Culture, GetResourceString("0_1_must_be_a_non_negative_value"), p0, p1); 46=> string.Format(Culture, GetResourceString("0_1_must_be_a_non_zero_value"), p0, p1); 112=> string.Format(Culture, GetResourceString("File_0_Line_1"), p0, p1);
Microsoft.AspNetCore.Rewrite (4)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Rewrite\Release\net11.0\Microsoft.AspNetCore.Rewrite.Resources.cs (4)
42=> string.Format(Culture, GetResourceString("Error_InputParserIndexOutOfRange"), p0, p1); 48=> string.Format(Culture, GetResourceString("Error_InputParserInvalidInteger"), p0, p1); 66=> string.Format(Culture, GetResourceString("Error_InputParserUnrecognizedParameter"), p0, p1); 80=> string.Format(Culture, GetResourceString("Error_ModRewriteParseError"), p0, p1);
Microsoft.AspNetCore.Routing (8)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Routing\Release\net11.0\Microsoft.AspNetCore.Routing.Resources.cs (8)
40=> string.Format(Culture, GetResourceString("RangeConstraint_MinShouldBeLessThanOrEqualToMax"), p0, p1); 46=> string.Format(Culture, GetResourceString("PropertyOfTypeCannotBeNull"), p0, p1); 64=> string.Format(Culture, GetResourceString("DefaultInlineConstraintResolver_AmbiguousCtors"), p0, p1); 70=> string.Format(Culture, GetResourceString("DefaultInlineConstraintResolver_CouldNotFindCtor"), p0, p1); 160=> string.Format(Culture, GetResourceString("TemplateRoute_Exception"), p0, p1); 166=> string.Format(Culture, GetResourceString("AmbiguousEndpoints"), p0, p1); 180=> string.Format(Culture, GetResourceString("RoutePattern_InvalidConstraintReference"), p0, p1); 218=> string.Format(Culture, GetResourceString("MapGroup_ChangingRoutePatternUnsupported"), p0, p1);
Microsoft.AspNetCore.Server.HttpSys (2)
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Server.HttpSys\Release\net11.0\Microsoft.AspNetCore.Server.HttpSys.Resources.cs (1)
38=> string.Format(Culture, GetResourceString("Exception_AccessDenied"), p0, p1);
UrlPrefix.cs (1)
20HostAndPort = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", Host, Port);
Microsoft.AspNetCore.Server.Kestrel.Core (28)
src\28168141adbe9f3e\Microsoft.AspNetCore.Server.Kestrel.Core.CoreStrings.cs (22)
132=> string.Format(Culture, GetResourceString("MaxRequestBufferSmallerThanRequestHeaderBuffer", new [] { "requestBufferSize", "requestHeaderSize" }), requestBufferSize, requestHeaderSize); 138=> string.Format(Culture, GetResourceString("MaxRequestBufferSmallerThanRequestLineBuffer", new [] { "requestBufferSize", "requestLineSize" }), requestBufferSize, requestLineSize); 212=> string.Format(Culture, GetResourceString("OverridingWithPreferHostingUrls", new [] { "settingName", "addresses" }), settingName, addresses); 228=> string.Format(Culture, GetResourceString("HeaderNotAllowedOnResponse", new [] { "name", "statusCode" }), name, statusCode); 240=> string.Format(Culture, GetResourceString("TooFewBytesWritten", new [] { "written", "expected" }), written, expected); 246=> string.Format(Culture, GetResourceString("TooManyBytesWritten", new [] { "written", "expected" }), written, expected); 302=> string.Format(Culture, GetResourceString("Http2ErrorStreamIdEven", new [] { "frameType", "streamId" }), frameType, streamId); 334=> string.Format(Culture, GetResourceString("Http2ErrorStreamClosed", new [] { "frameType", "streamId" }), frameType, streamId); 340=> string.Format(Culture, GetResourceString("Http2ErrorStreamHalfClosedRemote", new [] { "frameType", "streamId" }), frameType, streamId); 346=> string.Format(Culture, GetResourceString("Http2ErrorStreamSelfDependency", new [] { "frameType", "streamId" }), frameType, streamId); 352=> string.Format(Culture, GetResourceString("Http2ErrorUnexpectedFrameLength", new [] { "frameType", "expectedLength" }), frameType, expectedLength); 372=> string.Format(Culture, GetResourceString("Http2ErrorStreamIdle", new [] { "frameType", "streamId" }), frameType, streamId); 439=> string.Format(Culture, GetResourceString("Http2ErrorFrameOverLimit", new [] { "size", "limit" }), size, limit); 483=> string.Format(Culture, GetResourceString("Http2StreamErrorSchemeMismatch", new [] { "requestScheme", "transportScheme" }), requestScheme, transportScheme); 499=> string.Format(Culture, GetResourceString("Http3StreamErrorSchemeMismatch", new [] { "requestScheme", "transportScheme" }), requestScheme, transportScheme); 523=> string.Format(Culture, GetResourceString("ArgumentOutOfRange", new [] { "min", "max" }), min, max); 531=> string.Format(Culture, GetResourceString("Http2ErrorStreamAborted", new [] { "frameType", "streamId" }), frameType, streamId); 565=> string.Format(Culture, GetResourceString("QPackStringLengthTooLarge", new [] { "length", "maxStringLength" }), length, maxStringLength); 595=> string.Format(Culture, GetResourceString("SniNotConfiguredForServerName", new [] { "serverName", "endpointName" }), serverName, endpointName); 613=> string.Format(Culture, GetResourceString("EndpointHasUnusedHttpsConfig", new [] { "endpointName", "keyName" }), endpointName, keyName); 691=> string.Format(Culture, GetResourceString("Http3WebTransportStatusMismatch", new [] { "clientStatus", "serverStatus" }), clientStatus, serverStatus); 697=> string.Format(Culture, GetResourceString("Http3DatagramStatusMismatch", new [] { "clientStatus", "serverStatus" }), clientStatus, serverStatus);
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Server.Kestrel.Core\Release\net11.0\Microsoft.AspNetCore.Server.SharedStrings.cs (2)
34=> string.Format(Culture, GetResourceString("Http2ErrorUnexpectedFrameLength", new [] { "frameType", "expectedLength" }), frameType, expectedLength); 40=> string.Format(Culture, GetResourceString("Http2ErrorFrameOverLimit", new [] { "size", "limit" }), size, limit);
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.Server.Kestrel.Core\Release\net11.0\System.Net.Http.SR.cs (1)
56=> string.Format(Culture, GetResourceString("net_http_hpack_large_table_size_update"), p0, p1);
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
241string.Format( 286string.Format(CultureInfo.InvariantCulture, MacOSFindCertificateOnKeychainCommandLineArgumentsFormat, subject, keychain)) 343string.Format(CultureInfo.InvariantCulture, MacOSAddCertificateToKeyChainCommandLineArgumentsFormat, certificatePath, password))
Microsoft.AspNetCore.WebUtilities (2)
FormPipeReader.cs (1)
319string.Format(
src\aspnetcore\artifacts\obj\Microsoft.AspNetCore.WebUtilities\Release\net11.0\Microsoft.AspNetCore.WebUtilities.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("FormPipeReader_KeyOrValueTooLarge"), p0, p1);
Microsoft.Build (16)
BackEnd\Components\RequestBuilder\TaskHost.cs (5)
425Trace.Fail(String.Format(CultureInfo.CurrentUICulture, "Task at {0}, after already returning, attempted to log '{1}'", _taskLocation.ToString(), e.Message)); 495Trace.Fail(String.Format(CultureInfo.CurrentUICulture, "Task at {0}, after already returning, attempted to log '{1}'", _taskLocation.ToString(), e.Message)); 536Trace.Fail(String.Format(CultureInfo.CurrentUICulture, "Task at {0}, after already returning, attempted to log '{1}'", _taskLocation.ToString(), e.Message)); 577Trace.Fail(String.Format(CultureInfo.CurrentUICulture, "Task at {0}, after already returning, attempted to log '{1}'", _taskLocation.ToString(), e.Message)); 668Trace.Fail(String.Format(CultureInfo.CurrentUICulture, "Task at {0}, after already returning, attempted to log telemetry event '{1}'", _taskLocation.ToString(), eventName));
BackEnd\Shared\TargetResult.cs (1)
282string filename = Path.Combine(FileUtilities.GetCacheDirectory(), String.Format(CultureInfo.InvariantCulture, Path.Combine("Results{0}", "{1}.cache"), configId, targetToCache));
Construction\Solution\SolutionProjectGenerator.cs (3)
666return string.Format( 804_selectedSolutionConfiguration = String.Format(CultureInfo.InvariantCulture, "{0}|{1}", traversalInstance.GetProperty("Configuration").EvaluatedValue, traversalInstance.GetProperty("Platform").EvaluatedValue); 1192string directProjectProperties = String.Format(CultureInfo.InvariantCulture, "Configuration={0}; Platform={1}", projectConfiguration.ConfigurationName, projectConfiguration.PlatformName);
Definition\Project.cs (2)
2073Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Explicitly marked dirty, eg., because a global property was set, or an import, such as a .user file, was created on disk [{0}] [PC Hash {1}]", FullPath, ProjectCollection.GetHashCode())); 2096Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Is dirty because toolsets updated [{0}] [PC Hash {1}]", FullPath, ProjectCollection.GetHashCode()));
Graph\ProjectInterpretation.cs (2)
111String.Format( 478String.Format(
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
339WriteLinePretty(string.Format(CultureInfo.CurrentCulture, Microsoft.Build.Framework.Resources.SR.LogFileOutputPath, logger.LoggerName, displayPaths));
Logging\ParallelLogger\ParallelLoggerHelpers.cs (1)
651fullProjectKey = String.Format(CultureInfo.InvariantCulture, "{0}:{1}", _projectKey, _entryPointKey);
Logging\TerminalLogger\TerminalLogger.cs (1)
647Terminal.WriteLine(string.Format(CultureInfo.CurrentCulture, Microsoft.Build.Framework.Resources.SR.LogFileOutputPath, logger.LoggerName, displayPaths));
Microsoft.Build.Framework (15)
FileSystem\NativeWin32Exception.cs (1)
62return string.Format(CultureInfo.InvariantCulture, "Native: 0x{0:X}: {1}", nativeErrorCode, systemMessage);
FileUtilities.cs (1)
152cacheDirectory = Path.Combine(TempFileDirectory, string.Format(CultureInfo.CurrentUICulture, "MSBuild{0}-{1}", EnvironmentUtilities.CurrentProcessId, AppDomain.CurrentDomain.Id));
LoggersRegisteredEventArgs.cs (1)
83return string.Join("; ", withPaths.Select(l => string.Format(
src\msbuild\artifacts\obj\Microsoft.Build.Framework\Release\net11.0\Microsoft.Build.Framework.Resources.SR.cs (11)
40=> string.Format(Culture, GetResourceString("ArgumentOutOfRange_Generic_MustBeNonZero"), p0, p1); 46=> string.Format(Culture, GetResourceString("ArgumentOutOfRange_Generic_MustBeNonNegative"), p0, p1); 52=> string.Format(Culture, GetResourceString("ArgumentOutOfRange_Generic_MustBeNonNegativeNonZero"), p0, p1); 96=> string.Format(Culture, GetResourceString("PathTooLong"), p0, p1); 114=> string.Format(Culture, GetResourceString("LogFileOutputPath"), p0, p1); 146=> string.Format(Culture, GetResourceString("GlobExpansionFailed"), p0, p1); 190=> string.Format(Culture, GetResourceString("ParameterCannotHaveInvalidPathChars"), p0, p1); 196=> string.Format(Culture, GetResourceString("ConflictingTaskAssembly"), p0, p1); 208=> string.Format(Culture, GetResourceString("UnrecognizedToolsVersion"), p0, p1); 214=> string.Format(Culture, GetResourceString("NameInvalid"), p0, p1); 232=> string.Format(Culture, GetResourceString("TaskResourceNotFound"), p0, p1);
Utilities\MessageFormatter.cs (1)
115return string.Format(culture, format, arg0, arg1);
Microsoft.Build.NuGetSdkResolver (4)
GlobalJsonReader.cs (3)
76context.Logger.LogMessage(string.Format(CultureInfo.CurrentCulture, Strings.FailedToFindPathToGlobalJson, startingPath, e.Message)); 254sdkResolverContext.Logger.LogMessage(string.Format(CultureInfo.CurrentCulture, Strings.FailedToReadGlobalJson, globalJsonPath, e.Message)); 275sdkResolverContext.Logger.LogMessage(string.Format(CultureInfo.CurrentCulture, Strings.FailedToParseGlobalJson, globalJsonPath, e.Message));
NuGetSdkResolver.cs (1)
240logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.PackageWasNotInstalled, sdk, sdk.Name));
Microsoft.Build.Tasks.Core (7)
BootstrapperUtil\BootstrapperBuilder.cs (2)
1127XmlNodeList nodeList = targetNode.SelectNodes(BOOTSTRAPPER_PREFIX + string.Format(CultureInfo.InvariantCulture, ":*[@{0}='{1}']", attributeName, oldValue), _xmlNamespaceManager); 1994Stream s = a.GetManifestResourceStream(String.Format(CultureInfo.InvariantCulture, "{0}.{1}", typeof(BootstrapperBuilder).Namespace, name));
ManifestUtil\ManifestReader.cs (1)
247string tn = String.Format(CultureInfo.InvariantCulture, "{0}.{1}", ns, r.Name);
ManifestUtil\SecurityUtil.cs (3)
835throw new ApplicationException(String.Format(CultureInfo.InvariantCulture, resources.GetString("SecurityUtil.SigntoolFail"), path, signTool.StandardError.ReadToEnd())); 838throw new WarningException(String.Format(CultureInfo.InvariantCulture, resources.GetString("SecurityUtil.SigntoolWarning"), path, signTool.StandardError.ReadToEnd())); 841throw new ApplicationException(String.Format(CultureInfo.InvariantCulture, resources.GetString("SecurityUtil.SigntoolFail"), path, signTool.StandardError.ReadToEnd()));
RedistList.cs (1)
903Debug.Assert(isValidEntry, string.Format(CultureInfo.InvariantCulture, "Missing attribute in redist file: {0}, line #{1}", path,
Microsoft.CodeAnalysis (2)
Diagnostic\DiagnosticInfo.cs (1)
391return String.Format(formatProvider, "{0}: {1}",
PEWriter\ManagedResource.cs (1)
62string.Format(CultureInfo.CurrentUICulture, CodeAnalysisResources.ResourceStreamEndedUnexpectedly, bytesWritten, count));
Microsoft.CodeAnalysis.Analyzers (1)
MetaAnalyzers\Fixers\ApplyDiagnosticAnalyzerAttributeFix.cs (1)
47title = string.Format(CultureInfo.CurrentCulture, CodeAnalysisDiagnosticsResources.ApplyDiagnosticAnalyzerAttribute_2, LanguageNames.CSharp, LanguageNames.VisualBasic);
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\ValueContentAnalysis\ValueContentAbstractValue.cs (1)
287string.Format(CultureInfo.InvariantCulture, "L({0}) NL:{1}", LiteralValues.Count, NonLiteralState.ToString()[0]);
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CommandLineDiagnosticFormatter.cs (1)
40return string.Format(formatter, "({0},{1})",
Errors\MessageProvider.cs (1)
72return String.Format(culture, "{0} {1}",
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.NetCore.Analyzers\Runtime\LogValuesFormatter.cs (1)
140return string.Format(CultureInfo.InvariantCulture, _format, FormatArgument(arg0), FormatArgument(arg1));
Microsoft.NetFramework.Analyzers\TypesShouldNotExtendCertainBaseTypes.cs (1)
77string message = string.Format(CultureInfo.CurrentCulture, s_badBaseTypesToMessage[baseTypeName], namedTypeSymbol.ToDisplayString(), baseTypeName);
src\440320f3f10733a8\ValueContentAbstractValue.cs (1)
286string.Format(CultureInfo.InvariantCulture, "L({0}) NL:{1}", LiteralValues.Count, NonLiteralState.ToString()[0]);
Microsoft.CodeAnalysis.Razor.Compiler (46)
Language\Legacy\LocationTagged.cs (1)
75return string.Format(formatProvider, "{0}@{1}", Value, Location);
Language\SourceMapping.cs (1)
52return string.Format(CultureInfo.CurrentCulture, "{0} -> {1}", OriginalSpan, GeneratedSpan);
Language\Syntax\SyntaxExtensions.cs (6)
14return string.Format(CultureInfo.InvariantCulture, "{0} [{1}]", base.GetDebuggerDisplay(), this.GetContent()); 22return string.Format(CultureInfo.InvariantCulture, "{0} [{1}]", base.GetDebuggerDisplay(), this.GetContent()); 30return string.Format(CultureInfo.InvariantCulture, "{0} [{1}]", base.GetDebuggerDisplay(), this.GetContent()); 38return string.Format(CultureInfo.InvariantCulture, "{0} [{1}]", base.GetDebuggerDisplay(), this.GetContent()); 46return string.Format(CultureInfo.InvariantCulture, "{0} [{1}]", base.GetDebuggerDisplay(), this.GetContent()); 54return string.Format(CultureInfo.InvariantCulture, "{0} [{1}]", base.GetDebuggerDisplay(), this.GetContent());
Language\Syntax\SyntaxNode.cs (1)
562return string.Format(CultureInfo.InvariantCulture, "{0};[{1}]", Kind, ToString());
src\f37f1e773e0ba562\Microsoft.AspNetCore.Mvc.Razor.Extensions.RazorExtensionsResources.cs (2)
84=> string.Format(Culture, GetResourceString("PageDirectiveCannotBeImported"), p0, p1); 126=> string.Format(Culture, GetResourceString("ViewComponent_SyncMethod_ShouldReturnValue"), p0, p1);
src\f37f1e773e0ba562\Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X.Resources.cs (1)
82=> string.Format(Culture, GetResourceString("PageDirectiveCannotBeImported"), p0, p1);
src\f37f1e773e0ba562\Microsoft.NET.Sdk.Razor.SourceGenerators.Diagnostics.RazorSourceGeneratorResources.cs (2)
36=> string.Format(Culture, GetResourceString("InvalidRazorLangMessage"), p0, p1); 52=> string.Format(Culture, GetResourceString("RecomputingTagHelpersMessage"), p0, p1);
src\roslyn\artifacts\obj\Microsoft.CodeAnalysis.Razor.Compiler\Release\net11.0\Microsoft.AspNetCore.Razor.Language.ComponentResources.cs (5)
40=> string.Format(Culture, GetResourceString("BindTagHelper_Component_Documentation"), p0, p1); 50=> string.Format(Culture, GetResourceString("BindTagHelper_Element_Documentation"), p0, p1); 90=> string.Format(Culture, GetResourceString("ComponentTypeParameter_Documentation"), p0, p1); 96=> string.Format(Culture, GetResourceString("EventHandlerTagHelper_Documentation"), p0, p1); 130=> string.Format(Culture, GetResourceString("PageDirectiveCannotBeImported"), p0, p1);
src\roslyn\artifacts\obj\Microsoft.CodeAnalysis.Razor.Compiler\Release\net11.0\Microsoft.AspNetCore.Razor.Language.Resources.cs (23)
78=> string.Format(Culture, GetResourceString("Diagnostic_CodeTarget_UnsupportedExtension"), p0, p1); 182=> string.Format(Culture, GetResourceString("IntermediateNodeReference_NodeNotFound"), p0, p1); 190=> string.Format(Culture, GetResourceString("IntermediateNodes_InvalidParentNode"), p0, p1); 196=> string.Format(Culture, GetResourceString("InvalidOperation_SpanIsNotChangeOwner"), p0, p1); 218=> string.Format(Culture, GetResourceString("MismatchedContentEncoding"), p0, p1); 238=> string.Format(Culture, GetResourceString("ParseError_Expected_CloseBracket_Before_EOF"), p0, p1); 350=> string.Format(Culture, GetResourceString("RenderingContextRequiresDelegate"), p0, p1); 384=> string.Format(Culture, GetResourceString("TagHelper_InvalidBoundAttributeNullOrWhitespace"), p0, p1); 414=> string.Format(Culture, GetResourceString("TagHelper_InvalidTargetedAttributeName"), p0, p1); 422=> string.Format(Culture, GetResourceString("TagHelper_InvalidTargetedParentTagName"), p0, p1); 430=> string.Format(Culture, GetResourceString("TagHelper_InvalidTargetedTagName"), p0, p1); 440=> string.Format(Culture, GetResourceString("TagHelperBlockRewriter_IndexerAttributeNameMustIncludeKey"), p0, p1); 448=> string.Format(Culture, GetResourceString("TagHelperParseTreeRewriter_CannotHaveNonTagContent"), p0, p1); 525=> string.Format(Culture, GetResourceString("UnexpectedDirectiveLiteral"), p0, p1); 531=> string.Format(Culture, GetResourceString("UnexpectedEOFAfterDirective"), p0, p1); 543=> string.Format(Culture, GetResourceString("PropertyMustNotBeNull"), p0, p1); 549=> string.Format(Culture, GetResourceString("RazorProjectEngineMissingFeatureDependency"), p0, p1); 561=> string.Format(Culture, GetResourceString("VirtualFileSystem_FileDoesNotBelongToDirectory"), p0, p1); 611=> string.Format(Culture, GetResourceString("TagHelper_InvalidRequiredDirectiveAttributeName"), p0, p1); 631=> string.Format(Culture, GetResourceString("ParseError_Unexpected_Identifier_At_Position"), p0, p1); 637=> string.Format(Culture, GetResourceString("Component_EditorRequiredParameterNotSpecified"), p0, p1); 667=> string.Format(Culture, GetResourceString("0_and_1_cannot_both_be_used_for_a_single_builder"), p0, p1); 673=> string.Format(Culture, GetResourceString("Cannot_add_item_with_key_0_to_an_existing_1"), p0, p1);
src\roslyn\artifacts\obj\Microsoft.CodeAnalysis.Razor.Compiler\Release\net11.0\Microsoft.CodeAnalysis.Razor.CodeAnalysisResources.cs (4)
58=> string.Format(Culture, GetResourceString("TagHelper_InvalidRequiredAttributeCharacter"), p0, p1); 64=> string.Format(Culture, GetResourceString("TagHelper_InvalidRequiredAttributeMismatchedQuotes"), p0, p1); 70=> string.Format(Culture, GetResourceString("TagHelper_InvalidRequiredAttributeOperator"), p0, p1); 76=> string.Format(Culture, GetResourceString("TagHelper_PartialRequiredAttributeOperator"), p0, p1);
Microsoft.CodeAnalysis.Scripting (1)
Hosting\ObjectFormatter\CommonObjectFormatter.cs (1)
98builder.Append(string.Format(CultureInfo.CurrentUICulture, ScriptingResources.AtFileLine, fileName, frame.GetFileLineNumber()));
Microsoft.CodeAnalysis.VisualBasic (1)
Errors\MessageProvider.vb (1)
112Return String.Format(culture, "{0} {1}",
Microsoft.CSharp (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.AI.Evaluation.Reporting (2)
Storage\DiskBasedResponseCache.cs (2)
149string.Format( 167string.Format(
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (2)
Storage\AzureStorageResponseCache.cs (2)
96string.Format( 117string.Format(
Microsoft.Extensions.Caching.Memory (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Caching.SqlServer (2)
SqlQueries.cs (2)
59var tableNameWithSchema = string.Format( 69TableInfo = string.Format(CultureInfo.InvariantCulture, TableInfoFormat, EscapeLiteral(schemaName), EscapeLiteral(tableName));
Microsoft.Extensions.Configuration (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.Abstractions (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.Binder (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.Binder.SourceGeneration (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.CommandLine (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.FileExtensions (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.Ini (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.Json (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.UserSecrets (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.Xml (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.DependencyInjection (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.DependencyInjection.Abstractions (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.DependencyModel (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Diagnostics (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.FileProviders.Abstractions (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.FileProviders.Physical (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.FileSystemGlobbing (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Hosting (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Hosting.Abstractions (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Http (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Http.Polly (1)
src\aspnetcore\artifacts\obj\Microsoft.Extensions.Http.Polly\Release\netstandard2.0\Microsoft.Extensions.Http.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("PolicyHttpMessageHandler_PolicySelector_ReturnedNull"), p0, p1);
Microsoft.Extensions.Identity.Core (2)
IdentityResult.cs (1)
74string.Format(CultureInfo.InvariantCulture, "{0} : {1}", "Failed", string.Join(",", Errors.Select(x => x.Code).ToList()));
src\aspnetcore\artifacts\obj\Microsoft.Extensions.Identity.Core\Release\net11.0\Microsoft.Extensions.Identity.Core.Resources.cs (1)
90=> string.Format(Culture, GetResourceString("NoTokenProvider"), p0, p1);
Microsoft.Extensions.Logging (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Logging.Abstractions (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Logging.Configuration (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Logging.Console (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Logging.Generators (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Options (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Options.SourceGeneration (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Primitives (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Interop.ComInterfaceGenerator (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Interop.JavaScript.JSImportGenerator (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Interop.LibraryImportGenerator (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Interop.SourceGeneration (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.ML.Core (2)
Utilities\Contracts.cs (2)
814DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}: {1}", paramName, msg)); 818DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}: {1}", paramName, msg), ctx);
Microsoft.ML.CpuMath (2)
src\Microsoft.ML.Core\Utilities\Contracts.cs (2)
814DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}: {1}", paramName, msg)); 818DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}: {1}", paramName, msg), ctx);
Microsoft.ML.Maml (1)
MAML.cs (1)
140string.Format(CultureInfo.InvariantCulture, "Error_{0:yyyyMMdd_HHmmss}_{1}.log", DateTime.UtcNow, Guid.NewGuid()));
Microsoft.ML.Transforms (1)
Expression\Tokens.cs (1)
26return string.Format(CultureInfo.InvariantCulture, "({0},{1})", Min, Lim);
Microsoft.NET.Build.Extensions.Tasks (1)
src\sdk\src\Tasks\Common\ConflictResolution\ConflictResolver.cs (1)
173string conflictMessage = string.Format(CultureInfo.CurrentCulture, Strings.EncounteredConflict_Info,
Microsoft.NET.Build.Tasks (1)
src\sdk\src\Tasks\Common\ConflictResolution\ConflictResolver.cs (1)
173string conflictMessage = string.Format(CultureInfo.CurrentCulture, Strings.EncounteredConflict_Info,
Microsoft.Net.Http.Headers (2)
HttpHeaderParser.cs (2)
49throw new FormatException(string.Format(CultureInfo.InvariantCulture, 158throw new FormatException(string.Format(CultureInfo.InvariantCulture,
Microsoft.NET.Sdk.Publish.Tasks (9)
MsDeploy\CommonUtility.cs (7)
705strSucceedFailMsg = string.Format(CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_SucceedPackage, Path.GetFileName(destRoot), string.IsNullOrEmpty(dirUri) ? destRoot : dirUri); 781strSucceedFailMsg = string.Format(CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_SucceedPackage, Path.GetFileName(destRoot), string.IsNullOrEmpty(dirUri) ? destRoot : dirUri); 1158string errMessage = string.Format(CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_UnknownParameter, name, sb.ToString()); 1684Log.LogError(string.Format(CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_FailedWithExceptionWithDetail, e.Message, strBuilder.ToString())); 1837task.Log.LogMessage(Framework.MessageImportance.Low, string.Format(CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_MSDEPLOYVERSIONLOAD, task.ToString(), MSWebDeploymentAssembly.DynamicAssembly?.AssemblyFullName)); 1838task.Log.LogMessage(Framework.MessageImportance.Low, string.Format(CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_MSDEPLOYVERSIONLOAD, task.ToString(), MSWebDelegationAssembly.DynamicAssembly?.AssemblyFullName)); 1843task.Log.LogMessage(Framework.MessageImportance.Low, string.Format(CultureInfo.CurrentCulture, Resources.BUILDTASK_FailedToLoadThisVersionMsDeployTryingTheNext, versionArray[i], e.Message));
MsDeploy\VsMSDeployObject.cs (1)
351return string.Format(System.Globalization.CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_ObjectIdentity, m_provider.ToString(), root);
Tasks\MsDeploy\VsMsdeploy.cs (1)
443string strMsg = string.Format(System.Globalization.CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_Start, _src.ToString(), _dest.ToString());
Microsoft.TestPlatform.AdapterUtilities (3)
Helpers\ReflectionHelpers.cs (2)
19throw new NotImplementedException(string.Format(CultureInfo.CurrentCulture, Resources.Resources.MethodNotImplementedOnPlatform, className, methodName)); 69string.Format(CultureInfo.CurrentCulture, Resources.Resources.ErrorInvalidSequenceAt, escapedStringSegment, i)
ManagedNameUtilities\ManagedNameHelper.Reflection.cs (1)
290string message = string.Format(CultureInfo.CurrentCulture, Resources.Resources.ErrorMethodNotFound, methodName, managedTypeName);
Microsoft.TestPlatform.CommunicationUtilities (3)
DataCollectionRequestSender.cs (1)
215logMessage = string.Format(CultureInfo.CurrentCulture, CommonResources.DataCollectorMessageFormat, dataCollectionMessageEventArgs.FriendlyName, dataCollectionMessageEventArgs.Message);
TestRequestSender.cs (2)
263throw new TestPlatformException(string.Format( 308throw new TestPlatformException(string.Format(CultureInfo.CurrentCulture, CommonResources.VersionCheckTimedout, timeout, EnvironmentHelper.VstestConnectionTimeout));
Microsoft.TestPlatform.CoreUtilities (4)
Tracing\EqtTrace.cs (2)
750string.Format( 779string.Format(
Utilities\JobQueue.cs (1)
361_exceptionLogger(string.Format(CultureInfo.CurrentCulture, Resources.ExceptionFromJobProcessor, _displayName, e));
ValidateArg.cs (1)
222var message = string.Format(CultureInfo.CurrentCulture, Resources.Error_ArgumentPropertyNotTypeOf, propertyName, typeof(T).FullName);
Microsoft.TestPlatform.CrossPlatEngine (11)
Client\ProxyOperationManager.cs (3)
272string.Format( 526throw new TestPlatformException(string.Format(CultureInfo.CurrentCulture, CrossPlatEngineResources.TestHostExitedWithError, string.Join("', '", sources), BuildCrashErrorContext(_testHostProcessFileName, _testHostProcessStdError))); 559errorMsg = string.Format(CultureInfo.CurrentCulture, CrossPlatEngineResources.TestHostExitedWithError, string.Join("', '", sources), BuildCrashErrorContext(_testHostProcessFileName, _testHostProcessStdError));
DataCollection\ProxyDataCollectionManager.cs (1)
273string.Format(CultureInfo.InvariantCulture, "Process Id: {0}, Name: {1}", processId, _processHelper.GetProcessName(processId)),
Discovery\DiscovererEnumerator.cs (2)
258var message = string.Format( 316string.Format(CultureInfo.CurrentCulture, CrossPlatEngineResources.NoTestsAvailableForGivenTestCaseFilter, testCaseFilterToShow, sourcesString));
Discovery\DiscoveryContext.cs (1)
54var errorMessage = string.Format(CultureInfo.CurrentCulture, CrossPlatEngineResources.UnsupportedPropertiesInTestCaseFilter, invalidPropertiesString, validPropertiesSttring);
Execution\BaseRunTests.cs (2)
390string.Format( 547string.Format(
Execution\RunTestsWithSources.cs (2)
83string.Format(CultureInfo.CurrentCulture, CrossPlatEngineResources.NoTestsAvailableForGivenTestCaseFilter, testCaseFilterToShow, sourcesString)); 191string errorMessage = string.Format(
Microsoft.TestPlatform.Extensions.BlameDataCollector (2)
BlameCollector.cs (1)
233var message = string.Format(CultureInfo.CurrentCulture, Resources.Resources.InactivityTimeout, value, unit);
WindowsHangDumper.cs (1)
62var message = string.Format(CultureInfo.CurrentCulture, Resources.Resources.Dumping, process.Id, process.ProcessName);
Microsoft.TestPlatform.TestHostRuntimeProvider (3)
Hosting\DotnetTestHostManager.cs (3)
430string message = string.Format(CultureInfo.CurrentCulture, TestHostResources.CouldNotFindTesthost, sourcePath, sourceDirectory); 482string message = string.Format(CultureInfo.CurrentCulture, TestHostResources.CouldNotFindTesthost, sourcePath, sourceDirectory); 522string message = string.Format(CultureInfo.CurrentCulture, TestHostResources.NoDotnetMuxerFoundForArchitecture, $"dotnet{(_platformEnvironment.OperatingSystem == PlatformOperatingSystem.Windows ? ".exe" : string.Empty)}", finalTargetArchitecture.ToString());
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (2)
VsTestConsoleProcessManager.cs (2)
174throw new Exception(string.Format(CultureInfo.CurrentCulture, InternalResources.ProcessStartWin32Failure, consoleRunnerPath, arguments), ex); 275args.Add(string.Format(CultureInfo.InvariantCulture, DiagArgument, parameters.LogFilePath, parameters.TraceLevel));
Microsoft.VisualStudio.TestPlatform.Common (5)
DataCollection\DataCollectionManager.cs (3)
557LogWarning(string.Format(CultureInfo.CurrentCulture, Resources.Resources.DataCollectorInitializationError, dataCollectorSettings.FriendlyName, ex)); 578dataCollectorInfo.Logger.LogError(_dataCollectionEnvironmentContext.SessionDataCollectionContext, string.Format(CultureInfo.CurrentCulture, Resources.Resources.DataCollectorInitializationError, dataCollectorConfig.FriendlyName, ex)); 676string.Format(CultureInfo.CurrentCulture, Resources.Resources.DataCollectorErrorOnGetVariable, friendlyName, ex));
ExtensionFramework\TestExtensionManager.cs (1)
155string.Format(CultureInfo.CurrentCulture, CommonResources.InvalidExtensionUriFormat, extension.Metadata.ExtensionUri, e));
RunSettings.cs (1)
203string.Format(
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (1)
HtmlLogger.cs (1)
369throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, HtmlResource.CannotGenerateUniqueFilePath, fileName, TestResultsDirPath));
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (4)
ObjectModel\TestElement.cs (1)
207return string.Format(
TrxLogger.cs (1)
504ConsoleOutput.Instance.Error(false, string.Format(CultureInfo.CurrentCulture, TrxLoggerResources.TrxLoggerWriteFailed, trxFileName, ex.Message));
Utility\TrxFileHelper.cs (2)
326throw new Exception(string.Format(CultureInfo.CurrentCulture, TrxLoggerResources.Common_CannotGetNextIterationName, originalName, baseDirectoryName)); 347var tryMe = string.Format(
Microsoft.VisualStudio.TestPlatform.ObjectModel (23)
Client\FilterOptions.cs (1)
34sb.AppendLine(string.Format(CultureInfo.CurrentCulture,
DataCollector\DataCollectionRunSettings.cs (4)
142string.Format( 166string.Format( 200string.Format( 219string.Format(
DataCollector\DataCollectorSettings.cs (2)
189string.Format( 215string.Format(
Logger\LoggerRunSettings.cs (2)
126string.Format( 178string.Format(
Logger\LoggerSettings.cs (4)
150string.Format( 173string.Format( 188string.Format( 217string.Format(
Nuget.Frameworks\CompatibilityCacheKey.cs (1)
61return string.Format(
Nuget.Frameworks\FrameworkRange.cs (1)
94return string.Format(CultureInfo.InvariantCulture, "[{0}, {1}]", Min.ToString(), Max.ToString());
Nuget.Frameworks\NuGetFramework.cs (1)
300var sb = new StringBuilder(string.Format(CultureInfo.InvariantCulture, "{0}.{1}", version.Major, version.Minor));
Nuget.Frameworks\OneWayCompatibilityMappingEntry.cs (1)
64return String.Format(CultureInfo.InvariantCulture, "{0} -> {1}", TargetFrameworkRange.ToString(), SupportedFrameworkRange.ToString());
RunSettings\RunConfiguration.cs (1)
1079string.Format(
RunSettings\TestRunParameters.cs (1)
65string.Format(
TestProperty\TestProperty.cs (1)
72throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.Resources.UnexpectedTypeOfProperty, valueType, id));
Utilities\XmlRunSettingsUtilities.cs (3)
259throw new SettingsException(string.Format(CultureInfo.CurrentCulture, "{0} {1}", Resources.CommonResources.MalformedRunSettingsFile, ex.Message), ex); 327string.Format( 383string.Format(CultureInfo.CurrentCulture, "{0} {1}", Resources.CommonResources.MalformedRunSettingsFile, ex.Message),
Microsoft.Web.XmlTransform (6)
NamedTypeFactory.cs (2)
49throw new XmlTransformationException(string.Format(System.Globalization.CultureInfo.CurrentCulture,Resources.XMLTRANSFORMATION_UnknownTypeName, typeName, typeof(ObjectType).Name)); 52throw new XmlTransformationException(string.Format(System.Globalization.CultureInfo.CurrentCulture,Resources.XMLTRANSFORMATION_IncorrectBaseType, type.FullName, typeof(ObjectType).Name));
XmlLocator.cs (2)
126throw new XmlTransformationException(string.Format(System.Globalization.CultureInfo.CurrentCulture,Resources.XMLTRANSFORMATION_RequiresMinimumArguments, GetType().Name, min)); 134throw new XmlTransformationException(string.Format(System.Globalization.CultureInfo.CurrentCulture, Resources.XMLTRANSFORMATION_RequiresExactArguments, GetType().Name, min));
XmlLocators.cs (1)
39string keySegment = String.Format(CultureInfo.InvariantCulture, "@{0}='{1}'", keyAttribute.Name, keyAttribute.Value);
XmlTransforms.cs (1)
459identifier.Append(String.Format(System.Globalization.CultureInfo.InvariantCulture, "@{0}='{1}'", match, val));
Microsoft.Win32.Registry (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Win32.Registry.AccessControl (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Win32.SystemEvents (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
NuGet.Build.Tasks (1)
CheckForDuplicateNuGetItemsTask.cs (1)
64string.Format(
NuGet.Build.Tasks.Console (3)
MSBuildStaticGraphRestore.cs (3)
316throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PackageDownload_OnlyExactVersionsAreAllowed, id, versionRange.OriginalString)); 729MSBuildLogger.LogInformation(string.Format(CultureInfo.CurrentCulture, 912var message = string.Format(CultureInfo.CurrentCulture, Strings.Error_ReadingProjectInformation, projectName ?? Path.GetFileNameWithoutExtension(projectPath), innerException.Message);
NuGet.Build.Tasks.Pack (5)
PackTaskLogic.cs (5)
286throw new PackagingException(NuGetLogCode.NU5032, string.Format( 295throw new PackagingException(NuGetLogCode.NU5034, string.Format( 461string.Format(CultureInfo.CurrentCulture, 548string.Format(CultureInfo.CurrentCulture, 885string.Format(CultureInfo.CurrentCulture,
NuGet.CommandLine.XPlat (31)
Commands\Package\Download\PackageDownloadRunner.cs (4)
80logger.LogMinimal(string.Format( 103logger.LogError(string.Format( 161logger.LogError(string.Format( 267string.Format(
Commands\Package\Update\PackageUpdateCommandRunner.cs (1)
813return string.Format(CultureInfo.CurrentCulture, Strings.PackageUpdate_FinalSummary, updatedCount, scannedCount);
Commands\PackageReferenceCommands\AddPackageReferenceCommand.cs (2)
157throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PkgMissingArgument, 169throw new ArgumentException(string.Format(CultureInfo.CurrentCulture,
Commands\PackageReferenceCommands\AddPackageReferenceCommandRunner.cs (4)
33packageReferenceArgs.Logger.LogInformation(string.Format(CultureInfo.CurrentCulture, 96throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, 247packageReferenceArgs.Logger.LogInformation(string.Format(CultureInfo.CurrentCulture, 261packageReferenceArgs.Logger.LogInformation(string.Format(CultureInfo.CurrentCulture,
Commands\PackageReferenceCommands\ListPackage\ListPackageCommandRunner.cs (1)
124string.Format(CultureInfo.CurrentCulture, Strings.ListPkg_InvalidFramework, frameworkAlias, projectPath));
Commands\PackageReferenceCommands\RemovePackageReferenceCommand.cs (2)
72throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PkgMissingArgument, 84throw new ArgumentException(string.Format(CultureInfo.CurrentCulture,
Commands\PackageReferenceCommands\RemovePackageReferenceCommandRunner.cs (1)
18packageReferenceArgs.Logger.LogInformation(string.Format(CultureInfo.CurrentCulture,
Commands\PackageSearch\PackageSearchArgs.cs (1)
53throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidOptionValue, number, option));
Commands\Signing\SignCommand.cs (3)
194throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PkgMissingArgument, 227throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, 245throw new ArgumentException(string.Format(CultureInfo.CurrentCulture,
Commands\Signing\VerifyCommand.cs (1)
96throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PkgMissingArgument,
Commands\Why\WhyCommandRunner.cs (3)
75string.Format(CultureInfo.CurrentCulture, 85string.Format(CultureInfo.CurrentCulture, 290string message = string.Format(
Messages.cs (3)
27return string.Format(CultureInfo.CurrentCulture, Strings.Unsupported_UpdatePackageWithDifferentPerTfmVersions, packageId, projectPath); 39return string.Format(CultureInfo.CurrentCulture, Strings.Warning_AlreadyUsingSameVersion, packageId, version); 69return string.Format(CultureInfo.CurrentCulture, Strings.Error_CannotUpgradeAutoReferencedPackage, project, packageId);
UILanguageOverride.cs (2)
62Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidCultureInfo, DOTNET_CLI_UI_LANGUAGE, dotnetCliLanguage)); 77Logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_InvalidCultureInfo, VSLANG, vsLang));
Utility\CommandLineUtility.cs (1)
61throw new ArgumentException(string.Format(CultureInfo.CurrentCulture,
Utility\HttpSourcesUtility.cs (2)
43error = string.Format( 51error = string.Format(
NuGet.Commands (59)
CommandRunners\DeleteRunner.cs (1)
37throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_HttpSource_Single, "delete", packageSource.Source));
CommandRunners\PackCommandRunner.cs (5)
177string.Format( 210string.Format( 262string.Format( 428string.Format( 773string.Format(
CommandRunners\PushRunner.cs (1)
89throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_HttpSource_Single, "push", packageSource.Source));
ListCommand\ListCommandRunner.cs (2)
89string.Format(CultureInfo.CurrentCulture, 97string.Format(CultureInfo.CurrentCulture,
MSBuildProjectFactory.cs (1)
176Logger.Log(PackagingLogMessage.CreateWarning(string.Format(
RestoreCommand\CompatibilityIssue.cs (5)
144var supports = string.Format(CultureInfo.CurrentCulture, 149var noSupports = string.Format(CultureInfo.CurrentCulture, 158var message = string.Format(CultureInfo.CurrentCulture, 175var message = string.Format(CultureInfo.CurrentCulture, 258return string.Format(CultureInfo.CurrentCulture,
RestoreCommand\Diagnostics\UnresolvedMessages.cs (5)
125message = string.Format(CultureInfo.CurrentCulture, Strings.Error_NoPackageVersionsExist, unresolved.Name, sourceList); 146firstLine = string.Format(CultureInfo.CurrentCulture, Strings.Error_NoStablePackageVersionsExist, unresolved.Name, rangeString); 151firstLine = string.Format(CultureInfo.CurrentCulture, Strings.Error_NoPackageVersionsExistInRange, unresolved.Name, rangeString); 177message = string.Format(CultureInfo.CurrentCulture, 244return string.Format(CultureInfo.CurrentCulture,
RestoreCommand\LockFileBuilder.cs (2)
304var message = string.Format(CultureInfo.CurrentCulture, 583string.Format(
RestoreCommand\ProjectRestoreCommand.cs (1)
199string.Format(CultureInfo.CurrentCulture,
RestoreCommand\RequestFactory\RestoreSpecException.cs (1)
49completeMessage = string.Format(
RestoreCommand\ResolverRequest.cs (1)
24return string.Format(CultureInfo.CurrentCulture, Strings.ResolverRequest_ToStringFormat, Request.ToString(), Requestor.ToString());
RestoreCommand\RestoreCommand.cs (10)
707string.Format(CultureInfo.CurrentCulture, Strings.Error_HttpSource_Single, "restore", source.Source))); 715string.Format(CultureInfo.CurrentCulture, Strings.Warning_HttpServerUsage, "restore", source.Source)); 1063string.Format(CultureInfo.CurrentCulture, Strings.Log_AliasContainsDisallowedCharacters, project.Name, alias))); 1072string.Format(CultureInfo.CurrentCulture, Strings.Log_AliasContainsDisallowedCharacters, project.Name, alias))); 1079string.Format(CultureInfo.CurrentCulture, Strings.Log_AliasContainsDisallowedCharacters, project.Name, alias))); 1327string.Format( 1883message = string.Format( 2035var message = string.Format(CultureInfo.CurrentCulture, Strings.Log_ProjectDoesNotSpecifyTargetFrameworks, _request.Project.Name, _request.Project.FilePath); 2212var message = string.Format(CultureInfo.CurrentCulture, Strings.Log_ProjectDoesNotSpecifyTargetFrameworks, _request.Project.Name, _request.Project.FilePath); 2383var message = string.Format(CultureInfo.CurrentCulture, Strings.Log_AliasingSupportedInNewDependencyResolver, request.Project.Name, SdkAnalysisLevelMinimums.V10_0_300);
RestoreCommand\RestoreRunner.cs (2)
312string.Format( 320log.LogMinimal(string.Format(
RestoreCommand\RestoreSummary.cs (2)
178logger.LogInformationSummary(" " + string.Format( 194logger.LogMinimal(string.Format(CultureInfo.CurrentCulture, Strings.Log_ProjectUpToDateSummary, noOpCount, restoreSummaries.Count));
RestoreCommand\RestoreTargetGraph.cs (1)
104return string.Format(
RestoreCommand\Utility\MSBuildRestoreUtility.cs (2)
358var message = string.Format( 882throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PackageDownload_OnlyExactVersionsAreAllowed, id, versionRange.OriginalString));
RestoreCommand\Utility\NoOpRestoreUtilities.cs (4)
115request.Log.LogVerbose(string.Format(CultureInfo.CurrentCulture, Strings.Log_TargetsFileNotOnDisk, request.Project.Name, targetsFilePath)); 121request.Log.LogVerbose(string.Format(CultureInfo.CurrentCulture, Strings.Log_PropsFileNotOnDisk, request.Project.Name, propsFilePath)); 129request.Log.LogVerbose(string.Format(CultureInfo.CurrentCulture, Strings.Log_LockFileNotOnDisk, request.Project.Name, packageLockFilePath)); 161string.Format(CultureInfo.InvariantCulture, Strings.Error_CouldNotUpdateMetadataLastAccessTime,
RestoreCommand\Utility\PackageSpecFactory.cs (1)
734throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PackageDownload_OnlyExactVersionsAreAllowed, id, versionRange.OriginalString));
RestoreCommand\Utility\SpecValidationUtility.cs (4)
186var message = string.Format( 198var message = string.Format( 210var message = string.Format( 228var message = string.Format(
SignCommand\CertificateProvider.cs (1)
73string.Format(CultureInfo.CurrentCulture,
SourcesCommands\SourceRunners.cs (4)
72string.Format(CultureInfo.CurrentCulture, 165getLogger().LogMinimal(string.Format(CultureInfo.CurrentCulture, "{0}{1}", sourcePadding, source.Source)); 290throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_HttpSource_Single, "update source", args.Source)); 384throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_HttpSource_Single, "enable source", packageSource.Source));
TrustedSignersCommand\TrustedSignersCommandRunner.cs (2)
225trustedSignerBuilder.AppendLine(index + string.Format(CultureInfo.CurrentCulture, Strings.TrustedSignerLogTitle, item.Name, item.ElementName)); 244trustedSignerBuilder.AppendLine(defaultIndentation + extraIndentation + string.Format(CultureInfo.CurrentCulture, summaryAllowUntrustedRoot, cert.HashAlgorithm.ToString(), cert.Fingerprint));
VerifyCommand\VerifyCommandRunner.cs (1)
144logger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.VerifyCommand_FinishedWithErrors, errors, warnings));
NuGet.Common (5)
ConcurrencyUtilities.cs (2)
96var message = string.Format( 186var message = string.Format(
PathUtil\NuGetEnvironment.cs (1)
78throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture,
PathUtil\PathUtility.cs (2)
393return string.Format( 400return string.Format(
NuGet.Configuration (36)
PackageSource\PackageSourceProvider.cs (2)
421throw new NuGetConfigurationException(string.Format( 943string message = string.Format(CultureInfo.CurrentCulture, Resources.ShowError_ConfigDuplicateDisabledSources, duplicatedKey.Key, filePath);
Settings\Items\CertificateItem.cs (1)
84throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile,
Settings\Items\CredentialsItem.cs (5)
156throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.Error_MoreThanOneUsername, origin.ConfigFilePath)); 165throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.Error_MoreThanOnePassword, origin.ConfigFilePath)); 175throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.Error_MoreThanOnePassword, origin.ConfigFilePath)); 185throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.Error_MoreThanOneValidAuthenticationTypes, origin.ConfigFilePath)); 194throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.CredentialsItemMustHaveUsernamePassword, origin.ConfigFilePath));
Settings\Items\FileClientCertItem.cs (2)
62throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, 70throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture,
Settings\Items\MinPublishAgeExceptionItem.cs (1)
71string.Format(
Settings\Items\OwnersItem.cs (1)
47string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.OwnersMustOnlyHaveContent, origin.ConfigFilePath));
Settings\Items\PackageSourceMappingSourceItem.cs (1)
85throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_ItemNeedsAtLeastOnePackagePatternWithPath, Key, origin.ConfigFilePath));
Settings\Items\RepositoryItem.cs (2)
74string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, 75string.Format(CultureInfo.CurrentCulture, Resources.RepositoryMustHaveOneOwners, Name, ServiceIndex),
Settings\Items\TrustedSignerItem.cs (2)
64string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.TrustedSignerMustHaveCertificates, origin.ConfigFilePath)); 78string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.TrustedSignerMustHaveCertificates, origin.ConfigFilePath));
Settings\SettingElement.cs (11)
89throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_InvalidAttribute, attribute.Key, attribute.Value)); 150throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_InvalidAttribute, attributeName, newValue)); 181throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_InvalidAttribute, attributeName, value)); 240throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, 241string.Format(CultureInfo.CurrentCulture, Resources.NoAttributesAllowed, element.Name.LocalName, element.Attributes().Count()), 249throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, 250string.Format(CultureInfo.CurrentCulture, Resources.AttributeNotAllowed, attribute.Name.LocalName, element.Name.LocalName), 263throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, 264string.Format(CultureInfo.CurrentCulture, Resources.MissingRequiredAttribute, requireAttribute, element.Name.LocalName), 277throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, 291throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile,
Settings\SettingFactory.cs (1)
187throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_DuplicatePackageSource, duplicatedKey, source));
Settings\SettingItem.cs (1)
33throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.ShowError_CannotHaveChildren, element.Name.LocalName, origin.ConfigFilePath));
Settings\SettingsFile.cs (4)
226string.Format(CultureInfo.CurrentCulture, Resources.ShowError_ConfigInvalidOperation, ConfigFilePath, e.Message), e); 232string.Format(CultureInfo.CurrentCulture, Resources.ShowError_ConfigUnauthorizedAccess, ConfigFilePath, e.Message), e); 238string.Format(CultureInfo.CurrentCulture, Resources.ShowError_ConfigInvalidXml, ConfigFilePath, e.Message), e); 244string.Format(CultureInfo.CurrentCulture, Resources.Unknown_Config_Exception, ConfigFilePath, e.Message), e);
Settings\SettingText.cs (1)
78throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.TextShouldNotBeEmpty, origin.ConfigFilePath));
Utility\SettingsUtility.cs (1)
453var message = string.Format(
NuGet.Credentials (7)
PluginCredentialProvider.cs (1)
123_logger.LogWarning(string.Format(CultureInfo.CurrentCulture, Resources.PluginWarning_PluginIsBeingDeprecated, Path, CrossPlatformPluginLink));
PluginException.cs (5)
64string.Format(CultureInfo.CurrentCulture, Resources.PluginException_Exception_Format, path, inner.GetType().Name), 82string.Format(CultureInfo.CurrentCulture, Resources.PluginException_Timeout_Format, path, timeoutMillis)); 119return new PluginException(string.Format(CultureInfo.CurrentCulture, Resources.PluginException_PathNotFound_Format, path, 136return new PluginException(string.Format(CultureInfo.CurrentCulture, Resources.PluginException_Abort_Format, path, message)); 154return new PluginException(string.Format(
PluginUnexpectedStatusException.cs (1)
66string.Format(CultureInfo.CurrentCulture, Resources.PluginException_UnexpectedStatus_Format, path, status));
NuGet.DependencyResolver.Core (3)
LibraryRangeCacheKey.cs (1)
60return string.Format(CultureInfo.InvariantCulture, "{0} {1}", LibraryRange, Framework);
ResolverUtility.cs (2)
97var message = string.Format(CultureInfo.CurrentCulture, 590context.Logger.LogDebug(string.Format(CultureInfo.CurrentCulture, Strings.Log_MatchingSourceFoundForPackage, packageName, string.Join(",", remoteDependencyProviders.Select(provider => provider.Source.Name))));
NuGet.Frameworks (5)
CompatibilityCacheKey.cs (1)
61return string.Format(
FrameworkRange.cs (1)
94return string.Format(CultureInfo.InvariantCulture, "[{0}, {1}]", Min.ToString(), Max.ToString());
FrameworkRuntimePair.cs (2)
47return string.Format( 76return string.Format(
OneWayCompatibilityMappingEntry.cs (1)
54return String.Format(CultureInfo.InvariantCulture, "{0} -> {1}", TargetFrameworkRange.ToString(), SupportedFrameworkRange.ToString());
NuGet.PackageManagement (35)
FileModifiers\XdtTransformer.cs (1)
137string.Format(
IDE\PackageRestoreManager.cs (1)
393packageRestoreContext.Logger.Log(LogLevel.Error, string.Format(CultureInfo.CurrentCulture, Strings.Error_HttpSource_Single, "restore", source.Source));
NuGetPackageManager.cs (10)
1804var alreadyInstalledMessage = string.Format(CultureInfo.CurrentCulture, Strings.PackageAlreadyExistsInProject, packageIdentity, projectName ?? string.Empty); 1947throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Strings.UnableToResolveDependencyInfo, packageIdentity, resolutionContext.DependencyBehavior)); 2098string.Format(CultureInfo.CurrentCulture, 2108throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, 2205throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.PackageToBeUninstalledCouldNotBeFound, 2237throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.PackageToBeUninstalledCouldNotBeFound, 2295throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.PackageToBeUninstalledCouldNotBeFound, 2336throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.PackageToBeUninstalledCouldNotBeFound, 2665var identityString = string.Format(CultureInfo.InvariantCulture, "{0} {1}", 3401var identityString = string.Format(CultureInfo.InvariantCulture, "{0} {1}",
PackageDownloader.cs (4)
208errors.AppendLine(string.Format(CultureInfo.CurrentCulture, 321throw new FatalProtocolException(string.Format( 330throw new RetriableProtocolException(string.Format( 339throw new FatalProtocolException(string.Format(
Projects\MSBuildNuGetProject.cs (1)
267string.Format(CultureInfo.CurrentCulture,
Projects\PackagesConfigNuGetProject.cs (4)
174throw new InvalidOperationException(string.Format( 228throw new InvalidOperationException(string.Format( 299throw new InvalidOperationException(string.Format( 340throw new InvalidOperationException(string.Format(
Projects\ProjectJsonNuGetProject.cs (2)
324string.Format(CultureInfo.CurrentCulture, Strings.ErrorLoadingPackagesConfig, _jsonConfig.FullName, ex.Message), ex); 343string.Format(CultureInfo.CurrentCulture, Strings.ErrorLoadingPackagesConfig, _jsonConfig.FullName, ex.Message), ex);
Resolution\GatherExceptionHelpers.cs (1)
51logger.LogMinimal(string.Format(
Resolution\ResolverGather.cs (7)
224packageIdentity = string.Format(CultureInfo.CurrentCulture, "{0} {1}", targetId, pid.Version); 229string message = String.Format(CultureInfo.CurrentCulture, Strings.PackageNotFoundInPrimarySources, packageIdentity, allPrimarySources); 242string.Format(CultureInfo.CurrentCulture, "{0}\t-\t{1}", key, DatetimeUtility.ToReadableTimeFormat(time))); 415_context.Log.LogDebug(string.Format(CultureInfo.CurrentCulture, "Package {0} from source {1} gathered from cache.", request.Package.Id, request.Source.Source.PackageSource.Name)); 465string message = String.Format(CultureInfo.CurrentCulture, Strings.UnableToGatherPackageFromSource, request.Package.Id, request.Source.Source.PackageSource.Source); 471string message = String.Format(CultureInfo.CurrentCulture, Strings.UnableToGatherPackageFromSource, request.Package.Id, request.Source.Source.PackageSource.Source); 664string message = String.Format(CultureInfo.CurrentCulture, Strings.ExceptionWhenTryingToAddSource, ex.GetType().ToString(), currentSource);
Resolution\UninstallResolver.cs (2)
144return new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, 148return new InvalidOperationException(string.Format(CultureInfo.CurrentCulture,
StringFormatter.cs (1)
14return string.Format(
Utility\MSBuildNuGetProjectSystemUtility.cs (1)
113var conflictMessage = string.Format(CultureInfo.CurrentCulture,
NuGet.Packaging (63)
Core\PackageDependency.cs (1)
106return string.Format(CultureInfo.InvariantCulture, "{0} {1}", Id, VersionRange.ToNormalizedString());
Core\PackageDependencyGroup.cs (1)
109return String.Format(CultureInfo.InvariantCulture, "[{0}] ({1})", TargetFramework, String.Join(", ", Packages));
Core\PackageDependencyInfo.cs (1)
82return string.Format(CultureInfo.InvariantCulture, "{0} : {1}", base.ToString(), string.Join(", ", Dependencies.Select(e => e.ToString()).OrderBy(e => e, StringComparer.OrdinalIgnoreCase)));
Core\PackageIdentity.cs (1)
123? String.Format(CultureInfo.InvariantCulture, ToStringFormat, Id, Version!.ToNormalizedString())
NupkgMetadata\NupkgMetadataFileFormat.cs (1)
65string message = (string.Format(CultureInfo.CurrentCulture,
NuspecReader.cs (3)
302var message = string.Format( 525string.Format( 614var message = string.Format(
PackageCreation\Authoring\Manifest.cs (1)
305throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, NuGetResources.DuplicateDependenciesDefined, metadata.Id, dependency.Id));
PackageCreation\Authoring\ManifestReader.cs (2)
172throw new InvalidDataException(string.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_PropertyValueReadFailure, value, element.Name.LocalName), ex); 230throw new PackagingException(NuGetLogCode.NU5034, string.Format(
PackageCreation\Authoring\PackageBuilder.cs (4)
616errorMessage = string.Format(CultureInfo.CurrentCulture, NuGetResources.Manifest_LicenseFileIsNotInNupkgWithHint, licenseMetadata.License, licenseFilePathWithIncorrectCase); 658errorMessage = string.Format(CultureInfo.CurrentCulture, NuGetResources.IconNoFileElementWithHint, iconPath, iconPathWithIncorrectCase); 687string.Format(CultureInfo.CurrentCulture, NuGetResources.IconCannotOpenFile, iconPath, e.Message)); 808string.Format(CultureInfo.CurrentCulture, NuGetResources.ReadmeCannotOpenFile, readmePath, e.Message));
PackageExtraction\ZipArchiveExtensions.cs (1)
114string message = string.Format(
PackageExtractor.cs (4)
536logger.LogWarning(string.Format( 560logger.LogWarning(string.Format( 760logger.LogWarning(string.Format( 864logger.LogWarning(string.Format(
PackagePathResolver.cs (1)
39string.Format(CultureInfo.CurrentCulture, Strings.MustContainAbsolutePath, nameof(rootDirectory), rootDirectory),
PackageReaderBase.cs (2)
473string.Format( 560throw new UnsafePackageEntryException(string.Format(
PackageReference.cs (1)
114return String.Format(CultureInfo.InvariantCulture, "{0} {1}", PackageIdentity.ToString(), TargetFramework.ToString());
PackagesConfigReader.cs (3)
158throw new PackagesConfigReaderException(string.Format( 168throw new PackagesConfigReaderException(string.Format( 181throw new PackagesConfigReaderException(string.Format(
PackagesConfigWriter.cs (3)
237throw new PackagesConfigWriterException(string.Format(CultureInfo.CurrentCulture, 352throw new PackagesConfigWriterException(string.Format(CultureInfo.CurrentCulture, 579string.Format(
Rules\AccidentallyCompatibleWithAllFrameworksRule.cs (1)
91issue.Add(PackagingLogMessage.CreateWarning(string.Format(CultureInfo.CurrentCulture, MessageFormat, tfmNames, suggestedDirectories),
Rules\DefaultManifestValuesRule.cs (1)
84string.Format(CultureInfo.CurrentCulture, MessageFormat, value, field),
Rules\ReferencesInNuspecMatchRefAssetsRule.cs (2)
141message.AppendLine(string.Format(CultureInfo.CurrentCulture, _addToRefFormat, item, file.Tfm)); 155message.AppendLine(string.Format(CultureInfo.CurrentCulture, _addToNuspecFormat, item, reference.Tfm));
Signing\Archive\ReadOnlyBufferedStream.cs (1)
169string.Format(
Signing\Archive\SignedPackageArchiveIOUtility.cs (2)
474var failureCause = string.Format( 496var failureCause = string.Format(
Signing\Authoring\SigningOptions.cs (1)
130string.Format(
Signing\Signatures\Signature.cs (7)
156issues.Add(SignatureLog.InformationLog(string.Format(CultureInfo.CurrentCulture, 227issues.Add(SignatureLog.Issue(!settings.AllowIllegal, NuGetLogCode.NU3012, string.Format(CultureInfo.CurrentCulture, Strings.VerifyChainBuildingIssue, FriendlyName, message))); 239issues.Add(SignatureLog.Error(NuGetLogCode.NU3012, string.Format(CultureInfo.CurrentCulture, Strings.VerifyChainBuildingIssue, FriendlyName, messages.First()))); 271unknownRevocationMessage = string.Format(CultureInfo.CurrentCulture, Strings.VerifyChainBuildingIssue, FriendlyName, unknownRevocationStatusMessages!.First()); 278issues.Add(SignatureLog.InformationLog(string.Format(CultureInfo.CurrentCulture, Strings.VerifyChainBuildingIssue, FriendlyName, Strings.VerifyCertTrustOfflineWhileRevocationModeOffline))); 290issues.Add(SignatureLog.Issue(!settings.AllowUnknownRevocation, NuGetLogCode.NU3018, string.Format(CultureInfo.CurrentCulture, Strings.VerifyChainBuildingIssue, FriendlyName, Strings.VerifyCertTrustOfflineWhileRevocationModeOnline))); 311string.Format(
Signing\Timestamp\Rfc3161TimestampProvider.cs (2)
163var errorMessage = string.Format(CultureInfo.CurrentCulture, 182var errorMessage = string.Format(CultureInfo.CurrentCulture,
Signing\Timestamp\Rfc3161TimestampRequestNetstandard21Wrapper.cs (1)
64string.Format(
Signing\Timestamp\Timestamp.cs (7)
133issues.Add(SignatureLog.InformationLog(string.Format(CultureInfo.CurrentCulture, 185issues.Add(SignatureLog.Issue(treatIssueAsError, NuGetLogCode.NU3028, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampVerifyChainBuildingIssue, signature.FriendlyName, message))); 208issues.Add(SignatureLog.Error(NuGetLogCode.NU3028, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampVerifyChainBuildingIssue, signature.FriendlyName, messages!.First()))); 224unknownRevocationMessage = string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampVerifyChainBuildingIssue, signature.FriendlyName, unknownRevocationStatusMessages!.First()); 231issues.Add(SignatureLog.InformationLog(string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampVerifyChainBuildingIssue, signature.FriendlyName, Strings.VerifyCertTrustOfflineWhileRevocationModeOffline))); 243issues.Add(SignatureLog.Issue(!settings.AllowUnknownRevocation, NuGetLogCode.NU3028, string.Format(CultureInfo.CurrentCulture, Strings.VerifyError_TimestampVerifyChainBuildingIssue, signature.FriendlyName, Strings.VerifyCertTrustOfflineWhileRevocationModeOnline))); 267string.Format(
Signing\TrustedSigners\TrustedSignersProvider.cs (1)
105string.Format(CultureInfo.CurrentCulture, Strings.ConflictingAllowUntrustedRoot, certificate.HashAlgorithm.ToString(), certificate.Fingerprint),
Signing\Utility\CertificateUtility.cs (4)
53issues.Add(SignatureLog.MinimalLog($"{indentation}{string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityCertificateHash, fingerprintAlgorithm.ToString(), certificateFingerprint)}")); 55issues.Add(SignatureLog.MinimalLog($"{indentation}{string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityCertificateValidity, cert.NotBefore, cert.NotAfter)}")); 76certStringBuilder.AppendLine(indentation + string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityCertificateHash, fingerprintAlgorithm.ToString(), certificateFingerprint)); 78certStringBuilder.AppendLine(indentation + string.Format(CultureInfo.CurrentCulture, Strings.CertUtilityCertificateValidity, cert.NotBefore, cert.NotAfter));
Signing\Verification\CertificateHashAllowListEntry.cs (1)
44string.Format(
Signing\Verification\SignedPackageVerifierSettings.cs (2)
124string.Format( 138string.Format(
NuGet.ProjectModel (11)
CacheFileFormat.cs (1)
66log.LogWarning(string.Format(CultureInfo.CurrentCulture,
FileFormatException.cs (1)
90var message = string.Format(CultureInfo.CurrentCulture,
JsonPackageSpecReader.Utf8JsonStreamReader.cs (1)
735string.Format(
LockFile\LockFileFormat.cs (1)
166log.LogError(string.Format(CultureInfo.CurrentCulture,
ProjectLockFile\PackagesLockFileFormat.cs (1)
82log.LogInformation(string.Format(CultureInfo.CurrentCulture,
ProjectLockFile\PackagesLockFileUtilities.cs (6)
113invalidReasons.Add(string.Format( 132invalidReasons.Add(string.Format( 208invalidReasons.Add(string.Format( 273invalidReasons.Add(string.Format( 445string.Format( 587string.Format(
NuGet.Protocol (67)
DependencyInfo\DependencyInfo.cs (1)
21return string.Format(CultureInfo.InvariantCulture, "{0} {1}", Id, Range);
DependencyInfo\PackageInfo.cs (1)
24return string.Format(CultureInfo.InvariantCulture, "{0} {1}", Registration.Id, Version.ToNormalizedString());
DependencyInfo\RegistrationInfo.cs (1)
23return string.Format(CultureInfo.InvariantCulture, "{0} Packages: {1}", Id, Packages.Count);
HttpSource\HttpRetryHandler.cs (1)
139log.LogInformation(" " + string.Format(
HttpSource\HttpSource.cs (2)
90log.LogInformation(string.Format(CultureInfo.InvariantCulture, " " + Strings.Http_RequestLog, "CACHE", request.Uri)); 528string.Format(
LegacyFeed\DependencyInfoResourceV2Feed.cs (2)
56var error = String.Format(CultureInfo.CurrentCulture, Strings.Protocol_PackageMetadataError, package, _source); 87var error = String.Format(CultureInfo.CurrentCulture, Strings.Protocol_PackageMetadataError, packageId, _source);
LegacyFeed\DownloadResourceV2Feed.cs (1)
103string message = string.Format(CultureInfo.CurrentCulture, Strings.Log_ErrorDownloading, identity, _feedParser.Source);
LegacyFeed\MetadataResourceV2Feed.cs (2)
80throw new FatalProtocolException(string.Format(CultureInfo.CurrentCulture, Strings.Protocol_PackageMetadataError, packageId, _source), ex); 96throw new FatalProtocolException(string.Format(CultureInfo.CurrentCulture, Strings.Protocol_PackageMetadataError, identity, _source), ex);
LegacyFeed\V2FeedParser.cs (2)
438var uri = string.Format(CultureInfo.InvariantCulture, "{0}{1}", _baseAddress, relativeUri); 569var message = string.Format(
LegacyFeed\V2FeedQueryBuilder.cs (4)
122var uri = string.Format( 235.Aggregate((a, b) => string.Format(CultureInfo.InvariantCulture, AndFormat, a, b)); 303.Aggregate((a, b) => string.Format(CultureInfo.InvariantCulture, OrFormat, a, b)); 315return string.Format(
LocalRepositories\LocalDependencyInfoResource.cs (2)
79var error = string.Format(CultureInfo.CurrentCulture, Strings.Protocol_PackageMetadataError, package, _localResource.Root); 128var error = string.Format(
LocalRepositories\LocalMetadataResource.cs (1)
95throw new FatalProtocolException(string.Format(CultureInfo.CurrentCulture,
LocalRepositories\LocalV2FindPackageByIdResource.cs (2)
442var message = string.Format(CultureInfo.CurrentCulture, Strings.Protocol_PackageMetadataError, nupkgInfo.Name, _source); 448var message = string.Format(CultureInfo.CurrentCulture, Strings.Protocol_PackageMetadataError, nupkgInfo.Name, _source);
LocalRepositories\LocalV3FindPackageByIdResource.cs (2)
456var message = string.Format(CultureInfo.CurrentCulture, Strings.Protocol_PackageMetadataError, id + "." + version, _source); 463var message = string.Format(CultureInfo.CurrentCulture, Strings.Protocol_PackageMetadataError, id + "." + version, _source);
Model\LocalPackageSearchMetadata.cs (1)
158fileContent = string.Format(CultureInfo.CurrentCulture, Strings.LoadFileFromNupkg_FileTooLarge, path, "5");
Model\PackageSearchMetadata.cs (1)
270string.Format(
Plugins\ConnectionOptions.cs (1)
78string.Format(
Plugins\Messages\HandshakeRequest.cs (1)
59string.Format(
Plugins\PluginFactory.cs (2)
280string.Format(CultureInfo.CurrentCulture, Strings.Plugin_Exception, plugin.Name, ex.Message)); 412var message = string.Format(
Plugins\PluginManager.cs (1)
286string.Format(CultureInfo.CurrentCulture,
RemoteRepositories\HttpFileSystemBasedFindPackageByIdResource.cs (2)
549var message = string.Format(CultureInfo.CurrentCulture, Strings.Log_RetryingFindPackagesById, nameof(FindPackagesByIdAsync), uri) 568var message = string.Format(
RemoteRepositories\PluginFindPackageByIdResource.cs (2)
428string.Format( 444var message = string.Format(
RemoteRepositories\RemoteV2FindPackageByIdResource.cs (2)
546var message = string.Format(CultureInfo.CurrentCulture, Strings.Log_RetryingFindPackagesById, nameof(FindPackagesByIdAsyncCore), uri) 553var message = string.Format(
RemoteSourceDependencyInfo.cs (1)
97return String.Format(CultureInfo.InvariantCulture, "{0} : {1}", Identity, String.Join(" ,", DependencyGroups));
Resources\DependencyInfoResourceV3.cs (3)
94var error = String.Format(CultureInfo.CurrentCulture, Strings.Protocol_PackageMetadataError, package, _source); 132var error = string.Format(CultureInfo.CurrentCulture, Strings.Protocol_PackageMetadataError, packageId, _source); 158var error = string.Format(CultureInfo.CurrentCulture, Strings.Protocol_PackageMetadataError, packageId, _source);
Resources\DownloadResourcePlugin.cs (1)
136string.Format(CultureInfo.CurrentCulture,
Resources\MetadataResourceV3.cs (1)
75throw new FatalProtocolException(string.Format(CultureInfo.CurrentCulture, Strings.Protocol_PackageMetadataError, id, _regResource.BaseUri), ex);
Resources\PackageUpdateResource.cs (9)
192log.LogInformation(string.Format(CultureInfo.CurrentCulture, 234log.LogWarning(string.Format(CultureInfo.CurrentCulture, 325log.LogWarning(string.Format(CultureInfo.CurrentCulture, 365log.LogInformation(string.Format(CultureInfo.CurrentCulture, 441logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_HttpServerUsage, "push", serviceEndpointUrl)); 494logger.LogInformation(string.Format( 575messageToLog = string.Format( 743logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.Error_HttpServerUsage, "delete", sourceUri)); 924string.Format(CultureInfo.InvariantCulture, TempApiKeyServiceEndpoint, packageIdentity.Id, packageIdentity.Version), noServiceEndpoint);
Resources\RegistrationResourceV3.cs (1)
59return new Uri(string.Format(CultureInfo.InvariantCulture, "{0}/{1}/index.json",
Resources\RepositorySignatureResource.cs (4)
34throw new FatalProtocolException(string.Format(CultureInfo.CurrentCulture, Strings.Log_FailedToParseRepoSignInfor, JsonProperties.AllRepositorySigned, source.PackageSource.Source)); 36throw new FatalProtocolException(string.Format(CultureInfo.CurrentCulture, Strings.Log_FailedToParseRepoSignInfor, JsonProperties.SigningCertificates, source.PackageSource.Source)); 59throw new FatalProtocolException(string.Format(CultureInfo.CurrentCulture, Strings.Log_FailedToParseRepoSignInfor, JsonProperties.AllRepositorySigned, source.PackageSource.Source)); 62throw new FatalProtocolException(string.Format(CultureInfo.CurrentCulture, Strings.Log_FailedToParseRepoSignInfor, JsonProperties.SigningCertificates, source.PackageSource.Source));
UserAgentStringBuilder.cs (1)
77return string.Format(
Utility\DownloadTimeoutStream.cs (1)
84var timeoutMessage = string.Format(
Utility\FindPackagesByIdNupkgDownloader.cs (2)
294var message = string.Format( 318var message = string.Format(
Utility\GetDownloadResultUtility.cs (2)
116var message = string.Format(CultureInfo.CurrentCulture, Strings.Log_ErrorDownloading, identity, uri) 123var message = string.Format(CultureInfo.CurrentCulture, Strings.Log_ErrorDownloading, identity, uri);
Utility\LocalFolderUtility.cs (1)
1233var message = string.Format(
Utility\OfflineFeedUtility.cs (3)
164var message = string.Format( 181var message = string.Format(CultureInfo.CurrentCulture, 216var message = string.Format(
NuGet.Resolver (3)
ResolverPackage.cs (1)
101return String.Format(CultureInfo.InvariantCulture, "{0} {1}", Id, Version);
ResolverUtility.cs (2)
157var problemPackageString = String.Format(CultureInfo.InvariantCulture, "{0} {1}", 193var dependencyString = String.Format(CultureInfo.InvariantCulture, "{0} {1}", dependencyId,
NuGet.Versioning (1)
ResourcesFormatter.cs (1)
25message: string.Format(CultureInfo.CurrentCulture, Resources.CannotBeNullWhenParameterIsNotNull, parameterThatIsNull, parameterThisIsNotNull),
PresentationBuildTasks (2)
Microsoft\Build\Tasks\Windows\UidManager.cs (2)
1107string clause = string.Format( 1119string clause = string.Format(
PresentationCore (9)
System\Windows\Input\Stylus\Common\StylusButton.cs (1)
101return String.Format(CultureInfo.CurrentCulture, "{0}({1})", base.ToString(), this.Name);
System\Windows\Input\Stylus\Common\StylusDevice.cs (1)
163return String.Format(CultureInfo.CurrentCulture, "{0}({1})", base.ToString(), this.Name);
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (1)
180return String.Format(CultureInfo.CurrentCulture, "{0}({1})", base.ToString(), Name);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
1088return String.Format(CultureInfo.CurrentCulture, "{0}({1})", base.ToString(), this.Name);
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (1)
162return String.Format(CultureInfo.CurrentCulture, "{0}({1})", base.ToString(), Name);
System\Windows\Media\Visual.cs (1)
1983String.Format(System.Globalization.CultureInfo.InvariantCulture,
System\Windows\Media3D\Visual3D.cs (1)
655String.Format(System.Globalization.CultureInfo.InvariantCulture,
System\Windows\Media3D\Visual3DCollection.cs (1)
551String.Format(
System\Windows\RoutedEvent.cs (1)
110return string.Format(CultureInfo.InvariantCulture, "{0}.{1}", _ownerType.Name, _name );
PresentationFramework (2)
System\Windows\Controls\PageRanges.cs (1)
143rangeText = String.Format(CultureInfo.InvariantCulture, SR.PrintDialogPageRange, _pageFrom, _pageTo);
System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
153string.Format(CultureInfo.InvariantCulture, SR.DatePickerTextBox_TemplatePartIsOfIncorrectType, partName, typeof(T).Name));
PresentationUI (1)
MS\Internal\Documents\Application\AddressUtility.cs (1)
46address = string.Format(
ReachFramework (8)
PrintConfig\PrintSchemaShim.cs (1)
160string xPathString = string.Format(
PrintConfig\PrtCap_Public_Simple.cs (1)
162return String.Format(CultureInfo.CurrentCulture, "({0}, {1})",
PrintConfig\PrtCap_Public.cs (1)
497throw NewPrintCapFormatException(String.Format(CultureInfo.CurrentCulture,
PrintConfig\PrtCap_Reader.cs (2)
50throw NewPrintCapFormatException(String.Format(CultureInfo.CurrentCulture, 84throw NewPrintCapFormatException(String.Format(CultureInfo.CurrentCulture,
PrintConfig\PrtTicket_Editor.cs (3)
44throw NewPTFormatException(String.Format(CultureInfo.CurrentCulture, 71throw NewPTFormatException(String.Format(CultureInfo.CurrentCulture, 116throw NewPTFormatException(String.Format(CultureInfo.CurrentCulture,
RepoTasks (3)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
241string.Format( 286string.Format(CultureInfo.InvariantCulture, MacOSFindCertificateOnKeychainCommandLineArgumentsFormat, subject, keychain)) 343string.Format(CultureInfo.InvariantCulture, MacOSAddCertificateToKeyChainCommandLineArgumentsFormat, certificatePath, password))
rzc (1)
CommandLine\CommandLineApplication.cs (1)
554return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
System.CodeDom (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Collections (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Collections.Concurrent (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Collections.Immutable (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Collections.NonGeneric (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Collections.Specialized (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ComponentModel.Annotations (6)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System\ComponentModel\DataAnnotations\CompareAttribute.cs (1)
29string.Format(
System\ComponentModel\DataAnnotations\FileExtensionsAttribute.cs (1)
43string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, ExtensionsFormatted);
System\ComponentModel\DataAnnotations\MaxLengthAttribute.cs (1)
97string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, Length);
System\ComponentModel\DataAnnotations\MinLengthAttribute.cs (1)
80string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, Length);
System\ComponentModel\DataAnnotations\RegularExpressionAttribute.cs (1)
91return string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, Pattern);
System.ComponentModel.Composition (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ComponentModel.Composition.Registration (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ComponentModel.EventBasedAsync (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ComponentModel.Primitives (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ComponentModel.TypeConverter (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Composition.Convention (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Composition.Hosting (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Composition.Runtime (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Composition.TypedParts (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Configuration.ConfigurationManager (4)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System\Configuration\MgmtConfigurationRecord.cs (2)
2050utilWriter.Write(string.Format(CultureInfo.InvariantCulture, FormatLocationNoPath, 2962updatedXml = string.Format(CultureInfo.InvariantCulture, FormatSectionConfigSource,
System\Configuration\OverrideModeSetting.cs (1)
227result = string.Format(CultureInfo.InvariantCulture,
System.Console (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Data.Common (3)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System\Data\DataTable.cs (2)
668info.AddValue(string.Format(CultureInfo.InvariantCulture, "DataTable_{0}.DataColumn_{1}.Expression", serIndex, i), Columns[i].Expression); 679string expr = info.GetString(string.Format(CultureInfo.InvariantCulture, "DataTable_{0}.DataColumn_{1}.Expression", serIndex, i))!;
System.Data.Odbc (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Data.OleDb (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Diagnostics.DiagnosticSource (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Diagnostics.EventLog (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Diagnostics.FileVersionInfo (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Diagnostics.PerformanceCounter (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Diagnostics.Process (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Diagnostics.TextWriterTraceListener (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Diagnostics.TraceSource (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.DirectoryServices (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.DirectoryServices.AccountManagement (2)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System\DirectoryServices\AccountManagement\AD\RangeRetriever.cs (1)
158string rangedAttribute = string.Format(
System.DirectoryServices.Protocols (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Drawing.Common (1)
Special\SR.cs (1)
76: string.Format(provider, resourceFormat, p1, p2);
System.Drawing.Primitives (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Formats.Asn1 (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Formats.Cbor (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Formats.Nrbf (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Formats.Tar (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Compression (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Compression.Brotli (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Compression.ZipFile (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.FileSystem.AccessControl (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.FileSystem.DriveInfo (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.FileSystem.Watcher (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Hashing (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.IsolatedStorage (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.MemoryMappedFiles (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Packaging (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Pipelines (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Pipes (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Ports (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Linq (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Linq.AsyncEnumerable (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Linq.Expressions (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Linq.Parallel (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Linq.Queryable (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Management (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Memory (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Memory.Data (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Http (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Http.Json (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Http.WinHttpHandler (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.HttpListener (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Mail (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.NameResolution (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.NetworkInformation (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Ping (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Primitives (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Quic (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Requests (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Security (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.ServerSentEvents (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Sockets (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.WebClient (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.WebHeaderCollection (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.WebSockets (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.WebSockets.Client (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Numerics.Tensors (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ObjectModel (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Private.CoreLib (3)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.cs (2)
331Write(string.Format(FormatProvider, format, arg0, arg1)); 558WriteLine(string.Format(FormatProvider, format, arg0, arg1));
System.Private.DataContractSerialization (3)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System\Runtime\Serialization\SchemaImporter.cs (2)
973memberTypeContract = ImportAnonymousElement(element, new XmlQualifiedName(string.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace)); 1087XmlQualifiedName fullName = new XmlQualifiedName(string.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace);
System.Private.Reflection.Execution (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Private.TypeLoader (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Private.Uri (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Private.Xml (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Private.Xml.Linq (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Reflection.Context (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Reflection.DispatchProxy (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Reflection.Emit (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Reflection.Metadata (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Reflection.MetadataLoadContext (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Reflection.TypeExtensions (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Resources.Extensions (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Resources.Writer (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Runtime.Caching (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Runtime.InteropServices (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Runtime.InteropServices.JavaScript (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Runtime.Numerics (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Runtime.Serialization.Formatters (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Runtime.Serialization.Primitives (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Runtime.Serialization.Schema (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.AccessControl (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Claims (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Cryptography (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Cryptography.Cose (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Cryptography.Pkcs (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Cryptography.ProtectedData (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Cryptography.Xml (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Permissions (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Principal.Windows (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
259connectionGroupName = string.Format(CultureInfo.InvariantCulture, "{0}[{1}]", connectionGroupName,
System.ServiceModel.NetTcp (1)
System\ServiceModel\Channels\TcpChannelFactory.cs (1)
42return string.Format(CultureInfo.InvariantCulture, @"[{0}, {1}]", normalizedHost, port);
System.ServiceModel.Primitives (18)
Internals\System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
90return string.Format(CultureInfo.CurrentCulture, "{0}/{1}", source.GetType().ToString(), source.GetHashCode());
Internals\System\Xml\XmlMtomWriter.cs (4)
438Writer.WriteValue(string.Format(CultureInfo.InvariantCulture, "{0}{1}", MimeGlobals.ContentIDScheme, _contentID)); 481Writer.WriteString(string.Format(CultureInfo.InvariantCulture, "{0}{1}", MimeGlobals.ContentIDScheme, _contentID)); 493return string.Format(CultureInfo.InvariantCulture, "http://tempuri.org/{0}/{1}", index, DateTime.Now.Ticks); 1056return string.Format(CultureInfo.InvariantCulture, "{0}{1}", prefix, nextId);
System\IdentityModel\Claims\Claim.cs (1)
241return string.Format(CultureInfo.CurrentCulture, "{0}: {1}", _right, _claimType);
System\IdentityModel\Tokens\EncryptedKeyIdentifierClause.cs (1)
70return string.Format(CultureInfo.InvariantCulture, "EncryptedKeyIdentifierClause(EncryptedKey = {0}, Method '{1}')",
System\IdentityModel\Tokens\LocalIdKeyIdentifierClause.cs (1)
92return string.Format(CultureInfo.InvariantCulture, "LocalIdKeyIdentifierClause(LocalId = '{0}', Owner = '{1}')", LocalId, OwnerType);
System\IdentityModel\Tokens\X509IssuerSerialKeyIdentifierClause.cs (1)
108return string.Format(CultureInfo.InvariantCulture, "X509IssuerSerialKeyIdentifierClause(Issuer = '{0}', Serial = '{1}')",
System\ServiceModel\Channels\SequenceRange.cs (1)
83return string.Format(CultureInfo.InvariantCulture, "{0}-{1}", Lower, Upper);
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
95return String.Format(CultureInfo.InvariantCulture, "{0}; charset={1}", mediaType, TextEncoderDefaults.EncodingToCharSet(encoding));
System\ServiceModel\Description\ServiceEndpoint.cs (1)
86return String.Format(CultureInfo.InvariantCulture, "{0}_{1}", new XmlName(Binding.Name).EncodedName, Contract.Name);
System\ServiceModel\Description\TypeLoader.cs (1)
696String.Format(CultureInfo.InvariantCulture, "Bad contract inheritence. Contract {0} does not implement {1}", declaringContract.ContractType.Name, contractDescription.ContractType.Name)
System\ServiceModel\ExceptionDetail.cs (1)
56return string.Format(CultureInfo.InvariantCulture, "{0}\n{1}", SRP.SFxExceptionDetailFormat, ToStringHelper(false));
System\ServiceModel\Security\SecurityContextKeyIdentifierClause.cs (1)
56return string.Format(CultureInfo.InvariantCulture, "SecurityContextKeyIdentifierClause(ContextId = '{0}', Generation = '{1}')",
System\ServiceModel\Security\SecurityHeader.cs (1)
123return string.Format(CultureInfo.InvariantCulture, "{0}(Actor = '{1}')", GetType().Name, Actor);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (1)
185sb.AppendLine(string.Format(CultureInfo.InvariantCulture, " {0}, optional={1}", ClaimTypeRequirements[i].ClaimType, ClaimTypeRequirements[i].IsOptional));
System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (1)
126return String.Format(CultureInfo.CurrentCulture, "SecurityContextSecurityToken(Identifier='{0}', KeyGeneration='{1}')", ContextId, _keyGeneration);
System.ServiceModel.Syndication (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ServiceProcess.ServiceController (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Speech (6)
Internal\ObjectToken\ObjectTokenCategory.cs (1)
42tokenName = string.Format(CultureInfo.InvariantCulture, @"{0}\Tokens\{1}", Id, tokenName);
Internal\SrgsCompiler\SrgsElementCompilerFactory.cs (1)
302string sDLP = string.Format(CultureInfo.InvariantCulture, "/{0}/{1};", sDisplayToken, sEscapedToken);
Internal\Synthesis\AudioException.cs (1)
16internal AudioException(Interop.WinMM.MMSYSERR errorCode) : base(string.Format(System.Globalization.CultureInfo.InvariantCulture, "{0} - Error Code: 0x{1:x}", SR.Get(SRID.AudioDeviceError), (int)errorCode))
Recognition\SrgsGrammar\SrgsItem.cs (2)
205writer.WriteAttributeString("repeat", string.Format(CultureInfo.InvariantCulture, "{0}-{1}", minRepeat, _maxRepeat)); 255sb.Append(string.Format(CultureInfo.InvariantCulture, "{0},{1}", minRepeat, _maxRepeat));
Synthesis\PromptBuilder.cs (1)
958throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, SR.Get(SRID.PromptBuilderInvalidElement), currentElement.ToString(), stackElement._state.ToString()));
System.Text.Encoding.CodePages (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Text.Encodings.Web (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Text.Json (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Text.Json.SourceGeneration (2)
JsonSourceGenerator.Parser.cs (1)
1481failureReason = string.Format(
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Text.RegularExpressions (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Text.RegularExpressions.Generator (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Threading (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Threading.AccessControl (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Threading.Channels (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Threading.RateLimiting (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Threading.Tasks.Dataflow (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Threading.Tasks.Parallel (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Transactions.Local (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Windows.Extensions (1)
src\runtime\src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Windows.Forms (3)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
909? string.Format(CultureInfo.CurrentCulture, SR.DispInvokeFailed, "SetValue", setError)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
2411throw new FormatException(string.Format(CultureInfo.CurrentCulture, SR.Formatter_CantConvert, value, DisplayType));
System\Windows\Forms\Internal\Formatter.cs (1)
423return string.Format(CultureInfo.CurrentCulture, stringResId, value, targetType.Name);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\MaskedTextBoxDesigner.cs (1)
130return string.Format(CultureInfo.CurrentCulture, SR.MaskedTextBoxTextEditorErrorFormatString, e.Position, rejectionHint);
System.Windows.Input.Manipulations (3)
System\Windows\Input\Manipulations\PointF.cs (1)
147return String.Format(
System\Windows\Input\Manipulations\VectorD.cs (1)
467return String.Format(provider, "X={0}, Y={1}", x, y);
System\Windows\Input\Manipulations\VectorF.cs (1)
439return String.Format(
System.Xaml (1)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
1245string msg = string.Format(TypeConverterHelper.InvariantEnglishUS, SR.NoSuchConstructor, rawArgs.Count, meType.Name);
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (1)
151Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "ERROR: AdviseEventRemoved called for {0} and event/property {1} without matching AdviseEventAdded.", hwnd, key), "NativeMsaaProxy");
vstest.console (22)
CommandLine\Executor.cs (1)
573EqtTrace.Error(string.Format(CultureInfo.InvariantCulture, "Error: Can't open command line argument file '{0}' : '{1}'", fileName, e.Message));
Internal\ConsoleLogger.cs (6)
250Output.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalDays, CommandLineResources.Days)); 254Output.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalHours, CommandLineResources.Hours)); 258Output.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalMinutes, CommandLineResources.Minutes)); 262Output.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalSeconds, CommandLineResources.Seconds)); 279var prefix = string.Format(CultureInfo.CurrentCulture, "{0}{1}", Environment.NewLine, TestMessageFormattingPrefix); 323var stackTrace = string.Format(CultureInfo.CurrentCulture, "{0}{1}", TestResultPrefix, result.ErrorStackTrace);
Internal\MSBuildLogger.cs (2)
361var prefix = string.Format(CultureInfo.CurrentCulture, "{0}{1}", Environment.NewLine, testMessageFormattingPrefix); 509string inPattern = string.Format(CultureInfo.InvariantCulture, inString, "(?<file>.+)", @"(?<line>\d+)");
Processors\EnableCodeCoverageArgumentProcessor.cs (2)
193string.Format(CultureInfo.CurrentCulture, "{0} {1}", ObjectModel.Resources.CommonResources.MalformedRunSettingsFile, e.Message), e); 277xmlText = string.Format(CultureInfo.InvariantCulture, xmlText, string.Format(CultureInfo.InvariantCulture, format, nodeName, "{0}"));
Processors\ListExtensionsArgumentProcessor.cs (4)
128ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "Uri", extension.Metadata.ExtensionUri), OutputLevel.Information); 172ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "Uri", extension.Metadata.ExtensionUri), OutputLevel.Information); 173ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "FriendlyName", string.Join(", ", extension.Metadata.FriendlyName)), OutputLevel.Information); 216ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "SettingName", extension.Metadata.SettingsName), OutputLevel.Information);
Processors\PlatformArgumentProcessor.cs (1)
144string.Format(CultureInfo.CurrentCulture, CommandLineResources.InvalidPlatformType, argument, string.Join(", ", validPlatforms)));
Processors\ResultsDirectoryArgumentProcessor.cs (1)
129throw new CommandLineException(string.Format(CultureInfo.CurrentCulture, CommandLineResources.InvalidResultsDirectoryPathCommand, argument, ex.Message));
Processors\RunSettingsArgumentProcessor.cs (1)
142string.Format(CultureInfo.CurrentCulture, "{0} {1}", ObjectModel.Resources.CommonResources.MalformedRunSettingsFile, exception.Message),
Processors\RunSpecificTestsArgumentProcessor.cs (3)
245string warningMessage = string.Format(CultureInfo.CurrentCulture, CommandLineResources.SomeTestsUnavailableAfterFiltering, _discoveredTestCount, missingFilters); 262warningMessage = string.Format(CultureInfo.CurrentCulture, CommandLineResources.NoTestsAvailableAfterFiltering, _discoveredTestCount, string.Join(", ", _selectedTestNames!)); 271warningMessage = string.Format(CultureInfo.CurrentCulture, CommandLineResources.StringFormatToJoinTwoStrings, warningMessage, CommandLineResources.SuggestTestAdapterPathIfNoTestsIsFound);
Processors\TestAdapterLoadingStrategyArgumentProcessor.cs (1)
222string.Format(CultureInfo.CurrentCulture, CommandLineResources.InvalidTestAdapterPathCommand, adapterPath, CommandLineResources.TestAdapterPathDoesNotExist)
vstest.console.arm64 (22)
src\vstest\src\vstest.console\CommandLine\Executor.cs (1)
573EqtTrace.Error(string.Format(CultureInfo.InvariantCulture, "Error: Can't open command line argument file '{0}' : '{1}'", fileName, e.Message));
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (6)
250Output.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalDays, CommandLineResources.Days)); 254Output.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalHours, CommandLineResources.Hours)); 258Output.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalMinutes, CommandLineResources.Minutes)); 262Output.Information(false, string.Format(CultureInfo.CurrentCulture, CommandLineResources.ExecutionTimeFormatString, timeSpan.TotalSeconds, CommandLineResources.Seconds)); 279var prefix = string.Format(CultureInfo.CurrentCulture, "{0}{1}", Environment.NewLine, TestMessageFormattingPrefix); 323var stackTrace = string.Format(CultureInfo.CurrentCulture, "{0}{1}", TestResultPrefix, result.ErrorStackTrace);
src\vstest\src\vstest.console\Internal\MSBuildLogger.cs (2)
361var prefix = string.Format(CultureInfo.CurrentCulture, "{0}{1}", Environment.NewLine, testMessageFormattingPrefix); 509string inPattern = string.Format(CultureInfo.InvariantCulture, inString, "(?<file>.+)", @"(?<line>\d+)");
src\vstest\src\vstest.console\Processors\EnableCodeCoverageArgumentProcessor.cs (2)
193string.Format(CultureInfo.CurrentCulture, "{0} {1}", ObjectModel.Resources.CommonResources.MalformedRunSettingsFile, e.Message), e); 277xmlText = string.Format(CultureInfo.InvariantCulture, xmlText, string.Format(CultureInfo.InvariantCulture, format, nodeName, "{0}"));
src\vstest\src\vstest.console\Processors\ListExtensionsArgumentProcessor.cs (4)
128ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "Uri", extension.Metadata.ExtensionUri), OutputLevel.Information); 172ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "Uri", extension.Metadata.ExtensionUri), OutputLevel.Information); 173ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "FriendlyName", string.Join(", ", extension.Metadata.FriendlyName)), OutputLevel.Information); 216ConsoleOutput.Instance.WriteLine(string.Format(CultureInfo.CurrentCulture, CommandLineResources.AvailableExtensionsMetadataFormat, "SettingName", extension.Metadata.SettingsName), OutputLevel.Information);
src\vstest\src\vstest.console\Processors\PlatformArgumentProcessor.cs (1)
144string.Format(CultureInfo.CurrentCulture, CommandLineResources.InvalidPlatformType, argument, string.Join(", ", validPlatforms)));
src\vstest\src\vstest.console\Processors\ResultsDirectoryArgumentProcessor.cs (1)
129throw new CommandLineException(string.Format(CultureInfo.CurrentCulture, CommandLineResources.InvalidResultsDirectoryPathCommand, argument, ex.Message));
src\vstest\src\vstest.console\Processors\RunSettingsArgumentProcessor.cs (1)
142string.Format(CultureInfo.CurrentCulture, "{0} {1}", ObjectModel.Resources.CommonResources.MalformedRunSettingsFile, exception.Message),
src\vstest\src\vstest.console\Processors\RunSpecificTestsArgumentProcessor.cs (3)
245string warningMessage = string.Format(CultureInfo.CurrentCulture, CommandLineResources.SomeTestsUnavailableAfterFiltering, _discoveredTestCount, missingFilters); 262warningMessage = string.Format(CultureInfo.CurrentCulture, CommandLineResources.NoTestsAvailableAfterFiltering, _discoveredTestCount, string.Join(", ", _selectedTestNames!)); 271warningMessage = string.Format(CultureInfo.CurrentCulture, CommandLineResources.StringFormatToJoinTwoStrings, warningMessage, CommandLineResources.SuggestTestAdapterPathIfNoTestsIsFound);
src\vstest\src\vstest.console\Processors\TestAdapterLoadingStrategyArgumentProcessor.cs (1)
222string.Format(CultureInfo.CurrentCulture, CommandLineResources.InvalidTestAdapterPathCommand, adapterPath, CommandLineResources.TestAdapterPathDoesNotExist)
WindowsFormsIntegration (2)
System\Windows\Integration\PropertyMap.cs (1)
140throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, SR.WFI_PropertyDoesntExist, propertyName, SourceObject.GetType().FullName));
System\Windows\Integration\WindowsFormsHost.cs (1)
469Debug.WriteLineIf(_traceHandle.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "WindowsFormsHost({0}): BuildWindowCore (parent=0x{1:x8})", this.Name, hwndParent.Handle.ToInt32()));