projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #665 from andreas-auerswald/master
[mono.git]
/
mcs
/
class
/
corlib
/
System.IO
/
DriveType.cs
diff --git
a/mcs/class/corlib/System.IO/DriveType.cs
b/mcs/class/corlib/System.IO/DriveType.cs
index f019071ce2f0c45708594c5c2ea5c5f606a382ce..e3d3189859f7714dc15d23b9b432716563bcb830 100644
(file)
--- a/
mcs/class/corlib/System.IO/DriveType.cs
+++ b/
mcs/class/corlib/System.IO/DriveType.cs
@@
-21,12
+21,14
@@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
using System;
using System.Text;
using System;
using System.Text;
+using System.Runtime.InteropServices;
namespace System.IO {
namespace System.IO {
+ [ComVisible (true)]
+ [Serializable]
public enum DriveType {
CDRom = 5,
Fixed = 3,
public enum DriveType {
CDRom = 5,
Fixed = 3,
@@
-37,5
+39,3
@@
namespace System.IO {
Unknown = 0
}
}
Unknown = 0
}
}
-
-#endif