14 references to GetResource
mscorlib (14)
system\Collections\Concurrent\ConcurrentDictionary.cs (14)
288
throw new ArgumentException(
GetResource
("ConcurrentDictionary_SourceContainsDuplicateKeys"));
326
throw new ArgumentOutOfRangeException("concurrencyLevel",
GetResource
("ConcurrentDictionary_ConcurrencyLevelMustBePositive"));
330
throw new ArgumentOutOfRangeException("capacity",
GetResource
("ConcurrentDictionary_CapacityMustNotBeNegative"));
657
if (index < 0) throw new ArgumentOutOfRangeException("index",
GetResource
("ConcurrentDictionary_IndexIsNegative"));
673
throw new ArgumentException(
GetResource
("ConcurrentDictionary_ArrayNotLargeEnough"));
1322
throw new ArgumentException(
GetResource
("ConcurrentDictionary_KeyAlreadyExisted"));
1455
if (keyValuePair.Key == null) throw new ArgumentNullException(
GetResource
("ConcurrentDictionary_ItemKeyIsNull"));
1503
if (!(key is TKey)) throw new ArgumentException(
GetResource
("ConcurrentDictionary_TypeOfKeyIncorrect"));
1512
throw new ArgumentException(
GetResource
("ConcurrentDictionary_TypeOfValueIncorrect"));
1646
if (!(key is TKey)) throw new ArgumentException(
GetResource
("ConcurrentDictionary_TypeOfKeyIncorrect"));
1647
if (!(value is TValue)) throw new ArgumentException(
GetResource
("ConcurrentDictionary_TypeOfValueIncorrect"));
1679
if (index < 0) throw new ArgumentOutOfRangeException("index",
GetResource
("ConcurrentDictionary_IndexIsNegative"));
1696
throw new ArgumentException(
GetResource
("ConcurrentDictionary_ArrayNotLargeEnough"));
1726
throw new ArgumentException(
GetResource
("ConcurrentDictionary_ArrayIncorrectType"), "array");