7 references to Format
System.ObjectModel (7)
System\Collections\ObjectModel\KeyedCollection.cs (2)
68
throw new KeyNotFoundException(SR.
Format
(SR.Arg_KeyNotFoundWithKey, key.ToString()));
251
throw new ArgumentException(SR.
Format
(SR.Argument_AddingDuplicate, key), nameof(key));
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (5)
30
throw new ArgumentException(SR.
Format
(SR.WrongActionForCtor, NotifyCollectionChangedAction.Reset), nameof(action));
161
throw new ArgumentException(SR.
Format
(SR.WrongActionForCtor, NotifyCollectionChangedAction.Replace), nameof(action));
192
throw new ArgumentException(SR.
Format
(SR.WrongActionForCtor, NotifyCollectionChangedAction.Replace), nameof(action));
214
throw new ArgumentException(SR.
Format
(SR.WrongActionForCtor, NotifyCollectionChangedAction.Move), nameof(action));
235
throw new ArgumentException(SR.
Format
(SR.WrongActionForCtor, NotifyCollectionChangedAction.Move), nameof(action));