193 references to Format
Client.TypedClient.IntegrationTests (1)
TypedProxyTests.4.0.0.cs (1)
201Assert.True(success, String.Format("Test didn't complete within the expected time"));
Contract.Message.IntegrationTests (1)
MessageContractTests.4.4.0.cs (1)
81String.Format("Array item {0} of element {1} was expected to be {2}, actual was {3}",
Crossgen2Tasks (1)
CommonFilePulledFromSdkRepo\Logger.cs (1)
105text: string.Format(format, args),
dotnet (7)
Commands\Help\HelpCommand.cs (1)
98string.Format(
Commands\New\PostActions\DotnetRestorePostActionProcessor.cs (1)
36Reporter.Error.WriteLine(string.Format(CliCommandStrings.PostAction_Restore_Error_FailedToDetermineProjectToRestore));
Commands\Tool\Common\ToolAppliedOption.cs (1)
114string.Format(
Commands\Tool\Install\ToolInstallCommand.cs (1)
42string.Format(
Commands\Tool\Install\ToolInstallLocalCommand.cs (2)
153string.Format( 185string.Format(
ToolManifest\ToolManifestEditor.cs (1)
57throw new ToolManifestException(string.Format(
dotnet.Tests (9)
CommandTests\Package\Remove\GivenDotnetRemovePackage.cs (3)
104.And.HaveStdOut(string.Format(CliCommandStrings.DirectivesRemoved, "#:package", 1, "Humanizer", file)); 129.And.HaveStdOut(string.Format(CliCommandStrings.DirectivesRemoved, "#:package", 2, "Humanizer", file)); 152.And.HaveStdOut(string.Format(CliCommandStrings.DirectivesRemoved, "#:package", 0, "Humanizer", file));
CommandTests\Run\RunFileTests.cs (1)
138return $"{path}({line}): {CliCommandStrings.DirectiveError}: {string.Format(messageFormat, args)}";
CommandTests\Tool\Install\ToolInstallLocalCommandTests.cs (1)
263string.Format(CliCommandStrings.LocalToolInstallationSucceeded,
CommandTests\Tool\List\ToolListGlobalOrToolPathCommandTests.cs (2)
365yield return string.Format( 379yield return string.Format(
CommandTests\Tool\Update\ToolUpdateLocalCommandTests.cs (1)
304string.Format(
ToolManifestTests\ToolManifestEditorTests.cs (1)
112var expectedString = string.Format(
illink (2)
Infrastructure.Common (1)
xunit\WcfTestCase.cs (1)
85etwOutput.AppendLine(String.Format("ETW message encountered FormatException '{0}' using DisplayName '{1}', format '{2}', and '{3}' payload items",
Infrastructure.IntegrationTests (1)
OSAndFrameworkTests.4.1.1.cs (1)
26String.Format("OSID was not properly detected:{0} The RuntimeInformation.OSDescription is = \'{1}\" {2} The RuntimeIdentifier is = {3}",
Microsoft.Build.Engine.UnitTests (4)
Evaluation\ProjectSdkImplicitImport_Tests.cs (3)
441string content = string.Format(projectFormatString, SdkName, projectInnerContents, sdkVersion, minimumSdkVersion); 517string projectContents = string.Format(projectTemplate, SdkName, _projectInnerContents, version, minimumVersion); 642var projectContents = string.Format(
Graph\IsolateProjects_Tests.cs (1)
519var projectContents = string.Format(
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (13)
IntegrationTests.cs (2)
316string arguments = string.Format(@"/m /nr:false /t:Rebuild /p:UseSharedCompilation=false /p:UseRoslyn=1 HelloSolution.sln"); 517string arguments = string.Format(@"/m /nr:false /t:Rebuild /p:UseSharedCompilation=false /p:UseRoslyn=1 HelloSolution.sln");
MapSourceRootTests.cs (11)
268"ERROR : " + string.Format(task.Log.FormatResourceString( 270"ERROR : " + string.Format(task.Log.FormatResourceString( 329"WARNING : " + string.Format(task.Log.FormatResourceString( 331"WARNING : " + string.Format(task.Log.FormatResourceString( 333"WARNING : " + string.Format(task.Log.FormatResourceString( 335"WARNING : " + string.Format(task.Log.FormatResourceString( 337"WARNING : " + string.Format(task.Log.FormatResourceString( 339"WARNING : " + string.Format(task.Log.FormatResourceString( 377AssertEx.AssertEqualToleratingWhitespaceDifferences("ERROR : " + string.Format(task.Log.FormatResourceString( 406AssertEx.AssertEqualToleratingWhitespaceDifferences("ERROR : " + string.Format(task.Log.FormatResourceString( 440AssertEx.AssertEqualToleratingWhitespaceDifferences("ERROR : " + string.Format(task.Log.FormatResourceString(
Microsoft.Build.Tasks.UnitTests (3)
AssemblyDependency\SuggestedRedirects.cs (1)
112String.Format(
ResolveNonMSBuildProjectOutput_Tests.cs (2)
59string message = string.Format("Reference \"{0}\" [project \"{1}\", package \"{2}\", name \"{3}\"], " + 112string message = string.Format("Reference \"{0}\" [project \"{1}\", package \"{2}\", name \"{3}\"] Pregen Xml string : \"{4}\"" +
Microsoft.CodeAnalysis (6)
Compilation\Compilation.cs (1)
3762return string.Format("{0}: {1} {2} -> {3} {4}", this.AssemblyName, source.TypeKind.ToString(), source.Name, destination.TypeKind.ToString(), destination.Name);
Diagnostic\LocalizableResourceString.cs (1)
75(_formatArguments.Length > 0 ? string.Format(resourceString, _formatArguments) : resourceString) :
DiagnosticAnalyzer\AnalyzerExecutor.cs (1)
1438return string.Format(CodeAnalysisResources.CompilerAnalyzerThrows, analyzerName, ex.GetType().ToString(), ex.Message, ex.CreateDiagnosticDescription());
Emit\EditAndContinue\EncLocalInfo.cs (1)
77return string.Format("[Id={0}, SynthesizedKind={1}, Type={2}, Constraints={3}, Sig={4}]",
Emit\EditAndContinueMethodDebugInformation.cs (1)
83throw new InvalidDataException(string.Format(CodeAnalysisResources.InvalidDataAtOffset,
MetadataReader\MetadataTypeName.cs (1)
373return String.Format("{{{0},{1},{2},{3}}}", NamespaceName, TypeName, UseCLSCompliantNameArityEncoding.ToString(), _forcedArity.ToString(System.Globalization.CultureInfo.InvariantCulture));
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (8)
CommandLineTests.cs (8)
10581string.Format("Expected exit code to be '{0}' was '{1}'.{2} Output:{3}{4}", 12561var suppressionMessage = string.Format(CodeAnalysisResources.SuppressionDiagnosticDescriptorMessage, 12601var suppressionMessage = string.Format(CodeAnalysisResources.SuppressionDiagnosticDescriptorMessage, 12657var suppressionMessage = string.Format(CodeAnalysisResources.SuppressionDiagnosticDescriptorMessage, 12724string.Format( 12824string.Format( 12934string.Format( 13059var suppressionMessage = string.Format(CodeAnalysisResources.SuppressionDiagnosticDescriptorMessage,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\UnsafeTests.cs (2)
8946return string.Format(mainClassTemplate, 8949string.Format(CheckedNumericHelperTemplate, operationName, pointedAtType, @operator, checkedness),
Emit\DynamicAnalysis\DynamicAnalysisResourceTests.cs (1)
1058expectedSpanSpellings.Add(string.Format("({0},{1})-({2},{3})", expectedSpanResult.StartLine, expectedSpanResult.StartColumn, expectedSpanResult.EndLine, expectedSpanResult.EndColumn));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\PDBTupleTests.cs (1)
246string.Format(@"<symbols>
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
Semantics\ParamsCollectionTests.cs (14)
8651string.Format( 8673string.Format( 8697string.Format( 8722string.Format( 8752string.Format( 8772string.Format( 8796string.Format( 8821string.Format( 8851string.Format( 8874string.Format( 8894string.Format( 8915string.Format( 8935string.Format( 8957string.Format(
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
CommandLineRunnerTests.cs (1)
843{string.Format(ScriptingResources.AssemblyAlreadyLoaded, libBaseName, "0.0.0.0", fileBase1.Path, fileBase2.Path)}
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\LookupPositionTests.cs (1)
3131message: string.Format("Lookup({0}) - '{1}' in '{2}' after {3}th '{4}' - \"-->\" found but not expected, \"++>\" expected but not found",
Semantics\OperatorTests.cs (1)
8413string expectedSymbol = String.Format("{4} {0}.{2}({1} left, {3} right)",
Semantics\SemanticErrorTests.cs (1)
11304string source = string.Format(
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (16)
DocumentationComments\DocumentationCommentCompilerTests.cs (1)
5727var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElements));
Symbols\ConversionTests.cs (1)
188Assert.True(false, string.Format("Expected {0} but got {1} when converting {2} -> {3}", kind, result, types[j], types[i]));
Symbols\DefaultInterfaceImplementationTests.cs (13)
68381static abstract " + string.Format(signatureTemplate, "T2", "", checkedKeyword, op) + @"; 68386static abstract " + string.Format(signatureTemplate, "T4", "", checkedKeyword, op) + @"; 68395static " + string.Format(signatureTemplate, "T1", "I2<T1>.", checkedKeyword, op) + @" 68400static " + string.Format(signatureTemplate, "T1", "I4<T1>.", checkedKeyword, op) + @" 68417static virtual " + string.Format(signatureTemplate, "T2", "", "", matchingOp) + @" => throw null; 68422static virtual " + string.Format(signatureTemplate, "T4", "", "", matchingOp) + @" => throw null; 68647static abstract " + string.Format(signatureTemplate, "T1", "", checkedKeyword, op) + @"; 68652static " + string.Format(signatureTemplate, "T2", "I1<T2>.", checkedKeyword, op) + @" 68660static " + string.Format(signatureTemplate, "T3", "I1<T3>.", checkedKeyword, op) + @" 68672static virtual " + string.Format(signatureTemplate, "T1", "", "", matchingOp) + @" => throw null; 68737static virtual " + string.Format(signatureTemplate, "T1", "", checkedKeyword, op) + @" => throw null; 68742static abstract " + string.Format(signatureTemplate, "T2", "I1<T2>.", checkedKeyword, op) + @"; 68751static virtual " + string.Format(signatureTemplate, "T1", "", "", matchingOp) + @" => throw null;
Symbols\SymbolDistinguisherTests.cs (1)
108Assert.Equal(string.Format("C [Metadata.dll]"), distinguisher.Second.ToString());
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
DiagnosticTestUtilities.cs (2)
28return string.Format("Line={0}, Column={1}, Code={2}, IsWarning={3}", this.Line, this.Column, this.Code, this.IsWarning); 106String.Format(
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
293? string.Format(
SymbolSearch\Windows\SymbolSearchUpdateEngine.Update.cs (1)
102localSettingsDirectory, "PackageCache", string.Format(Invariant($"Format{AddReferenceDatabaseTextFileFormatVersion}"))));
Microsoft.CodeAnalysis.LanguageServer (1)
Testing\TestRunner.TestRunHandler.cs (1)
75message = @$"==== {LanguageServerResources.Summary} ===={Environment.NewLine}{state} - {string.Format(LanguageServerResources.Failed_0_Passed_1_Skipped_2_Total_3_Duration_4, stats?.TestsFailed, stats?.TestsPassed, stats?.TestsSkipped, stats?.TotalTests, RunTestsHandler.GetShortTimespan(testRunCompleteArgs.ElapsedTimeInRunningTests))}{Environment.NewLine}";
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (4)
Microsoft.NetCore.Analyzers\Runtime\PreferStreamWriteAsyncMemoryOverloadsTests.cs (4)
1117string.Format(_sourceCSharp, streamTypeName, GetByteArrayWithDataCSharp(isEmptyByteDeclaration), originalArgs, GetConfigureAwaitCSharp(isEmptyConfigureAwait)), 1118string.Format(_sourceCSharp, streamTypeName, GetByteArrayWithDataCSharp(isEmptyByteDeclaration), fixedArgs, GetConfigureAwaitCSharp(isEmptyConfigureAwait)), 1123string.Format(_sourceVisualBasic, streamTypeName, GetByteArrayWithDataVisualBasic(isEmptyByteDeclaration), originalArgs, GetConfigureAwaitVisualBasic(isEmptyConfigureAwait)), 1124string.Format(_sourceVisualBasic, streamTypeName, GetByteArrayWithDataVisualBasic(isEmptyByteDeclaration), fixedArgs, GetConfigureAwaitVisualBasic(isEmptyConfigureAwait)),
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\DiagnosticExtensions.cs (1)
431return string.Format(@"{{
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\SuppressMessageAttributeCompilerTests.cs (1)
168string.Format(CodeAnalysisResources.CompilerAnalyzerThrows, AnalyzerName, exception.GetType().ToString(), exception.Message, exception.ToString() + Environment.NewLine + "-----"))}")
Microsoft.CodeAnalysis.Workspaces (4)
Log\TraceLogger.cs (2)
25=> Trace.WriteLine(string.Format("[{0}] Start({1}) : {2} - {3}", Environment.CurrentManagedThreadId, uniquePairId, functionId.ToString(), logMessage.GetMessage())); 30Trace.WriteLine(string.Format("[{0}] End({1}) : [{2}ms] {3}", Environment.CurrentManagedThreadId, uniquePairId, delta, functionString));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (2)
205string.Format(WorkspaceExtensionsResources.Destination_type_must_be_a_0_1_or_2_but_given_one_is_3, 223string.Format(WorkspaceExtensionsResources.Destination_type_must_be_a_0_1_2_or_3_but_given_one_is_4,
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
SolutionGeneration.cs (1)
196string.Format(
Microsoft.DotNet.Build.Tasks.Workloads (1)
WorkloadPackageBase.cs (1)
337throw new Exception(string.Format(Strings.NoInstallerVersion, taskName,
Microsoft.DotNet.Cli.Utils (1)
GracefulException.cs (1)
33public GracefulException(string format, params string[] args) : this(string.Format(format, args))
Microsoft.DotNet.GenFacades (1)
SourceGenerator.cs (1)
112return string.Format($"[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof({alias}{TransformGenericTypes(typeName)}))]");
Microsoft.DotNet.SignCheckTask (1)
src\SignCheck.cs (1)
445Log.WriteMessage(LogVerbosity.Minimum, String.Format(SignCheckResources.scStats,
Microsoft.Maui.Graphics (2)
Rect.cs (1)
24 return string.Format("{{X={0} Y={1} Width={2} Height={3}}}", X.ToString(CultureInfo.InvariantCulture), Y.ToString(CultureInfo.InvariantCulture), Width.ToString(CultureInfo.InvariantCulture), Height.ToString(CultureInfo.InvariantCulture));
RectF.cs (1)
24 return string.Format("{{X={0} Y={1} Width={2} Height={3}}}", X.ToString(CultureInfo.InvariantCulture), Y.ToString(CultureInfo.InvariantCulture), Width.ToString(CultureInfo.InvariantCulture),
Microsoft.ML.Core.Tests (4)
UnitTests\ScoreSchemaTest.cs (1)
27bufferEditor.Values[i] = string.Format($"Key-{i}").AsMemory();
UnitTests\TestEntryPoints.cs (3)
3214{string.Format(xfTemplate, xfNames[i], i + 1, xfArgs[i], i + 2)} 3282{string.Format(xfTemplate, xfNames[i], i + 1, xfArgs[i], i + 2)} 3285string inputGraph = string.Format(@"
Microsoft.ML.TestFramework (2)
Learners.cs (1)
640string settings = string.Format("qfeats={0} dfeats={1} negdocs={2} iter={3} gamma={4} accel=sse",
TestCommandBase.cs (1)
969string extraArgs = string.Format("{0} {1} {2} {3} k={4}", "prexf=Term{col=Label:Cat} prexf=CategoricalTransform{col=Cat01}",
Microsoft.ML.Tests (2)
TextLoaderTests.cs (2)
35string.Format("{0},{1},{2},{3}", sbyte.MinValue, short.MinValue, int.MinValue, long.MinValue), 36string.Format("{0},{1},{2},{3}", sbyte.MaxValue, short.MaxValue, int.MaxValue, long.MaxValue),
Microsoft.NET.Build.Extensions.Tasks (1)
Logger.cs (1)
105text: string.Format(format, args),
Microsoft.NET.Sdk.Publish.Tasks (1)
Tasks\OneDeploy\OneDeploy.cs (1)
147_taskLogger.LogError(string.Format(Resources.ONEDEPLOY_FailedWithLogs,
Microsoft.NET.Sdk.Publish.Tasks.Tests (1)
Tasks\OneDeploy\OneDeployTests.cs (1)
83var failedDeployMsg = string.Format(Resources.ONEDEPLOY_FailedWithLogs, FileToPublish, OneDeployUri.AbsoluteUri, deployStatus, DeploymentLogUrl);
Microsoft.TemplateEngine.Cli (4)
ChoiceTemplateParameter.cs (3)
114argumentResult.AddError(string.Format( 133argumentResult.AddError(string.Format( 156argumentResult.AddError(string.Format(
TemplatePackageDisplay.cs (1)
121_reporterOutput.WriteLine(string.Format(LocalizableStrings.TemplatePackageCoordinator_Download_VulnerablePackage));
Roslyn.Test.PdbUtilities (1)
EditAndContinue\EditAndContinueTestUtilities.cs (1)
67return string.Format(
Security.TransportSecurity.IntegrationTests (1)
Https\ClientCredentialTypeTests.4.1.0.cs (1)
79String.Format("Basic echo test.\nTest variation:...\n{0}\nUsing address: '{1}'\nError: expected response from service: '{2}' Actual was: '{3}'",
System.ComponentModel.TypeConverter (1)
System\Timers\TimersDescriptionAttribute.cs (1)
54DescriptionValue = string.Format(base.Description);
System.Data.Common (4)
System\Data\Common\DataCommonEventSource.cs (4)
52Trace(string.Format(format, arg0, arg1, arg2, arg3)); 59Trace(string.Format(format, arg0, arg1, arg2, arg3, arg4)); 66Trace(string.Format(format, arg0, arg1, arg2, arg3, arg4, arg5, arg6)); 94internal long EnterScope<T1, T2, T3, T4>(string format, T1 arg1, T2 arg2, T3 arg3, T4 arg4) => Log.IsEnabled() ? EnterScope(string.Format(format, arg1, arg2, arg3, arg4)) : 0;
System.Net.Http (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
System.Net.HttpListener (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
System.Net.Mail (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
System.Net.NameResolution (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
System.Net.Primitives (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
System.Net.Quic (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
System.Net.Requests (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
System.Net.Security (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
System.Net.Sockets (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
System.Net.WebSockets (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (2)
573/// Writes a formatted string to the stream, using the same semantics as <see cref="string.Format(string, ReadOnlySpan{object?})"/>. 641/// Writes out a formatted string and a new line to the stream, using the same semantics as <see cref="string.Format(string, ReadOnlySpan{object?})"/>.
src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.cs (2)
338/// Writes a formatted string to the text stream, using the same semantics as <see cref="string.Format(string, ReadOnlySpan{object?})"/>. 565/// Writes out a formatted string and a new line to the text stream, using the same semantics as <see cref="string.Format(string, ReadOnlySpan{object?})"/>.
System.Private.Xml (6)
System\Xml\Core\XmlCharCheckingWriter.cs (1)
360throw new ArgumentException(string.Format(res, XmlException.BuildCharExceptionArgs(name, len)));
System\Xml\Schema\XmlSchemaException.cs (1)
149return string.Format(res ?? string.Empty, args);
System\Xml\XmlConvert.cs (1)
1568return new ArgumentException(string.Format(res, args));
System\Xml\XmlException.cs (1)
202string message = (args == null) ? res : string.Format(res, args);
System\Xml\XPath\XPathException.cs (1)
111string message = args == null ? res : string.Format(res, args);
System\Xml\Xsl\XslException.cs (1)
47message = string.Format(res, args);
System.ServiceModel.NetTcp (1)
System\ServiceModel\NetTcpSecurity.cs (1)
21string.Format("Invalid SecurityMode value: {0} = {1} (default is {2} = {3}).",
System.ServiceModel.Primitives (1)
System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
446throw new FormatException(string.Format(
System.ServiceModel.Primitives.Tests (3)
ServiceModel\DuplexChannelFactoryTest.cs (1)
110string.Format("InvalidOperationException exception string should contain 'BasicHttpBinding'. Actual message:\r\n" + exception.ToString()));
ServiceModel\MessageContractTest.4.4.0.cs (2)
320String.Format("Expected header '{0}' to contain value:{1}{2}{1} but it contained these:{1}{3}", 337String.Format("Array item {0} of element {1} was expected to be {2}, actual was {3}",
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\UnixDomainSocketSecurity.cs (1)
29string.Format("Invalid SecurityMode value: {0} = {1} (default is {2} = {3}).",
System.Windows.Forms (15)
System\Resources\ResXDataNode.cs (1)
375string newMessage = string.Format(SR.NotSupported, typeName, dataNodeInfo.ReaderPosition.Y, dataNodeInfo.ReaderPosition.X, nse.Message);
System\Resources\ResXResourceReader.cs (2)
376string newMessage = string.Format(SR.SerializationException, reader[ResXResourceWriter.TypeStr], pt.Y, pt.X, se.Message); 383string newMessage = string.Format(SR.InvocationException, reader[ResXResourceWriter.TypeStr], pt.Y, pt.X, tie.InnerException?.Message);
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
495throw new COMException(string.Format(SR.TYPEINFOPROCESSORGetDocumentationFailed, dispid, hr, "ITypeInfo", (int)hr));
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
877string.Format(
System\Windows\Forms\Controls\ImageList\ImageList.cs (2)
159throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, "ImageSize.Width", value.Width, 1, s_maxImageWidth)); 164throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, "ImageSize.Height", value.Height, 1, s_maxImageHeight));
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
475throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, nameof(Minimum), nameof(Maximum)));
System\Windows\Forms\Controls\ToolStrips\OpacityConverter.cs (2)
68string.Format(SR.InvalidBoundArgument, 79string.Format(SR.InvalidBoundArgument,
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
619throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'${nameof(Maximum)}'"));
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
50throw new ArgumentException(string.Format(SR.TreeNodeBoundToAnotherTreeView), nameof(value));
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
316throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'"));
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
356throw new ArgumentOutOfRangeException(nameof(value), string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'"));
System\Windows\Forms\Scrolling\ScrollProperties.cs (1)
223throw new ArgumentOutOfRangeException(nameof(value), string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'"));
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
887_propertyGridLabel.Text = string.Format(SR.DataGridViewProperties);
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
167string.Format(
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
132if (verb.Text.Equals(string.Format(SR.TableLayoutPanelDesignerEditRowAndCol)))
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
494_label2.Text = string.Format(SR.CollectionEditorPropertiesNone);
System.Windows.Forms.Tests (1)
System\Windows\Forms\ScrollBarTests.cs (1)
1754string expectedMessage = new ArgumentOutOfRangeException(paramName, string.Format(SR.InvalidBoundArgument, nameof(control.Value), value, $"'{nameof(control.Minimum)}'", $"'{nameof(control.Maximum)}'")).Message;
UnitTests.Common (8)
TestHelpers.cs (8)
158errorBuilder.AppendLine(String.Format("{0} expected operation {1}.IsOneWay = {2}, actual = {3}", 166errorBuilder.AppendLine(String.Format("{0} expected operation {1}.HasTask = {2}, actual = {3}", 186errorBuilder.AppendLine(String.Format("{0} message action {1} expected Direction = {2}, actual = {3}", 194errorBuilder.AppendLine(String.Format("{0} message action {1} expected MessageType = {2}, actual = {3}", 226errorBuilder.AppendLine(String.Format("action {0}, section {1}, expected part count = {2}, actual = {3}", 250errorBuilder.AppendLine(String.Format("action {0}, section {1}, expected part Name = {2}, actual = {3}", 256errorBuilder.AppendLine(String.Format("action {0}, section {1}, name {2}, expected Type = {3}, actual = {4}", 262errorBuilder.AppendLine(String.Format("action {0}, section {1}, name {2}, expected Multiple = {3}, actual = {4}",