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)
221
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }
674
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
689
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
709
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
730
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
747
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
789
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
822
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
864
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
889
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
919
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
936
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
956
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
982
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1006
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1028
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1050
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1067
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1173
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)
400
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)
364
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)
169
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal32.cs (1)
161
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal64.cs (1)
170
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
); }