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)
17
int result = Interop.Sys.GetFormatInfoForMountPoint(
Name
, out type);
47
CheckStatfsResultAndThrowIfNecessary(Interop.Sys.GetFormatInfoForMountPoint(
Name
, out format));
57
CheckStatfsResultAndThrowIfNecessary(Interop.Sys.GetSpaceInfoForMountPoint(
Name
, out mpi));
67
CheckStatfsResultAndThrowIfNecessary(Interop.Sys.GetSpaceInfoForMountPoint(
Name
, out mpi));
77
CheckStatfsResultAndThrowIfNecessary(Interop.Sys.GetSpaceInfoForMountPoint(
Name
, out mpi));
89
throw new DriveNotFoundException(SR.Format(SR.IO_DriveNotFound_Drive,
Name
)); // match Win32
System\IO\DriveInfo.UnixOrDefault.cs (1)
43
return
Name
;