4 instantiations of TestableFileSystem
Microsoft.CodeAnalysis.Test.Utilities (4)
36 references to TestableFileSystem
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (7)
CommandLineTests.cs (7)
8963csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
8986csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9008csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9032csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9060csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9086csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9111csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
Microsoft.CodeAnalysis.Rebuild.UnitTests (4)
Microsoft.CodeAnalysis.Test.Utilities (21)
TestableCompiler.cs (14)
44/// Provides an easy to test version of <see cref="CommonCompiler"/>. This uses <see cref="TestableFileSystem"/>
57internal TestableFileSystem FileSystem { get; }
60internal TestableCompiler(CommonCompiler compiler, TestableFileSystem fileSystem, BuildPaths buildPaths)
101TestableFileSystem fileSystem,
110TestableFileSystem? fileSystem,
119fileSystem ??= TestableFileSystem.CreateForMap();
129TestableFileSystem? fileSystem,
139internal CSharpCompilerImpl(string[] args, BuildPaths buildPaths, TestableFileSystem? fileSystem)
147TestableFileSystem fileSystem,
156TestableFileSystem? fileSystem,
166fileSystem ??= TestableFileSystem.CreateForMap();
196TestableFileSystem? fileSystem,
206internal BasicCompilerImpl(string[] args, BuildPaths buildPaths, TestableFileSystem? fileSystem)
212private static void AppendNetCoreApp(TestableFileSystem fileSystem, string sdkPath, List<string> commandLineArgs, bool includeVisualBasicRuntime)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (4)