Merge pull request #1109 from adbre/iss358
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _Exception.cs
index bfff2ec4ee162d4c435c14235768dc4d2f6db9d2..2c13ea0e88a1b488b4aeb59de7acf7a89acb7427 100644 (file)
@@ -4,7 +4,7 @@
 // Author:
 //     Sebastien Pouliot  <sebastien@ximian.com>
 //
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
@@ -26,9 +26,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
-
-using System;
 using System.Reflection;
 using System.Runtime.Serialization;
 
@@ -37,6 +34,7 @@ namespace System.Runtime.InteropServices {
        [InterfaceType (ComInterfaceType.InterfaceIsDual)]
        [Guid ("b36b5c63-42ef-38bc-a07e-0b34c98f164a")]
        [CLSCompliant (false)]
+       [ComVisible (true)]
        public interface _Exception {
 
                string HelpLink { get; set; }
@@ -65,5 +63,3 @@ namespace System.Runtime.InteropServices {
                string ToString ();
        }
 }
-
-#endif