4 writes to Exists
Microsoft.Build.Tasks.Core (4)
FileState.cs (4)
87
Exists
= false;
156
Exists
= true;
168
Exists
= true;
180
Exists
= false;
5 references to Exists
Microsoft.Build.Tasks.Core (5)
FileState.cs (5)
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);
292
return _data.Value.
Exists
? _data.Value.LastWriteTimeUtc : new DateTime(1601, 1, 1);
306
_data.Value.ThrowFileInfoException(!_data.Value.
Exists
|| _data.Value.IsDirectory);
334
_data.Value.ThrowFileInfoException(!_data.Value.
Exists
);