85 references to ExceptionArgument
System (85)
compmod\system\collections\generic\debugview.cs (2)
105
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.collection);
125
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.collection);
compmod\system\collections\generic\queue.cs (6)
61
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.capacity, ExceptionResource.ArgumentOutOfRange_NeedNonNegNumRequired);
76
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.collection);
132
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
136
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.arrayIndex, ExceptionResource.ArgumentOutOfRange_Index);
158
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
171
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.index, ExceptionResource.ArgumentOutOfRange_Index);
compmod\system\collections\generic\sorteddictionary.cs (22)
33
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.dictionary);
87
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
99
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
164
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
175
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
220
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
228
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
274
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
277
ThrowHelper.IfNullAndNullsAreIllegalThenThrow<TValue>(value,
ExceptionArgument
.value);
297
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
300
ThrowHelper.IfNullAndNullsAreIllegalThenThrow<TValue>(value,
ExceptionArgument
.value);
326
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
453
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.dictionary);
472
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
476
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.index);
488
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
500
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
608
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.dictionary);
627
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
631
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.index);
643
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
655
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
compmod\system\collections\generic\sortedlist.cs (19)
108
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.capacity, ExceptionResource.ArgumentOutOfRange_NeedNonNegNumRequired);
166
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.dictionary);
178
if (key == null) ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
219
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.value, ExceptionResource.ArgumentOutOfRange_SmallCapacity);
249
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
252
ThrowHelper.IfNullAndNullsAreIllegalThenThrow<TValue>(value,
ExceptionArgument
.value);
408
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
412
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
427
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
439
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
489
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.index, ExceptionResource.ArgumentOutOfRange_Index);
515
if (index < 0 || index >= _size) ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.index, ExceptionResource.ArgumentOutOfRange_Index);
533
if (((Object) key) == null) ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
557
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
560
ThrowHelper.IfNullAndNullsAreIllegalThenThrow<TValue>(value,
ExceptionArgument
.value);
586
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
629
if (index < 0 || index >= _size) ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.index, ExceptionResource.ArgumentOutOfRange_Index);
675
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
996
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.key);
compmod\system\collections\generic\sortedset.cs (8)
588
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
592
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.index);
620
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
632
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
1781
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.collection);
2004
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.info);
2078
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.info);
2221
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.info);
compmod\system\collections\generic\stack.cs (6)
56
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.capacity, ExceptionResource.ArgumentOutOfRange_NeedNonNegNumRequired);
69
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.collection);
139
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
143
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
156
ThrowHelper.ThrowArgumentNullException(
ExceptionArgument
.array);
168
ThrowHelper.ThrowArgumentOutOfRangeException(
ExceptionArgument
.arrayIndex, ExceptionResource.ArgumentOutOfRange_NeedNonNegNum);
compmod\system\collections\generic\throwhelper.cs (22)
66
internal static void ThrowArgumentNullException(
ExceptionArgument
argument) {
70
internal static void ThrowArgumentOutOfRangeException(
ExceptionArgument
argument) {
74
internal static void ThrowArgumentOutOfRangeException(
ExceptionArgument
argument, ExceptionResource resource) {
93
internal static void IfNullAndNullsAreIllegalThenThrow<T>(object value,
ExceptionArgument
argName) {
102
internal static string GetArgumentName(
ExceptionArgument
argument) {
106
case
ExceptionArgument
.array:
110
case
ExceptionArgument
.arrayIndex:
114
case
ExceptionArgument
.capacity:
118
case
ExceptionArgument
.collection:
122
case
ExceptionArgument
.converter:
126
case
ExceptionArgument
.count:
130
case
ExceptionArgument
.dictionary:
134
case
ExceptionArgument
.index:
138
case
ExceptionArgument
.info:
142
case
ExceptionArgument
.key:
146
case
ExceptionArgument
.match:
150
case
ExceptionArgument
.obj:
154
case
ExceptionArgument
.queue:
158
case
ExceptionArgument
.stack:
162
case
ExceptionArgument
.startIndex:
166
case
ExceptionArgument
.value:
170
case
ExceptionArgument
.item: