projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[corlib] Defer TypeInfo instantiation logic in DefinedTypes. Fixes #19082
[mono.git]
/
mcs
/
class
/
corlib
/
System.Reflection
/
TargetParameterCountException.cs
diff --git
a/mcs/class/corlib/System.Reflection/TargetParameterCountException.cs
b/mcs/class/corlib/System.Reflection/TargetParameterCountException.cs
index 1dce62e79e9adc6569a359142b4e4ef8ff77c070..deb5344e1576e5f078409a2f3633face0e2a0bd2 100644
(file)
--- 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
{
namespace System.Reflection
{
-#if NET_2_0
[ComVisible (true)]
[ComVisible (true)]
-#endif
[Serializable]
[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."))
{
public TargetParameterCountException ()
: base (Locale.GetText ("Number of parameter does not match expected count."))
{