2008-09-14 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mcs / class / corlib / System.IO / FileShare.cs
index 933eb69c05dde33b099fb00056f515b2a097260c..c98e5851a75f360ccd518cec06ed0a0d5cc2d56d 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,12 +42,19 @@ namespace System.IO {
        /// <summary>
        /// </summary>
        [Flags]
+#if NET_2_0
+       [ComVisible (true)]
+       [Serializable]
+#endif
        public enum FileShare : int {
 
                None = 0,
                Read = 1,
                Write = 2,
                ReadWrite = 3,
+#if NET_2_0
+               Delete = 4,
+#endif
                Inheritable = 16,
        } // FileShare