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)
2647
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
2663
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
2928
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (3)
367
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
391
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
416
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
);
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\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)
262
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (9)
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
);
1031
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
);
1052
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
);
1093
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
);
1135
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
);
669
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (3)
93
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
260
argument: (s is null) ? ExceptionArgument.
s
: ExceptionArgument.bytes,
273
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)
261
argument: (s is null) ? ExceptionArgument.
s
: ExceptionArgument.bytes,
274
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
, ExceptionResource.ArgumentOutOfRange_IndexCount);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
909
case ExceptionArgument.
s
:
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (3)
535
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
559
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
584
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
); }