26 instantiations of DirectoryInfo
mscorlib (9)
system\io\directory.cs (3)
57
return new
DirectoryInfo
(s);
115
return new
DirectoryInfo
(fullPath, junk: false);
172
return new
DirectoryInfo
(fullPath, false);
system\io\directoryinfo.cs (3)
191
DirectoryInfo dir = new
DirectoryInfo
(parentName, false);
261
return new
DirectoryInfo
(fullPath);
632
return new
DirectoryInfo
(rootPath);
system\io\driveinfo.cs (1)
223
return new
DirectoryInfo
(Name);
system\io\fileinfo.cs (1)
211
return new
DirectoryInfo
(dirName);
system\io\filesystemenumerable.cs (1)
732
DirectoryInfo di = new
DirectoryInfo
(fullPath, fileName);
System.Web (13)
Compilation\BuildResultCache.cs (2)
470
DirectoryInfo directory = new
DirectoryInfo
(_cacheDir);
520
DirectoryInfo directory = new
DirectoryInfo
(_cacheDir);
Configuration\BrowserCapabilitiesCodeGenerator.cs (3)
176
DirectoryInfo browserDirInfo = new
DirectoryInfo
(_browsersDirectory);
525
browserDirInfo = new
DirectoryInfo
(_browsersDirectory);
529
browserDirInfo = new
DirectoryInfo
(HostingEnvironment.MapPathInternal(virtualDir));
Configuration\CompilationSection.cs (1)
847
DirectoryInfo binPathDirectory = new
DirectoryInfo
(binPath);
Hosting\ApplicationManager.cs (1)
1412
tempDirectory = new
DirectoryInfo
(tempDirectory).FullName;
HttpRuntime.cs (3)
903
tempDirectory = new
DirectoryInfo
(tempDirectory).FullName;
1156
DirectoryInfo binPathDirectory = new
DirectoryInfo
(binPath);
2130
string directoryName = new
DirectoryInfo
(e.FileName).Name;
Util\FileUtil.cs (1)
316
accessible = (new
DirectoryInfo
(dirname)).Exists;
Util\HashCodeCombiner.cs (2)
194
DirectoryInfo directory = new
DirectoryInfo
(directoryName);
219
DirectoryInfo directory = new
DirectoryInfo
(directoryName);
System.Web.Services (4)
System\Web\Services\Discovery\DynamicPhysicalDiscoSearcher.cs (2)
43
DirectoryInfo dir = new
DirectoryInfo
(localDir);
62
DirectoryInfo directory = new
DirectoryInfo
(dir);
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (2)
120
directory = new
DirectoryInfo
(startDir + physicalDir);
124
directory = new
DirectoryInfo
(settings.VPath); //SchemaClassName == "IIsWebVirtualDir
67 references to DirectoryInfo
mscorlib (34)
system\io\directory.cs (5)
43
public static
DirectoryInfo
GetParent(String path)
63
public static
DirectoryInfo
CreateDirectory(String path) {
91
internal static
DirectoryInfo
UnsafeCreateDirectory(String path)
105
internal static
DirectoryInfo
InternalCreateDirectoryHelper(string path, bool checkHost)
160
public static
DirectoryInfo
CreateDirectory(String path, DirectorySecurity directorySecurity)
system\io\directoryinfo.cs (17)
174
public
DirectoryInfo
Parent
191
DirectoryInfo
dir = new DirectoryInfo(parentName, false);
202
public
DirectoryInfo
CreateSubdirectory(String path) {
214
public
DirectoryInfo
CreateSubdirectory(String path, DirectorySecurity directorySecurity)
237
private
DirectoryInfo
CreateSubdirectoryHelper(String path, Object directorySecurity)
381
public
DirectoryInfo
[] GetDirectories()
442
public
DirectoryInfo
[] GetDirectories(String searchPattern)
456
public
DirectoryInfo
[] GetDirectories(String searchPattern, SearchOption searchOption)
472
private
DirectoryInfo
[] InternalGetDirectories(String searchPattern, SearchOption searchOption)
477
IEnumerable<
DirectoryInfo
> enble = FileSystemEnumerableFactory.CreateDirectoryInfoIterator(FullPath, OriginalPath, searchPattern, searchOption);
478
List<
DirectoryInfo
> fileList = new List<
DirectoryInfo
>(enble);
484
public IEnumerable<
DirectoryInfo
> EnumerateDirectories()
491
public IEnumerable<
DirectoryInfo
> EnumerateDirectories(String searchPattern)
502
public IEnumerable<
DirectoryInfo
> EnumerateDirectories(String searchPattern, SearchOption searchOption)
515
private IEnumerable<
DirectoryInfo
> InternalEnumerateDirectories(String searchPattern, SearchOption searchOption)
615
public
DirectoryInfo
Root {
system\io\driveinfo.cs (1)
219
public
DirectoryInfo
RootDirectory {
system\io\fileinfo.cs (1)
202
public
DirectoryInfo
Directory
system\io\filesystemenumerable.cs (7)
61
internal static IEnumerable<
DirectoryInfo
> CreateDirectoryInfoIterator(String path, String originalUserPath, String searchPattern, SearchOption searchOption)
68
SearchResultHandler<
DirectoryInfo
> handler = new DirectoryInfoResultHandler();
69
return new FileSystemEnumerableIterator<
DirectoryInfo
>(path, originalUserPath, searchPattern, searchOption, handler, true);
709
internal class DirectoryInfoResultHandler : SearchResultHandler<
DirectoryInfo
>
715
internal override
DirectoryInfo
CreateObject(Directory.SearchData searchData, ref Win32Native.WIN32_FIND_DATA findData)
721
internal static
DirectoryInfo
CreateDirectoryInfo(Directory.SearchData searchData, ref Win32Native.WIN32_FIND_DATA findData)
732
DirectoryInfo
di = new DirectoryInfo(fullPath, fileName);
system\io\filesysteminfo.cs (3)
189
if (this is
DirectoryInfo
)
232
if (this is
DirectoryInfo
)
275
if (this is
DirectoryInfo
)
System (3)
sys\system\configuration\LocalFileSettingsProvider.cs (3)
325
DirectoryInfo
prevDir = null;
332
DirectoryInfo
parentDir = Directory.GetParent(userConfigPath);
335
foreach (
DirectoryInfo
dir in parentDir.GetDirectories()) {
System.Data.Entity (1)
System\Data\SqlClient\SqlProviderServices.cs (1)
827
var
directory = new FileInfo(dataFileName).Directory;
System.Web (19)
Compilation\BuildResultCache.cs (2)
470
DirectoryInfo
directory = new DirectoryInfo(_cacheDir);
520
DirectoryInfo
directory = new DirectoryInfo(_cacheDir);
Configuration\BrowserCapabilitiesCodeGenerator.cs (10)
176
DirectoryInfo
browserDirInfo = new DirectoryInfo(_browsersDirectory);
515
DirectoryInfo
browserDirInfo = null;
516
DirectoryInfo
[] browserSubDirectories = null;
517
DirectoryInfo
[] allBrowserSubDirectories = null;
536
browserSubDirectories = new
DirectoryInfo
[length];
645
private static FileInfo[] GetFilesNotHidden(
DirectoryInfo
rootDirectory,
DirectoryInfo
browserDirInfo) {
648
DirectoryInfo
[] subDirectories = rootDirectory.GetDirectories("*", SearchOption.AllDirectories);
661
private static bool HasHiddenParent(
DirectoryInfo
directory,
DirectoryInfo
browserDirInfo) {
Configuration\CompilationSection.cs (1)
847
DirectoryInfo
binPathDirectory = new DirectoryInfo(binPath);
HttpRuntime.cs (4)
1156
DirectoryInfo
binPathDirectory = new DirectoryInfo(binPath);
1164
private void PreloadAssembliesFromBinRecursive(
DirectoryInfo
dirInfo) {
1180
DirectoryInfo
[] subDirs = dirInfo.GetDirectories();
1181
foreach (
DirectoryInfo
di in subDirs) {
Util\HashCodeCombiner.cs (2)
194
DirectoryInfo
directory = new DirectoryInfo(directoryName);
219
DirectoryInfo
directory = new DirectoryInfo(directoryName);
System.Web.Services (9)
System\Web\Services\Discovery\DynamicDiscoSearcher.cs (2)
138
DirectoryInfo
directory = GetPhysicalDir(dir); // comment here
180
protected abstract
DirectoryInfo
GetPhysicalDir(string dir );
System\Web\Services\Discovery\DynamicPhysicalDiscoSearcher.cs (5)
43
DirectoryInfo
dir = new DirectoryInfo(localDir);
46
DirectoryInfo
[] subDirs = dir.GetDirectories();
48
foreach (
DirectoryInfo
subDir in subDirs) {
57
protected override
DirectoryInfo
GetPhysicalDir(string dir ) {
62
DirectoryInfo
directory = new DirectoryInfo(dir);
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (2)
96
protected override
DirectoryInfo
GetPhysicalDir(string dir ) {
106
DirectoryInfo
directory = null;
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\XomlCompiler.cs (1)
519
DirectoryInfo
info = Directory.CreateDirectory(createdDirectoryName);