3 writes to _data
Microsoft.Build.Tasks.Core (3)
FileState.cs (3)
243_data = new Lazy<FileDirInfo>(() => new FileDirInfo(Path)); 312_data = new Lazy<FileDirInfo>(() => new FileDirInfo(value)); 335_data = new Lazy<FileDirInfo>(() => new FileDirInfo(Path));
19 references to _data
Microsoft.Build.Tasks.Core (19)
FileState.cs (19)
251internal bool IsReadOnly => !DirectoryExists && _data.Value.IsReadOnly; 258internal bool FileExists => !_data.Value.ThrowNonIoExceptionIfPending() && (_data.Value.Exists && !_data.Value.IsDirectory); 265internal bool DirectoryExists => !_data.Value.ThrowNonIoExceptionIfPending() && (_data.Value.Exists && _data.Value.IsDirectory); 282_data.Value.ThrowException(); 283return _data.Value.Exists ? _data.Value.LastWriteTimeUtc : new DateTime(1601, 1, 1); 296_data.Value.ThrowException(); 297_data.Value.ThrowFileInfoException(!_data.Value.Exists || _data.Value.IsDirectory); 298return _data.Value.Length; 324_data.Value.ThrowException(); 325_data.Value.ThrowFileInfoException(!_data.Value.Exists); 326return _data.Value.IsDirectory;