4 instantiations of TestableFileSystem
Microsoft.CodeAnalysis.Test.Utilities (4)
36 references to TestableFileSystem
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (7)
CommandLineTests.cs (7)
8996csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9019csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9041csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9065csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9093csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9119csc.FileSystem = TestableFileSystem.CreateForStandard(openFileFunc: (file, mode, access, share) =>
9144csc.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)