1 implementation of IFileSystem
Microsoft.Extensions.DependencyModel (1)
FileSystemWrapper.cs (1)
6internal sealed class FileSystemWrapper : IFileSystem
19 references to IFileSystem
Microsoft.Extensions.DependencyModel (19)
DependencyContextLoader.cs (2)
19private readonly IFileSystem _fileSystem; 33IFileSystem fileSystem,
FileSystemWrapper.cs (1)
8public static IFileSystem Default { get; } = new FileSystemWrapper();
Resolution\AppBaseCompilationAssemblyResolver.cs (3)
14private readonly IFileSystem _fileSystem; 28internal AppBaseCompilationAssemblyResolver(IFileSystem fileSystem) 33internal AppBaseCompilationAssemblyResolver(IFileSystem fileSystem, string basePath, DependencyContextPaths dependencyContextPaths)
Resolution\DotNetReferenceAssembliesPathResolver.cs (2)
14internal static string? Resolve(IEnvironment environment, IFileSystem fileSystem) 30private static string? GetDefaultDotNetReferenceAssembliesPath(IFileSystem fileSystem)
Resolution\PackageCompilationAssemblyResolver.cs (4)
13private readonly IFileSystem _fileSystem; 27IFileSystem fileSystem) 32internal PackageCompilationAssemblyResolver(IFileSystem fileSystem, string[] nugetPackageDirectories) 95private static bool TryResolveFromPackagePath(IFileSystem fileSystem, CompilationLibrary library, string basePath, [MaybeNullWhen(false)] out IEnumerable<string> results)
Resolution\ReferenceAssemblyPathResolver.cs (5)
13private readonly IFileSystem _fileSystem; 27internal ReferenceAssemblyPathResolver(IFileSystem fileSystem, IEnvironment environment) 34internal ReferenceAssemblyPathResolver(IFileSystem fileSystem, string? defaultReferenceAssembliesPath, string[] fallbackSearchPaths) 92internal static string[] GetFallbackSearchPaths(IFileSystem fileSystem, IEnvironment environment) 114internal static string? GetDefaultReferenceAssembliesPath(IFileSystem fileSystem, IEnvironment environment)
Resolution\ResolverUtils.cs (2)
10internal static bool TryResolvePackagePath(IFileSystem fileSystem, CompilationLibrary library, string basePath, out string packagePath) 27internal static bool TryResolveAssemblyFile(IFileSystem fileSystem, string basePath, string assemblyPath, out string fullName)