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