1 write to _fileSystem
Microsoft.Build.Utilities.Core (1)
CachingFileSystemWrapper.cs (1)
21
_fileSystem
= fileSystem;
12 references to _fileSystem
Microsoft.Build.Utilities.Core (12)
CachingFileSystemWrapper.cs (12)
26
return CachedExistenceCheck(path, p =>
_fileSystem
.FileOrDirectoryExists(p));
31
return
_fileSystem
.GetAttributes(path);
36
return _lastWriteTimeCache.GetOrAdd(path, p =>
_fileSystem
.GetLastWriteTimeUtc(p));
41
return CachedExistenceCheck(path, p =>
_fileSystem
.DirectoryExists(p));
46
return CachedExistenceCheck(path, p =>
_fileSystem
.FileExists(p));
51
return
_fileSystem
.EnumerateDirectories(path, searchPattern, searchOption);
56
return
_fileSystem
.ReadFile(path);
61
return
_fileSystem
.GetFileStream(path, mode, access, share);
66
return
_fileSystem
.ReadFileAllText(path);
71
return
_fileSystem
.ReadFileAllBytes(path);
76
return
_fileSystem
.EnumerateFiles(path, searchPattern, searchOption);
81
return
_fileSystem
.EnumerateFileSystemEntries(path, searchPattern, searchOption);