}
#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
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;
+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.
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)
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
#endif
public interface _ConstructorInfo
{
- bool Equals (object obj);
+ bool Equals (object other);
object[] GetCustomAttributes (bool inherit);
{
void AddEventHandler (object target, Delegate handler);
- bool Equals (object obj);
+ bool Equals (object other);
MethodInfo GetAddMethod ();
#endif
public interface _FieldInfo
{
- bool Equals (object obj);
+ bool Equals (object other);
object[] GetCustomAttributes (bool inherit);
#endif
public interface _MemberInfo
{
- bool Equals (object obj);
+ bool Equals (object other);
object[] GetCustomAttributes (bool inherit);
#endif
public interface _MethodBase
{
- bool Equals (object obj);
+ bool Equals (object other);
object[] GetCustomAttributes (bool inherit);
#endif
public interface _MethodInfo
{
- bool Equals (object obj);
+ bool Equals (object other);
MethodInfo GetBaseDefinition();
#endif
public interface _PropertyInfo
{
- bool Equals (object obj);
+ bool Equals (object other);
MethodInfo[] GetAccessors ();
#endif
public interface _Type
{
- bool Equals (object o);
+ bool Equals (object other);
bool Equals (Type o);