Home
last modified time | relevance | path

Searched refs:IsHandleInvalid (Results 1 – 2 of 2) sorted by relevance

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/
H A DFileSystemWatcher.Win32.cs25 if (!IsHandleInvalid(_directoryHandle)) in StartRaisingEvents()
36 if (IsHandleInvalid(_directoryHandle)) in StartRaisingEvents()
79 if (IsHandleInvalid(_directoryHandle)) in StopRaisingEvents()
103 if (!IsHandleInvalid(_directoryHandle)) in FinalizeDispose()
117 private static bool IsHandleInvalid(SafeFileHandle handle) in IsHandleInvalid() method in System.IO.FileSystemWatcher
141 if (!_enabled || IsHandleInvalid(state.DirectoryHandle)) in Monitor()
165 …Debug.Assert(IsHandleInvalid(state.DirectoryHandle), "ArgumentNullException from something other t… in Monitor()
186 if (!IsHandleInvalid(state.DirectoryHandle)) in Monitor()
200 if (IsHandleInvalid(state.DirectoryHandle)) in ReadDirectoryChangesCallback()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/services/io/system/io/
H A DFileSystemWatcher.cs277 private bool IsHandleInvalid { property in System.IO.FileSystemWatcher
641 if (!IsHandleInvalid) { in Dispose()
694 if (!enabled || IsHandleInvalid) { in Monitor()
726 if (!IsHandleInvalid) { in Monitor()
740 … Debug.Assert(IsHandleInvalid, "ObjectDisposedException from something other than SafeHandle?"); in Monitor()
742 … Debug.Assert(IsHandleInvalid, "ArgumentNullException from something other than SafeHandle?"); in Monitor()
749 if (!IsHandleInvalid) { in Monitor()
974 if (!IsHandleInvalid) { in StartRaisingEvents()
991 if (IsHandleInvalid) { in StartRaisingEvents()
1028 if (IsHandleInvalid) { in StopRaisingEvents()