3 implementations of IFile
dotnet.Tests (1)
ConfigurerTests\GivenAFunctionReturnStringAndFakeFileSystem.cs (1)
92private class NoPermissionFileFake : IFile
Microsoft.DotNet.InternalAbstractions (1)
FileWrapper.cs (1)
6internal class FileWrapper : IFile
Microsoft.NET.TestFramework (1)
Mock\FileSystemMockBuilder.cs (1)
334private class FileMock : IFile
15 references to IFile
dotnet (4)
ShellShim\LinuxEnvironmentPath.cs (2)
14private readonly IFile _fileSystem; 28IFile fileSystem)
ShellShim\OsxBashEnvironmentPath.cs (2)
16IFile fileSystem 21private readonly IFile _fileSystem = fileSystem ?? throw new ArgumentNullException(nameof(fileSystem));
dotnet.Tests (6)
BuildServerTests\BuildServerProviderTests.cs (1)
152var fileMock = new Mock<IFile>();
ConfigurerTests\GivenAFirstTimeUseNoticeSentinel.cs (2)
131public FileSystemMock(IFile file, IDirectory directory) 137public IFile File { get; private set; }
ConfigurerTests\GivenAFunctionReturnStringAndFakeFileSystem.cs (1)
72var mockFile = new Mock<IFile>();
ShellShimTests\LinuxEnvironmentPathTests.cs (1)
100var fileSystem = new FileSystemMockBuilder().Build().File;
ShellShimTests\OsxEnvironmentPathTests.cs (1)
100var fileSystem = new FileSystemMockBuilder().Build().File;
Microsoft.DotNet.Configurer (2)
UserLevelCacheWriter.cs (2)
11private readonly IFile _file; 63internal UserLevelCacheWriter(string dotnetUserProfileFolderPath, IFile file, IDirectory directory)
Microsoft.DotNet.InternalAbstractions (2)
FileSystemWrapper.cs (1)
10public IFile File { get; } = new FileWrapper();
IFileSystem.cs (1)
8IFile File { get; }
Microsoft.NET.TestFramework (1)
Mock\FileSystemMockBuilder.cs (1)
328public IFile File { get; }