Skip to content

Commit 8aacdab

Browse files
author
Michael DeRoy
committed
Fix monoTODO where driveinfo.IsReady is unimplemented
1 parent 268fd52 commit 8aacdab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mcs/class/corlib/System.IO/DriveInfo.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,9 @@ public DirectoryInfo RootDirectory {
140140
}
141141
}
142142

143-
[MonoTODO("It always returns true")]
144143
public bool IsReady {
145144
get {
146-
return true;
145+
return Directory.Exists (Name);
147146
}
148147
}
149148

0 commit comments

Comments
 (0)