public static System.IO.DriveInfo[] GetDrives() { throw null; } public override string ToString() { throw null; }
public IReadOnlyList <DriveInfo> GetMountedDrives() => IoDriveInfo .GetDrives() .Select(CreateFrom) .WhereNotNull() .ToArray();