445 references to ThrowArgumentNullException
System.Private.CoreLib (445)
src\libraries\System.Private.CoreLib\src\System\ArgumentNullException.cs (1)
68
ThrowHelper.
ThrowArgumentNullException
(paramName);
src\libraries\System.Private.CoreLib\src\System\Array.cs (65)
34
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
667
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
692
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
817
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.indices);
875
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.indices);
923
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.indices);
983
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.indices);
1148
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparer);
1176
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1215
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1237
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1379
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1386
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1398
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1414
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1419
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.converter);
1475
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1495
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1526
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1531
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1548
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1553
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1583
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1593
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1603
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1618
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1634
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1639
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1656
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1666
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1676
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1681
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1722
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1727
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.action);
1743
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1756
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1770
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1881
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1891
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1901
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1964
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1977
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1991
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2104
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2114
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2124
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2217
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2230
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2295
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2303
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2324
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2337
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2370
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2385
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2411
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2511
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2523
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2540
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2547
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2554
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2572
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2598
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2603
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparison);
2614
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2619
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)
460
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
498
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
536
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
574
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
700
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
853
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
900
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
918
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
933
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
src\libraries\System.Private.CoreLib\src\System\Buffers\SharedArrayPool.cs (1)
132
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)
218
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
511
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.culture);
541
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.culture);
656
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
671
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
691
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
712
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
729
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
771
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
804
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
846
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
871
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
901
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
918
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
938
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
964
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
988
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1010
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1032
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1049
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1155
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (29)
340
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
371
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
400
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
521
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
610
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1079
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1186
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1191
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.valueFactory);
1228
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1233
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.valueFactory);
1265
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1307
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1312
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.addValueFactory);
1317
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.updateValueFactory);
1380
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1385
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.addValueFactory);
1390
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.updateValueFactory);
1451
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1456
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.updateValueFactory);
1680
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1707
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1758
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1799
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1813
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
2383
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
2467
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
2542
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
2588
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
2702
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.dictionary);
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);
100
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.list);
127
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.list);
168
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.list);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (20)
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);
513
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1006
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1078
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1300
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1373
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1467
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1663
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1690
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1699
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1894
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.dictionary);
1906
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1956
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2089
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.dictionary);
2101
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2150
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (14)
92
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.collection);
701
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.info);
806
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
829
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
866
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
895
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
934
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
971
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
1015
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
1060
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
1103
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
1135
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
1189
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1220
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)
23
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.list);
105
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
src\libraries\System.Private.CoreLib\src\System\Convert.cs (3)
2518
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
2528
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
2573
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (4)
396
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
420
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
421
if (format == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.format);
445
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (10)
823
if (info == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.info);
1291
if (info == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.info);
1572
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1582
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1589
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1605
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1606
if (format == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.format);
1617
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1618
if (format == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.format);
1631
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (5)
652
if (input == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
671
if (input == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
701
if (input == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
702
if (format == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.format);
722
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)
398
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Enum.cs (2)
580
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
642
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
src\libraries\System.Private.CoreLib\src\System\Globalization\CharUnicodeInfo.cs (5)
44
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
138
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
172
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
247
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
376
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (19)
505
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
509
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.prefix);
648
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
652
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.suffix);
805
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
815
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
819
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
839
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
850
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
870
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
900
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
904
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
1138
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
1148
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
1152
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
1192
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
1248
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
1252
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
1534
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)
153
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
150
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)
278
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.asyncResult);
596
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.asyncResult);
954
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.buffer);
1235
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.asyncResult);
1306
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.asyncResult);
src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs (1)
142
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.stream);
src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (1)
98
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)
51
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
78
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
171
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.text);
254
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.text);
306
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.text);
525
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
668
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1310
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1890
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
3015
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
3032
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
3436
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
3854
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
3888
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
4308
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparer);
4371
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparison);
4453
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparison);
src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
260
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Random.cs (2)
172
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.buffer);
558
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.buffer);
src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (1)
210
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 (6)
57
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
72
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
96
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
120
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
147
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
165
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)
30
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (5)
972
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
982
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
992
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1002
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1012
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)
401
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)
330
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.action);
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (6)
719
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
744
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
795
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
833
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
856
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
916
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (5)
16
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
183
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.anyOf);
198
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.anyOf);
586
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.anyOf);
601
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.anyOf);
src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (3)
369
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.obj);
449
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.obj);
531
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)
892
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
1450
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.culture);
1499
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.culture);
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (6)
1154
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1178
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1189
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1213
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1233
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1243
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\Sources\ManualResetValueTaskSourceCore.cs (1)
124
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuation);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (28)
585
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.action);
1030
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1108
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1225
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
3860
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationAction);
3866
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
4042
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationAction);
4048
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
4242
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
4248
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
4446
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
4452
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
4794
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
4862
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
4900
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
4934
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
4980
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
5002
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
5387
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
5509
if (exception == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.exception);
5523
if (exception == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.exception);
5676
if (function == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.function);
5720
if (function == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.function);
5999
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
6065
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
6351
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
6405
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
6836
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task_T.cs (12)
313
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.function);
317
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
333
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.function);
337
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
763
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationAction);
768
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
948
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationAction);
953
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1162
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1167
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1383
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1388
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
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\TaskFactory_T.cs (36)
637
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.asyncResult);
640
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.endMethod);
645
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
759
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.beginMethod);
762
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.endMethod);
876
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.beginMethod);
879
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.endFunction);
1001
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.beginMethod);
1004
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.endMethod);
1134
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.beginMethod);
1137
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.endMethod);
1257
if (asyncResult == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.asyncResult);
1353
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1381
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1415
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1460
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1484
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1514
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1550
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1596
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1609
if (tasks == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
1612
if (scheduler == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1656
if (tasks == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
1659
if (scheduler == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1723
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1751
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1785
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1830
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1854
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1884
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1920
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1966
if (continuationFunction == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1978
if (tasks == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
1983
if (scheduler == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
2029
if (tasks == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
2033
if (scheduler == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs (4)
78
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.task);
95
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
522
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.task);
540
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (5)
1593
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.callBack);
1611
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.callBack);
1629
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.callBack);
1660
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.callBack);
1674
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)
564
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
588
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
589
if (format == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.format);
613
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\TimeSpan.cs (2)
732
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
747
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
139
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)
148
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
147
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (3)
22
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
614
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.type);
635
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.type);