1 implementation of File
xunit.console (1)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\FileSystemWrapper.cs (1)
10
public IFile
File
{ get; } = new FileWrapper();
8 references to File
xunit.console (8)
common\AssemblyResolution\DependencyContextAssemblyCache.cs (1)
217
if (fileSystem.
File
.Exists(resolvedAssemblyPath))
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\DependencyContextLoader.cs (4)
97
Debug.Assert(_fileSystem.
File
.Exists(location));
98
using (var stream = _fileSystem.
File
.OpenRead(location))
117
if (_fileSystem.
File
.Exists(depsJsonFile))
119
using (var stream = _fileSystem.
File
.OpenRead(depsJsonFile))
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\Resolution\ReferenceAssemblyPathResolver.cs (2)
66
if (_fileSystem.
File
.Exists(relativeToReferenceAssemblies))
77
if (_fileSystem.
File
.Exists(fallbackFile))
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\Resolution\ResolverUtils.cs (1)
30
if (fileSystem.
File
.Exists(fullName))