14 references to Name
Microsoft.VisualBasic.Tests (4)
Microsoft\VisualBasic\MyServices\FileSystemProxyTests.cs (4)
362Assert.Equal(_fileSystem.GetDriveInfo(Drives[0].Name).Name, new DriveInfo(Drives[0].Name).Name);
System.IO.FileSystem.DriveInfo (10)
System\IO\DriveInfo.cs (3)
26public bool IsReady => Directory.Exists(Name); 28public DirectoryInfo RootDirectory => new DirectoryInfo(Name); 30public override string ToString() => Name;
System\IO\DriveInfo.Unix.cs (6)
17int result = Interop.Sys.GetFormatInfoForMountPoint(Name, out type); 47CheckStatfsResultAndThrowIfNecessary(Interop.Sys.GetFormatInfoForMountPoint(Name, out format)); 57CheckStatfsResultAndThrowIfNecessary(Interop.Sys.GetSpaceInfoForMountPoint(Name, out mpi)); 67CheckStatfsResultAndThrowIfNecessary(Interop.Sys.GetSpaceInfoForMountPoint(Name, out mpi)); 77CheckStatfsResultAndThrowIfNecessary(Interop.Sys.GetSpaceInfoForMountPoint(Name, out mpi)); 89throw new DriveNotFoundException(SR.Format(SR.IO_DriveNotFound_Drive, Name)); // match Win32
System\IO\DriveInfo.UnixOrDefault.cs (1)
43return Name;