Merge pull request #656 from LogosBible/collection_lock
[mono.git] / mcs / class / corlib / System / PlatformNotSupportedException.cs
index 9e769688e9dfccbdb48d93c0bcf4811b25163dd2..51d8c6cf3001684e070653c35dfabf3d07add3f9 100644 (file)
 //
 
 using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
 
 namespace System
 {
        [Serializable]
+       [ComVisible (true)]
        public class PlatformNotSupportedException : NotSupportedException
        {
                const int Result = unchecked ((int)0x80131539);
@@ -58,8 +60,8 @@ namespace System
                {
                }
 
-               public PlatformNotSupportedException (string message, Exception innerException)
-                       :base (message, innerException)
+               public PlatformNotSupportedException (string message, Exception inner)
+                       :base (message, inner)
                {
                        HResult = Result;
                }