56 references to ThrowIfNull
System.Private.CoreLib (56)
src\libraries\System.Private.CoreLib\src\Internal\Runtime\InteropServices\ComponentActivator.cs (1)
190
ArgumentNullException.
ThrowIfNull
(assembly);
src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStream.cs (1)
153
ArgumentNullException.
ThrowIfNull
(pointer);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Java\JavaMarshal.cs (1)
18
ArgumentNullException.
ThrowIfNull
(markCrossReferences);
src\libraries\System.Private.CoreLib\src\System\Security\SecureString.cs (1)
27
ArgumentNullException.
ThrowIfNull
(value);
src\libraries\System.Private.CoreLib\src\System\Text\Decoder.cs (5)
99
ArgumentNullException.
ThrowIfNull
(bytes);
161
ArgumentNullException.
ThrowIfNull
(bytes);
162
ArgumentNullException.
ThrowIfNull
(chars);
273
ArgumentNullException.
ThrowIfNull
(bytes);
274
ArgumentNullException.
ThrowIfNull
(chars);
src\libraries\System.Private.CoreLib\src\System\Text\DecoderNLS.cs (5)
67
ArgumentNullException.
ThrowIfNull
(bytes);
118
ArgumentNullException.
ThrowIfNull
(bytes);
119
ArgumentNullException.
ThrowIfNull
(chars);
171
ArgumentNullException.
ThrowIfNull
(bytes);
172
ArgumentNullException.
ThrowIfNull
(chars);
src\libraries\System.Private.CoreLib\src\System\Text\Encoder.cs (5)
96
ArgumentNullException.
ThrowIfNull
(chars);
158
ArgumentNullException.
ThrowIfNull
(chars);
159
ArgumentNullException.
ThrowIfNull
(bytes);
272
ArgumentNullException.
ThrowIfNull
(chars);
273
ArgumentNullException.
ThrowIfNull
(bytes);
src\libraries\System.Private.CoreLib\src\System\Text\EncoderNLS.cs (5)
66
ArgumentNullException.
ThrowIfNull
(chars);
107
ArgumentNullException.
ThrowIfNull
(chars);
108
ArgumentNullException.
ThrowIfNull
(bytes);
157
ArgumentNullException.
ThrowIfNull
(chars);
158
ArgumentNullException.
ThrowIfNull
(bytes);
src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (7)
573
ArgumentNullException.
ThrowIfNull
(chars);
696
ArgumentNullException.
ThrowIfNull
(chars);
697
ArgumentNullException.
ThrowIfNull
(bytes);
774
ArgumentNullException.
ThrowIfNull
(bytes);
845
ArgumentNullException.
ThrowIfNull
(bytes);
846
ArgumentNullException.
ThrowIfNull
(chars);
906
ArgumentNullException.
ThrowIfNull
(bytes);
src\libraries\System.Private.CoreLib\src\System\Text\UnicodeEncoding.cs (6)
127
ArgumentNullException.
ThrowIfNull
(chars);
215
ArgumentNullException.
ThrowIfNull
(chars);
216
ArgumentNullException.
ThrowIfNull
(bytes);
258
ArgumentNullException.
ThrowIfNull
(bytes);
307
ArgumentNullException.
ThrowIfNull
(bytes);
308
ArgumentNullException.
ThrowIfNull
(chars);
src\libraries\System.Private.CoreLib\src\System\Text\UTF32Encoding.cs (6)
135
ArgumentNullException.
ThrowIfNull
(chars);
223
ArgumentNullException.
ThrowIfNull
(chars);
224
ArgumentNullException.
ThrowIfNull
(bytes);
266
ArgumentNullException.
ThrowIfNull
(bytes);
315
ArgumentNullException.
ThrowIfNull
(bytes);
316
ArgumentNullException.
ThrowIfNull
(chars);
src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (6)
171
ArgumentNullException.
ThrowIfNull
(chars);
259
ArgumentNullException.
ThrowIfNull
(chars);
260
ArgumentNullException.
ThrowIfNull
(bytes);
302
ArgumentNullException.
ThrowIfNull
(bytes);
351
ArgumentNullException.
ThrowIfNull
(bytes);
352
ArgumentNullException.
ThrowIfNull
(chars);
src\libraries\System.Private.CoreLib\src\System\Threading\Overlapped.cs (2)
116
ArgumentNullException.
ThrowIfNull
(nativeOverlappedPtr);
124
ArgumentNullException.
ThrowIfNull
(nativeOverlappedPtr);
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolBoundHandle.Portable.cs (2)
61
ArgumentNullException.
ThrowIfNull
(overlapped);
78
ArgumentNullException.
ThrowIfNull
(overlapped);
src\System\Reflection\Emit\DynamicILGenerator.cs (3)
895
ArgumentNullException.
ThrowIfNull
(code);
912
ArgumentNullException.
ThrowIfNull
(exceptions);
927
ArgumentNullException.
ThrowIfNull
(localSignature);