1268 references to Format
Aspire.Dashboard (1)
Model\MetricsHelpers.cs (1)
41MarkupMessage = new MarkupString(string.Format(CultureInfo.InvariantCulture, loc[nameof(Dialogs.OpenTraceDialogMessage)], OtlpHelpers.ToShortenedId(traceId))),
Aspire.Hosting (5)
Dcp\DcpDependencyCheck.cs (3)
86throw new DistributedApplicationException(string.Format( 114throw new DistributedApplicationException(string.Format( 163throw new DistributedApplicationException(string.Format(
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (2)
59var message = string.Format(CultureInfo.InvariantCulture, Resources.LaunchSettingsFileDoesNotContainProfileExceptionMessage, launchProfileName); 76var message = string.Format(CultureInfo.InvariantCulture, Resources.ProjectFileNotFoundExceptionMessage, projectMetadata.ProjectPath);
Aspire.Hosting.Azure.Functions (2)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (2)
59var message = string.Format(CultureInfo.InvariantCulture, Resources.LaunchSettingsFileDoesNotContainProfileExceptionMessage, launchProfileName); 76var message = string.Format(CultureInfo.InvariantCulture, Resources.ProjectFileNotFoundExceptionMessage, projectMetadata.ProjectPath);
Aspire.Hosting.Testing (3)
DistributedApplicationHostingTestingExtensions.cs (3)
52throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, Resources.ResourceDoesNotExposeConnectionStringExceptionMessage, resourceName), nameof(resourceName)); 85throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, Resources.ResourceNotFoundExceptionMessage, resourceName), nameof(resourceName)); 96throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, Resources.ResourceHasNoAllocatedEndpointsExceptionMessage, resourceName), nameof(resourceName));
Aspire.Hosting.Tests (1)
ReferenceExpressionTests.cs (1)
60var expected = string.Format(CultureInfo.InvariantCulture, input, parameterValue);
ClientSample (6)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
CodeGenerator (7)
HttpUtilities\HttpUtilities.cs (5)
46throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, "Generated {0} not found.", nameof(mask))); 227bodyString = string.Format(CultureInfo.InvariantCulture, "return (int)(value & {0});", maskHexString); 235return string.Format(CultureInfo.InvariantCulture, "_http{0}MethodLong", methodsInfo.HttpMethod.ToString()); 240return string.Format(CultureInfo.InvariantCulture, "_mask{0}Chars", nBytes); 308Debug.Assert(str.Length == sizeof(ulong), string.Format(CultureInfo.InvariantCulture, "String must be exactly {0} (ASCII) characters long.", sizeof(ulong)));
HttpUtilities\HttpUtilitiesGeneratorHelpers.cs (2)
193return string.Format(CultureInfo.InvariantCulture, "0x{0:X" + hexMaskSize + "}", mask); 213return string.Format(CultureInfo.InvariantCulture, "0x{0:X" + (hexMaskSize == 0 ? 1 : hexMaskSize) + "}", mask);
dotnet-dev-certs (8)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
161string.Format(CultureInfo.InvariantCulture, MacOSVerifyCertificateCommandLineArgumentsFormat, tmpFile)) 208string.Format(
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
dotnet-getdocument (8)
artifacts\obj\dotnet-getdocument\Release\net10.0\Microsoft.Extensions.ApiDescription.Tool.Resources.cs (2)
44=> string.Format(Culture, GetResourceString("NETStandardProject"), p0); 66=> string.Format(Culture, GetResourceString("MissingOption"), p0);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
dotnet-openapi (6)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
dotnet-sql-cache (8)
SqlQueries.cs (2)
38CreateTable = string.Format(CultureInfo.InvariantCulture, CreateTableFormat, tableNameWithSchema); 39CreateNonClusteredIndexOnExpirationTime = string.Format(
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
dotnet-svcutil.xmlserializer (2)
Microsoft\Tools\ServiceModel\SvcUtil\ToolConsole.cs (2)
253ToolConsole.WriteLine(string.Format(CultureInfo.InvariantCulture, " {0}", syntax)); 254s_exampleBuilder.WriteParagraph(string.Format(CultureInfo.InvariantCulture, " {0}", explanation));
dotnet-svcutil-lib (122)
CmdCredentialsProvider.cs (1)
143Console.WriteLine(string.Format(CultureInfo.InvariantCulture, SR.CertificateSelectionMessageFormat, serviceUri.Authority));
CodeDomFixup\MethodCreationHelper.cs (7)
120string.Format(CultureInfo.InvariantCulture, comment, "///") + 126string.Format(CultureInfo.InvariantCulture, comment, "'''") + 211throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.ErrBindingTypeNotSupportedFormat, binding.GetType().FullName)); 1084throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.ErrBindingElementNotSupportedFormat, bindingElement.GetType().FullName)); 1632throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.ErrEncodingNotSupportedFormat, encoding.WebName)); 1658throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.ErrMessageVersionNotSupportedFormat, messageVersion)); 1676throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.ErrMessageVersionNotSupportedFormat, messagingVersion));
CodeDomFixup\NoSoapEncodingFixup.cs (1)
30MetadataConversionError warning = new MetadataConversionError(string.Format(CultureInfo.InvariantCulture, SR.ErrIncompatibleContractSoapEncodingFormat, contract.Name), isWarning: true);
CodeSerializer.cs (1)
90filePath = _outputFilePath.Contains(" ") ? string.Format(CultureInfo.InvariantCulture, "\"{0}\"", _outputFilePath) : _outputFilePath;
CommandProcessorOptions.cs (8)
347throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrInvalidOperationNoProjectFileFoundUnderFolderFormat, workingDirectory)); 352var moreThanOneProjectMsg = string.Format(CultureInfo.CurrentCulture, SR.ErrMoreThanOneProjectFoundFormat, workingDirectory); 474throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrInvalidOperationNoProjectFileFoundUnderFolderFormat, Directory.GetCurrentDirectory())); 509throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrNoUpdateParamsFileFoundFormat, this.Project.FullPath)); 539throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrNoUpdateParamsFileFoundFormat, this.Project.FullPath)); 663throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrInvalidNamespaceFormat, 674this.Project.EndOfLifeTargetFrameworks?.ToList().ForEach(tfx => this.AddWarning(string.Format(CultureInfo.CurrentCulture, SR.WrnOutOfSupportTargetFrameworkFormat, tfx))); 680this.AddWarning(string.Format(CultureInfo.CurrentCulture, SR.WrnOutOfSupportTargetFrameworkFormat, this.TargetFramework.FullName));
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (1)
958throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, ResXml.Xdom_Import, node.NodeType.ToString()));
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (1)
1007return new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, ResXml.Xml_UnexpectedNodeType, nodetype.ToString()));
FrameworkFork\Microsoft.Xml\Xml\XmlException.cs (2)
216aStringList[1] = string.Format(CultureInfo.InvariantCulture, "0x{0:X2}", combinedChar); 229aStringList[1] = string.Format(CultureInfo.InvariantCulture, "0x{0:X2}", (int)invChar);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseReader.cs (4)
1075throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i)); 1090throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i)); 1117throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i)); 1132throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReader.cs (4)
243throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i)); 269throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i)); 511throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "strings[{0}]", i)); 531throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "strings[{0}]", i));
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpsSecurityMode.cs (1)
39Fx.Assert(mode == BasicHttpSecurityMode.Transport || mode == BasicHttpSecurityMode.TransportWithMessageCredential, string.Format(CultureInfo.InvariantCulture, "Invalid BasicHttpSecurityMode value: {0}.", mode.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
1036action = string.Format(CultureInfo.InvariantCulture, "\"{0}\"", UrlUtility.UrlPathEncode(action));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (3)
58string.Format(CultureInfo.InvariantCulture, "handlers[<<{0}>>]", cnt), 65string.Format(CultureInfo.InvariantCulture, "handlers[<<{0}>>]", cnt), 73string.Format(CultureInfo.InvariantCulture, "handlers[<<{0}>>]", cnt),
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageContent.cs (2)
49action = string.Format(CultureInfo.InvariantCulture, "\"{0}\"", UrlUtility.UrlPathEncode(action)); 102string value = string.Format(CultureInfo.InvariantCulture, "\"{0}\"", actionParams[0].Value);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (9)
1414sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "{0}:", this.GetType().ToString())); 1415sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "DefaultAlgorithmSuite: {0}", _defaultAlgorithmSuite.ToString())); 1416sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IncludeTimestamp: {0}", _includeTimestamp.ToString())); 1417sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeyEntropyMode: {0}", _keyEntropyMode.ToString())); 1418sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageSecurityVersion: {0}", this.MessageSecurityVersion.ToString())); 1419sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SecurityHeaderLayout: {0}", _securityHeaderLayout.ToString())); 1420sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ProtectTokens: {0}", _protectTokens.ToString())); 1433sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OperationSupportingTokenParameters[\"{0}\"]:", requestAction)); 1445sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OptionalOperationSupportingTokenParameters[\"{0}\"]:", requestAction));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElementImporter.cs (2)
237sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageProtectionOrder: {0}", _messageProtectionOrder.ToString())); 238sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireSignatureConfirmation: {0}", _requireSignatureConfirmation.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (2)
186sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageProtectionOrder: {0}", _messageProtectionOrder.ToString())); 187sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireSignatureConfirmation: {0}", _requireSignatureConfirmation.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketHelper.cs (1)
90invalidChar = string.Format(CultureInfo.InvariantCulture, "[{0}]", (int)ch);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (9)
945return string.Format(CultureInfo.InvariantCulture, "{0}Async", syncMethodName); 950return string.Format(CultureInfo.InvariantCulture, "onBegin{0}Delegate", syncMethodName); 955return string.Format(CultureInfo.InvariantCulture, "OnBegin{0}", syncMethodName); 960return string.Format(CultureInfo.InvariantCulture, "onEnd{0}Delegate", syncMethodName); 965return string.Format(CultureInfo.InvariantCulture, "OnEnd{0}", syncMethodName); 970return string.Format(CultureInfo.InvariantCulture, "on{0}CompletedDelegate", syncMethodName); 975return string.Format(CultureInfo.InvariantCulture, "On{0}Completed", syncMethodName); 980return string.Format(CultureInfo.InvariantCulture, "{0}Completed", syncMethodName); 985return string.Format(CultureInfo.InvariantCulture, "{0}CompletedEventArgs", syncMethodName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (2)
198Fx.Assert(String.Format(CultureInfo.InvariantCulture, "Cannot find DataContract attribute for {0}", messageName)); 200throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(String.Format(CultureInfo.InvariantCulture, "Cannot find DataContract attribute for {0}", messageName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (3)
421Fx.Assert(Microsoft.CodeDom.Compiler.CodeGenerator.IsValidLanguageIndependentIdentifier(name), String.Format(System.Globalization.CultureInfo.InvariantCulture, "Type name '{0}' is not ValidLanguageIndependentIdentifier!", name)); 587Fx.Assert(String.IsNullOrEmpty(typeName) || Microsoft.CodeDom.Compiler.CodeGenerator.IsValidLanguageIndependentIdentifier(typeName), String.Format(System.Globalization.CultureInfo.InvariantCulture, "Type name '{0}' is not ValidLanguageIndependentIdentifier!", typeName)); 1030Fx.Assert(String.Format(System.Globalization.CultureInfo.InvariantCulture, "Attribute generation is not supported for argument type {0}", type));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\PolicyReader.cs (1)
231return string.Format(CultureInfo.InvariantCulture, "#{0}", id);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (1)
150throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Cannot generate unique name for name {0}", baseName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (2)
840return string.Format(CultureInfo.InvariantCulture, "#{0}", key); 874return string.Format(CultureInfo.InvariantCulture, "{0}_policy", wsdlBinding.Name);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (2)
1768string documentPath = string.Format(CultureInfo.InvariantCulture, xPathDocumentFormatString, wsdlNs); 1854rest += string.Format(CultureInfo.InvariantCulture, xPathItemSubFormatString, messageTag);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\IdentityVerifier.cs (1)
235expectedSpn = string.Format(CultureInfo.InvariantCulture, "host/{0}", (string)identity.IdentityClaim.Resource);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\RequestSecurityToken.cs (1)
259throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "value[{0}]", index)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\RequestSecurityTokenResponseCollection.cs (1)
30throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(String.Format(CultureInfo.InvariantCulture, "rstrCollection[{0}]", index));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (3)
305identity = EndpointIdentity.CreateSpnIdentity(String.Format(CultureInfo.InvariantCulture, "host/{0}", DnsCache.MachineName)); 398spn = string.Format(CultureInfo.InvariantCulture, "host/{0}", (string)identity.IdentityClaim.Resource); 416return string.Format(CultureInfo.InvariantCulture, "host/{0}", target.Uri.DnsSafeHost);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (9)
23private static readonly string s_wsidPPIClaim = String.Format(CultureInfo.InvariantCulture, "{0}/claims/privatepersonalidentifier", wsidNamespace); 595sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "TokenType: {0}", _tokenType == null ? "null" : _tokenType)); 596sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeyType: {0}", _keyType.ToString())); 597sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeySize: {0}", _keySize.ToString(CultureInfo.InvariantCulture))); 598sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerAddress: {0}", _issuerAddress == null ? "null" : _issuerAddress.ToString())); 599sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerMetadataAddress: {0}", _issuerMetadataAddress == null ? "null" : _issuerMetadataAddress.ToString())); 600sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "DefaultMessgeSecurityVersion: {0}", _defaultMessageSecurityVersion == null ? "null" : _defaultMessageSecurityVersion.ToString())); 601sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "UseStrTransform: {0}", _useStrTransform.ToString())); 613sb.AppendLine(String.Format(CultureInfo.InvariantCulture, " BindingElement[{0}]:", i.ToString(CultureInfo.InvariantCulture)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SecureConversationSecurityTokenParameters.cs (1)
165sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireCancellation: {0}", _requireCancellation.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SecurityTokenParameters.cs (2)
95sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "{0}:", this.GetType().ToString())); 96sb.Append(String.Format(CultureInfo.InvariantCulture, "RequireDerivedKeys: {0}", _requireDerivedKeys.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\ServiceModelSecurityTokenRequirement.cs (3)
229sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "{0}:", this.GetType().ToString())); 233sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "PropertyName: {0}", propertyName)); 234sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "PropertyValue: {0}", propertyValue));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SslSecurityTokenParameters.cs (2)
111sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireCancellation: {0}", this.RequireCancellation.ToString())); 112sb.Append(String.Format(CultureInfo.InvariantCulture, "RequireClientCertificate: {0}", this.RequireClientCertificate.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SspiSecurityTokenParameters.cs (1)
90sb.Append(String.Format(CultureInfo.InvariantCulture, "RequireCancellation: {0}", this.RequireCancellation.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SupportingTokenParameters.cs (4)
120sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "Endorsing[{0}]", k.ToString(CultureInfo.InvariantCulture))); 129sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "Signed[{0}]", k.ToString(CultureInfo.InvariantCulture))); 138sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SignedEncrypted[{0}]", k.ToString(CultureInfo.InvariantCulture))); 147sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SignedEndorsing[{0}]", k.ToString(CultureInfo.InvariantCulture)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\X509SecurityTokenParameters.cs (1)
82sb.Append(String.Format(CultureInfo.InvariantCulture, "X509ReferenceStyle: {0}", _x509ReferenceStyle.ToString()));
HelpGenerator.cs (2)
94s_helpBuilder.AppendLine(string.Format(CultureInfo.InvariantCulture, " {0}", syntax)); 95s_helpBuilder.AppendLine(paragraphHelper.AddIndentation(string.Format(CultureInfo.InvariantCulture, " {0}", explanation), indentLength: 4));
Metadata\MetadataDocumentLoader.cs (3)
97throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, MetadataResources.ErrInvalidUriFormat, uri)); 139throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, MetadataResources.ErrInvalidUriFormat, uri)); 144throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, MetadataResources.ErrUrlNotAllowedOnMultipleInputsFormat, metadataUri));
Metadata\MetadataDocumentSaver.cs (3)
63DocumentSaveErrors = metadataDocumentSaver.UnresolvedReferences.Distinct().OrderBy(ur => ur.Uri).Select(ur => string.Format(CultureInfo.CurrentCulture, MetadataResources.ErrUnableToResolveSchemaReferenceFormat, ur.Uri)) 74throw new IOException(string.Format(CultureInfo.CurrentCulture, MetadataResources.ErrFileAlreadyExistsFormat, fileInfo.FilePath)); 358return string.Format(CultureInfo.InvariantCulture, "{0}", id);
Metadata\MetadataFileNameManager.cs (4)
56throw new InvalidOperationException(string.Format(MetadataResources.Culture, MetadataResources.ErrUnableToCreateUniqueFileNameFormat, GetFileNameWithExtension(fileName, extension))); 248throw new DirectoryNotFoundException(string.Format(CultureInfo.CurrentCulture, MetadataResources.ErrDirectoryNotFoundFormat, dirInfo.FullName)); 255throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, MetadataResources.ErrDirectoryInsteadOfFileFormat, path)); 261throw new FileNotFoundException(string.Format(CultureInfo.CurrentCulture, MetadataResources.ErrNoFilesFoundFormat, path));
Shared\MSBuildProj.cs (3)
329throw new Exception(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorProjectReferenceMissingFilePathFormat, binReference)); 393throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorFullPathNotAProjectFilePathFormat, fullPath)); 398throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorProjectFileAlreadyExistsFormat, fullPath));
Shared\Options\ApplicationOptions.cs (2)
75throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorOptionAlreadyRegisteredFormat, option.Name)); 205throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.WarningUnrecognizedOptionFormat, optionId));
Shared\Options\OptionBase.cs (1)
182throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorOptionAlreadyDeserializedFormat, this.SerializationName));
Shared\Options\OptionsSerializer.cs (2)
82options.AddWarning(string.Format(CultureInfo.CurrentCulture, Shared.Resources.WarningUnrecognizedOptionFormat, jPropInfo.Key)); 114options.AddWarning(string.Format(CultureInfo.CurrentCulture, Shared.Resources.WarningUnrecognizedOptionFormat, jProperty.Key));
Shared\Options\OptionValueParser.cs (1)
239var supportedValues = string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorOnInvalidEnumSupportedValuesFormat, string.Join(", ", Enum.GetNames(typeof(TValue))));
Shared\ProjectDependency.cs (1)
273throw new FormatException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorDepenencySpecFormat, dependencySpec));
dotnet-user-jwts (28)
artifacts\obj\dotnet-user-jwts\Release\net10.0\Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Resources.cs (14)
46=> string.Format(Culture, GetResourceString("ClearCommand_NoJwtsRemoved"), p0); 62=> string.Format(Culture, GetResourceString("CreateCommand_Confirmed", new [] { "id" }), id); 74=> string.Format(Culture, GetResourceString("CreateCommand_AppsettingsFileNotFound_Error"), p0); 82=> string.Format(Culture, GetResourceString("CreateCommand_InvalidDate_Error", new [] { "type" }), type); 90=> string.Format(Culture, GetResourceString("CreateCommand_InvalidPeriod_Error"), p0); 150=> string.Format(Culture, GetResourceString("KeyCommand_Confirmed"), p0); 160=> string.Format(Culture, GetResourceString("KeyCommand_KeyCreated"), p0); 178=> string.Format(Culture, GetResourceString("ListCommand_Project"), p0); 186=> string.Format(Culture, GetResourceString("ListCommand_UserSecretsId"), p0); 192=> string.Format(Culture, GetResourceString("PrintCommand_Confirmed"), p0); 202=> string.Format(Culture, GetResourceString("PrintCommand_NoJwtFound"), p0); 216=> string.Format(Culture, GetResourceString("RemoveCommand_Confirmed"), p0); 226=> string.Format(Culture, GetResourceString("RemoveCommand_NoJwtFound"), p0); 234=> string.Format(Culture, GetResourceString("RemoveCommand_AppsettingsFileNotFound_Error"), p0);
artifacts\obj\dotnet-user-jwts\Release\net10.0\Microsoft.AspNetCore.Tools.SecretsHelpersResources.cs (8)
34=> string.Format(Culture, GetResourceString("Error_InvalidSecretsId", new [] { "userSecretsId" }), userSecretsId); 40=> string.Format(Culture, GetResourceString("Error_MultipleProjectsFound", new [] { "projectPath" }), projectPath); 46=> string.Format(Culture, GetResourceString("Error_NoProjectsFound", new [] { "projectPath" }), projectPath); 52=> string.Format(Culture, GetResourceString("Error_ProjectFailedToLoad", new [] { "project" }), project); 58=> string.Format(Culture, GetResourceString("Error_ProjectMissingId", new [] { "project" }), project); 64=> string.Format(Culture, GetResourceString("Error_ProjectPath_NotFound"), p0); 70=> string.Format(Culture, GetResourceString("Message_ProjectAlreadyInitialized", new [] { "project" }), project); 76=> string.Format(Culture, GetResourceString("Message_Project_File_Path", new [] { "project" }), project);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
dotnet-user-secrets (28)
artifacts\obj\dotnet-user-secrets\Release\net10.0\Microsoft.AspNetCore.Tools.SecretsHelpersResources.cs (8)
34=> string.Format(Culture, GetResourceString("Error_InvalidSecretsId", new [] { "userSecretsId" }), userSecretsId); 40=> string.Format(Culture, GetResourceString("Error_MultipleProjectsFound", new [] { "projectPath" }), projectPath); 46=> string.Format(Culture, GetResourceString("Error_NoProjectsFound", new [] { "projectPath" }), projectPath); 52=> string.Format(Culture, GetResourceString("Error_ProjectFailedToLoad", new [] { "project" }), project); 58=> string.Format(Culture, GetResourceString("Error_ProjectMissingId", new [] { "project" }), project); 64=> string.Format(Culture, GetResourceString("Error_ProjectPath_NotFound"), p0); 70=> string.Format(Culture, GetResourceString("Message_ProjectAlreadyInitialized", new [] { "project" }), project); 76=> string.Format(Culture, GetResourceString("Message_Project_File_Path", new [] { "project" }), project);
artifacts\obj\dotnet-user-secrets\Release\net10.0\Microsoft.Extensions.SecretManager.Tools.Resources.cs (14)
34=> string.Format(Culture, GetResourceString("Error_Command_Failed", new [] { "message" }), message); 42=> string.Format(Culture, GetResourceString("Error_MissingArgument", new [] { "name" }), name); 48=> string.Format(Culture, GetResourceString("Error_Missing_Secret", new [] { "key" }), key); 54=> string.Format(Culture, GetResourceString("Error_MultipleProjectsFound", new [] { "projectPath" }), projectPath); 62=> string.Format(Culture, GetResourceString("Error_NoProjectsFound", new [] { "projectPath" }), projectPath); 68=> string.Format(Culture, GetResourceString("Error_ProjectMissingId", new [] { "project" }), project); 74=> string.Format(Culture, GetResourceString("Error_ProjectPath_NotFound", new [] { "path" }), path); 80=> string.Format(Culture, GetResourceString("Error_ProjectFailedToLoad", new [] { "project" }), project); 86=> string.Format(Culture, GetResourceString("Message_Project_File_Path", new [] { "project" }), project); 92=> string.Format(Culture, GetResourceString("Message_Saved_Secret", new [] { "key" }), key); 98=> string.Format(Culture, GetResourceString("Message_Saved_Secrets", new [] { "number" }), number); 104=> string.Format(Culture, GetResourceString("Message_Secret_File_Path", new [] { "secretsFilePath" }), secretsFilePath); 116=> string.Format(Culture, GetResourceString("Error_InvalidSecretsId", new [] { "userSecretsId" }), userSecretsId); 122=> string.Format(Culture, GetResourceString("Message_ProjectAlreadyInitialized", new [] { "project" }), project);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
GetDocument.Insider (13)
artifacts\obj\GetDocument.Insider\Release\net462\Microsoft.Extensions.ApiDescription.Tool.Resources.cs (7)
36=> string.Format(Culture, GetResourceString("MissingOption"), p0); 50=> string.Format(Culture, GetResourceString("GeneratingDocument"), p0); 56=> string.Format(Culture, GetResourceString("MissingEntryPoint"), p0); 62=> string.Format(Culture, GetResourceString("ServiceTypeNotFound"), p0); 74=> string.Format(Culture, GetResourceString("ServiceNotFound"), p0); 144=> string.Format(Culture, GetResourceString("InvalidOpenApiVersion"), p0); 150=> string.Format(Culture, GetResourceString("DocumentNotFound"), p0);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
http2cat (5)
artifacts\obj\http2cat\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0); 50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0); 66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0); 76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0); 86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
IIS.FunctionalTests (5)
artifacts\obj\IIS.FunctionalTests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0); 50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0); 66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0); 76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0); 86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
IIS.LongTests (5)
artifacts\obj\IIS.LongTests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0); 50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0); 66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0); 76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0); 86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
IIS.NewHandler.FunctionalTests (5)
artifacts\obj\IIS.NewHandler.FunctionalTests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0); 50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0); 66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0); 76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0); 86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
IIS.NewShim.FunctionalTests (5)
artifacts\obj\IIS.NewShim.FunctionalTests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0); 50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0); 66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0); 76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0); 86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
IIS.ShadowCopy.Tests (5)
artifacts\obj\IIS.ShadowCopy.Tests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0); 50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0); 66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0); 76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0); 86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
IISExpress.FunctionalTests (5)
artifacts\obj\IISExpress.FunctionalTests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0); 50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0); 66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0); 76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0); 86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
InteropClient (2)
InteropClient.cs (2)
879var header = string.Format(CultureInfo.InvariantCulture, "-----BEGIN {0}-----", section); 880var footer = string.Format(CultureInfo.InvariantCulture, "-----END {0}-----", section);
Microsoft.Analyzers.Local (2)
ApiLifecycle\Json\TextScanner.cs (2)
116string.Format(CultureInfo.InvariantCulture, "Parser expected '{0}'", next), 152string.Format(CultureInfo.InvariantCulture, "Parser expected '{0}'", Peek()),
Microsoft.Arcade.Common (2)
NupkgInfoFactory.cs (2)
43throw new InvalidDataException(string.Format(CultureInfo.CurrentCulture, "Did not extract nuspec file from package: {0}", path)); 47throw new InvalidDataException(string.Format(CultureInfo.CurrentCulture, "Invalid package: {0}", path), ex);
Microsoft.AspNetCore.Antiforgery (3)
artifacts\obj\Microsoft.AspNetCore.Antiforgery\Release\net10.0\Microsoft.AspNetCore.Antiforgery.Resources.cs (3)
60=> string.Format(Culture, GetResourceString("Antiforgery_CookieToken_MustBeProvided"), p0); 68=> string.Format(Culture, GetResourceString("Antiforgery_FormToken_MustBeProvided"), p0); 74=> string.Format(Culture, GetResourceString("Antiforgery_HeaderToken_MustBeProvided"), p0);
Microsoft.AspNetCore.App.Analyzers (18)
artifacts\obj\Microsoft.AspNetCore.App.Analyzers\Release\netstandard2.0\Microsoft.AspNetCore.Analyzers.Resources.cs (18)
36=> string.Format(Culture, GetResourceString("TemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly"), p0); 52=> string.Format(Culture, GetResourceString("TemplateRoute_InvalidLiteral"), p0); 58=> string.Format(Culture, GetResourceString("TemplateRoute_InvalidParameterName"), p0); 68=> string.Format(Culture, GetResourceString("TemplateRoute_RepeatedParameter"), p0); 110=> string.Format(Culture, GetResourceString("Analyzer_RequestDelegateReturnValue_Message"), p0); 118=> string.Format(Culture, GetResourceString("Analyzer_RouteIssue_Message"), p0); 126=> string.Format(Culture, GetResourceString("Analyzer_UnusedParameter_Message"), p0); 152=> string.Format(Culture, GetResourceString("Analyzer_DoNotReturnActionResultsFromRouteHandlers_Message"), p0); 160=> string.Format(Culture, GetResourceString("Analyzer_DetectMisplacedLambdaAttribute_Message"), p0); 168=> string.Format(Culture, GetResourceString("Analyzer_DoNotUseNonLiteralSequenceNumbers_Message"), p0); 176=> string.Format(Culture, GetResourceString("Analyzer_DetectMismatchedParameterOptionality_Message"), p0); 196=> string.Format(Culture, GetResourceString("Analyzer_DoNotUseHostConfigureLogging_Message"), p0); 204=> string.Format(Culture, GetResourceString("Analyzer_DoNotUseHostConfigureServices_Message"), p0); 212=> string.Format(Culture, GetResourceString("Analyzer_DisallowConfigureAppConfigureHostBuilder_Message"), p0); 220=> string.Format(Culture, GetResourceString("Analyzer_UseTopLevelRouteRegistrationsInsteadOfUseEndpoints_Message"), p0); 244=> string.Format(Culture, GetResourceString("Analyzer_AmbiguousRouteHandlerRoute_Message"), p0); 252=> string.Format(Culture, GetResourceString("Analyzer_AmbiguousActionRoute_Message"), p0); 262=> string.Format(Culture, GetResourceString("Analyzer_OverriddenAuthorizeAttribute_Message"), p0);
Microsoft.AspNetCore.App.Analyzers.Test (1)
RouteEmbeddedLanguage\Infrastructure\MarkupTestFile.cs (1)
124throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "Saw multiple occurrences of {0}", PositionString));
Microsoft.AspNetCore.Authentication (1)
artifacts\obj\Microsoft.AspNetCore.Authentication\Release\net10.0\Microsoft.AspNetCore.Authentication.Resources.cs (1)
40=> string.Format(Culture, GetResourceString("Exception_OptionMustBeProvided"), p0);
Microsoft.AspNetCore.Authentication.Facebook (1)
artifacts\obj\Microsoft.AspNetCore.Authentication.Facebook\Release\net10.0\Microsoft.AspNetCore.Authentication.Facebook.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("Exception_OptionMustBeProvided"), p0);
Microsoft.AspNetCore.Authentication.Google (1)
artifacts\obj\Microsoft.AspNetCore.Authentication.Google\Release\net10.0\Microsoft.AspNetCore.Authentication.Google.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("Exception_OptionMustBeProvided"), p0);
Microsoft.AspNetCore.Authentication.JwtBearer (1)
artifacts\obj\Microsoft.AspNetCore.Authentication.JwtBearer\Release\net10.0\Microsoft.AspNetCore.Authentication.JwtBearer.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("Exception_OptionMustBeProvided"), p0);
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
UserJwtsTestFixture.cs (1)
75string.Format(CultureInfo.InvariantCulture, ProjectTemplate, prop));
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
artifacts\obj\Microsoft.AspNetCore.Authentication.MicrosoftAccount\Release\net10.0\Microsoft.AspNetCore.Authentication.MicrosoftAccount.Resources.cs (1)
36=> string.Format(Culture, GetResourceString("Exception_OptionMustBeProvided"), p0);
Microsoft.AspNetCore.Authentication.OAuth (2)
artifacts\obj\Microsoft.AspNetCore.Authentication.OAuth\Release\net10.0\Microsoft.AspNetCore.Authentication.OAuth.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("Exception_OptionMustBeProvided"), p0);
OAuthOptions.cs (1)
36throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.Exception_OptionMustBeProvided, nameof(CallbackPath)), nameof(CallbackPath));
Microsoft.AspNetCore.Authentication.OpenIdConnect (9)
artifacts\obj\Microsoft.AspNetCore.Authentication.OpenIdConnect\Release\net10.0\Microsoft.AspNetCore.Authentication.OpenIdConnect.Resources.cs (4)
44=> string.Format(Culture, GetResourceString("ValidatedSecurityTokenNotJwt"), p0); 50=> string.Format(Culture, GetResourceString("UnableToValidateToken"), p0); 58=> string.Format(Culture, GetResourceString("ValidatedSecurityTokenNotJsonWebToken"), p0); 64=> string.Format(Culture, GetResourceString("UnableToValidateTokenFromHandler"), p0);
OpenIdConnectHandler.cs (5)
1386throw new SecurityTokenException(string.Format(CultureInfo.InvariantCulture, Resources.UnableToValidateToken, idToken)); 1409throw new SecurityTokenException(string.Format(CultureInfo.InvariantCulture, Resources.ValidatedSecurityTokenNotJwt, validatedToken?.GetType())); 1415throw new SecurityTokenException(string.Format(CultureInfo.InvariantCulture, Resources.UnableToValidateToken, idToken)); 1464throw new SecurityTokenException(string.Format(CultureInfo.InvariantCulture, Resources.UnableToValidateTokenFromHandler, idToken)); 1470throw new SecurityTokenException(string.Format(CultureInfo.InvariantCulture, Resources.ValidatedSecurityTokenNotJsonWebToken, validatedToken?.GetType()));
Microsoft.AspNetCore.Authentication.Twitter (1)
artifacts\obj\Microsoft.AspNetCore.Authentication.Twitter\Release\net10.0\Microsoft.AspNetCore.Authentication.Twitter.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("Exception_OptionMustBeProvided"), p0);
Microsoft.AspNetCore.Authentication.WsFederation (1)
artifacts\obj\Microsoft.AspNetCore.Authentication.WsFederation\Release\net10.0\Microsoft.AspNetCore.Authentication.WsFederation.Resources.cs (1)
38=> string.Format(Culture, GetResourceString("Exception_OptionMustBeProvided"), p0);
Microsoft.AspNetCore.Authorization (1)
artifacts\obj\Microsoft.AspNetCore.Authorization\Release\net462\Microsoft.AspNetCore.Authorization.Resources.cs (1)
36=> string.Format(Culture, GetResourceString("Exception_AuthorizationPolicyNotFound"), p0);
Microsoft.AspNetCore.Components (5)
artifacts\obj\Microsoft.AspNetCore.Components\Release\net10.0\Microsoft.AspNetCore.Components.Routing.Resources.cs (5)
104=> string.Format(Culture, GetResourceString("ArgumentMustBeGreaterThanOrEqualTo"), p0); 116=> string.Format(Culture, GetResourceString("TemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly"), p0); 132=> string.Format(Culture, GetResourceString("TemplateRoute_InvalidLiteral"), p0); 138=> string.Format(Culture, GetResourceString("TemplateRoute_InvalidParameterName"), p0); 162=> string.Format(Culture, GetResourceString("TemplateRoute_RepeatedParameter"), p0);
Microsoft.AspNetCore.Components.Analyzers (5)
artifacts\obj\Microsoft.AspNetCore.Components.Analyzers\Release\netstandard2.0\Microsoft.AspNetCore.Components.Analyzers.Resources.cs (5)
36=> string.Format(Culture, GetResourceString("ComponentParameterSettersShouldBePublic_Format"), p0); 64=> string.Format(Culture, GetResourceString("ComponentParameterShouldBePublic_Format"), p0); 78=> string.Format(Culture, GetResourceString("ComponentParameterShouldNotBeSetOutsideOfTheirDeclaredComponent_Format"), p0); 88=> string.Format(Culture, GetResourceString("DoNotUseRenderTreeTypes_Format"), p0); 96=> string.Format(Culture, GetResourceString("ComponentParametersShouldBeAutoProperties_Message"), p0);
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
Verifiers\DiagnosticVerifier.cs (1)
129string.Format(CultureInfo.InvariantCulture, "Expected:\nA project diagnostic with No location\nActual:\n{0}",
Microsoft.AspNetCore.Components.Endpoints (1)
artifacts\obj\Microsoft.AspNetCore.Components.Endpoints\Release\net10.0\Microsoft.AspNetCore.Components.Endpoints.Resources.cs (1)
48=> string.Format(Culture, GetResourceString("UnsupportedRenderMode"), p0);
Microsoft.AspNetCore.Components.SdkAnalyzers (4)
artifacts\obj\Microsoft.AspNetCore.Components.SdkAnalyzers\Release\netstandard2.0\Microsoft.AspNetCore.Components.Analyzers.Resources.cs (4)
36=> string.Format(Culture, GetResourceString("ComponentParameterSettersShouldBePublic_Format"), p0); 64=> string.Format(Culture, GetResourceString("ComponentParameterShouldBePublic_Format"), p0); 78=> string.Format(Culture, GetResourceString("ComponentParameterShouldNotBeSetOutsideOfTheirDeclaredComponent_Format"), p0); 88=> string.Format(Culture, GetResourceString("DoNotUseRenderTreeTypes_Format"), p0);
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (1)
Verifiers\DiagnosticVerifier.cs (1)
129string.Format(CultureInfo.InvariantCulture, "Expected:\nA project diagnostic with No location\nActual:\n{0}",
Microsoft.AspNetCore.Components.Web (2)
Forms\InputDate.cs (1)
120validationErrorMessage = string.Format(CultureInfo.InvariantCulture, _parsingErrorMessage, DisplayName ?? FieldIdentifier.FieldName);
Forms\InputNumber.cs (1)
77validationErrorMessage = string.Format(CultureInfo.InvariantCulture, ParsingErrorMessage, DisplayName ?? FieldIdentifier.FieldName);
Microsoft.AspNetCore.Components.WebView (1)
artifacts\obj\Microsoft.AspNetCore.Components.WebView\Release\net10.0\Microsoft.AspNetCore.Components.WebView.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("Exception_PathMustStartWithSlash"), p0);
Microsoft.AspNetCore.Cors (1)
artifacts\obj\Microsoft.AspNetCore.Cors\Release\net10.0\Microsoft.AspNetCore.Cors.Resources.cs (1)
36=> string.Format(Culture, GetResourceString("PolicyNotFound"), p0);
Microsoft.AspNetCore.Cryptography.Internal (2)
artifacts\obj\Microsoft.AspNetCore.Cryptography.Internal\Release\net10.0\Microsoft.AspNetCore.Cryptography.Internal.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("BCryptAlgorithmHandle_ProviderNotFound"), p0);
SafeHandles\BCryptAlgorithmHandle.cs (1)
144string message = String.Format(CultureInfo.CurrentCulture, Resources.BCryptAlgorithmHandle_ProviderNotFound, algorithmId);
Microsoft.AspNetCore.DataProtection (18)
artifacts\obj\Microsoft.AspNetCore.DataProtection\Release\net10.0\Microsoft.AspNetCore.DataProtection.Resources.cs (8)
44=> string.Format(Culture, GetResourceString("Common_PropertyCannotBeNullOrEmpty"), p0); 78=> string.Format(Culture, GetResourceString("Common_PropertyMustBeNonNegative"), p0); 86=> string.Format(Culture, GetResourceString("CertificateXmlEncryptor_CertificateNotFound"), p0); 94=> string.Format(Culture, GetResourceString("AlgorithmAssert_BadBlockSize"), p0); 100=> string.Format(Culture, GetResourceString("AlgorithmAssert_BadDigestSize"), p0); 106=> string.Format(Culture, GetResourceString("AlgorithmAssert_BadKeySize"), p0); 118=> string.Format(Culture, GetResourceString("LifetimeMustNotBeNegative"), p0); 124=> string.Format(Culture, GetResourceString("FileSystem_EphemeralKeysLocationInContainer", new [] { "path" }), path);
Error.cs (6)
42var message = string.Format(CultureInfo.CurrentCulture, Resources.Common_PropertyCannotBeNullOrEmpty, propertyName); 48var message = string.Format(CultureInfo.CurrentCulture, Resources.Common_PropertyMustBeNonNegative, propertyName); 59var message = string.Format(CultureInfo.CurrentCulture, Resources.Common_KeyNotFound, id); 65var message = string.Format(CultureInfo.CurrentCulture, Resources.Common_KeyRevoked, id); 91var message = string.Format(CultureInfo.CurrentCulture, Resources.XmlKeyManager_DuplicateKey, keyId); 97var message = string.Format(CultureInfo.CurrentCulture, Resources.KeyRingProvider_DefaultKeyRevoked, id);
KeyManagement\XmlKeyManager.cs (2)
553var friendlyName = string.Format(CultureInfo.InvariantCulture, "key-{0:D}", keyId); 640var friendlyName = string.Format(CultureInfo.InvariantCulture, "revocation-{0:D}", keyId);
Repositories\RegistryXmlRepository.cs (1)
91var aspnetAutoGenKeysBaseKeyName = string.Format(
XmlEncryption\DpapiNGXmlEncryptor.cs (1)
107return string.Format(CultureInfo.InvariantCulture, "SID={0}", currentIdentity?.User?.Value);
Microsoft.AspNetCore.DataProtection.Abstractions (3)
artifacts\obj\Microsoft.AspNetCore.DataProtection.Abstractions\Release\net10.0\Microsoft.AspNetCore.DataProtection.Abstractions.Resources.cs (1)
40=> string.Format(Culture, GetResourceString("DataProtectionExtensions_NoService"), p0);
src\Shared\WebEncoders\Properties\EncoderResources.cs (1)
35return string.Format(CultureInfo.CurrentCulture, WebEncoders_MalformedInput, p0);
src\Shared\WebEncoders\WebEncoders.cs (1)
459string.Format(
Microsoft.AspNetCore.DataProtection.Extensions (1)
artifacts\obj\Microsoft.AspNetCore.DataProtection.Extensions\Release\net10.0\Microsoft.AspNetCore.DataProtection.Extensions.Resources.cs (1)
36=> string.Format(Culture, GetResourceString("TimeLimitedDataProtector_PayloadExpired"), p0);
Microsoft.AspNetCore.DataProtection.Tests (6)
KeyManagement\KeyRingProviderTests.cs (2)
924string.Format(CultureInfo.InvariantCulture, "{0:u}", now), 925string.Format(CultureInfo.InvariantCulture, "{0:u}", now.AddDays(90)));
KeyManagement\XmlKeyManagerTests.cs (1)
704var expectedRepositoryXml = string.Format(
XmlAssert.cs (1)
124throw new NotSupportedException(string.Format(CultureInfo.InvariantCulture, "Node of type '{0}' is not supported.", node.GetType().Name));
XmlEncryption\XmlEncryptionExtensionsTests.cs (2)
246var expected = string.Format( 291var expected = string.Format(
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
161string.Format(CultureInfo.InvariantCulture, MacOSVerifyCertificateCommandLineArgumentsFormat, tmpFile)) 208string.Format(
Microsoft.AspNetCore.Diagnostics (5)
StatusCodePage\StatusCodePagesExtensions.cs (5)
80var body = string.Format(CultureInfo.InvariantCulture, bodyFormat, context.HttpContext.Response.StatusCode); 103var location = string.Format(CultureInfo.InvariantCulture, locationFormat, context.HttpContext.Response.StatusCode); 112var location = string.Format(CultureInfo.InvariantCulture, locationFormat, context.HttpContext.Response.StatusCode); 213string.Format(CultureInfo.InvariantCulture, pathFormat, originalStatusCode)); 215string.Format(CultureInfo.InvariantCulture, queryFormat, originalStatusCode);
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (3)
artifacts\obj\Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore\Release\net10.0\Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Strings.cs (3)
34=> string.Format(Culture, GetResourceString("DatabaseErrorPageMiddleware_ContextNotRegistered"), p0); 70=> string.Format(Culture, GetResourceString("MigrationsEndPointMiddleware_ContextNotRegistered"), p0); 76=> string.Format(Culture, GetResourceString("MigrationsEndPointMiddleware_Exception"), p0);
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Logging\AcceptanceTests.Mvc.cs (2)
115string redactedUserId = string.Format(CultureInfo.InvariantCulture, RedactedFormat, UserId); 161string redactedUserId = string.Format(CultureInfo.InvariantCulture, RedactedFormat, UserId);
Microsoft.AspNetCore.Diagnostics.Tests (1)
ExceptionDetailsProviderTest.cs (1)
276return Enumerable.Range(start, count).Select(i => string.Format(CultureInfo.InvariantCulture, "Line{0}", i));
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (2)
ConverterTests\JsonElementComparer.cs (2)
95throw new JsonException(string.Format(CultureInfo.InvariantCulture, "Unknown JsonValueKind {0}", x.ValueKind)); 153throw new JsonException(string.Format(CultureInfo.InvariantCulture, "Unknown JsonValueKind {0}", obj.ValueKind));
Microsoft.AspNetCore.Grpc.Swagger (1)
Internal\XmlComments\GrpcXmlCommentsDocumentFilter.cs (1)
56var typeNode = _xmlNavigator.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, MemberXPath, memberName));
Microsoft.AspNetCore.Hosting (3)
Internal\StartupLoader.cs (3)
243string.Format( 320var methodNameWithEnv = string.Format(CultureInfo.InvariantCulture, methodName, environmentName); 321var methodNameWithNoEnv = string.Format(CultureInfo.InvariantCulture, methodName, "");
Microsoft.AspNetCore.Http.Abstractions (5)
artifacts\obj\Microsoft.AspNetCore.Http.Abstractions\Release\net10.0\Microsoft.AspNetCore.Http.Abstractions.Resources.cs (5)
34=> string.Format(Culture, GetResourceString("Exception_UseMiddlewareIServiceProviderNotAvailable"), p0); 64=> string.Format(Culture, GetResourceString("Exception_PathMustStartWithSlash"), p0); 76=> string.Format(Culture, GetResourceString("Exception_InvokeDoesNotSupportRefOrOutParams"), p0); 84=> string.Format(Culture, GetResourceString("Exception_UseMiddlewareNoMiddlewareFactory"), p0); 96=> string.Format(Culture, GetResourceString("Exception_UseMiddlewareExplicitArgumentsNotSupported"), p0);
Microsoft.AspNetCore.Http.Connections (3)
Internal\ConnectionLogScope.cs (1)
54_cachedToString = string.Format(
src\Shared\WebEncoders\Properties\EncoderResources.cs (1)
35return string.Format(CultureInfo.CurrentCulture, WebEncoders_MalformedInput, p0);
src\Shared\WebEncoders\WebEncoders.cs (1)
459string.Format(
Microsoft.AspNetCore.Http.Extensions (4)
HeaderDictionaryTypeExtensions.cs (1)
319throw new NotSupportedException(string.Format(
RequestDelegateFactory.cs (3)
2703var message = string.Format(CultureInfo.InvariantCulture, RequestDelegateCreationLogging.ImplicitBodyNotProvidedExceptionMessage, parameterName); 2717var message = string.Format(CultureInfo.InvariantCulture, RequestDelegateCreationLogging.UnexpectedJsonContentTypeExceptionMessage, contentType); 2731var message = string.Format(CultureInfo.InvariantCulture, RequestDelegateCreationLogging.UnexpectedFormContentTypeExceptionMessage, contentType);
Microsoft.AspNetCore.Http.RequestDelegateGenerator (8)
artifacts\obj\Microsoft.AspNetCore.Http.RequestDelegateGenerator\Release\netstandard2.0\Microsoft.AspNetCore.Http.RequestDelegateGenerator.Resources.cs (8)
42=> string.Format(Culture, GetResourceString("UnableToResolveParameter_Message"), p0); 56=> string.Format(Culture, GetResourceString("InvalidAsParametersAbstractType_Message"), p0); 64=> string.Format(Culture, GetResourceString("InvalidAsParametersSignature_Message"), p0); 72=> string.Format(Culture, GetResourceString("InvalidAsParametersNoConstructorFound_Message"), p0); 80=> string.Format(Culture, GetResourceString("InvalidAsParametersSingleConstructorOnly_Message"), p0); 92=> string.Format(Culture, GetResourceString("InvalidAsParametersNullable_Message"), p0); 104=> string.Format(Culture, GetResourceString("InaccessibleTypesNotSupported_Message"), p0); 116=> string.Format(Culture, GetResourceString("InvalidAsParametersEnumerableType_Message"), p0);
Microsoft.AspNetCore.Identity.EntityFrameworkCore (2)
artifacts\obj\Microsoft.AspNetCore.Identity.EntityFrameworkCore\Release\net10.0\Microsoft.AspNetCore.Identity.EntityFrameworkCore.Resources.cs (1)
40=> string.Format(Culture, GetResourceString("RoleNotFound"), p0);
UserStore.cs (1)
327throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.RoleNotFound, normalizedRoleName));
Microsoft.AspNetCore.Identity.Test (1)
UserManagerTest.cs (1)
1785return new IdentityError { Code = Code, Description = string.Format(CultureInfo.InvariantCulture, FormatError, email) };
Microsoft.AspNetCore.JsonPatch (15)
artifacts\obj\Microsoft.AspNetCore.JsonPatch\Release\net10.0\Microsoft.AspNetCore.JsonPatch.Resources.cs (15)
34=> string.Format(Culture, GetResourceString("CannotCopyProperty"), p0); 40=> string.Format(Culture, GetResourceString("CannotDeterminePropertyType"), p0); 52=> string.Format(Culture, GetResourceString("CannotReadProperty"), p0); 58=> string.Format(Culture, GetResourceString("CannotUpdateProperty"), p0); 64=> string.Format(Culture, GetResourceString("ExpressionTypeNotSupported"), p0); 70=> string.Format(Culture, GetResourceString("IndexOutOfBounds"), p0); 76=> string.Format(Culture, GetResourceString("InvalidIndexValue"), p0); 84=> string.Format(Culture, GetResourceString("InvalidJsonPatchOperation"), p0); 90=> string.Format(Culture, GetResourceString("InvalidPathSegment"), p0); 96=> string.Format(Culture, GetResourceString("InvalidValueForPath"), p0); 102=> string.Format(Culture, GetResourceString("InvalidValueForProperty"), p0); 114=> string.Format(Culture, GetResourceString("PatchNotSupportedForArrays"), p0); 120=> string.Format(Culture, GetResourceString("PatchNotSupportedForNonGenericLists"), p0); 126=> string.Format(Culture, GetResourceString("TargetLocationAtPathSegmentNotFound"), p0); 146=> string.Format(Culture, GetResourceString("ValueForTargetSegmentCannotBeNullOrEmpty"), p0);
Microsoft.AspNetCore.JsonPatch.SystemTextJson (15)
artifacts\obj\Microsoft.AspNetCore.JsonPatch.SystemTextJson\Release\net10.0\Microsoft.AspNetCore.JsonPatch.SystemTextJson.Resources.cs (15)
34=> string.Format(Culture, GetResourceString("CannotCopyProperty"), p0); 40=> string.Format(Culture, GetResourceString("CannotDeterminePropertyType"), p0); 52=> string.Format(Culture, GetResourceString("CannotReadProperty"), p0); 58=> string.Format(Culture, GetResourceString("CannotUpdateProperty"), p0); 64=> string.Format(Culture, GetResourceString("ExpressionTypeNotSupported"), p0); 70=> string.Format(Culture, GetResourceString("IndexOutOfBounds"), p0); 76=> string.Format(Culture, GetResourceString("InvalidIndexValue"), p0); 84=> string.Format(Culture, GetResourceString("InvalidJsonPatchOperation"), p0); 90=> string.Format(Culture, GetResourceString("InvalidPathSegment"), p0); 96=> string.Format(Culture, GetResourceString("InvalidValueForPath"), p0); 102=> string.Format(Culture, GetResourceString("InvalidValueForProperty"), p0); 114=> string.Format(Culture, GetResourceString("PatchNotSupportedForArrays"), p0); 120=> string.Format(Culture, GetResourceString("PatchNotSupportedForNonGenericLists"), p0); 126=> string.Format(Culture, GetResourceString("TargetLocationAtPathSegmentNotFound"), p0); 146=> string.Format(Culture, GetResourceString("ValueForTargetSegmentCannotBeNullOrEmpty"), p0);
Microsoft.AspNetCore.Mvc.Abstractions (1)
artifacts\obj\Microsoft.AspNetCore.Mvc.Abstractions\Release\net10.0\Microsoft.AspNetCore.Mvc.Abstractions.Resources.cs (1)
100=> string.Format(Culture, GetResourceString("ModelStateDictionary_MaxModelStateDepth"), p0);
Microsoft.AspNetCore.Mvc.Core (43)
artifacts\obj\Microsoft.AspNetCore.Mvc.Core\Release\net10.0\Microsoft.AspNetCore.Mvc.Core.Resources.cs (41)
34=> string.Format(Culture, GetResourceString("MatchAllContentTypeIsNotAllowed"), p0); 58=> string.Format(Culture, GetResourceString("ActionInvokerFactory_CouldNotCreateInvoker"), p0); 64=> string.Format(Culture, GetResourceString("ActionDescriptorMustBeBasedOnControllerAction"), p0); 84=> string.Format(Culture, GetResourceString("ModelBinding_NullValueNotValid"), p0); 90=> string.Format(Culture, GetResourceString("Invalid_IncludePropertyExpression"), p0); 116=> string.Format(Culture, GetResourceString("ActionResult_ActionReturnValueCannotBeNull"), p0); 128=> string.Format(Culture, GetResourceString("InputFormatterNoEncoding"), p0); 134=> string.Format(Culture, GetResourceString("UnsupportedContentType"), p0); 140=> string.Format(Culture, GetResourceString("OutputFormatterNoMediaType"), p0); 228=> string.Format(Culture, GetResourceString("FileResult_InvalidPath"), p0); 248=> string.Format(Culture, GetResourceString("ApiExplorer_UnsupportedAction"), p0); 254=> string.Format(Culture, GetResourceString("FormatterMappings_NotValidMediaType"), p0); 260=> string.Format(Culture, GetResourceString("Format_NotValid"), p0); 266=> string.Format(Culture, GetResourceString("CacheProfileNotFound"), p0); 308=> string.Format(Culture, GetResourceString("JQueryFormValueProviderFactory_MissingClosingBracket"), p0); 316=> string.Format(Culture, GetResourceString("ModelBinderUtil_ModelCannotBeNull"), p0); 330=> string.Format(Culture, GetResourceString("ModelBinding_MissingBindRequiredMember"), p0); 344=> string.Format(Culture, GetResourceString("FileResult_PathNotRooted"), p0); 352=> string.Format(Culture, GetResourceString("FormatFormatterMappings_GetMediaTypeMappingForFormat_InvalidFormat"), p0); 358=> string.Format(Culture, GetResourceString("AcceptHeaderParser_ParseAcceptHeader_InvalidValues"), p0); 370=> string.Format(Culture, GetResourceString("ModelState_NonPropertyAttemptedValueIsInvalid"), p0); 376=> string.Format(Culture, GetResourceString("ModelState_UnknownValueIsInvalid"), p0); 384=> string.Format(Culture, GetResourceString("HtmlGeneration_ValueIsInvalid"), p0); 390=> string.Format(Culture, GetResourceString("HtmlGeneration_ValueMustBeNumber"), p0); 398=> string.Format(Culture, GetResourceString("TextInputFormatter_SupportedEncodingsMustNotBeEmpty"), p0); 404=> string.Format(Culture, GetResourceString("TextOutputFormatter_SupportedEncodingsMustNotBeEmpty"), p0); 422=> string.Format(Culture, GetResourceString("CouldNotCreateIModelBinder"), p0); 446=> string.Format(Culture, GetResourceString("MiddewareFilter_ConfigureMethodOverload"), p0); 458=> string.Format(Culture, GetResourceString("MiddlewareFilterBuilder_NullApplicationBuilder"), p0); 488=> string.Format(Culture, GetResourceString("VaryByQueryKeys_Requires_ResponseCachingMiddleware"), p0); 494=> string.Format(Culture, GetResourceString("CandidateResolver_DifferentCasedReference"), p0); 512=> string.Format(Culture, GetResourceString("ComplexTypeModelBinder_NoParameterlessConstructor_ForType"), p0); 524=> string.Format(Culture, GetResourceString("NoRoutesMatchedForPage"), p0); 564=> string.Format(Culture, GetResourceString("ApplicationAssembliesProvider_DuplicateRelatedAssembly"), p0); 588=> string.Format(Culture, GetResourceString("ApiConventionMustBeStatic"), p0); 668=> string.Format(Culture, GetResourceString("FailedToReadRequestForm"), p0); 674=> string.Format(Culture, GetResourceString("ValidationVisitor_ContainerCannotBeSpecified"), p0); 680=> string.Format(Culture, GetResourceString("StateShouldBeNullForRouteValueTransformers"), p0); 698=> string.Format(Culture, GetResourceString("ComplexObjectModelBinder_NoSuitableConstructor_ForType"), p0); 716=> string.Format(Culture, GetResourceString("GetContentTypes_WildcardsNotSupported"), p0); 722=> string.Format(Culture, GetResourceString("OutputCacheAttribute_Requires_OutputCachingMiddleware"), p0);
Formatters\FormatterMappings.cs (2)
88string.Format(CultureInfo.CurrentCulture, Resources.FormatterMappings_NotValidMediaType, contentType), 101throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.Format_NotValid, format), nameof(format));
Microsoft.AspNetCore.Mvc.Core.Test (9)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (1)
1969return string.Format(CultureInfo.InvariantCulture, "User {0} retrieved successfully", id);
ConsumesAttributeTests.cs (1)
69string.Format(
Formatters\JsonOutputFormatterTestBase.cs (1)
85var mediaType = MediaTypeHeaderValue.Parse(string.Format(CultureInfo.InvariantCulture, "application/json; charset={0}", encodingAsString));
Infrastructure\ObjectResultExecutorTest.cs (1)
353var expectedMessage = string.Format(
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (2)
541string.Format( 583string.Format(
ModelBinding\Binders\DictionaryModelBinderTest.cs (2)
642kvp => string.Format(CultureInfo.InvariantCulture, keyFormat, kvp.Key), 658kvp => string.Format(CultureInfo.InvariantCulture, keyFormat, kvp.Key),
ModelBinding\ModelBindingHelperTest.cs (1)
358Assert.Equal(string.Format(
Microsoft.AspNetCore.Mvc.Cors (1)
artifacts\obj\Microsoft.AspNetCore.Mvc.Cors\Release\net10.0\Microsoft.AspNetCore.Mvc.Cors.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("CorsAuthorizationFilter_MissingCorsPolicy"), p0);
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
artifacts\obj\Microsoft.AspNetCore.Mvc.Formatters.Xml\Release\net10.0\Microsoft.AspNetCore.Mvc.Formatters.Xml.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("EnumerableWrapperProvider_InvalidSourceEnumerableOfT"), p0);
Microsoft.AspNetCore.Mvc.FunctionalTests (4)
BasicTests.cs (2)
257var expectedBody = string.Format( 280var expectedBody = string.Format(
Infrastructure\ResourceFile.cs (1)
39expectedContent = string.Format(CultureInfo.InvariantCulture, expectedContent, token);
RazorPagesWithBasePathTest.cs (1)
210var expectedContent = string.Format(CultureInfo.InvariantCulture, expected, forgeryToken);
Microsoft.AspNetCore.Mvc.IntegrationTests (5)
ActionParametersIntegrationTest.cs (5)
473string.Format( 497string.Format( 520string.Format( 559string.Format( 592string.Format(
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
artifacts\obj\Microsoft.AspNetCore.Mvc.NewtonsoftJson\Release\net10.0\Microsoft.AspNetCore.Mvc.NewtonsoftJson.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("ContractResolverCannotBeNull"), p0);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
src\Mvc\Mvc.Core\test\Formatters\JsonOutputFormatterTestBase.cs (1)
85var mediaType = MediaTypeHeaderValue.Parse(string.Format(CultureInfo.InvariantCulture, "application/json; charset={0}", encodingAsString));
Microsoft.AspNetCore.Mvc.Razor (6)
artifacts\obj\Microsoft.AspNetCore.Mvc.Razor\Release\net10.0\Microsoft.AspNetCore.Mvc.Razor.Resources.cs (6)
38=> string.Format(Culture, GetResourceString("FlushPointCannotBeInvoked"), p0); 76=> string.Format(Culture, GetResourceString("SectionAlreadyDefined"), p0); 126=> string.Format(Culture, GetResourceString("Compilation_MissingReferences"), p0); 132=> string.Format(Culture, GetResourceString("ViewLocationFormatsIsRequired"), p0); 156=> string.Format(Culture, GetResourceString("UnsupportedDebugInformationFormat"), p0); 168=> string.Format(Culture, GetResourceString("AsyncDisposableViewsNotSupported"), p0);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
artifacts\obj\Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation\Release\net10.0\Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Resources.cs (2)
36=> string.Format(Culture, GetResourceString("Compilation_MissingReferences"), p0); 50=> string.Format(Culture, GetResourceString("UnsupportedDebugInformationFormat"), p0);
Microsoft.AspNetCore.Mvc.RazorPages (3)
artifacts\obj\Microsoft.AspNetCore.Mvc.RazorPages\Release\net10.0\Microsoft.AspNetCore.Mvc.RazorPages.Resources.cs (3)
54=> string.Format(Culture, GetResourceString("UnsupportedHandlerMethodType"), p0); 86=> string.Format(Culture, GetResourceString("InvalidValidPageName"), p0); 98=> string.Format(Culture, GetResourceString("StateShouldBeNullForRouteValueTransformers"), p0);
Microsoft.AspNetCore.Mvc.Testing (1)
artifacts\obj\Microsoft.AspNetCore.Mvc.Testing\Release\net10.0\Microsoft.AspNetCore.Mvc.Testing.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("InvalidAssemblyEntryPoint"), p0);
Microsoft.AspNetCore.Mvc.ViewFeatures (19)
artifacts\obj\Microsoft.AspNetCore.Mvc.ViewFeatures\Release\net10.0\Microsoft.AspNetCore.Mvc.ViewFeatures.Resources.cs (13)
60=> string.Format(Culture, GetResourceString("ViewComponent_IViewComponentFactory_ReturnedNull"), p0); 118=> string.Format(Culture, GetResourceString("HtmlHelper_NullModelMetadata"), p0); 132=> string.Format(Culture, GetResourceString("HtmlHelper_SelectExpressionNotEnumerable"), p0); 158=> string.Format(Culture, GetResourceString("TemplateHelpers_NoTemplate"), p0); 164=> string.Format(Culture, GetResourceString("ViewData_ModelCannotBeNull"), p0); 190=> string.Format(Culture, GetResourceString("UnobtrusiveJavascript_ValidationParameterCannotBeEmpty"), p0); 202=> string.Format(Culture, GetResourceString("UnobtrusiveJavascript_ValidationTypeCannotBeEmpty"), p0); 214=> string.Format(Culture, GetResourceString("UnobtrusiveJavascript_ValidationTypeMustBeUnique"), p0); 220=> string.Format(Culture, GetResourceString("TemplatedViewLocationExpander_NoReplacementToken"), p0); 248=> string.Format(Culture, GetResourceString("RemoteAttribute_RemoteValidationFailed"), p0); 266=> string.Format(Culture, GetResourceString("Dictionary_DuplicateKey"), p0); 324=> string.Format(Culture, GetResourceString("TempData_CannotDeserializeType"), p0); 330=> string.Format(Culture, GetResourceString("AsyncDisposableViewsNotSupported"), p0);
DefaultDisplayTemplates.cs (1)
153string.Format(CultureInfo.CurrentCulture, "{0:0.00}", htmlHelper.ViewData.Model);
DefaultEditorTemplates.cs (2)
135string.Format(CultureInfo.CurrentCulture, "{0:0.00}", htmlHelper.ViewData.Model); 431string.Format(CultureInfo.InvariantCulture, format, value);
RemoteAttributeBase.cs (1)
119return string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name);
TemplateBuilder.cs (1)
94formattedModelValue = string.Format(CultureInfo.CurrentCulture, formatString, _model);
ViewDataDictionary.cs (1)
411return string.Format(formatProvider, format, value);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (9)
artifacts\obj\Microsoft.AspNetCore.Mvc.ViewFeatures.Test\Release\net10.0\Microsoft.AspNetCore.Mvc.ViewFeatures.Test.Resources.cs (1)
44=> string.Format(Culture, GetResourceString("RemoteAttribute_Error"), p0);
DefaultDisplayTemplatesTest.cs (2)
187var label = string.Format( 193var value = string.Format(
DefaultEditorTemplatesTest.cs (2)
420var label = string.Format( 426var value = string.Format(
Rendering\HtmlHelperCheckboxTest.cs (2)
592expected = string.Format(CultureInfo.InvariantCulture, expected, expectedChecked); 662expected = string.Format(CultureInfo.InvariantCulture, expected, expectedChecked);
Rendering\HtmlHelperFormTest.cs (1)
123var expectedStartTag = string.Format(CultureInfo.InvariantCulture, "<form action=\"HtmlEncode[[{0}]]\" method=\"HtmlEncode[[post]]\">", expectedAction);
Rendering\HtmlHelperValueExtensionsTest.cs (1)
72return string.Format(
Microsoft.AspNetCore.Rewrite (6)
artifacts\obj\Microsoft.AspNetCore.Rewrite\Release\net10.0\Microsoft.AspNetCore.Rewrite.Resources.cs (6)
36=> string.Format(Culture, GetResourceString("Error_CouldNotParseInteger"), p0); 54=> string.Format(Culture, GetResourceString("Error_InputParserMissingCloseBrace"), p0); 60=> string.Format(Culture, GetResourceString("Error_InputParserNoBackreference"), p0); 74=> string.Format(Culture, GetResourceString("Error_InvalidChangeCookieFlag"), p0); 86=> string.Format(Culture, GetResourceString("Error_ModRewriteGeneralParseError"), p0); 98=> string.Format(Culture, GetResourceString("Error_UnsupportedServerVariable"), p0);
Microsoft.AspNetCore.Routing (11)
artifacts\obj\Microsoft.AspNetCore.Routing\Release\net10.0\Microsoft.AspNetCore.Routing.Resources.cs (11)
34=> string.Format(Culture, GetResourceString("ArgumentMustBeGreaterThanOrEqualTo"), p0); 52=> string.Format(Culture, GetResourceString("NamedRoutes_AmbiguousRoutesFound"), p0); 58=> string.Format(Culture, GetResourceString("DefaultHandler_MustBeSet"), p0); 84=> string.Format(Culture, GetResourceString("TemplateRoute_CannotHaveDefaultValueSpecifiedInlineAndExplicitly"), p0); 100=> string.Format(Culture, GetResourceString("TemplateRoute_InvalidLiteral"), p0); 106=> string.Format(Culture, GetResourceString("TemplateRoute_InvalidParameterName"), p0); 116=> string.Format(Culture, GetResourceString("TemplateRoute_RepeatedParameter"), p0); 148=> string.Format(Culture, GetResourceString("AttributeRoute_DifferentLinkGenerationEntries_SameName"), p0); 204=> string.Format(Culture, GetResourceString("DuplicateEndpointNameEntry"), p0); 212=> string.Format(Culture, GetResourceString("FormatterMapping_MediaTypeInvalid"), p0); 224=> string.Format(Culture, GetResourceString("MapGroup_CustomEndpointUnsupported"), p0);
Microsoft.AspNetCore.Server.HttpSys (6)
artifacts\obj\Microsoft.AspNetCore.Server.HttpSys\Release\net10.0\Microsoft.AspNetCore.Server.HttpSys.Resources.cs (3)
48=> string.Format(Culture, GetResourceString("Exception_InvalidStatusCode"), p0); 56=> string.Format(Culture, GetResourceString("Exception_PrefixAlreadyRegistered"), p0); 72=> string.Format(Culture, GetResourceString("Warning_ExceptionInOnResponseCompletedAction"), p0);
HttpSysOptions.cs (1)
221string message = String.Format(
RequestProcessing\Response.cs (1)
78throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(CultureInfo.CurrentCulture, Resources.Exception_InvalidStatusCode, value));
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
282=> throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, "Invalid control character in header: 0x{0:X2}", headerCharacters[invalidIndex]));
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (5)
artifacts\obj\Microsoft.AspNetCore.Server.HttpSys.FunctionalTests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0); 50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0); 66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0); 76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0); 86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
Microsoft.AspNetCore.Server.IIS (2)
artifacts\obj\Microsoft.AspNetCore.Server.IIS\Release\net10.0\Microsoft.AspNetCore.Server.IIS.CoreStrings.cs (1)
52=> string.Format(Culture, GetResourceString("ParameterReadOnlyAfterResponseStarted", new [] { "name" }), name);
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
282=> throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, "Invalid control character in header: 0x{0:X2}", headerCharacters[invalidIndex]));
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Deployers\ApplicationDeployerFactory.cs (1)
37string.Format(
Microsoft.AspNetCore.Server.Kestrel.Core (64)
artifacts\obj\Microsoft.AspNetCore.Server.Kestrel.Core\Release\net10.0\Microsoft.AspNetCore.Server.Kestrel.Core.CoreStrings.cs (54)
42=> string.Format(Culture, GetResourceString("BadRequest_FinalTransferCodingNotChunked", new [] { "detail" }), detail); 52=> string.Format(Culture, GetResourceString("BadRequest_InvalidContentLength_Detail", new [] { "detail" }), detail); 60=> string.Format(Culture, GetResourceString("BadRequest_InvalidHostHeader_Detail", new [] { "detail" }), detail); 68=> string.Format(Culture, GetResourceString("BadRequest_InvalidRequestHeader_Detail", new [] { "detail" }), detail); 76=> string.Format(Culture, GetResourceString("BadRequest_InvalidRequestLine_Detail", new [] { "detail" }), detail); 82=> string.Format(Culture, GetResourceString("BadRequest_InvalidRequestTarget_Detail", new [] { "detail" }), detail); 88=> string.Format(Culture, GetResourceString("BadRequest_LengthRequiredHttp10", new [] { "detail" }), detail); 112=> string.Format(Culture, GetResourceString("BadRequest_UnrecognizedHTTPVersion", new [] { "detail" }), detail); 118=> string.Format(Culture, GetResourceString("FallbackToIPv4Any", new [] { "port" }), port); 142=> string.Format(Culture, GetResourceString("UnknownTransportMode", new [] { "mode" }), mode); 148=> string.Format(Culture, GetResourceString("InvalidAsciiOrControlChar", new [] { "character" }), character); 154=> string.Format(Culture, GetResourceString("InvalidContentLength_InvalidNumber", new [] { "value" }), value); 170=> string.Format(Culture, GetResourceString("AddressBindingFailed", new [] { "address" }), address); 176=> string.Format(Culture, GetResourceString("BindingToDefaultAddress", new [] { "address" }), address); 182=> string.Format(Culture, GetResourceString("ConfigurePathBaseFromMethodCall", new [] { "methodName" }), methodName); 190=> string.Format(Culture, GetResourceString("EndpointAlreadyInUse", new [] { "endpoint" }), endpoint); 202=> string.Format(Culture, GetResourceString("OverridingWithKestrelOptions", new [] { "addresses" }), addresses); 214=> string.Format(Culture, GetResourceString("UnsupportedAddressScheme", new [] { "address" }), address); 230=> string.Format(Culture, GetResourceString("ParameterReadOnlyAfterResponseStarted", new [] { "name" }), name); 250=> string.Format(Culture, GetResourceString("WritingToResponseBodyNotSupported", new [] { "statusCode" }), statusCode); 266=> string.Format(Culture, GetResourceString("BadRequest_RequestBodyTooLarge", new [] { "maxRequestBodySize" }), maxRequestBodySize); 278=> string.Format(Culture, GetResourceString("MinimumGracePeriodRequired", new [] { "heartbeatInterval" }), heartbeatInterval); 312=> string.Format(Culture, GetResourceString("Http2ErrorStreamIdZero", new [] { "frameType" }), frameType); 318=> string.Format(Culture, GetResourceString("Http2ErrorStreamIdNotZero", new [] { "frameType" }), frameType); 324=> string.Format(Culture, GetResourceString("Http2ErrorPaddingTooLong", new [] { "frameType" }), frameType); 358=> string.Format(Culture, GetResourceString("Http2ErrorSettingsParameterOutOfRange", new [] { "parameter" }), parameter); 394=> string.Format(Culture, GetResourceString("InvalidServerCertificateEku", new [] { "thumbprint" }), thumbprint); 408=> string.Format(Culture, GetResourceString("EndpointMissingUrl", new [] { "endpointName" }), endpointName); 417=> string.Format(Culture, GetResourceString("MultipleCertificateSources", new [] { "endpointName" }), endpointName); 441=> string.Format(Culture, GetResourceString("Http2ErrorMinTlsVersion", new [] { "protocol" }), protocol); 467=> string.Format(Culture, GetResourceString("Http2ErrorMethodInvalid", new [] { "method" }), method); 473=> string.Format(Culture, GetResourceString("Http2StreamErrorPathInvalid", new [] { "path" }), path); 501=> string.Format(Culture, GetResourceString("Http3ErrorMethodInvalid", new [] { "method" }), method); 507=> string.Format(Culture, GetResourceString("Http3StreamErrorPathInvalid", new [] { "path" }), path); 539=> string.Format(Culture, GetResourceString("Http2StreamResetByApplication", new [] { "errorCode" }), errorCode); 551=> string.Format(Culture, GetResourceString("QPackErrorIndexOutOfRange", new [] { "index" }), index); 577=> string.Format(Culture, GetResourceString("ArgumentTimeSpanGreaterOrEqual", new [] { "value" }), value); 585=> string.Format(Culture, GetResourceString("UnrecognizedCertificateKeyOid"), p0); 597=> string.Format(Culture, GetResourceString("SniNotConfiguredToAllowNoServerName", new [] { "endpointName" }), endpointName); 603=> string.Format(Culture, GetResourceString("SniNameCannotBeEmpty", new [] { "endpointName" }), endpointName); 619=> string.Format(Culture, GetResourceString("Http3StreamResetByApplication", new [] { "errorCode" }), errorCode); 629=> string.Format(Culture, GetResourceString("Http3StreamErrorFrameReceivedAfterTrailers", new [] { "frameType" }), frameType); 635=> string.Format(Culture, GetResourceString("Http3ErrorUnsupportedFrameOnRequestStream", new [] { "frameType" }), frameType); 641=> string.Format(Culture, GetResourceString("Http3ErrorUnsupportedFrameOnServer", new [] { "frameType" }), frameType); 647=> string.Format(Culture, GetResourceString("Http3ErrorUnsupportedFrameOnControlStream", new [] { "frameType" }), frameType); 655=> string.Format(Culture, GetResourceString("Http3ErrorControlStreamFrameReceivedBeforeSettings", new [] { "frameType" }), frameType); 661=> string.Format(Culture, GetResourceString("Http3ErrorControlStreamReservedSetting", new [] { "identifier" }), identifier); 667=> string.Format(Culture, GetResourceString("Http3ControlStreamErrorMultipleInboundStreams", new [] { "streamType" }), streamType); 679=> string.Format(Culture, GetResourceString("Http3ControlStreamErrorUnsupportedType", new [] { "type" }), type); 717=> string.Format(Culture, GetResourceString("UnidentifiedStream", new [] { "stream" }), stream); 725=> string.Format(Culture, GetResourceString("FailedToNegotiateCommonWebTransportVersion", new [] { "currentSuppportedVersion" }), currentSuppportedVersion); 739=> string.Format(Culture, GetResourceString("ConnectResponseCanNotHaveBody", new [] { "StatusCode" }), StatusCode); 745=> string.Format(Culture, GetResourceString("FailedToBindToIPv6Any", new [] { "port" }), port); 759=> string.Format(Culture, GetResourceString("Http3ControlStreamFrameTooLarge", new [] { "frameType" }), frameType);
artifacts\obj\Microsoft.AspNetCore.Server.Kestrel.Core\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0); 50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0); 66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0); 76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0); 86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
Internal\Certificates\CertificateConfigLoader.cs (1)
146throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, CoreStrings.UnrecognizedCertificateKeyOid, certificate.PublicKey.Oid.Value));
Internal\ConnectionLogScope.cs (1)
52_cachedToString = string.Format(
Internal\Http\HttpHeaders.cs (1)
686throw new InvalidOperationException(CoreStrings.FormatInvalidAsciiOrControlChar(string.Format(CultureInfo.InvariantCulture, "0x{0:X4}", (ushort)ch)));
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
161string.Format(CultureInfo.InvariantCulture, MacOSVerifyCertificateCommandLineArgumentsFormat, tmpFile)) 208string.Format(
Microsoft.AspNetCore.Session (1)
artifacts\obj\Microsoft.AspNetCore.Session\Release\net10.0\Microsoft.AspNetCore.Session.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("Exception_KeyLengthIsExceeded"), p0);
Microsoft.AspNetCore.Shared.Tests (14)
artifacts\obj\Microsoft.AspNetCore.Shared.Tests\Release\net10.0\System.Net.Http.SR.cs (5)
34=> string.Format(Culture, GetResourceString("net_http_headers_exceeded_length"), p0); 50=> string.Format(Culture, GetResourceString("net_http_hpack_invalid_index"), p0); 66=> string.Format(Culture, GetResourceString("net_http_invalid_header_name"), p0); 76=> string.Format(Culture, GetResourceString("net_quic_connectionaborted"), p0); 86=> string.Format(Culture, GetResourceString("net_quic_streamaborted"), p0);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
282=> throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, "Invalid control character in header: 0x{0:X2}", headerCharacters[invalidIndex]));
src\Shared\WebEncoders\Properties\EncoderResources.cs (1)
35return string.Format(CultureInfo.CurrentCulture, WebEncoders_MalformedInput, p0);
src\Shared\WebEncoders\WebEncoders.cs (1)
459string.Format(
Microsoft.AspNetCore.WebUtilities (6)
artifacts\obj\Microsoft.AspNetCore.WebUtilities\Release\net10.0\Microsoft.AspNetCore.WebUtilities.Resources.cs (2)
40=> string.Format(Culture, GetResourceString("FormPipeReader_KeyTooLarge"), p0); 46=> string.Format(Culture, GetResourceString("FormPipeReader_ValueTooLarge"), p0);
FormPipeReader.cs (2)
329string.Format( 338string.Format(
src\Shared\WebEncoders\Properties\EncoderResources.cs (1)
35return string.Format(CultureInfo.CurrentCulture, WebEncoders_MalformedInput, p0);
src\Shared\WebEncoders\WebEncoders.cs (1)
459string.Format(
Microsoft.Build (27)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
1447using (StreamWriter file = FileUtilities.OpenWrite(string.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, @"EngineTrace_{0}.txt"), EnvironmentUtilities.CurrentProcessId), append: true))
BackEnd\Components\Scheduler\Scheduler.cs (7)
2528String.Format(CultureInfo.InvariantCulture, "{0:0.000}", request.GetTimeSpentInState(SchedulableRequestState.Executing).TotalSeconds), 2529String.Format(CultureInfo.InvariantCulture, "{0:0.000}", request.GetTimeSpentInState(SchedulableRequestState.Executing).TotalSeconds + request.GetTimeSpentInState(SchedulableRequestState.Blocked).TotalSeconds + request.GetTimeSpentInState(SchedulableRequestState.Ready).TotalSeconds), 2568using StreamWriter file = FileUtilities.OpenWrite(string.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerTrace_{0}.txt"), EnvironmentUtilities.CurrentProcessId), append: true); 2592using StreamWriter file = FileUtilities.OpenWrite(string.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), EnvironmentUtilities.CurrentProcessId), append: true); 2603? string.Format( 2706using StreamWriter file = FileUtilities.OpenWrite(string.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), EnvironmentUtilities.CurrentProcessId), append: true); 2746using StreamWriter file = FileUtilities.OpenWrite(string.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), EnvironmentUtilities.CurrentProcessId), append: true);
BackEnd\Shared\BuildRequestConfiguration.cs (1)
986string filename = Path.Combine(FileUtilities.GetCacheDirectory(), String.Format(CultureInfo.InvariantCulture, "Configuration{0}.cache", _configId));
CommunicationsUtilities.cs (1)
584throw new IOException(String.Format(CultureInfo.InvariantCulture, "Failed to convert the handshake to big-endian. {0}", ex.Message));
Construction\ProjectRootElement.cs (1)
731=> _dirtyReason == null ? null : String.Format(CultureInfo.InvariantCulture, _dirtyReason, _dirtyParameter);
Construction\Solution\SolutionProjectGenerator.cs (8)
421string destinationFolder = String.Format(CultureInfo.InvariantCulture, @"$({0})\Bin\", GenerateSafePropertyName(project, "AspNetPhysicalPath")); 428ProjectTaskInstance copyNonExistentReferencesTask = target.AddTask("Copy", String.Format(CultureInfo.InvariantCulture, "!Exists('%({0}.Identity)')", referenceItemName), "true"); 444ProjectTaskInstance rarTask = target.AddTask("ResolveAssemblyReference", String.Format(CultureInfo.InvariantCulture, "Exists('%({0}.Identity)')", referenceItemName), null); 486ProjectTaskInstance readLinesTask = target.AddTask("ReadLinesFromFile", String.Format(CultureInfo.InvariantCulture, @" '%({0}_RefreshFile.Identity)' != '' ", referenceItemName), null); 487readLinesTask.SetParameter("File", String.Format(CultureInfo.InvariantCulture, @"%({0}_RefreshFile.Identity)", referenceItemName)); 495combinePathTask.SetParameter("Paths", String.Format(CultureInfo.InvariantCulture, @"@({0}_ReferenceRelPath)", referenceItemName)); 1263string targetOutputItemName = string.Format(CultureInfo.InvariantCulture, "{0}BuildOutput", safeItemNameFromProjectName); 1691if (!traversalProject.EvaluateCondition(String.Format(CultureInfo.InvariantCulture, " '$(AspNetConfiguration)' == '{0}' ", EscapingUtilities.Escape(configurationName))))
Definition\Project.cs (1)
3199Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Remove global property {0}", name));
Evaluation\ProjectXmlChangedEventArgs.cs (1)
56get { return _unformattedReason != null ? String.Format(CultureInfo.CurrentCulture, _unformattedReason, _formattingParameter) : null; }
Logging\BaseConsoleLogger.cs (1)
811time = String.Format(CultureInfo.CurrentCulture,
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
1743string time = String.Format(CultureInfo.CurrentCulture,
Logging\ParallelLogger\ParallelLoggerHelpers.cs (2)
635fullProjectKey = String.Format(CultureInfo.InvariantCulture, "{0}", _projectKey); 655fullProjectKey = String.Format(CultureInfo.InvariantCulture, "{0}", _projectKey);
ResourceUtilities.cs (1)
395return string.Format(CultureInfo.CurrentCulture, unformatted, arg1);
WindowsNative.cs (1)
189string.Format(
Microsoft.Build.CommandLine.UnitTests (1)
XMake_Tests.cs (1)
896string bar = string.Format(CultureInfo.CurrentUICulture, "{0}", 1);
Microsoft.Build.Engine.OM.UnitTests (2)
ResourceUtilities.cs (1)
395return string.Format(CultureInfo.CurrentCulture, unformatted, arg1);
WindowsNative.cs (1)
189string.Format(
Microsoft.Build.Engine.UnitTests (5)
BackEnd\BuildManager_Tests.cs (4)
350string shutdownProjectDirectory = Path.Combine(Path.GetTempPath(), String.Format(CultureInfo.InvariantCulture, "VSNodeShutdown_{0}_UnitTest", Process.GetCurrentProcess().Id)); 2097File.WriteAllText(rootProjectPath, String.Format(CultureInfo.InvariantCulture, contents1, importedProjectPath)); 3639string rootProjectPath = Path.Combine(shutdownProjectDirectory, String.Format(CultureInfo.InvariantCulture, "RootProj_{0}.proj", Guid.NewGuid().ToString("N"))); 3654metadata["AdditionalProperties"] = String.Format(CultureInfo.InvariantCulture, "p={0}", i);
FileUtilitiesRegex_Tests.cs (1)
38string.Format(CultureInfo.InvariantCulture, @"{0}$", s_baseUncPattern),
Microsoft.Build.Framework.UnitTests (1)
ResourceUtilities.cs (1)
395return string.Format(CultureInfo.CurrentCulture, unformatted, arg1);
Microsoft.Build.Tasks.Core (20)
AssemblyDependency\AssemblyInformation.cs (1)
466throw new BadImageFormatException(string.Format(CultureInfo.CurrentCulture,
BootstrapperUtil\BootstrapperBuilder.cs (5)
561XmlNode stringNode = stringsNode?.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, "String[@Name='{0}']", cultureAttribute.Value)); 669foreach (XmlNode relatedProductNode in eitherProductNode.SelectNodes(String.Format(CultureInfo.InvariantCulture, "{0}:DependsOnProduct", BOOTSTRAPPER_PREFIX), _xmlNamespaceManager)) 1348XmlNode stringNode = stringsNode.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, stringNodeLookupTemplate, attribute.Value), _xmlNamespaceManager); 1533string configFileKey = string.Format(CultureInfo.InvariantCulture, "EULA{0}", eulas.Count); 1648XmlNode stringNode = stringsNode.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, stringNodeLookupTemplate, attribute.Value), _xmlNamespaceManager);
BootstrapperUtil\ResourceUpdater.cs (2)
107string dataName = string.Format(CultureInfo.InvariantCulture, "FILEDATA{0}", index); 117string keyName = string.Format(CultureInfo.InvariantCulture, "FILEKEY{0}", index);
ManifestUtil\ComImporter.cs (4)
139_outputMessages.AddWarningMessage("GenerateManifest.ComImport", _outputDisplayName, String.Format(CultureInfo.CurrentCulture, _resources.GetString("ComImporter.SubKeyNotImported"), key.Name + "\\" + name)); 161_outputMessages.AddWarningMessage("GenerateManifest.ComImport", _outputDisplayName, String.Format(CultureInfo.CurrentCulture, _resources.GetString("ComImporter.ValueNotImported"), key.Name + "\\@" + name)); 243_outputMessages.AddWarningMessage("GenerateManifest.ComImport", _outputDisplayName, String.Format(CultureInfo.CurrentCulture, _resources.GetString("ComImporter.LocalServerNotSupported"), classKey.Name + "\\LocalServer32")); 254_outputMessages.AddWarningMessage("GenerateManifest.ComImport", _outputDisplayName, String.Format(CultureInfo.CurrentCulture, _resources.GetString("ComImporter.SubKeyNotImported"), classKey.Name + "\\" + subKeyName));
ManifestUtil\Manifest.cs (3)
400throw new InvalidOperationException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "XPath not found: {0}", XPaths.codebasePaths[0])); 409throw new InvalidOperationException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "XPath not found: {0}", XPaths.dependencyPublicKeyTokenAttribute)); 428throw new InvalidOperationException(String.Format(System.Globalization.CultureInfo.InvariantCulture, "XPath not found: {0}", XPaths.fileSizeAttribute));
ManifestUtil\ManifestReader.cs (1)
219Util.WriteLog(String.Format(CultureInfo.InvariantCulture, "ManifestReader.ReadManifest t={0}", Environment.TickCount - t1));
ManifestUtil\SecurityUtil.cs (2)
663throw new FileNotFoundException(String.Format(CultureInfo.InvariantCulture, resources.GetString("SecurityUtil.SignTargetNotFound"), path), path); 879throw new ApplicationException(String.Format(CultureInfo.CurrentCulture,
ResourceUtilities.cs (1)
395return string.Format(CultureInfo.CurrentCulture, unformatted, arg1);
WindowsNative.cs (1)
189string.Format(
Microsoft.Build.Utilities.Core (2)
ResourceUtilities.cs (1)
395return string.Format(CultureInfo.CurrentCulture, unformatted, arg1);
WindowsNative.cs (1)
189string.Format(
Microsoft.CodeAnalysis (2)
CommandLine\ReportAnalyzerUtil.cs (2)
44string.Format(culture, "{0,8:<0.000}", 0.001) : 45string.Format(culture, "{0,8:##0.000}", executionTime);
Microsoft.CodeAnalysis.Analyzers (2)
MetaAnalyzers\Fixers\ApplyDiagnosticAnalyzerAttributeFix.cs (2)
38string title = string.Format(CultureInfo.CurrentCulture, CodeAnalysisDiagnosticsResources.ApplyDiagnosticAnalyzerAttribute_1, LanguageNames.CSharp); 42title = string.Format(CultureInfo.CurrentCulture, CodeAnalysisDiagnosticsResources.ApplyDiagnosticAnalyzerAttribute_1, LanguageNames.VisualBasic);
Microsoft.CodeAnalysis.CSharp (7)
Compilation\MemberSemanticModel.NodeMapBuilder.cs (3)
97string.Format( 105string.Format( 118string.Format(
Compiler\DocumentationCommentCompiler.cs (2)
334WriteLine(string.Format(CultureInfo.CurrentUICulture, message, symbol.GetDocumentationCommentId())); 384WriteLine(string.Format(CultureInfo.CurrentUICulture, message, symbol.GetDocumentationCommentId()));
Errors\XmlSyntaxDiagnosticInfo.cs (2)
47return String.Format(formatProvider, messagePrefix, message); 50return String.Format(formatProvider, String.Format(formatProvider, messagePrefix, message), GetArgumentsToUse(formatProvider));
Microsoft.CodeAnalysis.Features (1)
CodeLens\CodeLensReferencesService.cs (1)
115throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, "Unsupported language '{0}'", semanticModel.Language), nameof(semanticModel));
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Protocol\Converters\FormattingOptionsConverter.cs (3)
40throw new JsonException(string.Format(CultureInfo.InvariantCulture, LanguageServerProtocolResources.FormattingOptionsMissingRequiredProperty, propertyName)); 74throw new JsonException(string.Format(CultureInfo.InvariantCulture, LanguageServerProtocolResources.FormattingOptionsEncounteredInvalidToken, reader.TokenType)); 108_ => throw new JsonException(string.Format(CultureInfo.InvariantCulture, LanguageServerProtocolResources.FormattingOptionsEncounteredInvalidToken, reader.TokenType))
Protocol\Converters\StringEnumConverter.cs (2)
30throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, LanguageServerProtocolResources.StringEnumMissingConstructor, typeof(TStringEnumType).FullName)); 49throw new JsonException(string.Format(CultureInfo.InvariantCulture, LanguageServerProtocolResources.StringEnumSerializationError, reader.GetString()));
Protocol\Converters\TextDocumentSyncConverter.cs (1)
41throw new JsonException(string.Format(CultureInfo.InvariantCulture, LanguageServerProtocolResources.TextDocumentSyncSerializationError, reader.GetString()));
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
DeclarePublicApiAnalyzer.Impl.cs (2)
473return string.Format(CultureInfo.CurrentCulture, formatString, property.Name); 477string.Format(CultureInfo.CurrentCulture, PublicApiAnalyzerResources.ImplicitConstructorErrorMessageName, symbol.ContainingSymbol.ToDisplayString(ShortSymbolNameFormat)) :
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (5)
AnnotatePublicApiFix.cs (2)
195title = string.Format(CultureInfo.InvariantCulture, PublicApiAnalyzerResources.AddAllItemsInDocumentToTheApiTitle, fixAllContext.Document.Name); 204title = string.Format(CultureInfo.InvariantCulture, PublicApiAnalyzerResources.AddAllItemsInProjectToTheApiTitle, fixAllContext.Project.Name);
DeclarePublicApiFix.cs (2)
340title = string.Format(CultureInfo.InvariantCulture, PublicApiAnalyzerResources.AddAllItemsInDocumentToTheApiTitle, fixAllContext.Document.Name); 349title = string.Format(CultureInfo.InvariantCulture, PublicApiAnalyzerResources.AddAllItemsInProjectToTheApiTitle, fixAllContext.Project.Name);
NullableEnablePublicApiFix.cs (1)
131title = string.Format(CultureInfo.InvariantCulture, PublicApiAnalyzerResources.EnableNullableInProjectToTheApiTitle, fixAllContext.Project.Name);
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\DiagnosticDescription.cs (2)
65string.Format(EnsureEnglishUICulture.PreferredOrNull, _originalFormatSpecifiers[i], o) : 66string.Format(EnsureEnglishUICulture.PreferredOrNull, "{0}", o);
Microsoft.CodeAnalysis.UnitTests (1)
RealParserTests.cs (1)
390return string.Format(System.Globalization.CultureInfo.InvariantCulture, "{0:G17}", o);
Microsoft.CodeAnalysis.VisualBasic.Features (4)
CodeLens\VisualBasicDisplayInfoService.vb (4)
73symbolName = String.Format(CultureInfo.CurrentCulture, VBFeaturesResources.Property_getter_name, symbolNameWithNoParams) 77symbolName = String.Format(CultureInfo.CurrentCulture, VBFeaturesResources.Property_setter_name, symbolNameWithNoParams) 87symbolName = String.Format(CultureInfo.CurrentCulture, VBFeaturesResources.Event_add_handler_name, symbolNameWithNoParams) 91symbolName = String.Format(CultureInfo.CurrentCulture, VBFeaturesResources.Event_remove_handler_name, symbolNameWithNoParams)
Microsoft.CSharp (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Data.Analysis (2)
TextFieldParser.cs (2)
307string pattern = string.Format(CultureInfo.InvariantCulture, "\\G[{0}]*\"", WhitespacePattern); 314private string EndQuotePattern => string.Format(CultureInfo.InvariantCulture, "\"[{0}]*", WhitespacePattern);
Microsoft.Data.Analysis.Tests (2)
src\Microsoft.Data.Analysis\TextFieldParser.cs (2)
307string pattern = string.Format(CultureInfo.InvariantCulture, "\\G[{0}]*\"", WhitespacePattern); 314private string EndQuotePattern => string.Format(CultureInfo.InvariantCulture, "\"[{0}]*", WhitespacePattern);
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
ChooseBestP2PTargetFrameworkTask.cs (1)
56string errorMessage = string.Format(CultureInfo.CurrentCulture, "The project target framework '{0}' is not a supported target framework.", $"TargetFrameworkMoniker: {CurrentProjectTargetFramework}, TargetPlatformMoniker:{CurrentProjectTargetPlatform}");
Microsoft.DotNet.GenAPI (1)
GenAPITask.cs (1)
275defaultHeader = string.Format(CultureInfo.InvariantCulture,
Microsoft.Extensions.AI.Evaluation.Reporting (7)
Storage\DiskBasedResponseCache.CacheEntry.cs (2)
45string.Format(CultureInfo.CurrentCulture, DeserializationFailedMessage, cacheEntryFilePath)); 62string.Format(CultureInfo.CurrentCulture, DeserializationFailedMessage, cacheEntryFilePath));
Storage\DiskBasedResponseCache.CacheOptions.cs (2)
50string.Format(CultureInfo.CurrentCulture, DeserializationFailedMessage, cacheOptionsFilePath)); 67string.Format(CultureInfo.CurrentCulture, DeserializationFailedMessage, cacheOptionsFilePath));
Storage\DiskBasedResponseCache.cs (2)
363? string.Format(CultureInfo.CurrentCulture, EntryFileNotFound, entryFilePath) 364: string.Format(CultureInfo.CurrentCulture, ContentsFileNotFound, contentsFilePath));
Storage\DiskBasedResultStore.cs (1)
76string.Format(CultureInfo.CurrentCulture, DeserializationFailedMessage, resultFile.FullName))
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (2)
Storage\AzureStorageResponseCache.CacheEntry.cs (2)
50string.Format(CultureInfo.CurrentCulture, DeserializationFailedMessage, fileClient.Name)); 68string.Format(CultureInfo.CurrentCulture, DeserializationFailedMessage, fileClient.Name));
Microsoft.Extensions.ApiDescription.Client (1)
artifacts\obj\Microsoft.Extensions.ApiDescription.Client\Release\netstandard2.0\Microsoft.Extensions.ApiDescription.Client.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("DuplicateFileOutputPaths"), p0);
Microsoft.Extensions.Caching.Memory (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Caching.SqlServer (5)
SqlQueries.cs (5)
64GetCacheItem = string.Format(CultureInfo.InvariantCulture, UpdateCacheItemFormat + GetCacheItemFormat, tableNameWithSchema); 65GetCacheItemWithoutValue = string.Format(CultureInfo.InvariantCulture, UpdateCacheItemFormat, tableNameWithSchema); 66DeleteCacheItem = string.Format(CultureInfo.InvariantCulture, DeleteCacheItemFormat, tableNameWithSchema); 67DeleteExpiredCacheItems = string.Format(CultureInfo.InvariantCulture, DeleteExpiredCacheItemsFormat, tableNameWithSchema); 68SetCacheItem = string.Format(CultureInfo.InvariantCulture, SetCacheItemFormat, tableNameWithSchema);
Microsoft.Extensions.Caching.SqlServer.Tests (1)
SqlServerCacheWithDatabaseTest.cs (1)
651var key = string.Format(CultureInfo.InvariantCulture, " {0} ", Guid.NewGuid()); // with trailing spaces
Microsoft.Extensions.Compliance.Testing (3)
FakeRedactor.cs (2)
77var str = string.Format(CultureInfo.InvariantCulture, _format, sourceString); 92return string.Format(CultureInfo.InvariantCulture, _format, input.ToString()).Length;
FakeRedactorOptionsCustomValidator.cs (1)
20_ = string.Format(CultureInfo.InvariantCulture, options.RedactionFormat, "Test");
Microsoft.Extensions.Configuration (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Configuration.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Configuration.Binder (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Configuration.CommandLine (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Configuration.FileExtensions (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Configuration.Ini (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Configuration.Json (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Configuration.UserSecrets (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Configuration.Xml (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.DependencyInjection (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.DependencyInjection.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.DependencyModel (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Diagnostics (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Diagnostics.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.FileProviders.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.FileProviders.Physical (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.FileSystemGlobbing (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Hosting (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Hosting.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Http (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Http.Resilience.Tests (1)
Hedging\HedgingTests.cs (1)
371uri = new Uri(string.Format(CultureInfo.InvariantCulture, pattern, attemptCount));
Microsoft.Extensions.Identity.Core (12)
artifacts\obj\Microsoft.Extensions.Identity.Core\Release\net10.0\Microsoft.Extensions.Identity.Core.Resources.cs (12)
38=> string.Format(Culture, GetResourceString("DuplicateEmail"), p0); 44=> string.Format(Culture, GetResourceString("DuplicateRoleName"), p0); 50=> string.Format(Culture, GetResourceString("DuplicateUserName"), p0); 56=> string.Format(Culture, GetResourceString("InvalidEmail"), p0); 72=> string.Format(Culture, GetResourceString("InvalidRoleName"), p0); 80=> string.Format(Culture, GetResourceString("InvalidUserName"), p0); 108=> string.Format(Culture, GetResourceString("PasswordTooShort"), p0); 114=> string.Format(Culture, GetResourceString("RoleNotFound"), p0); 154=> string.Format(Culture, GetResourceString("UserAlreadyInRole"), p0); 164=> string.Format(Culture, GetResourceString("UserNameNotFound"), p0); 170=> string.Format(Culture, GetResourceString("UserNotInRole"), p0); 178=> string.Format(Culture, GetResourceString("PasswordRequiresUniqueChars"), p0);
Microsoft.Extensions.Localization (2)
artifacts\obj\Microsoft.Extensions.Localization\Release\net10.0\Microsoft.Extensions.Localization.Resources.cs (2)
34=> string.Format(Culture, GetResourceString("Localization_MissingManifest"), p0); 42=> string.Format(Culture, GetResourceString("Localization_TypeMustHaveTypeName"), p0);
Microsoft.Extensions.Logging (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Logging.Abstractions (3)
FormattedLogValues.cs (1)
13/// LogValues to enable formatting options supported by <see cref="string.Format(IFormatProvider, string, object?)"/>.
LogValuesFormatter.cs (1)
14/// Formatter to convert the named format items like {NamedformatItem} to <see cref="string.Format(IFormatProvider, string, object)"/> format.
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Logging.Configuration (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Logging.Console (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Logging.Generators (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Options (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Options.SourceGeneration (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Extensions.SecretManager.Tools.Tests (7)
SecretManagerTests.cs (6)
115string.Format(CultureInfo.InvariantCulture, "Successfully saved {0} to the secret store.", keyValue.Key), 175Assert.Contains(string.Format(CultureInfo.InvariantCulture, "Project file path {0}.", Path.Combine(projectPath, "TestProject.csproj")), _console.GetOutput()); 176Assert.Contains(string.Format(CultureInfo.InvariantCulture, "Secrets file path {0}.", PathHelper.GetSecretsPathFromSecretsId(secretId)), _console.GetOutput()); 182Assert.Contains(string.Format(CultureInfo.InvariantCulture, "Project file path {0}.", Path.Combine(projectPath, "TestProject.csproj")), _console.GetOutput()); 183Assert.Contains(string.Format(CultureInfo.InvariantCulture, "Secrets file path {0}.", PathHelper.GetSecretsPathFromSecretsId(secretId)), _console.GetOutput()); 302string.Format(CultureInfo.InvariantCulture, "Successfully saved {0} to the secret store.", keyValue.Key),
UserSecretsTestFixture.cs (1)
64string.Format(CultureInfo.InvariantCulture, ProjectTemplate, prop));
Microsoft.Gen.ComplianceReports (1)
ComplianceReportsGenerator.cs (1)
99helpLinkUri: string.Format(CultureInfo.InvariantCulture, DiagnosticIds.UrlFormat, DiagnosticIds.AuditReports.AUDREPGEN001));
Microsoft.Gen.MetadataExtractor (3)
MetadataReportsGenerator.cs (1)
88helpLinkUri: string.Format(CultureInfo.InvariantCulture, DiagnosticIds.UrlFormat, DiagnosticIds.AuditReports.AUDREPGEN000));
src\Generators\Microsoft.Gen.ComplianceReports\ComplianceReportsGenerator.cs (1)
99helpLinkUri: string.Format(CultureInfo.InvariantCulture, DiagnosticIds.UrlFormat, DiagnosticIds.AuditReports.AUDREPGEN001));
src\Generators\Microsoft.Gen.MetricsReports\MetricsReportsGenerator.cs (1)
63helpLinkUri: string.Format(CultureInfo.InvariantCulture, DiagnosticIds.UrlFormat, DiagnosticIds.AuditReports.AUDREPGEN000));
Microsoft.Gen.Metrics (2)
Emitter.cs (2)
169typeDefinition = string.Format(CultureInfo.InvariantCulture, CounterOfTTypeDefinitionTemplate, metricValueType); 175typeDefinition = string.Format(CultureInfo.InvariantCulture, HistogramOfTTypeDefinitionTemplate, metricValueType);
Microsoft.Gen.MetricsReports (1)
MetricsReportsGenerator.cs (1)
63helpLinkUri: string.Format(CultureInfo.InvariantCulture, DiagnosticIds.UrlFormat, DiagnosticIds.AuditReports.AUDREPGEN000));
Microsoft.Interop.ComInterfaceGenerator (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Interop.JavaScript.JSImportGenerator (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Interop.LibraryImportGenerator (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Interop.SourceGeneration (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.ML.Core (4)
Utilities\Contracts.cs (4)
806DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}", paramName)); 810DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}", paramName), ctx); 826DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-empty assertion failure: {0}", msg)); 830DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-empty assertion failure: {0}", msg), ctx);
Microsoft.ML.CpuMath (4)
src\Microsoft.ML.Core\Utilities\Contracts.cs (4)
806DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}", paramName)); 810DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}", paramName), ctx); 826DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-empty assertion failure: {0}", msg)); 830DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-empty assertion failure: {0}", msg), ctx);
Microsoft.ML.Data (3)
Evaluators\EvaluatorUtils.cs (3)
1548sb.Append(string.Format(CultureInfo.InvariantCulture, "{0,7:N6}", avg)); 1579sb.Append(string.Format(CultureInfo.InvariantCulture, "{0,7:N6}", metrics[i].Sum)); 1581weightedSb?.Append(string.Format(CultureInfo.InvariantCulture, "{0,7:N6}", weightedMetrics[i].Sum));
Microsoft.ML.LightGbm (1)
WrappedLightGbmInterface.cs (1)
256res.Add(keyVal.Key + "=" + string.Format(CultureInfo.InvariantCulture, "{0}", keyVal.Value));
Microsoft.ML.Maml (1)
ChainCommand.cs (1)
57using (var chCmd = _host.Start(string.Format(CultureInfo.InvariantCulture, "Command[{0}]", i)))
Microsoft.Net.Http.Headers (5)
ContentDispositionHeaderValue.cs (2)
345throw new FormatException(string.Format(CultureInfo.InvariantCulture, 496result = string.Format(CultureInfo.InvariantCulture, "\"{0}\"", result);
HeaderUtilities.cs (1)
80throw new FormatException(string.Format(CultureInfo.InvariantCulture, "Invalid token '{0}'.", value));
MediaTypeHeaderValue.cs (1)
665throw new FormatException(string.Format(CultureInfo.InvariantCulture, "Invalid media type '{0}'.", mediaType));
NameValueHeaderValue.cs (1)
486throw new FormatException(string.Format(CultureInfo.InvariantCulture, "The header value is invalid: '{0}'", value));
Microsoft.VisualBasic.Core (4)
Microsoft\VisualBasic\FileIO\TextFieldParser.vb (2)
1347Dim pattern As String = String.Format(CultureInfo.InvariantCulture, BEGINS_WITH_QUOTE, WhitespacePattern) 1362Return String.Format(CultureInfo.InvariantCulture, ENDING_QUOTE, WhitespacePattern)
Microsoft\VisualBasic\Strings.vb (2)
1282Return System.String.Format(cp, Style, CStr(ConvertibleExpression.ToBoolean(Nothing))) 1331Return System.String.Format(cp, Style, Expression)
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginContextMenu.xaml.cs (1)
75string.Format(CultureInfo.InvariantCulture, EditorFeaturesResources._0_declarations, viewModel.DisplayContent),
Microsoft.Win32.Registry (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Win32.Registry.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
Microsoft.Win32.SystemEvents (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
MSBuild (5)
CommunicationsUtilities.cs (2)
543throw new IOException(string.Format(CultureInfo.InvariantCulture, "Did not receive return handshake in {0}ms", timeout)); 584throw new IOException(String.Format(CultureInfo.InvariantCulture, "Failed to convert the handshake to big-endian. {0}", ex.Message));
OutOfProcTaskHostNode.cs (1)
823? File.CreateText(string.Format(CultureInfo.CurrentCulture, Path.Combine(FileUtilities.TempFileDirectory, @"MSBuild_NodeShutdown_{0}.txt"), EnvironmentUtilities.CurrentProcessId))
ResourceUtilities.cs (1)
395return string.Format(CultureInfo.CurrentCulture, unformatted, arg1);
WindowsNative.cs (1)
189string.Format(
PresentationBuildTasks (1)
Microsoft\Build\Tasks\Windows\UidManager.cs (1)
1132string.Format(
PresentationCore (22)
System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "BooleanKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ByteKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "CharKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ColorKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "DecimalKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "DoubleKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Int16KeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Int32KeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Int64KeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "MatrixKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ObjectKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Point3DKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "PointKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "QuaternionKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "RectKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Rotation3DKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "SingleKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "SizeKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "StringKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Vector3DKeyFrameCollection[{0}]", index));
System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "VectorKeyFrameCollection[{0}]", index));
System\Windows\Media\ColorContext.cs (1)
135Invariant.Assert(false, String.Format(CultureInfo.InvariantCulture, "IWICColorContext::GetExifColorSpace returned {0}.", colorSpace));
PresentationFramework (14)
MS\Internal\Data\DefaultValueConverter.cs (2)
585return String.Format(culture, "{0}", o); 624return String.Format(culture, "{0}", o);
MS\Internal\Documents\DocumentViewerHelper.cs (1)
280messageString = String.Format(System.Globalization.CultureInfo.CurrentCulture, messageString, findToolBar.SearchText);
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
235return string.Format(DateTimeHelper.GetCurrentDateFormat(), SR.CalendarAutomationPeer_BlackoutDayHelpText, dateString);
System\Windows\Controls\ContentPresenter.cs (2)
1109textBlock.Text = String.Format(culture, stringFormat, content); 1128textBlock.Text = String.Format(culture, "{0}", content);
System\Windows\Controls\DatePicker.cs (2)
1287this._textBox.Watermark = string.Format(CultureInfo.CurrentCulture, SR.DatePicker_WatermarkText, dtfi.LongDatePattern.ToString()); 1293this._textBox.Watermark = string.Format(CultureInfo.CurrentCulture, SR.DatePicker_WatermarkText, dtfi.ShortDatePattern.ToString());
System\Windows\Controls\DocumentViewer.cs (1)
2150messageString = String.Format(
System\Windows\Controls\InkCanvas.cs (1)
576string.Format(System.Globalization.CultureInfo.InvariantCulture, "Unknown dependency property detected - {0}.", e.Property));
System\Windows\Data\BindingExpression.cs (1)
1630convertedValue = String.Format(culture, stringFormat, value);
System\Windows\Data\MultiBindingExpression.cs (1)
1231value = String.Format(culture, EffectiveStringFormat, preFormattedValue);
System\Windows\Documents\FixedDocument.cs (1)
666ApplicationException ae = new ApplicationException(string.Format(System.Globalization.CultureInfo.CurrentCulture, SR.ExceptionInGetPage, index), e);
System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (1)
466throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ThicknessKeyFrameCollection[{0}]", index));
PresentationUI (16)
MS\Internal\Documents\Application\Document.cs (1)
313string.Format(
MS\Internal\Documents\Application\DocumentPropertiesDialog.cs (2)
159String.Format( 221string format = String.Format(
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
465zoomString = String.Format(CultureInfo.CurrentCulture,
MS\Internal\Documents\DocumentSignatureManager.cs (1)
604String.Format(
MS\Internal\Documents\PeoplePickerWrapper.cs (1)
213String.Format(CultureInfo.CurrentCulture,
MS\Internal\Documents\RightsManagementResourceHelper.cs (3)
75accountName = String.Format( 81accountName = String.Format( 87accountName = String.Format(
MS\Internal\Documents\RMPublishingDialog.cs (1)
465string.Format(
MS\Internal\Documents\SignatureResourceHelper.cs (2)
208string sigSummary = string.Format(CultureInfo.CurrentCulture, 216certSummary = string.Format(CultureInfo.CurrentCulture,
MS\Internal\Documents\SigningDialog.cs (1)
168_signerlabel.Text = String.Format(CultureInfo.CurrentCulture,
TenFeetInstallationProgress.xaml.cs (3)
120CurrentBytesText.Text = String.Format(CultureInfo.CurrentCulture, SR.ProgressBarKiloBytesStringFormat, (bytesDownloaded / 1024)); 121TotalBytesText.Text = String.Format(CultureInfo.CurrentCulture, SR.ProgressBarKiloBytesStringFormat, (bytesTotal / 1024)); 127ProgressBarStatusText.Text = String.Format(CultureInfo.CurrentCulture, SR.ProgressBarPercentageStringFormat, percentDone);
ReachFramework (15)
Packaging\XpsFixedDocumentReaderWriter.cs (1)
866xmlWriter.WriteRaw (String.Format(
PrintConfig\PrintCapabilitesWriter.cs (2)
309optionLocalName = string.Format(CultureInfo.InvariantCulture, "User{0:0000000000}", bins[i]); 417optionLocalName = string.Format(CultureInfo.InvariantCulture, "User{0:0000000000}", mediaTypes[i]);
PrintConfig\PrtCap_Reader.cs (2)
70throw NewPrintCapFormatException(String.Format(CultureInfo.CurrentCulture, 93throw NewPrintCapFormatException(String.Format(CultureInfo.CurrentCulture,
PrintConfig\PrtTicket_Editor.cs (3)
58throw NewPTFormatException(String.Format(CultureInfo.CurrentCulture, 81throw NewPTFormatException(String.Format(CultureInfo.CurrentCulture, 105throw NewPTFormatException(String.Format(CultureInfo.CurrentCulture,
PrintConfig\PrtTicket_Public_Simple.cs (5)
110return ((PageMediaSizeName != null) ? String.Format(CultureInfo.CurrentCulture, "{0}", PageMediaSizeName) : "Null") + " (" + 111((Width != null) ? String.Format(CultureInfo.CurrentCulture, "{0}", Width) : "Null") + 113((Height != null) ? String.Format(CultureInfo.CurrentCulture, "{0}", Height) : "Null") + 218return ((X != null) ? String.Format(CultureInfo.CurrentCulture, "{0}", X) : "Null") + 220((Y != null) ? String.Format(CultureInfo.CurrentCulture, "{0}", Y) : "Null") +
PrintSystemExceptions\PrintSystemException.cs (2)
244exceptionMessage = String.Format(System.Threading.Thread.CurrentThread.CurrentUICulture, 250exceptionMessage = String.Format(System.Threading.Thread.CurrentThread.CurrentUICulture,
Swaggatherer (6)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
System.CodeDom (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Collections (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Collections.Concurrent (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Collections.Immutable (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Collections.NonGeneric (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Collections.Specialized (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.ComponentModel.Annotations (3)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System\ComponentModel\DataAnnotations\CustomValidationAttribute.cs (1)
200return string.Format(CultureInfo.CurrentCulture, _lastMessage, name);
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (1)
331string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name);
System.ComponentModel.Composition (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.ComponentModel.Composition.Registration (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.ComponentModel.EventBasedAsync (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.ComponentModel.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.ComponentModel.TypeConverter (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Composition.Convention (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Composition.Hosting (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Composition.Runtime (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Composition.TypedParts (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Configuration.ConfigurationManager (5)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System\Configuration\MgmtConfigurationRecord.cs (4)
1933utilWriter.Write(string.Format(CultureInfo.InvariantCulture, 1940utilWriter.Write(string.Format(CultureInfo.InvariantCulture, 2221configurationStartElement = string.Format( 3140utilWriter.Write(string.Format(CultureInfo.InvariantCulture, FormatConfigSourceFile,
System.Console (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Data.Common (59)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System\Data\Common\DBCommandBuilder.cs (2)
1170return string.Format(CultureInfo.InvariantCulture, _parameterMarkerFormat, parameterName); 1219return string.Format(CultureInfo.InvariantCulture, _parameterMarkerFormat, parameterName);
System\Data\DataSet.cs (2)
365info.AddValue(string.Format(CultureInfo.InvariantCulture, "DataSet.Tables_{0}", i), memStream.GetBuffer()); 439byte[] buffer = (byte[])info.GetValue(string.Format(CultureInfo.InvariantCulture, "DataSet.Tables_{0}", i), typeof(byte[]))!;
System\Data\DataTable.cs (54)
385info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnName", i), Columns[i].ColumnName); 386info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.Namespace", i), Columns[i]._columnUri); 387info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.Prefix", i), Columns[i].Prefix); 388info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnMapping", i), Columns[i].ColumnMapping); 389info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.AllowDBNull", i), Columns[i].AllowDBNull); 390info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrement", i), Columns[i].AutoIncrement); 391info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementStep", i), Columns[i].AutoIncrementStep); 392info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementSeed", i), Columns[i].AutoIncrementSeed); 393info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.Caption", i), Columns[i].Caption); 394info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DefaultValue", i), Columns[i].DefaultValue); 395info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.ReadOnly", i), Columns[i].ReadOnly); 396info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.MaxLength", i), Columns[i].MaxLength); 397info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DataType_AssemblyQualifiedName", i), Columns[i].DataType.AssemblyQualifiedName); 398info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.XmlDataType", i), Columns[i].XmlDataType); 399info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.SimpleType", i), Columns[i].SimpleType); 401info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DateTimeMode", i), Columns[i].DateTimeMode); 404info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementCurrent", i), Columns[i].AutoIncrementCurrent); 409info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.Expression", i), Columns[i].Expression); 413info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.ExtendedProperties", i), Columns[i]._extendedProperties); 463dc.ColumnName = info.GetString(string.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnName", i)); 464dc._columnUri = info.GetString(string.Format(formatProvider, "DataTable.DataColumn_{0}.Namespace", i)); 465dc.Prefix = info.GetString(string.Format(formatProvider, "DataTable.DataColumn_{0}.Prefix", i)); 467string typeName = (string)info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DataType_AssemblyQualifiedName", i), typeof(string))!; 469dc.XmlDataType = (string?)info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.XmlDataType", i), typeof(string)); 470dc.SimpleType = (SimpleType?)info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.SimpleType", i), typeof(SimpleType)); 472dc.ColumnMapping = (MappingType)info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnMapping", i), typeof(MappingType))!; 473dc.DateTimeMode = (DataSetDateTime)info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DateTimeMode", i), typeof(DataSetDateTime))!; 475dc.AllowDBNull = info.GetBoolean(string.Format(formatProvider, "DataTable.DataColumn_{0}.AllowDBNull", i)); 476dc.AutoIncrement = info.GetBoolean(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrement", i)); 477dc.AutoIncrementStep = info.GetInt64(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementStep", i)); 478dc.AutoIncrementSeed = info.GetInt64(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementSeed", i)); 479dc.Caption = info.GetString(string.Format(formatProvider, "DataTable.DataColumn_{0}.Caption", i)); 480dc.DefaultValue = info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DefaultValue", i), typeof(object)); 481dc.ReadOnly = info.GetBoolean(string.Format(formatProvider, "DataTable.DataColumn_{0}.ReadOnly", i)); 482dc.MaxLength = info.GetInt32(string.Format(formatProvider, "DataTable.DataColumn_{0}.MaxLength", i)); 485dc.AutoIncrementCurrent = info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementCurrent", i), typeof(object))!; 490expressions[i] = info.GetString(string.Format(formatProvider, "DataTable.DataColumn_{0}.Expression", i)); 494dc._extendedProperties = (PropertyCollection?)info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.ExtendedProperties", i), typeof(PropertyCollection)); 585info.AddValue(string.Format(CultureInfo.InvariantCulture, "DataTable_{0}.Constraints", serIndex), constraintList); 594ArrayList constraintList = (ArrayList)info.GetValue(string.Format(CultureInfo.InvariantCulture, "DataTable_{0}.Constraints", serIndex), typeof(ArrayList))!; 764info.AddValue(string.Format(formatProvider, "DataTable_{0}.Rows.Count", serIndex), rowCount); 765info.AddValue(string.Format(formatProvider, "DataTable_{0}.Records.Count", serIndex), recordCount); 766info.AddValue(string.Format(formatProvider, "DataTable_{0}.RowStates", serIndex), rowStates); 767info.AddValue(string.Format(formatProvider, "DataTable_{0}.Records", serIndex), storeList); 768info.AddValue(string.Format(formatProvider, "DataTable_{0}.NullBits", serIndex), nullbitList); 769info.AddValue(string.Format(formatProvider, "DataTable_{0}.RowErrors", serIndex), rowErrors); 770info.AddValue(string.Format(formatProvider, "DataTable_{0}.ColumnErrors", serIndex), colErrors); 785int rowCount = info.GetInt32(string.Format(formatProvider, "DataTable_{0}.Rows.Count", serIndex)); 786int recordCount = info.GetInt32(string.Format(formatProvider, "DataTable_{0}.Records.Count", serIndex)); 787BitArray rowStates = (BitArray)info.GetValue(string.Format(formatProvider, "DataTable_{0}.RowStates", serIndex), typeof(BitArray))!; 788ArrayList storeList = (ArrayList)info.GetValue(string.Format(formatProvider, "DataTable_{0}.Records", serIndex), typeof(ArrayList))!; 789ArrayList nullbitList = (ArrayList)info.GetValue(string.Format(formatProvider, "DataTable_{0}.NullBits", serIndex), typeof(ArrayList))!; 790Hashtable rowErrors = (Hashtable)info.GetValue(string.Format(formatProvider, "DataTable_{0}.RowErrors", serIndex), typeof(Hashtable))!; 792Hashtable colErrors = (Hashtable)info.GetValue(string.Format(formatProvider, "DataTable_{0}.ColumnErrors", serIndex), typeof(Hashtable))!;
System.Data.Odbc (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Data.OleDb (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Diagnostics.DiagnosticSource (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Diagnostics.EventLog (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Diagnostics.FileVersionInfo (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Diagnostics.PerformanceCounter (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Diagnostics.Process (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Diagnostics.TextWriterTraceListener (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Diagnostics.TraceSource (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.DirectoryServices (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.DirectoryServices.AccountManagement (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.DirectoryServices.Protocols (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Drawing.Common (1)
Special\SR.cs (1)
71: string.Format(provider, resourceFormat, p1);
System.Drawing.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Formats.Asn1 (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Formats.Cbor (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Formats.Nrbf (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Formats.Tar (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.IO.Compression (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.IO.Compression.Brotli (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.IO.Compression.ZipFile (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.IO.FileSystem.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.IO.FileSystem.DriveInfo (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.IO.FileSystem.Watcher (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.IO.Hashing (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.IO.IsolatedStorage (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.IO.MemoryMappedFiles (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.IO.Packaging (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.IO.Pipelines (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.IO.Pipes (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.IO.Pipes.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.IO.Ports (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Linq (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Linq.AsyncEnumerable (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Linq.Expressions (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Linq.Parallel (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Linq.Queryable (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Management (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Memory (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Memory.Data (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.Http (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.Http.Json (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.Http.WinHttpHandler (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.HttpListener (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.Mail (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.NameResolution (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.NetworkInformation (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.Ping (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.Quic (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.Requests (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.Security (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.ServerSentEvents (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.Sockets (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.WebClient (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.WebHeaderCollection (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.WebSockets (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Net.WebSockets.Client (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Numerics.Tensors (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.ObjectModel (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Private.CoreLib (5)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureNotFoundException.cs (1)
87string.Format(CultureInfo.InvariantCulture, "{0} (0x{0:x4})", (int)InvalidCultureId) :
src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.cs (2)
293Write(string.Format(FormatProvider, format, arg0)); 500WriteLine(string.Format(FormatProvider, format, arg0));
src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (1)
239string moreInfoUrl = string.Format(CultureInfo.InvariantCulture, Obsoletions.SharedUrlFormat, Obsoletions.SystemTextEncodingUTF7DiagId);
System.Private.DataContractSerialization (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Private.Uri (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Private.Xml (2)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System\Xml\Xsl\XsltOld\OutputScopeManager.cs (1)
183prefix = string.Format(CultureInfo.InvariantCulture, format, _prefixIndex++);
System.Private.Xml.Linq (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Reflection.Context (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Reflection.DispatchProxy (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Reflection.Emit (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Reflection.Metadata (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Reflection.MetadataLoadContext (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Reflection.TypeExtensions (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Resources.Extensions (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Resources.Writer (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Runtime.Caching (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Runtime.InteropServices (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Runtime.InteropServices.JavaScript (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Runtime.Numerics (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Runtime.Serialization.Formatters (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Runtime.Serialization.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Runtime.Serialization.Schema (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Security.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Security.Claims (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Security.Cryptography (2)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System\Security\Cryptography\CryptographicUnexpectedOperationException.cs (1)
30: base(string.Format(CultureInfo.CurrentCulture, format, insert))
System.Security.Cryptography.Cose (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Security.Cryptography.Pkcs (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Security.Cryptography.ProtectedData (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Security.Cryptography.Xml (2)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (1)
745string logMessage = string.Format(CultureInfo.InvariantCulture,
System.Security.Permissions (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Security.Principal.Windows (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.ServiceModel.Federation (1)
System\IdentityModel\Tokens\SamlAssertionKeyIdentifierClause.cs (1)
55return string.Format(CultureInfo.InvariantCulture, "SamlAssertionKeyIdentifierClause(AssertionId = '{0}')", Id);
System.ServiceModel.Syndication (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.ServiceProcess.ServiceController (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Speech (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Text.Encoding.CodePages (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Text.Encodings.Web (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Text.Json (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Text.Json.SourceGeneration (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Text.RegularExpressions (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Text.RegularExpressions.Generator (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Threading (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Threading.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Threading.Channels (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Threading.RateLimiting (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Threading.Tasks.Dataflow (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Threading.Tasks.Parallel (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Transactions.Local (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Windows.Extensions (1)
src\libraries\Common\src\System\SR.cs (1)
117return string.Format(provider, resourceFormat, p1);
System.Windows.Forms (1)
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
568_countItem?.Text = DesignMode ? CountItemFormat : string.Format(CultureInfo.CurrentCulture, CountItemFormat, count);
System.Windows.Forms.Design (3)
System\ComponentModel\Design\MenuCommandService.cs (1)
84throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, SR.MenuCommandService_DuplicateCommand, commandId.ToString()));
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
1606_helpTextCtrl.Text = string.Format(CultureInfo.CurrentCulture, (SR.DesignBindingPickerHelpGenCurrentBinding), _selectedNode.Text); 2487public InstancesNode(string? rootComponentName) : base(null, string.Format(CultureInfo.CurrentCulture, (SR.DesignBindingPickerNodeInstances), rootComponentName), BindingImage.Instances)
System.Windows.Input.Manipulations (1)
System\Windows\Input\Manipulations\Exceptions.cs (1)
203string message = string.Format(
System.Xaml (1)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
1175string errMsg = string.Format(TypeConverterHelper.InvariantEnglishUS, SR.InvalidExpression, factoryMethodName);
TagHelpersWebSite (1)
Components\DanViewComponent.cs (1)
13var colorReplacement = string.Format(CultureInfo.InvariantCulture, "<span style='color:{0}'>#</span>", jacketColor);
TaskUsageLogger (6)
TaskUsageLogger.cs (6)
178throw new LoggerException(String.Format(CultureInfo.CurrentCulture, "Why do we have two instances of {0}?", t)); 195throw new LoggerException(String.Format(CultureInfo.CurrentCulture, "Why is toolset '{0}' missing??", toolsVersion)); 303throw new LoggerException(String.Format(CultureInfo.CurrentCulture, "This logger doesn't know how to evaluate '{0}'!", unevaluatedString)); 337throw new LoggerException(String.Format(CultureInfo.CurrentCulture, "Why haven't we collected using task data for {0}?", projectFile)); 350throw new LoggerException(String.Format(CultureInfo.CurrentCulture, "Why don't we have a cached ToolsVersion for {0}?", projectFile)); 356throw new LoggerException(String.Format(CultureInfo.CurrentCulture, "Why haven't we collected default using task data for TV {0}?", parentProjectToolsVersion));
Templates.Blazor.Tests (8)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
161string.Format(CultureInfo.InvariantCulture, MacOSVerifyCertificateCommandLineArgumentsFormat, tmpFile)) 208string.Format(
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
Templates.Blazor.WebAssembly.Auth.Tests (8)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
161string.Format(CultureInfo.InvariantCulture, MacOSVerifyCertificateCommandLineArgumentsFormat, tmpFile)) 208string.Format(
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
Templates.Blazor.WebAssembly.Tests (8)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
161string.Format(CultureInfo.InvariantCulture, MacOSVerifyCertificateCommandLineArgumentsFormat, tmpFile)) 208string.Format(
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
Templates.Mvc.Tests (8)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
161string.Format(CultureInfo.InvariantCulture, MacOSVerifyCertificateCommandLineArgumentsFormat, tmpFile)) 208string.Format(
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
Templates.Tests (8)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
161string.Format(CultureInfo.InvariantCulture, MacOSVerifyCertificateCommandLineArgumentsFormat, tmpFile)) 208string.Format(
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
UIAutomationClientSideProviders (4)
MS\Internal\AutomationProxies\Accessible.cs (3)
1158Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "Unexpected exception thrown for AccessibleChildren: {0}", e)); 1370Debug.Fail(string.Format(CultureInfo.CurrentCulture, "MsaaNativeProvider: IAccessible threw a COMException: {0}", e.Message)); 1387Debug.Fail(string.Format(CultureInfo.CurrentCulture, "Unexpected IAccessible exception: {0}", e));
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (1)
157Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "ERROR: AdviseEventRemoved called for {0} without matching AdviseEventAdded.", hwnd), "NativeMsaaProxy");
Wasm.Performance.ConsoleHost (6)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (6)
120var message = string.Format( 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 444headerBuilder.Insert(6, string.Format(CultureInfo.InvariantCulture, " {0}", cmd.Name)); 481var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxArgLen + 2); 497var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxOptLen + 2); 513var outputFormat = string.Format(CultureInfo.InvariantCulture, " {{0, -{0}}}{{1}}", maxCmdLen + 2);
WindowsFormsIntegration (7)
System\Windows\Integration\IntegrationExceptionEventArgs.cs (1)
20throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.WFI_NullArgument, "exception"));
System\Windows\Integration\PropertyMap.cs (4)
82throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.WFI_NullArgument, "propertyName")); 86throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.WFI_NullArgument, "translator")); 128throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.WFI_PropertyMappingExists, propertyName)); 250throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.WFI_ArgumentNullOrEmpty, "propertyName"));
System\Windows\Integration\PropertyMappingExceptionEventArgs.cs (2)
24throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.WFI_NullArgument, "exception")); 28throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.WFI_ArgumentNullOrEmpty, "propertyName"));
xunit.assert (39)
EqualityAsserts.cs (8)
402 string.Format(CultureInfo.CurrentCulture, "Values are not within tolerance {0:G17}", tolerance) 474 string.Format(CultureInfo.CurrentCulture, "Values are not within tolerance {0:G9}", tolerance) 834 string.Format(CultureInfo.CurrentCulture, "Values are within {0} decimal places", precision) 860 string.Format(CultureInfo.CurrentCulture, "Values are within {0} decimal places", precision) 883 string.Format(CultureInfo.CurrentCulture, "Values are within tolerance {0:G17}", tolerance) 906 string.Format(CultureInfo.CurrentCulture, "Values are within {0} decimal places", precision) 932 string.Format(CultureInfo.CurrentCulture, "Values are within {0} decimal places", precision) 955 string.Format(CultureInfo.CurrentCulture, "Values are within tolerance {0:G9}", tolerance)
Record.cs (1)
86 throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, "You must call Assert.{0} when testing async code", asyncMethodName));
Sdk\ArgumentFormatter.cs (13)
195 return string.Format(CultureInfo.CurrentCulture, "typeof({0})", FormatTypeName(value, fullTypeName: true)); 218 return string.Format(CultureInfo.CurrentCulture, "typeof({0})", FormatTypeName(valueAsType, fullTypeName: true)); 267 : string.Format(CultureInfo.CurrentCulture, "Task<{0}>", string.Join(",", typeParameters.Select(t => FormatTypeName(t)))); 309 return string.Format(CultureInfo.CurrentCulture, "'{0}'", escapeSequence); 312 return string.Format(CultureInfo.CurrentCulture, "'{0}'", value); 315 return string.Format(CultureInfo.CurrentCulture, "0x{0:x4}", (int)value); 353 return string.Format(CultureInfo.CurrentCulture, "{0}{{ }}", typeName); 364 string.Format(CultureInfo.CurrentCulture, "{0:o}", value); 367 string.Format(CultureInfo.CurrentCulture, "{0:G17}", value); 430 string.Format(CultureInfo.CurrentCulture, "{0:G9}", value); 446 return string.Format(CultureInfo.CurrentCulture, "\"{0}\"", value); 494 arraySuffix += string.Format(CultureInfo.CurrentCulture, "[{0}]", new string(',', rank - 1)); 715 return string.Format(CultureInfo.CurrentCulture, "(throws {0})", UnwrapException(ex)?.GetType().Name);
Sdk\Exceptions\AllException.cs (1)
64 string.Format(CultureInfo.CurrentCulture, "[{0}]:", error.Item1).PadRight(maxItemIndexLength),
Sdk\Exceptions\EqualException.cs (4)
117 ? string.Format(CultureInfo.CurrentCulture, "Assert.Equal() Failure: {0} differ", collectionDisplay ?? "Collections") 120 var expectedTypeText = expectedType != null && actualType != null && expectedType != actualType ? string.Format(CultureInfo.CurrentCulture, ", type {0}", expectedType) : ""; 121 var actualTypeText = expectedType != null && actualType != null && expectedType != actualType ? string.Format(CultureInfo.CurrentCulture, ", type {0}", actualType) : ""; 230 ? string.Format(CultureInfo.CurrentCulture, "Assert.Equal() Failure: {0}", banner ?? "Values differ")
Sdk\Exceptions\EquivalentException.cs (6)
44 string.Format( 57 string.Format( 161 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, ": Mismatched value on member '{0}'", memberName), 191 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName), 226 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName), 254 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),
Sdk\Exceptions\NotEqualException.cs (2)
94 ? string.Format(CultureInfo.CurrentCulture, "Assert.NotEqual() Failure: {0} are equal", collectionDisplay ?? "Collections") 152 ? string.Format(CultureInfo.CurrentCulture, "Assert.NotEqual() Failure: {0}", banner ?? "Values are equal")
Sdk\Exceptions\NotNullException.cs (1)
36 string.Format(
Sdk\Exceptions\PropertyChangedException.cs (1)
35 string.Format(
TypeAsserts.cs (2)
186 expectedTypeName += string.Format(CultureInfo.CurrentCulture, " (from {0})", expectedType.GetTypeInfo().Assembly.GetName().FullName); 187 actualTypeName += string.Format(CultureInfo.CurrentCulture, " (from {0})", actualType.GetTypeInfo().Assembly.GetName().FullName);