27 references to VolumeSeparatorChar
mscorlib (22)
system\io\directory.cs (1)
1501
if (root == fullPath && root[1] == Path.
VolumeSeparatorChar
)
system\io\filesystemenumerable.cs (1)
642
if (Path.IsDirectorySeparator(lastChar) || lastChar == Path.
VolumeSeparatorChar
)
system\io\filesysteminfo.cs (1)
131
if (ch == Path.DirectorySeparatorChar || ch == Path.AltDirectorySeparatorChar || ch == Path.
VolumeSeparatorChar
)
system\io\path.cs (11)
125
if (ch == DirectorySeparatorChar || ch == AltDirectorySeparatorChar || ch ==
VolumeSeparatorChar
) break;
272
else if (length >= 2 && path[1] ==
VolumeSeparatorChar
) {
315
if (ch == DirectorySeparatorChar || ch == AltDirectorySeparatorChar || ch ==
VolumeSeparatorChar
)
695
if (firstSegment && currentChar ==
VolumeSeparatorChar
) {
1014
if (ch == DirectorySeparatorChar || ch == AltDirectorySeparatorChar || ch ==
VolumeSeparatorChar
)
1175
if (ch == DirectorySeparatorChar || ch == AltDirectorySeparatorChar || ch ==
VolumeSeparatorChar
) break;
1191
if ((length >= 1 && (path[0] == DirectorySeparatorChar || path[0] == AltDirectorySeparatorChar)) || (length >= 2 && path[1] ==
VolumeSeparatorChar
))
1261
if (ch != DirectorySeparatorChar && ch != AltDirectorySeparatorChar && ch !=
VolumeSeparatorChar
)
1276
if (ch != DirectorySeparatorChar && ch != AltDirectorySeparatorChar && ch !=
VolumeSeparatorChar
) {
1299
if (ch != DirectorySeparatorChar && ch != AltDirectorySeparatorChar && ch !=
VolumeSeparatorChar
)
1411
if (ch != DirectorySeparatorChar && ch != AltDirectorySeparatorChar && ch !=
VolumeSeparatorChar
)
system\io\pathinternal.cs (7)
56
if ((path.Length > startIndex && path[startIndex] == Path.
VolumeSeparatorChar
)
58
|| (path.Length >= startIndex + 2 && path[startIndex + 1] == Path.
VolumeSeparatorChar
&& !IsValidDriveChar(path[startIndex]))
60
|| (path.Length > startIndex + 2 && path.IndexOf(Path.
VolumeSeparatorChar
, startIndex + 2) != -1))
432
else if (pathLength >= volumeSeparatorLength && path[volumeSeparatorLength - 1] == Path.
VolumeSeparatorChar
)
484
&& (path[1] == Path.
VolumeSeparatorChar
)
522
&& (path[1] == Path.
VolumeSeparatorChar
)
543
|| (startIndex + 1 < path.Length && path[startIndex + 1] == Path.
VolumeSeparatorChar
&& IsValidDriveChar(path[startIndex])))
system\resources\resourcemanager.cs (1)
1533
((fileName[1] == Path.
VolumeSeparatorChar
) || (fileName[0] == Path.DirectorySeparatorChar && fileName[1] == Path.DirectorySeparatorChar)) &&
PresentationFramework (1)
src\Framework\Microsoft\Win32\FileDialog.cs (1)
1467
fileName[1] == Path.
VolumeSeparatorChar
&&
System.Core (1)
System\IO\__Error.cs (1)
98
else if (path[1] == Path.
VolumeSeparatorChar
) {
System.Data.Entity (1)
System\Data\Metadata\MetadataArtifactLoader.cs (1)
450
if (path.Length == 2 && path[1] == System.IO.Path.
VolumeSeparatorChar
)
System.Web (1)
MimeMapping.cs (1)
37
private static readonly char[] _pathSeparatorChars = new char[] { Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar, Path.
VolumeSeparatorChar
}; // from Path.GetFileName()
System.Web.Extensions (1)
Compilation\WCFModel\ExternalFile.cs (1)
139
if (fileName.IndexOfAny(Path.GetInvalidFileNameChars()) >= 0 || fileName.IndexOfAny(new Char[] { Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar, Path.
VolumeSeparatorChar
}) >= 0)