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