1 implementation of File
Microsoft.Extensions.DependencyModel (1)
FileSystemWrapper.cs (1)
10public IFile File { get; } = new FileWrapper();
8 references to File
Microsoft.Extensions.DependencyModel (8)
DependencyContextLoader.cs (5)
93Debug.Assert(_fileSystem.File.Exists(location)); 94using (Stream stream = _fileSystem.File.OpenRead(location)) 116using (Stream stream = _fileSystem.File.OpenRead(depsJsonFile)) 137bool depsJsonFileExists = _fileSystem.File.Exists(depsJsonFile); 148depsJsonFileExists = _fileSystem.File.Exists(depsJsonFile);
Resolution\ReferenceAssemblyPathResolver.cs (2)
70if (_fileSystem.File.Exists(relativeToReferenceAssemblies)) 82if (_fileSystem.File.Exists(fallbackFile))
Resolution\ResolverUtils.cs (1)
30if (fileSystem.File.Exists(fullName))