2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
authorAndreas N <andreas@mono-cvs.ximian.com>
Wed, 2 Apr 2008 17:09:39 +0000 (17:09 -0000)
committerAndreas N <andreas@mono-cvs.ximian.com>
Wed, 2 Apr 2008 17:09:39 +0000 (17:09 -0000)
* _EventInfo.cs
* _FieldInfo.cs
  * _MemberInfo.cs
* _MethodBase.cs
* _MethodInfo.cs
* _PropertyInfo.cs
* _Type.cs
* ArrayWithOffset.cs
* BestFitMappingAttribute.cs
* Marshal.cs: Fix parameter names

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

12 files changed:
mcs/class/corlib/System.Runtime.InteropServices/ArrayWithOffset.cs
mcs/class/corlib/System.Runtime.InteropServices/BestFitMappingAttribute.cs
mcs/class/corlib/System.Runtime.InteropServices/ChangeLog
mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs
mcs/class/corlib/System.Runtime.InteropServices/_ConstructorInfo.cs
mcs/class/corlib/System.Runtime.InteropServices/_EventInfo.cs
mcs/class/corlib/System.Runtime.InteropServices/_FieldInfo.cs
mcs/class/corlib/System.Runtime.InteropServices/_MemberInfo.cs
mcs/class/corlib/System.Runtime.InteropServices/_MethodBase.cs
mcs/class/corlib/System.Runtime.InteropServices/_MethodInfo.cs
mcs/class/corlib/System.Runtime.InteropServices/_PropertyInfo.cs
mcs/class/corlib/System.Runtime.InteropServices/_Type.cs

index 579ca10d26d4680027c240236f7f61db5593ec89..49f672cb37bcd554e658df48e79bf26ba31bc8e0 100644 (file)
@@ -64,14 +64,14 @@ namespace System.Runtime.InteropServices {
                }
 
 #if NET_2_0
-               public static bool operator == (ArrayWithOffset obj1, ArrayWithOffset obj2)
+               public static bool operator == (ArrayWithOffset a, ArrayWithOffset b)
                {
-                       return obj1.Equals (obj2);
+                       return a.Equals (b);
                }
 
-               public static bool operator != (ArrayWithOffset obj1, ArrayWithOffset obj2)
+               public static bool operator != (ArrayWithOffset a, ArrayWithOffset b)
                {
-                       return !obj1.Equals (obj2);
+                       return !a.Equals (b);
                }
 #endif
 
index d137e0f537da2c6671f4afbfb18e7e73952b712c..524ff6d389a8bb49c895e9fe003013ade1bc0ff5 100644 (file)
@@ -42,9 +42,9 @@ namespace System.Runtime.InteropServices {
        public sealed class BestFitMappingAttribute : Attribute {
                bool bfm;
                
-               public BestFitMappingAttribute (bool bfm)
+               public BestFitMappingAttribute (bool BestFitMapping)
                {
-                       this.bfm = bfm;
+                       this.bfm = BestFitMapping;
                }
 
                public bool ThrowOnUnmappableChar = false;
index fac7dcce3ba82cb02fcfc989985043dd54fde5a2..697fb6dd2635082dfce7a878bff373abb46ac34f 100644 (file)
@@ -1,3 +1,16 @@
+2008-04-02  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
+
+       * _EventInfo.cs
+       * _FieldInfo.cs
+       * _MemberInfo.cs
+       * _MethodBase.cs
+       * _MethodInfo.cs
+       * _PropertyInfo.cs
+       * _Type.cs
+       * ArrayWithOffset.cs
+       * BestFitMappingAttribute.cs
+       * Marshal.cs: Fix parameter names
+
 2008-02-20  Zoltan Varga  <vargaz@gmail.com>
 
        * Marshal.cs (GetDelegateForFunctionPointer): Add a nullref check.
index 05cd89a4cbb62a9ccd250181e4e3c26f2d6973bc..10e16d5ef8d01fb07707e2b7e0503cc1872e52d0 100644 (file)
@@ -249,10 +249,10 @@ namespace System.Runtime.InteropServices
                                WriteByte (ptr, i, 0);
                }
                
-               public static void ZeroFreeBSTR (IntPtr ptr)
+               public static void ZeroFreeBSTR (IntPtr s)
                {
-                       ClearBSTR (ptr);
-                       FreeBSTR (ptr);
+                       ClearBSTR (s);
+                       FreeBSTR (s);
                }
 
                static void ClearAnsi (IntPtr ptr)
@@ -267,28 +267,28 @@ namespace System.Runtime.InteropServices
                                WriteInt16 (ptr, i, 0);
                }
                
-               public static void ZeroFreeCoTaskMemAnsi (IntPtr ptr)
+               public static void ZeroFreeCoTaskMemAnsi (IntPtr s)
                {
-                       ClearAnsi (ptr);
-                       FreeCoTaskMem (ptr);
+                       ClearAnsi (s);
+                       FreeCoTaskMem (s);
                }
 
-               public static void ZeroFreeCoTaskMemUnicode (IntPtr ptr)
+               public static void ZeroFreeCoTaskMemUnicode (IntPtr s)
                {
-                       ClearUnicode (ptr);
-                       FreeCoTaskMem (ptr);
+                       ClearUnicode (s);
+                       FreeCoTaskMem (s);
                }
 
-               public static void ZeroFreeGlobalAllocAnsi (IntPtr hglobal)
+               public static void ZeroFreeGlobalAllocAnsi (IntPtr s)
                {
-                       ClearAnsi (hglobal);
-                       FreeHGlobal (hglobal);
+                       ClearAnsi (s);
+                       FreeHGlobal (s);
                }
 
-               public static void ZeroFreeGlobalAllocUnicode (IntPtr hglobal)
+               public static void ZeroFreeGlobalAllocUnicode (IntPtr s)
                {
-                       ClearUnicode (hglobal);
-                       FreeHGlobal (hglobal);
+                       ClearUnicode (s);
+                       FreeHGlobal (s);
                }
 #endif
 
index 675378199ce62ecea2daca8d9beb7fd5c6f31e27..bf6f6f56c77902a6ce67416a75f93e4b7698122b 100644 (file)
@@ -22,7 +22,7 @@ namespace System.Runtime.InteropServices
 #endif
        public interface _ConstructorInfo
        {
-               bool Equals (object obj);
+               bool Equals (object other);
 
                object[] GetCustomAttributes (bool inherit);
 
index 3bf13607f3a669c77c1468c46c9f708755c65f2f..d14e5664af698d9b8c24c2fd3c2055a9c1f4922f 100644 (file)
@@ -23,7 +23,7 @@ namespace System.Runtime.InteropServices
        {
                void AddEventHandler (object target, Delegate handler);
 
-               bool Equals (object obj);
+               bool Equals (object other);
 
                MethodInfo GetAddMethod ();
 
index 7da7c1c9991fd24707ca9357a5baa546d1abb6e2..f570b1ef0d67792518bfdb1e23d22e8791c0db9c 100644 (file)
@@ -22,7 +22,7 @@ namespace System.Runtime.InteropServices
 #endif
        public interface _FieldInfo
        {
-               bool Equals (object obj);
+               bool Equals (object other);
 
                object[] GetCustomAttributes (bool inherit);
 
index 93fd666d817c51ecb7c99aa8cacaeab44f487a69..6927a0fab94c93478358e03c0e7fe6060ba3d79a 100644 (file)
@@ -21,7 +21,7 @@ namespace System.Runtime.InteropServices
 #endif
        public interface _MemberInfo
        {
-               bool Equals (object obj);
+               bool Equals (object other);
 
                object[] GetCustomAttributes (bool inherit);
 
index 36466d8f9bac989d1364ac87bed912ee4af7f51e..ceab7fd5c9a3ad261e51d2d90e65da9af2340e0a 100644 (file)
@@ -22,7 +22,7 @@ namespace System.Runtime.InteropServices
 #endif
        public interface _MethodBase
        {
-               bool Equals (object obj);
+               bool Equals (object other);
                
                object[] GetCustomAttributes (bool inherit);
                
index f6a8962fa22959ce7adac322420950ae29c96fc9..8e72d26e81f9aeb4573a35190972ccc0e96b58a3 100644 (file)
@@ -22,7 +22,7 @@ namespace System.Runtime.InteropServices
 #endif
        public interface _MethodInfo
        {
-               bool Equals (object obj);
+               bool Equals (object other);
 
                MethodInfo GetBaseDefinition();
                
index 5c4bbb474ed2fc942330f9df22d1012e8f3efbe0..bae0996868eb05462716cb1692e55731ec87fa39 100644 (file)
@@ -22,7 +22,7 @@ namespace System.Runtime.InteropServices
 #endif
        public interface _PropertyInfo
        {
-               bool Equals (object obj);
+               bool Equals (object other);
 
                MethodInfo[] GetAccessors ();
 
index eb59707314b4b06432d694693c17737f4d044a9b..124334aa32ea13a6345c89b5a6e2e0de498ae1ee 100644 (file)
@@ -22,7 +22,7 @@ namespace System.Runtime.InteropServices
 #endif
        public interface _Type
        {
-               bool Equals (object o);
+               bool Equals (object other);
 
                bool Equals (Type o);