419 references to ThrowArgumentNullException
System.Private.CoreLib (419)
src\libraries\System.Private.CoreLib\src\System\ArgumentNullException.cs (1)
66
ThrowHelper.
ThrowArgumentNullException
(paramName);
src\libraries\System.Private.CoreLib\src\System\Array.cs (65)
35
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
363
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.sourceArray);
365
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.destinationArray);
427
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.indices);
485
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.indices);
533
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.indices);
593
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.indices);
758
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparer);
786
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
825
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
847
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
993
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1000
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1012
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1028
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1033
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.converter);
1089
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1109
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1140
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1145
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1162
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1167
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1185
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1195
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1205
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1220
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1236
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1241
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1258
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1268
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1278
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1283
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1324
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1329
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.action);
1345
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1358
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1372
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1486
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1496
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1506
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1569
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1582
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1596
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1712
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1722
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1732
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1825
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1838
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1906
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1914
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1935
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1948
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
1981
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1996
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2022
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2126
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2138
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2155
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2162
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2169
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2187
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2213
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2218
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparison);
2229
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2234
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
47
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (9)
423
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
461
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
499
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
537
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
663
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
791
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
838
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
856
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
871
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
src\libraries\System.Private.CoreLib\src\System\Buffers\SharedArrayPool.cs (1)
126
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
104
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\Char.cs (21)
198
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
459
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.culture);
489
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.culture);
604
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
619
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
639
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
660
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
677
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
719
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
752
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
794
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
819
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
849
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
866
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
886
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
912
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
936
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
958
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
980
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
997
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1103
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (3)
82
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.collection);
145
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
443
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\CollectionExtensions.cs (6)
18
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.dictionary);
28
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.dictionary);
44
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.dictionary);
89
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.list);
116
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.list);
158
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.list);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (19)
92
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.dictionary);
105
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.collection);
346
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
382
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.info);
401
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
512
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
653
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
875
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
948
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1042
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1238
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1265
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1274
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1469
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.dictionary);
1481
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1531
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1664
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.dictionary);
1676
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1725
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (14)
91
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.collection);
385
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.info);
490
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
505
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
542
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
571
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
610
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
646
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
694
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
739
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
782
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
814
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
863
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
894
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (13)
64
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.collection);
247
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.collection);
368
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.converter);
512
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
529
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
563
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
578
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
601
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
642
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.action);
813
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.collection);
966
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1126
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparison);
1172
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (2)
27
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.list);
174
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (2)
22
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.list);
104
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
src\libraries\System.Private.CoreLib\src\System\Convert.cs (3)
2647
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
2663
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
2930
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (4)
367
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
391
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
392
if (format == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.format);
416
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (10)
844
if (info == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.info);
1314
if (info == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.info);
1613
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1623
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1630
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1646
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1647
if (format == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.format);
1658
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1659
if (format == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.format);
1672
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (8)
697
if (input == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
712
if (input == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
719
if (input == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
741
if (input == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
742
if (format == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.format);
753
if (input == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
754
if (format == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.format);
774
if (input == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
530
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
396
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Enum.cs (2)
582
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
644
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
src\libraries\System.Private.CoreLib\src\System\Globalization\CharUnicodeInfo.cs (5)
44
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
111
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
145
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
220
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
349
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (19)
507
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
511
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.prefix);
654
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
658
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.suffix);
815
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
825
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
829
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
849
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
860
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
880
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
910
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
914
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
1152
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
1162
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
1166
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
1206
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
1262
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
1266
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
1548
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
src\libraries\System.Private.CoreLib\src\System\Globalization\Ordinal.cs (4)
301
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
306
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
600
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
605
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
src\libraries\System.Private.CoreLib\src\System\Globalization\StringInfo.cs (3)
159
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.str);
186
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.str);
212
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.str);
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
343
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
137
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
137
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
147
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
144
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs (1)
69
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.stream);
src\libraries\System.Private.CoreLib\src\System\IO\RandomAccess.cs (2)
288
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.handle);
317
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.buffers);
src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs (5)
277
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.asyncResult);
602
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.asyncResult);
960
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.buffer);
1241
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.asyncResult);
1312
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.asyncResult);
src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs (1)
143
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.stream);
src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (1)
99
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.stream);
src\libraries\System.Private.CoreLib\src\System\IO\StringReader.cs (1)
20
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (17)
52
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
79
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
172
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.text);
255
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.text);
307
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.text);
499
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
583
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1056
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1366
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
2116
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
2132
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
2413
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
2764
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2798
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
3226
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparer);
3281
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparison);
3355
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparison);
src\libraries\System.Private.CoreLib\src\System\Random.cs (2)
172
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.buffer);
459
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.buffer);
src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (1)
214
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.type);
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncMethodBuilderCore.cs (2)
25
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.stateMachine);
61
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.stateMachine);
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs (1)
513
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.exception);
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncVoidMethodBuilder.cs (1)
115
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.exception);
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (5)
58
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
77
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
100
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
123
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
154
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilderT.cs (1)
72
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.exception);
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RuntimeHelpers.cs (1)
29
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (5)
874
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
884
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
894
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
904
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
914
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
140
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
399
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.BinarySearch.cs (1)
18
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparable);
src\libraries\System.Private.CoreLib\src\System\String.cs (1)
326
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.action);
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (6)
708
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
733
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
784
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
822
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
845
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
905
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (5)
14
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
121
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.anyOf);
136
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.anyOf);
333
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.anyOf);
348
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.anyOf);
src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (3)
350
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.obj);
401
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.obj);
466
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.obj);
src\libraries\System.Private.CoreLib\src\System\Text\ASCIIEncoding.cs (2)
111
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.chars);
129
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.chars);
src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (2)
536
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
669
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (6)
45
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.chars);
93
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
337
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.bytes);
352
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.bytes);
433
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.bytes);
553
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.bytes);
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (3)
843
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
1371
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.culture);
1420
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.culture);
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (6)
1129
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1153
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1164
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1188
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1208
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1218
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
src\libraries\System.Private.CoreLib\src\System\Text\UnicodeEncoding.cs (1)
113
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Text\UTF32Encoding.cs (1)
121
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (1)
157
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.cs (2)
161
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.chars);
179
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.chars);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs (12)
315
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.function);
319
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
335
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.function);
339
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
765
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationAction);
770
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
950
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationAction);
955
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1164
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1169
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1385
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1390
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs (36)
636
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.asyncResult);
639
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.endMethod);
644
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
756
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.beginMethod);
759
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.endMethod);
873
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.beginMethod);
876
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.endFunction);
998
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.beginMethod);
1001
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.endMethod);
1131
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.beginMethod);
1134
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.endMethod);
1254
if (asyncResult == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.asyncResult);
1350
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1378
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1412
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1457
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1481
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1511
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1547
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1593
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1606
if (tasks == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
1609
if (scheduler == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1653
if (tasks == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
1656
if (scheduler == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1720
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1748
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1782
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1827
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1851
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1881
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1917
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1963
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1975
if (tasks == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
1980
if (scheduler == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
2026
if (tasks == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
2030
if (scheduler == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Sources\ManualResetValueTaskSourceCore.cs (1)
124
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuation);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (28)
510
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.action);
954
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1032
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1148
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
3755
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationAction);
3761
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
3937
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationAction);
3943
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
4137
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
4143
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
4341
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
4347
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
4686
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
4754
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
4792
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
4826
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
4872
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
4894
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
5275
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
5397
if (exception == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.exception);
5411
if (exception == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.exception);
5564
if (function == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.function);
5608
if (function == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.function);
5887
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
5948
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
6217
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
6270
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
6699
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskCompletionSource.cs (2)
129
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.exception);
159
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.exceptions);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskCompletionSource_T.cs (2)
129
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.exception);
159
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.exceptions);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs (4)
78
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.task);
95
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
497
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.task);
515
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (5)
1512
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.callBack);
1530
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.callBack);
1548
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.callBack);
1579
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.callBack);
1593
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.callBack);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
780
ThrowArgumentNullException
(argName);
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (4)
533
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
557
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
558
if (format == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.format);
582
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\TimeSpan.cs (2)
598
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
613
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
138
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
132
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
142
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
141
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
src\System\Array.CoreCLR.cs (4)
41
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.sourceArray);
43
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.destinationArray);
414
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
439
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (2)
432
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.type);
478
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.type);