29 references to NULL
System.Core (29)
Microsoft\Win32\UnsafeNativeMethods.cs (2)
261
UnsafeNativeMethods.
NULL
, errorCode, 0, sb, sb.Capacity, UnsafeNativeMethods.
NULL
);
System\IO\LogStream.cs (1)
128
_handle = UnsafeNativeMethods.SafeCreateFile(filePath, fAccess, share, secAttrs, mode, flagsAndAttributes, UnsafeNativeMethods.
NULL
);
System\IO\Pipes\Pipe.cs (11)
606
if (!UnsafeNativeMethods.ConnectNamedPipe(InternalHandle, UnsafeNativeMethods.
NULL
)) {
871
if (!UnsafeNativeMethods.GetNamedPipeHandleState(InternalHandle, UnsafeNativeMethods.
NULL
, UnsafeNativeMethods.
NULL
,
872
UnsafeNativeMethods.
NULL
, UnsafeNativeMethods.
NULL
, userName, userName.Capacity)) {
1212
UnsafeNativeMethods.
NULL
); // template file: null
1337
UnsafeNativeMethods.
NULL
); // template file: null
1377
if (!UnsafeNativeMethods.GetNamedPipeHandleState(InternalHandle, UnsafeNativeMethods.
NULL
, out numInstances,
1378
UnsafeNativeMethods.
NULL
, UnsafeNativeMethods.
NULL
, UnsafeNativeMethods.
NULL
, 0)) {
System\IO\Pipes\PipeStream.cs (15)
841
if (!UnsafeNativeMethods.GetNamedPipeInfo(m_handle, out pipeFlags, UnsafeNativeMethods.
NULL
, UnsafeNativeMethods.
NULL
,
842
UnsafeNativeMethods.
NULL
)) {
870
if (!UnsafeNativeMethods.GetNamedPipeInfo(m_handle, UnsafeNativeMethods.
NULL
, UnsafeNativeMethods.
NULL
, out inBufferSize, UnsafeNativeMethods.
NULL
)) {
897
else if (!UnsafeNativeMethods.GetNamedPipeInfo(m_handle, UnsafeNativeMethods.
NULL
, out outBufferSize,
898
UnsafeNativeMethods.
NULL
, UnsafeNativeMethods.
NULL
)) {
930
if (!UnsafeNativeMethods.SetNamedPipeHandleState(m_handle, &pipeReadType, UnsafeNativeMethods.
NULL
, UnsafeNativeMethods.
NULL
)) {
946
if (!UnsafeNativeMethods.GetNamedPipeHandleState(SafePipeHandle, out flags, UnsafeNativeMethods.
NULL
, UnsafeNativeMethods.
NULL
,
947
UnsafeNativeMethods.
NULL
, UnsafeNativeMethods.
NULL
, 0)) {