Base:
property
IsInvalid
Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid.IsInvalid
26 references to IsInvalid
aspire (1)
Processes\DetachedProcessLauncher.Windows.cs (1)
32if (nulHandle.IsInvalid)
csc (1)
src\Compilers\Shared\NativeMethods.cs (1)
129if (handle.IsInvalid)
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TargetUpToDateChecker_Tests.cs (1)
1049if (handle.IsInvalid)
Microsoft.Build.Framework (1)
NativeMethods.cs (1)
1246if (!handle.IsInvalid)
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Shared\NativeMethods.cs (1)
129if (handle.IsInvalid)
PresentationCore (2)
MS\Internal\FontCache\FontCacheUtil.cs (1)
826if (fileHandle.IsInvalid)
System\Windows\Media\Imaging\BitmapDownload.cs (1)
134if (fileHandle.IsInvalid)
Replay (1)
src\Compilers\Shared\NativeMethods.cs (1)
129if (handle.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 (1)
System\IO\FileSystemWatcher.Linux.cs (1)
150if (handle.IsInvalid)
System.IO.MemoryMappedFiles (4)
System\IO\MemoryMappedFiles\MemoryMappedFile.Unix.cs (3)
191if (fd.IsInvalid) 214} while (fd.IsInvalid); 274if (fd.IsInvalid)
System\IO\MemoryMappedFiles\MemoryMappedView.Unix.cs (1)
57Debug.Assert(!fd.IsInvalid);
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (2)
118if (handle.IsInvalid) 551Debug.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)
src\libraries\System.Private.CoreLib\src\System\IO\SharedMemoryManager.Unix.cs (5)
195if (fileHandle.IsInvalid) 423if (!fd.IsInvalid) 472if (fd.IsInvalid) 725if (!_suppressed && !FileHandle.IsInvalid) 777if (fd.IsInvalid)
vbc (1)
src\Compilers\Shared\NativeMethods.cs (1)
129if (handle.IsInvalid)
VBCSCompiler (1)
src\Compilers\Shared\NativeMethods.cs (1)
129if (handle.IsInvalid)