* BinaryReader.cs: Fixed line endings.
[mono.git] / mcs / class / corlib / System.IO / DriveInfo.cs
index d421ea4254be738a5b1768cb3d712adb2c3b0c8e..2611d9bec6356a86e110f01877dc12289cf3722d 100644 (file)
@@ -94,7 +94,7 @@ namespace System.IO {
                        }
                }
 
-               [MonoTODO ("Currently only works on Mono/Unix")]
+               [MonoTODO ("Currently get only works on Mono/Unix; set not implemented")]
                public string VolumeLabel {
                        get {
                                if (_drive_type != _DriveType.Windows)
@@ -102,6 +102,9 @@ namespace System.IO {
                                else
                                        return path;
                        }
+                       set {
+                               throw new NotImplementedException ();
+                       }
                }
                
                public string DriveFormat {
@@ -265,10 +268,15 @@ namespace System.IO {
                                return WindowsGetDrives ();
                }
 
-               public void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
+               void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
                {
                        throw new NotImplementedException ();
                }
+
+               public override string ToString ()
+               {
+                       return(Name);
+               }
        }
 }