2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git] / class / corlib / System.Reflection / ChangeLog
blob7df6372069bb2fcdb5e3a934bf5155c761fdbd06
1 2010-03-07 Rodrigo Kumpera  <rkumpera@novell.com>
3         * ManifestResourceInfo.cs> Ne v4 .ctor.
5 2010-02-28 Rodrigo Kumpera  <rkumpera@novell.com>
7         * CustomAttributeData.cs:
8         * ExceptionHandlingClause.cs:
9         * LocalVariableInfo.cs: Add some v4 bits.
11 2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>
13         * PropertyInfo.cs: Small hack to avoid having cor-compare
14         flagging Get(Raw)ConstantValue as not implemented.
16 2010-02-24 Rodrigo Kumpera  <rkumpera@novell.com>
18         * MethodBody.cs: Add v4 bits.
20 2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>
22         * MethodBody.cs: Add v4 bits.
24 2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>
26         * MethodBase.cs: Add some v4 bits.
28 2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>
30         * MemberInfo.cs: Add GetCustomAttributesData.
32         * Assembly.cs:
33         * MemberInfo.cs:
34         * Module.cs:
35         * MonoEvent.cs:
36         * MonoField.cs:
37         * MonoMethod.cs:
38         * MonoProperty.cs:
39         * ParameterInfo.cs: Implement GetCustomAttributesData.
41 2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>
43         * MemberInfo.cs: Add some v4 bits.
45 2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>
47         * MethodImplAttributes.cs: Add NoOptimization flag.
49 2010-02-11  Marek Habersack  <mhabersack@novell.com>
51         * ConstructorInfo.cs, EventInfo.cs, FieldInfo.cs: fix 4.0 equality
52         and inequality operators by casting the passed parameters to
53         object. Failing to do so leads to infinite recursion calling the
54         operator.
56 2010-02-10 Rodrigo Kumpera  <rkumpera@novell.com>
58         * FieldInfo.cs: Add some v4 bits.
60 2010-02-10 Rodrigo Kumpera  <rkumpera@novell.com>
62         * EventInfo.cs: Add some v4 bits.
64 2010-02-10 Rodrigo Kumpera  <rkumpera@novell.com>
66         * ConstructorInfo.cs: Add some v4 bits.
68 2010-02-10 Rodrigo Kumpera  <rkumpera@novell.com>
70         * PropertyInfo.cs: Remove a pair of MonoTODO.
72         * MonoProperty.cs: Implement GetConstantValue and GetRawConstantValue.
74 2010-02-05 Rodrigo Kumpera  <rkumpera@novell.com>
76         * MonoMethod.cs (GetParameters): Must return a copy instead of the interned array.
78         * MonoMethod.cs (Invoke): Skip array clone in GetParameters.
80         * MonoProperty.cs (GetIndexParameters): Properly handle write-only indexed properties.
81         Return a ParameterInfo object bound to the properly and not to the method.
83         * ParameterInfo.cs: Add new constructor that copies all fields but Member.
85         * ParameterInfo.cs (MetadataToken): Properly handle tokens of non-method members.
87 2010-01-31  Zoltan Varga  <vargaz@gmail.com>
89         * MonoGenericClass.cs: Fix a warning.
91 2010-01-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>
93         * Assembly.cs: GetSatelliteAssembly: Ask LoadSatellite to not throw
94         exceptions, since we ignore them anyway.
96 2010-01-05 Rodrigo Kumpera  <rkumpera@novell.com>
98         * ParameterInfo.cs (DefaultProperty): Fix small typo.
100 2010-01-05 Rodrigo Kumpera  <rkumpera@novell.com>
102         * ParameterInfo.cs (DefaultProperty): Add support for DateTime defaults.
104         * ParameterInfo.cs: Implements RawDefaultProperty.
106 2009-12-17 Rodrigo Kumpera  <rkumpera@novell.com>
108         * MonoGenericClass.cs (GetMethods): When the GTD is not a typebuilder,
109         calling GetMethods on it will return everything we need so no need to
110         do the crazy loop.
111         The returned methods might contains some that are not from a generic type
112         so we need to guard against this as well.
114         * MonoGenericClass.cs (GetMethodsInternal): Guard against methods that don't
115         belong to a GTD as well.
117 2009-12-14 Rodrigo Kumpera  <rkumpera@novell.com>
119         * MonoGenericClass.cs: Remove IsByRef hack.
121 2009-12-14 Rodrigo Kumpera  <rkumpera@novell.com>
123         * MonoGenericClass.cs (format_name): Avoid calling AssemblyQualifiedName as mcs DynamicObject
124         doesn't implement it.
126 2009-12-12 Rodrigo Kumpera  <rkumpera@novell.com>
128         * MonoGenericClass.cs: Remove useless field.
130 2009-12-12 Rodrigo Kumpera  <rkumpera@novell.com>
132         * MonoGenericClass.cs: Change it to support a non-sre generic type
133         definition.
135 2009-12-10 Rodrigo Kumpera  <rkumpera@novell.com>
137         * MonoGenericClass.cs: Add new register_with_runtime icall to make
138         sure that a managed code instantiated MGC will be returned when
139         the generic instantiation happens in unmanaged code.
140         
141         This is a temporary workaround while Type::MakeGenericType doesn't
142         handle user types properly.
144 2009-12-10 Rodrigo Kumpera  <rkumpera@novell.com>
146         * MonoGenericClass.cs: Make this class inherit from Type instead of
147         MonoType. Implement some missing methods and make sure we can still
148         be used as a byref type.
150 2009-12-08 Rodrigo Kumpera  <rkumpera@novell.com>
152         * MonoMethod.cs (MakeGenericMethod): If any of the arguments is
153         a non system type, inflate to a MethodOnTypeBuilderInst.
155 2009-12-08 Rodrigo Kumpera  <rkumpera@novell.com>
157         * ParameterInfo.cs: Add constructor that takes an array of ParameterInfo
158         objects.
160 2009-12-08 Rodrigo Kumpera  <rkumpera@novell.com>
162         * MonoGenericClass.cs: Implement IsCompilerContext property and replace
163         all checks to use it.
165 2009-12-04 Rodrigo Kumpera  <rkumpera@novell.com>
167         * MonoGenericClass.cs (InflateType): Add a type argument parameter and
168         make this function static. Now it can inflate types using the context
169         of any type.
171 2009-12-02  Jb Evain  <jbevain@novell.com>
173         * Assembly.cs: disable warning about Assembly overriding
174         Equals but not GetHashCode. That's sadly how it's in .net.
176 2009-12-02  Jb Evain  <jbevain@novell.com>
178         * MethodInfo.cs: add an internal virtual GetBaseMethod
179         returning the immediate predecessor in the inheritance chain.
180         * MonoMethod.cs: modify the get_base_definition icall to take
181         a boolean indicating that we want the immediate base method
182         or the original method definition and rename it to
183         get_base_method. Implement GetBaseMethod with it.
185 2009-11-21  Miguel de Icaza  <miguel@novell.com>
187         * Assembly.cs: Implement missing method.
189 2009-11-03  Marek Habersack  <mhabersack@novell.com>
191         * Assembly.cs: GetSatelliteAssembly must catch
192         AppDomain.LoadSatellite FileNotFoundException and attempt to load
193         satellites from subdirectories of current assembly's
194         directory. Fixes bug #548768
196 2009-10-30  Sebastien Pouliot  <sebastien@ximian.com>
198         * MonoMethod.cs: Remove CAS check in MonoCMethod.Invoke (just 
199         like it was done for MonoMethod.Invoke sister method)
201 2009-10-26  Sebastien Pouliot  <sebastien@ximian.com>
203         * Assembly.cs: Share code between GetSatelliteAssembly and 
204         GetSatelliteAssemblyNoThrow. For Moonlight ensure both 
205         GetManifestResourceStream and GetSatelliteAssembly don't load
206         anything "below" the assembly path.
208 2009-10-20  Sebastien Pouliot  <sebastien@ximian.com>
210         * MonoProperty.cs: Reduce code duplication and the number of direct
211         calls to icalls (affecting the number of SecuritySafeCritical in
212         Moonlight)
214 2009-10-19  Sebastien Pouliot  <sebastien@ximian.com>
216         * MonoEvent.cs: Reduce code duplication and the number of direct
217         calls to icalls (affecting the number of SecuritySafeCritical in
218         Moonlight)
220 2009-10-18  Sebastien Pouliot  <sebastien@ximian.com>
222         * MethodBase.cs: Reduce code duplication and the number of direct
223         calls to icalls (affecting the number of SecuritySafeCritical in
224         Moonlight)
226 2009-10-17  Sebastien Pouliot  <sebastien@ximian.com>
228         * MonoMethod.cs: Reduce code duplication and the number of direct
229         calls to icalls (affecting the number of SecuritySafeCritical in
230         Moonlight)
232 2009-09-22  Sebastien Pouliot  <sebastien@ximian.com>
234         * Assembly.cs: Remove Evidence and GlobalAssemblyCache 
235         properties for NET_2_1
237 2009-09-19  Sebastien Pouliot  <sebastien@ximian.com>
239         * TargetException.cs, TargetInvocationException.cs,
240         TargetParameterCountException.cs: Inherit from Exception for 
241         NET_2_1 since ApplicationException does not exists
243 2009-09-18  Sebastien Pouliot  <sebastien@ximian.com>
245         * Assembly.cs, Module.cs: Avoid imperative CAS checks for NET_2_1
247 2009-08-18  Zoltan Varga  <vargaz@gmail.com>
249         * MonoGenericClass.cs: Use StringComparison.Ordinal when calling
250         String.EndsWith ().
252 2009-08-07 Rodrigo Kumpera  <rkumpera@novell.com>
254         * MonoGenericClass.cs: Implement almost all methods required
255         to move to inherit from System.Type. The only missing methods
256         are Is(Array|Pointer|ByRef)Impl and GetElementType since the
257         runtime still generates weird instances for generics instances
258         of non-SRE types with SRE types as generic arguments.
260 2009-08-06 Rodrigo Kumpera  <rkumpera@novell.com>
262         * MonoGenericClass.cs (InflateType): Add support to inflate
263         generic method arguments.
265         * MonoGenericClass.cs (GetMethod): Remove restriction
266         with generic methods.
268 2009-08-05 Rodrigo Kumpera  <rkumpera@novell.com>
270         * MonoGenericClass.cs (FullName): mcs depends that FullName
271         doesn't return null for instantiations over generic params
272         of type builders. We special case this under compiler context.
274 2009-08-05 Rodrigo Kumpera  <rkumpera@novell.com>
276         * MonoGenericClass.cs: Remove Is(Array|Pointer|ByRef)Impl
277         and GetElementType since the runtime still produces instances
278         of MonoGenericClass for those types.
280 2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
282         * MonoGenericClass.cs: Implement more methods from MonoType.
283         Done with all type name related properties.
285 2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
287         * MonoGenericClass.cs: Implement Is*Impl methods to simply
288         return false.
290 2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
292         * MonoGenericClass.cs: Implement Make(Array,ByRef,Pointer) using the
293         new managed types.
295 2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
297         * MonoGenericClass.cs (InflateType): Implement it in terms of managed
298         code and kill the corresponding icall.
300 2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
302         * MonoGenericClass.cs: Add type_arguments field and constructor
303         that initializes it.
305 2009-08-03 Rodrigo Kumpera  <rkumpera@novell.com>
307         * MonoGenericClass.cs (initialize): Remember the number
308         of events available at initialization time. This is required as
309         mcs expect this behavior under compiler context that new events
310         are not returned for an instance that was inflated before.
312         * MonoGenericClass.cs: Kill GetEvents_internal and implement it
313         in terms of managed code.
315 2009-07-30  Zoltan Varga  <vargaz@gmail.com>
317         * FieldInfo.cs: Throw an exception if internal_from_handle_type ()
318         returns null. Fixes #525733.
320 2009-07-29 Rodrigo Kumpera  <rkumpera@novell.com>
322         * MonoGenericClass.cs (initialize): Call TypeBuilder::GetConstructorsInternal
323         since the public version throws.
325 2008-07-29  Marek Safar  <marek.safar@gmail.com>
327         * MonoGenericClass.cs: Removed one IsCompilerContext hack.
329 2009-07-27 Rodrigo Kumpera  <rkumpera@novell.com>
331         * Assembly.cs (GetType): Throw if name is empty.
333 2009-07-27 Rodrigo Kumpera  <rkumpera@novell.com>
335         * EventInfo (RemoveEventHandler): Throw InvalidOperationException if the
336         event remove method is not visible.
338 2009-07-27 Rodrigo Kumpera  <rkumpera@novell.com>
340         * EventInfo (AddEventHandler): Throw TargetException if target is not cast
341         compatible.
343         * EventInfo (AddEventHandler): Throw InvalidOperationException if the
344         event add method is not visible.
346         * EventInfo (AddEventHandler): Throw TargetException if source is null
347         and the event is not static.
349 2009-07-24 Rodrigo Kumpera  <rkumpera@novell.com>
351         * MonoGenericClass.cs (GetParentType): Implement using managed code.
353 2009-07-24 Rodrigo Kumpera  <rkumpera@novell.com>
355         * MonoGenericClass.cs: Make all icalls private. Kill GetInterfaces_internal.
356         Add a workaround for a GetField under compiler context.
358 2009-07-24 Rodrigo Kumpera  <rkumpera@novell.com>
360         * MonoGenericClass.cs (GetMethod): Use the new code always. Don't
361         accept MethodOnTypeBuilderInst under compiler context.
363         * MonoGenericClass.cs (GetField): Use the new code always.
365         * MonoGenericClass.cs: Make a bunch of methods raise NotSupportedException
366         when not under compiler context. Remove some dead code.
368 2009-07-23 Rodrigo Kumpera  <rkumpera@novell.com>
370         * MonoGenericClass.cs: Kill GetConstructors_internal and implement it
371         all in terms of managed code.
373         * MonoGenericClass.cs: Return instances of ConstructorOnTypeBuilderInst
374         under bootstrap profile.
376 2009-07-23 Rodrigo Kumpera  <rkumpera@novell.com>
378         * MonoGenericClass.cs: Kill GetFields_internal and implement it
379         all in terms of managed code.
381 2009-07-23 Rodrigo Kumpera  <rkumpera@novell.com>
383         * MonoGenericClass.cs: Kill GetMethods_internal and implement it
384         all in terms of managed code.
386 2009-07-22 Rodrigo Kumpera  <rkumpera@novell.com>
388         * MonoGenericClass.cs: Kill GetProperties_internal and implement it
389         all in terms of managed code.
391 2009-07-12  Gert Driesen  <drieseng@users.sourceforge.net>
393         * Binder.cs: Only allow a type to match its byref version for
394         BindToMethod (and not for SelectMethod).
396 2009-07-11  Zoltan Varga  <vargaz@gmail.com>
398         * Binder.cs: Allow conversion of IntPtr to pointer types.
400 2009-07-10  Zoltan Varga  <vargaz@gmail.com>
402         * Binder.cs (check_arguments): Allow a type to match its byref version.
403         Fixes #520690.
405 2009-06-12  Zoltan Varga  <vargaz@gmail.com>
407         * ParameterInfo.cs (DefaultValue): Add support for decimals, their default
408         value is encoded using a custom attribute.
410 2009-05-02  Sebastien Pouliot  <sebastien@ximian.com>
412         * Assembly.cs: Exclude CAS-specific code for NET_2_1
414 2009-04-30  Sebastien Pouliot  <sebastien@ximian.com>
416         * Module.cs: Exclude GetSignerCertificate (Authenticode related) 
417         from NET_2_1
418         * StrongNameKeyPair.cs: Adapt to work with only RSAManaged when 
419         built for NET_2_1, i.e. remove use of RSACryptoServiceProvider
421 2009-03-26  Zoltan Varga  <vargaz@gmail.com>
423         * MonoMethod.cs: Add a 'member' argument to the get_parameter_info () icall.
425 2009-03-03  Matthew Metnetsky  <matthew@cowarthill.com>
427         * MonoMethod.cs: within Invoke only change types if BindingFlags.ExactBinding isn't set
429         * MonoMethod.cs: within Invoke ensure arg types match ParameterInfo types before
430         calling InvokeInternal
432 2009-03-20  Sebastien Pouliot  <sebastien@ximian.com>
434         * EventInfo.cs, MonoProperty.cs: Ensure the delegate optimization 
435         works correctly, i.e. throw the right exception, with Moonlight.
437 2009-03-11  Zoltan Varga  <vargaz@gmail.com>
439         * Binder.cs: Allow conversions from T to T?. Fixes #484294.
441 2008-03-02  Rodrigo Kumpera  <rkumpera@novell.com>
443         * EventInfo.cs: Apply similar trick to the one in MonoProperty to speed up
444         AddEventHandler.
446 2008-02-28  Rodrigo Kumpera  <rkumpera@novell.com>
448         * MonoProperty.cs (GetValue): Don't use the delegate optimization for valuetypes.
450 2008-02-26  Rodrigo Kumpera  <rkumpera@novell.com>
452         * MonoProperty.cs (GetValue): Optimize getters for properties without arguments.
454 2008-02-26  Rodrigo Kumpera  <rkumpera@novell.com>
456         * MonoProperty.cs (GetValue): Optimize getters for properties without arguments.
457         The optimization is to create a pair of chained delegates that duplicate the workings
458         on MethodBase::Invoke without all the aditional overhead and without doing two
459         managed/native transitions.
461         Simple Getter performance is up to 17x faster.
463         This patch reduces contention on domain and domain jit code hash locks, which
464         can be very hot on asp.net applications.
466 2008-02-21  Jb Evain  <jbevain@novell.com>
468         * Module.cs: add a new virtual GetModuleVersionId method,
469         and make the properties .MvId and ModuleVersionId call it.
470         This way, we can override it in ModuleBuilder.
471         Part of the fix for #471302.
473 2008-02-03  Rodrigo Kumpera  <rkumpera@novell.com>
475         * MonoMethod.cs: Fix the 1.1 build.
477 2008-02-02  Rodrigo Kumpera  <rkumpera@novell.com>
479         * MonoMethod.cs (ToString): Fix the representation of non primitive structs.
481 2008-02-02  Rodrigo Kumpera  <rkumpera@novell.com>
483         * MonoMethod.cs (ToString): Fix representation of pointer types.
485         Fixes #409583.
487 2009-01-24  Zoltan Varga  <vargaz@gmail.com>
489         * MonoGenericClass.cs: Fix warnings.
491 2009-01-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
493         * Assembly.cs: add new LoadSatelliteAssemblyNoThrow method and use the
494         new LoadSatellite() in AppDomain.
496 2009-01-09  Zoltan Varga  <vargaz@gmail.com>
498         * CustomAttributeData.cs (ToString): Applied patch from Leszek Ciesielski
499         <skolima@gmail.com>. Use DeclaringType.FullName instead of DeclaringType.Name.
500         Fixes #464830.
502 2008-11-17  Rodrigo Kumpera  <rkumpera@novell.com>
504         * MonoField.cs (GetValue): Don't check for open generic types if the field
505         is a constant.
507 2008-11-11  Rodrigo Kumpera  <rkumpera@novell.com>
509         * Module.cs (ResolveMethod): Use internal method 
510         GetMethodFromHandleNoGenericCheck to avoid the generic type
511         limitation of GetMethodFromHandle.
513         Fixes #443763.
515 2008-10-02 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
517         * MonoMethod.cs: throw a MemberAccessException when
518         trying to invoke a constructor creating an instance of an abstract
519         class. Return null when an instance of an object was passed as a
520         parameter when invoking a .ctor. Fixes bug #324185.
522 2008-09-07  Zoltan Varga  <vargaz@gmail.com>
524         * MonoField.cs: Add check to GetValue/SetValue () to avoid crashes when it is
525         called on fields of open types. Fixes #424077.
527 2008-08-12  Gert Driesen  <drieseng@users.sourceforge.net>
529         * ReflectionSerializationHolder.cs: Removed.
530         * common.src: Removed.
532 2008-08-04  Atsushi Enomoto  <atsushi@ximian.com>
534         * Assembly.cs : return UnmanagedMemoryStream from 
535           GetManifestResourceStream(). Fixed bug #322241.
537 2008-07-30  Rodrigo Kumpera  <rkumpera@novell.com>
539         * MonoGenericClass.cs (InflateType): Guard against null types.
540         Fixes #412965.
542 2008-07-23  Marek Safar  <marek.safar@gmail.com>
544         * MethodBase.cs (GetMethodFromHandle): Needed for bootraping.
546 2008-07-22  Rodrigo Kumpera  <rkumpera@novell.com>
548         * MonoGenericClass.cs (GetMethod): Under compiler mode allow
549         MethodOnTypeBuilderInst to be used..
551 2008-07-17  Rodrigo Kumpera  <rkumpera@novell.com>
553         * MonoGenericClass.cs (GetMethod): Revert to old code
554         path as the new one broke System.Core.
556 2008-07-16  Rodrigo Kumpera  <rkumpera@novell.com>
558         * MonoGenericClass.cs (GetMethod): Use the new codepath for compiler
559         context.
561         * MonoGenericClass.cs: New InflateType method, used to inflate
562         managed types.
564 2008-07-11  Marek Safar  <marek.safar@gmail.com>
566         * MonoGenericClass.cs (GetField): Put back removed code.
568 2008-07-04  Rodrigo Kumpera  <rkumpera@novell.com>
570         * MethodBase.cs (GetMethodFromHandle): Fix a warning in
571         the 1.0 build.
573 2008-07-04  Rodrigo Kumpera  <rkumpera@n ovell.com>
575         * MethodBase.cs (GetMethodFromHandle): Extract an internal version
576         of this function that doesn't perform the generic class check.
577         This method is required to fix the Delegate regression that fixing
578         #377324 caused.
580 2008-06-25  Rodrigo Kumpera  <rkumpera@n ovell.com>
582         * MethodBase.cs (GetMethodFromHandle): Check if the icall returns null
583         and fail. This is part of the fix for #377324.
585 2008-06-19  Marek Safar  <marek.safar@gmail.com>
587         * MonoGenericClass.cs (GetConstructor): Put back removed code due to obscure
588         System.Reflection.MonoGenericCMethod.
590 2008-06-19  Kornel Pal  <kornelpal@gmail.com>
592         * Module.cs: Add internal GetHINSTANCE.
594 2008-06-02  Ivan N. Zlatev  <contact@i-nz.net>
596         * Binder.cs, MonoGenericClass.cs: For property reflection we should 
597         strictly match the return type if available.
599 2008-05-16  Zoltan Varga  <vargaz@gmail.com>
601         * MonoGenericClass.cs (GetConstructor): Remove some old code, as the new code
602         seems to work fine.
603         (GetField): Ditto.
605 2008-05-05  Zoltan Varga  <vargaz@gmail.com>
607         * FieldInfo.cs (GetFieldFromHandle): Add an argument check for an invalid handle.
609         * MethodBase.cs (GetMethodFromHandle): Ditto. Fixes #386641.
611 2008-04-30  Gert Driesen  <drieseng@users.sourceforge.net>
613         * ParameterInfo.cs: Name must default to null if no ParameterBuilder
614         is supplied.
616 2008-04-22  Zoltan Varga  <vargaz@gmail.com>
618         * MonoGenericClass.cs (GetMethod): Construct a MethodOnTypeBuilderInst object
619         instead of using GetCorrespondingInflatedMethod. This is needed so this class can
620         reflect the changes made to the builder after initialize () has been called.
621         Fixes #381547 and #354759.
622         (GetConstructor): Ditto.
624 2008-04-16  Zoltan Varga  <vargaz@gmail.com>
626         * Binder.cs: Applied patch from Yves Bastide (doc.formatique@gmail.com). Add 
627         support for converting integers to enums. Fixes #380361.
629 ?2008-04-02  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
631         * IReflect.cs
632         * MethodInfo.cs: Fix parameter names
634 2008-03-31  Mark Probst  <mark.probst@gmail.com>
636         * MonoMethod.cs: Don't do CAS security checks in Invoke for 2.1
637         profile.
639 2008-03-25  Zoltan Varga  <vargaz@gmail.com>
641         * MonoCMethod.cs (Invoke): Avoid a crash if this is called on a ctor of an open
642         generic type. Fixes #373459.
643         
644         * MonoMethod.cs (InternalInvoke): Add an out 'exc' argument used to distinguish
645         exceptions thrown by the icall from the exceptions thrown by the wrapped method.
646         Fixes #373448.
648 2008-03-17  Marek Safar  <marek.safar@gmail.com>
650         * MonoMethod.cs (ToString): Print VarArgs argument.
652 2008-03-14  Zoltan Varga  <vargaz@gmail.com>
654         * MonoGenericClass.cs (GetField): Construct a FieldOnTypeBuilderInst object
655         instead of using GetCorrespondingInflatedField. This is needed so this class can
656         reflect the changes made to the type builder after initialize () has been called.
658         * Binder.cs (ChangeType): Add support for Char->Double/Single conversations. Fixes
659         #367655.
661 2008-03-10  Gert Driesen  <drieseng@users.sourceforge.net>
663         * Assembly.cs (GetFile): Fixed exception messages and param name.
665 2008-03-06  Zoltan Varga  <vargaz@gmail.com>
667         * Assembly.cs: Define GetManifestModule () for net 2.0 bootstrap as well.
669 2008-02-26  Ivan N. Zlatev  <contact@i-nz.net>
671         * MonoProperty.cs: MS ignores the inherit parameter and defaults to false
672         for GetCustomAttributes.
673         [Fixes bugs #324472 and #322464]
675 2008-02-20  Zoltan Varga  <vargaz@gmail.com>
677         * AssemblyName.cs (ReferenceMatchesDefinition): Add error checking and some 
678         simple cases required by ikvm.
680 2008-02-18  Zoltan Varga  <vargaz@gmail.com>
682         * CustomAttributeTypedArgument.cs (.ctor): Convert arrays into a collection of
683         CustomAttributeTypedArguments to match MS.
685 2008-02-10  Gert Driesen  <drieseng@users.sourceforge.net>
687         * Assembly.cs: Use icall for ToString/FullName. Fixes bug #318231.
689 2008-02-02  Gert Driesen  <drieseng@users.sourceforge.net>
691         * MonoMethod.cs (MakeGenericMethod): Modified argument name to match
692         MS. When one of the types is null, throw ArgumentNullException instead
693         of ArgumentException.
694         * MethodInfo.cs (MakeGenericMethod): Modified argument name to match
695         MS.
697 2008-01-29  Zoltan Varga  <vargaz@gmail.com>
699         * Assembly.cs: Make GetTypes () virtual so it can be overriden by AssemblyBuilder.
700         
701         * Assembly.cs: Make GetModulesInternal () virtual so it can be overriden by
702         AssemblyBuilder.
704 2008-01-22  Zoltan Varga  <vargaz@gmail.com>
706         * MonoGenericClass.cs: Make this NET 2.0 only.
707         
708         * MonoGenericClass.cs (Initialize): Simplify this a bit and add comments for this
709         class.
711 2008-01-20  Gert Driesen  <drieseng@users.sourceforge.net>
713         * AssemblyName.cs: Added support for Retargetable spec in FullName.
715 2008-01-17  Zoltan Varga  <vargaz@gmail.com>
717         * Assembly.cs AssemblyFlagsAttribute.cs ICustomAttributeProvider.cs
718         MemberInfo.cs FieldInfo.cs DefaultMemberAttribute.cs 
719         CustomAttributeNamedArgument.cs TargetException.cs MethodInfo.cs
720         IReflect.cs CustomAttributeTypedArgument.cs Module.cs: Change some parameter
721         names to match MS.
723 2008-01-15  Jb Evain  <jbevain@novell.com>
725         * MonoMethod.cs (MakeGenericMethod): check for null values
726         in the types arguments. Fixes #353849.
728 2008-01-06  Sebastien Pouliot  <sebastien@ximian.com>
730         * Assembly.cs: Fix typo in setter found with Gendarme (was used in a
731         single place, AppDomain, and set to true so it never caused a problem)
733 2008-01-04  Gert Driesen  <drieseng@users.sourceforge.net>
735         * AssemblyName.cs: Fixed default value for ProcessorArchitecture to
736         match MS. On 2.0 profile, return zero-length in FullName is no name
737         is set, and throw a SecurityException in FullName and GetPublicKeyToken
738         if a public key is set with no corresponding public key token. 
739         Fixed FullName to also include PublicKeyToken spec with "null" value
740         if public key is empty byte array. Fixed corlib part of bug #351057.
741         In SetPublicKey, modify Flags accordingly. On the 2.0 profile, verify
742         the public key when the public key token is computed.
744 2007-12-26  Zoltan Varga  <vargaz@gmail.com>
746         * Assembly.cs (GetSatelliteAssembly): Search in the assembly directory as well.
747         Fixes ##345627.
749 2007-12-03  Zoltan Varga  <vargaz@gmail.com>
751         * MonoField.cs: Implement GetRawConstantValue ().
753 2007-11-24  Marek Habersack  <mhabersack@novell.com>
755         * CustomAttributeTypedArgument.cs: value can be null in ToString.
757 2007-11-16  Zoltan Varga  <vargaz@gmail.com>
759         * Assembly.cs (GetFiles): Include the assembly itself as the first entry.
761 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
763         * AssemblyName.cs : remove extraneous MonoTODO.
765 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
767         * ExceptionHandlingClause.cs : implemented ToString().
769 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
771         * MethodBase.cs : (Invoke) removed extra interface implementation.
773 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
775         * StrongNameKeyPair.cs : implemented 2.0 runtime serialization stuff.
777 2007-11-05  Mark Probst  <mark.probst@gmail.com>
779         * Binder.cs: Treat matches with different argument types as
780         ambiguous, too.  Fixes #324998.
782 2007-11-01  Zoltan Varga  <vargaz@gmail.com>
784         * Binder.cs: Avoid returning a method with a ParamArray attribute when a normal
785         method exists. Fixes #338266.
787 2007-10-30  Zoltan Varga  <vargaz@gmail.com>
789         * Binder.cs: Applied patch from Mario A Chavez <mario.chavez@gmail.com>. Add
790         support for binding to methods with ParamArray attribute. Fixes #336841.
792 2007-10-27  Zoltan Varga  <vargaz@gmail.com>
794         * MonoGenericClass.cs: Override GetPropertyImpl too.
796 2007-10-24  Atsushi Enomoto  <atsushi@ximian.com>
798         * Assembly.cs : include ReflectionOnlyLoad() as part of 2.0
799           bootstrap build.
801 2007-09-23  Zoltan Varga  <vargaz@gmail.com>
803         * Assembly.cs (GetManifestModule): New virtual method overridden by 
804         AssemblyBuilder.
806 2007-09-17  Gert Driesen  <drieseng@users.sourceforge.net>
808         * Assembly.cs: In GetManifestResourceStream, throw ANE with type as
809         paramname when both name and type are null. Use String.Length to check
810         for zero-length string.
812 2007-09-11  Mark Probst  <mark.probst@gmail.com>
814         * MonoMethod.cs: Catch and re-throw MethodAccessException from
815         InternalInvoke for CoreCLR security.
817 Thu Sep 6 19:49:34 CEST 2007 Paolo Molaro <lupus@ximian.com>
819         * MonoMethod.cs: name is used as a cache: provide an icall to get the
820         name from the runtime.
822 2007-08-23  Robert Jordan  <robertj@gmx.net>
824         * MemberInfoSerializationHolder.cs: created from
825         ReflectionSerializationHolder to match MS (fixes bug #80761).
826         Add support for fields, events, properties and generic methods.
828         * MonoMethod.cs (GetObjectData): handle generic arguments.
830         * MonoGenericMethod.cs: mark as [Serializable].
832         * MonoProperty.cs (GetObjectData): implemented.
834         * MonoField.cs: ditto.
836         * MonoEvent.cs: ditto.
838 2007-07-19  Atsushi Enomoto  <atsushi@ximian.com>
840         * MonoMethod.cs : parameter types should be fixed as well.
842 2007-07-19  Atsushi Enomoto  <atsushi@ximian.com>
844         * MonoMethod.cs : ToString() did not show correct return type when
845           it is generic.
847 2007-07-15  Zoltan Varga  <vargaz@gmail.com>
849         * FieldInfo.cs: Implement GetOptional/RequiredCustomModifiers ().
851         * MethodInfo.cs: Remove an unneccesary MonoTODO.
853         * Module.cs: Implement ResolveSignature.
855 2007-07-14  Zoltan Varga  <vargaz@gmail.com>
857         * Module.cs: Implement the generic versions of the ResolveXXX methods.
859 2007-07-10  Zoltan Varga  <vargaz@gmail.com>
861         * Module.cs: Add new internal method GetMDStreamVersion ().
863 2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>
865         * CustomAttributeNamedArgument.cs, CustomAttributeTypedArgument.cs:
866           added missing operator == and !=.
868 2007-07-04  Atsushi Enomoto  <atsushi@ximian.com>
870         * CustomAttributeNamedArgument.cs CustomAttributeTypedArgument.cs
871           CustomAttributeData.cs : implemented Equals() and GetHashCode().
872         * Missing.cs : ISerializable.
873         * AssemblyName.cs : ReferenceMatchesDefinition() stub.
874         * Module.cs : missing method stubs with generic type/method args.
875         * ExceptionHandlingClause.cs : ToString() stub.
876         * MethodBase.cs TypeDelegator.cs ModuleResolveEventHandler.cs
877           TypeFilter.cs MemberFilter.cs
878           FieldInfo.cs ParameterInfo.cs MethodInfo.cs :
879           miscellaneous cosmetic API fixes.
881 Tue May 8 13:04:35 CEST 2007 Paolo Molaro <lupus@ximian.com>
883         * FieldInfo.cs, MethodBase.cs: implemented new GetFieldFromHandle and
884         GetMethodFromHandle overloads (bug #78637).
886 2007-05-07  Zoltan Varga  <vargaz@gmail.com>
888         * MonoMethod.cs (Invoke): Fix a warning.
889         
890         * MonoMethod.cs (Invoke): Don't wrap ThreadAbortException inside a 
891         TargetInvocationException on the 2.0 profile. Fixes #81538.
893 2007-04-09  Alp Toker  <alp@atoker.com>
895         * MonoMethod.cs: Use StringBuilder for the entire ToString() methods
896         to reduce allocations and increase performance.
898 2007-04-09  Alp Toker  <alp@atoker.com>
900         * MonoMethod.cs: Use StringBuilder for parms in ToString() methods.
902 2007-04-09  Alp Toker  <alp@atoker.com>
904         * MethodBase.cs: IsGenericMethodDefinition() and IsGenericMethod()
905         should return false, not throw NotSupportedException. This matches MS
906         behaviour and introduces simplifications in subclasses.
907         * MonoMethod.cs: MonoCMethod: Remove redundant overrides.
909 2007-03-05  Peter Dettman <peter.dettman@iinet.net.au>
911         * Binder.cs: The patch changes Binder.Default.GetBetterMethod to
912         prefer methods in subclasses if the arg types can't disambiguate
913         them.
915         Also fixes a typo in the CallingConventions comparison.
917 2007-03-01  Alp Toker  <alp@atoker.com>
919         * FieldInfo.cs:
920         Add GetFieldFromHandle() 2.0 overload stub (NotImplemented).
922 2007-03-01  Alp Toker  <alp@atoker.com>
924         * MethodBase.cs: Add missing ComVisible attr.
925         Add GetMethodFromHandle() 2.0 overload stub (NotImplemented).
927 2006-12-30  Marek Safar  <marek.safar@gmail.com>
929         * MonoProperty.cs: Cache frequently used properties.
931 Thu Dec 14 13:50:48 CET 2006 Paolo Molaro <lupus@ximian.com>
933         * *.cs: added missing Serializable attributes.
935 Thu Dec 14 12:52:27 CET 2006 Paolo Molaro <lupus@ximian.com>
937         * MonoProperty.cs, ParameterInfo.cs, PropertyInfo.cs:
938         GetRequiredCustomModifiers()/GetOptionalCustomModifiers()
939         implementations.
941 Tue Dec 12 20:35:10 CET 2006 Paolo Molaro <lupus@ximian.com>
943         * MethodBase.cs: added missing ComVisible attr.
944         * MethodInfo.cs: added a few missing methods that we implement
945         in derived classes.
947 Tue Dec 12 19:45:26 CET 2006 Paolo Molaro <lupus@ximian.com>
949         * MonoEvent.cs: correctly obey the nonPublic flag in GetOtherMethods ().
950         * EventInfo.cs: remove NotImpl exception from GetOtherMethods ().
952 2006-10-19  Gert Driesen  <drieseng@users.sourceforge.net>
954         * AssemblyName.cs: Revert change where filename was not converted to
955         absolute path before passing it to Assembly.InternalGetAssemblyName
956         as the CodeBase is not set in that case.
958 2006-10-17  Kornel Pal  <kornelpal@gmail.com>
960         * FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a
961           NotSupportedException is the proper implementation.
962         * ParameterInfo.cs: Use Attributes in Is... properties on profile 2.0
963           that is expected by subclasses.
965 2006-10-14  Gert Driesen  <drieseng@users.sourceforge.net>
967         * AssemblyName.cs: No need to convert filename to absolute path before
968         passing it to Assembly.InternalGetAssemblyName. This allows our
969         exception messages to be better match those of MS.
971 2006-09-29  Jb Evain  <jbevain@gmail.com>
973         * MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.
975 2006-09-02  Zoltan Varga  <vargaz@gmail.com>
977         * ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from 
978         Peter Dettman (peter.dettman@iinet.net.au). Implement ReturnParameter
979         property.
981         * Binder.cs (ReorderParameters): Really fix this.
982         
983         * Binder.cs (ReorderParameters): Fix this method. Fixes #79120.
985 2006-09-01  Raja R Harinath  <rharinath@novell.com>
987         * MonoMethod.cs (ToString): Update to handle change in byref type names.
989 2006-08-08  Gert Driesen  <drieseng@users.sourceforge.net>
991         * Assembly.cs: On 2.0 profile, throw FileNotFoundException for
992         linked resources in GetManifestResourceStream when assembly is
993         loaded from byte array.
995 2006-07-12  Zoltan Varga  <vargaz@gmail.com>
997         * MonoMethod.cs (ContainsGenericParameters): Implement.
998         
999         * MonoMethod.cs (Invoke): Prevent invoking of open generic methods.
1001 2006-07-09  Gert Driesen  <drieseng@users.sourceforge.net>
1003         * Assembly.cs: When assembly is loaded from byte array, return null
1004         for linked resources in GetManifestResourceStream. Fixes bug #78468.
1006 2006-07-09  Zoltan Varga  <vargaz@gmail.com>
1008         * Binder.cs: Add back the support for BindingFlags.ExactBinding. Fixes #78592.
1010 2006-06-30  Zoltan Varga  <vargaz@gmail.com>
1012         * Binder.cs: Comment out the ExactBinding stuff for the release as it breaks some 
1013         gtk# apps.
1015 2006-06-07  Zoltan Varga  <vargaz@gmail.com>
1017         * Binder.cs: Add support for BindingFlags.ExactBinding. Fixes #78592.
1019 2006-05-28  Gert Driesen  <drieseng@users.sourceforge.net>
1021         * MethodBase.cs: GetMethodBody should not throw ArgumentException for
1022         a method with no IL body. Fixes bug #78522.
1024 2006-05-10  Zoltan Varga  <vargaz@gmail.com>
1026         * Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
1028 2006-05-08  Atsushi Enomoto  <atsushi@ximian.com>
1030         * Binder.cs : (Default.SelectMethod)
1031           don't throw AmbiguousMatchException when one of conflicting method
1032           matches weakly. Fixed bug #42547.
1034 2006-05-08  Atsushi Enomoto  <atsushi@ximian.com>
1036         * Binder.cs : (Default.BindToMethod) reorder parameters based
1037           on namedParameters. Fixed bug #41691.
1039 2006-05-03  Jb Evain  <jbevain@gmail.com>
1041         * MonoField.cs (GetValue,SetValue): throw a TargetException
1042         when the field is non static and the target is null.
1044 2006-03-12  Zoltan Varga  <vargaz@gmail.com>
1046         * Binder.cs: Applied patch from Ben to fix #74947.
1048 2006-03-01  Miguel de Icaza  <miguel@novell.com>
1050         * Assembly.cs: Cache the AssemblyName, patch from Tambet.  This
1051         reduces the memory usage during remoting.
1053 2006-02-16  Martin Baulig  <martin@ximian.com>
1055         * FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.
1057 2006-02-15  Martin Baulig  <martin@ximian.com>
1059         * MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
1060         (MethodBase.Mono_IsInflatedMethod): Removed.
1061         (MethodBase.HasGenericParameters): Removed.
1063         * MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
1064         here from MethodBase.
1066         * MonoMethod.cs
1067         (MonoMethod.IsGenericMethodDefinition): This is now an icall.
1068         (MonoMethod.IsGenericMethod): Likewise.
1070 2006-02-14  Martin Baulig  <martin@ximian.com>
1072         * MonoMethod.cs
1073         (MonoCMethod.IsGenericMethod): Override this and return false; the
1074         MS runtime doesn't throw an exception here.
1076 2006-02-08  Martin Baulig  <martin@ximian.com>
1078         * MonoGenericClass.cs (MonoGenericClass.IsAssignableFrom):
1079         Override and implement this; fixes #77395.      
1081 2006-02-07  Martin Baulig  <martin@ximian.com>
1083         * MonoMethod.cs
1084         (MonoMethod.IsGenericMethod): Only return true for "real" generic
1085         methods and not for arbitrary instantiated methods.
1086         (MonoMethod.IsGenericMethodDefinition): Only return true for
1087         generic method definitions, but not for instantiated generic
1088         methods.  This is no longer an interncall.  Fixes #77466.
1090 2006-02-03  Zoltan Varga  <vargaz@gmail.com>
1092         * MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
1093         Fixes #77460.
1095 2005-12-23  Sebastien Pouliot  <sebastien@ximian.com>
1097         * Assembly.cs: Fixed #75950. The icall has been changed to accept a 
1098         boolean so it can return a non-escaped code base.
1100 2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>
1102         * MonoMethod.cs : made MakeGenericMethod() indirect icall to
1103           MakeGenericMethod_impl() and raise an error when it returns null.
1105 2005-11-15  Zoltan Varga  <vargaz@gmail.com>
1107         * Module.cs: Add MDStreamVersion property.
1109         * Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs 
1110         CustomAttributeData.cs PortableExecutableKinds.cs 
1111         ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
1112         updates.
1114 2005-11-11  Marek Safar  <marek.safar@seznam.cz>
1116         * MethodBase.cs, TypeDelegator.cs: Reflect Type changes.
1118 2005-10-30  Zoltan Varga  <vargaz@freemail.hu>
1120         * FieldInfo.cs: Add an internal UMarshal property which can by
1121         overriden in FieldBuilder.
1123 2005-10-26  Atsushi Enomoto  <atsushi@ximian.com>
1125         * MonoMethod.cs : (ToString) add suffix " ByRef" for byref parameters.
1126           Fixed bug #76541.
1128 2005-10-04  Martin Baulig  <martin@ximian.com>
1130         * MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
1131         return type from `MonoGenericClass to `Type'.
1133 2005-09-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>
1135         * AssemblyName.cs: Add ParseName internal call, to parse
1136         long format assembly names. 
1137         
1138 2005-09-25  Sebastien Pouliot  <sebastien@ximian.com>
1140         * MonoProperty.cs: Invoke throws a SecurityException but GetValue must
1141         throw TargetInvocationException with the SecurityException as an inner
1142         exception. See CAS unit tests for System.Web.dll.
1144 2005-09-20  Martin Baulig  <martin@ximian.com>
1146         * Assembly.cs: Removed some unused debugger icalls.
1148 2005-09-17  Zoltan Varga  <vargaz@freemail.hu>
1150         * Module.cs: Remove obsolete Mvid property.
1152 2005-09-09  Martin Baulig  <martin@ximian.com>
1154         Reflect latest API changes in the August CTP.
1156         * MethodBase.cs (MethodBase.MakeGenericMethod): Removed.
1158         * MethodInfo.cs (MethodInfo.MakeGenericMethod): Added here.
1160 2005-09-08  Sebastien Pouliot  <sebastien@ximian.com>
1162         * AssemblyName.cs: Apply second half of Chris Micacchi's patch
1164 2005-09-07  Miguel de Icaza  <miguel@novell.com>
1166         * AssemblyName.cs: Apply patch from Chris Micacchi to serialize
1167         the keyToken as "_PublicKeyToken".
1169 2005-09-05  Martin Baulig  <martin@ximian.com>
1171         Reflect latest API changes in the August CTP.
1173         * GenericParameterAttributes.cs: Here.
1175         * MethodBase.cs (MethodBase.BindGenericParameters): Renamed to
1176         MakeGenericMethod().    
1178 2005-09-05  Martin Baulig  <martin@ximian.com>
1180         * Assembly.cs (MonoDebugger_GetMethodToken): Don't take an
1181         `Assembly' argument.
1183 2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1185         * Assembly.cs: made GetManifestResourceInternal internal. Fixes the
1186         build.
1188 2005-08-05  Gert Driesen <drieseng@users.sourceforge.net>
1190         * Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
1191         * ConstructorInfo.cs: Added GetType() method in 1.1 to match
1192         MS.NET, implemented _ConstructorInfo.
1193         * EventInfo.cs: Added GetType() method in 1.1 to match MS.NET,
1194         implemented _EventInfo.
1195         * FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET,
1196         implemented _FieldInfo.
1197         * MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET,
1198         implemented _MemberInfo.
1199         * MethodBase.cs: Added GetType() method in 1.1 to match MS.NET,
1200         implemented _MethodBase.
1201         * MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET,
1202         implemented _MethodInfo.
1203         * PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET,
1204         implemented _PropertyInfo.
1205         * TypeAttributes.cs: CustomFormatMask and CustomFormatClass should
1206         only be exposed in 2.0 profile.
1208 2005-07-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>
1210         * CustomAttributeTypedArgument: Return the name of the
1211         enum if the type is an enum in ToString ().
1212         
1213 2005-06-21  Sebastien Pouliot  <sebastien@ximian.com>
1215         * Assembly.cs: Create a copy of the evidences and add an instance of 
1216         PermissionRequestEvidence to it before resolution. This way the PRE
1217         won't be present when asking for evidences later. Removed debugging 
1218         code.
1220 2005-06-13  Michal Moskal <malekith@nemerle.org>
1221         
1222         * MonoGenericClass.cs: Don't use MethodHandle in GetMethod/GetConstructor,
1223         since it now throws on MethodBuilders. Don't use FieldHandle in
1224         GetField (throws on FieldBuilder) - just use the name.
1226 2005-06-15  Sebastien Pouliot  <sebastien@ximian.com>
1228         * Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
1229         FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
1230         ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
1231         attributes that were added in 1.1 SP1 or 2.0 beta2.
1233 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1235         * Binder.cs: null is ok for a value type. Fixes bug #75241.
1237 2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>
1239         * Assembly.cs: UnprotectedGetName is now virtual to allow for more
1240         initialization in AssemblyBuilder. The [Granted|Refused]PermissionSet
1241         now use the ResolvingPolicyLevel to support the policy 
1242         FullTrustAssemblies during resolution.
1243         * AssemblyName.cs: Return null instead of "new byte [0]" if no public
1244         key is available.
1246 2005-06-09  Kamil Skalski <nazgul@nemerle.org>
1247         * MonoGenericClass.cs: Add overrides of Get{Method,Constructor,Field} 
1248         for obtaining instanciated *Info objects from non-instanciated counterparts
1251 2005-06-09  Zoltan Varga  <vargaz@freemail.hu>
1253         * CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.
1255         * *.cs: Updates for net 2.0 beta 2.
1257 2005-06-07  Zoltan Varga  <vargaz@freemail.hu>
1259         * *.cs: Updates for net 2.0 beta 2.
1261 2005-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
1263         * CustomAttributeData.cs: Implemented.
1265         * CustomAttributeDataNamedArgument.cs: Implemented.
1267         * CustomAttrbuteDataTypedArgument.cs: Implemented.
1268         
1269 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
1271         * Assembly.cs ExceptionHandlingClause.cs: Fix build.
1273         * ProcessorArchitecture.cs: New file.
1275         * ExceptionHandlingClause.cs: Update after ExceptionHandlingClauseFlags name change.
1277         * *.cs: Updates for net 2.0 beta 2.
1279         * *.cs: Add net 2.0 ComVisibleAttribute.
1281 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1283         * Assembly.cs: if the assembly is loaded from a byte array, Location
1284         returns "". Fixes bug #74958.
1286 2005-06-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>
1288         * AssemblyName.cs: Changes to support the creation of version
1289         instance from icalls. This change also helps to keep the
1290         AssemblyName tests running fine.
1291         
1292 2005-05-26  Ben Maurer  <bmaurer@ximian.com>
1294         * Binder.cs: Avoid double checked locking and lock on typeof by
1295         doing init of the default binder in the cctor.
1297 2005-05-25  Zoltan Varga  <vargaz@freemail.hu>
1299         * Assembly.cs: Avoid security checks if Assembly.Location is "".
1301 2005-05-20  Zoltan Varga  <vargaz@freemail.hu>
1303         * TypeDelegator.cs: Implement some methods.
1304         
1305         * TypeDelegator.cs: Revert this as it breaks the build.
1307         * TypeDelegator.cs: Implement some methods.
1309 2005-05-19  Satya Sudha K  <ksathyasudha@novell.com>
1310             Raja R Harinath  <rharinath@novell.com>
1312         * Missing.cs (Missing.Value): Initialize.
1314 2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
1316         * Binder.cs: Use IsInstanceOfType instead of IsAssignableFrom
1317         since GetType() may not return the correct type if the object is
1318         a remoting proxy. This fixes bug #74933.
1320 2005-05-13  Zoltan Varga  <vargaz@freemail.hu>
1322         * MonoField.cs: Applied patch from Opened by Michael Meeks (michael@ximian.com). Improve exception message on binding failures.
1324 2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>
1326         * MonoField.cs: Added a Clone method. This is needed for serialization.
1328 2005-05-07  Ben Maurer  <bmaurer@ximian.com>
1330         * MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.
1332 2005-05-06  Zoltan Varga  <vargaz@freemail.hu>
1334         * Module.cs: Update for beta 2.
1336         * CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.
1338 2004-05-03  Lluis Sanchez  <lluis@ximian.com>
1340         * Assembly.cs: Don't remove version and culture information from
1341         the name, since it will be used by load_with_partial_name.
1343 2005-04-14  Sebastien Pouliot  <sebastien@ximian.com>
1345         * Assembly.cs: Added some CAS security to avoid returning restricted
1346         information to partially truster callers (e.g. code base). Added new
1347         methods to get the Evidence and AssemblyName so that the security
1348         runtime can bootstrap itself (without calling itself).
1350 2005-04-14  Sebastien Pouliot  <sebastien@ximian.com>
1352         * Assembly.cs: Added missing null check in GetObjectData.
1354 2005-04-04  Sebastien Pouliot  <sebastien@ximian.com>
1356         * AssemblyName.cs: Added a demand for SerializationFormatter on
1357         GetObjectData method.
1359 2005-04-04  Sebastien Pouliot  <sebastien@ximian.com> 
1361         * AssemblyName.cs: Implemented EscapedCodeBase using the copy of 
1362         System.Uri (System.dll) located in Mono.Security.Uri. Added missing
1363         null check in GetObjectData.
1364         * Module.cs: Added a FileIOPermission for PathDiscovery on 
1365         FullyQualifiedName property (but not on Name property like MS).
1366         Added missing null check in GetObjectData.
1367         * StrongNameKeyPair.cs: Added demands for unmanaged code to all
1368         constructors (as we do not want partially trusted code to create
1369         strongnamed assemblies).
1371 2005-03-30  Zoltan Varga  <vargaz@freemail.hu>
1373         * Binder.cs (check_type): Fix byref support. Fixes #73972.
1375 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
1377         * MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class.
1378         * Module.cs: Add a LinkDemand for SerializationFormatter on 
1379         GetObjectData method.
1381 2005-03-16  Sebastien Pouliot  <sebastien@ximian.com>
1383         * Assembly.cs: Implemented EscapedCodeBase using the copy of 
1384         System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.
1386 2005-03-11  Sebastien Pouliot  <sebastien@ximian.com>
1388         * MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand 
1389         (i.e. stack walk) when reflection is being used to invoke a method.
1391 2005-02-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>
1393         * Assembly.cs: LoadFrom: Change signature to support reflection only
1394         methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
1395         implemented; InvalidOperationException's re-thrown by CreateInstance.
1396         Also ReflectionOnly 2.0 property added.
1398         * MonoMethod.cs: InvalidOperationException's are re-thrown when calling 
1399         Invoke method on reflection only assemblies.
1400         
1401 2005-02-22  Raja R Harinath  <rharinath@novell.com>
1403         * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
1404         'abstract' so that this class can be derived outside of corlib.
1406 2005-02-16  Miguel de Icaza  <miguel@novell.com>
1408         * MonoEvent.cs: Put new methods here.
1410         * EventInfo.cs: Move the methods GetCustomAttributes, and
1411         IsDefined from EventInfo to MonoEvent.
1413         Remove the methods that were not supposed to be exposed: Name,
1414         ReflectedType, DeclaringType.
1416 2005-02-12  Chris Toshok  <toshok@ximian.com>
1418         * Assembly.cs: Correct the type of MonoDebugger_MakeArrayType.
1420 2005-02-12  Ben Maurer  <bmaurer@ximian.com>
1422         * Binder.cs (SelectProperty): Use -1 as the dummy `I don't know
1423         how many types' value.
1425 2005-02-11  Zoltan Varga  <vargaz@freemail.hu>
1427         * Assembly.cs: Fix warning.
1429 2005-02-10  Martin Baulig  <martin@ximian.com>
1431         * Module.cs (MonoDebugger_ResolveType): New internal method.
1433         * Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
1434         (MonoDebugger_GetTypeToken): New internal method.
1436 2005-02-10  Martin Baulig  <martin@ximian.com>
1438         * Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.
1440 2005-02-10  Marek Safar  <marek.safar@seznam.cz>
1442         * Assembly.cs,
1443         * ConstructorInfo.cs,
1444         * EventInfo.cs,
1445         * FieldInfo.cs,
1446         * MemberInfo.cs,
1447         * MethodBase.cs,
1448         * MethodInfo.cs,
1449         * PropertyInfo.cs: ClassInterfaceType is None.
1451 Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>
1453         * Module.cs: removed the finalizer and the now unused Close() icall.
1455 2005-01-21  Sebastien Pouliot  <sebastien@ximian.com>
1457         * Assembly.cs: Fixed add for ModuleResolve.
1459 2005-01-19  Zoltan Varga  <vargaz@freemail.hu>
1461         * LocalVariableInfo.cs: Add ToString method.
1463         * ExceptionHandlingClause.cs: Implement this.
1465 2005-01-18  Zoltan Varga  <vargaz@freemail.hu>
1467         * MethodBase.cs MonoMethod.cs: Hopefully fix the build.
1469         * MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().
1471 2005-01-03  Martin Baulig  <martin@ximian.com>
1473         * MonoGenericMethod.cs
1474         (MonoGenericMethod.get_reflected_type): Removed.
1475         (MonoGenericMethod.ReflectedType): Make this an icall.
1476         (MonoGenericCMethod.ReflectedType): Likewise.   
1478 2004-12-29  Martin Baulig  <martin@ximian.com>
1480         * MonoGenericMethod.cs: New file.
1482 2004-12-21  Sebastien Pouliot  <sebastien@ximian.com> 
1484         * Assembly.cs: Added private LoadAssemblyPermissions to get the 
1485         declarative security permission sets (minimum, optional and refused)
1486         for the assembly.
1488 2004-12-20  Sebastien Pouliot  <sebastien@ximian.com>
1490         * Assembly.cs: Removed old Demand support (moved in System.Security).
1492 2004-12-16  Zoltan Varga  <vargaz@freemail.hu>
1494         * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
1495         the gmcs bugs blocking them are fixed.
1497 2004-12-08  Zoltan Varga  <vargaz@freemail.hu>
1499         * Assembly.cs: Move corlib_internal field to AssemblyBuilder.
1501 2004-12-06  Zoltan Varga  <vargaz@freemail.hu>
1503         * Assembly.cs: Add corlib_internal field.
1505 2004-11-30  Martin Baulig  <martin@ximian.com>
1507         * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
1508         renamed the class from `MonoGenericInst' to `MonoGenericClass'.
1510 2004-11-05  Zoltan Varga  <vargaz@freemail.hu>
1512         * AssemblyName.cs (FullName): Omit default values from full name.
1514         * Assembly.cs: Implement GetFiles (bool).
1516         * Binder.cs: Add support for byref types. Fixes #69140.
1518 2004-10-12  Martin Baulig  <martin@ximian.com>
1520         * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
1521         before calling the *_internal() methods.
1523 2004-10-12  Zoltan Varga  <vargaz@freemail.hu>
1525         * MethodBody.cs: Implement this.
1527 2004-10-08  Zoltan Varga  <vargaz@freemail.hu>
1529         * Module.cs: Handle the case when the global type does not exists.
1531 2004-10-03  Zoltan Varga  <vargaz@freemail.hu>
1533         * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
1534         from this class.
1536 2004-09-28  Zoltan Varga  <vargaz@freemail.hu>
1538         * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].
1540         * PropertyInfo.cs: Add stub for GetConstantValue ().    
1542         * ParameterInfo.cs (marshalAs): Make this private.
1544         * Module.cs (ModuleHandle): Add [CLSCompliant(false)].
1546         * LocalVariableInfo.cs MethodBody.cs: Disable default constructor.
1548         * ExceptionHandlingClause.cs: Disable default constructor.
1550 2004-09-27  Zoltan Varga  <vargaz@freemail.hu>
1552         * CustomAttributeData.cs CustomAttributeTypedArgument.cs 
1553         CustomAttributeNamedArgument.cs: New files.
1555         * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
1556         ExceptionHandlingClauseFlags.cs: New files.
1558 2004-09-26  Zoltan Varga  <vargaz@freemail.hu>
1560         * FieldInfo.cs: Add support for returning MarshalAsAttribute.
1562         * ParameterInfo.cs: Add marshalAs field, add support for returning
1563         MarshalAsAttribute.
1565 2004-09-25  Zoltan Varga  <vargaz@freemail.hu>
1567         * Module.cs: Add new 2.0 GetMethods and GetFields methods.
1569         * ParameterInfo.cs: Add GetPseudoCustomAttributes () method.
1571 2004-09-24  Zoltan Varga  <vargaz@freemail.hu>
1573         * MonoField.cs: Add GetFieldOffset.
1575         * ObfuscationAttribute.cs: Add ApplyToMembers.
1577         * Assembly.cs: Add stub for ReflectionOnlyLoadFrom.
1578         
1579         * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.
1581         * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method.
1583         * AssemblyNameFlags.cs: Add LongevityUnspecified.
1585 2004-09-23  Zoltan Varga  <vargaz@freemail.hu>
1587         * Module.cs: Remove [MonoTODO] from ResolveMember.
1589         * MemberInfo.cs: Add 'Module' property.
1591         * AssemblyFlagsAttribute.cs: Add 2.0 stuff.
1593         * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
1594         to LoadWithPartialName on 2.0.
1596         * AssemblyNameFlags.cs: Add new 2.0 members.
1598         * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.
1600         * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.
1602         * EventInfo.cs: Fix 2.0 build.
1604         * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.
1606         * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.
1608 2004-09-22  Zoltan Varga  <vargaz@freemail.hu>
1610         * Module.cs: Implement net 2.0 ResolveXXX methods.
1612         * Module.cs (resolve_token_exception): Fix type of exception thrown.
1614 2004-09-21  Martin Baulig  <martin@ximian.com>
1616         * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.
1618 2004-09-20  Zoltan Varga  <vargaz@freemail.hu>
1620         * Assembly.cs: Implement 2.0 reflection properties.
1622         * Module.cs: Implement 2.0 reflection properties. Add 'token' field.
1624 2004-09-19  Zoltan Varga  <vargaz@freemail.hu>
1626         * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
1627         under 1.0.
1629         * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.
1631         * Module.cs: Add ModuleHandle property and new icalls.
1633 2004-09-18  Zoltan Varga  <vargaz@freemail.hu>
1635         * Module.cs: Add net 2.0 Mvid property.
1637 2004-08-30  Sebastien Pouliot  <sebastien@ximian.com>
1639         * Assembly.cs: Added internal Demand(PermissionSet) for CAS.
1641 2004-08-30  Zoltan Varga  <vargaz@freemail.hu>
1643         * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to
1644         icalls.
1646 2004-08-29  Zoltan Varga  <vargaz@freemail.hu>
1648         * MethodBase.cs (GetMethodFromHandle): Implement.
1650 2004-08-13  Marek Safar  <marek.safar@seznam.cz>
1652         * Assembly.cs: Made _minimum, _optional, _refuse fields internal.
1653         To be reusable by AssemblyBuilder.
1655 2004-08-09  Sebastien Pouliot  <sebastien@ximian.com>
1657         * Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0
1658         properties (required for compiling the new unit tests).
1659         * PortableExecutableKind.cs: New. Flags for NET_2_0.
1660         * ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0.
1662 2004-08-08  Sebastien Pouliot  <sebastien@ximian.com>
1664         * Assembly.cs: Get default evidences when no evidences have been 
1665         supplied. Added internal methods for CAS.
1666         * AssemblyName.cs: New constructor for NET_2_0.
1668 2004-08-05  Sebastien Pouliot  <sebastien@ximian.com>
1670         * Assembly.cs: Added new fields for CAS to match the runtime (v23).
1672 2004-07-29  Martin Baulig  <martin@ximian.com>
1674         * Module.cs (Mono_GetGuid): Make this static.
1676 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
1678         * Module.cs: return just name in ToString (bug #61287).
1680 2004-07-03  Zoltan Varga  <vargaz@freemail.hu>
1682         * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
1684 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
1686         * Pointer.cs: remove serializable attribute to match MS.NET
1688 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
1689         
1690         * ParameterModifier.cs: marked serializable, renamed field to match
1691         MS.NET, throw ArgumentException when parameter count is less than or
1692         equal to zero
1694 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
1696         * AssemblyName.cs: added TODO for serialization
1697         * Pointer.cs: fixed Box method to return object instead of 
1698         Pointer
1700 2004-06-15  Sebastien Pouliot  <sebastien@ximian.com>
1702         * MemberInfo.cs: Changed constructor from internal to protected.
1704 2004-06-11  Martin Baulig  <martin@ximian.com>
1706         * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
1708 2004-06-11  Lluis Sanchez  <lluis@ximian.com>
1710         * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match 
1711           MS implementation. Generate the RSA in the constructors.
1713 2004-06-10  Lluis Sanchez  <lluis@ximian.com>
1715         * AssemblyName.cs: Added missing fields to serialization methods.
1716         * StrongNameKeyPair.cs: Made it compatible with MS serialization.
1718 2004-06-08  Jacson Harper  <jackson@ximian.com>
1720         * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
1721         runtime. This way the codebase is set properly. The codebase is
1722         using g_filename_to_uri which expects a full path.
1723         
1724 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1726         * Binder.cs: don't crash when we have a 'null' argument Type array.
1727         Allow it for non-value types. Fixed for both, methods and properties.
1728         Closes bug #58846.
1730 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1732         * Binder.cs: default score must be lower than fail_score or we'll get
1733         an ambiguous match when no indexers given and one single match is found.
1735 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1737         * Binder.cs: removed ^Ms. In case of several properties matching, try
1738         to disambiguate based on the indexer types provider and the conversions
1739         from those into the ones of the property.
1741 2004-05-31  Gert Driesen <drieseng@users.sourceforge.net>
1743         * Assembly.cs: added missing ComVisible attribute on
1744         ImageRuntimeVersion property
1745         * ConstructorInfo.cs: added missing attributes on Invoke
1746         * EventInfo.cs: added missing attributes
1747         * FieldInfo.cs: added missing attributes
1748         * MethodBase.cs: added missing attributes
1749         * PropertyInfo.cs: added missing attributes
1751 2004-05-22  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>
1753         * FieldInfo.cs: changed default constructor from internal to protected, so classes
1754         that inherit from it can get build. 
1756 2004-05-18  Gert Driesen (drieseng@users.sourceforge.net)
1758         * MonoProperty.cs: return correct MethodInfo for 
1759         property with only a get or set method. Fixes
1760         bug #58661.
1762 2004-05-18  Sebastien Pouliot  <sebastien@ximian.com>
1764         * Assembly.cs: Return an empty Evidence collection to avoid 
1765         NullReferenceException from calling code (as this is never
1766         null with MS implementation). See bugzilla #53548.
1768 2004-05-14  Zoltan Varga  <vargaz@freemail.hu>
1770         * Assembly.cs: Add stub for LoadFrom.
1772         * Assembly.cs: Fix build.
1774 2004-05-13  Zoltan Varga  <vargaz@freemail.hu>
1776         * Assembly.cs: Add ModuleResolve event.
1778         * Module.cs (Mono_GetGuid): Make this internal.
1780         * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
1782 2004-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1784         * Binder.cs: check for ambiguous matches in SelectMethod and
1785         SelectProperty. Fixes bug #58381.
1787 2004-05-06  Jackson Harper <jackson@ximian.com>
1789         * Assembly.cs: remove TODO, this is done.
1790         
1791 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1793         * Assembly.cs: ToString () returns the same as GetName ().ToString ().
1794         Fixes bug #58104.
1796 2004-05-03  Jackson Harper  <jackson@ximian.com>
1798         * Assembly.cs: Implement LoadWithPartialName. The bulk of this
1799         method is done in the runtime.
1800         
1801 2004-04-29  Lluis Sanchez Gual  <lluis@ximian.com>
1803         * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
1804         is private (it did until now because of a bug). Make sure it works as it 
1805         worked before the fix.
1806         
1807 2004-04-27  Lluis Sanchez Gual  <lluis@ximian.com>
1809         * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs: 
1810           Removed completed     TODOs.
1811         * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
1812           do not return private methods if nonPublic == false.
1813         * ReflectionTypeLoadException.cs: Implemented serialization support.
1815 2004-04-26  Jackson Harper  <jackson@ximian.com>
1817         * Assembly.cs: Add icall to determine if an assembly has been
1818         loaded from the GAC.
1820 2004-04-23  Atsushi Enomoto  <atsushi@ximian.com>
1822         * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
1823           The fix should be easier ;)
1825 2004-04-23  Atsushi Enomoto  <atsushi@ximian.com>
1827         * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
1828           NET_2_0 related build fix.
1830 2004-04-19  Lluis Sanchez Gual  <lluis@ximian.com>
1832         * Assembly.cs: Removed TODO for CreateQualifiedName.
1833         * AssemblyName.cs: Fixed serialization code.
1834         * AssemblyNameProxy.cs: Implemented.
1835         * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
1837 2004-04-07  Martin Baulig  <martin@ximian.com>
1839         * MonoGenericInst.cs (MonoGenericParam): Removed.
1841 2004-04-07  Martin Baulig  <martin@ximian.com>
1843         * MethodBase.cs
1844         (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
1846         * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
1847         (MonoGenericInst.GetNestedTypes): Just call
1848         `generic_type.GetNestedTypes (bf)' here.
1850         * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
1851         include the type arguments.
1853 2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>
1855         * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
1856         correct StrongName instance when the ECMA "key" is used.
1858 2004-04-02  Martin Baulig  <martin@ximian.com>
1860         * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
1862 2004-04-01  Martin Baulig  <martin@ximian.com>
1864         * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
1865         this and always return false.
1867 2004-04-01  Martin Baulig  <martin@ximian.com>
1869         * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.    
1871 2004-03-30  Martin Baulig  <martin@ximian.com>
1873         * MonoGenericInst.cs
1874         (MonoGenericParam): Added `bool has_ctor_constraint' field.
1875         (MonoGenericParam.SetConstraints): Added `bool
1876         has_ctor_constraint' argument.  
1878 2004-03-29  Martin Baulig  <martin@ximian.com>
1880         * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
1881         virtual property.
1882         (MethodBase.HasGenericParameters): Use the "official" behavior
1883         here, ie. return false if we're not a generic method.
1885 2004-03-29  Martin Baulig  <martin@ximian.com>
1887         * MethodBase.cs: Moved the generics stuff here, made it virtual
1888         where neccessary and use the correct API.
1890 2004-03-24  Sebastien Pouliot  <sebastien@ximian.com>
1892         * StrongNameKeyPair.cs: Added an internal method to return a 
1893         StrongName object (for AssemblyBuilder). Simplified implementation 
1894         using Mono.Security.Cryptography.CryptoConvert class.
1896 2004-03-24  Zoltan Varga  <vargaz@freemail.hu>
1898         * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
1900 2004-03-23  Martin Baulig  <martin@ximian.com>
1902         * MonoGenericInst.cs: Added support for events.
1904 2004-03-23  Martin Baulig  <martin@ximian.com>
1906         * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
1907         if it's the empty string.
1909 2004-03-10  Martin Baulig  <martin@ximian.com>
1911         * MethodBase.cs (MethodBase): Implemented
1912         GetGenericMethodDefinition() and HasGenericParameters.
1914 2004-03-09  Martin Baulig  <martin@ximian.com>
1916         * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
1917         `declaring_type' and `reflected_type'.
1918         (MonoEvent): Distinguish between declaring and reflected type.
1920 2004-02-25  Martin Baulig  <martin@ximian.com>
1922         * MonoGenericInst.cs
1923         (MonoGenericInst.GetNestedTypes): Override this.
1925 2004-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1927         * Binder.cs:
1928         (SelectProperty): check the return Type if provided.
1930 2004-02-17  Martin Baulig  <martin@ximian.com>
1932         * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
1933         support for properties.
1935 2004-02-17  Martin Baulig  <martin@ximian.com>
1937         * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
1938         class hierarchy and return members from the parent classes.
1939         (GetConstructors, GetFields): Likewise.
1941 2004-02-17  Martin Baulig  <martin@ximian.com>
1943         * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
1944         all the members here; we only do this for members of the current
1945         class and only when they're actually queried for.
1947 2004-02-12  Martin Baulig  <martin@ximian.com>
1949         * MonoGenericInst.cs (MonoInflatedField): Removed.
1951         * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
1953 2004-02-08  Martin Baulig  <martin@ximian.com>
1955         * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
1956         invocations the `reflected' type as `reflected', not `this'.
1957         (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
1959 2004-02-08  Martin Baulig  <martin@ximian.com>
1961         * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
1962         (MonoGenericInst.GetInterfaces_internal): New interncall.
1963         (MonoGenericInst): Reflect latest API changes; use GetParentType()
1964         and GetInterfaces_internal() instead of the fields.     
1966 2004-02-06  Martin Baulig  <martin@ximian.com>
1968         * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
1970 2004-02-03  Martin Baulig  <martin@ximian.com>
1972         * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
1974 2004-01-25  Martin Baulig  <martin@ximian.com>
1976         * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
1978 2004-01-19  Zoltan Varga  <vargaz@freemail.hu>
1980         * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
1981         a reference on the Module object which contains the resource.
1983         * Module.cs: Decrease the image reference count when the Module is
1984         garbage collected.
1986 2004-01-16  Martin Baulig  <martin@ximian.com>
1988         * Assembly.cs: Make the `MonoDebugger_' methods static.
1990 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1992         * MonoProperty.cs: changed get_property_info so that it only gets the
1993         values needed. Reduces the allocations needed.
1995 2004-01-15  Martin Baulig  <martin@ximian.com>
1997         * Assembly.cs: Make the `MonoDebugger_' methods internal.
1999 2004-01-04  Nick Drochak <ndrochak@gol.com>
2001         * Assembly.cs: Removed unused variable in catch block.Eliminates a build
2002         warning.
2004 2003-12-29 Ben Maurer  <bmaurer@users.sourceforge.net>
2006         * MethodBase.cs: Internal method to get param count (this
2007         way we can get the info for the ilgen without creating
2008         an array, if we override the method).
2010 2003-12-18  Zoltan Varga  <vargaz@freemail.hu>
2012         * Assembly.cs: Implement LoadFrom.
2014 2003-12-17  Zoltan Varga  <vargaz@freemail.hu>
2016         * Assembly.cs: Add stubs for LoadFile.
2018 2003-12-16  Zoltan Varga  <vargaz@freemail.hu>
2020         * Assembly.cs (GetManifestResourceStream): Only load non-embedded
2021         resources from files.
2023 2003-12-15  Zoltan Varga  <vargaz@freemail.hu>
2025         * MonoField.cs (SetValue): Throw an exception if the value cannot be
2026         converted to the field's type. Fixes #52177.
2028 2003-12-11  Lluis Sanchez Gual <lluis@ximian.com>
2029         
2030         * AmbiguousMatchException.cs: Added serialization constructor.
2031         
2032 2003-12-08  Martin Baulig  <martin@ximian.com>
2034         * MonoGenericInst.cs (MonoGenericParam): New internal class;
2035         derives from MonoType.  
2037 2003-12-08  Patrik Torstensson <p@rxc.se>
2039         * Binder.cs: Added internal helpers to get derived level and select the 
2040         most derived methodbase (used in GetMethodImpl)
2042 2003-11-25  Zoltan Varga  <vargaz@freemail.hu>
2044         * Assembly.cs (LoadWithPartialName): Return null instead of throwing
2045         an exception to match MS behavior.
2047 2003-11-24  Zoltan Varga  <vargaz@freemail.hu>
2049         * MonoMethod.cs: Add missing constructor.
2051 2003-11-21  Zoltan Varga  <vargaz@freemail.hu>
2053         * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
2055 2003-11-16  Martin Baulig  <martin@ximian.com>
2057         * MonoGenericInst.cs (MonoGenericInst.inflate): Call
2058         `parent.inflate (parent,...)' instead of
2059         `parent.inflate (reflected,...)'.
2061 2003-11-16  Zoltan Varga  <vargaz@freemail.hu>
2063         * Assembly.cs (InternalGetAssemblyName): New icall.
2065         * AssemblyName.cs (GetAssemblyName): Implement this without loading
2066         the assembly in question. Fixes #51035.
2068 2003-11-14  Martin Baulig  <martin@ximian.com>
2070         * MonoGenericInst.cs (MonoGenericInst): Added
2071         `MonoGenericInst[] interfaces' field.  This is only used for
2072         interface types.
2073         (MonoGenericInst.inflate): If we're an interface type, add the
2074         methods from all interfaces we inherit.
2076 2003-11-14  Zoltan Varga  <vargaz@freemail.hu>
2078         * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values 
2079         from NET 1.1.
2080         
2081         * *.cs: Add missing attributes.
2083 2003-11-11  Todd Berman  <tberman@gentoo.org>
2085         * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
2087 2003-11-11  Zoltan Varga  <vargaz@freemail.hu>
2089         * MonoMethod.cs: Implement CallingConvention member.
2091 2003-11-10  Zoltan Varga  <vargaz@freemail.hu>
2093         * Assembly.cs (InternalGetType): Add a 'module' argument so this
2094         method can be used from Module as well.
2096         * Module.cs (GetType): Implement.
2098         * Module.cs (GetTypes): Implement.
2100         * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
2101 2003-11-08  Martin Baulig  <martin@ximian.com>
2103         * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
2104         a private `IntPtr ginst' field.
2105         (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
2107 2003-11-02  Martin Baulig  <martin@ximian.com>
2109         * MonoGenericInst.cs (MonoGenericInst.initialize): Include members
2110         from our parent classes in the `methods', `ctors' and `fields'
2111         arrays.  When inflating them, reflection now sets their
2112         `declaring_type' and `reflected_type' fields.
2113         (MonoInflatedMethod, MonoInflatedCtor): Added
2114         `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
2115         fields and override the `DeclaringType' and `ReflectedType' properties.
2117 2003-11-02  Martin Baulig  <martin@ximian.com>
2119         * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
2121 2003-10-31  Martin Baulig  <martin@ximian.com>
2123         * MonoGenericInst.cs (MonoInflatedField): New internal class.
2124         (MonoGenericInst.GetFields): Override this method and inflate
2125         the fields.
2127         * MonoField.cs: Don't make this class sealed.
2129 2003-10-30  Martin Baulig  <martin@ximian.com>
2131         * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
2132         internal classes.
2134 2003-10-25  Martin Baulig  <martin@ximian.com>
2136         * MonoGenericInst.cs: New internal class.
2138 2003-10-18  Martin Baulig  <martin@ximian.com>
2140         * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
2141         abstract; use an interncall in MonoMethod and a custom
2142         implementation in MethodBuilder.        
2144 2003-10-17  Pedro Martinez Julia  <yoros@wanadoo.es>
2146         * MonoEvent.cs: implement ToString method as in MS.NET.
2148         * MonoMethod.cs: fix some differences between mono and MS.NET
2149         implementation of ToString.
2151 2003-10-17  Zoltan Varga  <vargaz@freemail.hu>
2153         * AssemblyName.cs: Fix Version property when some version fields are
2154         undefined.
2156 2003-10-17  Martin Baulig  <martin@ximian.com>
2158         * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
2159         (MethodInfo.BindGenericParameters): New method.
2161 2003-10-16  Martin Baulig  <martin@ximian.com>
2163         * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
2164         property.       
2166 2003-08-08  Lluis Sanchez Gual  <lluis@ximian.com>
2168         * ParameterInfo.cs: Modified constructor of ParameterInfo for
2169           the return type of a method. Since parameter positions are
2170           zero-based, the position of the return type must be is -1.
2172 2003-08-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2174         * TargetInvocationException.cs: Fixed signature
2176 2003-07-24  Miguel de Icaza  <miguel@ximian.com>
2178         * TypeDelegator.cs: Added generics stubs.
2180 2003-07-21  Lluis Sanchez Gual  <lluis@ximian.com>
2182         * ParameterInfo.cs: Position is zero-based in ParameterInfo.
2183           Set the right position value when getting from ParameterBuilder.
2185 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
2187         * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
2188         finer-grained icalls. Requires a matching runtime.
2190 2003-07-11  Zoltan Varga  <vargaz@freemail.hu>
2192         * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
2194         * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
2196 2003-07-10  Zoltan Varga  <vargaz@freemail.hu>
2198         * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
2200 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
2202         * Pointer.cs: implemented.
2204 2003-06-15  Zoltan Varga  <vargaz@freemail.hu>
2206         * EventInfo.cs: Implement IsSpecialName.
2208 2003-06-10  Zoltan Varga  <vargaz@freemail.hu>
2210         * Module.cs (Mono_GetGuid): New method to return the GUID of the
2211         module.
2213 2003-05-21  Zoltan Varga  <vargaz@freemail.hu>
2215         * Module.cs: Implement GetField and its friends.
2217 2003-05-20  Zoltan Varga  <vargaz@freemail.hu>
2219         * Assembly.cs (GetManifestResourceStream): Moved handling of 
2220         linked resources into managed code using the newly implemented
2221         GetManifestResourceInfo () method.
2223 2003-05-19  Zoltan Varga  <vargaz@freemail.hu>
2225         * Module.cs: Implemented IsResource.
2227         * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
2228         GetModule, GetLoadedModules methods.
2229         * Assembly.cs (GetManifestResourceStream): Added support for 
2230         resources in extern assemblies.
2232 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2234         * Assembly.cs: fixed bug #42833.
2236 2003-05-11  Miguel de Icaza  <miguel@ximian.com>
2238         * Binder.cs (ChangeType): Very simplistic change.  Am not sure if
2239         it is correct, but it makes RemotingCorba move along a bit more
2240         (Remoting.Corba invokes Binder.ConvertArgs, which calls
2241         Binder.ChangeType with an Attribute [] to Object []).
2243 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2245         * Binder.cs:
2246         (check_type): fixed bug #41655.
2248 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2250         * Assembly.cs: implemented GetSatelliteAssembly.
2252 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
2254         * Assembly.cs: added GetNamespaces() icall.
2256 2003-03-17  Zoltan Varga  <vargaz@freemail.hu>
2258         * FieldInfo.cs (GetFieldFromHandle): Implemented.
2260 2003-03-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2262         * Assembly.cs: added missing stuff. Only ModuleResolve event is left
2263         out to avoid changing MonoReflectionAssembly by now.
2264         * ModuleResolveEventHandler.cs: delegate.
2266 2003-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2268         * TargetInvocationException.cs: added serialization ctor.
2270 2003-02-18  Martin Baulig  <martin@ximian.com>
2272         * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
2273         method's metadata token.
2275 2003-02-04  Sebastien Pouliot  <spouliot@videotron.ca>
2277         * Module.cs: Corrected indentation for class.
2279 2003-02-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2281         * Binder.cs:
2282         (check_type): return true when the target type is object and the source
2283         is a value type.
2285 2003-02-03 Patrik Torstensson
2287         * Binder.cs: minimize locking time in DefaultBinder.
2289 2003-02-01  Sebastien Pouliot  <spouliot@videotron.ca>
2291         * Module.cs: Oups - not implemented. Added MonoTODO to most methods
2292         so it's real status get reflected correctly on the web site.
2294 2003-01-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2296         * MonoMethod.cs: implemented GetBaseDefinition ().
2298 2003-01-28  Patrik Torstensson
2299         * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
2300         * ReflectionSerializationHolder.cs: Support class for serialization
2302 2003-01-17  Zoltan Varga  <vargaz@freemail.hu>
2304         * ParameterInfo.cs: modified constructor so it allows the 
2305         ParameterBuilder to be null and add a 'position' argument which will
2306         be used when pb is null.
2308 2003-01-16  Lluis Sanchez Gual <lsg@ctv.es>
2310         * Assembly.cs: added serialization support.
2312 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
2314         * MonoMethod.cs: propagate exceptions from the internal invoke
2315         code that need to be propagated.
2317 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
2319         * Binder.cs: throw an exception if the number of arguments 
2320         when invoking a method is incorrect.
2322 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
2324         * Binder.cs: In SelectMethod() look for an exact match first.
2326 2003-01-01  Rachel Hestilow <hestilow@ximian.com>
2328         * MonoField.cs (SetValue): Fix logic typo. Check that obj is
2329         non-null only for the non-static case.
2331 2002-12-30  Sebastien Pouliot <spouliot@videotron.ca>
2333         * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by 
2334         Zoltan).
2336 2002-12-23  Sebastien Pouliot <spouliot@videotron.ca>
2338         * AssemblyName.cs: GetPublicKey now return an empty array (not null)
2339         when an assembly isn't signed with a StrongName (to match MS 
2340         implementation) and null when no assembly is referenced. Also removed 
2341         commented code (no bug reported so it was probably not used).
2343 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
2345         * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
2346         provider for the return type of a method.
2348 2002-12-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2350         * AssemblyName.cs: little fix in FullName.
2352 2002-12-07  Sebastien Pouliot <spouliot@videotron.ca>
2354         * AssemblyName.cs: Added missing methods/interfaces. Fixed some
2355         code to match the MS Framework.
2356         * StrongNameKeyPair.cs: Completed the "visible" implementation.
2357         There must be some internal methods to allow signing with the key.
2359 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2361         * EventInfo.cs: implemented (Add|Remove)EventHandler.
2363 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
2365         * Assembly.cs: implemented GetManifestResourceStream (Type type,
2366         * String name).
2368 2002-11-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2370         * Assembly.cs: changed name of GetType (string, bool, bool) to
2371         InternalGetType.
2373 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2375         * TargetInvocationException.cs: modified default message.
2377 2002-10-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2379         * MonoProperty.cs:
2380         * PropertyInfo.cs: fixed bug #31535.
2382 2002-09-27  Martin Baulig  <martin@gnome.org>
2384         * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
2386 2002-09-24  Martin Baulig  <martin@gnome.org>
2388         * Assembly.cs (MonoDebugger_GetType): New method to get a Type
2389         from its metadata token.  This should only be used by the debugger.
2391 2002-09-21  Martin Baulig  <martin@gnome.org>
2393         * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
2394         get the type of a local variable from its signature.  This should only
2395         be used by the debugger.
2397 2002-09-20  Martin Baulig  <martin@gnome.org>
2399         * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
2400         from its metadata token.  This should only be used by the debugger.
2402 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
2404         * Binder.cs: more default binder implementation.
2406         * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
2407         * MonoMethod.cs: use the binder in the Invoke () implementation.
2408         Implemented custom attributes methods and ToString for constructors.
2410 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
2412         * Binder.cs: finished the Binder class and implemented the default
2413         binder.
2415 2002-09-03  Martin Baulig  <martin@gnome.org>
2417         * Assembly.cs (Assembly.Location): Implemented.
2419 2002-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2421         * MonoField.cs:
2422         (GetValue): allow obj to be null (used for static fields).
2424 2002-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2426         * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
2427         null.
2429 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
2431         * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen 
2432         <tomi.pakarinen@welho.com>.
2434 2002-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2436         * Assembly.cs: FullName now returns a proper string instead of
2437         something like 'file://...'.
2439         * AssemblyName.cs: added missing ToString method.
2441 2002-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2443         * FieldInfo.cs: implemented SetValue.
2445 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
2447         * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
2449 2002-08-14  Dick Porter  <dick@ximian.com>
2451         * Assembly.cs: Stub out GetSatelliteAssembly
2453 2002-08-12  Tim Coleman <tim@timcoleman.com>
2454         * MonoProperty.cs:
2455                 Allow multiple parameters for GetValue ()
2457 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
2459         * Assembly.cs: implemented GetFile() and GetFiles().
2461 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
2463         * Assembly.cs: implemented EntryPoint and a few 
2464         resource related methods.
2466 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
2468         * MethodBase.cs: implemented GetCurrentMethod.
2469         * Assembly.cs: implemented GetExecutingAssembly and
2470         GetCallingassembly.
2472 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
2474         * MonoProperty.cs: handle properties with only a set method.
2476 2002-05-24  Martin Baulig  <martin@gnome.org>
2478         * ParameterInfo.cs: Added internal constructor.
2480 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
2482         * Assembly.cs: implemented CreateInstance ().
2484 2002-05-22  Martin Baulig  <martin@gnome.org>
2486         * MethodBase.cs (get_next_table_index): Added `object obj' argument.
2488 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
2490         * EventInfo.cs: more implementation.
2492 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
2494         * MonoEvent.cs: fill-in the implementation.
2496 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
2498         * Assembly.cs, AssemblyName.cs: updates and fixes.
2500 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
2502         * MonoProperty.cs (GetValue) : basic implementation to support nunit
2503         * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
2505 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
2507         * MonoMethod.c: cache the method name.
2509 2002-04-12  Duncan Mak  <duncan@ximian.com>
2511         * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
2512         property.
2514         * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
2515         attribute.
2517         * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
2518         Version.
2520         * BindingFlags.cs: Added missing value "PutRefDispProperty".
2522         * FieldAttributes.cs: Removed value "HasSecurity".
2524         * ManifestResourceInfo.cs: Added missing properties FileName,
2525         ReferencedAssembly and ResourceLocation.
2527         * TargetInvocationException.cs: Added the missing constructors.
2529 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
2531         * MonoMethod.cs: make Name property an icall.
2533 2002-04-08  Nick Drochak  <ndrochak@gol.com>
2535         * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
2536         struct and interface.
2538 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
2540         * MonoEvent.cs: remove unused code.
2541         * MonoProperty: implement ToString().
2543 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
2545         * Assembly.cs: implement GetTypes() and GetExportedTypes().
2547 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
2549         * MonoEvent.cs: added the needed fields.
2551 2002-03-20  Martin Baulig  <martin@gnome.org>
2553         * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
2555         * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
2557 2002-03-14  Dietmar Maurer  <dietmar@ximian.com>
2559         * MonoMethod.cs (Invoke): call InternalInvoke
2561         * MethodBase.cs (Invoke): call virtual invoke function 
2563 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
2565         * EventInfo.cs: add compiler needed methods.
2566         * MonoMethod.cs: make ToString() return the return type name, too.
2568 2002-03-07  Nick Drochak  <ndrochak@gol.com>
2570         * BindingFlags.cs: Add missing enum values.  Thanks CorCompare.
2572 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
2574         * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
2576 2002-02-26  Duncan Mak  <duncan@ximian.com>
2578         * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
2580 2002-02-24 Nick Drochak  <ndrochak@gol.com>
2582         * AssemblyNameFlags.cs: Use proper member name.  Thanks corcompare!
2584 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
2586         * MonoField.cs: implement GetValue as an internalcall.
2587         Implemented ToString().
2589 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
2591         * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
2592         MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
2593         related methods.
2595 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
2597         * TypeAttributes.cs: update to latest spec.
2599 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
2601         * Assembly.cs: handle throwOnError in GetType() call.
2603 2002-02-07  Duncan Mak  <duncan@ximian.com>
2605         * AssemblyName.cs: Implemented ISerializable interface for the
2606         fields that we have.
2608 2002-02-05  Duncan Mak  <duncan@ximian.com>
2609         
2610         * Missing.cs: 
2611         * TargetException.cs: Added in CVS.
2613 2002-01-31  Duncan Mak  <duncan@ximian.com>
2615         * ReflectionTypeLoadException.cs: Added missing bits.
2617 2002-01-23  Duncan Mak  <duncan@ximian.com>
2619         * AssemblyAlgorithmIdAttribute.cs:
2620         * AssemblyCompanyAttribute.cs:
2621         * AssemblyConfigurationAttribute.cs:
2622         * AssemblyCopyrightAttribute.cs:
2623         * AssemblyCultureAttribute.cs:
2624         * AssemblyDefaultAliasAttribute.cs:
2625         * AssemblyDelaySignAttribute.cs:
2626         * AssemblyDescriptionAttribute.cs:
2627         * AssemblyFileVersionAttribute.cs:
2628         * AssemblyFlagsAttribute.cs:
2629         * AssemblyInformationalVersionAttribute.cs:
2630         * AssemblyKeyFileAttribute.cs:
2631         * AssemblyKeyNameAttribute.cs:
2632         * AssemblyNameProxy.cs:
2633         * AssemblyProductAttribute.cs:
2634         * AssemblyTitleAttribute.cs:
2635         * AssemblyTradeMarkAttribute.cs:
2636         * AssemblyVersionAttribute.cs:
2637         * CustomAttributeFormatException.cs:
2638         * InvalidFilterCriteriaException.cs:
2639         * TargetParameterCountException.cs: Added.
2641 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
2643         * Assembly.cs (Assembly.CodeBase): Implement.
2644         (Assembly.FullName): simplistic and broken implementation.  Gets
2645         us where we were yesterday.
2647         Code style fix.
2649 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
2651         * IReflect.cs: corrected GetMember() return type.
2652         * InterfaceMapping.cs, TypeDelegator.cs: implemented.
2654 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
2656         * MonoMethod.cs: ToString () implementation.
2658 2002-01-04  Ravi Pratap  <ravi@ximian.com>
2660         * Assembly.cs : Decorate missing bits with the MonoTODO
2661         attribute.
2663         * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
2664         ReflectionTypeLoadException.cs : Ditto.
2666         * FieldInfo.cs : Ditto.
2667         
2668 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
2669         
2670         * Assembly.cs: trow unimplemented exceptions.
2672 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
2674         * MonoMethod.cs: implemented GetParameters().
2675         * MonoProperty.cs: PropertyInfo implementation.
2676         * ParameterInfo.cs: implemented.
2677         * PropertyInfo.cs: fixes.
2679 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
2681         * FieldInfo.cs: implemented some Is* propeties.
2682         * MethodBase.cs: fixed attribute accessors.
2683         * MonoField.cs: runtime object to represent a field.
2684         * MonoMethod.cs: runtime object to represent a method.
2685         * AssemblyBuilder.cs: GetToken() methods to get tokens for
2686         strings, fields, methods...
2687         * ILGenerator.cs: handle tokens for methods.
2689 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
2691         * MethodBase.cs: add internal get_next_table_index() for use in
2692         Reflection.Emit.
2694 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
2696         * Assembly.cs: implement some of the Load() methods.
2697         * ConstructorInfo.cs: some missing stubs and fields.
2698         * FieldInfo.cs: IsInitOnly property.
2699         * ParameterInfo.cs: stubs for missing properties.
2700         * ParameterModifier.cs: implemented class.
2702 2001-11-10  Sean MacIsaac  <macisaac@ximian.com>
2704         * Assembly.cs: Filled in some stub implementations
2706         * ConstructorInfo.cs: Added some stub functions for NUnit
2708 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
2710         * AmbiguousMatchException.cs, 
2711         * Assembly.cs, Module.cs: updates.
2712         * FieldInfo.cs: better compliance to the spec.
2713         * MethodBase.cs: move call_conv out of the way.
2714         * AssemblyBuilder.cs:  don't use internalcalls, more stuff supported.
2715         * FieldBuilder.cs: implemented.
2716         * ILGenerator.cs: implemented some opcode handling.
2717         * Label.cs: add constructor.
2718         * LocalBuilder.cs: implemented.
2719         * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
2720         * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
2721         * ParameterBuilder.cs: implemented.
2722         * PropertyBuilder.cs: implemented.
2723         * TypeBuilder.cs: don't use internalcalls, more stuff working.
2725 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
2727         * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
2729 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
2731         * MethodBase.cs, MethodInfo.cs: added.
2733 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
2735         * Assembly.cs: added stub code.
2737 2001-07-18  Michael Lambert <michaellambert@email.com>
2739         * BindingFlags.cs: Add.