123 references to CreateDirectory
InteractiveHost.UnitTests (4)
InteractiveHostDesktopTests.cs (4)
539var dir1 = dir.CreateDirectory("1"); 540var dir2 = dir.CreateDirectory("2"); 574var dir1 = dir.CreateDirectory("1"); 575var dir2 = dir.CreateDirectory("2");
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (11)
DotNetSdkTests.cs (7)
25var sourcePackageDir = Temp.CreateDirectory().CreateDirectory("a=b, c"); 411var subdir = ProjectDir.CreateDirectory("subdir"); 441var subdir = ProjectDir.CreateDirectory("subdir"); 471var subdir = ProjectDir.CreateDirectory("subdir"); 505var subdir = ProjectDir.CreateDirectory("subdir"); 538var subdir = ProjectDir.CreateDirectory("subdir"); 602var subdir = ProjectDir.CreateDirectory("subdir");
TestUtilities\DotNetSdkTestBase.cs (4)
163ObjDir = ProjectDir.CreateDirectory("obj"); 164OutDir = ProjectDir.CreateDirectory("bin").CreateDirectory(Configuration).CreateDirectory(TargetFramework);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (12)
CommandLineTests.cs (12)
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"); 680var folderA = folder.CreateDirectory("A"); 685var folderB = folder.CreateDirectory("B"); 1227var file4 = dir.CreateDirectory("d1").CreateFile("d.txt"); 1228var file5 = dir.CreateDirectory("d2").CreateFile("e.cs"); 9286TempDirectory tempDir = tempParentDir.CreateDirectory("tmpDir"); 11663dir.CreateDirectory("pdb");
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (16)
InteractiveSessionReferencesTests.cs (16)
624var dir1 = root.CreateDirectory("1"); 628var dir2 = root.CreateDirectory("2"); 682var dir1 = root.CreateDirectory("1"); 686var dir2 = root.CreateDirectory("2"); 748var dir1 = root.CreateDirectory("1"); 752var dir2 = root.CreateDirectory("2"); 816var dir1 = root.CreateDirectory("1"); 820var dir2 = root.CreateDirectory("2"); 884var dir1 = root.CreateDirectory("1"); 888var dir2 = root.CreateDirectory("2"); 952var dir1 = root.CreateDirectory("1"); 956var dir2 = root.CreateDirectory("2"); 1020var dir1 = root.CreateDirectory("1"); 1024var dir2 = root.CreateDirectory("2"); 1088var dir1 = root.CreateDirectory("1"); 1092var dir2 = root.CreateDirectory("2");
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (4)
CommandLineRunnerTests.cs (2)
827var dir1 = root.CreateDirectory("1"); 831var dir2 = root.CreateDirectory("2");
InteractiveSessionReferencesTests.cs (2)
83var dir1 = dir.CreateDirectory("1"); 84var dir2 = dir.CreateDirectory("2");
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
DocumentationComments\DocumentationCommentCompilerTests.cs (3)
3645var dir1 = rootDir.CreateDirectory("d1"); 3648var dir2 = rootDir.CreateDirectory("d2"); 3651var dir3 = rootDir.CreateDirectory("d3");
Symbols\Metadata\PE\TypeForwarders.cs (2)
1557var folderA = folder.CreateDirectory("A"); 1558var folderB = folder.CreateDirectory("B");
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (1)
MetadataShadowCopyProviderTests.cs (1)
226var docGreek = dir.CreateDirectory(elGR.Name).CreateFile("a.xml").WriteAllText("Greek");
Microsoft.CodeAnalysis.Test.Utilities (13)
AssemblyLoadTestFixture.cs (13)
167AnalyzerWithLocResourceEnGB = GenerateDll("AnalyzerWithLoc.resources", _directory.CreateDirectory("en-GB"), AnalyzerWithLocResourceEnGBSource); 195DeltaPublicSigned1 = GenerateDll("DeltaPublicSigned", _directory.CreateDirectory("Delta1PublicSigned"), Delta1Source, publicKeyOpt: SigningTestHelpers.PublicKey); 220var v2Directory = _directory.CreateDirectory("Version2"); 222var v2PublicSignedDirectory = _directory.CreateDirectory("Version2PublicSigned"); 245GammaReferencingPublicSigned = GenerateDll("GammaReferencingPublicSigned", _directory.CreateDirectory("GammaReferencingPublicSigned"), GammaSource, MetadataReference.CreateFromFile(DeltaPublicSigned1)); 303var v2BDirectory = _directory.CreateDirectory("Version2B"); 322var v3Directory = _directory.CreateDirectory("Version3"); 341var sciUserDirectory = _directory.CreateDirectory("SCIUser"); 388var analyzerReferencesDelta1Directory = _directory.CreateDirectory("AnalyzerReferencesDelta1"); 405var faultyAnalyzerDirectory = _directory.CreateDirectory("FaultyAnalyzer"); 417var analyzerWithDependencyDirectory = _directory.CreateDirectory("AnalyzerWithDependency"); 459var analyzerWithFakeCompilerDependencyDirectory = _directory.CreateDirectory("AnalyzerWithFakeCompilerDependency"); 487var analyzerWithLaterFakeCompileDirectory = _directory.CreateDirectory("AnalyzerWithLaterFakeCompilerDependency");
Microsoft.CodeAnalysis.UnitTests (23)
AnalyzerAssemblyLoaderTests.cs (14)
343var delta1Copy = tempDir.CreateDirectory("a").CreateFile("Delta.dll").CopyContentFrom(testFixture.Delta1).Path; 566var deltaFile = tempDir.CreateDirectory("a").CreateFile("Delta.dll").CopyContentFrom(testFixture.Delta1).Path; 567var gammaFile = tempDir.CreateDirectory("b").CreateFile("Gamma.dll").CopyContentFrom(testFixture.Gamma).Path; 678var deltaFile1 = tempDir.CreateDirectory("a").CreateFile("Delta.dll").CopyContentFrom(testFixture.Delta1).Path; 679var tempSubDir = tempDir.CreateDirectory("b"); 731var deltaFile = tempDir.CreateDirectory("a").CreateFile("Delta.dll").CopyContentFrom(testFixture.Delta1).Path; 732var gammaFile = tempDir.CreateDirectory("b").CreateFile("Gamma.dll").CopyContentFrom(testFixture.Gamma).Path; 1049var tempDir1 = tempDir.CreateDirectory("a"); 1050var tempDir2 = tempDir.CreateDirectory("b"); 1547var tempDir1 = tempDir.CreateDirectory("a"); 1548var tempDir2 = tempDir.CreateDirectory("b"); 1549var tempDir3 = tempDir.CreateDirectory("c"); 1642var analyzerResourcesPath = tempDir.CreateDirectory("en-GB").CreateFile("AnalyzerWithLoc.resources.dll").CopyContentFrom(testFixture.AnalyzerWithLocResourceEnGB).Path; 1665var analyzerResourcesPath = tempDir.CreateDirectory("es").CreateFile("AnalyzerWithLoc.resources.dll").CopyContentFrom(testFixture.AnalyzerWithLocResourceEnGB).Path;
AssemblyUtilitiesTests.cs (7)
72var satelliteFile = directory.CreateDirectory("de").CreateFile("FakeAssembly.resources.dll").Path; 85var satelliteFile = directory.CreateDirectory("de").CreateDirectory("FakeAssembly.resources").CreateFile("FakeAssembly.resources.dll").Path; 98var satelliteFileDE = directory.CreateDirectory("de").CreateFile("FakeAssembly.resources.dll").Path; 99var satelliteFileFR = directory.CreateDirectory("fr").CreateFile("FakeAssembly.resources.dll").Path; 112var satelliteFile = directory.CreateDirectory("de").CreateDirectory("OtherAssembly.resources").CreateFile("FakeAssembly.resources.dll").Path;
FileSystem\RelativePathResolverTests.cs (2)
164var dir1 = dir.CreateDirectory("dir1"); 165var dir2 = dir.CreateDirectory("dir2");
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (17)
CommandLineTests.vb (17)
348Dim file = dir.CreateDirectory("Test Path (123)").CreateFile("hellovb.vb").WriteAllText( 2361Dim file4 = dir.CreateDirectory("d1").CreateFile("d.txt") 2362Dim file5 = dir.CreateDirectory("d2").CreateFile("e.vb") 2408Dim file4 = folder.CreateDirectory("A").CreateFile("A_d.txt") 2409Dim file5 = folder.CreateDirectory("B").CreateFile("B_e.vb") 2410Dim file6 = folder.CreateDirectory("C").CreateFile("B_f.cs") 3573Dim sdkDir = parentDir.CreateDirectory("sdk") 3603Dim sdkDir = parentDir.CreateDirectory("sdk") 3685Dim subDir = dir.CreateDirectory("example") 5008Dim subFolder = tempFolder.CreateDirectory("temp") 5031Dim subFolder = tempFolder.CreateDirectory("temp.dll") 5294Dim subFolder1 = dir.CreateDirectory("fldr1") 5295Dim subFolder2 = dir.CreateDirectory("fldr2") 9344Dim refDir = dir.CreateDirectory("ref") 9420dir.CreateDirectory("ref") 10564Dim generatedDir = dir.CreateDirectory("generated") 10611Dim generatedDir = dir.CreateDirectory("generated files")
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
NetCoreTests.cs (1)
29_nugetCacheDir = SolutionDirectory.CreateDirectory(".packages");
WorkspaceTestBase.cs (1)
50dir = dir.CreateDirectory(subdirectory);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
PersistentStorage\AbstractPersistentStorageTests.cs (2)
81_persistentFolder = _persistentFolderRoot.CreateDirectory(PersistentFolderPrefix + Guid.NewGuid()); 132var folder = folderRoot.CreateDirectory(PersistentFolderPrefix + "'" + Guid.NewGuid());
VBCSCompiler.UnitTests (13)
AnalyzerConsistencyCheckerTests.cs (6)
87var assemblyLoader = DefaultAnalyzerAssemblyLoader.CreateNonLockingLoader(directory.CreateDirectory("shadow").Path); 98var assemblyLoader = DefaultAnalyzerAssemblyLoader.CreateNonLockingLoader(directory.CreateDirectory("shadow").Path); 113var assemblyLoader = DefaultAnalyzerAssemblyLoader.CreateNonLockingLoader(directory.CreateDirectory("shadow").Path); 116var mvidAlpha1 = CreateNetStandardDll(directory.CreateDirectory("mvid1"), "MvidAlpha", "1.0.0.0", key, "class C { }"); 117var mvidAlpha2 = CreateNetStandardDll(directory.CreateDirectory("mvid2"), "MvidAlpha", "1.0.0.0", key, "class D { }"); 138var assemblyLoader = DefaultAnalyzerAssemblyLoader.CreateNonLockingLoader(directory.CreateDirectory("shadow").Path);
CompilerServerTests.cs (7)
290var newTempDir = _tempDirectory.CreateDirectory(new string('a', 100 - _tempDirectory.Path.Length)); 736TempDirectory rootDirectory = _tempDirectory.CreateDirectory("ReferenceCachingVB"); 853TempDirectory rootDirectory = _tempDirectory.CreateDirectory("ReferenceCachingCS"); 1047var libDirectory = _tempDirectory.CreateDirectory("LibraryDir"); 1096var libDirectory = _tempDirectory.CreateDirectory("LibraryDir"); 1396_tempDirectory.CreateDirectory("Temp"); 1430_tempDirectory.CreateDirectory("Temp");