90 references to GetDirectoryName
mscorlib (8)
system\activationcontext.cs (1)
266return Path.GetDirectoryName(_manifestPaths[_manifestPaths.Length-1]);
system\io\directory.cs (1)
54String s = Path.GetDirectoryName(fullPath);
system\io\directoryinfo.cs (1)
187parentName = Path.GetDirectoryName(s);
system\io\fileinfo.cs (1)
187String directoryName = Path.GetDirectoryName(FullPath);
system\io\filesystemenumerable.cs (2)
218normalizedSearchPath = Path.GetDirectoryName(fullSearchString); 247String searchPatternDirName = Path.GetDirectoryName(normalizedSearchPattern);
system\resources\filebasedresourcegroveler.cs (1)
94dir = Path.GetDirectoryName(defaultResPath);
system\runtime\interopservices\typelibconverter.cs (1)
239dir = Path.GetDirectoryName(asmFileName);
PresentationFramework (2)
src\Framework\System\Windows\Interop\DocobjHost.cs (2)
1002string appBase = Path.GetDirectoryName(PHDLLPath) + "\\" + xamlViewer; 1259xpsViewerPath = System.IO.Path.GetDirectoryName(xpsViewerPath);
System (7)
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
580string asmblFileDir = Path.GetDirectoryName(asmblFilePath);
compmod\system\codedom\compiler\CodeDOMProvider.cs (2)
339if (!String.Equals(multiTargetingPackRoot, Path.GetDirectoryName(s), StringComparison.OrdinalIgnoreCase)) { 345multiTargetingPackRoot = Path.GetDirectoryName(s);
compmod\system\componentmodel\LicFileLicenseProvider.cs (1)
77string moduleDir = Path.GetDirectoryName(modulePath);
compmod\system\diagnostics\TextWriterTraceListener.cs (1)
214string dirPath = Path.GetDirectoryName(fullPath);
compmod\system\diagnostics\traceutils.cs (1)
62string dirPath = Path.GetDirectoryName(filePath);
sys\system\configuration\NameValueFileSectionHandler.cs (1)
45string directory = Path.GetDirectoryName(configFile);
System.Activities (1)
System\Activities\Debugger\State.cs (1)
230string path = Path.GetDirectoryName(newFileName);
System.AddIn (13)
System\Addin\Hosting\ActivationWorker.cs (1)
92Path.GetDirectoryName(_pipeline._addin.Location)));
System\Addin\Hosting\AddInActivator.cs (3)
114setup.ApplicationBase = Path.GetDirectoryName(token._addin.Location); 323Path.GetDirectoryName(pipeline._addin.Location))); 664string contractsDir = Path.GetDirectoryName(_contract.Location);
System\Addin\Hosting\AddInServer.cs (1)
56setup.ApplicationBase = Path.GetDirectoryName(token._addin.Location);
System\Addin\Hosting\AddInStore.cs (3)
598string addInFolderPath = Path.GetDirectoryName(addInFilePath); 640pipeline.AddInRootDirectory = Path.GetDirectoryName(addInFilePath); 1258String directory = Path.GetDirectoryName(assemblyPath);
System\Addin\Hosting\AddInToken.cs (1)
353String location = Path.GetDirectoryName(dependentPath);
System\Addin\Hosting\InspectionWorker.cs (3)
77String rootDir = Path.GetDirectoryName(Path.GetDirectoryName(_assemblyFileName)); 79rootDir = Path.GetDirectoryName(rootDir);
System\Addin\MiniReflection\MiniAssembly.cs (1)
44_dependencyDirs.Add(Path.GetDirectoryName(peFileName));
System.Configuration (4)
System\Configuration\AppSettingsSection.cs (1)
119configFileDirectory = System.IO.Path.GetDirectoryName(configFile);
System\Configuration\Internal\InternalConfigHost.cs (2)
197string dir = Path.GetDirectoryName(streamName); 292string dir = Path.GetDirectoryName(streamName);
System\Configuration\UrlPath.cs (1)
25dir = Path.GetDirectoryName(path);
System.Core (2)
System\Diagnostics\EventSchemaTraceListener.cs (1)
89 this.fileName = Path.Combine(Path.GetDirectoryName(AppDomain.CurrentDomain.SetupInformation.ConfigurationFile), this.fileName);
System\IO\LogStream.cs (1)
387_fileNameWithoutExt = Path.Combine(Path.GetDirectoryName(_pathSav), Path.GetFileNameWithoutExtension(_pathSav));
System.Data (2)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\VisualStudio\Activities\WorkflowDesignerExtensionManager.cs (1)
64string assemblyDirectory = Path.GetDirectoryName(assemblyLocation);
fx\src\data\System\Data\xmlsaver.cs (1)
927this.filePath = Path.GetDirectoryName(fs.Name);
System.Data.Services.Design (1)
System\Data\EntityModel\DataServiceBuildProvider.cs (1)
355string edmxFilePath = IO.Path.Combine(IO.Path.GetDirectoryName(this.dataSvcMapFilePath), this.edmxSchemaFileName);
System.Runtime.Caching (2)
System\Caching\FileChangeNotificationSystem.cs (2)
85string dir = Path.GetDirectoryName(filePath); 133string dir = Path.GetDirectoryName(filePath);
System.ServiceModel (2)
System\ServiceModel\ComIntegration\ComIntegrationManifestGenerator.cs (2)
22String path = Path.GetDirectoryName(strAssemblyManifestFileName); 80String path = Path.GetDirectoryName(strAssemblyManifestFileName);
System.Web (22)
Compilation\AssemblyResolver.cs (1)
461searchPaths.Add(Path.GetDirectoryName(a.Location));
Compilation\BuildManager.cs (2)
2770string physicalDir = Path.GetDirectoryName(physicalPath); 3373if (Path.GetDirectoryName(path) != UserCachePath) {
Compilation\BuildResultCache.cs (2)
647string baseName = Path.GetDirectoryName(f.FullName) + Path.DirectorySeparatorChar + Path.GetFileNameWithoutExtension(f.FullName); 751String hashDirPath = Path.GetDirectoryName(hashFilePath);
Compilation\ResXBuildProvider.cs (1)
24reader.BasePath = Path.GetDirectoryName(physicalPath);
Configuration\HttpCapabilitiesSectionHandler.cs (1)
308configurationDirectory = Path.GetDirectoryName(ConfigurationErrorsException.GetFilename(srcAttribute));
Configuration\RemoteWebConfigurationHost.cs (1)
171new VirtualDirectoryMapping(Path.GetDirectoryName(physicalFilePath), isRootApp));
Configuration\UserMapPath.cs (1)
51_rootWebConfigFilename = Path.Combine(Path.GetDirectoryName(_machineConfigFilename), "web.config");
Configuration\VirtualDirectoryMapping.cs (1)
137if ( Path.GetDirectoryName(fullConfigFilename) != _physicalDirectory ||
Configuration\WebConfigurationHost.cs (1)
215_rootWebConfigFile = Path.Combine(Path.GetDirectoryName(_machineConfigFile), "web.config");
DataAccess\SqlConnectionHelper.cs (2)
112appPath = Path.GetDirectoryName(exeName); 227tempFileName = Path.Combine(Path.GetDirectoryName(fullFileName), strippedFileName + "_TMP" + s_strSqlExprFileExt);
ErrorFormatter.cs (1)
1068assemblyDir = Path.GetDirectoryName(assemblyDir);
FileChangesMonitor.cs (2)
1443return (fileName != null) ? message + Path.GetDirectoryName(fileName) : message; 1975dir = Path.GetDirectoryName(dir);
Management\regiisutil.cs (1)
363if (!System.IO.Directory.Exists(System.IO.Path.GetDirectoryName(fileName)))
Security\AuthStoreRoleProvider.cs (1)
552appPath = System.IO.Path.GetDirectoryName(exeName);
UI\TemplateParser.cs (1)
2450string currentPhysicalDir = Path.GetDirectoryName(
Util\FileUtil.cs (2)
497string currentParentDir = Path.GetDirectoryName(fullPath); 523currentParentDir = Path.GetDirectoryName(currentParentDir);
Util\UrlPath.cs (1)
409dir = Path.GetDirectoryName(path);
System.Web.DataVisualization (1)
WebForm\General\ChartHttpHandler.cs (1)
363String appDir = Path.GetDirectoryName(HttpContext.Current.Request.CurrentExecutionFilePath ?? "").Replace("\\","/");
System.Web.Extensions (5)
Compilation\WCFBuildProvider.cs (1)
567mapping = new System.Web.Configuration.VirtualDirectoryMapping(System.IO.Path.GetDirectoryName(mapFilePath), true, toolConfigFile);
Compilation\WCFModel\DataSvcMapFileLoader.cs (2)
91return File.ReadAllBytes(Path.Combine(Path.GetDirectoryName(_mapFilePath), name)); 96return File.ReadAllBytes(Path.Combine(Path.GetDirectoryName(_mapFilePath), name));
Compilation\WCFModel\SvcMapFileLoader.cs (2)
91return File.ReadAllBytes(Path.Combine(Path.GetDirectoryName(_mapFilePath), name)); 96return File.ReadAllBytes(Path.Combine(Path.GetDirectoryName(_mapFilePath), name));
System.Web.Services (3)
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (2)
338string topLevelPath = Path.GetDirectoryName(topLevelFilename); 450string currentDir = Path.GetDirectoryName(Path.GetFullPath(relativeTo));
System\Web\Services\Discovery\DiscoveryRequestHandler.cs (1)
72string discoFileDirectory = Path.GetDirectoryName(physicalPath);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Application.cs (2)
646startupPath = Path.GetDirectoryName(sb.ToString()); 1416clrPath = Path.GetDirectoryName(typeof(object).Module.FullyQualifiedName);
System.Workflow.Activities (3)
Common\CompModHelpers.cs (1)
581path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
Rules\Helpers.cs (2)
115rulesFileName = Path.Combine(Path.GetDirectoryName(loader.FileName), Path.GetFileNameWithoutExtension(loader.FileName)); 154rulesFileName = Path.Combine(Path.GetDirectoryName(loader.FileName), Path.GetFileNameWithoutExtension(loader.FileName));
System.Workflow.ComponentModel (9)
AuthoringOM\Compiler\CompileXomlTask.cs (2)
1181string everettCompatibleDirectoryName = CreateManifestResourceName.MakeValidEverettIdentifier(Path.GetDirectoryName(info.cultureNeutralFilename)); 1260string baseFolder = Path.GetDirectoryName(name);
AuthoringOM\Compiler\XomlCompiler.cs (1)
922clonedParams.TempFiles.AddFile(Path.GetDirectoryName(localAssemblyPath) + "\\" + pdbFilename, true);
AuthoringOM\Compiler\XomlCompilerParameters.cs (2)
246this.netFxRuntimeRoot = XomlCompilerHelper.TrimDirectorySeparatorChar(Path.GetDirectoryName(runtimePath)); 293string dir = XomlCompilerHelper.TrimDirectorySeparatorChar(Path.GetDirectoryName(Path.GetFullPath(path)));
AuthoringOM\Design\Themes.cs (2)
507string directory = Path.GetDirectoryName(themeFilePath); 649directory = Path.GetDirectoryName(this.filePath) + Path.DirectorySeparatorChar;
AuthoringOM\Design\XomlDesignerLoader.cs (1)
507layoutFileName = Path.Combine(Path.GetDirectoryName(layoutFileName), Path.GetFileNameWithoutExtension(layoutFileName));
Shared\CompModHelpers.cs (1)
579path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
System.Xml (1)
System\Xml\XmlSecureResolver.cs (1)
56string uncDir = System.IO.Path.GetDirectoryName(uri.LocalPath);