Base:
property
IsInvalid
System.Runtime.InteropServices.SafeHandle.IsInvalid
5 references to IsInvalid
System (5)
net\System\Net\_SecureChannel.cs (1)
1052if (!cachedCreds && m_SecurityContext != null && !m_SecurityContext.IsInvalid && !m_CredentialsHandle.IsInvalid)
net\System\Net\_SslSessionsCache.cs (4)
141if (cached == null || cached.IsClosed || cached._Target.IsInvalid) 159if (creds.IsInvalid) 169if (cached == null || cached.IsClosed || cached._Target.IsInvalid) 212if (!creds.IsClosed && !creds.IsInvalid && (cached = SafeCredentialReference.CreateReference(creds)) != null)