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