Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsInvalid

override bool Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid.IsInvalid
getinherited

Definition at line 8 of file SafeHandleZeroOrMinusOneIsInvalid.cs.

9 {
10 get
11 {
12 if (!(handle == IntPtr.Zero))
13 {
14 return handle == new IntPtr(-1);
15 }
16 return true;
17 }
18 }
static readonly IntPtr Zero
Definition IntPtr.cs:18

Referenced by System.IO.Pipes.AnonymousPipeClientStream.AnonymousPipeClientStream(), System.IO.Pipes.AnonymousPipeClientStream.AnonymousPipeClientStream(), System.IO.Pipes.AnonymousPipeServerStream.AnonymousPipeServerStream(), System.IO.Pipes.NamedPipeClientStream.NamedPipeClientStream(), System.IO.Pipes.NamedPipeServerStream.NamedPipeServerStream(), System.IO.Strategies.Net5CompatFileStreamStrategy.CompletionSource.Cancel(), System.IO.Pipes.NamedPipeServerStream.Create(), System.Threading.EventWaitHandle.CreateEventCore(), System.Threading.Mutex.CreateMutexCore(), System.Threading.Semaphore.CreateSemaphoreCore(), System.IO.MemoryMappedFiles.MemoryMappedView.CreateView(), Internal.Cryptography.Pal.ChainPal.FromHandle(), System.Net.CertificateValidationPal.GetRemoteCertificate(), System.Net.UnmanagedCertificateContext.GetRemoteCertificatesFromStoreContext(), System.Net.Security.SafeDeleteContext.MustRunAcceptSecurityContext_SECURITY(), System.Net.Security.SafeDeleteContext.MustRunInitializeSecurityContext(), System.Threading.EventWaitHandle.OpenExistingWorker(), System.Threading.Mutex.OpenExistingWorker(), System.Threading.Semaphore.OpenExistingWorker(), System.Diagnostics.ProcessManager.OpenProcess(), System.IO.Pipes.PipeStream.PipeValueTaskSource.RegisterForCancellation(), System.Net.WebSockets.SafeWebSocketHandle.ReleaseHandle(), System.Security.Cryptography.SafeHashHandle.SetParent(), System.Security.Cryptography.SafeKeyHandle.SetParent(), System.Threading.TimerQueue.SetTimer(), and System.IO.Pipes.NamedPipeClientStream.TryConnect().