3 implementations of IFileSystem
Microsoft.Build.Tasks.Core (3)
CachingFileSystemWrapper.cs (1)
13internal sealed class CachingFileSystemWrapper : IFileSystem
ManagedFileSystem.cs (1)
15internal class ManagedFileSystem : IFileSystem
MSBuildOnWindowsFileSystem.cs (1)
18internal sealed class MSBuildOnWindowsFileSystem : IFileSystem
18 references to IFileSystem
Microsoft.Build.Tasks.Core (18)
CachingFileSystemWrapper.cs (2)
15private readonly IFileSystem _fileSystem; 19public CachingFileSystemWrapper(IFileSystem fileSystem)
FileMatcher.cs (7)
26private readonly IFileSystem _fileSystem; 87public FileMatcher(IFileSystem fileSystem, ConcurrentDictionary<string, IReadOnlyList<string>> fileEntryExpansionCache = null) : this( 100internal FileMatcher(IFileSystem fileSystem, GetFileSystemEntries getFileSystemEntries, ConcurrentDictionary<string, IReadOnlyList<string>> getFileSystemDirectoryEntriesCache = null) 222private static IReadOnlyList<string> GetAccessibleFileSystemEntries(IFileSystem fileSystem, FileSystemEntity entityType, string path, string pattern, string projectDirectory, bool stripProjectDirectory) 245private static IReadOnlyList<string> GetAccessibleFilesAndDirectories(IFileSystem fileSystem, string path, string pattern) 311IFileSystem fileSystem, 377IFileSystem fileSystem,
FileSystems.cs (3)
9/// Factory for <see cref="IFileSystem"/> 13public static IFileSystem Default = GetFileSystem(); 15private static IFileSystem GetFileSystem()
FileUtilities.cs (6)
122private static readonly IFileSystem DefaultFileSystem = FileSystems.Default; 992internal static bool DirectoryExistsNoThrow(string fullPath, IFileSystem fileSystem = null) 1016internal static bool FileExistsNoThrow(string fullPath, IFileSystem fileSystem = null) 1040internal static bool FileOrDirectoryExistsNoThrow(string fullPath, IFileSystem fileSystem = null) 1438internal static string GetDirectoryNameOfFileAbove(string startingDirectory, string fileName, IFileSystem fileSystem = null) 1479internal static string GetPathOfFileAbove(string file, string startingDirectory, IFileSystem fileSystem = null)