2 writes to IsDirectory
Microsoft.Build.Tasks.Core (2)
FileState.cs (2)
135
IsDirectory
= (data.fileAttributes & NativeMethodsShared.FILE_ATTRIBUTE_DIRECTORY) != 0;
162
IsDirectory
= true;
6 references to IsDirectory
Microsoft.Build.Tasks.Core (6)
FileState.cs (6)
136
IsReadOnly = !
IsDirectory
140
Length =
IsDirectory
? 0 : (((long)data.fileSizeHigh << 0x20) | data.fileSizeLow);
258
internal bool FileExists => !_data.Value.ThrowNonIoExceptionIfPending() && (_data.Value.Exists && !_data.Value.
IsDirectory
);
265
internal bool DirectoryExists => !_data.Value.ThrowNonIoExceptionIfPending() && (_data.Value.Exists && _data.Value.
IsDirectory
);
297
_data.Value.ThrowFileInfoException(!_data.Value.Exists || _data.Value.
IsDirectory
);
326
return _data.Value.
IsDirectory
;