2 writes to _data
Microsoft.Build.Tasks.Core (2)
FileState.cs (2)
252_data = new Lazy<FileDirInfo>(() => new FileDirInfo(_filename)); 336_data = new Lazy<FileDirInfo>(() => new FileDirInfo(_filename));
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; 325_data.Value.ThrowException(); 326_data.Value.ThrowFileInfoException(!_data.Value.Exists); 327return _data.Value.IsDirectory;