11 instantiations of DisposableFile
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (9)
VBCSCompiler.UnitTests (1)
29 references to DisposableFile
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (5)
VBCSCompiler.UnitTests (16)
CompilerServerTests.cs (16)
255private static DisposableFile GetResultFile(TempDirectory directory, string resultFileName)
277using (var resultFile = GetResultFile(path, "hello.exe"))
752using (var tmpFile = GetResultFile(rootDirectory, "lib.dll"))
758using (var hello1_file = GetResultFile(rootDirectory, "hello1.exe"))
777using (var hello2_file = GetResultFile(rootDirectory, "hello2.exe"))
815using (var hello3_file = GetResultFile(rootDirectory, "hello3.exe"))
856using (var tmpFile = GetResultFile(rootDirectory, "lib.dll"))
873using (var hello1_file = GetResultFile(rootDirectory, "hello1.exe"))
891using (var hello2_file = GetResultFile(rootDirectory, "hello2.exe"))
893var hello2exe = Temp.AddFile(hello2_file);
929using (var hello3_file = GetResultFile(rootDirectory, "hello3.exe"))
962private Task<DisposableFile> RunCompilationAsync(RequestLanguage language, string pipeName, int i, TempDirectory compilationDir)
1012var exeFile = GetResultFile(compilationDir, exeFileName);
1028var tasks = new Task<DisposableFile>[numberOfCompiles];
1086var resultFile = Temp.AddFile(GetResultFile(_tempDirectory, "hello1.exe"));
1138var resultFile = Temp.AddFile(GetResultFile(_tempDirectory, "hello1.exe"));