remove warning
[mono.git] / mcs / class / corlib / System / DataMisalignedException.cs
index dd4d8eaeb502c3fb23e6d699cb26fd9c99895005..2df0a6e8f9c881aa9c0da1b86e20901675232672 100644 (file)
 //
 
 using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
 
 #if NET_2_0
 
 namespace System
 {
        [Serializable]
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public sealed class DataMisalignedException : SystemException
        {
                const int Result = unchecked ((int)0x80131541);
@@ -55,10 +59,12 @@ namespace System
                        HResult = Result;
                }
 
+               /*
                protected DataMisalignedException (SerializationInfo info, StreamingContext context)
                        : base (info, context)
                {
                }
+               */
        }
 }