12 references to Format
System.Runtime.Caching (12)
System\Runtime\Caching\Configuration\ConfigUtil.cs (5)
37
throw new ArgumentException(RH.
Format
(SR.Value_must_be_non_negative_integer, valueName, sValue), nameof(config));
40
throw new ArgumentException(RH.
Format
(SR.Value_must_be_positive_integer, valueName, sValue), nameof(config));
45
throw new ArgumentException(RH.
Format
(SR.Value_too_big,
71
throw new ArgumentException(RH.
Format
(SR.TimeSpan_invalid_format, valueName, sValue), nameof(config));
91
throw new ArgumentException(RH.
Format
(SR.Value_must_be_boolean, valueName, sValue), nameof(config));
System\Runtime\Caching\HostFileChangeMonitor.cs (2)
169
throw new ArgumentException(RH.
Format
(SR.Empty_collection, nameof(filePaths)));
186
throw new ArgumentException(RH.
Format
(SR.Collection_contains_null_or_empty_string, nameof(filePaths)));
System\Runtime\Caching\MemoryCache.cs (5)
237
throw new ArgumentOutOfRangeException(nameof(policy), RH.
Format
(SR.Argument_out_of_range, "SlidingExpiration", ObjectCache.NoSlidingExpiration, s_oneYear));
246
throw new ArgumentOutOfRangeException(nameof(policy), RH.
Format
(SR.Argument_out_of_range, "Priority", CacheItemPriority.Default, CacheItemPriority.NotRemovable));
433
throw new ArgumentException(RH.
Format
(SR.Empty_collection, nameof(keys)));
440
throw new ArgumentException(RH.
Format
(SR.Collection_contains_null_element, nameof(keys)));
825
throw new ArgumentException(RH.
Format
(SR.Collection_contains_null_element, nameof(keys)));