Merge pull request #798 from akoeplinger/fix-test
[mono.git] / mcs / class / corlib / System.Reflection / ChangeLog
index 2b0a73c3f5ee2db340eb90b21c8a67f8947883fe..cbe45299c85d8e1dfece7525ee5f100bfa77109f 100644 (file)
@@ -1,3 +1,290 @@
+2010-07-28  Jb Evain  <jbevain@novell.com>
+
+       * Assembly.cs: add IsFullyTrusted stub.
+
+Thu Jul 22 11:05:04 CEST 2010 Paolo Molaro <lupus@ximian.com>
+
+       * Module.cs: added == and != operators for 4.0.
+
+2010-06-21  Jb Evain  <jbevain@novell.com>
+
+       * MonoModule.cs
+       * Assembly.cs
+       * MonoAssembly.cs
+       * Module.cs:
+               Make Assembly and Module abstract on Moonlight too.
+
+2010-06-03  Jb Evain  <jbevain@novell.com>
+
+       * Assembly.cs: add net_4_0's PermissionSet property.
+
+2010-05-27  Jb Evain  <jbevain@novell.com>
+
+       * Assembly.cs (Load*): add net_4_0 overloads.
+
+2010-05-13 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MonoAssembly.cs: Fix a 2.0 corlib test failure.
+
+2010-04-20 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Binder.cs (SelectMethod): Exact matching must check
+       all entries because if two of them match, we must use
+       the slow path.
+
+       * Binder.cs (GetBetterMethod): Don't give generic method
+       definition special treatment.
+
+       Fixes #325306.
+
+2010-04-08 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MonoGenericClass.cs: Implement ResolveInternal.
+
+2010-04-08 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MonoField.cs (Get|Set)Value: Check if obj is compatible
+       with field's class.
+
+2010-04-02  Marek Safar  <marek.safar@gmail.com>
+
+       * MethodBase.cs: Made GetParameterCount abstract and implement
+       where missing to avoid redundant allocations.
+
+2010-04-01 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Module.cs (GetMethod): Check for null 'types' argument.
+
+       * MonoModule.cs (GetMethodImpl): Special case when 'types'
+       is null and call Type::GetMethod(string) directly.
+       This is ok since proper checking of the 'types' overload
+       is done by callers.
+
+2010-04-01  Jb Evain  <jbevain@novell.com>
+
+       * Module.cs: make Module abstract on net_4_0.
+
+2010-03-31 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Module.cs:
+       * MonoModule.cs: Implement MetadataToken, FullyQualifiedName,
+       ModuleVersionId, MDStreamVersion, ScopeName,
+       Name, Assembly.
+
+2010-03-31 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Module.cs:
+       * MonoModule.cs: Implement GetSignerCertificate and
+       GetTypes.
+
+2010-03-31 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Module.cs:
+       * MonoModule.cs: Implement ResolveMember, ResolveMethod,
+       ResolveString, ResolveType, ResolveSignature and
+       GetMethods.
+
+2010-03-31 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Module.cs:
+       * MonoModule.cs: Implement GetField, GetFields,
+       GetMethodImpl, GetPEKind, GetType, IsDefined and
+       ResolveField.
+
+2010-03-31 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Module.cs:
+       * MonoModule.cs: Implement GetCustomAttributesData.
+
+2010-03-31 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Module.cs:
+       * MonoModule.cs: Implement GetCustomAttributes.
+
+2010-03-31 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Module.cs:
+       * MonoModule.cs: Implement FindTypes.
+
+2010-03-31 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Assembly.cs: Raise the right exception.
+
+2010-03-31 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Module.cs: Make .ctor protected under v4.
+       * MonoModule.cs: Implement IsResource.
+
+2010-03-31 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Module.cs: Make it a partial class under !v4.
+
+       * MonoModule.cs: New type that exists only under
+       v4. Under v2 it is a part of Module.
+
+       This is the initial setup to make v4 Module an
+       abstract type where all methods raise exceptions.
+
+2010-03-30  Jb Evain  <jbevain@novell.com>
+
+       * MonoAssembly.cs: make MonoAssembly non public.
+
+2010-03-30  Jb Evain  <jbevain@novell.com>
+
+       * Binder.cs (BindToMethod): fix the case where we bind to a method
+       with only one params parameter and that no args are given.
+
+2010-03-30  Jb Evain  <jbevain@novell.com>
+
+       * Binder.cs: when invoking a params method, pack the params
+       arguments before doing the actual invocation.
+
+       Fixes #591877
+
+2010-03-26 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Assembly.cs: Add IsDynamic.
+
+2010-03-26 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MonoAssembly.cs:
+       * Assembly.cs: Add missing MonoTODO.
+
+2010-03-26 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Assembly.cs: Add v4 ==, != and GetHashCode ()
+
+2010-03-25 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Assembly.cs: Add v4 obsolete attribute.
+
+2010-03-25 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Assembly.cs:
+       * MonoAssembly.cs: Move a dozen methods from Assembly.cs
+       to MonoAssembly.cs, so they can either be the concrete impl
+       on v4 of the only impl on v2.
+       Add to Assembly.cs versions that throws NotImplementedException.
+       Mask Assembly.cs as abstract.
+
+2010-03-24 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Assembly.cs: Make it a partial class under !v4.
+
+       * MonoAssembly.cs: New type that exists only under
+       v4. Under v2 it is a part of Assembly.
+
+       This is the initial setup to make v4 Assembly an
+       abstract type where all methods raise exceptions.
+
+2010-03-24  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * MethodInfo.cs: Exclude IsGenericMethod* and ContainsGenericParameters
+       from moonlight too.
+
+2010-03-16  Jb Evain  <jbevain@novell.com>
+
+       * Assembly.cs: use MOONLIGHT symbol to
+       disambiguate MonoTouch and Moonlight code.
+
+2010-03-07 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * EventInfo.cs: Some v4 adjustments.
+
+2010-03-07 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MethodInfo.cs: New v4 stuff.
+
+2010-03-07 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * ManifestResourceInfo.cs: New v4 .ctor.
+
+2010-02-28 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * CustomAttributeData.cs:
+       * ExceptionHandlingClause.cs:
+       * LocalVariableInfo.cs: Add some v4 bits.
+
+2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * PropertyInfo.cs: Small hack to avoid having cor-compare
+       flagging Get(Raw)ConstantValue as not implemented.
+
+2010-02-24 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MethodBody.cs: Add v4 bits.
+
+2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MethodBody.cs: Add v4 bits.
+
+2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MethodBase.cs: Add some v4 bits.
+
+2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MemberInfo.cs: Add GetCustomAttributesData.
+
+       * Assembly.cs:
+       * MemberInfo.cs:
+       * Module.cs:
+       * MonoEvent.cs:
+       * MonoField.cs:
+       * MonoMethod.cs:
+       * MonoProperty.cs:
+       * ParameterInfo.cs: Implement GetCustomAttributesData.
+
+2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MemberInfo.cs: Add some v4 bits.
+
+2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MethodImplAttributes.cs: Add NoOptimization flag.
+
+2010-02-11  Marek Habersack  <mhabersack@novell.com>
+
+       * ConstructorInfo.cs, EventInfo.cs, FieldInfo.cs: fix 4.0 equality
+       and inequality operators by casting the passed parameters to
+       object. Failing to do so leads to infinite recursion calling the
+       operator.
+
+2010-02-10 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * FieldInfo.cs: Add some v4 bits.
+
+2010-02-10 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * EventInfo.cs: Add some v4 bits.
+
+2010-02-10 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * ConstructorInfo.cs: Add some v4 bits.
+
+2010-02-10 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * PropertyInfo.cs: Remove a pair of MonoTODO.
+
+       * MonoProperty.cs: Implement GetConstantValue and GetRawConstantValue.
+
+2010-02-05 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MonoMethod.cs (GetParameters): Must return a copy instead of the interned array.
+
+       * MonoMethod.cs (Invoke): Skip array clone in GetParameters.
+
+       * MonoProperty.cs (GetIndexParameters): Properly handle write-only indexed properties.
+       Return a ParameterInfo object bound to the properly and not to the method.
+
+       * ParameterInfo.cs: Add new constructor that copies all fields but Member.
+
+       * ParameterInfo.cs (MetadataToken): Properly handle tokens of non-method members.
+
+2010-01-31  Zoltan Varga  <vargaz@gmail.com>
+
+       * MonoGenericClass.cs: Fix a warning.
+
 2010-01-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>
 
        * Assembly.cs: GetSatelliteAssembly: Ask LoadSatellite to not throw