3 writes to _data
Microsoft.Build.Tasks.Core (3)
FileState.cs (3)
252_data = new Lazy<FileDirInfo>(() => new FileDirInfo(Path)); 321_data = new Lazy<FileDirInfo>(() => new FileDirInfo(value)); 344_data = new Lazy<FileDirInfo>(() => new FileDirInfo(Path));
19 references to _data
Microsoft.Build.Tasks.Core (19)
FileState.cs (19)
260internal bool IsReadOnly => !DirectoryExists && _data.Value.IsReadOnly; 267internal bool FileExists => !_data.Value.ThrowNonIoExceptionIfPending() && (_data.Value.Exists && !_data.Value.IsDirectory); 274internal bool DirectoryExists => !_data.Value.ThrowNonIoExceptionIfPending() && (_data.Value.Exists && _data.Value.IsDirectory); 291_data.Value.ThrowException(); 292return _data.Value.Exists ? _data.Value.LastWriteTimeUtc : new DateTime(1601, 1, 1); 305_data.Value.ThrowException(); 306_data.Value.ThrowFileInfoException(!_data.Value.Exists || _data.Value.IsDirectory); 307return _data.Value.Length; 333_data.Value.ThrowException(); 334_data.Value.ThrowFileInfoException(!_data.Value.Exists); 335return _data.Value.IsDirectory;