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