20 references to ThrowIfNull
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\Internal\Runtime\InteropServices\ComponentActivator.cs (2)
84
ArgumentNullException.
ThrowIfNull
(functionHandle);
266
ArgumentNullException.
ThrowIfNull
(functionHandle);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (13)
45
ArgumentNullException.
ThrowIfNull
(ptr);
63
ArgumentNullException.
ThrowIfNull
(ptr);
82
ArgumentNullException.
ThrowIfNull
(ptr);
135
ArgumentNullException.
ThrowIfNull
(pUnk);
146
ArgumentNullException.
ThrowIfNull
(pUnk);
153
ArgumentNullException.
ThrowIfNull
(pUnk);
228
ArgumentNullException.
ThrowIfNull
(destination);
278
ArgumentNullException.
ThrowIfNull
(source);
588
ArgumentNullException.
ThrowIfNull
(ptr);
596
ArgumentNullException.
ThrowIfNull
(ptr);
1096
ArgumentNullException.
ThrowIfNull
(ptr);
1119
ArgumentNullException.
ThrowIfNull
(ptr);
1236
ArgumentNullException.
ThrowIfNull
(ptr);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NativeLibrary.cs (2)
158
ArgumentNullException.
ThrowIfNull
(handle);
174
ArgumentNullException.
ThrowIfNull
(handle);
src\System\Runtime\InteropServices\ComWrappers.cs (1)
293
ArgumentNullException.
ThrowIfNull
(externalComObject);
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (2)
246
ArgumentNullException.
ThrowIfNull
(ptr);
307
ArgumentNullException.
ThrowIfNull
(ptr);