1 type derived from TempDirectory
Microsoft.CodeAnalysis.Test.Utilities (1)
1 instantiation of TempDirectory
Microsoft.CodeAnalysis.Test.Utilities (1)
302 references to TempDirectory
InteractiveHost.UnitTests (22)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (23)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (60)
CommandLineTests.cs (36)
137var dir = Temp.CreateDirectory();
162var dir = Temp.CreateDirectory();
186var dir = Temp.CreateDirectory();
215var dir = Temp.CreateDirectory();
272var dir = Temp.CreateDirectory();
331var dir = Temp.CreateDirectory();
363var dir = Temp.CreateDirectory();
397var dir = Temp.CreateDirectory();
417var dir = Temp.CreateDirectory();
469var parentDir = Temp.CreateDirectory();
470var baseDir = parentDir.CreateDirectory("temp");
471var dirX = baseDir.CreateDirectory("x");
472var dirAB = baseDir.CreateDirectory("a b");
473var dirSubDir = baseDir.CreateDirectory("subdir");
474var dirGoo = parentDir.CreateDirectory("goo");
475var dirBar = parentDir.CreateDirectory("bar");
564var parentDir = Temp.CreateDirectory();
577var dir = Temp.CreateDirectory();
619var folder = Temp.CreateDirectory();
657var folder = Temp.CreateDirectory();
675var folder = Temp.CreateDirectory();
680var folderA = folder.CreateDirectory("A");
685var folderB = folder.CreateDirectory("B");
739private void CreateFile(TempDirectory folder, string file)
1223var dir = Temp.CreateDirectory();
1874var dir = Temp.CreateDirectory();
2241var dir = Temp.CreateDirectory();
2273var dir = Temp.CreateDirectory();
2301var dir = Temp.CreateDirectory();
2428var dir = Temp.CreateDirectory();
2476private static void ValidateEmbeddedSources_Portable(Dictionary<string, string> expectedEmbeddedMap, TempDirectory dir, bool isEmbeddedPdb)
2507private static void ValidateEmbeddedSources_Windows(Dictionary<string, string> expectedEmbeddedMap, TempDirectory dir)
9285TempDirectory tempParentDir = Temp.CreateDirectory();
9286TempDirectory tempDir = tempParentDir.CreateDirectory("tmpDir");
10551private string VerifyOutput(TempDirectory sourceDir, TempFile sourceFile,
11617void AssertPdbEmit(TempDirectory dir, string pdbPath, string pePdbPath, params string[] extraArgs)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (8)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (24)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (20)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (12)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.Features.UnitTests (12)
Microsoft.CodeAnalysis.LanguageServer.UnitTests (2)
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (5)
Microsoft.CodeAnalysis.Test.Utilities (16)
Microsoft.CodeAnalysis.UnitTests (45)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (4)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (3)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (8)
Roslyn.VisualStudio.Next.UnitTests (2)
SemanticSearch.BuildTask.UnitTests (3)
VBCSCompiler.UnitTests (26)
CompilerServerTests.cs (15)
65private readonly TempDirectory _tempDirectory;
98private static void ReferenceNetstandardDllIfCoreClr(TempDirectory currentDirectory, List<string> arguments)
108private static void CreateFiles(TempDirectory currentDirectory, IEnumerable<KeyValuePair<string, string>> files)
179TempDirectory currentDirectory,
222var tempDir = Temp.CreateDirectory();
255private static DisposableFile GetResultFile(TempDirectory directory, string resultFileName)
275private void VerifyResultAndOutput((int ExitCode, string Output) result, TempDirectory path, string expectedOutput)
290var newTempDir = _tempDirectory.CreateDirectory(new string('a', 100 - _tempDirectory.Path.Length));
736TempDirectory rootDirectory = _tempDirectory.CreateDirectory("ReferenceCachingVB");
853TempDirectory rootDirectory = _tempDirectory.CreateDirectory("ReferenceCachingCS");
962private Task<DisposableFile> RunCompilationAsync(RequestLanguage language, string pipeName, int i, TempDirectory compilationDir)
1033var compilationDir = Temp.CreateDirectory();
1047var libDirectory = _tempDirectory.CreateDirectory("LibraryDir");
1096var libDirectory = _tempDirectory.CreateDirectory("LibraryDir");
1462var dir = Temp.CreateDirectory();