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