14 references to Name
Microsoft.VisualBasic.Tests (4)
Microsoft\VisualBasic\MyServices\FileSystemProxyTests.cs (4)
362
Assert.Equal(_fileSystem.GetDriveInfo(Drives[0].
Name
).
Name
, new DriveInfo(Drives[0].
Name
).
Name
);
System.IO.FileSystem.DriveInfo (10)
System\IO\DriveInfo.cs (3)
26
public bool IsReady => Directory.Exists(
Name
);
28
public DirectoryInfo RootDirectory => new DirectoryInfo(
Name
);
30
public override string ToString() =>
Name
;
System\IO\DriveInfo.Unix.cs (6)
18
Interop.Error error = Interop.Sys.GetDriveTypeForMountPoint(
Name
, out type);
43
CheckStatfsResultAndThrowIfNecessary(Interop.Sys.GetFileSystemTypeNameForMountPoint(
Name
, out format));
53
CheckStatfsResultAndThrowIfNecessary(Interop.Sys.GetSpaceInfoForMountPoint(
Name
, out mpi));
63
CheckStatfsResultAndThrowIfNecessary(Interop.Sys.GetSpaceInfoForMountPoint(
Name
, out mpi));
73
CheckStatfsResultAndThrowIfNecessary(Interop.Sys.GetSpaceInfoForMountPoint(
Name
, out mpi));
98
throw new DriveNotFoundException(SR.Format(SR.IO_DriveNotFound_Drive,
Name
)); // match Win32
System\IO\DriveInfo.UnixOrDefault.cs (1)
43
return
Name
;