6 writes to Exists
Microsoft.Build.Tasks.Core (6)
FileState.cs (6)
81
Exists
= false;
121
Exists
= false;
133
Exists
= true;
148
Exists
= true;
160
Exists
= true;
172
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);
326
_data.Value.ThrowFileInfoException(!_data.Value.
Exists
);