Base:
2 references to IsInvalid
System.Security.Cryptography.Pkcs (2)
Internal\Cryptography\Pal\Windows\PkcsPalWindows.cs (1)
118if (handle == null || handle.IsInvalid)
Microsoft\Win32\SafeHandles\SafeProvOrNCryptKeyHandleUwp.cs (1)
24Debug.Assert(!IsInvalid);