[runtime] Updates comments.
[mono.git] / mcs / class / corlib / System / AccessViolationException.cs
index db45f7852f9666167774aaf19ec9eaf4c0710bec..69ffa24cd19b1bcd3de9cf0f9b26fab3afbe8664 100644 (file)
 //
 
 using System.Runtime.Serialization;
-
-#if NET_2_0
+using System.Runtime.InteropServices;
 
 namespace System
 {
+        [ComVisible(true)]
        [Serializable]
        public class AccessViolationException : SystemException
        {
@@ -61,5 +61,3 @@ namespace System
                }
        }
 }
-
-#endif