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