75 references to s
System.Private.CoreLib (75)
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 (19)
218
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }
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\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 (3)
396
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
420
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
445
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (6)
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
);
1617
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1631
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
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\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\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\StringReader.cs (1)
20
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
260
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (9)
974
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
984
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
994
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1004
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1014
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1033
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
);
1054
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
);
1095
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
);
1137
ThrowHelper.ThrowArgumentOutOfRangeException(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\Text\Encoding.cs (2)
536
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
670
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (3)
95
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
265
argument: (s is null) ? ExceptionArgument.
s
: ExceptionArgument.bytes,
278
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
, ExceptionResource.ArgumentOutOfRange_IndexCount);
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)
264
argument: (s is null) ? ExceptionArgument.
s
: ExceptionArgument.bytes,
277
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
, ExceptionResource.ArgumentOutOfRange_IndexCount);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
903
case ExceptionArgument.
s
:
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (3)
564
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
588
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
613
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
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
); }