74 references to s
System.Private.CoreLib (74)
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)
198
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }
604
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
619
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
639
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
660
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
677
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
719
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
752
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
794
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
819
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
849
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
866
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
886
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
912
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
936
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
958
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
980
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
997
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1103
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
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 (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)
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
);
1626
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1640
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)
396
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\Runtime\InteropServices\Marshal.cs (9)
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
);
931
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
);
952
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
);
993
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
);
1035
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)
399
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)
897
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
); }