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