2 writes to IsDirectory
Microsoft.Build.Tasks.Core (2)
FileState.cs (2)
143
IsDirectory
= ((FILE_FLAGS_AND_ATTRIBUTES)data.dwFileAttributes & FILE_FLAGS_AND_ATTRIBUTES.FILE_ATTRIBUTE_DIRECTORY) != 0;
170
IsDirectory
= true;
6 references to IsDirectory
Microsoft.Build.Tasks.Core (6)
FileState.cs (6)
144
IsReadOnly = !
IsDirectory
147
Length =
IsDirectory
? 0 : ((long)((ulong)data.nFileSizeHigh << 32) | data.nFileSizeLow);
268
internal bool FileExists => !_data.Value.ThrowNonIoExceptionIfPending() && (_data.Value.Exists && !_data.Value.
IsDirectory
);
275
internal bool DirectoryExists => !_data.Value.ThrowNonIoExceptionIfPending() && (_data.Value.Exists && _data.Value.
IsDirectory
);
307
_data.Value.ThrowFileInfoException(!_data.Value.Exists || _data.Value.
IsDirectory
);
336
return _data.Value.
IsDirectory
;