3 writes to _data
Microsoft.Build.Tasks.Core (3)
FileState.cs (3)
253_data = new Lazy<FileDirInfo>(() => new FileDirInfo(Path)); 322_data = new Lazy<FileDirInfo>(() => new FileDirInfo(value)); 345_data = new Lazy<FileDirInfo>(() => new FileDirInfo(Path));
19 references to _data
Microsoft.Build.Tasks.Core (19)
FileState.cs (19)
261internal bool IsReadOnly => !DirectoryExists && _data.Value.IsReadOnly; 268internal bool FileExists => !_data.Value.ThrowNonIoExceptionIfPending() && (_data.Value.Exists && !_data.Value.IsDirectory); 275internal bool DirectoryExists => !_data.Value.ThrowNonIoExceptionIfPending() && (_data.Value.Exists && _data.Value.IsDirectory); 292_data.Value.ThrowException(); 293return _data.Value.Exists ? _data.Value.LastWriteTimeUtc : new DateTime(1601, 1, 1); 306_data.Value.ThrowException(); 307_data.Value.ThrowFileInfoException(!_data.Value.Exists || _data.Value.IsDirectory); 308return _data.Value.Length; 334_data.Value.ThrowException(); 335_data.Value.ThrowFileInfoException(!_data.Value.Exists); 336return _data.Value.IsDirectory;