Base:
property
IsInvalid
Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid.IsInvalid
15 references to IsInvalid
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TargetUpToDateChecker_Tests.cs (1)
1048if (handle.IsInvalid)
PresentationCore (2)
MS\Internal\FontCache\FontCacheUtil.cs (1)
826if (fileHandle.IsInvalid)
System\Windows\Media\Imaging\BitmapDownload.cs (1)
134if (fileHandle.IsInvalid)
System.Console (2)
System\ConsolePal.Unix.ConsoleStream.cs (1)
28Debug.Assert(!handle.IsInvalid, "Expected valid console handle");
System\TermInfo.DatabaseFactory.cs (1)
88if (fd.IsInvalid)
System.IO.FileSystem.Watcher (2)
System\IO\FileSystemWatcher.Linux.cs (2)
37if (handle.IsInvalid) 293Debug.Assert(inotifyHandle != null && !inotifyHandle.IsInvalid && !inotifyHandle.IsClosed);
System.IO.MemoryMappedFiles (4)
System\IO\MemoryMappedFiles\MemoryMappedFile.Unix.cs (3)
197if (fd.IsInvalid) 220} while (fd.IsInvalid); 280if (fd.IsInvalid)
System\IO\MemoryMappedFiles\MemoryMappedView.Unix.cs (1)
57Debug.Assert(!fd.IsInvalid);
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (2)
99if (handle.IsInvalid) 516Debug.Assert(!IsInvalid);
src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs (1)
69if (handle.IsInvalid)
src\libraries\System.Private.CoreLib\src\System\IO\RandomAccess.cs (1)
290else if (handle.IsInvalid)