19 references to ThrowIfNull
System.Private.CoreLib (19)
src\runtime\src\libraries\System.Private.CoreLib\src\Internal\Runtime\InteropServices\ComponentActivator.cs (2)
82ArgumentNullException.ThrowIfNull(functionHandle); 264ArgumentNullException.ThrowIfNull(functionHandle);
src\runtime\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); 584ArgumentNullException.ThrowIfNull(ptr); 592ArgumentNullException.ThrowIfNull(ptr); 1198ArgumentNullException.ThrowIfNull(ptr); 1221ArgumentNullException.ThrowIfNull(ptr); 1338ArgumentNullException.ThrowIfNull(ptr);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NativeLibrary.cs (2)
158ArgumentNullException.ThrowIfNull(handle); 174ArgumentNullException.ThrowIfNull(handle);
System\Runtime\InteropServices\Marshal.NativeAot.cs (2)
92ArgumentNullException.ThrowIfNull(ptr); 120ArgumentNullException.ThrowIfNull(ptr);