2008-09-14 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mcs / class / corlib / System.IO / FileShare.cs
index a6a39dbe319cfadfe5c52e33f0b2188d14c32d3b..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,6 +42,10 @@ namespace System.IO {
        /// <summary>
        /// </summary>
        [Flags]
+#if NET_2_0
+       [ComVisible (true)]
+       [Serializable]
+#endif
        public enum FileShare : int {
 
                None = 0,