18 references to EnumerateDirectoryStatus
Microsoft.Build.Engine.OM.UnitTests (18)
WindowsFileSystem.cs (10)
108!(result.Status == WindowsNative.EnumerateDirectoryStatus.Success || 109result.Status == WindowsNative.EnumerateDirectoryStatus.SearchDirectoryNotFound)) 133WindowsNative.EnumerateDirectoryStatus findHandleOpenStatus = hr switch 135WindowsNative.ErrorFileNotFound => WindowsNative.EnumerateDirectoryStatus.SearchDirectoryNotFound, 136WindowsNative.ErrorPathNotFound => WindowsNative.EnumerateDirectoryStatus.SearchDirectoryNotFound, 137WindowsNative.ErrorDirectory => WindowsNative.EnumerateDirectoryStatus.CannotEnumerateFile, 138WindowsNative.ErrorAccessDenied => WindowsNative.EnumerateDirectoryStatus.AccessDenied, 139_ => WindowsNative.EnumerateDirectoryStatus.UnknownError, 190WindowsNative.EnumerateDirectoryStatus.Success, 197WindowsNative.EnumerateDirectoryStatus.UnknownError,
WindowsNative.cs (8)
126public readonly EnumerateDirectoryStatus Status; 134public EnumerateDirectoryResult(string directory, EnumerateDirectoryStatus status, int nativeErrorCode) 146get { return Status == EnumerateDirectoryStatus.Success; } 158Debug.Assert(Status == EnumerateDirectoryStatus.UnknownError); 168Debug.Assert(Status != EnumerateDirectoryStatus.UnknownError && 169Status != EnumerateDirectoryStatus.Success); 178Debug.Assert(Status != EnumerateDirectoryStatus.Success); 179if (Status == EnumerateDirectoryStatus.UnknownError)