4 instantiations of TestableFileSystem
Microsoft.CodeAnalysis.Test.Utilities (4)
36 references to TestableFileSystem
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (7)
CommandLineTests.cs (7)
8993csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9016csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9038csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9062csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9090csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9116csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9141csc.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)