75 references to s
System.Private.CoreLib (75)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
104if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\Char.cs (19)
218if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); } 656ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 671ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 691ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 712ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 729ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 771ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 804ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 846ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 871ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 901ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 918ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 938ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 964ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 988ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1010ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1032ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1049ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1155ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Convert.cs (3)
2647ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 2663ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 2928ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (3)
367if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 391if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 416if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (6)
1572if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1582if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1589if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1605if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1617if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1631if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
530ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
398ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Globalization\CharUnicodeInfo.cs (5)
44ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 111ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 145ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 220ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 349ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
343ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
137if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
137if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
153if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
150if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\IO\StringReader.cs (1)
20ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
262ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (9)
972ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 982ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 992ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1002ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1012ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1031ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.s); 1052ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.s); 1093ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.s); 1135ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
140if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
401ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (2)
536ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 669ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Text\Latin1Encoding.cs (3)
93ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 260argument: (s is null) ? ExceptionArgument.s : ExceptionArgument.bytes, 273ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.s, ExceptionResource.ArgumentOutOfRange_IndexCount);
src\libraries\System.Private.CoreLib\src\System\Text\UnicodeEncoding.cs (1)
113ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Text\UTF32Encoding.cs (1)
121ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (1)
157ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.cs (2)
261argument: (s is null) ? ExceptionArgument.s : ExceptionArgument.bytes, 274ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.s, ExceptionResource.ArgumentOutOfRange_IndexCount);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
909case ExceptionArgument.s:
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (3)
535if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 559if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 584if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
139if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
132if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
148if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); }
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
147if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); }