299 references to Format
Aspire.Dashboard (1)
Model\Assistant\InvariantStringLocalizer.cs (1)
37return new LocalizedString(name, value != null ? string.Format(CultureInfo.InvariantCulture, value, arguments) : string.Empty, value != null);
Aspire.EndToEnd.Tests (2)
tests\Shared\TemplatesTesting\TestOutputWrapper.cs (2)
28messageSink?.OnMessage(new DiagnosticMessage(string.Format(CultureInfo.CurrentCulture, format, args))); 49messageSink?.OnMessage(new DiagnosticMessage(string.Format(CultureInfo.CurrentCulture, format, args)));
Aspire.Hosting (4)
ApplicationModel\ExpressionResolver.cs (1)
36var value = expr.Format.Length == 0 ? null : string.Format(CultureInfo.InvariantCulture, expr.Format, args);
ApplicationModel\ReferenceExpression.cs (2)
67string.Format(CultureInfo.InvariantCulture, Format, _manifestExpressions); 95return string.Format(CultureInfo.InvariantCulture, Format, args);
Publishing\ManifestPublishingContext.cs (1)
723return string.Format(CultureInfo.InvariantCulture, referenceExpression.Format, arguments);
Aspire.Hosting.Docker (1)
DockerComposeServiceResourceExtensions.cs (1)
75return string.Format(CultureInfo.InvariantCulture, expr.Format, args);
Aspire.Hosting.JavaScript.Tests (2)
NodeAppFixture.cs (2)
124messageSink.OnMessage(new DiagnosticMessage(string.Format(CultureInfo.CurrentCulture, format, args))); 134messageSink.OnMessage(new DiagnosticMessage(string.Format(CultureInfo.CurrentCulture, format, args)));
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
446return string.Format(CultureInfo.InvariantCulture, expr.Format, args);
Aspire.Templates.Tests (2)
tests\Shared\TemplatesTesting\TestOutputWrapper.cs (2)
28messageSink?.OnMessage(new DiagnosticMessage(string.Format(CultureInfo.CurrentCulture, format, args))); 49messageSink?.OnMessage(new DiagnosticMessage(string.Format(CultureInfo.CurrentCulture, format, args)));
dotnet-dev-certs (1)
ReporterEventListener.cs (1)
33var message = string.Format(CultureInfo.InvariantCulture, eventData.Message ?? "", eventData.Payload?.ToArray() ?? Array.Empty<object>());
dotnet-svcutil-lib (29)
CommandLineParser.cs (1)
71return string.Format(CultureInfo.InvariantCulture, "{0} {{{1}, {2}, Type={3}}}", this.GetType().Name, Name, Abbreviation, SwitchType);
CommandProcessorOptions.cs (1)
454string.Format(CultureInfo.CurrentCulture, SR.ErrOutputFileNotUnderOutputDirFormat, Switches.OutputFile.Name, outputFile, this.OutputDir, Switches.OutputDirectory.Name));
FrameworkFork\Microsoft.CodeDom\Compiler\CompilerError.cs (1)
169return string.Format(CultureInfo.InvariantCulture, "{0}({1},{2}) : {3} {4}: {5}",
FrameworkFork\Microsoft.Xml\Xml\Core\CharEntityEncoderFallback.cs (2)
108_charEntity = string.Format(CultureInfo.InvariantCulture, "&#x{0:X};", new object[] { (int)charUnknown }); 137_charEntity = string.Format(CultureInfo.InvariantCulture, "&#x{0:X};", new object[] { SurrogateCharToUtf32(charUnknownHigh, charUnknownLow) });
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (1)
3906_writer.Write(String.Format(CultureInfo.InvariantCulture, s_helperClassesForUseReflection,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (2)
760throw TraceUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.")), this); 767throw TraceUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.")), this);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageVersion.cs (1)
172throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "MessageVersion.Addressing cannot be null")));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (2)
1427sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OperationSupportingTokenParameters: none")); 1439sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OptionalOperationSupportingTokenParameters: none"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
153throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid proxy method type")));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (2)
177throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid client generation constructor table initialization"))); 185throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid client generation constructor table initialization")));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
265throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Each set must have at least one item in it")));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (2)
974throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "You must pass at least one namespaceScope"))); 1214endpointIdentifier = String.Format(CultureInfo.InvariantCulture,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (2)
1067string actionUri = string.Format(CultureInfo.InvariantCulture, "{0}{1}{2}{3}", baseActionUri, portTypeName, delimiter, operationMessageName.EncodedName); 2469return string.Format(CultureInfo.InvariantCulture, "{0}/{1}/[@{2}='{3}']", xPath, s_wspPolicy, idAttrib, key);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ChannelHandler.cs (1)
268throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "No DispatchOperationRuntime found to process message.")));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (4)
605sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerBinding: null")); 609sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerBinding:")); 620sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ClaimTypeRequirements: none")); 624sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ClaimTypeRequirements:"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SecureConversationSecurityTokenParameters.cs (2)
168sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "BootstrapSecurityBindingElement: null")); 172sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "BootstrapSecurityBindingElement:"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\ServiceModelSecurityTokenRequirement.cs (1)
235sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "---"));
Metadata\MetadataExchangeException.cs (1)
19public MetadataExchangeException(string format, params object[] args) : base(string.Format(CultureInfo.InvariantCulture, format, args)) { }
Shared\TargetFrameworkHelper.cs (1)
128throw new Exception(string.Format(CultureInfo.CurrentCulture, Shared.Resources.ErrorNotSupportedTargetFrameworkFormat,
http2cat (1)
src\Shared\runtime\SR.cs (1)
16return string.Format(CultureInfo.CurrentCulture, resourceFormat, args);
IIS.FunctionalTests (1)
src\Shared\runtime\SR.cs (1)
16return string.Format(CultureInfo.CurrentCulture, resourceFormat, args);
IIS.LongTests (1)
src\Shared\runtime\SR.cs (1)
16return string.Format(CultureInfo.CurrentCulture, resourceFormat, args);
IIS.NewHandler.FunctionalTests (1)
src\Shared\runtime\SR.cs (1)
16return string.Format(CultureInfo.CurrentCulture, resourceFormat, args);
IIS.ShadowCopy.Tests (1)
src\Shared\runtime\SR.cs (1)
16return string.Format(CultureInfo.CurrentCulture, resourceFormat, args);
IISExpress.FunctionalTests (1)
src\Shared\runtime\SR.cs (1)
16return string.Format(CultureInfo.CurrentCulture, resourceFormat, args);
Microsoft.AspNetCore.BrowserTesting (1)
BrowserTestOutputLogger.cs (1)
30_logger.LogInformation(string.Format(CultureInfo.InvariantCulture, format, args));
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\JsonTranscodingRouteAdapter.cs (1)
151var finalValue = string.Format(CultureInfo.InvariantCulture, routeValueFormatTemplate, values);
Microsoft.AspNetCore.Html.Abstractions (1)
HtmlFormattableString.cs (1)
61writer.Write(string.Format(formatProvider, _format, _args));
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
2812var message = string.Format(CultureInfo.InvariantCulture, exception.Error.Message.Format, exception.Error.Message.GetArguments());
Microsoft.AspNetCore.InternalTesting.Tests (1)
TestTestOutputHelper.cs (1)
34_output.AppendLine(string.Format(CultureInfo.InvariantCulture, format, args));
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\runtime\SR.cs (1)
16return string.Format(CultureInfo.CurrentCulture, resourceFormat, args);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\runtime\SR.cs (1)
16return string.Format(CultureInfo.CurrentCulture, resourceFormat, args);
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\runtime\SR.cs (1)
16return string.Format(CultureInfo.CurrentCulture, resourceFormat, args);
Microsoft.Build.Framework (1)
Traits.cs (1)
632formatted = String.Format(CultureInfo.CurrentCulture, unformatted, args);
Microsoft.Build.Tasks.CodeAnalysis (2)
src\Compilers\Core\MSBuildTask\Utilities.cs (2)
157return new ArgumentException(string.Format(CultureInfo.CurrentCulture, errorString, args), e); 163return new ArgumentException(string.Format(CultureInfo.CurrentCulture, errorString, args));
Microsoft.Build.Tasks.CodeAnalysis.Sdk (2)
src\Compilers\Core\MSBuildTask\Utilities.cs (2)
157return new ArgumentException(string.Format(CultureInfo.CurrentCulture, errorString, args), e); 163return new ArgumentException(string.Format(CultureInfo.CurrentCulture, errorString, args));
Microsoft.CodeAnalysis (2)
Diagnostic\Diagnostic_SimpleDiagnostic.cs (1)
102return string.Format(formatProvider, localizedMessageFormat, _messageArgs);
Diagnostic\DiagnosticInfo.cs (1)
328return String.Format(formatProvider, message, GetArgumentsToUse(formatProvider));
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
368? (_formatArguments.Length > 0 ? string.Format(formatProvider, messageFormat, _formatArguments) : messageFormat)
Microsoft.CodeAnalysis.CSharp (1)
Errors\XmlSyntaxDiagnosticInfo.cs (1)
50return String.Format(formatProvider, String.Format(formatProvider, messagePrefix, message), GetArgumentsToUse(formatProvider));
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
SarifV2ErrorLoggerTests.cs (1)
435return string.Format(CultureInfo.InvariantCulture, s, arguments);
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (1)
108ErrAppendString(string.Format(CultureInfo.InvariantCulture, format, args));
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Caching.Memory (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Configuration (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Configuration.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Configuration.Binder (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Configuration.CommandLine (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Configuration.FileExtensions (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Configuration.Ini (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Configuration.Json (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Configuration.UserSecrets (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Configuration.Xml (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.DependencyInjection (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.DependencyInjection.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.DependencyModel (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Diagnostics (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Diagnostics.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Diagnostics.Testing.Tests (1)
Logging\FakeLogCollectorTests.cs (1)
23public void WriteLine(string format, params object[] args) => WriteLine(string.Format(CultureInfo.InvariantCulture, format, args));
Microsoft.Extensions.FileProviders.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.FileProviders.Physical (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.FileSystemGlobbing (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Hosting (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Hosting.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Http (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Localization (1)
ResourceManagerStringLocalizer.cs (1)
119var value = string.Format(CultureInfo.CurrentCulture, format ?? name, arguments);
Microsoft.Extensions.Logging (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Logging.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Logging.Configuration (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Logging.Console (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Logging.Generators (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Options (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Options.SourceGeneration (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Extensions.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Interop.ComInterfaceGenerator (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Interop.JavaScript.JSImportGenerator (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Interop.LibraryImportGenerator (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Interop.SourceGeneration (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.ML.AutoML.SourceGenerator (10)
Template\EstimatorType.cs (2)
206this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args)); 213this.WriteLine(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));
Template\SearchSpace.cs (2)
223this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args)); 230this.WriteLine(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));
Template\SweepableEstimator.cs (2)
225this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args)); 232this.WriteLine(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));
Template\SweepableEstimator_T_.cs (2)
230this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args)); 237this.WriteLine(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));
Template\SweepableEstimatorFactory.cs (2)
201this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args)); 208this.WriteLine(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));
Microsoft.ML.CodeGenerator (20)
Templates\Azure\Console\AzureModelBuilder.cs (2)
300this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args)); 307this.WriteLine(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));
Templates\Azure\Model\AzureImageModelOutputClass.cs (2)
241this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args)); 248this.WriteLine(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));
Templates\Azure\Model\AzureObjectDetectionModelOutputClass.cs (2)
241this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args)); 248this.WriteLine(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));
Templates\Console\ConsumeModel.cs (2)
252this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args)); 259this.WriteLine(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));
Templates\Console\ModelBuilder.cs (2)
617this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args)); 624this.WriteLine(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));
Templates\Console\ModelInputClass.cs (2)
215this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args)); 222this.WriteLine(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));
Templates\Console\ModelOutputClass.cs (2)
258this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args)); 265this.WriteLine(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));
Templates\Console\ModelProject.cs (2)
247this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args)); 254this.WriteLine(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));
Templates\Console\PredictProgram.cs (2)
274this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args)); 281this.WriteLine(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));
Templates\Console\PredictProject.cs (2)
252this.Write(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args)); 259this.WriteLine(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));
Microsoft.ML.Core (1)
Utilities\Contracts.cs (1)
70msg = string.Format(CultureInfo.InvariantCulture, msg, args);
Microsoft.ML.CpuMath (1)
src\Microsoft.ML.Core\Utilities\Contracts.cs (1)
70msg = string.Format(CultureInfo.InvariantCulture, msg, args);
Microsoft.ML.DataView (1)
Contracts.cs (1)
22msg = string.Format(CultureInfo.InvariantCulture, msg, args);
Microsoft.NET.StringTools.net35 (1)
WeakStringCacheInterner.cs (1)
154.Select(kv => string.Format(CultureInfo.InvariantCulture, "({1} instances x each {2} chars)\n{0}", kv.Key, kv.Value, kv.Key.Length));
Microsoft.Win32.Registry (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Win32.Registry.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Microsoft.Win32.SystemEvents (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
Mvc.Api.Analyzers.Test (1)
ApiConventionAnalyzerIntegrationTest.cs (1)
296Assert.Equal(string.Format(CultureInfo.InvariantCulture, descriptor.MessageFormat.ToString(CultureInfo.InvariantCulture), args), diagnostic.GetMessage(CultureInfo.InvariantCulture));
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (1)
1481throw new XmlException(string.Format(CultureInfo.InvariantCulture, message, args), null, info is null ? 1 : info.LineNumber,
PresentationFramework (3)
MS\Internal\PtsHost\ErrorHandler.cs (1)
39string message = String.Format(CultureInfo.InvariantCulture, format, args);
MS\Internal\Utility\TraceLog.cs (1)
37string s = $"{DateTime.Now.Ticks.ToString(CultureInfo.InvariantCulture)} {String.Format(CultureInfo.InvariantCulture, message, args)}";
System\Windows\Data\MultiBindingExpression.cs (1)
1227value = String.Format(culture, EffectiveStringFormat, _tempValues);
ReachFramework (9)
Packaging\XpsManager.cs (9)
1095uniqueUri = String.Format(System.Globalization.CultureInfo.InvariantCulture, 1101uniqueUri = String.Format(System.Globalization.CultureInfo.InvariantCulture, 1109uniqueUri = String.Format(System.Globalization.CultureInfo.InvariantCulture, 1115uniqueUri = String.Format(System.Globalization.CultureInfo.InvariantCulture, 1121uniqueUri = String.Format(System.Globalization.CultureInfo.InvariantCulture, 1127uniqueUri = String.Format(System.Globalization.CultureInfo.InvariantCulture, 1133uniqueUri = String.Format(System.Globalization.CultureInfo.InvariantCulture, 1139uniqueUri = String.Format(System.Globalization.CultureInfo.InvariantCulture, 1145uniqueUri = String.Format(System.Globalization.CultureInfo.InvariantCulture,
System.CodeDom (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Collections (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Collections.Concurrent (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Collections.Immutable (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Collections.NonGeneric (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Collections.Specialized (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.ComponentModel.Annotations (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.ComponentModel.Composition (2)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System\ComponentModel\Composition\CompositionError.cs (1)
180return new CompositionError(id, string.Format(CultureInfo.CurrentCulture, format, parameters), element, exception);
System.ComponentModel.Composition.Registration (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.ComponentModel.EventBasedAsync (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.ComponentModel.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.ComponentModel.TypeConverter (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Composition.Convention (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Composition.Hosting (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Composition.Runtime (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Composition.TypedParts (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Configuration.ConfigurationManager (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Console (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Data.Common (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Data.Odbc (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Data.OleDb (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Diagnostics.DiagnosticSource (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Diagnostics.EventLog (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Diagnostics.FileVersionInfo (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Diagnostics.PerformanceCounter (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Diagnostics.Process (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Diagnostics.TextWriterTraceListener (3)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System\Diagnostics\DelimitedListTraceListener.cs (1)
94WriteEscaped(string.Format(CultureInfo.InvariantCulture, format!, args));
System\Diagnostics\XmlWriterTraceListener.cs (1)
94WriteEscaped(args != null && args.Length != 0 ? string.Format(CultureInfo.InvariantCulture, format!, args) : format);
System.Diagnostics.TraceSource (2)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System\Diagnostics\TraceListener.cs (1)
374WriteLine(string.Format(CultureInfo.InvariantCulture, format!, args));
System.DirectoryServices (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.DirectoryServices.AccountManagement (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.DirectoryServices.Protocols (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Drawing.Common (1)
Special\SR.cs (1)
87: string.Format(provider, resourceFormat, args)
System.Drawing.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Formats.Asn1 (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Formats.Cbor (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Formats.Nrbf (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Formats.Tar (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.IO.Compression (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.IO.Compression.Brotli (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.IO.Compression.ZipFile (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.IO.FileSystem.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.IO.FileSystem.DriveInfo (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.IO.FileSystem.Watcher (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.IO.Hashing (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.IO.IsolatedStorage (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.IO.MemoryMappedFiles (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.IO.Packaging (2)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System\IO\Packaging\XmlCompatibilityReader.cs (1)
1409throw new XmlException(string.Format(CultureInfo.InvariantCulture, message, args), null, info == null ? 1 : info.LineNumber,
System.IO.Pipelines (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.IO.Pipes (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.IO.Pipes.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.IO.Ports (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Linq (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Linq.AsyncEnumerable (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Linq.Expressions (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Linq.Parallel (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Linq.Queryable (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Management (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Memory (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Memory.Data (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.Http (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.Http.Json (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.Http.WinHttpHandler (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.HttpListener (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.Mail (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.NameResolution (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.NetworkInformation (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.Ping (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.Quic (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.Requests (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.Security (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.ServerSentEvents (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.Sockets (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.WebClient (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.WebHeaderCollection (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.WebSockets (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Net.WebSockets.Client (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Numerics.Tensors (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.ObjectModel (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Private.CoreLib (6)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Debug.cs (2)
79WriteLine(string.Format(null, format, args)); 155WriteLine(string.Format(null, format, args));
src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.cs (2)
347Write(string.Format(FormatProvider, format, arg)); 574WriteLine(string.Format(FormatProvider, format, arg));
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\FormattableStringFactory.cs (1)
40public override string ToString(IFormatProvider? formatProvider) { return string.Format(formatProvider, _format, _arguments); }
System.Private.DataContractSerialization (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Private.Uri (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Private.Xml (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Private.Xml.Linq (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Reflection.Context (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Reflection.DispatchProxy (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Reflection.Emit (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Reflection.Metadata (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Reflection.MetadataLoadContext (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Reflection.TypeExtensions (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Resources.Extensions (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Resources.Writer (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Runtime.Caching (2)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System\Runtime\Caching\Resources\RH.cs (1)
13return string.Format(CultureInfo.CurrentCulture, resource, args);
System.Runtime.InteropServices (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Runtime.InteropServices.JavaScript (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Runtime.Numerics (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Runtime.Serialization.Formatters (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Runtime.Serialization.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Runtime.Serialization.Schema (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Security.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Security.Claims (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Security.Cryptography (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Security.Cryptography.Cose (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Security.Cryptography.Pkcs (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Security.Cryptography.ProtectedData (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Security.Cryptography.Xml (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Security.Permissions (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Security.Principal.Windows (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.ServiceModel.Syndication (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.ServiceProcess.ServiceController (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Speech (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Text.Encoding.CodePages (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Text.Encodings.Web (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Text.Json (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Text.Json.SourceGeneration (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Text.RegularExpressions (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Text.RegularExpressions.Generator (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Threading (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Threading.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Threading.Channels (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Threading.RateLimiting (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Threading.Tasks.Dataflow (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Threading.Tasks.Parallel (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Transactions.Local (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Windows.Extensions (1)
src\libraries\Common\src\System\SR.cs (1)
149return string.Format(provider, resourceFormat, args);
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (1)
1481throw new XmlException(string.Format(CultureInfo.InvariantCulture, message, args), null, info is null ? 1 : info.LineNumber,
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
437return String.Format(CultureInfo.CurrentCulture, "{0}, {1}, {2}, {3}, {4}, {5}", this.TaskName, this.TargetName, this.FilePath, this.ProjectPath, this.TaskAssembly, this.TaskId);
Templates.Blazor.Tests (1)
src\ProjectTemplates\Shared\TestOutputLogger.cs (1)
28_logger.LogInformation(string.Format(CultureInfo.InvariantCulture, format, args));
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\ProjectTemplates\Shared\TestOutputLogger.cs (1)
28_logger.LogInformation(string.Format(CultureInfo.InvariantCulture, format, args));
Templates.Blazor.WebAssembly.Tests (1)
src\ProjectTemplates\Shared\TestOutputLogger.cs (1)
28_logger.LogInformation(string.Format(CultureInfo.InvariantCulture, format, args));
Templates.Mvc.Tests (1)
src\ProjectTemplates\Shared\TestOutputLogger.cs (1)
28_logger.LogInformation(string.Format(CultureInfo.InvariantCulture, format, args));
Templates.Tests (1)
src\ProjectTemplates\Shared\TestOutputLogger.cs (1)
28_logger.LogInformation(string.Format(CultureInfo.InvariantCulture, format, args));