21 references to ERROR_INVALID_HANDLE
mscorlib (21)
microsoft\win32\registrykey.cs (2)
890
int ret = Win32Native.
ERROR_INVALID_HANDLE
;
1671
case Win32Native.
ERROR_INVALID_HANDLE
:
system\console.cs (2)
986
if (errorCode == Win32Native.
ERROR_INVALID_HANDLE
&& !throwOnNoConsole)
1576
if (errorCode == Win32Native.
ERROR_INVALID_HANDLE
)
system\io\filestream.cs (4)
1150
if (hr == Win32Native.
ERROR_INVALID_HANDLE
)
1716
if (hr == Win32Native.
ERROR_INVALID_HANDLE
)
2531
if (hr == Win32Native.
ERROR_INVALID_HANDLE
)
2588
if (hr == Win32Native.
ERROR_INVALID_HANDLE
)
system\security\accesscontrol\eventwaithandlesecurity.cs (1)
142
case Win32Native.
ERROR_INVALID_HANDLE
:
system\security\accesscontrol\filesecurity.cs (1)
353
case Win32Native.
ERROR_INVALID_HANDLE
:
system\security\accesscontrol\mutexsecurity.cs (1)
142
case Win32Native.
ERROR_INVALID_HANDLE
:
system\security\accesscontrol\nativeobjectsecurity.cs (1)
297
else if ( error == Win32Native.
ERROR_INVALID_HANDLE
)
system\security\accesscontrol\registrysecurity.cs (1)
172
case Win32Native.
ERROR_INVALID_HANDLE
:
system\security\cryptography\utils.cs (1)
327
else if (error == Win32Native.
ERROR_INVALID_HANDLE
)
system\security\principal\windowsidentity.cs (2)
178
if (Marshal.GetLastWin32Error() == Win32Native.
ERROR_INVALID_HANDLE
)
967
case Win32Native.
ERROR_INVALID_HANDLE
:
system\threading\eventwaithandle.cs (3)
84
if(null != name && 0 != name.Length && Win32Native.
ERROR_INVALID_HANDLE
== errorCode)
146
if(null != name && 0 != name.Length && Win32Native.
ERROR_INVALID_HANDLE
== errorCode)
256
if(null != name && 0 != name.Length && Win32Native.
ERROR_INVALID_HANDLE
== errorCode)
system\threading\mutex.cs (2)
193
if(null != m_name && 0 != m_name.Length && Win32Native.
ERROR_INVALID_HANDLE
== errorCode)
395
if (null != name && 0 != name.Length && Win32Native.
ERROR_INVALID_HANDLE
== errorCode)