X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Reflection%2FTargetParameterCountException.cs;h=deb5344e1576e5f078409a2f3633face0e2a0bd2;hb=394eb0d670265a6b7fa8e76a0e723abde7e0cbcc;hp=1dce62e79e9adc6569a359142b4e4ef8ff77c070;hpb=601f4125e59673eafdfb78957be34125bd09c00a;p=mono.git diff --git a/mcs/class/corlib/System.Reflection/TargetParameterCountException.cs b/mcs/class/corlib/System.Reflection/TargetParameterCountException.cs index 1dce62e79e9..deb5344e157 100644 --- a/mcs/class/corlib/System.Reflection/TargetParameterCountException.cs +++ b/mcs/class/corlib/System.Reflection/TargetParameterCountException.cs @@ -35,12 +35,13 @@ using System.Runtime.InteropServices; namespace System.Reflection { -#if NET_2_0 [ComVisible (true)] -#endif [Serializable] - public sealed class TargetParameterCountException : ApplicationException - { +#if NET_2_1 + public sealed class TargetParameterCountException : Exception { +#else + public sealed class TargetParameterCountException : ApplicationException { +#endif public TargetParameterCountException () : base (Locale.GetText ("Number of parameter does not match expected count.")) {