723 references to Format
Aspire.Dashboard (1)
src\Shared\ConsoleLogs\LogPauseViewModel.cs (1)
29? string.Format(
Aspire.Hosting.Testing (1)
DistributedApplicationHostingTestingExtensions.cs (1)
111throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, Resources.EndpointForResourceNotFoundExceptionMessage, endpointName, resourceName), nameof(endpointName));
ClientSample (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
CodeGenerator (4)
HttpUtilities\HttpUtilities.cs (4)
215tmpReturn += string.Format(CultureInfo.InvariantCulture, "(tmp >> {1})", HttpUtilitiesGeneratorHelpers.MaskToHexString(item.Mask), item.Shift); 220string returnString = string.Format(CultureInfo.InvariantCulture, "return ({0}) & {1};", tmpReturn, HttpUtilitiesGeneratorHelpers.MaskToHexString(mask2)); 222bodyString = string.Format(CultureInfo.InvariantCulture, " const int magicNumer = {0};\r\n var tmp = (int)value & magicNumer;\r\n {1}", HttpUtilitiesGeneratorHelpers.MaskToHexString(mask), returnString); 251throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, "MethodAsciiString {0} length is greather than {1}", method, length));
dotnet-dev-certs (4)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
241string.Format( 290string.Format(CultureInfo.InvariantCulture, MacOSFindCertificateOnKeychainCommandLineArgumentsFormat, subject, keychain)) 347string.Format(CultureInfo.InvariantCulture, MacOSAddCertificateToKeyChainCommandLineArgumentsFormat, certificatePath, password))
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
dotnet-getdocument (3)
artifacts\obj\dotnet-getdocument\Release\net10.0\Microsoft.Extensions.ApiDescription.Tool.Resources.cs (2)
38=> string.Format(Culture, GetResourceString("OldNETCoreAppProject"), p0, p1); 56=> string.Format(Culture, GetResourceString("UnsupportedFramework"), p0, p1);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
dotnet-openapi (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
dotnet-sql-cache (3)
SqlQueries.cs (2)
36var tableNameWithSchema = string.Format( 43TableInfo = string.Format(CultureInfo.InvariantCulture, TableInfoFormat, EscapeLiteral(schemaName), EscapeLiteral(tableName));
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
dotnet-svcutil.xmlserializer (1)
Microsoft\Tools\ServiceModel\SvcUtil\ToolConsole.cs (1)
305return string.Format(CultureInfo.InvariantCulture, pattern, _name, _helpText);
dotnet-svcutil-lib (69)
CmdCredentialsProvider.cs (1)
227Console.WriteLine(string.Format(CultureInfo.InvariantCulture, SR.ErrServerCertFailedValidationFormat, sslPolicyErrors, FormatCertificate(cert)));
CodeDomFixup\EndpointSelector.cs (1)
339string incompatEndpointMsg = string.Format(CultureInfo.InvariantCulture, SR.WrnIncompatibleEndpointFormat, endpoint.Name, endpoint.Address);
CommandProcessorOptions.cs (4)
356var useProjectOptions = string.Format(CultureInfo.CurrentCulture, SR.UseProjectFileOptionOnMultipleFilesMsgFormat, Switches.ProjectFile.Name, projectItems); 441throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrOutputFileAlreadyExistsFormat, filePath, Switches.OutputFile.Name)); 478throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrProjectToUpdateNotFoundFormat, Switches.Update.Name, Switches.ProjectFile.Name)); 531throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrServiceReferenceNotFoundUnderProjectFormat, this.UpdateServiceReferenceFolder, this.Project.FullPath));
FrameworkFork\Microsoft.CodeDom\System\FixedStringLookup.cs (1)
52String.Format(CultureInfo.InvariantCulture, "Lookup table is out of order. Items {0} and {1} are reversed", lastValue, value));
FrameworkFork\Microsoft.Xml\Xml\Core\XmlConfiguration.cs (2)
23internal static string XmlReaderSectionPath = string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", XmlConfigurationSectionName, XmlReaderSectionName); 24internal static string XsltSectionPath = string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", XmlConfigurationSectionName, XsltSectionName);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
1813return !type.GetTypeInfo().IsGenericTypeDefinition && type.GetTypeInfo().ContainsGenericParameters ? String.Format(CultureInfo.InvariantCulture, "{0}.{1}", type.Namespace, type.Name) : type.FullName;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExtensionDataObject.cs (1)
201element.AddAttribute(elementPrefix, elementNs, elementName, String.Format(CultureInfo.InvariantCulture, "{0}:{1}", prefix, valueName));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (2)
984memberTypeContract = ImportAnonymousElement(element, new XmlQualifiedName(String.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace)); 1091XmlQualifiedName fullName = new XmlQualifiedName(String.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (1)
362return String.Format(CultureInfo.InvariantCulture, "{0} {1}", string.Format(SRSerialization.ErrorInLine, reader.LineNumber, reader.LinePosition), errorMessage);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
246DictionaryGlobals.SerializationNamespace, string.Format(CultureInfo.InvariantCulture, "{0}{1}", "i", objectId)); 251xmlWriter.WriteAttributeString(Globals.SerPrefix, DictionaryGlobals.RefLocalName, DictionaryGlobals.SerializationNamespace, string.Format(CultureInfo.InvariantCulture, "{0}{1}", "i", objectId));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlWriterDelegator.cs (1)
96prefix = String.Format(CultureInfo.InvariantCulture, "d{0}p{1}", depth, _prefixes);
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
161return String.Format(CultureInfo.CurrentCulture, "{0}/{1}", source.GetType().ToString(), source.GetHashCode());
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\Claim.cs (1)
201return string.Format(CultureInfo.CurrentCulture, "{0}: {1}", _right, _claimType);
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\EncryptedKeyIdentifierClause.cs (1)
81return string.Format(CultureInfo.InvariantCulture, "EncryptedKeyIdentifierClause(EncryptedKey = {0}, Method '{1}')",
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\LocalIdKeyIdentifierClause.cs (1)
85return string.Format(CultureInfo.InvariantCulture, "LocalIdKeyIdentifierClause(LocalId = '{0}', Owner = '{1}')", this.LocalId, this.OwnerType);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
264connectionGroupName = string.Format(CultureInfo.InvariantCulture, "{0}[{1}]", connectionGroupName,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TcpConnectionPool.cs (1)
45return string.Format(CultureInfo.InvariantCulture, @"[{0}, {1}]", normalizedHost, port);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TextMessageEncoder.cs (1)
94return String.Format(CultureInfo.InvariantCulture, "{0}; charset={1}", mediaType, TextEncoderDefaults.EncodingToCharSet(encoding));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceEndpoint.cs (1)
105return String.Format(CultureInfo.InvariantCulture, "{0}_{1}", new XmlName(Binding.Name).EncodedName, Contract.Name);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (1)
683String.Format(CultureInfo.InvariantCulture, "Bad contract inheritence. Contract {0} does not implement {1}", declaringContract.ContractType.Name, contractDescription.ContractType.Name)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (4)
879return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_policy", 890return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_Input_policy", wsdlBinding.Name, wsdlOperationBinding.Name); 892return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_output_policy", wsdlBinding.Name, wsdlOperationBinding.Name); 901return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_Fault", wsdlBinding.Name, wsdlOperationBinding.Name);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (13)
1187XmlName xmlName = new XmlName(string.Format(CultureInfo.InvariantCulture, "{0}_{1}", wsdlPort.Service.Name, wsdlPort.Name), true /*isEncoded*/); 1348string id = string.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}_{1}_BindingAdHocPolicy", wsdlBinding.Name, name); 1349string newPolicyUris = string.Format(System.Globalization.CultureInfo.InvariantCulture, "#{0} {1}", id, policyUris).Trim(); 1772itemPath = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, localName, nameValue); 1816rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "port", item.Name); 1824rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", item.Name); 1832rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", item.Name); 1852rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", wsdlOperationBinding.Name); 1856rest += string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, messageTag, messageName); 2423string policyUri = string.Format(CultureInfo.InvariantCulture, "{0}{1}", identifier, policyId); 2432private static readonly string s_wspPolicy = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", MetadataStrings.WSPolicy.Prefix, MetadataStrings.WSPolicy.Elements.Policy); 2433private static readonly string s_xmlId = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", MetadataStrings.Xml.Prefix, MetadataStrings.Xml.Attributes.Id); 2434private static readonly string s_wsuId = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", MetadataStrings.Wsu.Prefix, MetadataStrings.Wsu.Attributes.Id);
FrameworkFork\System.ServiceModel\System\ServiceModel\ExceptionDetail.cs (1)
75return string.Format(CultureInfo.InvariantCulture, "{0}\n{1}", SRServiceModel.SFxExceptionDetailFormat, this.ToStringHelper(false));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityContextKeyIdentifierClause.cs (1)
63return string.Format(CultureInfo.InvariantCulture, "SecurityContextKeyIdentifierClause(ContextId = '{0}', Generation = '{1}')",
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityHeader.cs (1)
161return string.Format(CultureInfo.InvariantCulture, "{0}(Actor = '{1}')", GetType().Name, this.Actor);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (1)
627sb.AppendLine(String.Format(CultureInfo.InvariantCulture, " {0}, optional={1}", _claimTypeRequirements[i].ClaimType, _claimTypeRequirements[i].IsOptional));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (1)
235return String.Format(CultureInfo.CurrentCulture, "SecurityContextSecurityToken(Identifier='{0}', KeyGeneration='{1}')", _contextId, _keyGeneration);
HelpGenerator.cs (2)
118_name = String.Format(CultureInfo.InvariantCulture, "{0}{1}", CommandSwitch.FullSwitchIndicator, option), 155return string.Format(CultureInfo.InvariantCulture, pattern, _name, _helpText);
ImportModule.cs (1)
171ToolConsole.WriteWarning(string.Format(CultureInfo.CurrentCulture, SR.WrnCouldNotGenerateContractOperationsFormat, importer1, importer2));
Shared\Options\ListValue.cs (1)
33throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorOptionDuplicateValueFormat, this.Owner.Name, value));
Shared\Options\OptionBase.cs (1)
239var value = string.Format(CultureInfo.CurrentCulture, "{0}: {1}", this.Name, this.Value?.ToString());
Shared\Options\OptionsSerializer.cs (1)
70var jOptionsObject = jPropInfo.Value as JObject ?? throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidOptionValueFormat, jPropInfo.Value?.Type, option.SerializationName));
Shared\Options\OptionValueParser.cs (3)
238var invalidValueError = string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidOptionValueFormat, value, option.Name); 271throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidOptionValueFormat, value, option.Name)); 277throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidOptionValueFormat, value, option.Name), innerException);
Shared\ProjectDependency.cs (10)
77throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, filePath, nameof(filePath))); 82throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, packageName, nameof(packageName))); 91throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, packageVersion, nameof(packageVersion))); 96throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, dependencyType, nameof(dependencyType))); 104throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, packageName, nameof(packageName))); 110throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, packageName, nameof(packageName))); 120throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, packageName, nameof(packageName))); 127throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, filePath, nameof(filePath))); 140throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, filePath, nameof(filePath))); 180throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorInvalidDependencyValue, dependencySpec, nameof(dependencySpec)));
ToolConsole.cs (2)
84errMsg = string.Format(CultureInfo.CurrentCulture, "{0} {1}", prefix, errMsg); 95message = string.Format(CultureInfo.CurrentCulture, "{0} {1}", SR.WarningPrefix, message);
dotnet-user-jwts (4)
artifacts\obj\dotnet-user-jwts\Release\net10.0\Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Resources.cs (2)
36=> string.Format(Culture, GetResourceString("ClearCommand_Confirmed"), p0, p1); 52=> string.Format(Culture, GetResourceString("ClearCommand_Permission"), p0, p1);
artifacts\obj\dotnet-user-jwts\Release\net10.0\Microsoft.AspNetCore.Tools.SecretsHelpersResources.cs (1)
82=> string.Format(Culture, GetResourceString("Message_SetUserSecretsIdForProject", new [] { "userSecretsId", "project" }), userSecretsId, project);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
dotnet-user-secrets (4)
artifacts\obj\dotnet-user-secrets\Release\net10.0\Microsoft.AspNetCore.Tools.SecretsHelpersResources.cs (1)
82=> string.Format(Culture, GetResourceString("Message_SetUserSecretsIdForProject", new [] { "userSecretsId", "project" }), userSecretsId, project);
artifacts\obj\dotnet-user-secrets\Release\net10.0\Microsoft.Extensions.SecretManager.Tools.Resources.cs (2)
110=> string.Format(Culture, GetResourceString("Message_Secret_Value_Format", new [] { "key", "value" }), key, value); 128=> string.Format(Culture, GetResourceString("Message_SetUserSecretsIdForProject", new [] { "userSecretsId", "project" }), userSecretsId, project);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
GetDocument.Insider (5)
artifacts\obj\GetDocument.Insider\Release\net462\Microsoft.Extensions.ApiDescription.Tool.Resources.cs (4)
68=> string.Format(Culture, GetResourceString("MethodNotFound"), p0, p1); 98=> string.Format(Culture, GetResourceString("MethodIsStatic"), p0, p1); 110=> string.Format(Culture, GetResourceString("WritingDocument"), p0, p1); 158=> string.Format(Culture, GetResourceString("FileNameDescription", new [] { "FileName", "DocumentName" }), FileName, DocumentName);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
http2cat (3)
artifacts\obj\http2cat\Release\net10.0\Microsoft.AspNetCore.Server.SharedStrings.cs (2)
34=> string.Format(Culture, GetResourceString("Http2ErrorUnexpectedFrameLength", new [] { "frameType", "expectedLength" }), frameType, expectedLength); 40=> string.Format(Culture, GetResourceString("Http2ErrorFrameOverLimit", new [] { "size", "limit" }), size, limit);
artifacts\obj\http2cat\Release\net10.0\System.Net.Http.SR.cs (1)
56=> string.Format(Culture, GetResourceString("net_http_hpack_large_table_size_update"), p0, p1);
IIS.FunctionalTests (3)
artifacts\obj\IIS.FunctionalTests\Release\net10.0\Microsoft.AspNetCore.Server.SharedStrings.cs (2)
34=> string.Format(Culture, GetResourceString("Http2ErrorUnexpectedFrameLength", new [] { "frameType", "expectedLength" }), frameType, expectedLength); 40=> string.Format(Culture, GetResourceString("Http2ErrorFrameOverLimit", new [] { "size", "limit" }), size, limit);
artifacts\obj\IIS.FunctionalTests\Release\net10.0\System.Net.Http.SR.cs (1)
56=> string.Format(Culture, GetResourceString("net_http_hpack_large_table_size_update"), p0, p1);
IIS.LongTests (3)
artifacts\obj\IIS.LongTests\Release\net10.0\Microsoft.AspNetCore.Server.SharedStrings.cs (2)
34=> string.Format(Culture, GetResourceString("Http2ErrorUnexpectedFrameLength", new [] { "frameType", "expectedLength" }), frameType, expectedLength); 40=> string.Format(Culture, GetResourceString("Http2ErrorFrameOverLimit", new [] { "size", "limit" }), size, limit);
artifacts\obj\IIS.LongTests\Release\net10.0\System.Net.Http.SR.cs (1)
56=> string.Format(Culture, GetResourceString("net_http_hpack_large_table_size_update"), p0, p1);
IIS.NewHandler.FunctionalTests (3)
artifacts\obj\IIS.NewHandler.FunctionalTests\Release\net10.0\Microsoft.AspNetCore.Server.SharedStrings.cs (2)
34=> string.Format(Culture, GetResourceString("Http2ErrorUnexpectedFrameLength", new [] { "frameType", "expectedLength" }), frameType, expectedLength); 40=> string.Format(Culture, GetResourceString("Http2ErrorFrameOverLimit", new [] { "size", "limit" }), size, limit);
artifacts\obj\IIS.NewHandler.FunctionalTests\Release\net10.0\System.Net.Http.SR.cs (1)
56=> string.Format(Culture, GetResourceString("net_http_hpack_large_table_size_update"), p0, p1);
IIS.NewShim.FunctionalTests (3)
artifacts\obj\IIS.NewShim.FunctionalTests\Release\net10.0\Microsoft.AspNetCore.Server.SharedStrings.cs (2)
34=> string.Format(Culture, GetResourceString("Http2ErrorUnexpectedFrameLength", new [] { "frameType", "expectedLength" }), frameType, expectedLength); 40=> string.Format(Culture, GetResourceString("Http2ErrorFrameOverLimit", new [] { "size", "limit" }), size, limit);
artifacts\obj\IIS.NewShim.FunctionalTests\Release\net10.0\System.Net.Http.SR.cs (1)
56=> string.Format(Culture, GetResourceString("net_http_hpack_large_table_size_update"), p0, p1);
IIS.ShadowCopy.Tests (3)
artifacts\obj\IIS.ShadowCopy.Tests\Release\net10.0\Microsoft.AspNetCore.Server.SharedStrings.cs (2)
34=> string.Format(Culture, GetResourceString("Http2ErrorUnexpectedFrameLength", new [] { "frameType", "expectedLength" }), frameType, expectedLength); 40=> string.Format(Culture, GetResourceString("Http2ErrorFrameOverLimit", new [] { "size", "limit" }), size, limit);
artifacts\obj\IIS.ShadowCopy.Tests\Release\net10.0\System.Net.Http.SR.cs (1)
56=> string.Format(Culture, GetResourceString("net_http_hpack_large_table_size_update"), p0, p1);
IISExpress.FunctionalTests (3)
artifacts\obj\IISExpress.FunctionalTests\Release\net10.0\Microsoft.AspNetCore.Server.SharedStrings.cs (2)
34=> string.Format(Culture, GetResourceString("Http2ErrorUnexpectedFrameLength", new [] { "frameType", "expectedLength" }), frameType, expectedLength); 40=> string.Format(Culture, GetResourceString("Http2ErrorFrameOverLimit", new [] { "size", "limit" }), size, limit);
artifacts\obj\IISExpress.FunctionalTests\Release\net10.0\System.Net.Http.SR.cs (1)
56=> string.Format(Culture, GetResourceString("net_http_hpack_large_table_size_update"), p0, p1);
Microsoft.AspNetCore.Antiforgery (3)
artifacts\obj\Microsoft.AspNetCore.Antiforgery\Release\net10.0\Microsoft.AspNetCore.Antiforgery.Resources.cs (3)
52=> string.Format(Culture, GetResourceString("AntiforgeryToken_UsernameMismatch"), p0, p1); 80=> string.Format(Culture, GetResourceString("Antiforgery_RequestToken_MustBeProvided"), p0, p1); 88=> string.Format(Culture, GetResourceString("Antiforgery_RequiresSSL", new [] { "optionName", "value" }), optionName, value);
Microsoft.AspNetCore.App.Analyzers (5)
artifacts\obj\Microsoft.AspNetCore.App.Analyzers\Release\netstandard2.0\Microsoft.AspNetCore.Analyzers.Resources.cs (5)
88=> string.Format(Culture, GetResourceString("TemplateRoute_Exception"), p0, p1); 102=> string.Format(Culture, GetResourceString("Analyzer_HeaderDictionaryIndexer_Message"), p0, p1); 144=> string.Format(Culture, GetResourceString("Analyzer_DoNotUseModelBindingAttributesOnRouteHandlerParameters_Message"), p0, p1); 228=> string.Format(Culture, GetResourceString("Analyzer_RouteParameterComplexTypeIsNotParsable_Message"), p0, p1); 236=> string.Format(Culture, GetResourceString("Analyzer_BindAsyncSignatureMustReturnValueTaskOfT_Message"), p0, p1);
Microsoft.AspNetCore.App.Analyzers.Test (4)
RouteEmbeddedLanguage\Infrastructure\MarkupTestFile.cs (4)
137throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "Saw {0} without matching {1}", SpanEndString, SpanStartString)); 151throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "Saw {0} without matching {1}", NamedSpanEndString, NamedSpanStartString)); 164throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "Saw {0} without matching {1}", SpanStartString, SpanEndString)); 169throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "Saw {0} without matching {1}", NamedSpanEndString, NamedSpanEndString));
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
347string.Format(CultureInfo.InvariantCulture,
Microsoft.AspNetCore.Authorization.Policy (1)
artifacts\obj\Microsoft.AspNetCore.Authorization.Policy\Release\net10.0\Microsoft.AspNetCore.Authorization.Policy.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("Exception_UnableToFindServices"), p0, p1);
Microsoft.AspNetCore.Components (5)
artifacts\obj\Microsoft.AspNetCore.Components\Release\net10.0\Microsoft.AspNetCore.Components.Routing.Resources.cs (5)
34=> string.Format(Culture, GetResourceString("RangeConstraint_MinShouldBeLessThanOrEqualToMax"), p0, p1); 40=> string.Format(Culture, GetResourceString("DefaultInlineConstraintResolver_AmbiguousCtors"), p0, p1); 46=> string.Format(Culture, GetResourceString("DefaultInlineConstraintResolver_CouldNotFindCtor"), p0, p1); 78=> string.Format(Culture, GetResourceString("RoutePattern_InvalidConstraintReference"), p0, p1); 126=> string.Format(Culture, GetResourceString("TemplateRoute_Exception"), p0, p1);
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
Verifiers\CodeFixVerifier.cs (1)
113string.Format(
Microsoft.AspNetCore.Components.Endpoints (10)
artifacts\obj\Microsoft.AspNetCore.Components.Endpoints\Release\net10.0\Microsoft.AspNetCore.Components.Endpoints.FormMapping.FormDataResources.cs (4)
34=> string.Format(Culture, GetResourceString("DictionaryUnparsableKey"), p0, p1); 40=> string.Format(Culture, GetResourceString("EnumMappingError"), p0, p1); 48=> string.Format(Culture, GetResourceString("MaxCollectionSizeReached"), p0, p1); 54=> string.Format(Culture, GetResourceString("ParsableMappingError"), p0, p1);
artifacts\obj\Microsoft.AspNetCore.Components.Endpoints\Release\net10.0\Microsoft.AspNetCore.Components.Endpoints.Resources.cs (2)
36=> string.Format(Culture, GetResourceString("TypeMustDeriveFromType"), p0, p1); 42=> string.Format(Culture, GetResourceString("UnableToFindServices"), p0, p1);
Builder\ResourceCollectionUrlEndpoint.cs (4)
34var fingerprintedResourceCollectionUrl = string.Format(CultureInfo.InvariantCulture, resourceCollectionUrlFormat, fingerprintSuffix, ""); 36var fingerprintedGzResourceCollectionUrl = string.Format(CultureInfo.InvariantCulture, resourceCollectionUrlFormat, fingerprintSuffix, ".gz"); 38var resourceCollectionUrl = string.Format(CultureInfo.InvariantCulture, resourceCollectionUrlFormat, "", ""); 40var gzResourceCollectionUrl = string.Format(CultureInfo.InvariantCulture, resourceCollectionUrlFormat, "", ".gz");
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (1)
Verifiers\CodeFixVerifier.cs (1)
113string.Format(
Microsoft.AspNetCore.DataProtection (2)
artifacts\obj\Microsoft.AspNetCore.DataProtection\Release\net10.0\Microsoft.AspNetCore.DataProtection.Resources.cs (2)
36=> string.Format(Culture, GetResourceString("Common_BufferIncorrectlySized"), p0, p1); 64=> string.Format(Culture, GetResourceString("TypeExtensions_BadCast"), p0, p1);
Microsoft.AspNetCore.DataProtection.Tests (3)
KeyManagement\KeyEscrowServiceProviderExtensionsTests.cs (3)
39output.Add(string.Format(CultureInfo.InvariantCulture, "{0:D}: {1}", keyId, element.Name.LocalName)); 64output.Add(string.Format(CultureInfo.InvariantCulture, "[sink1] {0:D}: {1}", keyId, element.Name.LocalName)); 71output.Add(string.Format(CultureInfo.InvariantCulture, "[sink2] {0:D}: {1}", keyId, element.Name.LocalName));
Microsoft.AspNetCore.DeveloperCertificates.XPlat (3)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
241string.Format( 290string.Format(CultureInfo.InvariantCulture, MacOSFindCertificateOnKeychainCommandLineArgumentsFormat, subject, keychain)) 347string.Format(CultureInfo.InvariantCulture, MacOSAddCertificateToKeyChainCommandLineArgumentsFormat, certificatePath, password))
Microsoft.AspNetCore.HeaderPropagation (1)
DependencyInjection\HeaderPropagationApplicationBuilderExtensions.cs (1)
16private static readonly string _unableToFindServices = string.Format(
Microsoft.AspNetCore.Hosting (1)
Internal\HostingApplicationDiagnostics.cs (1)
528_cachedToString = string.Format(
Microsoft.AspNetCore.Http.Abstractions (4)
artifacts\obj\Microsoft.AspNetCore.Http.Abstractions\Release\net10.0\Microsoft.AspNetCore.Http.Abstractions.Resources.cs (4)
58=> string.Format(Culture, GetResourceString("Exception_UseMiddleMutlipleInvokes"), p0, p1); 70=> string.Format(Culture, GetResourceString("Exception_InvokeMiddlewareNoService"), p0, p1); 90=> string.Format(Culture, GetResourceString("Exception_UseMiddlewareUnableToCreateMiddleware"), p0, p1); 104=> string.Format(Culture, GetResourceString("RouteValueDictionary_DuplicateKey"), p0, p1);
Microsoft.AspNetCore.Http.Extensions (8)
artifacts\obj\Microsoft.AspNetCore.Http.Extensions\Release\net10.0\Microsoft.AspNetCore.Components.Endpoints.FormMapping.FormDataResources.cs (4)
37=> string.Format(Culture, GetResourceString("DictionaryUnparsableKey"), p0, p1); 43=> string.Format(Culture, GetResourceString("EnumMappingError"), p0, p1); 51=> string.Format(Culture, GetResourceString("MaxCollectionSizeReached"), p0, p1); 57=> string.Format(Culture, GetResourceString("ParsableMappingError"), p0, p1);
RequestDelegateFactory.cs (4)
2661var message = string.Format(CultureInfo.InvariantCulture, RequestDelegateCreationLogging.InvalidJsonRequestBodyExceptionMessage, parameterTypeName, parameterName); 2745var message = string.Format(CultureInfo.InvariantCulture, RequestDelegateCreationLogging.InvalidFormRequestBodyExceptionMessage, parameterTypeName, parameterName); 2759var message = string.Format(CultureInfo.InvariantCulture, RequestDelegateCreationLogging.InvalidAntiforgeryTokenExceptionMessage, parameterTypeName, parameterName); 2787var message = string.Format(CultureInfo.InvariantCulture, RequestDelegateCreationLogging.UnexpectedRequestWithoutBodyExceptionMessage, parameterTypeName, parameterName);
Microsoft.AspNetCore.HttpLogging (1)
artifacts\obj\Microsoft.AspNetCore.HttpLogging\Release\net10.0\Microsoft.AspNetCore.HttpLogging.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("UnableToFindServices"), p0, p1);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (7)
SqlStoreOnlyUsersTestBase.cs (1)
36UserName = useNamePrefixAsUserName ? namePrefix : string.Format(CultureInfo.InvariantCulture, "{0}{1}", namePrefix, Guid.NewGuid()),
SqlStoreTestBase.cs (2)
69UserName = useNamePrefixAsUserName ? namePrefix : string.Format(CultureInfo.InvariantCulture, "{0}{1}", namePrefix, Guid.NewGuid()), 79var roleName = useRoleNamePrefixAsRoleName ? roleNamePrefix : string.Format(CultureInfo.InvariantCulture, "{0}{1}", roleNamePrefix, Guid.NewGuid());
UserStoreTest.cs (2)
394UserName = useNamePrefixAsUserName ? namePrefix : string.Format(CultureInfo.InvariantCulture, "{0}{1}", namePrefix, Guid.NewGuid()), 404var roleName = useRoleNamePrefixAsRoleName ? roleNamePrefix : string.Format(CultureInfo.InvariantCulture, "{0}{1}", roleNamePrefix, Guid.NewGuid());
UserStoreWithGenericsTest.cs (2)
49UserName = useNamePrefixAsUserName ? namePrefix : string.Format(CultureInfo.InvariantCulture, "{0}{1}", namePrefix, Guid.NewGuid()), 59var roleName = useRoleNamePrefixAsRoleName ? roleNamePrefix : string.Format(CultureInfo.InvariantCulture, "{0}{1}", roleNamePrefix, Guid.NewGuid());
Microsoft.AspNetCore.Identity.InMemory.Test (3)
InMemoryStoreTest.cs (2)
38UserName = useNamePrefixAsUserName ? namePrefix : string.Format(CultureInfo.InvariantCulture, "{0}{1}", namePrefix, Guid.NewGuid()), 48var roleName = useRoleNamePrefixAsRoleName ? roleNamePrefix : string.Format(CultureInfo.InvariantCulture, "{0}{1}", roleNamePrefix, Guid.NewGuid());
InMemoryUserStoreTest.cs (1)
34UserName = useNamePrefixAsUserName ? namePrefix : string.Format(CultureInfo.InvariantCulture, "{0}{1}", namePrefix, Guid.NewGuid()),
Microsoft.AspNetCore.JsonPatch (3)
artifacts\obj\Microsoft.AspNetCore.JsonPatch\Release\net10.0\Microsoft.AspNetCore.JsonPatch.Resources.cs (3)
46=> string.Format(Culture, GetResourceString("CannotPerformOperation"), p0, p1); 108=> string.Format(Culture, GetResourceString("ParameterMustMatchType"), p0, p1); 132=> string.Format(Culture, GetResourceString("TargetLocationNotFound"), p0, p1);
Microsoft.AspNetCore.JsonPatch.SystemTextJson (3)
artifacts\obj\Microsoft.AspNetCore.JsonPatch.SystemTextJson\Release\net10.0\Microsoft.AspNetCore.JsonPatch.SystemTextJson.Resources.cs (3)
46=> string.Format(Culture, GetResourceString("CannotPerformOperation"), p0, p1); 108=> string.Format(Culture, GetResourceString("ParameterMustMatchType"), p0, p1); 132=> string.Format(Culture, GetResourceString("TargetLocationNotFound"), p0, p1);
Microsoft.AspNetCore.Mvc.Abstractions (6)
artifacts\obj\Microsoft.AspNetCore.Mvc.Abstractions\Release\net10.0\Microsoft.AspNetCore.Mvc.Abstractions.Resources.cs (6)
60=> string.Format(Culture, GetResourceString("BindingSource_CannotBeComposite"), p0, p1); 66=> string.Format(Culture, GetResourceString("BindingSource_MustBeFromRequest"), p0, p1); 72=> string.Format(Culture, GetResourceString("BindingSource_CannotBeGreedy"), p0, p1); 78=> string.Format(Culture, GetResourceString("BindingSource_MustBeGreedy"), p0, p1); 88=> string.Format(Culture, GetResourceString("BinderType_MustBeIModelBinder"), p0, p1); 94=> string.Format(Culture, GetResourceString("RecordTypeHasValidationOnProperties"), p0, p1);
Microsoft.AspNetCore.Mvc.Core (39)
artifacts\obj\Microsoft.AspNetCore.Mvc.Core\Release\net10.0\Microsoft.AspNetCore.Mvc.Core.Resources.cs (38)
40=> string.Format(Culture, GetResourceString("ObjectResult_MatchAllContentType"), p0, p1); 52=> string.Format(Culture, GetResourceString("ActionExecutor_UnexpectedTaskInstance"), p0, p1); 72=> string.Format(Culture, GetResourceString("PropertyOfTypeCannotBeNull"), p0, p1); 78=> string.Format(Culture, GetResourceString("TypeMethodMustReturnNotNullValue"), p0, p1); 110=> string.Format(Culture, GetResourceString("FilterFactoryAttribute_TypeMustImplementIFilter"), p0, p1); 122=> string.Format(Culture, GetResourceString("TypeMustDeriveFromType"), p0, p1); 146=> string.Format(Culture, GetResourceString("AttributeRoute_AggregateErrorMessage"), p0, p1); 168=> string.Format(Culture, GetResourceString("AttributeRoute_TokenReplacement_InvalidSyntax"), p0, p1); 190=> string.Format(Culture, GetResourceString("AttributeRoute_DuplicateNames_Item"), p0, p1); 222=> string.Format(Culture, GetResourceString("DefaultActionSelector_AmbiguousActions"), p0, p1); 242=> string.Format(Culture, GetResourceString("ResponseCache_SpecifyDuration"), p0, p1); 272=> string.Format(Culture, GetResourceString("ModelType_WrongType"), p0, p1); 278=> string.Format(Culture, GetResourceString("ValueInterfaceAbstractOrOpenGenericTypesCannotBeActivated"), p0, p1); 284=> string.Format(Culture, GetResourceString("BinderType_MustBeIModelBinder"), p0, p1); 290=> string.Format(Culture, GetResourceString("BindingSource_CannotBeComposite"), p0, p1); 296=> string.Format(Culture, GetResourceString("BindingSource_CannotBeGreedy"), p0, p1); 302=> string.Format(Culture, GetResourceString("Common_PropertyNotFound"), p0, p1); 322=> string.Format(Culture, GetResourceString("ModelBinderUtil_ModelInstanceIsWrong"), p0, p1); 338=> string.Format(Culture, GetResourceString("ValueProviderResult_NoConverterExists"), p0, p1); 364=> string.Format(Culture, GetResourceString("ModelState_AttemptedValueIsInvalid"), p0, p1); 416=> string.Format(Culture, GetResourceString("Formatter_NoMediaTypes"), p0, p1); 452=> string.Format(Culture, GetResourceString("MiddewareFilter_NoConfigureMethod"), p0, p1); 476=> string.Format(Culture, GetResourceString("AuthorizeFilter_AuthorizationPolicyCannotBeCreated"), p0, p1); 500=> string.Format(Culture, GetResourceString("MiddlewareFilterConfigurationProvider_CreateConfigureDelegate_CannotCreateType"), p0, p1); 506=> string.Format(Culture, GetResourceString("Argument_InvalidOffsetLength"), p0, p1); 538=> string.Format(Culture, GetResourceString("ApiController_AttributeRouteRequired"), p0, p1); 552=> string.Format(Culture, GetResourceString("RelatedAssemblyAttribute_AssemblyCannotReferenceSelf"), p0, p1); 570=> string.Format(Culture, GetResourceString("ApplicationAssembliesProvider_RelatedAssemblyCannotDefineAdditional"), p0, p1); 576=> string.Format(Culture, GetResourceString("ComplexTypeModelBinder_NoParameterlessConstructor_ForParameter"), p0, p1); 594=> string.Format(Culture, GetResourceString("InvalidTypeTForActionResultOfT"), p0, p1); 606=> string.Format(Culture, GetResourceString("ApiConventionMethod_AmbiguousMethodName"), p0, p1); 612=> string.Format(Culture, GetResourceString("ApiConventionMethod_NoMethodFound"), p0, p1); 624=> string.Format(Culture, GetResourceString("ValidationVisitor_ExceededMaxDepthFix"), p0, p1); 660=> string.Format(Culture, GetResourceString("ObjectResultExecutor_MaxEnumerationExceeded"), p0, p1); 686=> string.Format(Culture, GetResourceString("ComplexObjectModelBinder_NoSuitableConstructor_ForParameter"), p0, p1); 704=> string.Format(Culture, GetResourceString("ValidationStrategy_MappedPropertyNotFound"), p0, p1); 710=> string.Format(Culture, GetResourceString("TryUpdateModel_RecordTypeNotSupported"), p0, p1); 728=> string.Format(Culture, GetResourceString("TryParseModelBinder_InvalidType"), p0, p1);
Routing\ConventionalRouteEntry.cs (1)
44throw new RouteCreationException(string.Format(
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\AttributeRouteModelTests.cs (1)
163var expected = string.Format(
Microsoft.AspNetCore.Mvc.DataAnnotations (3)
artifacts\obj\Microsoft.AspNetCore.Mvc.DataAnnotations\Release\net10.0\Microsoft.AspNetCore.Mvc.DataAnnotations.Resources.cs (2)
34=> string.Format(Culture, GetResourceString("ValidatableObjectAdapter_IncompatibleType"), p0, p1); 42=> string.Format(Culture, GetResourceString("PropertyOfTypeCannotBeNull"), p0, p1);
CompareAttributeAdapter.cs (1)
72return string.Format(CultureInfo.CurrentCulture,
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (3)
artifacts\obj\Microsoft.AspNetCore.Mvc.DataAnnotations.Test\Release\net10.0\Microsoft.AspNetCore.Mvc.DataAnnotations.Test.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("CompareAttributeTestResource"), p0, p1);
FileExtensionsAttributeAdapterTest.cs (2)
30var expectedErrorMessage = string.Format(CultureInfo.CurrentCulture, attribute.ErrorMessage, nameof(Profile.PhotoFileName), formattedExtensions); 81var expectedErrorMessage = string.Format(CultureInfo.CurrentCulture, attribute.ErrorMessage, nameof(Profile.PhotoFileName), formattedExtensions);
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
artifacts\obj\Microsoft.AspNetCore.Mvc.Formatters.Xml\Release\net10.0\Microsoft.AspNetCore.Mvc.Formatters.Xml.Resources.cs (1)
48=> string.Format(Culture, GetResourceString("WrapperProvider_MismatchType"), p0, p1);
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
XmlDataContractSerializerInputFormatterTest.cs (2)
605var input = string.Format( 663var input = string.Format(
Microsoft.AspNetCore.Mvc.NewtonsoftJson (4)
artifacts\obj\Microsoft.AspNetCore.Mvc.NewtonsoftJson\Release\net10.0\Microsoft.AspNetCore.Mvc.NewtonsoftJson.Resources.cs (4)
40=> string.Format(Culture, GetResourceString("InvalidContractResolverForJsonCasingConfiguration"), p0, p1); 52=> string.Format(Culture, GetResourceString("ObjectResultExecutor_MaxEnumerationExceeded"), p0, p1); 64=> string.Format(Culture, GetResourceString("TempData_CannotDeserializeToken"), p0, p1); 76=> string.Format(Culture, GetResourceString("TempData_CannotSerializeType"), p0, p1);
Microsoft.AspNetCore.Mvc.Razor (8)
artifacts\obj\Microsoft.AspNetCore.Mvc.Razor\Release\net10.0\Microsoft.AspNetCore.Mvc.Razor.Resources.cs (8)
44=> string.Format(Culture, GetResourceString("LayoutCannotBeLocated"), p0, p1); 50=> string.Format(Culture, GetResourceString("LayoutCannotBeRendered"), p0, p1); 58=> string.Format(Culture, GetResourceString("RazorPage_CannotFlushWhileInAWritingScope"), p0, p1); 64=> string.Format(Culture, GetResourceString("RazorPage_MethodCannotBeCalled"), p0, p1); 100=> string.Format(Culture, GetResourceString("ViewContextMustBeSet"), p0, p1); 120=> string.Format(Culture, GetResourceString("LayoutHasCircularReference"), p0, p1); 148=> string.Format(Culture, GetResourceString("PropertyMustBeSet"), p0, p1); 162=> string.Format(Culture, GetResourceString("CompiledViewDescriptor_NoData"), p0, p1);
Microsoft.AspNetCore.Mvc.RazorPages (5)
artifacts\obj\Microsoft.AspNetCore.Mvc.RazorPages\Release\net10.0\Microsoft.AspNetCore.Mvc.RazorPages.Resources.cs (5)
34=> string.Format(Culture, GetResourceString("PropertyOfTypeCannotBeNull"), p0, p1); 40=> string.Format(Culture, GetResourceString("ActivatedInstance_MustBeAnInstanceOf"), p0, p1); 60=> string.Format(Culture, GetResourceString("AmbiguousHandler"), p0, p1); 74=> string.Format(Culture, GetResourceString("InvalidPageType_WrongBase"), p0, p1); 80=> string.Format(Culture, GetResourceString("InvalidPageType_NoModelProperty"), p0, p1);
Microsoft.AspNetCore.Mvc.TagHelpers (6)
artifacts\obj\Microsoft.AspNetCore.Mvc.TagHelpers\Release\net10.0\Microsoft.AspNetCore.Mvc.TagHelpers.Resources.cs (6)
34=> string.Format(Culture, GetResourceString("CannotDetermineAttributeFor"), p0, p1); 82=> string.Format(Culture, GetResourceString("TagHelperOutput_AttributeDoesNotExist"), p0, p1); 88=> string.Format(Culture, GetResourceString("PropertyOfTypeCannotBeNull"), p0, p1); 102=> string.Format(Culture, GetResourceString("ViewEngine_PartialViewNotFound"), p0, p1); 114=> string.Format(Culture, GetResourceString("ViewEngine_FallbackViewNotFound"), p0, p1); 120=> string.Format(Culture, GetResourceString("AttributeIsRequired"), p0, p1);
Microsoft.AspNetCore.Mvc.Testing (1)
artifacts\obj\Microsoft.AspNetCore.Mvc.Testing\Release\net10.0\Microsoft.AspNetCore.Mvc.Testing.Resources.cs (1)
46=> string.Format(Culture, GetResourceString("MissingDepsFile"), p0, p1);
Microsoft.AspNetCore.Mvc.ViewFeatures (21)
artifacts\obj\Microsoft.AspNetCore.Mvc.ViewFeatures\Release\net10.0\Microsoft.AspNetCore.Mvc.ViewFeatures.Resources.cs (18)
48=> string.Format(Culture, GetResourceString("ViewComponent_SyncMethod_ShouldReturnValue"), p0, p1); 80=> string.Format(Culture, GetResourceString("PropertyOfTypeCannotBeNull"), p0, p1); 86=> string.Format(Culture, GetResourceString("TypeMethodMustReturnNotNullValue"), p0, p1); 98=> string.Format(Culture, GetResourceString("Common_PartialViewNotFound"), p0, p1); 112=> string.Format(Culture, GetResourceString("ExpressionHelper_InvalidIndexerExpression"), p0, p1); 126=> string.Format(Culture, GetResourceString("HtmlHelper_MissingSelectData"), p0, p1); 170=> string.Format(Culture, GetResourceString("ViewData_WrongTModelType"), p0, p1); 176=> string.Format(Culture, GetResourceString("ViewEngine_PartialViewNotFound"), p0, p1); 182=> string.Format(Culture, GetResourceString("ViewEngine_ViewNotFound"), p0, p1); 196=> string.Format(Culture, GetResourceString("UnobtrusiveJavascript_ValidationParameterMustBeLegal"), p0, p1); 208=> string.Format(Culture, GetResourceString("UnobtrusiveJavascript_ValidationTypeMustBeLegal"), p0, p1); 226=> string.Format(Culture, GetResourceString("TemplatedExpander_PopulateValuesMustBeInvokedFirst"), p0, p1); 234=> string.Format(Culture, GetResourceString("ViewComponent_AmbiguousTypeMatch_Item"), p0, p1); 240=> string.Format(Culture, GetResourceString("Common_PropertyNotFound"), p0, p1); 260=> string.Format(Culture, GetResourceString("ViewComponentResult_NameOrTypeMustBeSet"), p0, p1); 284=> string.Format(Culture, GetResourceString("ValueInterfaceAbstractOrOpenGenericTypesCannotBeActivated"), p0, p1); 290=> string.Format(Culture, GetResourceString("CreateModelExpression_NullModelMetadata"), p0, p1); 318=> string.Format(Culture, GetResourceString("TempData_CannotSerializeType"), p0, p1);
DefaultDisplayTemplates.cs (1)
125var fieldName = string.Format(CultureInfo.InvariantCulture, "{0}[{1}]", oldPrefix, index++);
DefaultEditorTemplates.cs (1)
107var fieldName = string.Format(CultureInfo.InvariantCulture, "{0}[{1}]", oldPrefix, index++);
ViewComponents\ViewViewComponentResult.cs (1)
99var qualifiedViewName = string.Format(
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
artifacts\obj\Microsoft.AspNetCore.Mvc.ViewFeatures.Test\Release\net10.0\Microsoft.AspNetCore.Mvc.ViewFeatures.Test.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("CompareAttributeTestResource"), p0, p1);
Rendering\HtmlHelperFormTest.cs (2)
171var expectedStartTag = string.Format(CultureInfo.InvariantCulture, "<form action=\"HtmlEncode[[{0}]]\" method=\"HtmlEncode[[post]]\"{1}>", 813dictionary.Select(keyValue => string.Format(CultureInfo.InvariantCulture, " {0}=\"HtmlEncode[[{1}]]\"", keyValue.Key, keyValue.Value)));
Rendering\HtmlHelperValueTest.cs (1)
241return string.Format(
Microsoft.AspNetCore.RateLimiting (1)
artifacts\obj\Microsoft.AspNetCore.RateLimiting\Release\net10.0\Microsoft.AspNetCore.RateLimiting.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("UnableToFindServices"), p0, p1);
Microsoft.AspNetCore.Rewrite (4)
artifacts\obj\Microsoft.AspNetCore.Rewrite\Release\net10.0\Microsoft.AspNetCore.Rewrite.Resources.cs (4)
42=> string.Format(Culture, GetResourceString("Error_InputParserIndexOutOfRange"), p0, p1); 48=> string.Format(Culture, GetResourceString("Error_InputParserInvalidInteger"), p0, p1); 66=> string.Format(Culture, GetResourceString("Error_InputParserUnrecognizedParameter"), p0, p1); 80=> string.Format(Culture, GetResourceString("Error_ModRewriteParseError"), p0, p1);
Microsoft.AspNetCore.Routing (8)
artifacts\obj\Microsoft.AspNetCore.Routing\Release\net10.0\Microsoft.AspNetCore.Routing.Resources.cs (8)
40=> string.Format(Culture, GetResourceString("RangeConstraint_MinShouldBeLessThanOrEqualToMax"), p0, p1); 46=> string.Format(Culture, GetResourceString("PropertyOfTypeCannotBeNull"), p0, p1); 64=> string.Format(Culture, GetResourceString("DefaultInlineConstraintResolver_AmbiguousCtors"), p0, p1); 70=> string.Format(Culture, GetResourceString("DefaultInlineConstraintResolver_CouldNotFindCtor"), p0, p1); 160=> string.Format(Culture, GetResourceString("TemplateRoute_Exception"), p0, p1); 166=> string.Format(Culture, GetResourceString("AmbiguousEndpoints"), p0, p1); 180=> string.Format(Culture, GetResourceString("RoutePattern_InvalidConstraintReference"), p0, p1); 218=> string.Format(Culture, GetResourceString("MapGroup_ChangingRoutePatternUnsupported"), p0, p1);
Microsoft.AspNetCore.Routing.Tests (1)
Tree\TreeRouterTest.cs (1)
2055return string.Format(CultureInfo.InvariantCulture, "{0}&{1}", order, template);
Microsoft.AspNetCore.Server.HttpSys (2)
artifacts\obj\Microsoft.AspNetCore.Server.HttpSys\Release\net10.0\Microsoft.AspNetCore.Server.HttpSys.Resources.cs (1)
38=> string.Format(Culture, GetResourceString("Exception_AccessDenied"), p0, p1);
UrlPrefix.cs (1)
20HostAndPort = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", Host, Port);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
artifacts\obj\Microsoft.AspNetCore.Server.HttpSys.FunctionalTests\Release\net10.0\Microsoft.AspNetCore.Server.SharedStrings.cs (2)
34=> string.Format(Culture, GetResourceString("Http2ErrorUnexpectedFrameLength", new [] { "frameType", "expectedLength" }), frameType, expectedLength); 40=> string.Format(Culture, GetResourceString("Http2ErrorFrameOverLimit", new [] { "size", "limit" }), size, limit);
artifacts\obj\Microsoft.AspNetCore.Server.HttpSys.FunctionalTests\Release\net10.0\System.Net.Http.SR.cs (1)
56=> string.Format(Culture, GetResourceString("net_http_hpack_large_table_size_update"), p0, p1);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
IISExpressDeployer.cs (2)
171string.Format(CultureInfo.InvariantCulture, "/port:{0} /path:\"{1}\" /trace:error /systray:false", uri.Port, contentRoot) : 172string.Format(CultureInfo.InvariantCulture, "/site:{0} /config:{1} /trace:error /systray:false", DeploymentParameters.SiteName, DeploymentParameters.ServerConfigLocation);
Microsoft.AspNetCore.Server.Kestrel.Core (28)
artifacts\obj\Microsoft.AspNetCore.Server.Kestrel.Core\Release\net10.0\Microsoft.AspNetCore.Server.Kestrel.Core.CoreStrings.cs (22)
128=> string.Format(Culture, GetResourceString("MaxRequestBufferSmallerThanRequestHeaderBuffer", new [] { "requestBufferSize", "requestHeaderSize" }), requestBufferSize, requestHeaderSize); 134=> string.Format(Culture, GetResourceString("MaxRequestBufferSmallerThanRequestLineBuffer", new [] { "requestBufferSize", "requestLineSize" }), requestBufferSize, requestLineSize); 208=> string.Format(Culture, GetResourceString("OverridingWithPreferHostingUrls", new [] { "settingName", "addresses" }), settingName, addresses); 224=> string.Format(Culture, GetResourceString("HeaderNotAllowedOnResponse", new [] { "name", "statusCode" }), name, statusCode); 236=> string.Format(Culture, GetResourceString("TooFewBytesWritten", new [] { "written", "expected" }), written, expected); 242=> string.Format(Culture, GetResourceString("TooManyBytesWritten", new [] { "written", "expected" }), written, expected); 298=> string.Format(Culture, GetResourceString("Http2ErrorStreamIdEven", new [] { "frameType", "streamId" }), frameType, streamId); 330=> string.Format(Culture, GetResourceString("Http2ErrorStreamClosed", new [] { "frameType", "streamId" }), frameType, streamId); 336=> string.Format(Culture, GetResourceString("Http2ErrorStreamHalfClosedRemote", new [] { "frameType", "streamId" }), frameType, streamId); 342=> string.Format(Culture, GetResourceString("Http2ErrorStreamSelfDependency", new [] { "frameType", "streamId" }), frameType, streamId); 348=> string.Format(Culture, GetResourceString("Http2ErrorUnexpectedFrameLength", new [] { "frameType", "expectedLength" }), frameType, expectedLength); 368=> string.Format(Culture, GetResourceString("Http2ErrorStreamIdle", new [] { "frameType", "streamId" }), frameType, streamId); 435=> string.Format(Culture, GetResourceString("Http2ErrorFrameOverLimit", new [] { "size", "limit" }), size, limit); 479=> string.Format(Culture, GetResourceString("Http2StreamErrorSchemeMismatch", new [] { "requestScheme", "transportScheme" }), requestScheme, transportScheme); 495=> string.Format(Culture, GetResourceString("Http3StreamErrorSchemeMismatch", new [] { "requestScheme", "transportScheme" }), requestScheme, transportScheme); 519=> string.Format(Culture, GetResourceString("ArgumentOutOfRange", new [] { "min", "max" }), min, max); 527=> string.Format(Culture, GetResourceString("Http2ErrorStreamAborted", new [] { "frameType", "streamId" }), frameType, streamId); 561=> string.Format(Culture, GetResourceString("QPackStringLengthTooLarge", new [] { "length", "maxStringLength" }), length, maxStringLength); 591=> string.Format(Culture, GetResourceString("SniNotConfiguredForServerName", new [] { "serverName", "endpointName" }), serverName, endpointName); 609=> string.Format(Culture, GetResourceString("EndpointHasUnusedHttpsConfig", new [] { "endpointName", "keyName" }), endpointName, keyName); 687=> string.Format(Culture, GetResourceString("Http3WebTransportStatusMismatch", new [] { "clientStatus", "serverStatus" }), clientStatus, serverStatus); 693=> string.Format(Culture, GetResourceString("Http3DatagramStatusMismatch", new [] { "clientStatus", "serverStatus" }), clientStatus, serverStatus);
artifacts\obj\Microsoft.AspNetCore.Server.Kestrel.Core\Release\net10.0\Microsoft.AspNetCore.Server.SharedStrings.cs (2)
34=> string.Format(Culture, GetResourceString("Http2ErrorUnexpectedFrameLength", new [] { "frameType", "expectedLength" }), frameType, expectedLength); 40=> string.Format(Culture, GetResourceString("Http2ErrorFrameOverLimit", new [] { "size", "limit" }), size, limit);
artifacts\obj\Microsoft.AspNetCore.Server.Kestrel.Core\Release\net10.0\System.Net.Http.SR.cs (1)
56=> string.Format(Culture, GetResourceString("net_http_hpack_large_table_size_update"), p0, p1);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
241string.Format( 290string.Format(CultureInfo.InvariantCulture, MacOSFindCertificateOnKeychainCommandLineArgumentsFormat, subject, keychain)) 347string.Format(CultureInfo.InvariantCulture, MacOSAddCertificateToKeyChainCommandLineArgumentsFormat, certificatePath, password))
Microsoft.AspNetCore.Shared.Tests (4)
artifacts\obj\Microsoft.AspNetCore.Shared.Tests\Release\net10.0\Microsoft.AspNetCore.Server.SharedStrings.cs (2)
34=> string.Format(Culture, GetResourceString("Http2ErrorUnexpectedFrameLength", new [] { "frameType", "expectedLength" }), frameType, expectedLength); 40=> string.Format(Culture, GetResourceString("Http2ErrorFrameOverLimit", new [] { "size", "limit" }), size, limit);
artifacts\obj\Microsoft.AspNetCore.Shared.Tests\Release\net10.0\System.Net.Http.SR.cs (1)
56=> string.Format(Culture, GetResourceString("net_http_hpack_large_table_size_update"), p0, p1);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
Microsoft.AspNetCore.WebUtilities (2)
artifacts\obj\Microsoft.AspNetCore.WebUtilities\Release\net10.0\Microsoft.AspNetCore.WebUtilities.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("FormPipeReader_KeyOrValueTooLarge"), p0, p1);
FormPipeReader.cs (1)
319string.Format(
Microsoft.AspNetCore.WebUtilities.Tests (1)
FormPipeReaderTests.cs (1)
230Assert.Equal(string.Format(
Microsoft.Build (22)
BackEnd\Components\RequestBuilder\TaskHost.cs (5)
425Trace.Fail(String.Format(CultureInfo.CurrentUICulture, "Task at {0}, after already returning, attempted to log '{1}'", _taskLocation.ToString(), e.Message)); 495Trace.Fail(String.Format(CultureInfo.CurrentUICulture, "Task at {0}, after already returning, attempted to log '{1}'", _taskLocation.ToString(), e.Message)); 536Trace.Fail(String.Format(CultureInfo.CurrentUICulture, "Task at {0}, after already returning, attempted to log '{1}'", _taskLocation.ToString(), e.Message)); 577Trace.Fail(String.Format(CultureInfo.CurrentUICulture, "Task at {0}, after already returning, attempted to log '{1}'", _taskLocation.ToString(), e.Message)); 668Trace.Fail(String.Format(CultureInfo.CurrentUICulture, "Task at {0}, after already returning, attempted to log telemetry event '{1}'", _taskLocation.ToString(), eventName));
BackEnd\Shared\TargetResult.cs (1)
238string filename = Path.Combine(FileUtilities.GetCacheDirectory(), String.Format(CultureInfo.InvariantCulture, Path.Combine("Results{0}", "{1}.cache"), configId, targetToCache));
CommunicationsUtilities.cs (2)
558throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Client: rejected old host. Received byte {0} instead of {1}.", bytes[0], byteToAccept)); 843string.Format(CultureInfo.CurrentCulture, Path.Combine(s_debugDumpPath, fileName), EnvironmentUtilities.CurrentProcessId, nodeId), append: true))
Construction\Solution\SolutionProjectGenerator.cs (6)
462String.Format(CultureInfo.InvariantCulture, @"@({0}->'{1}%(DestinationSubDirectory)%(Filename)%(Extension)')", copyLocalFilesItemName, destinationFolder)); 518string additionalProperties = string.Format( 617return string.Format( 753_selectedSolutionConfiguration = String.Format(CultureInfo.InvariantCulture, "{0}|{1}", traversalInstance.GetProperty("Configuration").EvaluatedValue, traversalInstance.GetProperty("Platform").EvaluatedValue); 1140string directProjectProperties = String.Format(CultureInfo.InvariantCulture, "Configuration={0}; Platform={1}", projectConfiguration.ConfigurationName, projectConfiguration.PlatformName); 1636string outputReferenceItemNameWithSuffix = string.Format(CultureInfo.InvariantCulture, "{0}_{1}", outputReferenceItemName, outputReferenceItemNameSuffix);
Definition\Project.cs (2)
2056Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Explicitly marked dirty, eg., because a global property was set, or an import, such as a .user file, was created on disk [{0}] [PC Hash {1}]", FullPath, ProjectCollection.GetHashCode())); 2079Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Is dirty because toolsets updated [{0}] [PC Hash {1}]", FullPath, ProjectCollection.GetHashCode()));
FileUtilities.cs (1)
144cacheDirectory = Path.Combine(TempFileDirectory, string.Format(CultureInfo.CurrentUICulture, "MSBuild{0}-{1}", EnvironmentUtilities.CurrentProcessId, AppDomain.CurrentDomain.Id));
Graph\ProjectInterpretation.cs (2)
113String.Format( 440String.Format(
Logging\ParallelLogger\ParallelLoggerHelpers.cs (1)
651fullProjectKey = String.Format(CultureInfo.InvariantCulture, "{0}:{1}", _projectKey, _entryPointKey);
NativeWin32Exception.cs (1)
62return string.Format(CultureInfo.InvariantCulture, "Native: 0x{0:X}: {1}", nativeErrorCode, systemMessage);
ResourceUtilities.cs (1)
408return string.Format(CultureInfo.CurrentCulture, unformatted, arg1, arg2);
Microsoft.Build.Engine.OM.UnitTests (3)
FileUtilities.cs (1)
144cacheDirectory = Path.Combine(TempFileDirectory, string.Format(CultureInfo.CurrentUICulture, "MSBuild{0}-{1}", EnvironmentUtilities.CurrentProcessId, AppDomain.CurrentDomain.Id));
NativeWin32Exception.cs (1)
62return string.Format(CultureInfo.InvariantCulture, "Native: 0x{0:X}: {1}", nativeErrorCode, systemMessage);
ResourceUtilities.cs (1)
408return string.Format(CultureInfo.CurrentCulture, unformatted, arg1, arg2);
Microsoft.Build.Engine.UnitTests (9)
ConsoleLogger_Tests.cs (8)
1432prop1 = String.Format(CultureInfo.CurrentCulture, "{0,-30} = {1}", "prop1", "val1"); 1433prop2 = String.Format(CultureInfo.CurrentCulture, "{0,-30} = {1}", "prop2", "val2"); 1434prop3 = String.Format(CultureInfo.CurrentCulture, "{0,-30} = {1}", "pro(p3)", "va;%3b;l3"); 1441prop1 = String.Format(CultureInfo.CurrentCulture, "{0} = {1}", "prop1", "val1"); 1442prop2 = String.Format(CultureInfo.CurrentCulture, "{0} = {1}", "prop2", "val2"); 1443prop3 = String.Format(CultureInfo.CurrentCulture, "{0} = {1}", "pro(p3)", "va;%3b;l3"); 1637message = String.Format(CultureInfo.CurrentCulture, "{0} = {1}", kvp.Key, kvp.Value); 1641message = String.Format(CultureInfo.CurrentCulture, "{0,-30} = {1}", kvp.Key, kvp.Value);
FileUtilitiesRegex_Tests.cs (1)
27private static readonly string s_baseUncPattern = string.Format(
Microsoft.Build.Framework.UnitTests (1)
ResourceUtilities.cs (1)
408return string.Format(CultureInfo.CurrentCulture, unformatted, arg1, arg2);
Microsoft.Build.Tasks.Core (11)
BootstrapperUtil\BootstrapperBuilder.cs (2)
1125XmlNodeList nodeList = targetNode.SelectNodes(BOOTSTRAPPER_PREFIX + string.Format(CultureInfo.InvariantCulture, ":*[@{0}='{1}']", attributeName, oldValue), _xmlNamespaceManager); 1989Stream s = a.GetManifestResourceStream(String.Format(CultureInfo.InvariantCulture, "{0}.{1}", typeof(BootstrapperBuilder).Namespace, name));
FileUtilities.cs (1)
144cacheDirectory = Path.Combine(TempFileDirectory, string.Format(CultureInfo.CurrentUICulture, "MSBuild{0}-{1}", EnvironmentUtilities.CurrentProcessId, AppDomain.CurrentDomain.Id));
ManifestUtil\ComImporter.cs (1)
261_outputMessages.AddErrorMessage("GenerateManifest.ComImport", _outputDisplayName, String.Format(CultureInfo.CurrentCulture, _resources.GetString("ComImporter.MissingValue"), classKey.Name + "\\InProcServer32", "(Default)"));
ManifestUtil\ManifestReader.cs (1)
234string tn = String.Format(CultureInfo.InvariantCulture, "{0}.{1}", ns, r.Name);
ManifestUtil\SecurityUtil.cs (3)
813throw new ApplicationException(String.Format(CultureInfo.InvariantCulture, resources.GetString("SecurityUtil.SigntoolFail"), path, signTool.StandardError.ReadToEnd())); 816throw new WarningException(String.Format(CultureInfo.InvariantCulture, resources.GetString("SecurityUtil.SigntoolWarning"), path, signTool.StandardError.ReadToEnd())); 819throw new ApplicationException(String.Format(CultureInfo.InvariantCulture, resources.GetString("SecurityUtil.SigntoolFail"), path, signTool.StandardError.ReadToEnd()));
NativeWin32Exception.cs (1)
62return string.Format(CultureInfo.InvariantCulture, "Native: 0x{0:X}: {1}", nativeErrorCode, systemMessage);
RedistList.cs (1)
862Debug.Assert(isValidEntry, string.Format(CultureInfo.InvariantCulture, "Missing attribute in redist file: {0}, line #{1}", path,
ResourceUtilities.cs (1)
408return string.Format(CultureInfo.CurrentCulture, unformatted, arg1, arg2);
Microsoft.Build.Utilities.Core (3)
FileUtilities.cs (1)
144cacheDirectory = Path.Combine(TempFileDirectory, string.Format(CultureInfo.CurrentUICulture, "MSBuild{0}-{1}", EnvironmentUtilities.CurrentProcessId, AppDomain.CurrentDomain.Id));
NativeWin32Exception.cs (1)
62return string.Format(CultureInfo.InvariantCulture, "Native: 0x{0:X}: {1}", nativeErrorCode, systemMessage);
ResourceUtilities.cs (1)
408return string.Format(CultureInfo.CurrentCulture, unformatted, arg1, arg2);
Microsoft.CodeAnalysis (2)
Diagnostic\DiagnosticInfo.cs (1)
390return String.Format(formatProvider, "{0}: {1}",
PEWriter\ManagedResource.cs (1)
61string.Format(CultureInfo.CurrentUICulture, CodeAnalysisResources.ResourceStreamEndedUnexpectedly, bytesWritten, count));
Microsoft.CodeAnalysis.Analyzers (1)
MetaAnalyzers\Fixers\ApplyDiagnosticAnalyzerAttributeFix.cs (1)
46title = string.Format(CultureInfo.CurrentCulture, CodeAnalysisDiagnosticsResources.ApplyDiagnosticAnalyzerAttribute_2, LanguageNames.CSharp, LanguageNames.VisualBasic);
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\ValueContentAnalysis\ValueContentAbstractValue.cs (1)
287string.Format(CultureInfo.InvariantCulture, "L({0}) NL:{1}", LiteralValues.Count, NonLiteralState.ToString()[0]);
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CommandLineDiagnosticFormatter.cs (1)
40return string.Format(formatter, "({0},{1})",
Errors\MessageProvider.cs (1)
72return String.Format(culture, "{0} {1}",
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenIncrementTests.cs (1)
1011string expectedOutput = string.Format(CultureInfo.InvariantCulture, NUMERIC_OUTPUT_TEMPLATE, value, valuePlusOne);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
DebuggerDiagnosticFormatter.cs (1)
22return string.Format(formatter, "{0}: {1}",
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
796output.WriteLine(string.Format(output.FormatProvider, InteractiveHostResources.plus_additional_0_1, notShown, (notShown == 1) ? "error" : "errors"));
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Internal\Text\ImageId.cs (1)
63return string.Format(provider, "{0} : {1}", arg, id.ToString(provider));
Microsoft.CodeAnalysis.Scripting (1)
Hosting\ObjectFormatter\CommonObjectFormatter.cs (1)
99builder.Append(string.Format(CultureInfo.CurrentUICulture, ScriptingResources.AtFileLine, fileName, frame.GetFileLineNumber()));
Microsoft.CodeAnalysis.VisualBasic (1)
Errors\MessageProvider.vb (1)
112Return String.Format(culture, "{0} {1}",
Microsoft.CSharp (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.AI.Evaluation.Reporting (4)
Storage\DiskBasedResponseCache.cs (4)
62string.Format( 95string.Format( 174string.Format( 196string.Format(
Microsoft.Extensions.Caching.Memory (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Caching.SqlServer (2)
SqlQueries.cs (2)
59var tableNameWithSchema = string.Format( 69TableInfo = string.Format(CultureInfo.InvariantCulture, TableInfoFormat, EscapeLiteral(schemaName), EscapeLiteral(tableName));
Microsoft.Extensions.Configuration (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.Binder (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.CommandLine (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.FileExtensions (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.Ini (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.Json (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.UserSecrets (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Configuration.Xml (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.DependencyInjection (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.DependencyInjection.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.DependencyModel (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Diagnostics (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Diagnostics.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.FileProviders.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.FileProviders.Physical (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.FileSystemGlobbing (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Hosting (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Hosting.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Http (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Http.Polly (1)
artifacts\obj\Microsoft.Extensions.Http.Polly\Release\netstandard2.0\Microsoft.Extensions.Http.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("PolicyHttpMessageHandler_PolicySelector_ReturnedNull"), p0, p1);
Microsoft.Extensions.Identity.Core (2)
artifacts\obj\Microsoft.Extensions.Identity.Core\Release\net10.0\Microsoft.Extensions.Identity.Core.Resources.cs (1)
90=> string.Format(Culture, GetResourceString("NoTokenProvider"), p0, p1);
IdentityResult.cs (1)
74string.Format(CultureInfo.InvariantCulture, "{0} : {1}", "Failed", string.Join(",", Errors.Select(x => x.Code).ToList()));
Microsoft.Extensions.Logging (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Logging.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Logging.Configuration (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Logging.Console (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Logging.Generators (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Options (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Options.SourceGeneration (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Extensions.SecretManager.Tools.Tests (2)
SecretManagerTests.cs (2)
127string.Format(CultureInfo.InvariantCulture, "{0} = {1}", keyValue.Key, keyValue.Value), 315string.Format(CultureInfo.InvariantCulture, "{0} = {1}", keyValue.Key, keyValue.Value),
Microsoft.Interop.ComInterfaceGenerator (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Interop.JavaScript.JSImportGenerator (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Interop.LibraryImportGenerator (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Interop.SourceGeneration (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.ML.Core (2)
Utilities\Contracts.cs (2)
814DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}: {1}", paramName, msg)); 818DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}: {1}", paramName, msg), ctx);
Microsoft.ML.CpuMath (2)
src\Microsoft.ML.Core\Utilities\Contracts.cs (2)
814DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}: {1}", paramName, msg)); 818DbgFailCore(string.Format(CultureInfo.InvariantCulture, "Non-null assertion failure: {0}: {1}", paramName, msg), ctx);
Microsoft.ML.Maml (1)
MAML.cs (1)
140string.Format(CultureInfo.InvariantCulture, "Error_{0:yyyyMMdd_HHmmss}_{1}.log", DateTime.UtcNow, Guid.NewGuid()));
Microsoft.ML.Transforms (1)
Expression\Tokens.cs (1)
26return string.Format(CultureInfo.InvariantCulture, "({0},{1})", Min, Lim);
Microsoft.Net.Http.Headers (2)
HttpHeaderParser.cs (2)
41throw new FormatException(string.Format(CultureInfo.InvariantCulture, 142throw new FormatException(string.Format(CultureInfo.InvariantCulture,
Microsoft.Win32.Registry (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Win32.Registry.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
Microsoft.Win32.SystemEvents (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
MSBuild (5)
CommunicationsUtilities.cs (2)
558throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Client: rejected old host. Received byte {0} instead of {1}.", bytes[0], byteToAccept)); 843string.Format(CultureInfo.CurrentCulture, Path.Combine(s_debugDumpPath, fileName), EnvironmentUtilities.CurrentProcessId, nodeId), append: true))
FileUtilities.cs (1)
144cacheDirectory = Path.Combine(TempFileDirectory, string.Format(CultureInfo.CurrentUICulture, "MSBuild{0}-{1}", EnvironmentUtilities.CurrentProcessId, AppDomain.CurrentDomain.Id));
NativeWin32Exception.cs (1)
62return string.Format(CultureInfo.InvariantCulture, "Native: 0x{0:X}: {1}", nativeErrorCode, systemMessage);
ResourceUtilities.cs (1)
408return string.Format(CultureInfo.CurrentCulture, unformatted, arg1, arg2);
PresentationBuildTasks (2)
Microsoft\Build\Tasks\Windows\UidManager.cs (2)
1107string clause = string.Format( 1119string clause = string.Format(
PresentationCore (9)
System\Windows\Input\Stylus\Common\StylusButton.cs (1)
101return String.Format(CultureInfo.CurrentCulture, "{0}({1})", base.ToString(), this.Name);
System\Windows\Input\Stylus\Common\StylusDevice.cs (1)
163return String.Format(CultureInfo.CurrentCulture, "{0}({1})", base.ToString(), this.Name);
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (1)
180return String.Format(CultureInfo.CurrentCulture, "{0}({1})", base.ToString(), Name);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
1088return String.Format(CultureInfo.CurrentCulture, "{0}({1})", base.ToString(), this.Name);
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (1)
162return String.Format(CultureInfo.CurrentCulture, "{0}({1})", base.ToString(), Name);
System\Windows\Media\Visual.cs (1)
1983String.Format(System.Globalization.CultureInfo.InvariantCulture,
System\Windows\Media3D\Visual3D.cs (1)
655String.Format(System.Globalization.CultureInfo.InvariantCulture,
System\Windows\Media3D\Visual3DCollection.cs (1)
551String.Format(
System\Windows\RoutedEvent.cs (1)
110return string.Format(CultureInfo.InvariantCulture, "{0}.{1}", _ownerType.Name, _name );
PresentationFramework (2)
System\Windows\Controls\PageRanges.cs (1)
143rangeText = String.Format(CultureInfo.InvariantCulture, SR.PrintDialogPageRange, _pageFrom, _pageTo);
System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
153string.Format(CultureInfo.InvariantCulture, SR.DatePickerTextBox_TemplatePartIsOfIncorrectType, partName, typeof(T).Name));
PresentationUI (1)
MS\Internal\Documents\Application\AddressUtility.cs (1)
46address = string.Format(
ReachFramework (8)
PrintConfig\PrintSchemaShim.cs (1)
160string xPathString = string.Format(
PrintConfig\PrtCap_Public.cs (1)
497throw NewPrintCapFormatException(String.Format(CultureInfo.CurrentCulture,
PrintConfig\PrtCap_Public_Simple.cs (1)
162return String.Format(CultureInfo.CurrentCulture, "({0}, {1})",
PrintConfig\PrtCap_Reader.cs (2)
50throw NewPrintCapFormatException(String.Format(CultureInfo.CurrentCulture, 84throw NewPrintCapFormatException(String.Format(CultureInfo.CurrentCulture,
PrintConfig\PrtTicket_Editor.cs (3)
44throw NewPTFormatException(String.Format(CultureInfo.CurrentCulture, 71throw NewPTFormatException(String.Format(CultureInfo.CurrentCulture, 116throw NewPTFormatException(String.Format(CultureInfo.CurrentCulture,
StatusCodePagesSample (2)
Startup.cs (2)
97string.Format(CultureInfo.InvariantCulture, "<a href=\"?statuscode={0}\">[Enabled]</a>{1}", statusCode, space), 98string.Format(CultureInfo.InvariantCulture, "<a href=\"?statuscode={0}&disableStatusCodePages=true\">[Disabled]</a>{1}", statusCode, space));
Swaggatherer (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
System.CodeDom (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Collections (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Collections.Concurrent (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Collections.Immutable (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Collections.NonGeneric (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Collections.Specialized (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ComponentModel.Annotations (6)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System\ComponentModel\DataAnnotations\CompareAttribute.cs (1)
29string.Format(
System\ComponentModel\DataAnnotations\FileExtensionsAttribute.cs (1)
43string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, ExtensionsFormatted);
System\ComponentModel\DataAnnotations\MaxLengthAttribute.cs (1)
97string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, Length);
System\ComponentModel\DataAnnotations\MinLengthAttribute.cs (1)
80string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, Length);
System\ComponentModel\DataAnnotations\RegularExpressionAttribute.cs (1)
91return string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, Pattern);
System.ComponentModel.Composition (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ComponentModel.Composition.Registration (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ComponentModel.EventBasedAsync (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ComponentModel.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ComponentModel.TypeConverter (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Composition.Convention (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Composition.Hosting (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Composition.Runtime (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Composition.TypedParts (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Configuration.ConfigurationManager (4)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System\Configuration\MgmtConfigurationRecord.cs (2)
2050utilWriter.Write(string.Format(CultureInfo.InvariantCulture, FormatLocationNoPath, 2962updatedXml = string.Format(CultureInfo.InvariantCulture, FormatSectionConfigSource,
System\Configuration\OverrideModeSetting.cs (1)
227result = string.Format(CultureInfo.InvariantCulture,
System.Console (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Data.Common (3)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System\Data\DataTable.cs (2)
668info.AddValue(string.Format(CultureInfo.InvariantCulture, "DataTable_{0}.DataColumn_{1}.Expression", serIndex, i), Columns[i].Expression); 679string expr = info.GetString(string.Format(CultureInfo.InvariantCulture, "DataTable_{0}.DataColumn_{1}.Expression", serIndex, i))!;
System.Data.Odbc (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Data.OleDb (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Diagnostics.DiagnosticSource (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Diagnostics.EventLog (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Diagnostics.FileVersionInfo (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Diagnostics.PerformanceCounter (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Diagnostics.Process (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Diagnostics.TextWriterTraceListener (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Diagnostics.TraceSource (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.DirectoryServices (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.DirectoryServices.AccountManagement (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.DirectoryServices.Protocols (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Drawing.Common (1)
Special\SR.cs (1)
76: string.Format(provider, resourceFormat, p1, p2);
System.Drawing.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Formats.Asn1 (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Formats.Cbor (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Formats.Nrbf (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Formats.Tar (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Compression (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Compression.Brotli (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Compression.ZipFile (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.FileSystem.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.FileSystem.DriveInfo (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.FileSystem.Watcher (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Hashing (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.IsolatedStorage (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.MemoryMappedFiles (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Packaging (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Pipelines (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Pipes (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Pipes.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.IO.Ports (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Linq (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Linq.AsyncEnumerable (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Linq.Expressions (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Linq.Parallel (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Linq.Queryable (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Management (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Memory (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Memory.Data (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Http (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Http.Json (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Http.WinHttpHandler (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.HttpListener (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Mail (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.NameResolution (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.NetworkInformation (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Ping (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Quic (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Requests (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Security (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.ServerSentEvents (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.Sockets (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.WebClient (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.WebHeaderCollection (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.WebSockets (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Net.WebSockets.Client (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Numerics.Tensors (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ObjectModel (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Private.CoreLib (3)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.cs (2)
301Write(string.Format(FormatProvider, format, arg0, arg1)); 508WriteLine(string.Format(FormatProvider, format, arg0, arg1));
System.Private.DataContractSerialization (3)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System\Runtime\Serialization\SchemaImporter.cs (2)
974memberTypeContract = ImportAnonymousElement(element, new XmlQualifiedName(string.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace)); 1088XmlQualifiedName fullName = new XmlQualifiedName(string.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace);
System.Private.Uri (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Private.Xml (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Private.Xml.Linq (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Reflection.Context (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Reflection.DispatchProxy (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Reflection.Emit (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Reflection.Metadata (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Reflection.MetadataLoadContext (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Reflection.TypeExtensions (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Resources.Extensions (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Resources.Writer (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Runtime.Caching (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Runtime.InteropServices (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Runtime.InteropServices.JavaScript (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Runtime.Numerics (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Runtime.Serialization.Formatters (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Runtime.Serialization.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Runtime.Serialization.Schema (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Claims (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Cryptography (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Cryptography.Cose (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Cryptography.Pkcs (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Cryptography.ProtectedData (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Cryptography.Xml (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Permissions (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Security.Principal.Windows (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ServiceModel.Syndication (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.ServiceProcess.ServiceController (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Speech (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Text.Encoding.CodePages (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Text.Encodings.Web (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Text.Json (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Text.Json.SourceGeneration (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Text.RegularExpressions (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Text.RegularExpressions.Generator (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Threading (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Threading.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Threading.Channels (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Threading.RateLimiting (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Threading.Tasks.Dataflow (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Threading.Tasks.Parallel (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Transactions.Local (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Windows.Extensions (1)
src\libraries\Common\src\System\SR.cs (1)
127return string.Format(provider, resourceFormat, p1, p2);
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
2411throw new FormatException(string.Format(CultureInfo.CurrentCulture, SR.Formatter_CantConvert, value, DisplayType));
System\Windows\Forms\Internal\Formatter.cs (1)
423return string.Format(CultureInfo.CurrentCulture, stringResId, value, targetType.Name);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\MaskedTextBoxDesigner.cs (1)
130return string.Format(CultureInfo.CurrentCulture, SR.MaskedTextBoxTextEditorErrorFormatString, e.Position, rejectionHint);
System.Windows.Input.Manipulations (3)
System\Windows\Input\Manipulations\PointF.cs (1)
147return String.Format(
System\Windows\Input\Manipulations\VectorD.cs (1)
467return String.Format(provider, "X={0}, Y={1}", x, y);
System\Windows\Input\Manipulations\VectorF.cs (1)
439return String.Format(
System.Xaml (1)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
1245string msg = string.Format(TypeConverterHelper.InvariantEnglishUS, SR.NoSuchConstructor, rawArgs.Count, meType.Name);
TaskUsageLogger (2)
TaskUsageLogger.cs (2)
129throw new LoggerException(String.Format(CultureInfo.CurrentCulture, "Failed to load and read task registration information from project '{0}'. {1}", e.ProjectFile, ex.Message)); 364throw new LoggerException(String.Format(CultureInfo.CurrentCulture, "Why couldn't we find a matching UsingTask for task {0} in project {1}?", taskName, projectFile));
Templates.Blazor.Tests (4)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
241string.Format( 290string.Format(CultureInfo.InvariantCulture, MacOSFindCertificateOnKeychainCommandLineArgumentsFormat, subject, keychain)) 347string.Format(CultureInfo.InvariantCulture, MacOSAddCertificateToKeyChainCommandLineArgumentsFormat, certificatePath, password))
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
Templates.Blazor.WebAssembly.Auth.Tests (4)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
241string.Format( 290string.Format(CultureInfo.InvariantCulture, MacOSFindCertificateOnKeychainCommandLineArgumentsFormat, subject, keychain)) 347string.Format(CultureInfo.InvariantCulture, MacOSAddCertificateToKeyChainCommandLineArgumentsFormat, certificatePath, password))
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
Templates.Blazor.WebAssembly.Tests (4)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
241string.Format( 290string.Format(CultureInfo.InvariantCulture, MacOSFindCertificateOnKeychainCommandLineArgumentsFormat, subject, keychain)) 347string.Format(CultureInfo.InvariantCulture, MacOSAddCertificateToKeyChainCommandLineArgumentsFormat, certificatePath, password))
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
Templates.Mvc.Tests (4)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
241string.Format( 290string.Format(CultureInfo.InvariantCulture, MacOSFindCertificateOnKeychainCommandLineArgumentsFormat, subject, keychain)) 347string.Format(CultureInfo.InvariantCulture, MacOSAddCertificateToKeyChainCommandLineArgumentsFormat, certificatePath, password))
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
Templates.Tests (4)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
241string.Format( 290string.Format(CultureInfo.InvariantCulture, MacOSFindCertificateOnKeychainCommandLineArgumentsFormat, subject, keychain)) 347string.Format(CultureInfo.InvariantCulture, MacOSAddCertificateToKeyChainCommandLineArgumentsFormat, certificatePath, password))
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (1)
151Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "ERROR: AdviseEventRemoved called for {0} and event/property {1} without matching AdviseEventAdded.", hwnd, key), "NativeMsaaProxy");
Wasm.Performance.ConsoleHost (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
560return ShortVersionGetter == null ? FullName : string.Format(CultureInfo.InvariantCulture, "{0} {1}", FullName, ShortVersionGetter());
WindowsFormsIntegration (2)
System\Windows\Integration\PropertyMap.cs (1)
140throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, SR.WFI_PropertyDoesntExist, propertyName, SourceObject.GetType().FullName));
System\Windows\Integration\WindowsFormsHost.cs (1)
476Debug.WriteLineIf(_traceHandle.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "WindowsFormsHost({0}): BuildWindowCore (parent=0x{1:x8})", this.Name, hwndParent.Handle.ToInt32()));
XmlFormattersWebSite (1)
Controllers\ValidationController.cs (1)
52allErrorMessages.Add(string.Format(CultureInfo.InvariantCulture, "{0}:{1}", key, errorMessage));
xunit.assert (50)
EqualityAsserts.cs (26)
351 string.Format(CultureInfo.CurrentCulture, "{0:G17} (rounded from {1:G17})", expectedRounded, expected), 352 string.Format(CultureInfo.CurrentCulture, "{0:G17} (rounded from {1:G17})", actualRounded, actual), 353 string.Format(CultureInfo.CurrentCulture, "Values are not within {0} decimal place{1}", precision, precision == 1 ? "" : "s") 377 string.Format(CultureInfo.CurrentCulture, "{0:G17} (rounded from {1:G17})", expectedRounded, expected), 378 string.Format(CultureInfo.CurrentCulture, "{0:G17} (rounded from {1:G17})", actualRounded, actual), 379 string.Format(CultureInfo.CurrentCulture, "Values are not within {0} decimal place{1}", precision, precision == 1 ? "" : "s") 423 string.Format(CultureInfo.CurrentCulture, "{0:G9} (rounded from {1:G9})", expectedRounded, expected), 424 string.Format(CultureInfo.CurrentCulture, "{0:G9} (rounded from {1:G9})", actualRounded, actual), 425 string.Format(CultureInfo.CurrentCulture, "Values are not within {0} decimal place{1}", precision, precision == 1 ? "" : "s") 449 string.Format(CultureInfo.CurrentCulture, "{0:G9} (rounded from {1:G9})", expectedRounded, expected), 450 string.Format(CultureInfo.CurrentCulture, "{0:G9} (rounded from {1:G9})", actualRounded, actual), 451 string.Format(CultureInfo.CurrentCulture, "Values are not within {0} decimal place{1}", precision, precision == 1 ? "" : "s") 495 string.Format(CultureInfo.CurrentCulture, "{0} (rounded from {1})", expectedRounded, expected), 496 string.Format(CultureInfo.CurrentCulture, "{0} (rounded from {1})", actualRounded, actual) 528 (precision == TimeSpan.Zero ? "" : string.Format(CultureInfo.CurrentCulture, " (difference {0} is larger than {1})", difference, precision)); 562 (precision == TimeSpan.Zero ? "" : string.Format(CultureInfo.CurrentCulture, " (difference {0} is larger than {1})", difference, precision)); 832 string.Format(CultureInfo.CurrentCulture, "{0:G17} (rounded from {1:G17})", expectedRounded, expected), 833 string.Format(CultureInfo.CurrentCulture, "{0:G17} (rounded from {1:G17})", actualRounded, actual), 858 string.Format(CultureInfo.CurrentCulture, "{0:G17} (rounded from {1:G17})", expectedRounded, expected), 859 string.Format(CultureInfo.CurrentCulture, "{0:G17} (rounded from {1:G17})", actualRounded, actual), 904 string.Format(CultureInfo.CurrentCulture, "{0:G9} (rounded from {1:G9})", expectedRounded, expected), 905 string.Format(CultureInfo.CurrentCulture, "{0:G9} (rounded from {1:G9})", actualRounded, actual), 930 string.Format(CultureInfo.CurrentCulture, "{0:G9} (rounded from {1:G9})", expectedRounded, expected), 931 string.Format(CultureInfo.CurrentCulture, "{0:G9} (rounded from {1:G9})", actualRounded, actual), 976 string.Format(CultureInfo.CurrentCulture, "{0} (rounded from {1})", expectedRounded, expected), 977 string.Format(CultureInfo.CurrentCulture, "{0} (rounded from {1})", actualRounded, actual)
Sdk\ArgumentFormatter.cs (9)
269 return string.Format(CultureInfo.CurrentCulture, "{0} {{ Status = {1} }}", typeName, task.Status); 293 return string.Format(CultureInfo.CurrentCulture, "{0} was thrown formatting an object of type \"{1}\"", ex.GetType().Name, value.GetType()); 331 return string.Format(CultureInfo.CurrentCulture, "{0}{{ {1} }}", typeName, Ellipsis); 355 var formattedParameters = string.Join(", ", parameters.Take(MAX_OBJECT_ITEM_COUNT).Select(p => string.Format(CultureInfo.CurrentCulture, "{0} = {1}", p.name, p.value))); 360 return string.Format(CultureInfo.CurrentCulture, "{0}{{ {1} }}", typeName, formattedParameters); 443 return string.Format(CultureInfo.CurrentCulture, "\"{0}\"{1}", displayed, Ellipsis); 526 result = string.Format(CultureInfo.CurrentCulture, "{0}<{1}>", result, new string(',', typeInfo.GenericTypeParameters.Length - 1)); 532 result = string.Format(CultureInfo.CurrentCulture, "{0}<{1}>", result, string.Join(", ", typeInfo.GenericTypeArguments.Select(t => FormatTypeName(t)))); 550 return string.Format(CultureInfo.CurrentCulture, "[{0}] = {1}", Format(k), Format(v));
Sdk\AssertHelper.cs (3)
444 return EquivalentException.ForCircularReference(string.Format(CultureInfo.CurrentCulture, "{0}.{1}", nameof(expected), prefix)); 447 return EquivalentException.ForCircularReference(string.Format(CultureInfo.CurrentCulture, "{0}.{1}", nameof(actual), prefix)); 538 string.Format(
Sdk\Exceptions\ContainsException.cs (1)
38 string.Format(
Sdk\Exceptions\DoesNotContainException.cs (1)
52 message += string.Format(CultureInfo.CurrentCulture, "{0}Collection: {1}", Environment.NewLine, collection);
Sdk\Exceptions\EmptyException.cs (2)
37 string.Format( 52 string.Format(
Sdk\Exceptions\EquivalentException.cs (2)
47 string.Join(", ", memberNames.Select(k => string.Format(CultureInfo.CurrentCulture, "\"{0}{1}\"", prefix, k))) 74 string.Format(
Sdk\Exceptions\SingleException.cs (2)
84 var message = string.Format( 92 message += string.Format(
Sdk\Exceptions\SkipException.cs (1)
35 string.Format(
Sdk\Exceptions\ThrowsAnyException.cs (1)
66 string.Format(
Sdk\Exceptions\ThrowsException.cs (1)
95 string.Format(
Sdk\Exceptions\XunitException.cs (1)
67 : string.Format(CultureInfo.CurrentCulture, "{0}: {1}", className, message);