74 references to s
System.Private.CoreLib (74)
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)
199if (s is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); } 637ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 652ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 672ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 693ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 710ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 752ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 785ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 827ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 852ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 882ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 899ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 919ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 945ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 969ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 991ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1013ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1030ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1136ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
src\libraries\System.Private.CoreLib\src\System\Convert.cs (3)
2647ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 2663ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 2930ThrowHelper.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)
1581if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1591if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1598if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1614if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1626if (s == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 1640if (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)
396ThrowHelper.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\Runtime\InteropServices\Marshal.cs (9)
872ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 882ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 892ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 902ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 912ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s); 931ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.s); 952ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.s); 993ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.s); 1035ThrowHelper.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)
399ThrowHelper.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)
897case 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); }