X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem%2FPlatformNotSupportedException.cs;h=51d8c6cf3001684e070653c35dfabf3d07add3f9;hb=ac60ecf03fef7535f5e30d147ca207e34ee32474;hp=9e769688e9dfccbdb48d93c0bcf4811b25163dd2;hpb=89d0ba3968d36576553e0f483b0c69465f94e8ae;p=mono.git diff --git a/mcs/class/corlib/System/PlatformNotSupportedException.cs b/mcs/class/corlib/System/PlatformNotSupportedException.cs index 9e769688e9d..51d8c6cf300 100644 --- a/mcs/class/corlib/System/PlatformNotSupportedException.cs +++ b/mcs/class/corlib/System/PlatformNotSupportedException.cs @@ -32,10 +32,12 @@ // 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; }