2009-01-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
[mono.git] / mcs / class / corlib / System.IO / FileAccess.cs
index 338aece1f3d6c48096f790343fc4b9b566d3dc44..355dd40b830d259bf975f2ca52a3ebcdafbd82e9 100644 (file)
@@ -32,6 +32,9 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if NET_2_0
+using System.Runtime.InteropServices;
+#endif
 
 namespace System.IO {
 
@@ -39,6 +42,10 @@ namespace System.IO {
        /// <summary>
        /// </summary>
        [Flags]
+#if NET_2_0
+       [ComVisible (true)]
+       [Serializable]
+#endif
        public enum FileAccess : int {
 
                /// <summary>