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)
260
internal bool IsReadOnly => !DirectoryExists &&
_data
.Value.IsReadOnly;
267
internal bool FileExists => !
_data
.Value.ThrowNonIoExceptionIfPending() && (
_data
.Value.Exists && !
_data
.Value.IsDirectory);
274
internal bool DirectoryExists => !
_data
.Value.ThrowNonIoExceptionIfPending() && (
_data
.Value.Exists &&
_data
.Value.IsDirectory);
291
_data
.Value.ThrowException();
292
return
_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);
307
return
_data
.Value.Length;
325
_data
.Value.ThrowException();
326
_data
.Value.ThrowFileInfoException(!
_data
.Value.Exists);
327
return
_data
.Value.IsDirectory;