2007-08-20 Mark Probst <mark.probst@gmail.com>
authorMark Probst <mark.probst@gmail.com>
Mon, 20 Aug 2007 12:59:59 +0000 (12:59 -0000)
committerMark Probst <mark.probst@gmail.com>
Mon, 20 Aug 2007 12:59:59 +0000 (12:59 -0000)
* SecurityManager.cs: Changed arguments of MethodAccessException
to IntPtr, to avoid having to embed reference object values in the
native code.

svn path=/trunk/mcs/; revision=84456

mcs/class/corlib/System.Security/ChangeLog
mcs/class/corlib/System.Security/SecurityManager.cs

index 698b73e65da25504bf6d4132c8561a64e51e132e..e5ce00b9532c81dd9d22281a862d9417748f7523 100644 (file)
@@ -1,3 +1,9 @@
+2007-08-20  Mark Probst  <mark.probst@gmail.com>
+
+       * SecurityManager.cs: Changed arguments of MethodAccessException
+       to IntPtr, to avoid having to embed reference object values in the
+       native code.
+
 2007-08-20  Mark Probst  <mark.probst@gmail.com>
 
        * SecurityManager.cs: Added two methods needed for CoreCLR
index 9ded3000276d1cc923378f7ca0fc1c14d78fafb0..ea848fb90d905ada3df8aaf38a0acfef9a30e896 100644 (file)
@@ -736,7 +736,7 @@ namespace System.Security {
                }
 
 #if NET_2_1
-               private static void MethodAccessException (MethodInfo caller, MethodInfo callee)
+               private static void MethodAccessException (IntPtr caller, IntPtr callee)
                {
                        throw new MethodAccessException (Locale.GetText ("Method call not allowed."));
                }