2008-08-21 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / corlib / System.IO / FileSystemInfo.cs
index 31c794a32187fcb3e57339776cfe3870858ed1d1..02c59c632cd468690fa9ae65ee637902e42758ee 100644 (file)
@@ -44,7 +44,11 @@ namespace System.IO {
 #if NET_2_0
        [ComVisible (true)]
 #endif
+#if NET_2_1
+       public abstract class FileSystemInfo {
+#else
        public abstract class FileSystemInfo : MarshalByRefObject, ISerializable {
+
                #region Implementation of ISerializable
 
                [ComVisible(false)]
@@ -55,7 +59,7 @@ namespace System.IO {
                }
 
                #endregion Implementation of ISerializable
-
+#endif
                // public properties
 
                public abstract bool Exists { get; }