186 references to Format
Aspire.Confluent.Kafka (1)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\Shared\Guard.cs (1)
194var exMessage = message ?? string.Format(
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Shared\Guard.cs (1)
200var exMessage = message ?? string.Format(
BasicWebSite (1)
Areas\Area2\Controllers\RemoteAttribute_VerifyController.cs (1)
18return new JsonResult(value: string.Format(
CodeGenerator (1)
HttpUtilities\HttpUtilities.cs (1)
61return string.Format(CultureInfo.InvariantCulture, @"// Licensed to the .NET Foundation under one or more agreements.
Crossgen2Tasks (2)
CommonFilePulledFromSdkRepo\BuildErrorException.cs (1)
27: this(string.Format(CultureInfo.CurrentCulture, format, args))
CommonFilePulledFromSdkRepo\TaskBase.cs (1)
67text = string.Format(CultureInfo.InvariantCulture,
dotnet-user-jwts (1)
Helpers\ConsoleTable.cs (1)
93var columnHeaders = string.Format(CultureInfo.InvariantCulture, formatRow, _columns.ToArray());
GetDocument.Insider (3)
artifacts\obj\GetDocument.Insider\Release\net11.0\Microsoft.Extensions.ApiDescription.Tool.Resources.cs (3)
86=> string.Format(Culture, GetResourceString("MethodReturnTypeUnsupported"), p0, p1, p2, p3); 104=> string.Format(Culture, GetResourceString("MethodsNotFound"), p0, p1, p2, p3); 128=> string.Format(Culture, GetResourceString("ServiceProviderNotFound"), p0, p1, p2, p3, p4);
Microsoft.AspNetCore.Antiforgery (1)
artifacts\obj\Microsoft.AspNetCore.Antiforgery\Release\net11.0\Microsoft.AspNetCore.Antiforgery.Resources.cs (1)
34=> string.Format(Culture, GetResourceString("AntiforgeryTokenValidator_AuthenticatedUserWithoutUsername"), p0, p1, p2, p3, p4, p5);
Microsoft.AspNetCore.Components (4)
artifacts\obj\Microsoft.AspNetCore.Components\Release\net11.0\Microsoft.AspNetCore.Components.Routing.Resources.cs (4)
58=> string.Format(Culture, GetResourceString("RouteConstraintBuilder_ValidationMustBeStringOrCustomConstraint"), p0, p1, p2, p3); 64=> string.Format(Culture, GetResourceString("RouteConstraintBuilder_CouldNotResolveConstraint"), p0, p1, p2, p3); 84=> string.Format(Culture, GetResourceString("RoutePattern_InvalidParameterConstraintReference"), p0, p1, p2, p3); 96=> string.Format(Culture, GetResourceString("RoutePattern_InvalidStringConstraintReference"), p0, p1, p2, p3);
Microsoft.AspNetCore.Cryptography.Internal (1)
artifacts\obj\Microsoft.AspNetCore.Cryptography.Internal\Release\net11.0\Microsoft.AspNetCore.Cryptography.Internal.Resources.cs (1)
40=> string.Format(Culture, GetResourceString("BCRYPT_KEY_LENGTHS_STRUCT_InvalidKeyLength"), p0, p1, p2, p3);
Microsoft.AspNetCore.DataProtection.Tests (4)
KeyManagement\XmlKeyManagerTests.cs (3)
138string expectedXml = string.Format( 237string expectedEscrowXml = string.Format( 261string expectedRepositoryXml = String.Format(
StringLoggerFactory.cs (1)
63string message = string.Format(CultureInfo.InvariantCulture,
Microsoft.AspNetCore.Diagnostics (1)
StatusCodePage\StatusCodePagesOptions.cs (1)
47return string.Format(CultureInfo.InvariantCulture, "Status Code: {0}{1}{2}{3}",
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
src\Grpc\JsonTranscoding\src\Shared\X509CertificateHelpers.cs (1)
113throw new FormatException(string.Format(
Microsoft.AspNetCore.Hosting (1)
Internal\ConfigureBuilder.cs (1)
46throw new InvalidOperationException(string.Format(
Microsoft.AspNetCore.Http.Abstractions (1)
artifacts\obj\Microsoft.AspNetCore.Http.Abstractions\Release\net11.0\Microsoft.AspNetCore.Http.Abstractions.Resources.cs (1)
110=> string.Format(Culture, GetResourceString("RouteValueDictionary_DuplicatePropertyName"), p0, p1, p2, p3);
Microsoft.AspNetCore.Mvc.Core (9)
artifacts\obj\Microsoft.AspNetCore.Mvc.Core\Release\net11.0\Microsoft.AspNetCore.Mvc.Core.Resources.cs (9)
98=> string.Format(Culture, GetResourceString("AsyncActionFilter_InvalidShortCircuit"), p0, p1, p2, p3); 104=> string.Format(Culture, GetResourceString("AsyncResultFilter_InvalidShortCircuit"), p0, p1, p2, p3); 236=> string.Format(Culture, GetResourceString("AsyncResourceFilter_InvalidShortCircuit"), p0, p1, p2, p3); 470=> string.Format(Culture, GetResourceString("MiddlewareFilter_ServiceResolutionFail"), p0, p1, p2, p3); 582=> string.Format(Culture, GetResourceString("ApiController_MultipleBodyParametersFound"), p0, p1, p2, p3); 630=> string.Format(Culture, GetResourceString("ValidationVisitor_ExceededMaxPropertyDepth"), p0, p1, p2, p3); 636=> string.Format(Culture, GetResourceString("ReferenceToNewtonsoftJsonRequired"), p0, p1, p2, p3, p4); 642=> string.Format(Culture, GetResourceString("ModelBinding_ExceededMaxModelBindingCollectionSize"), p0, p1, p2, p3, p4); 648=> string.Format(Culture, GetResourceString("ModelBinding_ExceededMaxModelBindingRecursionDepth"), p0, p1, p2, p3);
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
artifacts\obj\Microsoft.AspNetCore.Mvc.Formatters.Xml\Release\net11.0\Microsoft.AspNetCore.Mvc.Formatters.Xml.Resources.cs (1)
42=> string.Format(Culture, GetResourceString("RequiredProperty_MustHaveDataMemberRequired"), p0, p1, p2, p3, p4, p5, p6);
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (4)
XmlDataContractSerializerInputFormatterTest.cs (1)
686var input = string.Format(
XmlDataContractSerializerOutputFormatterTest.cs (3)
504var expectedOutput = string.Format( 548var expectedOutput = string.Format( 595var expectedOutput = string.Format(
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
artifacts\obj\Microsoft.AspNetCore.Mvc.NewtonsoftJson\Release\net11.0\Microsoft.AspNetCore.Mvc.NewtonsoftJson.Resources.cs (1)
46=> string.Format(Culture, GetResourceString("JsonHelperMustBeAnInstanceOfNewtonsoftJson"), p0, p1, p2, p3);
Microsoft.AspNetCore.Mvc.Razor (1)
artifacts\obj\Microsoft.AspNetCore.Mvc.Razor\Release\net11.0\Microsoft.AspNetCore.Mvc.Razor.Resources.cs (1)
114=> string.Format(Culture, GetResourceString("CouldNotResolveApplicationRelativeUrl_TagHelper"), p0, p1, p2, p3, p4, p5);
Microsoft.AspNetCore.Mvc.RazorPages (1)
artifacts\obj\Microsoft.AspNetCore.Mvc.RazorPages\Release\net11.0\Microsoft.AspNetCore.Mvc.RazorPages.Resources.cs (1)
68=> string.Format(Culture, GetResourceString("AsyncPageFilter_InvalidShortCircuit"), p0, p1, p2, p3);
Microsoft.AspNetCore.Mvc.TagHelpers (6)
artifacts\obj\Microsoft.AspNetCore.Mvc.TagHelpers\Release\net11.0\Microsoft.AspNetCore.Mvc.TagHelpers.Resources.cs (6)
40=> string.Format(Culture, GetResourceString("AnchorTagHelper_CannotOverrideHref"), p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11); 46=> string.Format(Culture, GetResourceString("FormTagHelper_CannotOverrideAction"), p0, p1, p2, p3, p4, p5, p6, p7, p8, p9); 52=> string.Format(Culture, GetResourceString("InputTagHelper_InvalidExpressionResult"), p0, p1, p2, p3, p4, p5, p6); 64=> string.Format(Culture, GetResourceString("InputTagHelper_ValueRequired"), p0, p1, p2, p3); 70=> string.Format(Culture, GetResourceString("TagHelpers_NoProvidedMetadata"), p0, p1, p2, p3); 94=> string.Format(Culture, GetResourceString("FormActionTagHelper_CannotOverrideFormAction"), p0, p1, p2, p3, p4, p5, p6, p7, p8, p9);
Microsoft.AspNetCore.Mvc.Testing (1)
artifacts\obj\Microsoft.AspNetCore.Mvc.Testing\Release\net11.0\Microsoft.AspNetCore.Mvc.Testing.Resources.cs (1)
40=> string.Format(Culture, GetResourceString("MissingBuilderMethod"), p0, p1, p2, p3, p4, p5);
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
artifacts\obj\Microsoft.AspNetCore.Mvc.ViewFeatures\Release\net11.0\Microsoft.AspNetCore.Mvc.ViewFeatures.Resources.cs (3)
54=> string.Format(Culture, GetResourceString("ViewComponent_CannotFindComponent"), p0, p1, p2, p3); 254=> string.Format(Culture, GetResourceString("HtmlGenerator_FieldNameCannotBeNullOrEmpty"), p0, p1, p2, p3, p4); 308=> string.Format(Culture, GetResourceString("TempDataProperties_InvalidType"), p0, p1, p2, p3);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (5)
Rendering\DefaultTemplatesUtilities.cs (1)
337return string.Format(
Rendering\HtmlHelperLinkGenerationTest.cs (4)
48var expectedLink = string.Format( 63string.Format( 119var expectedLink = string.Format( 133string.Format(
Microsoft.AspNetCore.Routing (4)
artifacts\obj\Microsoft.AspNetCore.Routing\Release\net11.0\Microsoft.AspNetCore.Routing.Resources.cs (4)
122=> string.Format(Culture, GetResourceString("RouteConstraintBuilder_ValidationMustBeStringOrCustomConstraint"), p0, p1, p2, p3); 128=> string.Format(Culture, GetResourceString("RouteConstraintBuilder_CouldNotResolveConstraint"), p0, p1, p2, p3); 186=> string.Format(Culture, GetResourceString("RoutePattern_InvalidParameterConstraintReference"), p0, p1, p2, p3); 198=> string.Format(Culture, GetResourceString("RoutePattern_InvalidStringConstraintReference"), p0, p1, p2, p3);
Microsoft.AspNetCore.Server.HttpSys (1)
UrlPrefix.cs (1)
24FullPrefix = string.Format(CultureInfo.InvariantCulture, "{0}://{1}:{2}{3}", Scheme, Host, Port, Path);
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Common\DeploymentParameters.cs (1)
184return string.Format(
Microsoft.AspNetCore.Server.Kestrel.Core (1)
artifacts\obj\Microsoft.AspNetCore.Server.Kestrel.Core\Release\net11.0\Microsoft.AspNetCore.Server.Kestrel.Core.CoreStrings.cs (1)
406=> string.Format(Culture, GetResourceString("CertNotFoundInStore", new [] { "subject", "storeLocation", "storeName", "allowInvalid" }), subject, storeLocation, storeName, allowInvalid);
Microsoft.AspNetCore.SignalR.Tests (1)
NativeAotTests.cs (1)
419string message = string.Format(CultureInfo.InvariantCulture,
Microsoft.CodeAnalysis (2)
CommandLine\CommonCompiler.SuppressionDiagnostic.cs (1)
55return string.Format(formatProvider,
Diagnostic\DiagnosticFormatter.cs (1)
56return string.Format(formatter, "{0}{1}: {2}: {3}{4}",
Microsoft.CodeAnalysis.CSharp (1)
CommandLine\CommandLineDiagnosticFormatter.cs (1)
32return string.Format(formatter, "({0},{1},{2},{3})",
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
368? (_formatArguments.Length > 0 ? string.Format(formatProvider, messageFormat, _formatArguments) : messageFormat)
Microsoft.CodeAnalysis.Scripting (1)
Hosting\AssemblyLoader\InteractiveAssemblyLoader.cs (1)
296string.Format(null, ScriptingResources.AssemblyAlreadyLoaded,
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Errors\ErrorHandling.cs (1)
159return new RuntimeBinderException(string.Format(CultureInfo.InvariantCulture, ErrorFacts.GetMessage(id), prgpsz));
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
ChooseBestP2PTargetFrameworkTask.cs (1)
107Log.LogError(string.Format(CultureInfo.CurrentCulture, "Project '{0}' targets '{1}'. It cannot be referenced by a project that targets '{2}{3}'.", project.ItemSpec, referencedProjectFrameworkString, projectNuGetFramework.DotNetFrameworkName, projectNuGetFramework.HasPlatform ? "-" + projectNuGetFramework.DotNetPlatformName : string.Empty));
PresentationCore (11)
System\Windows\Media\Animation\KeySplineConverter.cs (1)
114return String.Format(
System\Windows\Media\ArcSegment.cs (1)
143return String.Format(provider,
System\Windows\Media\BezierSegment.cs (1)
98return String.Format(provider,
System\Windows\Media\Color.cs (1)
278return string.Format(provider,
System\Windows\Media3D\Generated\Matrix3D.cs (1)
372return String.Format(provider,
System\Windows\Media3D\Generated\Point3D.cs (1)
334return String.Format(provider,
System\Windows\Media3D\Generated\Point4D.cs (1)
355return String.Format(provider,
System\Windows\Media3D\Generated\Quaternion.cs (1)
324return String.Format(provider,
System\Windows\Media3D\Generated\Rect3D.cs (1)
325return String.Format(provider,
System\Windows\Media3D\Generated\Size3D.cs (1)
313return String.Format(provider,
System\Windows\Media3D\Generated\Vector3D.cs (1)
334return String.Format(provider,
PresentationFramework (3)
System\Windows\Controls\VirtualizingStackPanel.cs (1)
12250return args.IsEmpty ? string.Empty : string.Format(CultureInfo.InvariantCulture, s_format[args.Length], args);
System\Windows\Documents\TextStore.cs (1)
4838return args.IsEmpty ? string.Empty : string.Format(CultureInfo.InvariantCulture, s_format[args.Length], args);
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
672throw new XamlParseException(string.Format(CultureInfo.CurrentCulture, SR.Format(SR.UnknownBamlRecord, recordType)));
PresentationUI (7)
MS\Internal\Documents\Application\DocumentPropertiesDialog.cs (1)
227return String.Format(
MS\Internal\Documents\Application\DocumentStream.cs (1)
816string temp = string.Format(
MS\Internal\Documents\Application\Trace.cs (2)
26string.Format( 44string.Format(
MS\Internal\Documents\SignatureResourceHelper.cs (3)
223result = string.Format(CultureInfo.CurrentCulture, 324String.Format( 362return String.Format(
ReachFramework (2)
PrintConfig\PrtCap_Public_Simple.cs (1)
97return String.Format(CultureInfo.CurrentCulture, "({0}, {1}), ({2}, {3})",
PrintConfig\PrtTicket_Editor.cs (1)
221throw NewPTFormatException(String.Format(CultureInfo.CurrentCulture,
Swaggatherer (1)
Template.cs (1)
65return string.Format(
System.CodeDom (1)
System\CodeDom\Compiler\CompilerError.cs (1)
34string.Format(CultureInfo.InvariantCulture, "{0}({1},{2}) : {3} {4}: {5}", FileName, Line, Column, WarningString, ErrorNumber, ErrorText) :
System.ComponentModel.Composition (4)
System\ComponentModel\Composition\ExceptionBuilder.cs (1)
118return string.Format(CultureInfo.CurrentCulture, format, arguments);
System\ComponentModel\Composition\ReflectionModel\GenericServices.cs (1)
78return string.Format(CultureInfo.InvariantCulture, originalGenericName, genericFormatArgs);
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (2)
419return string.Format(CultureInfo.InvariantCulture, originalValue, specializationIdentities); 429return string.Format(CultureInfo.InvariantCulture, originalValue, _specializationIdentities);
System.Configuration.ConfigurationManager (1)
System\Configuration\ProtectedConfigurationSection.cs (1)
96return string.Format(CultureInfo.InvariantCulture, EncryptedSectionTemplate,
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.cs (2)
357Write(string.Format(FormatProvider, format, arg)); 584WriteLine(string.Format(FormatProvider, format, arg));
src\libraries\System.Private.CoreLib\src\System\Runtime\MemoryFailPoint.cs (1)
384return string.Format(Globalization.CultureInfo.InvariantCulture, "MemoryFailPoint detected insufficient memory to guarantee an operation could complete. Checked for {0} MB, for allocation size of {1} MB. Need page file? {2} Need Address Space? {3} Need Contiguous address space? {4} Avail page file: {5} MB Total free VA space: {6} MB Contiguous free address space (found): {7} MB Space reserved by process's MemoryFailPoints: {8} MB",
System.Private.Xml (3)
System\Xml\Serialization\XmlSerializationWriter.cs (1)
1732_writer.Write(string.Format(CultureInfo.InvariantCulture, HelperClassesForUseReflection,
System\Xml\Xsl\QIL\QilXmlWriter.cs (1)
126this.writer.WriteAttributeString("lineInfo", string.Format(CultureInfo.InvariantCulture, "[{0},{1} -- {2},{3}]",
System\Xml\Xslt\XsltException.cs (1)
147message = string.Format(CultureInfo.InvariantCulture, message, args);
System.Runtime.Caching (1)
System\Runtime\Caching\Dbg.cs (1)
37string output = string.Format(CultureInfo.InvariantCulture,
System.ServiceModel.Primitives (17)
Internals\System\Xml\XmlMtomWriter.cs (1)
167string.Format(CultureInfo.InvariantCulture, "{0}/{1};{2}=\"{3}\";{4}=\"{5}\"",
System\ServiceModel\Channels\Message.cs (2)
853throw TraceUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.")), this); 860throw TraceUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.")), this);
System\ServiceModel\Channels\MessageVersion.cs (1)
171throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "MessageVersion.Addressing cannot be null")));
System\ServiceModel\Channels\MtomMessageEncoder.cs (2)
60throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, "Invalid MessageVersion"))); 444return string.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Channels\SecurityBindingElement.cs (2)
620sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "OperationSupportingTokenParameters: none")); 633sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "OptionalOperationSupportingTokenParameters: none"));
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
157throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid proxy method type")));
System\ServiceModel\Dispatcher\ChannelHandler.cs (1)
255throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "No DispatchOperationRuntime found to process message.")));
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (4)
163sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "IssuerBinding: null")); 167sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "IssuerBinding:")); 178sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "ClaimTypeRequirements: none")); 182sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "ClaimTypeRequirements:"));
System\ServiceModel\Security\Tokens\SecureConversationSecurityTokenParameters.cs (2)
164sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "BootstrapSecurityBindingElement: null")); 168sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "BootstrapSecurityBindingElement:"));
System\ServiceModel\Security\Tokens\ServiceModelSecurityTokenRequirement.cs (1)
236sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "---"));
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.ToolStripContainerTypedControlCollection.cs (1)
37throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, string.Format(SR.TypedControlCollectionShouldBeOfTypes, _contentPanelType.Name, _panelType.Name)), value.GetType().Name);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (1)
52throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, string.Format(SR.TypedControlCollectionShouldBeOfType, nameof(ToolStrip))), control.GetType().Name);
System\Windows\Forms\Internal\TypedControlCollection.cs (1)
48throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, string.Format(SR.TypedControlCollectionShouldBeOfType, _typeOfControl.Name)), value.GetType().Name);
System.Windows.Input.Manipulations (1)
System\Windows\Input\Manipulations\Exceptions.cs (1)
239return string.Format(CultureInfo.CurrentCulture, format, args);
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\EventManager.cs (1)
119System.Diagnostics.Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "Unexpected idProp {0} for idOject 0x{1:x8} on element {2} for event {3}", idProp, idObject, el, eventId));
UIAutomationTypes (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsCLR.cs (1)
69return String.Format(System.Globalization.CultureInfo.CurrentCulture,"[{0}, {1}, {2}, {3}, {4}, {5}]", this.eM11, this.eM12, this.eM21, this.eM22, this.eDx, this.eDy );
xunit.assert (55)
Sdk\Exceptions\AllException.cs (2)
52 string.Format( 61 string.Format(
Sdk\Exceptions\CollectionException.cs (2)
83 message += string.Format(CultureInfo.CurrentCulture, "{0}Collection: {1}{2}Error: {3}", Environment.NewLine, formattedCollection, Environment.NewLine, FormatInnerException(exception)); 100 string.Format(
Sdk\Exceptions\ContainsException.cs (6)
56 string.Format( 76 string.Format( 96 string.Format( 116 string.Format( 136 string.Format( 160 string.Format(
Sdk\Exceptions\DistinctException.cs (1)
39 string.Format(
Sdk\Exceptions\DoesNotContainException.cs (6)
79 message += string.Format(CultureInfo.CurrentCulture, "{0}Collection: {1}{2}Found: {3}", Environment.NewLine, collection, Environment.NewLine, item); 94 string.Format( 114 string.Format( 146 message += string.Format(CultureInfo.CurrentCulture, "{0}Memory: {1}{2}Found: {3}", Environment.NewLine, memory, Environment.NewLine, expectedSubMemory); 173 message += string.Format(CultureInfo.CurrentCulture, "{0}Span: {1}{2}Found: {3}", Environment.NewLine, span, Environment.NewLine, expectedSubSpan); 197 string.Format(
Sdk\Exceptions\DoesNotMatchException.cs (1)
45 string.Format(
Sdk\Exceptions\EndsWithException.cs (1)
46 string.Format(
Sdk\Exceptions\EqualException.cs (5)
124 message += string.Format(CultureInfo.CurrentCulture, "{0} {1}\u2193 (pos {2}{3})", Environment.NewLine, new string(' ', expectedPointer.Value), mismatchedIndex, expectedTypeText); 126 message += string.Format(CultureInfo.CurrentCulture, "{0}Expected: {1}{2}Actual: {3}", Environment.NewLine, expected, Environment.NewLine, actual); 129 message += string.Format(CultureInfo.CurrentCulture, "{0} {1}\u2191 (pos {2}{3})", Environment.NewLine, new string(' ', actualPointer.Value), mismatchedIndex, actualTypeText); 164 message += string.Format(CultureInfo.CurrentCulture, "{0}Expected: {1}{2}Actual: {3}", Environment.NewLine, formattedExpected, Environment.NewLine, formattedActual); 234 string.Format(
Sdk\Exceptions\EquivalentException.cs (6)
99 string.Format( 123 string.Format( 158 string.Format( 188 string.Format( 223 string.Format( 251 string.Format(
Sdk\Exceptions\ExceptionUtility.cs (1)
77 return string.Format(CultureInfo.InvariantCulture, "{0}{1}({2},0): at {3}", indent, file, match.Groups["line"].Value, match.Groups["method"].Value);
Sdk\Exceptions\InRangeException.cs (1)
41 string.Format(
Sdk\Exceptions\IsAssignableFromException.cs (1)
46 string.Format(
Sdk\Exceptions\IsNotAssignableFromException.cs (1)
39 string.Format(
Sdk\Exceptions\IsNotTypeException.cs (1)
39 string.Format(
Sdk\Exceptions\IsTypeException.cs (1)
38 string.Format(
Sdk\Exceptions\MatchesException.cs (1)
43 string.Format(
Sdk\Exceptions\NotEqualException.cs (2)
100 message += string.Format(CultureInfo.CurrentCulture, "{0}Expected: Not {1}{2}Actual: {3}", Environment.NewLine, expected, Environment.NewLine, actual); 156 string.Format(
Sdk\Exceptions\NotInRangeException.cs (1)
41 string.Format(
Sdk\Exceptions\NotStrictEqualException.cs (1)
39 string.Format(
Sdk\Exceptions\NullException.cs (1)
49 string.Format(
Sdk\Exceptions\ProperSubsetException.cs (1)
39 string.Format(
Sdk\Exceptions\ProperSupersetException.cs (1)
39 string.Format(
Sdk\Exceptions\RaisesException.cs (1)
39 string.Format(
Sdk\Exceptions\SameException.cs (1)
39 string.Format(
Sdk\Exceptions\SingleException.cs (2)
52 string.Format( 99 message += string.Format(
Sdk\Exceptions\StartsWithException.cs (1)
46 string.Format(
Sdk\Exceptions\StrictEqualException.cs (1)
39 string.Format(
Sdk\Exceptions\SubsetException.cs (1)
39 string.Format(
Sdk\Exceptions\SupersetException.cs (1)
39 string.Format(
Sdk\Exceptions\ThrowsAnyException.cs (1)
48 string.Format(
Sdk\Exceptions\ThrowsException.cs (2)
48 string.Format( 76 string.Format(