361 references to CreateDirectory
InteractiveHost.UnitTests (17)
InteractiveHostCoreInitTests.cs (1)
56var srcDir = Temp.CreateDirectory();
InteractiveHostDesktopInitTests.cs (1)
29var srcDir = Temp.CreateDirectory();
InteractiveHostDesktopTests.cs (15)
366var dir = Temp.CreateDirectory(); 433var dir = Temp.CreateDirectory(); 453var dir1 = Temp.CreateDirectory(); 454var dir2 = Temp.CreateDirectory(); 455var dir3 = Temp.CreateDirectory(); 481var dir = Temp.CreateDirectory(); 500var dir = Temp.CreateDirectory(); 537var dir = Temp.CreateDirectory(); 572var dir = Temp.CreateDirectory(); 686var directory1 = Temp.CreateDirectory(); 690var initDirectory = Temp.CreateDirectory(); 699var rspDirectory = Temp.CreateDirectory(); 734var initDirectory = Temp.CreateDirectory(); 738var rspDirectory = Temp.CreateDirectory(); 909var dir = Temp.CreateDirectory();
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (8)
CopyRefAssemblyTests.cs (5)
30var dir = TempRoot.CreateDirectory(); 45var dir = TempRoot.CreateDirectory(); 63var dir = TempRoot.CreateDirectory(); 83var dir = TempRoot.CreateDirectory(); 110var dir = TempRoot.CreateDirectory();
DotNetSdkTests.cs (1)
25var sourcePackageDir = Temp.CreateDirectory().CreateDirectory("a=b, c");
TargetTests.cs (1)
796var intermediatePathDir = Temp.CreateDirectory();
TestUtilities\DotNetSdkTestBase.cs (1)
161ProjectDir = Temp.CreateDirectory();
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (45)
CommandLineIVTTests.cs (4)
24var dir = Temp.CreateDirectory(); 101var dir = Temp.CreateDirectory(); 179var dir = Temp.CreateDirectory(); 262var dir = Temp.CreateDirectory();
CommandLineTestBase.cs (1)
40var dir = temp.CreateDirectory();
CommandLineTests.cs (21)
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(); 564var parentDir = Temp.CreateDirectory(); 577var dir = Temp.CreateDirectory(); 619var folder = Temp.CreateDirectory(); 657var folder = Temp.CreateDirectory(); 675var folder = Temp.CreateDirectory(); 1223var dir = Temp.CreateDirectory(); 1874var dir = Temp.CreateDirectory(); 2241var dir = Temp.CreateDirectory(); 2273var dir = Temp.CreateDirectory(); 2301var dir = Temp.CreateDirectory(); 2428var dir = Temp.CreateDirectory();
SarifErrorLoggerTests.cs (9)
42var errorLogDir = Temp.CreateDirectory(); 73var errorLogDir = Temp.CreateDirectory(); 107var errorLogDir = Temp.CreateDirectory(); 139var outputDir = Temp.CreateDirectory(); 176var errorLogDir = Temp.CreateDirectory(); 211var errorLogDir = Temp.CreateDirectory(); 246var errorLogDir = Temp.CreateDirectory(); 281var errorLogDir = Temp.CreateDirectory(); 314var errorLogDir = Temp.CreateDirectory();
SarifV2ErrorLoggerTests.cs (6)
446var errorLogDir = Temp.CreateDirectory(); 524var sourceDir = Temp.CreateDirectory(); 528var errorLogDir = Temp.CreateDirectory(); 598var errorLogDir = Temp.CreateDirectory(); 667var errorLogDir = Temp.CreateDirectory(); 668var mappedDir = Temp.CreateDirectory();
TouchedFileLoggingTests.cs (4)
39var touchedDir = Temp.CreateDirectory(); 67var touchedDir = Temp.CreateDirectory(); 114var touchedDir = Temp.CreateDirectory(); 153var touchedDir = Temp.CreateDirectory();
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Workspaces\WorkspaceTests_EditorFeatures.cs (2)
1134var analyzerConfigPath = PathUtilities.CombineAbsoluteAndRelativePaths(Temp.CreateDirectory().Path, ".editorconfig"); 1379var analyzerConfigDocFilePath = PathUtilities.CombineAbsoluteAndRelativePaths(Temp.CreateDirectory().Path, ".editorconfig");
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (8)
Emit\CompilationEmitTests.cs (1)
4632var tmpDir = Temp.CreateDirectory();
Emit\DesktopStrongNameProviderTests.cs (7)
22var tempDir = Temp.CreateDirectory(); 37var tempDir = Temp.CreateDirectory(); 47var tempDir = Temp.CreateDirectory(); 57var tempDir = Temp.CreateDirectory(); 67var tempDir = Temp.CreateDirectory(); 77var tempDir = Temp.CreateDirectory(); 92var tempDir = Temp.CreateDirectory();
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Attributes\AttributeTests_Security.cs (3)
1477var tempDir = Temp.CreateDirectory(); 1568var tempDir = Temp.CreateDirectory(); 1605var tempDir = Temp.CreateDirectory();
Attributes\InternalsVisibleToAndStrongNameTests.cs (1)
54_signingTempDirectory = Temp.CreateDirectory();
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (8)
InteractiveSessionReferencesTests.cs (8)
623var root = Temp.CreateDirectory(); 681var root = Temp.CreateDirectory(); 747var root = Temp.CreateDirectory(); 815var root = Temp.CreateDirectory(); 883var root = Temp.CreateDirectory(); 951var root = Temp.CreateDirectory(); 1019var root = Temp.CreateDirectory(); 1087var root = Temp.CreateDirectory();
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (16)
CommandLineRunnerTests.cs (11)
380var dir = Temp.CreateDirectory(); 534var dir1 = Temp.CreateDirectory(); 537var dir2 = Temp.CreateDirectory(); 540var dir3 = Temp.CreateDirectory(); 568var dir1 = Temp.CreateDirectory(); 571var dir2 = Temp.CreateDirectory(); 574var dir3 = Temp.CreateDirectory(); 577var dir4 = Temp.CreateDirectory(); 595var dir = Temp.CreateDirectory(); 631var dir = Temp.CreateDirectory(); 826var root = Temp.CreateDirectory();
InteractiveSessionReferencesTests.cs (3)
38var dir = Temp.CreateDirectory(); 79var dir = Temp.CreateDirectory(); 128var dir = Temp.CreateDirectory();
InteractiveSessionTests.cs (2)
1289var dir = Temp.CreateDirectory(); 1319var dir = Temp.CreateDirectory();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Compilation\ReferenceManagerTests.cs (3)
923var dir = Temp.CreateDirectory(); 1037var dir1 = Temp.CreateDirectory(); 1040var dir2 = Temp.CreateDirectory();
DocumentationComments\DocumentationCommentCompilerTests.cs (2)
3643var rootDir = Temp.CreateDirectory(); 7599var dir = Temp.CreateDirectory();
Symbols\Metadata\PE\TypeForwarders.cs (2)
1556var folder = Temp.CreateDirectory(); 1726var folder = Temp.CreateDirectory();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
EditAndContinue\EditAndContinueLanguageServiceTests.cs (1)
237var dir = Temp.CreateDirectory();
Emit\CompilationOutputFilesTests.cs (1)
36var dir = Temp.CreateDirectory();
Microsoft.CodeAnalysis.Features.UnitTests (12)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (10)
62var dir = Temp.CreateDirectory(); 383var dir = Temp.CreateDirectory(); 564var dir = Temp.CreateDirectory(); 615var dir = Temp.CreateDirectory(); 758var dir = Temp.CreateDirectory(); 911var dir = Temp.CreateDirectory(); 1136var dir = Temp.CreateDirectory(); 1237var dir = Temp.CreateDirectory(); 1280var dir = Temp.CreateDirectory(); 1341var dir = Temp.CreateDirectory();
EditAndContinue\UnitTestingHotReloadServiceTests.cs (1)
31var dir = Temp.CreateDirectory();
EditAndContinue\WatchHotReloadServiceTests.cs (1)
42var dir = Temp.CreateDirectory();
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Utilities\AbstractLanguageServerHostTests.cs (1)
25MefCacheDirectory = TempRoot.CreateDirectory();
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
CSharpDeterministicKeyBuilderTests.cs (1)
412var fileSystem = new TestStrongNameFileSystem(temp.CreateDirectory().Path);
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (5)
MetadataShadowCopyProviderTests.cs (5)
84var dir = Temp.CreateDirectory(); 139var dir = Temp.CreateDirectory(); 196var dir = Temp.CreateDirectory(); 209var dir2 = Temp.CreateDirectory(); 223var dir = Temp.CreateDirectory();
Microsoft.CodeAnalysis.Test.Utilities (1)
AssemblyLoadTestFixture.cs (1)
126_directory = _temp.CreateDirectory();
Microsoft.CodeAnalysis.UnitTests (34)
AnalyzerAssemblyLoaderTests.cs (13)
342var tempDir = temp.CreateDirectory(); 563var tempDir = temp.CreateDirectory(); 673var tempDir = temp.CreateDirectory(); 728var tempDir = temp.CreateDirectory(); 1048var tempDir = temp.CreateDirectory(); 1310var dir = temp.CreateDirectory(); 1456var destFile = tempRoot.CreateDirectory().CreateOrOpenFile($"{assembly.GetName().Name}.dll").Path; 1490var tempDir = temp.CreateDirectory(); 1515var tempDir = temp.CreateDirectory(); 1544var tempDir = temp.CreateDirectory(); 1605var tempDir = temp.CreateDirectory(); 1640var tempDir = temp.CreateDirectory(); 1663var tempDir = temp.CreateDirectory();
Analyzers\AnalyzerFileReferenceTests.cs (6)
198var directory = Temp.CreateDirectory(); 230var directory = Temp.CreateDirectory(); 308var directory = Temp.CreateDirectory(); 337var directory = Temp.CreateDirectory(); 444var directory = Temp.CreateDirectory(); 481var directory = Temp.CreateDirectory();
AssemblyUtilitiesTests.cs (6)
44var directory = Temp.CreateDirectory(); 56var directory = Temp.CreateDirectory(); 69var directory = Temp.CreateDirectory(); 82var directory = Temp.CreateDirectory(); 95var directory = Temp.CreateDirectory(); 109var directory = Temp.CreateDirectory();
CommonCommandLineParserTests.cs (6)
33var dir = Temp.CreateDirectory(); 470var dir = Temp.CreateDirectory(); 979var dir = Temp.CreateDirectory(); 1010var dir = Temp.CreateDirectory(); 1043var dir = Temp.CreateDirectory(); 1092var dir = Temp.CreateDirectory();
FileSystem\RelativePathResolverTests.cs (1)
163var dir = Temp.CreateDirectory();
InvokeUtil.cs (1)
53AnalyzerTestKind.ShadowLoad => new ShadowCopyAnalyzerAssemblyLoader(compilerContext, tempRoot.CreateDirectory().Path, externalResolvers.ToImmutableArray()),
MetadataReferences\AssemblyMetadataTests.cs (1)
58var dir = Temp.CreateDirectory();
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (149)
CommandLineIVTTests.vb (5)
24Dim dir = Temp.CreateDirectory() 122Dim dir = Temp.CreateDirectory() 223Dim dir = Temp.CreateDirectory() 333Dim dir = Temp.CreateDirectory() 452Dim dir = Temp.CreateDirectory()
CommandLineTests.vb (137)
66Dim dir = Temp.CreateDirectory() 96Dim dir = Temp.CreateDirectory() 162Dim dir = Temp.CreateDirectory() 195Dim dir = Temp.CreateDirectory() 229Dim dir = Temp.CreateDirectory() 252Dim dir = Temp.CreateDirectory() 312Dim folder = Temp.CreateDirectory() 347Dim dir = Temp.CreateDirectory() 383Dim dir = Temp.CreateDirectory() 402Dim dir = Temp.CreateDirectory() 421Dim dir = Temp.CreateDirectory() 648Dim tempDir As String = Temp.CreateDirectory().Path 688Dim tempDir As String = Temp.CreateDirectory().Path 740Dim tempDir As String = Temp.CreateDirectory().Path 2147Dim dir = Temp.CreateDirectory() 2357Dim dir = Temp.CreateDirectory() 2404Dim folder = Temp.CreateDirectory() 2468Dim folder = Temp.CreateDirectory() 2597Dim dir = Temp.CreateDirectory() 2614Dim dir = Temp.CreateDirectory() 2632Dim dir = Temp.CreateDirectory() 2654Dim dir = Temp.CreateDirectory() 2688Dim dir = Temp.CreateDirectory() 2735Dim dir = Temp.CreateDirectory() 2787Dim dir = Temp.CreateDirectory() 2818Dim dir = Temp.CreateDirectory() 3179Dim dir = Temp.CreateDirectory() 3212Dim dir = Temp.CreateDirectory() 3357Dim dir = Temp.CreateDirectory() 3571Dim parentDir = Temp.CreateDirectory() 3583Dim parentDir = Temp.CreateDirectory() 3594Dim parentDir = Temp.CreateDirectory() 3602Dim parentDir = Temp.CreateDirectory() 3615Dim dir = Temp.CreateDirectory() 4096Dim dir = Temp.CreateDirectory() 4123Dim dir = Temp.CreateDirectory() 4174Dim dir = Temp.CreateDirectory() 4255Dim dir = Temp.CreateDirectory() 4274Dim dir = Temp.CreateDirectory() 4293Dim dir = Temp.CreateDirectory() 4312Dim dir = Temp.CreateDirectory() 4331Dim dir = Temp.CreateDirectory() 4350Dim dir = Temp.CreateDirectory() 5005Dim tempFolder = Temp.CreateDirectory() 5029Dim tempFolder = Temp.CreateDirectory() 5046Dim tempFolder = Temp.CreateDirectory() 5103Dim dir = Temp.CreateDirectory() 5170Dim dir = Temp.CreateDirectory() 5216Dim dir = Temp.CreateDirectory() 5284Dim dir = Temp.CreateDirectory() 5329Dim dir = Temp.CreateDirectory() 5372Dim file = Temp.CreateDirectory().CreateFile("vb.rsp") 5759Dim dir = Temp.CreateDirectory() 5903Dim dir = Temp.CreateDirectory() 5955Dim dir = Temp.CreateDirectory() 6008Dim dir = Temp.CreateDirectory() 6045Dim dir = Temp.CreateDirectory() 6095Dim dir = Temp.CreateDirectory() 6139Dim dir = Temp.CreateDirectory() 6187Dim dir = Temp.CreateDirectory() 6233Dim dir = Temp.CreateDirectory() 6275Dim dir = Temp.CreateDirectory() 6310Dim dir = Temp.CreateDirectory() 6342Dim dir = Temp.CreateDirectory() 6376Dim dir = Temp.CreateDirectory() 6410Dim dir = Temp.CreateDirectory() 6442Dim dir = Temp.CreateDirectory() 6466Dim dir = Temp.CreateDirectory() 6488Dim dir = Temp.CreateDirectory() 6803Dim dir = Temp.CreateDirectory() 6885Dim folder = Temp.CreateDirectory() 7509Dim dir = Temp.CreateDirectory() 7613Dim dir = Temp.CreateDirectory() 7669Dim dir = Temp.CreateDirectory() 7733Dim dir = Temp.CreateDirectory() 7799Dim baseDir = Temp.CreateDirectory() 7990Dim dir = Temp.CreateDirectory() 8023Dim dir = Temp.CreateDirectory() 8288Dim dir = Temp.CreateDirectory() 8310Dim dir = Temp.CreateDirectory() 8527Dim dir = Temp.CreateDirectory() 8604Dim dir = Temp.CreateDirectory() 8659Dim dir = Temp.CreateDirectory() 8708Dim dir = Temp.CreateDirectory() 8726Dim dir = Temp.CreateDirectory() 8747Dim dir = Temp.CreateDirectory() 8768Dim dir = Temp.CreateDirectory() 8789Dim dir = Temp.CreateDirectory() 8810Dim dir = Temp.CreateDirectory() 8831Dim dir = Temp.CreateDirectory() 8853Dim dir = Temp.CreateDirectory() 8874Dim dir = Temp.CreateDirectory() 8895Dim dir = Temp.CreateDirectory() 8920Dim dir = Temp.CreateDirectory() 9096Dim dir = Temp.CreateDirectory() 9150Dim dir = Temp.CreateDirectory() 9327Dim folderName = Temp.CreateDirectory().ToString() 9343Dim dir = Temp.CreateDirectory() 9419Dim dir = Temp.CreateDirectory() 9458Dim dir = Temp.CreateDirectory() 9565Dim dir = Temp.CreateDirectory() 9580Dim srcPath = MakeTrivialExe(Temp.CreateDirectory().Path) 9599Dim srcPath = MakeTrivialExe(Temp.CreateDirectory().Path) 9619Dim srcPath = MakeTrivialExe(Temp.CreateDirectory().Path) 9640Dim srcPath = MakeTrivialExe(Temp.CreateDirectory().Path) 9680Dim dir = Temp.CreateDirectory() 9703Dim dir = Temp.CreateDirectory() 9726Dim tempDir = Temp.CreateDirectory() 9727Dim workingDir = Temp.CreateDirectory() 9777Dim dir = Temp.CreateDirectory() 9821Dim dir = Temp.CreateDirectory() 9866Dim dir = Temp.CreateDirectory() 9891Dim dir = Temp.CreateDirectory() 9957Dim dir = Temp.CreateDirectory() 9995Dim dir = Temp.CreateDirectory() 10042Dim dir = Temp.CreateDirectory() 10094Dim dir = Temp.CreateDirectory() 10143Dim dir = Temp.CreateDirectory() 10180Dim dir = Temp.CreateDirectory() 10218Dim dir = Temp.CreateDirectory() 10283Dim dir = Temp.CreateDirectory() 10330Dim dir = Temp.CreateDirectory() 10363Dim dir = Temp.CreateDirectory() 10396Dim dir = Temp.CreateDirectory() 10414Dim srcDirectory = Temp.CreateDirectory() 10498Dim dir = Temp.CreateDirectory() 10529Dim directory = Temp.CreateDirectory() 10560Dim dir = Temp.CreateDirectory() 10585Dim dir = Temp.CreateDirectory() 10607Dim dir = Temp.CreateDirectory() 10634Dim dir = Temp.CreateDirectory() 10697Dim dir = Temp.CreateDirectory() 10724Dim dir = Temp.CreateDirectory() 10769Dim dir = Temp.CreateDirectory() 10812Dim dir = Temp.CreateDirectory() 10858Dim dir = Temp.CreateDirectory() 10922Dim directory = Temp.CreateDirectory()
SarifErrorLoggerTests.vb (4)
48Dim errorLogDir = Temp.CreateDirectory() 83Dim errorLogDir = Temp.CreateDirectory() 124Dim errorLogDir = Temp.CreateDirectory() 162Dim outputDir = Temp.CreateDirectory()
TouchedFileLoggingTests.vb (3)
35Dim touchedDir = Temp.CreateDirectory() 66Dim touchedDir = Temp.CreateDirectory() 108Dim touchedDir = Temp.CreateDirectory()
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\EmitTestStrongNameProvider.vb (1)
23Dim testFileSystem = New TestStrongNameFileSystem(Temp.CreateDirectory().Path) With {
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
WorkspaceTestBase.cs (1)
26this.SolutionDirectory = Temp.CreateDirectory();
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
CommandLineProject\CommandLineProjectWorkspaceTests.cs (1)
22var tempDirectory = tempRoot.CreateDirectory();
SolutionTests\SolutionWithSourceGeneratorTests.cs (1)
1031var tempDirectory = tempRoot.CreateDirectory();
WorkspaceTests\AdhocWorkspaceTests.cs (1)
283var analyzerConfigDocFilePath = PathUtilities.CombineAbsoluteAndRelativePaths(Temp.CreateDirectory().Path, ".editorconfig");
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (4)
ProjectSystemShim\TempPECompilerServiceTests.cs (1)
25var directory = tempRoot.CreateDirectory();
ProjectSystemShim\VisualStudioCompilationOutputFilesTests.cs (3)
32var dir = Temp.CreateDirectory(); 73var dir = Temp.CreateDirectory(); 82var dir = Temp.CreateDirectory();
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Diagnostics\VisualStudioDiagnosticAnalyzerProviderTests.vb (1)
52Dim dir = tempRoot.CreateDirectory
Roslyn.VisualStudio.Next.UnitTests (3)
Remote\SnapshotSerializationTests.cs (2)
479var dir = temp.CreateDirectory(); 565var tempDir = tempRoot.CreateDirectory();
Services\ServiceHubServicesTests.cs (1)
347var file = tempRoot.CreateDirectory().CreateFile("p1.dll");
SemanticSearch.BuildTask.UnitTests (3)
GenerateFilteredReferenceAssembliesTaskTests.cs (3)
112var dir = Temp.CreateDirectory(); 157var dir = Temp.CreateDirectory(); 197var dir = Temp.CreateDirectory();
VBCSCompiler.UnitTests (25)
AnalyzerConsistencyCheckerTests.cs (8)
85var directory = Temp.CreateDirectory(); 97var directory = Temp.CreateDirectory(); 112var directory = Temp.CreateDirectory(); 137var directory = Temp.CreateDirectory(); 178var directory = Temp.CreateDirectory(); 200var directory = Temp.CreateDirectory(); 222var directory = Temp.CreateDirectory(); 236var directory = Temp.CreateDirectory();
BuildClientTests.cs (2)
40workingDir: Temp.CreateDirectory().Path, 41tempDir: Temp.CreateDirectory().Path);
BuildServerConnectionTests.cs (4)
40var workingDirectory = TempRoot.CreateDirectory().Path; 69var workingDirectory = TempRoot.CreateDirectory().Path; 99ProtocolUtil.CreateEmptyCSharp(TempRoot.CreateDirectory().Path), 120var workingDirectory = TempRoot.CreateDirectory().Path;
CompilerServerApiTest.cs (1)
115var request = BuildRequest.Create(RequestLanguage.CSharpCompile, workingDirectory: temp.CreateDirectory().Path, tempDirectory: null, compilerHash: BuildProtocolConstants.GetCommitHash(), libDirectory: null, args: Array.Empty<string>());
CompilerServerTests.cs (4)
70_tempDirectory = Temp.CreateDirectory(); 222var tempDir = Temp.CreateDirectory(); 1033var compilationDir = Temp.CreateDirectory(); 1462var dir = Temp.CreateDirectory();
TouchedFileLoggingTests.cs (4)
49var loader = DefaultAnalyzerAssemblyLoader.CreateNonLockingLoader(Temp.CreateDirectory().Path); 59var touchedDir = Temp.CreateDirectory(); 100var loader = DefaultAnalyzerAssemblyLoader.CreateNonLockingLoader(Temp.CreateDirectory().Path); 110var touchedDir = Temp.CreateDirectory();
VBCSCompilerServerTests.cs (2)
305var workingDirectory = TempRoot.CreateDirectory().Path; 346var workingDirectory = TempRoot.CreateDirectory().Path;