Author: zoltan
Date: 2008-01-17 14:22:02 -0500 (Thu, 17 Jan 2008)
New Revision: 93188

Modified:
   trunk/mcs/class/corlib/System.Reflection/Assembly.cs
   trunk/mcs/class/corlib/System.Reflection/AssemblyFlagsAttribute.cs
   trunk/mcs/class/corlib/System.Reflection/ChangeLog
   trunk/mcs/class/corlib/System.Reflection/CustomAttributeNamedArgument.cs
   trunk/mcs/class/corlib/System.Reflection/CustomAttributeTypedArgument.cs
   trunk/mcs/class/corlib/System.Reflection/DefaultMemberAttribute.cs
   trunk/mcs/class/corlib/System.Reflection/FieldInfo.cs
   trunk/mcs/class/corlib/System.Reflection/ICustomAttributeProvider.cs
   trunk/mcs/class/corlib/System.Reflection/IReflect.cs
   trunk/mcs/class/corlib/System.Reflection/MemberInfo.cs
   trunk/mcs/class/corlib/System.Reflection/MethodInfo.cs
   trunk/mcs/class/corlib/System.Reflection/Module.cs
   trunk/mcs/class/corlib/System.Reflection/TargetException.cs
Log:
2008-01-17  Zoltan Varga  <[EMAIL PROTECTED]>

        * Assembly.cs AssemblyFlagsAttribute.cs ICustomAttributeProvider.cs
        MemberInfo.cs FieldInfo.cs DefaultMemberAttribute.cs 
        CustomAttributeNamedArgument.cs TargetException.cs MethodInfo.cs
        IReflect.cs CustomAttributeTypedArgument.cs Module.cs: Change some 
parameter
        names to match MS.


Modified: trunk/mcs/class/corlib/System.Reflection/Assembly.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/Assembly.cs        2008-01-17 
19:12:16 UTC (rev 93187)
+++ trunk/mcs/class/corlib/System.Reflection/Assembly.cs        2008-01-17 
19:22:02 UTC (rev 93188)
@@ -534,9 +534,9 @@
                        return AppDomain.CurrentDomain.Load (rawAssembly, null, 
null, true);
                }
 
-               public static Assembly ReflectionOnlyLoad (string assemblyName) 
+               public static Assembly ReflectionOnlyLoad (string 
assemblyString) 
                {
-                       return AppDomain.CurrentDomain.Load (assemblyName, 
null, true);
+                       return AppDomain.CurrentDomain.Load (assemblyString, 
null, true);
                }
 
                public static Assembly ReflectionOnlyLoadFrom (string 
assemblyFile) 

Modified: trunk/mcs/class/corlib/System.Reflection/AssemblyFlagsAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/AssemblyFlagsAttribute.cs  
2008-01-17 19:12:16 UTC (rev 93187)
+++ trunk/mcs/class/corlib/System.Reflection/AssemblyFlagsAttribute.cs  
2008-01-17 19:22:02 UTC (rev 93188)
@@ -58,9 +58,9 @@
 #if NET_2_0
                [Obsolete("")]
 #endif
-               public AssemblyFlagsAttribute (int flags)
+               public AssemblyFlagsAttribute (int assemblyFlags)
                {
-                       this.flags = (uint)flags;
+                       this.flags = (uint)assemblyFlags;
                }
 #endif
 

Modified: trunk/mcs/class/corlib/System.Reflection/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ChangeLog  2008-01-17 19:12:16 UTC 
(rev 93187)
+++ trunk/mcs/class/corlib/System.Reflection/ChangeLog  2008-01-17 19:22:02 UTC 
(rev 93188)
@@ -1,3 +1,11 @@
+2008-01-17  Zoltan Varga  <[EMAIL PROTECTED]>
+
+       * Assembly.cs AssemblyFlagsAttribute.cs ICustomAttributeProvider.cs
+       MemberInfo.cs FieldInfo.cs DefaultMemberAttribute.cs 
+       CustomAttributeNamedArgument.cs TargetException.cs MethodInfo.cs
+       IReflect.cs CustomAttributeTypedArgument.cs Module.cs: Change some 
parameter
+       names to match MS.
+
 2008-01-15  Jb Evain  <[EMAIL PROTECTED]>
 
        * MonoMethod.cs (MakeGenericMethod): check for null values

Modified: 
trunk/mcs/class/corlib/System.Reflection/CustomAttributeNamedArgument.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/CustomAttributeNamedArgument.cs    
2008-01-17 19:12:16 UTC (rev 93187)
+++ trunk/mcs/class/corlib/System.Reflection/CustomAttributeNamedArgument.cs    
2008-01-17 19:22:02 UTC (rev 93188)
@@ -77,14 +77,14 @@
                        return (memberInfo.GetHashCode () << 16) + 
typedArgument.GetHashCode ();
                }
 
-               public static bool operator == (CustomAttributeNamedArgument 
obj1, CustomAttributeNamedArgument obj2)
+               public static bool operator == (CustomAttributeNamedArgument 
left, CustomAttributeNamedArgument right)
                {
-                       return obj1.Equals (obj2);
+                       return left.Equals (right);
                }
 
-               public static bool operator != (CustomAttributeNamedArgument 
obj1, CustomAttributeNamedArgument obj2)
+               public static bool operator != (CustomAttributeNamedArgument 
left, CustomAttributeNamedArgument right)
                {
-                       return !obj1.Equals (obj2);
+                       return !left.Equals (right);
                }
        }
 

Modified: 
trunk/mcs/class/corlib/System.Reflection/CustomAttributeTypedArgument.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/CustomAttributeTypedArgument.cs    
2008-01-17 19:12:16 UTC (rev 93187)
+++ trunk/mcs/class/corlib/System.Reflection/CustomAttributeTypedArgument.cs    
2008-01-17 19:22:02 UTC (rev 93188)
@@ -85,14 +85,14 @@
                        return (argumentType.GetHashCode () << 16) + (value != 
null ? value.GetHashCode () : 0);
                }
 
-               public static bool operator == (CustomAttributeTypedArgument 
obj1, CustomAttributeTypedArgument obj2)
+               public static bool operator == (CustomAttributeTypedArgument 
left, CustomAttributeTypedArgument right)
                {
-                       return obj1.Equals (obj2);
+                       return left.Equals (right);
                }
 
-               public static bool operator != (CustomAttributeTypedArgument 
obj1, CustomAttributeTypedArgument obj2)
+               public static bool operator != (CustomAttributeTypedArgument 
left, CustomAttributeTypedArgument right)
                {
-                       return !obj1.Equals (obj2);
+                       return !left.Equals (right);
                }
        }
 

Modified: trunk/mcs/class/corlib/System.Reflection/DefaultMemberAttribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/DefaultMemberAttribute.cs  
2008-01-17 19:12:16 UTC (rev 93187)
+++ trunk/mcs/class/corlib/System.Reflection/DefaultMemberAttribute.cs  
2008-01-17 19:22:02 UTC (rev 93188)
@@ -43,9 +43,9 @@
        public sealed class DefaultMemberAttribute : Attribute {
                string member_name;
                
-               public DefaultMemberAttribute (string member_name)
+               public DefaultMemberAttribute (string memberName)
                {
-                       this.member_name = member_name;
+                       this.member_name = memberName;
                }
 
                public string MemberName {

Modified: trunk/mcs/class/corlib/System.Reflection/FieldInfo.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/FieldInfo.cs       2008-01-17 
19:12:16 UTC (rev 93187)
+++ trunk/mcs/class/corlib/System.Reflection/FieldInfo.cs       2008-01-17 
19:22:02 UTC (rev 93188)
@@ -132,7 +132,7 @@
                        }
                }
 
-               public abstract void SetValue (object obj, object val, 
BindingFlags invokeAttr, Binder binder, CultureInfo culture);
+               public abstract void SetValue (object obj, object value, 
BindingFlags invokeAttr, Binder binder, CultureInfo culture);
 
 #if ONLY_1_1
                public new Type GetType ()

Modified: trunk/mcs/class/corlib/System.Reflection/ICustomAttributeProvider.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ICustomAttributeProvider.cs        
2008-01-17 19:12:16 UTC (rev 93187)
+++ trunk/mcs/class/corlib/System.Reflection/ICustomAttributeProvider.cs        
2008-01-17 19:22:02 UTC (rev 93188)
@@ -40,12 +40,12 @@
        public interface ICustomAttributeProvider {
 
                object [] GetCustomAttributes (bool inherit);
-               object [] GetCustomAttributes (Type attribute_type, bool 
inherit);
+               object [] GetCustomAttributes (Type attributeType, bool 
inherit);
 
                /// <summary>
                ///   Probes whether one or more `attribute_type' types are
                ///   defined by this member
                /// </summary>
-               bool IsDefined (Type attribute_type, bool inherit);
+               bool IsDefined (Type attributeType, bool inherit);
        }
 }

Modified: trunk/mcs/class/corlib/System.Reflection/IReflect.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/IReflect.cs        2008-01-17 
19:12:16 UTC (rev 93187)
+++ trunk/mcs/class/corlib/System.Reflection/IReflect.cs        2008-01-17 
19:22:02 UTC (rev 93188)
@@ -46,22 +46,22 @@
                        get;
                }
 
-               FieldInfo    GetField   (string name, BindingFlags 
binding_attr);
-               FieldInfo [] GetFields  (BindingFlags binding_attr);
-               MemberInfo[] GetMember  (string name, BindingFlags 
binding_attr);
-               MemberInfo[] GetMembers (BindingFlags binding_attr);
-               MethodInfo   GetMethod  (string name, BindingFlags 
binding_attr);
-               MethodInfo   GetMethod  (string name, BindingFlags binding_attr,
+               FieldInfo    GetField   (string name, BindingFlags bindingAttr);
+               FieldInfo [] GetFields  (BindingFlags bindingAttr);
+               MemberInfo[] GetMember  (string name, BindingFlags bindingAttr);
+               MemberInfo[] GetMembers (BindingFlags bindingAttr);
+               MethodInfo   GetMethod  (string name, BindingFlags bindingAttr);
+               MethodInfo   GetMethod  (string name, BindingFlags bindingAttr,
                                         Binder binder, Type [] types, 
ParameterModifier [] modifiers);
-               MethodInfo[] GetMethods (BindingFlags binding_attr);
+               MethodInfo[] GetMethods (BindingFlags bindingAttr);
 
-               PropertyInfo [] GetProperties (BindingFlags binding_attr);
-               PropertyInfo    GetProperty   (string name, BindingFlags 
binding_attr);
-               PropertyInfo    GetProperty   (string name, BindingFlags 
binding_attr,
-                                              Binder binder, Type return_type, 
Type [] types,
+               PropertyInfo [] GetProperties (BindingFlags bindingAttr);
+               PropertyInfo    GetProperty   (string name, BindingFlags 
bindingAttr);
+               PropertyInfo    GetProperty   (string name, BindingFlags 
bindingAttr,
+                                              Binder binder, Type returnType, 
Type [] types,
                                               ParameterModifier [] modifiers);
 
-               object InvokeMember (string name, BindingFlags invoke_attr,
+               object InvokeMember (string name, BindingFlags invokeAttr,
                                     Binder binder, object target, object [] 
args,
                                     ParameterModifier [] modifiers,
                                     CultureInfo culture,

Modified: trunk/mcs/class/corlib/System.Reflection/MemberInfo.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/MemberInfo.cs      2008-01-17 
19:12:16 UTC (rev 93187)
+++ trunk/mcs/class/corlib/System.Reflection/MemberInfo.cs      2008-01-17 
19:22:02 UTC (rev 93188)
@@ -77,11 +77,11 @@
                }
 #endif
 
-               public abstract bool IsDefined (Type attribute_type, bool 
inherit);
+               public abstract bool IsDefined (Type attributeType, bool 
inherit);
 
                public abstract object [] GetCustomAttributes (bool inherit);
 
-               public abstract object [] GetCustomAttributes (Type 
attribute_type, bool inherit);
+               public abstract object [] GetCustomAttributes (Type 
attributeType, bool inherit);
 
 #if NET_2_0 || BOOTSTRAP_NET_2_0
                public

Modified: trunk/mcs/class/corlib/System.Reflection/MethodInfo.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/MethodInfo.cs      2008-01-17 
19:12:16 UTC (rev 93187)
+++ trunk/mcs/class/corlib/System.Reflection/MethodInfo.cs      2008-01-17 
19:22:02 UTC (rev 93188)
@@ -103,7 +103,7 @@
                        throw new NotSupportedException ();
                }
 
-               public virtual MethodInfo MakeGenericMethod (params Type [] 
types)
+               public virtual MethodInfo MakeGenericMethod (params Type [] 
typeArguments)
                {
                        throw new NotSupportedException 
(this.GetType().ToString ());
                }

Modified: trunk/mcs/class/corlib/System.Reflection/Module.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/Module.cs  2008-01-17 19:12:16 UTC 
(rev 93187)
+++ trunk/mcs/class/corlib/System.Reflection/Module.cs  2008-01-17 19:22:02 UTC 
(rev 93188)
@@ -148,13 +148,13 @@
                        return (globalType != null) ? globalType.GetField 
(name, BindingFlags.Public | BindingFlags.Static) : null;
                }
        
-               public FieldInfo GetField (string name, BindingFlags flags) 
+               public FieldInfo GetField (string name, BindingFlags 
bindingAttr) 
                {
                        if (IsResource ())
                                return null;
 
                        Type globalType = GetGlobalType ();
-                       return (globalType != null) ? globalType.GetField 
(name, flags) : null;
+                       return (globalType != null) ? globalType.GetField 
(name, bindingAttr) : null;
                }
        
                public FieldInfo[] GetFields () 
@@ -205,21 +205,21 @@
                }
 
 #if NET_2_0
-               public MethodInfo[] GetMethods (BindingFlags flags) {
+               public MethodInfo[] GetMethods (BindingFlags bindingFlags) {
                        if (IsResource ())
                                return new MethodInfo [0];
 
                        Type globalType = GetGlobalType ();
-                       return (globalType != null) ? globalType.GetMethods 
(flags) : new MethodInfo [0];
+                       return (globalType != null) ? globalType.GetMethods 
(bindingFlags) : new MethodInfo [0];
                }
 
-               public FieldInfo[] GetFields (BindingFlags flags) 
+               public FieldInfo[] GetFields (BindingFlags bindingFlags)
                {
                        if (IsResource ())
                                return new FieldInfo [0];
 
                        Type globalType = GetGlobalType ();
-                       return (globalType != null) ? globalType.GetFields 
(flags) : new FieldInfo [0];
+                       return (globalType != null) ? globalType.GetFields 
(bindingFlags) : new FieldInfo [0];
                }
 #endif
        

Modified: trunk/mcs/class/corlib/System.Reflection/TargetException.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/TargetException.cs 2008-01-17 
19:12:16 UTC (rev 93187)
+++ trunk/mcs/class/corlib/System.Reflection/TargetException.cs 2008-01-17 
19:22:02 UTC (rev 93188)
@@ -51,8 +51,8 @@
                {
                }
 
-               public TargetException (string message, Exception 
innerException)
-                       : base (message, innerException)
+               public TargetException (string message, Exception inner)
+                       : base (message, inner)
                {
                }
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to