55 references to ThrowIfNull
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\ArgHelper.cs (1)
31
ArgumentNullException.
ThrowIfNull
(argument, paramName);
System.Private.CoreLib (54)
src\runtime\src\libraries\System.Private.CoreLib\src\Internal\Runtime\InteropServices\ComponentActivator.cs (1)
188
ArgumentNullException.
ThrowIfNull
(assembly);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStream.cs (1)
154
ArgumentNullException.
ThrowIfNull
(pointer);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\SecureString.cs (1)
28
ArgumentNullException.
ThrowIfNull
(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Decoder.cs (5)
100
ArgumentNullException.
ThrowIfNull
(bytes);
162
ArgumentNullException.
ThrowIfNull
(bytes);
163
ArgumentNullException.
ThrowIfNull
(chars);
274
ArgumentNullException.
ThrowIfNull
(bytes);
275
ArgumentNullException.
ThrowIfNull
(chars);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\DecoderNLS.cs (5)
68
ArgumentNullException.
ThrowIfNull
(bytes);
119
ArgumentNullException.
ThrowIfNull
(bytes);
120
ArgumentNullException.
ThrowIfNull
(chars);
172
ArgumentNullException.
ThrowIfNull
(bytes);
173
ArgumentNullException.
ThrowIfNull
(chars);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Encoder.cs (5)
97
ArgumentNullException.
ThrowIfNull
(chars);
159
ArgumentNullException.
ThrowIfNull
(chars);
160
ArgumentNullException.
ThrowIfNull
(bytes);
273
ArgumentNullException.
ThrowIfNull
(chars);
274
ArgumentNullException.
ThrowIfNull
(bytes);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\EncoderNLS.cs (5)
67
ArgumentNullException.
ThrowIfNull
(chars);
108
ArgumentNullException.
ThrowIfNull
(chars);
109
ArgumentNullException.
ThrowIfNull
(bytes);
158
ArgumentNullException.
ThrowIfNull
(chars);
159
ArgumentNullException.
ThrowIfNull
(bytes);
src\runtime\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\runtime\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\runtime\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\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Overlapped.cs (2)
117
ArgumentNullException.
ThrowIfNull
(nativeOverlappedPtr);
125
ArgumentNullException.
ThrowIfNull
(nativeOverlappedPtr);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolBoundHandle.PlatformNotSupported.cs (2)
51
ArgumentNullException.
ThrowIfNull
(overlapped);
59
ArgumentNullException.
ThrowIfNull
(overlapped);
System\Runtime\InteropServices\PInvokeMarshal.cs (2)
349
ArgumentNullException.
ThrowIfNull
(newBuffer);
435
ArgumentNullException.
ThrowIfNull
(pNative);