2 writes to IsDirectory
Microsoft.Build.Tasks.Core (2)
FileState.cs (2)
134
IsDirectory
= (data.fileAttributes & NativeMethodsShared.FILE_ATTRIBUTE_DIRECTORY) != 0;
161
IsDirectory
= true;
6 references to IsDirectory
Microsoft.Build.Tasks.Core (6)
FileState.cs (6)
135
IsReadOnly = !
IsDirectory
139
Length =
IsDirectory
? 0 : (((long)data.fileSizeHigh << 0x20) | data.fileSizeLow);
267
internal bool FileExists => !_data.Value.ThrowNonIoExceptionIfPending() && (_data.Value.Exists && !_data.Value.
IsDirectory
);
274
internal bool DirectoryExists => !_data.Value.ThrowNonIoExceptionIfPending() && (_data.Value.Exists && _data.Value.
IsDirectory
);
306
_data.Value.ThrowFileInfoException(!_data.Value.Exists || _data.Value.
IsDirectory
);
327
return _data.Value.
IsDirectory
;