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