415 references to ThrowArgumentNullException
System.Private.CoreLib (415)
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);
662
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
687
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
812
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.indices);
870
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.indices);
918
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.indices);
978
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.indices);
1143
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparer);
1171
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1210
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1232
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1374
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1381
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1393
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1409
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1414
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.converter);
1470
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1490
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1521
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1526
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1543
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1548
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1566
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1576
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1586
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1601
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1617
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1622
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1639
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1649
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1659
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1664
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.match);
1705
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1710
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.action);
1726
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1739
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1753
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1864
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1874
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1884
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1947
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1960
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1974
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2087
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2097
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2107
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2200
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2213
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2278
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2286
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2307
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2320
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2353
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2368
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2394
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2494
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2506
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2523
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2530
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2537
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2555
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.keys);
2581
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2586
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparison);
2597
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2602
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)
431
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
469
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
507
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
545
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
671
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
799
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
846
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
864
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
879
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)
199
if (s is null) { ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s); }
492
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.culture);
522
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.culture);
637
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
652
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
672
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
693
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
710
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
752
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
785
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
827
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
852
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
882
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
899
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
919
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
945
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
969
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
991
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1013
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1030
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1136
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);
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);
512
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1005
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1077
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1299
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1372
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1466
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1662
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1689
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1698
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.key);
1893
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.dictionary);
1905
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1955
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2088
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.dictionary);
2100
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
2149
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);
821
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
858
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
887
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
926
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
963
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
1007
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
1052
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
1095
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
1127
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.other);
1181
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
1212
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)
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)
823
if (info == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.info);
1291
if (info == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.info);
1581
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1591
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1598
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1614
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1615
if (format == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.format);
1626
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
1627
if (format == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.format);
1640
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)
396
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);
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)
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)
277
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.asyncResult);
594
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.asyncResult);
952
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.buffer);
1233
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.asyncResult);
1304
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)
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);
521
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
664
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1306
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1886
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
2987
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
3004
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
3408
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
3822
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
3856
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
4276
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparer);
4330
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparison);
4403
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.comparison);
src\libraries\System.Private.CoreLib\src\System\Random.cs (2)
172
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.buffer);
560
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)
872
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
882
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
892
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
902
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
912
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)
330
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.action);
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (6)
723
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
748
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
799
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
837
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
860
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
920
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (5)
14
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.value);
110
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.anyOf);
125
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.anyOf);
309
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.anyOf);
324
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.anyOf);
src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (3)
371
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.obj);
451
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.obj);
533
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)
862
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
1420
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.culture);
1469
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.culture);
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (6)
1130
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1154
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1165
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1189
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1209
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.values);
1219
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);
767
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationAction);
772
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
952
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationAction);
957
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1166
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1171
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1387
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
1392
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)
508
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.action);
953
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1031
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
1148
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
3776
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationAction);
3782
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
3958
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationAction);
3964
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
4158
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
4164
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
4362
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.continuationFunction);
4368
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.scheduler);
4710
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
4784
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
4825
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
4862
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
4911
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
4936
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
5323
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
5443
if (exception == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.exception);
5457
if (exception == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.exception);
5610
if (function == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.function);
5654
if (function == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.function);
5933
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
5999
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
6268
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
6322
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.tasks);
6753
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);
498
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.task);
516
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.source);
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (5)
1838
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.callBack);
1856
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.callBack);
1874
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.callBack);
1905
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.callBack);
1919
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.callBack);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
774
ThrowArgumentNullException
(argName);
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (4)
535
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
559
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
560
if (format == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.format);
584
if (s == null) ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\TimeSpan.cs (2)
738
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.input);
753
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)
21
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.array);
560
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.type);
581
ThrowHelper.
ThrowArgumentNullException
(ExceptionArgument.type);