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)
1613
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1623
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1630
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1646
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1658
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
1672
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)
147
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
144
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)
874
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
884
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
894
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
904
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
914
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
933
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
);
954
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
);
995
ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.
s
);
1037
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)
905
case ExceptionArgument.
s
:
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (3)
533
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
557
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
582
if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
);
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
138
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)
142
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
141
if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
s
); }