15 references to Format
System.Private.CoreLib (15)
src\libraries\System.Private.CoreLib\src\System\ArgumentOutOfRangeException.cs (6)
104
throw new ArgumentOutOfRangeException(paramName, value, SR.
Format
(SR.ArgumentOutOfRange_Generic_MustBeLessOrEqual, paramName, value, other));
108
throw new ArgumentOutOfRangeException(paramName, value, SR.
Format
(SR.ArgumentOutOfRange_Generic_MustBeLess, paramName, value, other));
112
throw new ArgumentOutOfRangeException(paramName, value, SR.
Format
(SR.ArgumentOutOfRange_Generic_MustBeGreaterOrEqual, paramName, value, other));
116
throw new ArgumentOutOfRangeException(paramName, value, SR.
Format
(SR.ArgumentOutOfRange_Generic_MustBeGreater, paramName, value, other));
120
throw new ArgumentOutOfRangeException(paramName, value, SR.
Format
(SR.ArgumentOutOfRange_Generic_MustBeNotEqual, paramName, (object?)value ?? "null", (object?)other ?? "null"));
124
throw new ArgumentOutOfRangeException(paramName, value, SR.
Format
(SR.ArgumentOutOfRange_Generic_MustBeEqual, paramName, (object?)value ?? "null", (object?)other ?? "null"));
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (6)
2111
ReportOutOfBandMessage(SR.
Format
(SR.EventSource_EventParametersMismatch, eventId, args.Length, infos.Length));
2140
ReportOutOfBandMessage(SR.
Format
(SR.EventSource_EventParametersMismatch, eventCallbackArgs.EventId, eventDataCount, metadata.Parameters.Length));
3610
manifest.ManifestError(SR.
Format
(SR.EventSource_MismatchIdToWriteEvent, evtName, evtId, eventArg), true);
5366
ManifestError(SR.
Format
(SR.EventSource_OpcodeCollision, name, prevName, value));
5384
ManifestError(SR.
Format
(SR.EventSource_TaskCollision, name, prevName, value));
5407
ManifestError(SR.
Format
(SR.EventSource_KeywordCollision, name, prevName, $"0x{value:x}"));
src\libraries\System.Private.CoreLib\src\System\Reflection\FieldAccessor.cs (1)
486
throw new ArgumentException(SR.
Format
(SR.Arg_FieldDeclTarget, fieldInfo.Name, fieldInfo.DeclaringType, target.GetType()));
src\libraries\System.Private.CoreLib\src\System\Resources\ManifestBasedResourceGroveler.cs (1)
475
SR.
Format
(SR.MissingManifestResource_NoNeutralAsm,
src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyDependencyResolver.cs (1)
85
throw new InvalidOperationException(SR.
Format
(