78 references to s
System.Private.CoreLib (78)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
104
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (19)
218
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }
671
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
686
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
706
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
727
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
744
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
786
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
819
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
861
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
886
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
916
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
933
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
953
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
979
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1003
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1025
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1047
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1064
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1170
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\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\runtime\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\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
530
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
398
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
357
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
137
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
137
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
153
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
150
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StringReader.cs (1)
20
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
260
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal128.cs (1)
147
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal32.cs (1)
151
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal64.cs (1)
158
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
140
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
401
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (2)
536
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
669
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (3)
94
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
261
argument: (s is null) ? ExceptionArgument.
s
: ExceptionArgument.bytes,
274
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
, ExceptionResource.ArgumentOutOfRange_IndexCount);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UnicodeEncoding.cs (1)
113
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF32Encoding.cs (1)
121
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (1)
157
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.cs (2)
261
argument: (s is null) ? ExceptionArgument.
s
: ExceptionArgument.bytes,
274
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
, ExceptionResource.ArgumentOutOfRange_IndexCount);
src\runtime\src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
897
case ExceptionArgument.
s
:
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
139
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
132
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
148
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
147
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }