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