6 references to IsDevice
mscorlib (6)
system\io\path.cs (1)
503
return LongPathHelper.Normalize(path, (uint)maxPathLength, checkInvalidCharacters: !PathInternal.
IsDevice
(path), expandShortPaths: expandShortPaths);
system\io\pathinternal.cs (3)
170
if (IsPartiallyQualified(path) ||
IsDevice
(path))
330
if (!AppContextSwitches.UseLegacyPathHandling &&
IsDevice
(path))
353
int startIndex = AppContextSwitches.UseLegacyPathHandling ? 0 :
IsDevice
(path) ? ExtendedPathPrefix.Length : 0;
system\security\permissions\fileiopermission.cs (2)
588
int startIndex = !skipPrefix ? 0 : PathInternal.
IsDevice
(path) ? PathInternal.DevicePrefixLength : 0;
1099
if (AppContextSwitches.UseLegacyPathHandling || !PathInternal.
IsDevice
(fullPath))