2009-01-09 Zoltan Varga <vargaz@gmail.com>
[mono-project.git] / mcs / class / corlib / System.Reflection / ChangeLog
blob8859ba77b99c7a376ad329be857cb2479b3fab48
1 2009-01-09  Zoltan Varga  <vargaz@gmail.com>
3         Backport of r122907.
4         
5         * CustomAttributeData.cs (ToString): Applied patch from Leszek Ciesielski
6         <skolima@gmail.com>. Use DeclaringType.FullName instead of DeclaringType.Name.
7         Fixes #464830.
9 2008-11-17  Rodrigo Kumpera  <rkumpera@novell.com>
11         * MonoField.cs (GetValue): Don't check for open generic types if the field
12         is a constant.
14         Backported from trunk.
16 2008-11-11  Rodrigo Kumpera  <rkumpera@novell.com>
18         * Module.cs (ResolveMethod): Use internal method 
19         GetMethodFromHandleNoGenericCheck to avoid the generic type
20         limitation of GetMethodFromHandle.
22         Fixes #443763.
24         Backported from trunk.
26 2008-10-02 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
28         * MonoMethod.cs: throw a MemberAccessException when
29         trying to invoke a constructor creating an instance of an abstract
30         class. Return null when an instance of an object was passed as a
31         parameter when invoking a .ctor. Fixes bug #324185.
33 2008-09-07  Zoltan Varga  <vargaz@gmail.com>
35         * MonoField.cs: Add check to GetValue/SetValue () to avoid crashes when it is
36         called on fields of open types. Fixes #424077.
38 2008-08-12  Gert Driesen  <drieseng@users.sourceforge.net>
40         * ReflectionSerializationHolder.cs: Removed.
41         * common.src: Removed.
43 2008-08-04  Atsushi Enomoto  <atsushi@ximian.com>
45         * Assembly.cs : return UnmanagedMemoryStream from 
46           GetManifestResourceStream(). Fixed bug #322241.
48 2008-07-30  Rodrigo Kumpera  <rkumpera@novell.com>
50         * MonoGenericClass.cs (InflateType): Guard against null types.
51         Fixes #412965.
53 2008-07-23  Marek Safar  <marek.safar@gmail.com>
55         * MethodBase.cs (GetMethodFromHandle): Needed for bootraping.
57 2008-07-22  Rodrigo Kumpera  <rkumpera@novell.com>
59         * MonoGenericClass.cs (GetMethod): Under compiler mode allow
60         MethodOnTypeBuilderInst to be used..
62 2008-07-17  Rodrigo Kumpera  <rkumpera@novell.com>
64         * MonoGenericClass.cs (GetMethod): Revert to old code
65         path as the new one broke System.Core.
67 2008-07-16  Rodrigo Kumpera  <rkumpera@novell.com>
69         * MonoGenericClass.cs (GetMethod): Use the new codepath for compiler
70         context.
72         * MonoGenericClass.cs: New InflateType method, used to inflate
73         managed types.
75 2008-07-11  Marek Safar  <marek.safar@gmail.com>
77         * MonoGenericClass.cs (GetField): Put back removed code.
79 2008-07-04  Rodrigo Kumpera  <rkumpera@novell.com>
81         * MethodBase.cs (GetMethodFromHandle): Fix a warning in
82         the 1.0 build.
84 2008-07-04  Rodrigo Kumpera  <rkumpera@n ovell.com>
86         * MethodBase.cs (GetMethodFromHandle): Extract an internal version
87         of this function that doesn't perform the generic class check.
88         This method is required to fix the Delegate regression that fixing
89         #377324 caused.
91 2008-06-25  Rodrigo Kumpera  <rkumpera@n ovell.com>
93         * MethodBase.cs (GetMethodFromHandle): Check if the icall returns null
94         and fail. This is part of the fix for #377324.
96 2008-06-19  Marek Safar  <marek.safar@gmail.com>
98         * MonoGenericClass.cs (GetConstructor): Put back removed code due to obscure
99         System.Reflection.MonoGenericCMethod.
101 2008-06-19  Kornel Pal  <kornelpal@gmail.com>
103         * Module.cs: Add internal GetHINSTANCE.
105 2008-06-02  Ivan N. Zlatev  <contact@i-nz.net>
107         * Binder.cs, MonoGenericClass.cs: For property reflection we should 
108         strictly match the return type if available.
110 2008-05-16  Zoltan Varga  <vargaz@gmail.com>
112         * MonoGenericClass.cs (GetConstructor): Remove some old code, as the new code
113         seems to work fine.
114         (GetField): Ditto.
116 2008-05-05  Zoltan Varga  <vargaz@gmail.com>
118         * FieldInfo.cs (GetFieldFromHandle): Add an argument check for an invalid handle.
120         * MethodBase.cs (GetMethodFromHandle): Ditto. Fixes #386641.
122 2008-04-30  Gert Driesen  <drieseng@users.sourceforge.net>
124         * ParameterInfo.cs: Name must default to null if no ParameterBuilder
125         is supplied.
127 2008-04-22  Zoltan Varga  <vargaz@gmail.com>
129         * MonoGenericClass.cs (GetMethod): Construct a MethodOnTypeBuilderInst object
130         instead of using GetCorrespondingInflatedMethod. This is needed so this class can
131         reflect the changes made to the builder after initialize () has been called.
132         Fixes #381547 and #354759.
133         (GetConstructor): Ditto.
135 2008-04-16  Zoltan Varga  <vargaz@gmail.com>
137         * Binder.cs: Applied patch from Yves Bastide (doc.formatique@gmail.com). Add 
138         support for converting integers to enums. Fixes #380361.
140 ?2008-04-02  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
142         * IReflect.cs
143         * MethodInfo.cs: Fix parameter names
145 2008-03-31  Mark Probst  <mark.probst@gmail.com>
147         * MonoMethod.cs: Don't do CAS security checks in Invoke for 2.1
148         profile.
150 2008-03-25  Zoltan Varga  <vargaz@gmail.com>
152         * MonoCMethod.cs (Invoke): Avoid a crash if this is called on a ctor of an open
153         generic type. Fixes #373459.
154         
155         * MonoMethod.cs (InternalInvoke): Add an out 'exc' argument used to distinguish
156         exceptions thrown by the icall from the exceptions thrown by the wrapped method.
157         Fixes #373448.
159 2008-03-17  Marek Safar  <marek.safar@gmail.com>
161         * MonoMethod.cs (ToString): Print VarArgs argument.
163 2008-03-14  Zoltan Varga  <vargaz@gmail.com>
165         * MonoGenericClass.cs (GetField): Construct a FieldOnTypeBuilderInst object
166         instead of using GetCorrespondingInflatedField. This is needed so this class can
167         reflect the changes made to the type builder after initialize () has been called.
169         * Binder.cs (ChangeType): Add support for Char->Double/Single conversations. Fixes
170         #367655.
172 2008-03-10  Gert Driesen  <drieseng@users.sourceforge.net>
174         * Assembly.cs (GetFile): Fixed exception messages and param name.
176 2008-03-06  Zoltan Varga  <vargaz@gmail.com>
178         * Assembly.cs: Define GetManifestModule () for net 2.0 bootstrap as well.
180 2008-02-26  Ivan N. Zlatev  <contact@i-nz.net>
182         * MonoProperty.cs: MS ignores the inherit parameter and defaults to false
183         for GetCustomAttributes.
184         [Fixes bugs #324472 and #322464]
186 2008-02-20  Zoltan Varga  <vargaz@gmail.com>
188         * AssemblyName.cs (ReferenceMatchesDefinition): Add error checking and some 
189         simple cases required by ikvm.
191 2008-02-18  Zoltan Varga  <vargaz@gmail.com>
193         * CustomAttributeTypedArgument.cs (.ctor): Convert arrays into a collection of
194         CustomAttributeTypedArguments to match MS.
196 2008-02-10  Gert Driesen  <drieseng@users.sourceforge.net>
198         * Assembly.cs: Use icall for ToString/FullName. Fixes bug #318231.
200 2008-02-02  Gert Driesen  <drieseng@users.sourceforge.net>
202         * MonoMethod.cs (MakeGenericMethod): Modified argument name to match
203         MS. When one of the types is null, throw ArgumentNullException instead
204         of ArgumentException.
205         * MethodInfo.cs (MakeGenericMethod): Modified argument name to match
206         MS.
208 2008-01-29  Zoltan Varga  <vargaz@gmail.com>
210         * Assembly.cs: Make GetTypes () virtual so it can be overriden by AssemblyBuilder.
211         
212         * Assembly.cs: Make GetModulesInternal () virtual so it can be overriden by
213         AssemblyBuilder.
215 2008-01-22  Zoltan Varga  <vargaz@gmail.com>
217         * MonoGenericClass.cs: Make this NET 2.0 only.
218         
219         * MonoGenericClass.cs (Initialize): Simplify this a bit and add comments for this
220         class.
222 2008-01-20  Gert Driesen  <drieseng@users.sourceforge.net>
224         * AssemblyName.cs: Added support for Retargetable spec in FullName.
226 2008-01-17  Zoltan Varga  <vargaz@gmail.com>
228         * Assembly.cs AssemblyFlagsAttribute.cs ICustomAttributeProvider.cs
229         MemberInfo.cs FieldInfo.cs DefaultMemberAttribute.cs 
230         CustomAttributeNamedArgument.cs TargetException.cs MethodInfo.cs
231         IReflect.cs CustomAttributeTypedArgument.cs Module.cs: Change some parameter
232         names to match MS.
234 2008-01-15  Jb Evain  <jbevain@novell.com>
236         * MonoMethod.cs (MakeGenericMethod): check for null values
237         in the types arguments. Fixes #353849.
239 2008-01-06  Sebastien Pouliot  <sebastien@ximian.com>
241         * Assembly.cs: Fix typo in setter found with Gendarme (was used in a
242         single place, AppDomain, and set to true so it never caused a problem)
244 2008-01-04  Gert Driesen  <drieseng@users.sourceforge.net>
246         * AssemblyName.cs: Fixed default value for ProcessorArchitecture to
247         match MS. On 2.0 profile, return zero-length in FullName is no name
248         is set, and throw a SecurityException in FullName and GetPublicKeyToken
249         if a public key is set with no corresponding public key token. 
250         Fixed FullName to also include PublicKeyToken spec with "null" value
251         if public key is empty byte array. Fixed corlib part of bug #351057.
252         In SetPublicKey, modify Flags accordingly. On the 2.0 profile, verify
253         the public key when the public key token is computed.
255 2007-12-26  Zoltan Varga  <vargaz@gmail.com>
257         * Assembly.cs (GetSatelliteAssembly): Search in the assembly directory as well.
258         Fixes ##345627.
260 2007-12-03  Zoltan Varga  <vargaz@gmail.com>
262         * MonoField.cs: Implement GetRawConstantValue ().
264 2007-11-24  Marek Habersack  <mhabersack@novell.com>
266         * CustomAttributeTypedArgument.cs: value can be null in ToString.
268 2007-11-16  Zoltan Varga  <vargaz@gmail.com>
270         * Assembly.cs (GetFiles): Include the assembly itself as the first entry.
272 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
274         * AssemblyName.cs : remove extraneous MonoTODO.
276 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
278         * ExceptionHandlingClause.cs : implemented ToString().
280 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
282         * MethodBase.cs : (Invoke) removed extra interface implementation.
284 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
286         * StrongNameKeyPair.cs : implemented 2.0 runtime serialization stuff.
288 2007-11-05  Mark Probst  <mark.probst@gmail.com>
290         * Binder.cs: Treat matches with different argument types as
291         ambiguous, too.  Fixes #324998.
293 2007-11-01  Zoltan Varga  <vargaz@gmail.com>
295         * Binder.cs: Avoid returning a method with a ParamArray attribute when a normal
296         method exists. Fixes #338266.
298 2007-10-30  Zoltan Varga  <vargaz@gmail.com>
300         * Binder.cs: Applied patch from Mario A Chavez <mario.chavez@gmail.com>. Add
301         support for binding to methods with ParamArray attribute. Fixes #336841.
303 2007-10-27  Zoltan Varga  <vargaz@gmail.com>
305         * MonoGenericClass.cs: Override GetPropertyImpl too.
307 2007-10-24  Atsushi Enomoto  <atsushi@ximian.com>
309         * Assembly.cs : include ReflectionOnlyLoad() as part of 2.0
310           bootstrap build.
312 2007-09-23  Zoltan Varga  <vargaz@gmail.com>
314         * Assembly.cs (GetManifestModule): New virtual method overridden by 
315         AssemblyBuilder.
317 2007-09-17  Gert Driesen  <drieseng@users.sourceforge.net>
319         * Assembly.cs: In GetManifestResourceStream, throw ANE with type as
320         paramname when both name and type are null. Use String.Length to check
321         for zero-length string.
323 2007-09-11  Mark Probst  <mark.probst@gmail.com>
325         * MonoMethod.cs: Catch and re-throw MethodAccessException from
326         InternalInvoke for CoreCLR security.
328 Thu Sep 6 19:49:34 CEST 2007 Paolo Molaro <lupus@ximian.com>
330         * MonoMethod.cs: name is used as a cache: provide an icall to get the
331         name from the runtime.
333 2007-08-23  Robert Jordan  <robertj@gmx.net>
335         * MemberInfoSerializationHolder.cs: created from
336         ReflectionSerializationHolder to match MS (fixes bug #80761).
337         Add support for fields, events, properties and generic methods.
339         * MonoMethod.cs (GetObjectData): handle generic arguments.
341         * MonoGenericMethod.cs: mark as [Serializable].
343         * MonoProperty.cs (GetObjectData): implemented.
345         * MonoField.cs: ditto.
347         * MonoEvent.cs: ditto.
349 2007-07-19  Atsushi Enomoto  <atsushi@ximian.com>
351         * MonoMethod.cs : parameter types should be fixed as well.
353 2007-07-19  Atsushi Enomoto  <atsushi@ximian.com>
355         * MonoMethod.cs : ToString() did not show correct return type when
356           it is generic.
358 2007-07-15  Zoltan Varga  <vargaz@gmail.com>
360         * FieldInfo.cs: Implement GetOptional/RequiredCustomModifiers ().
362         * MethodInfo.cs: Remove an unneccesary MonoTODO.
364         * Module.cs: Implement ResolveSignature.
366 2007-07-14  Zoltan Varga  <vargaz@gmail.com>
368         * Module.cs: Implement the generic versions of the ResolveXXX methods.
370 2007-07-10  Zoltan Varga  <vargaz@gmail.com>
372         * Module.cs: Add new internal method GetMDStreamVersion ().
374 2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>
376         * CustomAttributeNamedArgument.cs, CustomAttributeTypedArgument.cs:
377           added missing operator == and !=.
379 2007-07-04  Atsushi Enomoto  <atsushi@ximian.com>
381         * CustomAttributeNamedArgument.cs CustomAttributeTypedArgument.cs
382           CustomAttributeData.cs : implemented Equals() and GetHashCode().
383         * Missing.cs : ISerializable.
384         * AssemblyName.cs : ReferenceMatchesDefinition() stub.
385         * Module.cs : missing method stubs with generic type/method args.
386         * ExceptionHandlingClause.cs : ToString() stub.
387         * MethodBase.cs TypeDelegator.cs ModuleResolveEventHandler.cs
388           TypeFilter.cs MemberFilter.cs
389           FieldInfo.cs ParameterInfo.cs MethodInfo.cs :
390           miscellaneous cosmetic API fixes.
392 Tue May 8 13:04:35 CEST 2007 Paolo Molaro <lupus@ximian.com>
394         * FieldInfo.cs, MethodBase.cs: implemented new GetFieldFromHandle and
395         GetMethodFromHandle overloads (bug #78637).
397 2007-05-07  Zoltan Varga  <vargaz@gmail.com>
399         * MonoMethod.cs (Invoke): Fix a warning.
400         
401         * MonoMethod.cs (Invoke): Don't wrap ThreadAbortException inside a 
402         TargetInvocationException on the 2.0 profile. Fixes #81538.
404 2007-04-09  Alp Toker  <alp@atoker.com>
406         * MonoMethod.cs: Use StringBuilder for the entire ToString() methods
407         to reduce allocations and increase performance.
409 2007-04-09  Alp Toker  <alp@atoker.com>
411         * MonoMethod.cs: Use StringBuilder for parms in ToString() methods.
413 2007-04-09  Alp Toker  <alp@atoker.com>
415         * MethodBase.cs: IsGenericMethodDefinition() and IsGenericMethod()
416         should return false, not throw NotSupportedException. This matches MS
417         behaviour and introduces simplifications in subclasses.
418         * MonoMethod.cs: MonoCMethod: Remove redundant overrides.
420 2007-03-05  Peter Dettman <peter.dettman@iinet.net.au>
422         * Binder.cs: The patch changes Binder.Default.GetBetterMethod to
423         prefer methods in subclasses if the arg types can't disambiguate
424         them.
426         Also fixes a typo in the CallingConventions comparison.
428 2007-03-01  Alp Toker  <alp@atoker.com>
430         * FieldInfo.cs:
431         Add GetFieldFromHandle() 2.0 overload stub (NotImplemented).
433 2007-03-01  Alp Toker  <alp@atoker.com>
435         * MethodBase.cs: Add missing ComVisible attr.
436         Add GetMethodFromHandle() 2.0 overload stub (NotImplemented).
438 2006-12-30  Marek Safar  <marek.safar@gmail.com>
440         * MonoProperty.cs: Cache frequently used properties.
442 Thu Dec 14 13:50:48 CET 2006 Paolo Molaro <lupus@ximian.com>
444         * *.cs: added missing Serializable attributes.
446 Thu Dec 14 12:52:27 CET 2006 Paolo Molaro <lupus@ximian.com>
448         * MonoProperty.cs, ParameterInfo.cs, PropertyInfo.cs:
449         GetRequiredCustomModifiers()/GetOptionalCustomModifiers()
450         implementations.
452 Tue Dec 12 20:35:10 CET 2006 Paolo Molaro <lupus@ximian.com>
454         * MethodBase.cs: added missing ComVisible attr.
455         * MethodInfo.cs: added a few missing methods that we implement
456         in derived classes.
458 Tue Dec 12 19:45:26 CET 2006 Paolo Molaro <lupus@ximian.com>
460         * MonoEvent.cs: correctly obey the nonPublic flag in GetOtherMethods ().
461         * EventInfo.cs: remove NotImpl exception from GetOtherMethods ().
463 2006-10-19  Gert Driesen  <drieseng@users.sourceforge.net>
465         * AssemblyName.cs: Revert change where filename was not converted to
466         absolute path before passing it to Assembly.InternalGetAssemblyName
467         as the CodeBase is not set in that case.
469 2006-10-17  Kornel Pal  <kornelpal@gmail.com>
471         * FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a
472           NotSupportedException is the proper implementation.
473         * ParameterInfo.cs: Use Attributes in Is... properties on profile 2.0
474           that is expected by subclasses.
476 2006-10-14  Gert Driesen  <drieseng@users.sourceforge.net>
478         * AssemblyName.cs: No need to convert filename to absolute path before
479         passing it to Assembly.InternalGetAssemblyName. This allows our
480         exception messages to be better match those of MS.
482 2006-09-29  Jb Evain  <jbevain@gmail.com>
484         * MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.
486 2006-09-02  Zoltan Varga  <vargaz@gmail.com>
488         * ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from 
489         Peter Dettman (peter.dettman@iinet.net.au). Implement ReturnParameter
490         property.
492         * Binder.cs (ReorderParameters): Really fix this.
493         
494         * Binder.cs (ReorderParameters): Fix this method. Fixes #79120.
496 2006-09-01  Raja R Harinath  <rharinath@novell.com>
498         * MonoMethod.cs (ToString): Update to handle change in byref type names.
500 2006-08-08  Gert Driesen  <drieseng@users.sourceforge.net>
502         * Assembly.cs: On 2.0 profile, throw FileNotFoundException for
503         linked resources in GetManifestResourceStream when assembly is
504         loaded from byte array.
506 2006-07-12  Zoltan Varga  <vargaz@gmail.com>
508         * MonoMethod.cs (ContainsGenericParameters): Implement.
509         
510         * MonoMethod.cs (Invoke): Prevent invoking of open generic methods.
512 2006-07-09  Gert Driesen  <drieseng@users.sourceforge.net>
514         * Assembly.cs: When assembly is loaded from byte array, return null
515         for linked resources in GetManifestResourceStream. Fixes bug #78468.
517 2006-07-09  Zoltan Varga  <vargaz@gmail.com>
519         * Binder.cs: Add back the support for BindingFlags.ExactBinding. Fixes #78592.
521 2006-06-30  Zoltan Varga  <vargaz@gmail.com>
523         * Binder.cs: Comment out the ExactBinding stuff for the release as it breaks some 
524         gtk# apps.
526 2006-06-07  Zoltan Varga  <vargaz@gmail.com>
528         * Binder.cs: Add support for BindingFlags.ExactBinding. Fixes #78592.
530 2006-05-28  Gert Driesen  <drieseng@users.sourceforge.net>
532         * MethodBase.cs: GetMethodBody should not throw ArgumentException for
533         a method with no IL body. Fixes bug #78522.
535 2006-05-10  Zoltan Varga  <vargaz@gmail.com>
537         * Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
539 2006-05-08  Atsushi Enomoto  <atsushi@ximian.com>
541         * Binder.cs : (Default.SelectMethod)
542           don't throw AmbiguousMatchException when one of conflicting method
543           matches weakly. Fixed bug #42547.
545 2006-05-08  Atsushi Enomoto  <atsushi@ximian.com>
547         * Binder.cs : (Default.BindToMethod) reorder parameters based
548           on namedParameters. Fixed bug #41691.
550 2006-05-03  Jb Evain  <jbevain@gmail.com>
552         * MonoField.cs (GetValue,SetValue): throw a TargetException
553         when the field is non static and the target is null.
555 2006-03-12  Zoltan Varga  <vargaz@gmail.com>
557         * Binder.cs: Applied patch from Ben to fix #74947.
559 2006-03-01  Miguel de Icaza  <miguel@novell.com>
561         * Assembly.cs: Cache the AssemblyName, patch from Tambet.  This
562         reduces the memory usage during remoting.
564 2006-02-16  Martin Baulig  <martin@ximian.com>
566         * FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.
568 2006-02-15  Martin Baulig  <martin@ximian.com>
570         * MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
571         (MethodBase.Mono_IsInflatedMethod): Removed.
572         (MethodBase.HasGenericParameters): Removed.
574         * MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
575         here from MethodBase.
577         * MonoMethod.cs
578         (MonoMethod.IsGenericMethodDefinition): This is now an icall.
579         (MonoMethod.IsGenericMethod): Likewise.
581 2006-02-14  Martin Baulig  <martin@ximian.com>
583         * MonoMethod.cs
584         (MonoCMethod.IsGenericMethod): Override this and return false; the
585         MS runtime doesn't throw an exception here.
587 2006-02-08  Martin Baulig  <martin@ximian.com>
589         * MonoGenericClass.cs (MonoGenericClass.IsAssignableFrom):
590         Override and implement this; fixes #77395.      
592 2006-02-07  Martin Baulig  <martin@ximian.com>
594         * MonoMethod.cs
595         (MonoMethod.IsGenericMethod): Only return true for "real" generic
596         methods and not for arbitrary instantiated methods.
597         (MonoMethod.IsGenericMethodDefinition): Only return true for
598         generic method definitions, but not for instantiated generic
599         methods.  This is no longer an interncall.  Fixes #77466.
601 2006-02-03  Zoltan Varga  <vargaz@gmail.com>
603         * MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
604         Fixes #77460.
606 2005-12-23  Sebastien Pouliot  <sebastien@ximian.com>
608         * Assembly.cs: Fixed #75950. The icall has been changed to accept a 
609         boolean so it can return a non-escaped code base.
611 2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>
613         * MonoMethod.cs : made MakeGenericMethod() indirect icall to
614           MakeGenericMethod_impl() and raise an error when it returns null.
616 2005-11-15  Zoltan Varga  <vargaz@gmail.com>
618         * Module.cs: Add MDStreamVersion property.
620         * Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs 
621         CustomAttributeData.cs PortableExecutableKinds.cs 
622         ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
623         updates.
625 2005-11-11  Marek Safar  <marek.safar@seznam.cz>
627         * MethodBase.cs, TypeDelegator.cs: Reflect Type changes.
629 2005-10-30  Zoltan Varga  <vargaz@freemail.hu>
631         * FieldInfo.cs: Add an internal UMarshal property which can by
632         overriden in FieldBuilder.
634 2005-10-26  Atsushi Enomoto  <atsushi@ximian.com>
636         * MonoMethod.cs : (ToString) add suffix " ByRef" for byref parameters.
637           Fixed bug #76541.
639 2005-10-04  Martin Baulig  <martin@ximian.com>
641         * MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
642         return type from `MonoGenericClass to `Type'.
644 2005-09-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>
646         * AssemblyName.cs: Add ParseName internal call, to parse
647         long format assembly names. 
648         
649 2005-09-25  Sebastien Pouliot  <sebastien@ximian.com>
651         * MonoProperty.cs: Invoke throws a SecurityException but GetValue must
652         throw TargetInvocationException with the SecurityException as an inner
653         exception. See CAS unit tests for System.Web.dll.
655 2005-09-20  Martin Baulig  <martin@ximian.com>
657         * Assembly.cs: Removed some unused debugger icalls.
659 2005-09-17  Zoltan Varga  <vargaz@freemail.hu>
661         * Module.cs: Remove obsolete Mvid property.
663 2005-09-09  Martin Baulig  <martin@ximian.com>
665         Reflect latest API changes in the August CTP.
667         * MethodBase.cs (MethodBase.MakeGenericMethod): Removed.
669         * MethodInfo.cs (MethodInfo.MakeGenericMethod): Added here.
671 2005-09-08  Sebastien Pouliot  <sebastien@ximian.com>
673         * AssemblyName.cs: Apply second half of Chris Micacchi's patch
675 2005-09-07  Miguel de Icaza  <miguel@novell.com>
677         * AssemblyName.cs: Apply patch from Chris Micacchi to serialize
678         the keyToken as "_PublicKeyToken".
680 2005-09-05  Martin Baulig  <martin@ximian.com>
682         Reflect latest API changes in the August CTP.
684         * GenericParameterAttributes.cs: Here.
686         * MethodBase.cs (MethodBase.BindGenericParameters): Renamed to
687         MakeGenericMethod().    
689 2005-09-05  Martin Baulig  <martin@ximian.com>
691         * Assembly.cs (MonoDebugger_GetMethodToken): Don't take an
692         `Assembly' argument.
694 2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
696         * Assembly.cs: made GetManifestResourceInternal internal. Fixes the
697         build.
699 2005-08-05  Gert Driesen <drieseng@users.sourceforge.net>
701         * Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
702         * ConstructorInfo.cs: Added GetType() method in 1.1 to match
703         MS.NET, implemented _ConstructorInfo.
704         * EventInfo.cs: Added GetType() method in 1.1 to match MS.NET,
705         implemented _EventInfo.
706         * FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET,
707         implemented _FieldInfo.
708         * MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET,
709         implemented _MemberInfo.
710         * MethodBase.cs: Added GetType() method in 1.1 to match MS.NET,
711         implemented _MethodBase.
712         * MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET,
713         implemented _MethodInfo.
714         * PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET,
715         implemented _PropertyInfo.
716         * TypeAttributes.cs: CustomFormatMask and CustomFormatClass should
717         only be exposed in 2.0 profile.
719 2005-07-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>
721         * CustomAttributeTypedArgument: Return the name of the
722         enum if the type is an enum in ToString ().
723         
724 2005-06-21  Sebastien Pouliot  <sebastien@ximian.com>
726         * Assembly.cs: Create a copy of the evidences and add an instance of 
727         PermissionRequestEvidence to it before resolution. This way the PRE
728         won't be present when asking for evidences later. Removed debugging 
729         code.
731 2005-06-13  Michal Moskal <malekith@nemerle.org>
732         
733         * MonoGenericClass.cs: Don't use MethodHandle in GetMethod/GetConstructor,
734         since it now throws on MethodBuilders. Don't use FieldHandle in
735         GetField (throws on FieldBuilder) - just use the name.
737 2005-06-15  Sebastien Pouliot  <sebastien@ximian.com>
739         * Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
740         FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
741         ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
742         attributes that were added in 1.1 SP1 or 2.0 beta2.
744 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
746         * Binder.cs: null is ok for a value type. Fixes bug #75241.
748 2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>
750         * Assembly.cs: UnprotectedGetName is now virtual to allow for more
751         initialization in AssemblyBuilder. The [Granted|Refused]PermissionSet
752         now use the ResolvingPolicyLevel to support the policy 
753         FullTrustAssemblies during resolution.
754         * AssemblyName.cs: Return null instead of "new byte [0]" if no public
755         key is available.
757 2005-06-09  Kamil Skalski <nazgul@nemerle.org>
758         * MonoGenericClass.cs: Add overrides of Get{Method,Constructor,Field} 
759         for obtaining instanciated *Info objects from non-instanciated counterparts
762 2005-06-09  Zoltan Varga  <vargaz@freemail.hu>
764         * CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.
766         * *.cs: Updates for net 2.0 beta 2.
768 2005-06-07  Zoltan Varga  <vargaz@freemail.hu>
770         * *.cs: Updates for net 2.0 beta 2.
772 2005-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
774         * CustomAttributeData.cs: Implemented.
776         * CustomAttributeDataNamedArgument.cs: Implemented.
778         * CustomAttrbuteDataTypedArgument.cs: Implemented.
779         
780 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
782         * Assembly.cs ExceptionHandlingClause.cs: Fix build.
784         * ProcessorArchitecture.cs: New file.
786         * ExceptionHandlingClause.cs: Update after ExceptionHandlingClauseFlags name change.
788         * *.cs: Updates for net 2.0 beta 2.
790         * *.cs: Add net 2.0 ComVisibleAttribute.
792 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
794         * Assembly.cs: if the assembly is loaded from a byte array, Location
795         returns "". Fixes bug #74958.
797 2005-06-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>
799         * AssemblyName.cs: Changes to support the creation of version
800         instance from icalls. This change also helps to keep the
801         AssemblyName tests running fine.
802         
803 2005-05-26  Ben Maurer  <bmaurer@ximian.com>
805         * Binder.cs: Avoid double checked locking and lock on typeof by
806         doing init of the default binder in the cctor.
808 2005-05-25  Zoltan Varga  <vargaz@freemail.hu>
810         * Assembly.cs: Avoid security checks if Assembly.Location is "".
812 2005-05-20  Zoltan Varga  <vargaz@freemail.hu>
814         * TypeDelegator.cs: Implement some methods.
815         
816         * TypeDelegator.cs: Revert this as it breaks the build.
818         * TypeDelegator.cs: Implement some methods.
820 2005-05-19  Satya Sudha K  <ksathyasudha@novell.com>
821             Raja R Harinath  <rharinath@novell.com>
823         * Missing.cs (Missing.Value): Initialize.
825 2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
827         * Binder.cs: Use IsInstanceOfType instead of IsAssignableFrom
828         since GetType() may not return the correct type if the object is
829         a remoting proxy. This fixes bug #74933.
831 2005-05-13  Zoltan Varga  <vargaz@freemail.hu>
833         * MonoField.cs: Applied patch from Opened by Michael Meeks (michael@ximian.com). Improve exception message on binding failures.
835 2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>
837         * MonoField.cs: Added a Clone method. This is needed for serialization.
839 2005-05-07  Ben Maurer  <bmaurer@ximian.com>
841         * MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.
843 2005-05-06  Zoltan Varga  <vargaz@freemail.hu>
845         * Module.cs: Update for beta 2.
847         * CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.
849 2004-05-03  Lluis Sanchez  <lluis@ximian.com>
851         * Assembly.cs: Don't remove version and culture information from
852         the name, since it will be used by load_with_partial_name.
854 2005-04-14  Sebastien Pouliot  <sebastien@ximian.com>
856         * Assembly.cs: Added some CAS security to avoid returning restricted
857         information to partially truster callers (e.g. code base). Added new
858         methods to get the Evidence and AssemblyName so that the security
859         runtime can bootstrap itself (without calling itself).
861 2005-04-14  Sebastien Pouliot  <sebastien@ximian.com>
863         * Assembly.cs: Added missing null check in GetObjectData.
865 2005-04-04  Sebastien Pouliot  <sebastien@ximian.com>
867         * AssemblyName.cs: Added a demand for SerializationFormatter on
868         GetObjectData method.
870 2005-04-04  Sebastien Pouliot  <sebastien@ximian.com> 
872         * AssemblyName.cs: Implemented EscapedCodeBase using the copy of 
873         System.Uri (System.dll) located in Mono.Security.Uri. Added missing
874         null check in GetObjectData.
875         * Module.cs: Added a FileIOPermission for PathDiscovery on 
876         FullyQualifiedName property (but not on Name property like MS).
877         Added missing null check in GetObjectData.
878         * StrongNameKeyPair.cs: Added demands for unmanaged code to all
879         constructors (as we do not want partially trusted code to create
880         strongnamed assemblies).
882 2005-03-30  Zoltan Varga  <vargaz@freemail.hu>
884         * Binder.cs (check_type): Fix byref support. Fixes #73972.
886 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
888         * MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class.
889         * Module.cs: Add a LinkDemand for SerializationFormatter on 
890         GetObjectData method.
892 2005-03-16  Sebastien Pouliot  <sebastien@ximian.com>
894         * Assembly.cs: Implemented EscapedCodeBase using the copy of 
895         System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.
897 2005-03-11  Sebastien Pouliot  <sebastien@ximian.com>
899         * MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand 
900         (i.e. stack walk) when reflection is being used to invoke a method.
902 2005-02-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>
904         * Assembly.cs: LoadFrom: Change signature to support reflection only
905         methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
906         implemented; InvalidOperationException's re-thrown by CreateInstance.
907         Also ReflectionOnly 2.0 property added.
909         * MonoMethod.cs: InvalidOperationException's are re-thrown when calling 
910         Invoke method on reflection only assemblies.
911         
912 2005-02-22  Raja R Harinath  <rharinath@novell.com>
914         * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
915         'abstract' so that this class can be derived outside of corlib.
917 2005-02-16  Miguel de Icaza  <miguel@novell.com>
919         * MonoEvent.cs: Put new methods here.
921         * EventInfo.cs: Move the methods GetCustomAttributes, and
922         IsDefined from EventInfo to MonoEvent.
924         Remove the methods that were not supposed to be exposed: Name,
925         ReflectedType, DeclaringType.
927 2005-02-12  Chris Toshok  <toshok@ximian.com>
929         * Assembly.cs: Correct the type of MonoDebugger_MakeArrayType.
931 2005-02-12  Ben Maurer  <bmaurer@ximian.com>
933         * Binder.cs (SelectProperty): Use -1 as the dummy `I don't know
934         how many types' value.
936 2005-02-11  Zoltan Varga  <vargaz@freemail.hu>
938         * Assembly.cs: Fix warning.
940 2005-02-10  Martin Baulig  <martin@ximian.com>
942         * Module.cs (MonoDebugger_ResolveType): New internal method.
944         * Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
945         (MonoDebugger_GetTypeToken): New internal method.
947 2005-02-10  Martin Baulig  <martin@ximian.com>
949         * Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.
951 2005-02-10  Marek Safar  <marek.safar@seznam.cz>
953         * Assembly.cs,
954         * ConstructorInfo.cs,
955         * EventInfo.cs,
956         * FieldInfo.cs,
957         * MemberInfo.cs,
958         * MethodBase.cs,
959         * MethodInfo.cs,
960         * PropertyInfo.cs: ClassInterfaceType is None.
962 Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>
964         * Module.cs: removed the finalizer and the now unused Close() icall.
966 2005-01-21  Sebastien Pouliot  <sebastien@ximian.com>
968         * Assembly.cs: Fixed add for ModuleResolve.
970 2005-01-19  Zoltan Varga  <vargaz@freemail.hu>
972         * LocalVariableInfo.cs: Add ToString method.
974         * ExceptionHandlingClause.cs: Implement this.
976 2005-01-18  Zoltan Varga  <vargaz@freemail.hu>
978         * MethodBase.cs MonoMethod.cs: Hopefully fix the build.
980         * MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().
982 2005-01-03  Martin Baulig  <martin@ximian.com>
984         * MonoGenericMethod.cs
985         (MonoGenericMethod.get_reflected_type): Removed.
986         (MonoGenericMethod.ReflectedType): Make this an icall.
987         (MonoGenericCMethod.ReflectedType): Likewise.   
989 2004-12-29  Martin Baulig  <martin@ximian.com>
991         * MonoGenericMethod.cs: New file.
993 2004-12-21  Sebastien Pouliot  <sebastien@ximian.com> 
995         * Assembly.cs: Added private LoadAssemblyPermissions to get the 
996         declarative security permission sets (minimum, optional and refused)
997         for the assembly.
999 2004-12-20  Sebastien Pouliot  <sebastien@ximian.com>
1001         * Assembly.cs: Removed old Demand support (moved in System.Security).
1003 2004-12-16  Zoltan Varga  <vargaz@freemail.hu>
1005         * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
1006         the gmcs bugs blocking them are fixed.
1008 2004-12-08  Zoltan Varga  <vargaz@freemail.hu>
1010         * Assembly.cs: Move corlib_internal field to AssemblyBuilder.
1012 2004-12-06  Zoltan Varga  <vargaz@freemail.hu>
1014         * Assembly.cs: Add corlib_internal field.
1016 2004-11-30  Martin Baulig  <martin@ximian.com>
1018         * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
1019         renamed the class from `MonoGenericInst' to `MonoGenericClass'.
1021 2004-11-05  Zoltan Varga  <vargaz@freemail.hu>
1023         * AssemblyName.cs (FullName): Omit default values from full name.
1025         * Assembly.cs: Implement GetFiles (bool).
1027         * Binder.cs: Add support for byref types. Fixes #69140.
1029 2004-10-12  Martin Baulig  <martin@ximian.com>
1031         * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
1032         before calling the *_internal() methods.
1034 2004-10-12  Zoltan Varga  <vargaz@freemail.hu>
1036         * MethodBody.cs: Implement this.
1038 2004-10-08  Zoltan Varga  <vargaz@freemail.hu>
1040         * Module.cs: Handle the case when the global type does not exists.
1042 2004-10-03  Zoltan Varga  <vargaz@freemail.hu>
1044         * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
1045         from this class.
1047 2004-09-28  Zoltan Varga  <vargaz@freemail.hu>
1049         * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].
1051         * PropertyInfo.cs: Add stub for GetConstantValue ().    
1053         * ParameterInfo.cs (marshalAs): Make this private.
1055         * Module.cs (ModuleHandle): Add [CLSCompliant(false)].
1057         * LocalVariableInfo.cs MethodBody.cs: Disable default constructor.
1059         * ExceptionHandlingClause.cs: Disable default constructor.
1061 2004-09-27  Zoltan Varga  <vargaz@freemail.hu>
1063         * CustomAttributeData.cs CustomAttributeTypedArgument.cs 
1064         CustomAttributeNamedArgument.cs: New files.
1066         * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
1067         ExceptionHandlingClauseFlags.cs: New files.
1069 2004-09-26  Zoltan Varga  <vargaz@freemail.hu>
1071         * FieldInfo.cs: Add support for returning MarshalAsAttribute.
1073         * ParameterInfo.cs: Add marshalAs field, add support for returning
1074         MarshalAsAttribute.
1076 2004-09-25  Zoltan Varga  <vargaz@freemail.hu>
1078         * Module.cs: Add new 2.0 GetMethods and GetFields methods.
1080         * ParameterInfo.cs: Add GetPseudoCustomAttributes () method.
1082 2004-09-24  Zoltan Varga  <vargaz@freemail.hu>
1084         * MonoField.cs: Add GetFieldOffset.
1086         * ObfuscationAttribute.cs: Add ApplyToMembers.
1088         * Assembly.cs: Add stub for ReflectionOnlyLoadFrom.
1089         
1090         * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.
1092         * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method.
1094         * AssemblyNameFlags.cs: Add LongevityUnspecified.
1096 2004-09-23  Zoltan Varga  <vargaz@freemail.hu>
1098         * Module.cs: Remove [MonoTODO] from ResolveMember.
1100         * MemberInfo.cs: Add 'Module' property.
1102         * AssemblyFlagsAttribute.cs: Add 2.0 stuff.
1104         * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
1105         to LoadWithPartialName on 2.0.
1107         * AssemblyNameFlags.cs: Add new 2.0 members.
1109         * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.
1111         * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.
1113         * EventInfo.cs: Fix 2.0 build.
1115         * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.
1117         * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.
1119 2004-09-22  Zoltan Varga  <vargaz@freemail.hu>
1121         * Module.cs: Implement net 2.0 ResolveXXX methods.
1123         * Module.cs (resolve_token_exception): Fix type of exception thrown.
1125 2004-09-21  Martin Baulig  <martin@ximian.com>
1127         * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.
1129 2004-09-20  Zoltan Varga  <vargaz@freemail.hu>
1131         * Assembly.cs: Implement 2.0 reflection properties.
1133         * Module.cs: Implement 2.0 reflection properties. Add 'token' field.
1135 2004-09-19  Zoltan Varga  <vargaz@freemail.hu>
1137         * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
1138         under 1.0.
1140         * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.
1142         * Module.cs: Add ModuleHandle property and new icalls.
1144 2004-09-18  Zoltan Varga  <vargaz@freemail.hu>
1146         * Module.cs: Add net 2.0 Mvid property.
1148 2004-08-30  Sebastien Pouliot  <sebastien@ximian.com>
1150         * Assembly.cs: Added internal Demand(PermissionSet) for CAS.
1152 2004-08-30  Zoltan Varga  <vargaz@freemail.hu>
1154         * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to
1155         icalls.
1157 2004-08-29  Zoltan Varga  <vargaz@freemail.hu>
1159         * MethodBase.cs (GetMethodFromHandle): Implement.
1161 2004-08-13  Marek Safar  <marek.safar@seznam.cz>
1163         * Assembly.cs: Made _minimum, _optional, _refuse fields internal.
1164         To be reusable by AssemblyBuilder.
1166 2004-08-09  Sebastien Pouliot  <sebastien@ximian.com>
1168         * Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0
1169         properties (required for compiling the new unit tests).
1170         * PortableExecutableKind.cs: New. Flags for NET_2_0.
1171         * ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0.
1173 2004-08-08  Sebastien Pouliot  <sebastien@ximian.com>
1175         * Assembly.cs: Get default evidences when no evidences have been 
1176         supplied. Added internal methods for CAS.
1177         * AssemblyName.cs: New constructor for NET_2_0.
1179 2004-08-05  Sebastien Pouliot  <sebastien@ximian.com>
1181         * Assembly.cs: Added new fields for CAS to match the runtime (v23).
1183 2004-07-29  Martin Baulig  <martin@ximian.com>
1185         * Module.cs (Mono_GetGuid): Make this static.
1187 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
1189         * Module.cs: return just name in ToString (bug #61287).
1191 2004-07-03  Zoltan Varga  <vargaz@freemail.hu>
1193         * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
1195 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
1197         * Pointer.cs: remove serializable attribute to match MS.NET
1199 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
1200         
1201         * ParameterModifier.cs: marked serializable, renamed field to match
1202         MS.NET, throw ArgumentException when parameter count is less than or
1203         equal to zero
1205 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
1207         * AssemblyName.cs: added TODO for serialization
1208         * Pointer.cs: fixed Box method to return object instead of 
1209         Pointer
1211 2004-06-15  Sebastien Pouliot  <sebastien@ximian.com>
1213         * MemberInfo.cs: Changed constructor from internal to protected.
1215 2004-06-11  Martin Baulig  <martin@ximian.com>
1217         * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
1219 2004-06-11  Lluis Sanchez  <lluis@ximian.com>
1221         * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match 
1222           MS implementation. Generate the RSA in the constructors.
1224 2004-06-10  Lluis Sanchez  <lluis@ximian.com>
1226         * AssemblyName.cs: Added missing fields to serialization methods.
1227         * StrongNameKeyPair.cs: Made it compatible with MS serialization.
1229 2004-06-08  Jacson Harper  <jackson@ximian.com>
1231         * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
1232         runtime. This way the codebase is set properly. The codebase is
1233         using g_filename_to_uri which expects a full path.
1234         
1235 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1237         * Binder.cs: don't crash when we have a 'null' argument Type array.
1238         Allow it for non-value types. Fixed for both, methods and properties.
1239         Closes bug #58846.
1241 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1243         * Binder.cs: default score must be lower than fail_score or we'll get
1244         an ambiguous match when no indexers given and one single match is found.
1246 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1248         * Binder.cs: removed ^Ms. In case of several properties matching, try
1249         to disambiguate based on the indexer types provider and the conversions
1250         from those into the ones of the property.
1252 2004-05-31  Gert Driesen <drieseng@users.sourceforge.net>
1254         * Assembly.cs: added missing ComVisible attribute on
1255         ImageRuntimeVersion property
1256         * ConstructorInfo.cs: added missing attributes on Invoke
1257         * EventInfo.cs: added missing attributes
1258         * FieldInfo.cs: added missing attributes
1259         * MethodBase.cs: added missing attributes
1260         * PropertyInfo.cs: added missing attributes
1262 2004-05-22  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>
1264         * FieldInfo.cs: changed default constructor from internal to protected, so classes
1265         that inherit from it can get build. 
1267 2004-05-18  Gert Driesen (drieseng@users.sourceforge.net)
1269         * MonoProperty.cs: return correct MethodInfo for 
1270         property with only a get or set method. Fixes
1271         bug #58661.
1273 2004-05-18  Sebastien Pouliot  <sebastien@ximian.com>
1275         * Assembly.cs: Return an empty Evidence collection to avoid 
1276         NullReferenceException from calling code (as this is never
1277         null with MS implementation). See bugzilla #53548.
1279 2004-05-14  Zoltan Varga  <vargaz@freemail.hu>
1281         * Assembly.cs: Add stub for LoadFrom.
1283         * Assembly.cs: Fix build.
1285 2004-05-13  Zoltan Varga  <vargaz@freemail.hu>
1287         * Assembly.cs: Add ModuleResolve event.
1289         * Module.cs (Mono_GetGuid): Make this internal.
1291         * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
1293 2004-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1295         * Binder.cs: check for ambiguous matches in SelectMethod and
1296         SelectProperty. Fixes bug #58381.
1298 2004-05-06  Jackson Harper <jackson@ximian.com>
1300         * Assembly.cs: remove TODO, this is done.
1301         
1302 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1304         * Assembly.cs: ToString () returns the same as GetName ().ToString ().
1305         Fixes bug #58104.
1307 2004-05-03  Jackson Harper  <jackson@ximian.com>
1309         * Assembly.cs: Implement LoadWithPartialName. The bulk of this
1310         method is done in the runtime.
1311         
1312 2004-04-29  Lluis Sanchez Gual  <lluis@ximian.com>
1314         * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
1315         is private (it did until now because of a bug). Make sure it works as it 
1316         worked before the fix.
1317         
1318 2004-04-27  Lluis Sanchez Gual  <lluis@ximian.com>
1320         * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs: 
1321           Removed completed     TODOs.
1322         * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
1323           do not return private methods if nonPublic == false.
1324         * ReflectionTypeLoadException.cs: Implemented serialization support.
1326 2004-04-26  Jackson Harper  <jackson@ximian.com>
1328         * Assembly.cs: Add icall to determine if an assembly has been
1329         loaded from the GAC.
1331 2004-04-23  Atsushi Enomoto  <atsushi@ximian.com>
1333         * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
1334           The fix should be easier ;)
1336 2004-04-23  Atsushi Enomoto  <atsushi@ximian.com>
1338         * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
1339           NET_2_0 related build fix.
1341 2004-04-19  Lluis Sanchez Gual  <lluis@ximian.com>
1343         * Assembly.cs: Removed TODO for CreateQualifiedName.
1344         * AssemblyName.cs: Fixed serialization code.
1345         * AssemblyNameProxy.cs: Implemented.
1346         * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
1348 2004-04-07  Martin Baulig  <martin@ximian.com>
1350         * MonoGenericInst.cs (MonoGenericParam): Removed.
1352 2004-04-07  Martin Baulig  <martin@ximian.com>
1354         * MethodBase.cs
1355         (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
1357         * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
1358         (MonoGenericInst.GetNestedTypes): Just call
1359         `generic_type.GetNestedTypes (bf)' here.
1361         * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
1362         include the type arguments.
1364 2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>
1366         * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
1367         correct StrongName instance when the ECMA "key" is used.
1369 2004-04-02  Martin Baulig  <martin@ximian.com>
1371         * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
1373 2004-04-01  Martin Baulig  <martin@ximian.com>
1375         * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
1376         this and always return false.
1378 2004-04-01  Martin Baulig  <martin@ximian.com>
1380         * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.    
1382 2004-03-30  Martin Baulig  <martin@ximian.com>
1384         * MonoGenericInst.cs
1385         (MonoGenericParam): Added `bool has_ctor_constraint' field.
1386         (MonoGenericParam.SetConstraints): Added `bool
1387         has_ctor_constraint' argument.  
1389 2004-03-29  Martin Baulig  <martin@ximian.com>
1391         * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
1392         virtual property.
1393         (MethodBase.HasGenericParameters): Use the "official" behavior
1394         here, ie. return false if we're not a generic method.
1396 2004-03-29  Martin Baulig  <martin@ximian.com>
1398         * MethodBase.cs: Moved the generics stuff here, made it virtual
1399         where neccessary and use the correct API.
1401 2004-03-24  Sebastien Pouliot  <sebastien@ximian.com>
1403         * StrongNameKeyPair.cs: Added an internal method to return a 
1404         StrongName object (for AssemblyBuilder). Simplified implementation 
1405         using Mono.Security.Cryptography.CryptoConvert class.
1407 2004-03-24  Zoltan Varga  <vargaz@freemail.hu>
1409         * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
1411 2004-03-23  Martin Baulig  <martin@ximian.com>
1413         * MonoGenericInst.cs: Added support for events.
1415 2004-03-23  Martin Baulig  <martin@ximian.com>
1417         * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
1418         if it's the empty string.
1420 2004-03-10  Martin Baulig  <martin@ximian.com>
1422         * MethodBase.cs (MethodBase): Implemented
1423         GetGenericMethodDefinition() and HasGenericParameters.
1425 2004-03-09  Martin Baulig  <martin@ximian.com>
1427         * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
1428         `declaring_type' and `reflected_type'.
1429         (MonoEvent): Distinguish between declaring and reflected type.
1431 2004-02-25  Martin Baulig  <martin@ximian.com>
1433         * MonoGenericInst.cs
1434         (MonoGenericInst.GetNestedTypes): Override this.
1436 2004-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1438         * Binder.cs:
1439         (SelectProperty): check the return Type if provided.
1441 2004-02-17  Martin Baulig  <martin@ximian.com>
1443         * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
1444         support for properties.
1446 2004-02-17  Martin Baulig  <martin@ximian.com>
1448         * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
1449         class hierarchy and return members from the parent classes.
1450         (GetConstructors, GetFields): Likewise.
1452 2004-02-17  Martin Baulig  <martin@ximian.com>
1454         * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
1455         all the members here; we only do this for members of the current
1456         class and only when they're actually queried for.
1458 2004-02-12  Martin Baulig  <martin@ximian.com>
1460         * MonoGenericInst.cs (MonoInflatedField): Removed.
1462         * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
1464 2004-02-08  Martin Baulig  <martin@ximian.com>
1466         * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
1467         invocations the `reflected' type as `reflected', not `this'.
1468         (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
1470 2004-02-08  Martin Baulig  <martin@ximian.com>
1472         * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
1473         (MonoGenericInst.GetInterfaces_internal): New interncall.
1474         (MonoGenericInst): Reflect latest API changes; use GetParentType()
1475         and GetInterfaces_internal() instead of the fields.     
1477 2004-02-06  Martin Baulig  <martin@ximian.com>
1479         * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
1481 2004-02-03  Martin Baulig  <martin@ximian.com>
1483         * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
1485 2004-01-25  Martin Baulig  <martin@ximian.com>
1487         * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
1489 2004-01-19  Zoltan Varga  <vargaz@freemail.hu>
1491         * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
1492         a reference on the Module object which contains the resource.
1494         * Module.cs: Decrease the image reference count when the Module is
1495         garbage collected.
1497 2004-01-16  Martin Baulig  <martin@ximian.com>
1499         * Assembly.cs: Make the `MonoDebugger_' methods static.
1501 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1503         * MonoProperty.cs: changed get_property_info so that it only gets the
1504         values needed. Reduces the allocations needed.
1506 2004-01-15  Martin Baulig  <martin@ximian.com>
1508         * Assembly.cs: Make the `MonoDebugger_' methods internal.
1510 2004-01-04  Nick Drochak <ndrochak@gol.com>
1512         * Assembly.cs: Removed unused variable in catch block.Eliminates a build
1513         warning.
1515 2003-12-29 Ben Maurer  <bmaurer@users.sourceforge.net>
1517         * MethodBase.cs: Internal method to get param count (this
1518         way we can get the info for the ilgen without creating
1519         an array, if we override the method).
1521 2003-12-18  Zoltan Varga  <vargaz@freemail.hu>
1523         * Assembly.cs: Implement LoadFrom.
1525 2003-12-17  Zoltan Varga  <vargaz@freemail.hu>
1527         * Assembly.cs: Add stubs for LoadFile.
1529 2003-12-16  Zoltan Varga  <vargaz@freemail.hu>
1531         * Assembly.cs (GetManifestResourceStream): Only load non-embedded
1532         resources from files.
1534 2003-12-15  Zoltan Varga  <vargaz@freemail.hu>
1536         * MonoField.cs (SetValue): Throw an exception if the value cannot be
1537         converted to the field's type. Fixes #52177.
1539 2003-12-11  Lluis Sanchez Gual <lluis@ximian.com>
1540         
1541         * AmbiguousMatchException.cs: Added serialization constructor.
1542         
1543 2003-12-08  Martin Baulig  <martin@ximian.com>
1545         * MonoGenericInst.cs (MonoGenericParam): New internal class;
1546         derives from MonoType.  
1548 2003-12-08  Patrik Torstensson <p@rxc.se>
1550         * Binder.cs: Added internal helpers to get derived level and select the 
1551         most derived methodbase (used in GetMethodImpl)
1553 2003-11-25  Zoltan Varga  <vargaz@freemail.hu>
1555         * Assembly.cs (LoadWithPartialName): Return null instead of throwing
1556         an exception to match MS behavior.
1558 2003-11-24  Zoltan Varga  <vargaz@freemail.hu>
1560         * MonoMethod.cs: Add missing constructor.
1562 2003-11-21  Zoltan Varga  <vargaz@freemail.hu>
1564         * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
1566 2003-11-16  Martin Baulig  <martin@ximian.com>
1568         * MonoGenericInst.cs (MonoGenericInst.inflate): Call
1569         `parent.inflate (parent,...)' instead of
1570         `parent.inflate (reflected,...)'.
1572 2003-11-16  Zoltan Varga  <vargaz@freemail.hu>
1574         * Assembly.cs (InternalGetAssemblyName): New icall.
1576         * AssemblyName.cs (GetAssemblyName): Implement this without loading
1577         the assembly in question. Fixes #51035.
1579 2003-11-14  Martin Baulig  <martin@ximian.com>
1581         * MonoGenericInst.cs (MonoGenericInst): Added
1582         `MonoGenericInst[] interfaces' field.  This is only used for
1583         interface types.
1584         (MonoGenericInst.inflate): If we're an interface type, add the
1585         methods from all interfaces we inherit.
1587 2003-11-14  Zoltan Varga  <vargaz@freemail.hu>
1589         * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values 
1590         from NET 1.1.
1591         
1592         * *.cs: Add missing attributes.
1594 2003-11-11  Todd Berman  <tberman@gentoo.org>
1596         * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
1598 2003-11-11  Zoltan Varga  <vargaz@freemail.hu>
1600         * MonoMethod.cs: Implement CallingConvention member.
1602 2003-11-10  Zoltan Varga  <vargaz@freemail.hu>
1604         * Assembly.cs (InternalGetType): Add a 'module' argument so this
1605         method can be used from Module as well.
1607         * Module.cs (GetType): Implement.
1609         * Module.cs (GetTypes): Implement.
1611         * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
1612 2003-11-08  Martin Baulig  <martin@ximian.com>
1614         * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
1615         a private `IntPtr ginst' field.
1616         (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
1618 2003-11-02  Martin Baulig  <martin@ximian.com>
1620         * MonoGenericInst.cs (MonoGenericInst.initialize): Include members
1621         from our parent classes in the `methods', `ctors' and `fields'
1622         arrays.  When inflating them, reflection now sets their
1623         `declaring_type' and `reflected_type' fields.
1624         (MonoInflatedMethod, MonoInflatedCtor): Added
1625         `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
1626         fields and override the `DeclaringType' and `ReflectedType' properties.
1628 2003-11-02  Martin Baulig  <martin@ximian.com>
1630         * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
1632 2003-10-31  Martin Baulig  <martin@ximian.com>
1634         * MonoGenericInst.cs (MonoInflatedField): New internal class.
1635         (MonoGenericInst.GetFields): Override this method and inflate
1636         the fields.
1638         * MonoField.cs: Don't make this class sealed.
1640 2003-10-30  Martin Baulig  <martin@ximian.com>
1642         * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
1643         internal classes.
1645 2003-10-25  Martin Baulig  <martin@ximian.com>
1647         * MonoGenericInst.cs: New internal class.
1649 2003-10-18  Martin Baulig  <martin@ximian.com>
1651         * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
1652         abstract; use an interncall in MonoMethod and a custom
1653         implementation in MethodBuilder.        
1655 2003-10-17  Pedro Martinez Julia  <yoros@wanadoo.es>
1657         * MonoEvent.cs: implement ToString method as in MS.NET.
1659         * MonoMethod.cs: fix some differences between mono and MS.NET
1660         implementation of ToString.
1662 2003-10-17  Zoltan Varga  <vargaz@freemail.hu>
1664         * AssemblyName.cs: Fix Version property when some version fields are
1665         undefined.
1667 2003-10-17  Martin Baulig  <martin@ximian.com>
1669         * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
1670         (MethodInfo.BindGenericParameters): New method.
1672 2003-10-16  Martin Baulig  <martin@ximian.com>
1674         * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
1675         property.       
1677 2003-08-08  Lluis Sanchez Gual  <lluis@ximian.com>
1679         * ParameterInfo.cs: Modified constructor of ParameterInfo for
1680           the return type of a method. Since parameter positions are
1681           zero-based, the position of the return type must be is -1.
1683 2003-08-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1685         * TargetInvocationException.cs: Fixed signature
1687 2003-07-24  Miguel de Icaza  <miguel@ximian.com>
1689         * TypeDelegator.cs: Added generics stubs.
1691 2003-07-21  Lluis Sanchez Gual  <lluis@ximian.com>
1693         * ParameterInfo.cs: Position is zero-based in ParameterInfo.
1694           Set the right position value when getting from ParameterBuilder.
1696 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
1698         * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
1699         finer-grained icalls. Requires a matching runtime.
1701 2003-07-11  Zoltan Varga  <vargaz@freemail.hu>
1703         * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
1705         * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
1707 2003-07-10  Zoltan Varga  <vargaz@freemail.hu>
1709         * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
1711 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
1713         * Pointer.cs: implemented.
1715 2003-06-15  Zoltan Varga  <vargaz@freemail.hu>
1717         * EventInfo.cs: Implement IsSpecialName.
1719 2003-06-10  Zoltan Varga  <vargaz@freemail.hu>
1721         * Module.cs (Mono_GetGuid): New method to return the GUID of the
1722         module.
1724 2003-05-21  Zoltan Varga  <vargaz@freemail.hu>
1726         * Module.cs: Implement GetField and its friends.
1728 2003-05-20  Zoltan Varga  <vargaz@freemail.hu>
1730         * Assembly.cs (GetManifestResourceStream): Moved handling of 
1731         linked resources into managed code using the newly implemented
1732         GetManifestResourceInfo () method.
1734 2003-05-19  Zoltan Varga  <vargaz@freemail.hu>
1736         * Module.cs: Implemented IsResource.
1738         * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
1739         GetModule, GetLoadedModules methods.
1740         * Assembly.cs (GetManifestResourceStream): Added support for 
1741         resources in extern assemblies.
1743 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1745         * Assembly.cs: fixed bug #42833.
1747 2003-05-11  Miguel de Icaza  <miguel@ximian.com>
1749         * Binder.cs (ChangeType): Very simplistic change.  Am not sure if
1750         it is correct, but it makes RemotingCorba move along a bit more
1751         (Remoting.Corba invokes Binder.ConvertArgs, which calls
1752         Binder.ChangeType with an Attribute [] to Object []).
1754 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1756         * Binder.cs:
1757         (check_type): fixed bug #41655.
1759 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1761         * Assembly.cs: implemented GetSatelliteAssembly.
1763 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
1765         * Assembly.cs: added GetNamespaces() icall.
1767 2003-03-17  Zoltan Varga  <vargaz@freemail.hu>
1769         * FieldInfo.cs (GetFieldFromHandle): Implemented.
1771 2003-03-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1773         * Assembly.cs: added missing stuff. Only ModuleResolve event is left
1774         out to avoid changing MonoReflectionAssembly by now.
1775         * ModuleResolveEventHandler.cs: delegate.
1777 2003-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1779         * TargetInvocationException.cs: added serialization ctor.
1781 2003-02-18  Martin Baulig  <martin@ximian.com>
1783         * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
1784         method's metadata token.
1786 2003-02-04  Sebastien Pouliot  <spouliot@videotron.ca>
1788         * Module.cs: Corrected indentation for class.
1790 2003-02-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1792         * Binder.cs:
1793         (check_type): return true when the target type is object and the source
1794         is a value type.
1796 2003-02-03 Patrik Torstensson
1798         * Binder.cs: minimize locking time in DefaultBinder.
1800 2003-02-01  Sebastien Pouliot  <spouliot@videotron.ca>
1802         * Module.cs: Oups - not implemented. Added MonoTODO to most methods
1803         so it's real status get reflected correctly on the web site.
1805 2003-01-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1807         * MonoMethod.cs: implemented GetBaseDefinition ().
1809 2003-01-28  Patrik Torstensson
1810         * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
1811         * ReflectionSerializationHolder.cs: Support class for serialization
1813 2003-01-17  Zoltan Varga  <vargaz@freemail.hu>
1815         * ParameterInfo.cs: modified constructor so it allows the 
1816         ParameterBuilder to be null and add a 'position' argument which will
1817         be used when pb is null.
1819 2003-01-16  Lluis Sanchez Gual <lsg@ctv.es>
1821         * Assembly.cs: added serialization support.
1823 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
1825         * MonoMethod.cs: propagate exceptions from the internal invoke
1826         code that need to be propagated.
1828 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
1830         * Binder.cs: throw an exception if the number of arguments 
1831         when invoking a method is incorrect.
1833 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
1835         * Binder.cs: In SelectMethod() look for an exact match first.
1837 2003-01-01  Rachel Hestilow <hestilow@ximian.com>
1839         * MonoField.cs (SetValue): Fix logic typo. Check that obj is
1840         non-null only for the non-static case.
1842 2002-12-30  Sebastien Pouliot <spouliot@videotron.ca>
1844         * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by 
1845         Zoltan).
1847 2002-12-23  Sebastien Pouliot <spouliot@videotron.ca>
1849         * AssemblyName.cs: GetPublicKey now return an empty array (not null)
1850         when an assembly isn't signed with a StrongName (to match MS 
1851         implementation) and null when no assembly is referenced. Also removed 
1852         commented code (no bug reported so it was probably not used).
1854 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
1856         * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
1857         provider for the return type of a method.
1859 2002-12-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1861         * AssemblyName.cs: little fix in FullName.
1863 2002-12-07  Sebastien Pouliot <spouliot@videotron.ca>
1865         * AssemblyName.cs: Added missing methods/interfaces. Fixed some
1866         code to match the MS Framework.
1867         * StrongNameKeyPair.cs: Completed the "visible" implementation.
1868         There must be some internal methods to allow signing with the key.
1870 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1872         * EventInfo.cs: implemented (Add|Remove)EventHandler.
1874 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
1876         * Assembly.cs: implemented GetManifestResourceStream (Type type,
1877         * String name).
1879 2002-11-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1881         * Assembly.cs: changed name of GetType (string, bool, bool) to
1882         InternalGetType.
1884 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1886         * TargetInvocationException.cs: modified default message.
1888 2002-10-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1890         * MonoProperty.cs:
1891         * PropertyInfo.cs: fixed bug #31535.
1893 2002-09-27  Martin Baulig  <martin@gnome.org>
1895         * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
1897 2002-09-24  Martin Baulig  <martin@gnome.org>
1899         * Assembly.cs (MonoDebugger_GetType): New method to get a Type
1900         from its metadata token.  This should only be used by the debugger.
1902 2002-09-21  Martin Baulig  <martin@gnome.org>
1904         * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
1905         get the type of a local variable from its signature.  This should only
1906         be used by the debugger.
1908 2002-09-20  Martin Baulig  <martin@gnome.org>
1910         * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
1911         from its metadata token.  This should only be used by the debugger.
1913 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1915         * Binder.cs: more default binder implementation.
1917         * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
1918         * MonoMethod.cs: use the binder in the Invoke () implementation.
1919         Implemented custom attributes methods and ToString for constructors.
1921 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
1923         * Binder.cs: finished the Binder class and implemented the default
1924         binder.
1926 2002-09-03  Martin Baulig  <martin@gnome.org>
1928         * Assembly.cs (Assembly.Location): Implemented.
1930 2002-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1932         * MonoField.cs:
1933         (GetValue): allow obj to be null (used for static fields).
1935 2002-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1937         * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
1938         null.
1940 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
1942         * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen 
1943         <tomi.pakarinen@welho.com>.
1945 2002-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1947         * Assembly.cs: FullName now returns a proper string instead of
1948         something like 'file://...'.
1950         * AssemblyName.cs: added missing ToString method.
1952 2002-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1954         * FieldInfo.cs: implemented SetValue.
1956 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1958         * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
1960 2002-08-14  Dick Porter  <dick@ximian.com>
1962         * Assembly.cs: Stub out GetSatelliteAssembly
1964 2002-08-12  Tim Coleman <tim@timcoleman.com>
1965         * MonoProperty.cs:
1966                 Allow multiple parameters for GetValue ()
1968 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
1970         * Assembly.cs: implemented GetFile() and GetFiles().
1972 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
1974         * Assembly.cs: implemented EntryPoint and a few 
1975         resource related methods.
1977 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
1979         * MethodBase.cs: implemented GetCurrentMethod.
1980         * Assembly.cs: implemented GetExecutingAssembly and
1981         GetCallingassembly.
1983 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
1985         * MonoProperty.cs: handle properties with only a set method.
1987 2002-05-24  Martin Baulig  <martin@gnome.org>
1989         * ParameterInfo.cs: Added internal constructor.
1991 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
1993         * Assembly.cs: implemented CreateInstance ().
1995 2002-05-22  Martin Baulig  <martin@gnome.org>
1997         * MethodBase.cs (get_next_table_index): Added `object obj' argument.
1999 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
2001         * EventInfo.cs: more implementation.
2003 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
2005         * MonoEvent.cs: fill-in the implementation.
2007 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
2009         * Assembly.cs, AssemblyName.cs: updates and fixes.
2011 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
2013         * MonoProperty.cs (GetValue) : basic implementation to support nunit
2014         * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
2016 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
2018         * MonoMethod.c: cache the method name.
2020 2002-04-12  Duncan Mak  <duncan@ximian.com>
2022         * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
2023         property.
2025         * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
2026         attribute.
2028         * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
2029         Version.
2031         * BindingFlags.cs: Added missing value "PutRefDispProperty".
2033         * FieldAttributes.cs: Removed value "HasSecurity".
2035         * ManifestResourceInfo.cs: Added missing properties FileName,
2036         ReferencedAssembly and ResourceLocation.
2038         * TargetInvocationException.cs: Added the missing constructors.
2040 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
2042         * MonoMethod.cs: make Name property an icall.
2044 2002-04-08  Nick Drochak  <ndrochak@gol.com>
2046         * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
2047         struct and interface.
2049 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
2051         * MonoEvent.cs: remove unused code.
2052         * MonoProperty: implement ToString().
2054 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
2056         * Assembly.cs: implement GetTypes() and GetExportedTypes().
2058 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
2060         * MonoEvent.cs: added the needed fields.
2062 2002-03-20  Martin Baulig  <martin@gnome.org>
2064         * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
2066         * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
2068 2002-03-14  Dietmar Maurer  <dietmar@ximian.com>
2070         * MonoMethod.cs (Invoke): call InternalInvoke
2072         * MethodBase.cs (Invoke): call virtual invoke function 
2074 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
2076         * EventInfo.cs: add compiler needed methods.
2077         * MonoMethod.cs: make ToString() return the return type name, too.
2079 2002-03-07  Nick Drochak  <ndrochak@gol.com>
2081         * BindingFlags.cs: Add missing enum values.  Thanks CorCompare.
2083 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
2085         * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
2087 2002-02-26  Duncan Mak  <duncan@ximian.com>
2089         * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
2091 2002-02-24 Nick Drochak  <ndrochak@gol.com>
2093         * AssemblyNameFlags.cs: Use proper member name.  Thanks corcompare!
2095 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
2097         * MonoField.cs: implement GetValue as an internalcall.
2098         Implemented ToString().
2100 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
2102         * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
2103         MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
2104         related methods.
2106 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
2108         * TypeAttributes.cs: update to latest spec.
2110 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
2112         * Assembly.cs: handle throwOnError in GetType() call.
2114 2002-02-07  Duncan Mak  <duncan@ximian.com>
2116         * AssemblyName.cs: Implemented ISerializable interface for the
2117         fields that we have.
2119 2002-02-05  Duncan Mak  <duncan@ximian.com>
2120         
2121         * Missing.cs: 
2122         * TargetException.cs: Added in CVS.
2124 2002-01-31  Duncan Mak  <duncan@ximian.com>
2126         * ReflectionTypeLoadException.cs: Added missing bits.
2128 2002-01-23  Duncan Mak  <duncan@ximian.com>
2130         * AssemblyAlgorithmIdAttribute.cs:
2131         * AssemblyCompanyAttribute.cs:
2132         * AssemblyConfigurationAttribute.cs:
2133         * AssemblyCopyrightAttribute.cs:
2134         * AssemblyCultureAttribute.cs:
2135         * AssemblyDefaultAliasAttribute.cs:
2136         * AssemblyDelaySignAttribute.cs:
2137         * AssemblyDescriptionAttribute.cs:
2138         * AssemblyFileVersionAttribute.cs:
2139         * AssemblyFlagsAttribute.cs:
2140         * AssemblyInformationalVersionAttribute.cs:
2141         * AssemblyKeyFileAttribute.cs:
2142         * AssemblyKeyNameAttribute.cs:
2143         * AssemblyNameProxy.cs:
2144         * AssemblyProductAttribute.cs:
2145         * AssemblyTitleAttribute.cs:
2146         * AssemblyTradeMarkAttribute.cs:
2147         * AssemblyVersionAttribute.cs:
2148         * CustomAttributeFormatException.cs:
2149         * InvalidFilterCriteriaException.cs:
2150         * TargetParameterCountException.cs: Added.
2152 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
2154         * Assembly.cs (Assembly.CodeBase): Implement.
2155         (Assembly.FullName): simplistic and broken implementation.  Gets
2156         us where we were yesterday.
2158         Code style fix.
2160 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
2162         * IReflect.cs: corrected GetMember() return type.
2163         * InterfaceMapping.cs, TypeDelegator.cs: implemented.
2165 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
2167         * MonoMethod.cs: ToString () implementation.
2169 2002-01-04  Ravi Pratap  <ravi@ximian.com>
2171         * Assembly.cs : Decorate missing bits with the MonoTODO
2172         attribute.
2174         * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
2175         ReflectionTypeLoadException.cs : Ditto.
2177         * FieldInfo.cs : Ditto.
2178         
2179 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
2180         
2181         * Assembly.cs: trow unimplemented exceptions.
2183 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
2185         * MonoMethod.cs: implemented GetParameters().
2186         * MonoProperty.cs: PropertyInfo implementation.
2187         * ParameterInfo.cs: implemented.
2188         * PropertyInfo.cs: fixes.
2190 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
2192         * FieldInfo.cs: implemented some Is* propeties.
2193         * MethodBase.cs: fixed attribute accessors.
2194         * MonoField.cs: runtime object to represent a field.
2195         * MonoMethod.cs: runtime object to represent a method.
2196         * AssemblyBuilder.cs: GetToken() methods to get tokens for
2197         strings, fields, methods...
2198         * ILGenerator.cs: handle tokens for methods.
2200 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
2202         * MethodBase.cs: add internal get_next_table_index() for use in
2203         Reflection.Emit.
2205 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
2207         * Assembly.cs: implement some of the Load() methods.
2208         * ConstructorInfo.cs: some missing stubs and fields.
2209         * FieldInfo.cs: IsInitOnly property.
2210         * ParameterInfo.cs: stubs for missing properties.
2211         * ParameterModifier.cs: implemented class.
2213 2001-11-10  Sean MacIsaac  <macisaac@ximian.com>
2215         * Assembly.cs: Filled in some stub implementations
2217         * ConstructorInfo.cs: Added some stub functions for NUnit
2219 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
2221         * AmbiguousMatchException.cs, 
2222         * Assembly.cs, Module.cs: updates.
2223         * FieldInfo.cs: better compliance to the spec.
2224         * MethodBase.cs: move call_conv out of the way.
2225         * AssemblyBuilder.cs:  don't use internalcalls, more stuff supported.
2226         * FieldBuilder.cs: implemented.
2227         * ILGenerator.cs: implemented some opcode handling.
2228         * Label.cs: add constructor.
2229         * LocalBuilder.cs: implemented.
2230         * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
2231         * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
2232         * ParameterBuilder.cs: implemented.
2233         * PropertyBuilder.cs: implemented.
2234         * TypeBuilder.cs: don't use internalcalls, more stuff working.
2236 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
2238         * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
2240 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
2242         * MethodBase.cs, MethodInfo.cs: added.
2244 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
2246         * Assembly.cs: added stub code.
2248 2001-07-18  Michael Lambert <michaellambert@email.com>
2250         * BindingFlags.cs: Add.