2006-02-15 Martin Baulig <martin@ximian.com>
[mono.git] / mcs / class / corlib / System.Reflection.Emit / ChangeLog
index 20bde6546853a3b343d683f4d4a135a5f042ef79..3d229bedae7267401ef2151a757edea3fe2a4cc8 100644 (file)
@@ -1,5 +1,235 @@
+2006-02-15  Martin Baulig  <martin@ximian.com>
+
+       * TypeBuilder.cs (TypeBuilder.DefineMethod): Also enable the
+       2-argument version in the `BOOTSTRAP_NET_2_0' profile.
+       (TypeBuilder.DefineGenericMethod): Removed.
+
+2006-02-14  Martin Baulig  <martin@ximian.com>
+
+       * ConstructorBuilder.cs
+       (ConstructorBuilder.IsGenericMethod): Override this and return
+       false; the MS runtime doesn't throw an exception here.
+       (ConstructorBuilder.IsGenericMethodDefinition): Likewise.
+
+       * MethodBuilder.cs
+       (MethodBuilder.IsGenericMethod): Implement this.
+       (MethodBuilder.IsGenericMethodDefinition): Likewise.
+
+2006-02-03  Zoltan Varga  <vargaz@gmail.com>
+
+       * TypeBuilder.cs (CreateType): Add a check for Sealed parents.
+
+2006-02-01  Zoltan Varga  <vargaz@gmail.com>
+
+       * OpCodes.cs: Readonly is a net 2.0 only field.
+
+Tue Jan 31 13:37:02 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * OpCodes.cs: Added Readonly field.
+
+2006-01-29  Raja R Harinath  <harinath@gmail.com>
+
+       * GenericTypeParameterBuilder.cs (DeclaringType): Return the
+       declaring type of a generic method.
+
+2005-12-15  Raja R Harinath  <rharinath@novell.com>
+
+       * TypeBuilder.cs (IsGenericType): Implement override.
+
+2005-12-07  Martin Baulig  <martin@ximian.com>
+
+       * GenericTypeParameterBuilder.cs: Add support for custom attributes.
+       (GenericTypeParameterBuilder.cattrs): New field.
+       (GenericTypeParameterBuilder.SetCustomAttribute): Implement this.
+
+Mon Dec 5 15:13:26 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * ILGenerator.cs: fixed emitting doubles on ARM.
+
+2005-12-02  Alp Toker  <alp@atoker.com>
+
+       * GenericTypeParameterBuilder.cs:
+       * TypeBuilder.cs: DeclaringMethod should return MethodBase, not MethodInfo
+
+2005-11-19  Zoltan Varga  <vargaz@gmail.com>
+
+       * AssemblyBuilder.cs: Add support for setting FileVersion unmanaged 
+       resource. Fixes #64427.
+
+2005-11-18  Zoltan Varga  <vargaz@gmail.com>
+
+       * ParameterBuilder.cs (SetCustomAttribute): Handle DefaultParameterValueAttribute as well.
+
+       * CustomAttributeBuilder.cs: Add support for decoding more types of
+       constructor parameters.
+
+2005-11-11  Zoltan Varga  <vargaz@gmail.com>
+
+       * TypeBuilder.cs (SetCustomAttribute): Handle ComImportAttribute as well.
+
+2005-11-11  Marek Safar  <marek.safar@seznam.cz>
+
+       * EnumBuilder.cs, GenericTypeParameterBuilder.cs: Reflect Type changes.
+
+2005-11-06  Zoltan Varga  <vargaz@freemail.hu>
+
+       * Label.cs: Add == and != operators.
+
+2005-10-30  Zoltan Varga  <vargaz@freemail.hu>
+
+       * FieldBuilder.cs: Add implementation of new UMarshal property.
+
+2005-10-27  Zoltan Varga  <vargaz@gmail.com>
+
+       * FieldBuilder.cs MethodBuilder.cs ConstructorBuilder.cs: Add support for
+       returing custom attributes in created types. MS.NET supports this by
+       returning non-builder objects from GetMethod/GetField etc., but we return
+       builder objects in this case. Fixes #76521.
+
+2005-10-24  Martin Baulig  <martin@ximian.com>
+
+       * TypeBuilder.cs (TypeBuilder.IsGenericTypeDefinition): Override this.
+
+2005-10-03  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * CustomAttributeBuilder.cs : internal attributes should be allowed.
+         Fixed bug #75723.
+
+2005-09-26  Marek Safar  <marek.safar@seznam.cz>
+
+       * PropertyBuilder.cs: Throw NotSupportedException for unsupported
+       methods.
+
+2005-09-14  Martin Baulig  <martin@ximian.com>
+
+       * LocalBuilder.cs
+       (LocalBuilder.Mono_GetLocalIndex): New static internal method;
+       same as the .NET 2.0 property `LocalIndex'.
+
+Mon Sep 5 18:08:09 CEST 2005 Paolo Molaro <lupus@ximian.com>
+
+       * EventBuilder.cs, FieldBuilder.cs, MethodBuilder.cs, TypeBuilder.cs,
+       PropertyBuilder.cs: take care of the SpecialName attribute (bug #75768).
+
+2005-09-01  Raja R Harinath  <rharinath@novell.com>
+
+       * CustomAttributeBuilder.cs (get_umarshal): Don't cause a nullref
+       exception when passed a custom marshaller type that belongs to the
+       assembly being built.  When user specifies MarshalType rather than
+       MarshalTypeRef, don't attempt to resolve the type.
+
+2005-08-31  Raja R Harinath  <rharinath@novell.com>
+
+       * CustomAttributeBuilder.cs (get_umarshal): Fix typo.  The name of
+       the field is "SizeParamIndex", not "SizeSizeParamIndex".
+
+       * ParameterBuilder.cs (SetCustomAttribute) [MarshalAsAttribute]:
+       Set ParameterAttributes.HasFieldMarshal flag.
+
+2005-08-19  Zoltan Varga  <vargaz@freemail.hu>
+
+       * DynamicMethod.cs (CreateDelegate): Don't cache the delegate since it
+       needs to be different for each target.
+       
+       * DynamicMethod.cs (CreateDynMethod): Call ilgen.label_fixup ().
+
+       * DynamicMethod.cs (AddRef): Reserve every second ref slot for use by the
+       runtime.
+
+2005-08-05  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * AssemblyBuilder.cs: Implement _AssemblyBuilder, CA fixes to 
+       correspond with MS.NET
+       * ConstructorBuilder.cs: Implement _ConstructorBuilder, CA fixes to 
+       correspond with MS.NET
+       * CustomAttributeBuilder.cs: Implement _CustomAttributeBuilder, CA 
+       fixes to correspond with MS.NET
+       * EnumBuilder.cs: Implement _EnumBuilder, CA fixes to correspond with 
+       MS.NET
+       * EventBuilder.cs: Implement _EventBuilder, CA fixes to correspond 
+       with MS.NET
+       * FieldBuilder.cs: Implement _FieldBuilder, CA fixes to correspond 
+       with MS.NET
+       * LocalBuilder.cs: Implement _LocalBuilder, CA fixes to correspond 
+       with MS.NET
+       * MethodBuilder.cs: Implement _MethodBuilder, CA fixes to correspond 
+       with MS.NET
+       * MethodRental.cs: CA fixes to correspond with MS.NET, implemented
+       _MethodRental.
+       * ModuleBuilder.cs: Implement _ModuleBuilder, CA fixes to correspond 
+       with MS.NET
+       * ILGenerator.cs: Implement _ILGenerator, CA fixes to correspond 
+       with MS.NET
+       * ParameterBuilder.cs Implement _ParameterBuilder, CA fixes to 
+       correspond with MS.NET
+       * PropertyBuilder.cs: Implement _PropertyBuilder, CA fixes to 
+       correspond with MS.NET
+       * SignatureHelper.cs: Implement _SignatureHelper, CA fixes to 
+       correspond with MS.NET
+       * TypeBuilder.cs: Implement _TypeBuilder, CA fixes to correspond 
+       with MS.NET
+
+2005-07-21  Jb Evain  <jbevain@gmail.com>
+
+       * ILGenerator.cs: Implement filter blocks support.
+       Fixes bug #75010.
+
+2005-07-21  Zoltan Varga  <vargaz@freemail.hu>
+
+       * ILGenerator.cs (BeginFaultBlock): Call InternalEndClause () here
+       too. Reported by Jeroen Frijters.
+
+2005-07-11  Martin Baulig  <martin@ximian.com>
+
+       * TypeBuilder.cs (TypeBuilder.CreateType): Call
+       create_generic_class() here as well; fixes #75454.
+
+2005-06-27  Marek Safar  <marek.safar@seznam.cz>
+
+       * TypeBuilder.cs (check_name): Wrong exception argument order.
+
+2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AssemblyBuilder.cs: Override UnprotectedGetName to set the public 
+       key (if available).
+
+2005-06-12  Gert Driesen <drieseng@users.sourceforge.net>
+
+       * MethodBuilder.cs: In CreateMethodBody, throw 
+       ArgumentOutOfRangeException instead of ArgumentException when count 
+       is not within range of array. Do not allow zero length method body 
+       to be emitted when using 2.0 profile. Fixes bug #75236.
+
+2005-06-12  Gert Driesen <drieseng@users.sourceforge.net>
+
+       * FieldBuilder.cs: FieldBuilder.FieldHandle should throw
+       NotSupportedException to match MS.NET (both 1.x and 2.x). 
+       Fixes regression introduced in r45750.
+       * MethodBuilder.cs: MethodBuilder.MethodHandle should throw
+       NotSupportedException to match MS.NET (both 1.x and 2.x).
+       Fixes regression introduced in r45750.
+
+2005-06-09  Kamil Skalski <nazgul@nemerle.org>
+       * ConstructorBuilder.cs FieldBuilders.cs MethodBuilder.cs: Return
+       RuntimeHandles when requested
+       
+       * TypeBuilder.cs: Add static Get{Method,Constructor,Field} methods
+       from .NET 2.0 beta 2 API for obtaining instanciated *Info objects
+       from non-instanciated counterparts 
+
+2005-06-08  Zoltan Varga  <vargaz@freemail.hu>
+
+       * ConstructorBuilder.cs FieldBuilder.cs MethodBuilder.cs PropertyBuilder.cs:
+       Add 2.0 Module property.
+
+       * *.cs: Updates for net 2.0 beta 2.
+
 2005-06-07  Zoltan Varga  <vargaz@freemail.hu>
 
+       * *Token.cs: Add net 2.0 Equals methods.
+
+       * *.cs: Updates for net 2.0 beta 2.
+
        * *.cs: Updates for net 2.0 beta 2.
 
 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>