2007-05-11 Jonathan Chambers <joncham@gmail.com>
[mono.git] / mcs / class / corlib / System.Reflection / ChangeLog
index 45fd7381795a3f0e5b6e9a093c99f0bcaaf8a20f..5c34bb4f0e1e10ffaf44668aa44c37b39f8aecda 100644 (file)
@@ -1,3 +1,223 @@
+
+Tue May 8 13:04:35 CEST 2007 Paolo Molaro <lupus@ximian.com>
+
+       * FieldInfo.cs, MethodBase.cs: implemented new GetFieldFromHandle and
+       GetMethodFromHandle overloads (bug #78637).
+
+2007-05-07  Zoltan Varga  <vargaz@gmail.com>
+
+       * MonoMethod.cs (Invoke): Fix a warning.
+       
+       * MonoMethod.cs (Invoke): Don't wrap ThreadAbortException inside a 
+       TargetInvocationException on the 2.0 profile. Fixes #81538.
+
+2007-04-09  Alp Toker  <alp@atoker.com>
+
+       * MonoMethod.cs: Use StringBuilder for the entire ToString() methods
+       to reduce allocations and increase performance.
+
+2007-04-09  Alp Toker  <alp@atoker.com>
+
+       * MonoMethod.cs: Use StringBuilder for parms in ToString() methods.
+
+2007-04-09  Alp Toker  <alp@atoker.com>
+
+       * MethodBase.cs: IsGenericMethodDefinition() and IsGenericMethod()
+       should return false, not throw NotSupportedException. This matches MS
+       behaviour and introduces simplifications in subclasses.
+       * MonoMethod.cs: MonoCMethod: Remove redundant overrides.
+
+2007-03-05  Peter Dettman <peter.dettman@iinet.net.au>
+
+       * Binder.cs: The patch changes Binder.Default.GetBetterMethod to
+       prefer methods in subclasses if the arg types can't disambiguate
+       them.
+
+       Also fixes a typo in the CallingConventions comparison.
+
+2007-03-01  Alp Toker  <alp@atoker.com>
+
+       * FieldInfo.cs:
+       Add GetFieldFromHandle() 2.0 overload stub (NotImplemented).
+
+2007-03-01  Alp Toker  <alp@atoker.com>
+
+       * MethodBase.cs: Add missing ComVisible attr.
+       Add GetMethodFromHandle() 2.0 overload stub (NotImplemented).
+
+2006-12-30  Marek Safar  <marek.safar@gmail.com>
+
+       * MonoProperty.cs: Cache frequently used properties.
+
+Thu Dec 14 13:50:48 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * *.cs: added missing Serializable attributes.
+
+Thu Dec 14 12:52:27 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * MonoProperty.cs, ParameterInfo.cs, PropertyInfo.cs:
+       GetRequiredCustomModifiers()/GetOptionalCustomModifiers()
+       implementations.
+
+Tue Dec 12 20:35:10 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * MethodBase.cs: added missing ComVisible attr.
+       * MethodInfo.cs: added a few missing methods that we implement
+       in derived classes.
+
+Tue Dec 12 19:45:26 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * MonoEvent.cs: correctly obey the nonPublic flag in GetOtherMethods ().
+       * EventInfo.cs: remove NotImpl exception from GetOtherMethods ().
+
+2006-10-19  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * AssemblyName.cs: Revert change where filename was not converted to
+       absolute path before passing it to Assembly.InternalGetAssemblyName
+       as the CodeBase is not set in that case.
+
+2006-10-17  Kornél Pál  <kornelpal@gmail.com>
+
+       * FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a
+         NotSupportedException is the proper implementation.
+       * ParameterInfo.cs: Use Attributes in Is... properties on profile 2.0
+         that is expected by subclasses.
+
+2006-10-14  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * AssemblyName.cs: No need to convert filename to absolute path before
+       passing it to Assembly.InternalGetAssemblyName. This allows our
+       exception messages to be better match those of MS.
+
+2006-09-29  Jb Evain  <jbevain@gmail.com>
+
+       * MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.
+
+2006-09-02  Zoltan Varga  <vargaz@gmail.com>
+
+       * ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from 
+       Peter Dettman (peter.dettman@iinet.net.au). Implement ReturnParameter
+       property.
+
+       * Binder.cs (ReorderParameters): Really fix this.
+       
+       * Binder.cs (ReorderParameters): Fix this method. Fixes #79120.
+
+2006-09-01  Raja R Harinath  <rharinath@novell.com>
+
+       * MonoMethod.cs (ToString): Update to handle change in byref type names.
+
+2006-08-08  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Assembly.cs: On 2.0 profile, throw FileNotFoundException for
+       linked resources in GetManifestResourceStream when assembly is
+       loaded from byte array.
+
+2006-07-12  Zoltan Varga  <vargaz@gmail.com>
+
+       * MonoMethod.cs (ContainsGenericParameters): Implement.
+       
+       * MonoMethod.cs (Invoke): Prevent invoking of open generic methods.
+
+2006-07-09  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Assembly.cs: When assembly is loaded from byte array, return null
+       for linked resources in GetManifestResourceStream. Fixes bug #78468.
+
+2006-07-09  Zoltan Varga  <vargaz@gmail.com>
+
+       * Binder.cs: Add back the support for BindingFlags.ExactBinding. Fixes #78592.
+
+2006-06-30  Zoltan Varga  <vargaz@gmail.com>
+
+       * Binder.cs: Comment out the ExactBinding stuff for the release as it breaks some 
+       gtk# apps.
+
+2006-06-07  Zoltan Varga  <vargaz@gmail.com>
+
+       * Binder.cs: Add support for BindingFlags.ExactBinding. Fixes #78592.
+
+2006-05-28  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * MethodBase.cs: GetMethodBody should not throw ArgumentException for
+       a method with no IL body. Fixes bug #78522.
+
+2006-05-10  Zoltan Varga  <vargaz@gmail.com>
+
+       * Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
+
+2006-05-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Binder.cs : (Default.SelectMethod)
+         don't throw AmbiguousMatchException when one of conflicting method
+         matches weakly. Fixed bug #42547.
+
+2006-05-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Binder.cs : (Default.BindToMethod) reorder parameters based
+         on namedParameters. Fixed bug #41691.
+
+2006-05-03  Jb Evain  <jbevain@gmail.com>
+
+       * MonoField.cs (GetValue,SetValue): throw a TargetException
+       when the field is non static and the target is null.
+
+2006-03-12  Zoltan Varga  <vargaz@gmail.com>
+
+       * Binder.cs: Applied patch from Ben to fix #74947.
+
+2006-03-01  Miguel de Icaza  <miguel@novell.com>
+
+       * Assembly.cs: Cache the AssemblyName, patch from Tambet.  This
+       reduces the memory usage during remoting.
+
+2006-02-16  Martin Baulig  <martin@ximian.com>
+
+       * FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.
+
+2006-02-15  Martin Baulig  <martin@ximian.com>
+
+       * MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
+       (MethodBase.Mono_IsInflatedMethod): Removed.
+       (MethodBase.HasGenericParameters): Removed.
+
+       * MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
+       here from MethodBase.
+
+       * MonoMethod.cs
+       (MonoMethod.IsGenericMethodDefinition): This is now an icall.
+       (MonoMethod.IsGenericMethod): Likewise.
+
+2006-02-14  Martin Baulig  <martin@ximian.com>
+
+       * MonoMethod.cs
+       (MonoCMethod.IsGenericMethod): Override this and return false; the
+       MS runtime doesn't throw an exception here.
+
+2006-02-08  Martin Baulig  <martin@ximian.com>
+
+       * MonoGenericClass.cs (MonoGenericClass.IsAssignableFrom):
+       Override and implement this; fixes #77395.      
+
+2006-02-07  Martin Baulig  <martin@ximian.com>
+
+       * MonoMethod.cs
+       (MonoMethod.IsGenericMethod): Only return true for "real" generic
+       methods and not for arbitrary instantiated methods.
+       (MonoMethod.IsGenericMethodDefinition): Only return true for
+       generic method definitions, but not for instantiated generic
+       methods.  This is no longer an interncall.  Fixes #77466.
+
+2006-02-03  Zoltan Varga  <vargaz@gmail.com>
+
+       * MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
+       Fixes #77460.
+
+2005-12-23  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Assembly.cs: Fixed #75950. The icall has been changed to accept a 
+       boolean so it can return a non-escaped code base.
+
 2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>
 
        * MonoMethod.cs : made MakeGenericMethod() indirect icall to