16 references to UseLegacyPathHandling
mscorlib (16)
system\io\directory.cs (1)
1096string currentDirectory = AppContextSwitches.UseLegacyPathHandling ? LegacyGetCurrentDirectory() : NewGetCurrentDirectory();
system\io\filestream.cs (1)
725(!CodeAccessSecurityEngine.QuickCheckForAllDemands() || AppContextSwitches.UseLegacyPathHandling)
system\io\path.cs (7)
173string normalizedPath = NormalizePath(path, fullCheck: false, expandShortPaths: AppContextSwitches.UseLegacyPathHandling); 248if (AppContextSwitches.UseLegacyPathHandling) 399if (AppContextSwitches.UseLegacyPathHandling) 938if (AppContextSwitches.UseLegacyPathHandling) 946if (AppContextSwitches.UseLegacyPathHandling) 964if (AppContextSwitches.UseLegacyPathHandling) 982if (AppContextSwitches.UseLegacyPathHandling)
system\io\pathinternal.cs (5)
52bool isExtended = !AppContextSwitches.UseLegacyPathHandling && IsExtended(path); 109if (AppContextSwitches.UseLegacyPathHandling || !IsExtended(fullPath)) 148if (AppContextSwitches.UseLegacyPathHandling || !IsExtended(fullPath)) 330if (!AppContextSwitches.UseLegacyPathHandling && IsDevice(path)) 353int startIndex = AppContextSwitches.UseLegacyPathHandling ? 0 : IsDevice(path) ? ExtendedPathPrefix.Length : 0;
system\security\permissions\fileiopermission.cs (2)
586!AppContextSwitches.UseLegacyPathHandling; 1099if (AppContextSwitches.UseLegacyPathHandling || !PathInternal.IsDevice(fullPath))