2009-12-02 Jb Evain <jbevain@novell.com>
[mcs.git] / class / corlib / System.Reflection / ChangeLog
blobb58cb64c6c4dfed07bcc180b83ef289ea003226b
1 2009-12-02  Jb Evain  <jbevain@novell.com>
3         * Assembly.cs: disable warning about Assembly overriding
4         Equals but not GetHashCode. That's sadly how it's in .net.
6 2009-12-02  Jb Evain  <jbevain@novell.com>
8         * MethodInfo.cs: add an internal virtual GetBaseMethod
9         returning the immediate predecessor in the inheritance chain.
10         * MonoMethod.cs: modify the get_base_definition icall to take
11         a boolean indicating that we want the immediate base method
12         or the original method definition and rename it to
13         get_base_method. Implement GetBaseMethod with it.
15 2009-11-21  Miguel de Icaza  <miguel@novell.com>
17         * Assembly.cs: Implement missing method.
19 2009-11-03  Marek Habersack  <mhabersack@novell.com>
21         * Assembly.cs: GetSatelliteAssembly must catch
22         AppDomain.LoadSatellite FileNotFoundException and attempt to load
23         satellites from subdirectories of current assembly's
24         directory. Fixes bug #548768
26 2009-10-30  Sebastien Pouliot  <sebastien@ximian.com>
28         * MonoMethod.cs: Remove CAS check in MonoCMethod.Invoke (just 
29         like it was done for MonoMethod.Invoke sister method)
31 2009-10-26  Sebastien Pouliot  <sebastien@ximian.com>
33         * Assembly.cs: Share code between GetSatelliteAssembly and 
34         GetSatelliteAssemblyNoThrow. For Moonlight ensure both 
35         GetManifestResourceStream and GetSatelliteAssembly don't load
36         anything "below" the assembly path.
38 2009-10-20  Sebastien Pouliot  <sebastien@ximian.com>
40         * MonoProperty.cs: Reduce code duplication and the number of direct
41         calls to icalls (affecting the number of SecuritySafeCritical in
42         Moonlight)
44 2009-10-19  Sebastien Pouliot  <sebastien@ximian.com>
46         * MonoEvent.cs: Reduce code duplication and the number of direct
47         calls to icalls (affecting the number of SecuritySafeCritical in
48         Moonlight)
50 2009-10-18  Sebastien Pouliot  <sebastien@ximian.com>
52         * MethodBase.cs: Reduce code duplication and the number of direct
53         calls to icalls (affecting the number of SecuritySafeCritical in
54         Moonlight)
56 2009-10-17  Sebastien Pouliot  <sebastien@ximian.com>
58         * MonoMethod.cs: Reduce code duplication and the number of direct
59         calls to icalls (affecting the number of SecuritySafeCritical in
60         Moonlight)
62 2009-09-22  Sebastien Pouliot  <sebastien@ximian.com>
64         * Assembly.cs: Remove Evidence and GlobalAssemblyCache 
65         properties for NET_2_1
67 2009-09-19  Sebastien Pouliot  <sebastien@ximian.com>
69         * TargetException.cs, TargetInvocationException.cs,
70         TargetParameterCountException.cs: Inherit from Exception for 
71         NET_2_1 since ApplicationException does not exists
73 2009-09-18  Sebastien Pouliot  <sebastien@ximian.com>
75         * Assembly.cs, Module.cs: Avoid imperative CAS checks for NET_2_1
77 2009-08-18  Zoltan Varga  <vargaz@gmail.com>
79         * MonoGenericClass.cs: Use StringComparison.Ordinal when calling
80         String.EndsWith ().
82 2009-08-07 Rodrigo Kumpera  <rkumpera@novell.com>
84         * MonoGenericClass.cs: Implement almost all methods required
85         to move to inherit from System.Type. The only missing methods
86         are Is(Array|Pointer|ByRef)Impl and GetElementType since the
87         runtime still generates weird instances for generics instances
88         of non-SRE types with SRE types as generic arguments.
90 2009-08-06 Rodrigo Kumpera  <rkumpera@novell.com>
92         * MonoGenericClass.cs (InflateType): Add support to inflate
93         generic method arguments.
95         * MonoGenericClass.cs (GetMethod): Remove restriction
96         with generic methods.
98 2009-08-05 Rodrigo Kumpera  <rkumpera@novell.com>
100         * MonoGenericClass.cs (FullName): mcs depends that FullName
101         doesn't return null for instantiations over generic params
102         of type builders. We special case this under compiler context.
104 2009-08-05 Rodrigo Kumpera  <rkumpera@novell.com>
106         * MonoGenericClass.cs: Remove Is(Array|Pointer|ByRef)Impl
107         and GetElementType since the runtime still produces instances
108         of MonoGenericClass for those types.
110 2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
112         * MonoGenericClass.cs: Implement more methods from MonoType.
113         Done with all type name related properties.
115 2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
117         * MonoGenericClass.cs: Implement Is*Impl methods to simply
118         return false.
120 2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
122         * MonoGenericClass.cs: Implement Make(Array,ByRef,Pointer) using the
123         new managed types.
125 2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
127         * MonoGenericClass.cs (InflateType): Implement it in terms of managed
128         code and kill the corresponding icall.
130 2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
132         * MonoGenericClass.cs: Add type_arguments field and constructor
133         that initializes it.
135 2009-08-03 Rodrigo Kumpera  <rkumpera@novell.com>
137         * MonoGenericClass.cs (initialize): Remember the number
138         of events available at initialization time. This is required as
139         mcs expect this behavior under compiler context that new events
140         are not returned for an instance that was inflated before.
142         * MonoGenericClass.cs: Kill GetEvents_internal and implement it
143         in terms of managed code.
145 2009-07-30  Zoltan Varga  <vargaz@gmail.com>
147         * FieldInfo.cs: Throw an exception if internal_from_handle_type ()
148         returns null. Fixes #525733.
150 2009-07-29 Rodrigo Kumpera  <rkumpera@novell.com>
152         * MonoGenericClass.cs (initialize): Call TypeBuilder::GetConstructorsInternal
153         since the public version throws.
155 2008-07-29  Marek Safar  <marek.safar@gmail.com>
157         * MonoGenericClass.cs: Removed one IsCompilerContext hack.
159 2009-07-27 Rodrigo Kumpera  <rkumpera@novell.com>
161         * Assembly.cs (GetType): Throw if name is empty.
163 2009-07-27 Rodrigo Kumpera  <rkumpera@novell.com>
165         * EventInfo (RemoveEventHandler): Throw InvalidOperationException if the
166         event remove method is not visible.
168 2009-07-27 Rodrigo Kumpera  <rkumpera@novell.com>
170         * EventInfo (AddEventHandler): Throw TargetException if target is not cast
171         compatible.
173         * EventInfo (AddEventHandler): Throw InvalidOperationException if the
174         event add method is not visible.
176         * EventInfo (AddEventHandler): Throw TargetException if source is null
177         and the event is not static.
179 2009-07-24 Rodrigo Kumpera  <rkumpera@novell.com>
181         * MonoGenericClass.cs (GetParentType): Implement using managed code.
183 2009-07-24 Rodrigo Kumpera  <rkumpera@novell.com>
185         * MonoGenericClass.cs: Make all icalls private. Kill GetInterfaces_internal.
186         Add a workaround for a GetField under compiler context.
188 2009-07-24 Rodrigo Kumpera  <rkumpera@novell.com>
190         * MonoGenericClass.cs (GetMethod): Use the new code always. Don't
191         accept MethodOnTypeBuilderInst under compiler context.
193         * MonoGenericClass.cs (GetField): Use the new code always.
195         * MonoGenericClass.cs: Make a bunch of methods raise NotSupportedException
196         when not under compiler context. Remove some dead code.
198 2009-07-23 Rodrigo Kumpera  <rkumpera@novell.com>
200         * MonoGenericClass.cs: Kill GetConstructors_internal and implement it
201         all in terms of managed code.
203         * MonoGenericClass.cs: Return instances of ConstructorOnTypeBuilderInst
204         under bootstrap profile.
206 2009-07-23 Rodrigo Kumpera  <rkumpera@novell.com>
208         * MonoGenericClass.cs: Kill GetFields_internal and implement it
209         all in terms of managed code.
211 2009-07-23 Rodrigo Kumpera  <rkumpera@novell.com>
213         * MonoGenericClass.cs: Kill GetMethods_internal and implement it
214         all in terms of managed code.
216 2009-07-22 Rodrigo Kumpera  <rkumpera@novell.com>
218         * MonoGenericClass.cs: Kill GetProperties_internal and implement it
219         all in terms of managed code.
221 2009-07-12  Gert Driesen  <drieseng@users.sourceforge.net>
223         * Binder.cs: Only allow a type to match its byref version for
224         BindToMethod (and not for SelectMethod).
226 2009-07-11  Zoltan Varga  <vargaz@gmail.com>
228         * Binder.cs: Allow conversion of IntPtr to pointer types.
230 2009-07-10  Zoltan Varga  <vargaz@gmail.com>
232         * Binder.cs (check_arguments): Allow a type to match its byref version.
233         Fixes #520690.
235 2009-06-12  Zoltan Varga  <vargaz@gmail.com>
237         * ParameterInfo.cs (DefaultValue): Add support for decimals, their default
238         value is encoded using a custom attribute.
240 2009-05-02  Sebastien Pouliot  <sebastien@ximian.com>
242         * Assembly.cs: Exclude CAS-specific code for NET_2_1
244 2009-04-30  Sebastien Pouliot  <sebastien@ximian.com>
246         * Module.cs: Exclude GetSignerCertificate (Authenticode related) 
247         from NET_2_1
248         * StrongNameKeyPair.cs: Adapt to work with only RSAManaged when 
249         built for NET_2_1, i.e. remove use of RSACryptoServiceProvider
251 2009-03-26  Zoltan Varga  <vargaz@gmail.com>
253         * MonoMethod.cs: Add a 'member' argument to the get_parameter_info () icall.
255 2009-03-03  Matthew Metnetsky  <matthew@cowarthill.com>
257         * MonoMethod.cs: within Invoke only change types if BindingFlags.ExactBinding isn't set
259         * MonoMethod.cs: within Invoke ensure arg types match ParameterInfo types before
260         calling InvokeInternal
262 2009-03-20  Sebastien Pouliot  <sebastien@ximian.com>
264         * EventInfo.cs, MonoProperty.cs: Ensure the delegate optimization 
265         works correctly, i.e. throw the right exception, with Moonlight.
267 2009-03-11  Zoltan Varga  <vargaz@gmail.com>
269         * Binder.cs: Allow conversions from T to T?. Fixes #484294.
271 2008-03-02  Rodrigo Kumpera  <rkumpera@novell.com>
273         * EventInfo.cs: Apply similar trick to the one in MonoProperty to speed up
274         AddEventHandler.
276 2008-02-28  Rodrigo Kumpera  <rkumpera@novell.com>
278         * MonoProperty.cs (GetValue): Don't use the delegate optimization for valuetypes.
280 2008-02-26  Rodrigo Kumpera  <rkumpera@novell.com>
282         * MonoProperty.cs (GetValue): Optimize getters for properties without arguments.
284 2008-02-26  Rodrigo Kumpera  <rkumpera@novell.com>
286         * MonoProperty.cs (GetValue): Optimize getters for properties without arguments.
287         The optimization is to create a pair of chained delegates that duplicate the workings
288         on MethodBase::Invoke without all the aditional overhead and without doing two
289         managed/native transitions.
291         Simple Getter performance is up to 17x faster.
293         This patch reduces contention on domain and domain jit code hash locks, which
294         can be very hot on asp.net applications.
296 2008-02-21  Jb Evain  <jbevain@novell.com>
298         * Module.cs: add a new virtual GetModuleVersionId method,
299         and make the properties .MvId and ModuleVersionId call it.
300         This way, we can override it in ModuleBuilder.
301         Part of the fix for #471302.
303 2008-02-03  Rodrigo Kumpera  <rkumpera@novell.com>
305         * MonoMethod.cs: Fix the 1.1 build.
307 2008-02-02  Rodrigo Kumpera  <rkumpera@novell.com>
309         * MonoMethod.cs (ToString): Fix the representation of non primitive structs.
311 2008-02-02  Rodrigo Kumpera  <rkumpera@novell.com>
313         * MonoMethod.cs (ToString): Fix representation of pointer types.
315         Fixes #409583.
317 2009-01-24  Zoltan Varga  <vargaz@gmail.com>
319         * MonoGenericClass.cs: Fix warnings.
321 2009-01-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
323         * Assembly.cs: add new LoadSatelliteAssemblyNoThrow method and use the
324         new LoadSatellite() in AppDomain.
326 2009-01-09  Zoltan Varga  <vargaz@gmail.com>
328         * CustomAttributeData.cs (ToString): Applied patch from Leszek Ciesielski
329         <skolima@gmail.com>. Use DeclaringType.FullName instead of DeclaringType.Name.
330         Fixes #464830.
332 2008-11-17  Rodrigo Kumpera  <rkumpera@novell.com>
334         * MonoField.cs (GetValue): Don't check for open generic types if the field
335         is a constant.
337 2008-11-11  Rodrigo Kumpera  <rkumpera@novell.com>
339         * Module.cs (ResolveMethod): Use internal method 
340         GetMethodFromHandleNoGenericCheck to avoid the generic type
341         limitation of GetMethodFromHandle.
343         Fixes #443763.
345 2008-10-02 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
347         * MonoMethod.cs: throw a MemberAccessException when
348         trying to invoke a constructor creating an instance of an abstract
349         class. Return null when an instance of an object was passed as a
350         parameter when invoking a .ctor. Fixes bug #324185.
352 2008-09-07  Zoltan Varga  <vargaz@gmail.com>
354         * MonoField.cs: Add check to GetValue/SetValue () to avoid crashes when it is
355         called on fields of open types. Fixes #424077.
357 2008-08-12  Gert Driesen  <drieseng@users.sourceforge.net>
359         * ReflectionSerializationHolder.cs: Removed.
360         * common.src: Removed.
362 2008-08-04  Atsushi Enomoto  <atsushi@ximian.com>
364         * Assembly.cs : return UnmanagedMemoryStream from 
365           GetManifestResourceStream(). Fixed bug #322241.
367 2008-07-30  Rodrigo Kumpera  <rkumpera@novell.com>
369         * MonoGenericClass.cs (InflateType): Guard against null types.
370         Fixes #412965.
372 2008-07-23  Marek Safar  <marek.safar@gmail.com>
374         * MethodBase.cs (GetMethodFromHandle): Needed for bootraping.
376 2008-07-22  Rodrigo Kumpera  <rkumpera@novell.com>
378         * MonoGenericClass.cs (GetMethod): Under compiler mode allow
379         MethodOnTypeBuilderInst to be used..
381 2008-07-17  Rodrigo Kumpera  <rkumpera@novell.com>
383         * MonoGenericClass.cs (GetMethod): Revert to old code
384         path as the new one broke System.Core.
386 2008-07-16  Rodrigo Kumpera  <rkumpera@novell.com>
388         * MonoGenericClass.cs (GetMethod): Use the new codepath for compiler
389         context.
391         * MonoGenericClass.cs: New InflateType method, used to inflate
392         managed types.
394 2008-07-11  Marek Safar  <marek.safar@gmail.com>
396         * MonoGenericClass.cs (GetField): Put back removed code.
398 2008-07-04  Rodrigo Kumpera  <rkumpera@novell.com>
400         * MethodBase.cs (GetMethodFromHandle): Fix a warning in
401         the 1.0 build.
403 2008-07-04  Rodrigo Kumpera  <rkumpera@n ovell.com>
405         * MethodBase.cs (GetMethodFromHandle): Extract an internal version
406         of this function that doesn't perform the generic class check.
407         This method is required to fix the Delegate regression that fixing
408         #377324 caused.
410 2008-06-25  Rodrigo Kumpera  <rkumpera@n ovell.com>
412         * MethodBase.cs (GetMethodFromHandle): Check if the icall returns null
413         and fail. This is part of the fix for #377324.
415 2008-06-19  Marek Safar  <marek.safar@gmail.com>
417         * MonoGenericClass.cs (GetConstructor): Put back removed code due to obscure
418         System.Reflection.MonoGenericCMethod.
420 2008-06-19  Kornel Pal  <kornelpal@gmail.com>
422         * Module.cs: Add internal GetHINSTANCE.
424 2008-06-02  Ivan N. Zlatev  <contact@i-nz.net>
426         * Binder.cs, MonoGenericClass.cs: For property reflection we should 
427         strictly match the return type if available.
429 2008-05-16  Zoltan Varga  <vargaz@gmail.com>
431         * MonoGenericClass.cs (GetConstructor): Remove some old code, as the new code
432         seems to work fine.
433         (GetField): Ditto.
435 2008-05-05  Zoltan Varga  <vargaz@gmail.com>
437         * FieldInfo.cs (GetFieldFromHandle): Add an argument check for an invalid handle.
439         * MethodBase.cs (GetMethodFromHandle): Ditto. Fixes #386641.
441 2008-04-30  Gert Driesen  <drieseng@users.sourceforge.net>
443         * ParameterInfo.cs: Name must default to null if no ParameterBuilder
444         is supplied.
446 2008-04-22  Zoltan Varga  <vargaz@gmail.com>
448         * MonoGenericClass.cs (GetMethod): Construct a MethodOnTypeBuilderInst object
449         instead of using GetCorrespondingInflatedMethod. This is needed so this class can
450         reflect the changes made to the builder after initialize () has been called.
451         Fixes #381547 and #354759.
452         (GetConstructor): Ditto.
454 2008-04-16  Zoltan Varga  <vargaz@gmail.com>
456         * Binder.cs: Applied patch from Yves Bastide (doc.formatique@gmail.com). Add 
457         support for converting integers to enums. Fixes #380361.
459 ?2008-04-02  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
461         * IReflect.cs
462         * MethodInfo.cs: Fix parameter names
464 2008-03-31  Mark Probst  <mark.probst@gmail.com>
466         * MonoMethod.cs: Don't do CAS security checks in Invoke for 2.1
467         profile.
469 2008-03-25  Zoltan Varga  <vargaz@gmail.com>
471         * MonoCMethod.cs (Invoke): Avoid a crash if this is called on a ctor of an open
472         generic type. Fixes #373459.
473         
474         * MonoMethod.cs (InternalInvoke): Add an out 'exc' argument used to distinguish
475         exceptions thrown by the icall from the exceptions thrown by the wrapped method.
476         Fixes #373448.
478 2008-03-17  Marek Safar  <marek.safar@gmail.com>
480         * MonoMethod.cs (ToString): Print VarArgs argument.
482 2008-03-14  Zoltan Varga  <vargaz@gmail.com>
484         * MonoGenericClass.cs (GetField): Construct a FieldOnTypeBuilderInst object
485         instead of using GetCorrespondingInflatedField. This is needed so this class can
486         reflect the changes made to the type builder after initialize () has been called.
488         * Binder.cs (ChangeType): Add support for Char->Double/Single conversations. Fixes
489         #367655.
491 2008-03-10  Gert Driesen  <drieseng@users.sourceforge.net>
493         * Assembly.cs (GetFile): Fixed exception messages and param name.
495 2008-03-06  Zoltan Varga  <vargaz@gmail.com>
497         * Assembly.cs: Define GetManifestModule () for net 2.0 bootstrap as well.
499 2008-02-26  Ivan N. Zlatev  <contact@i-nz.net>
501         * MonoProperty.cs: MS ignores the inherit parameter and defaults to false
502         for GetCustomAttributes.
503         [Fixes bugs #324472 and #322464]
505 2008-02-20  Zoltan Varga  <vargaz@gmail.com>
507         * AssemblyName.cs (ReferenceMatchesDefinition): Add error checking and some 
508         simple cases required by ikvm.
510 2008-02-18  Zoltan Varga  <vargaz@gmail.com>
512         * CustomAttributeTypedArgument.cs (.ctor): Convert arrays into a collection of
513         CustomAttributeTypedArguments to match MS.
515 2008-02-10  Gert Driesen  <drieseng@users.sourceforge.net>
517         * Assembly.cs: Use icall for ToString/FullName. Fixes bug #318231.
519 2008-02-02  Gert Driesen  <drieseng@users.sourceforge.net>
521         * MonoMethod.cs (MakeGenericMethod): Modified argument name to match
522         MS. When one of the types is null, throw ArgumentNullException instead
523         of ArgumentException.
524         * MethodInfo.cs (MakeGenericMethod): Modified argument name to match
525         MS.
527 2008-01-29  Zoltan Varga  <vargaz@gmail.com>
529         * Assembly.cs: Make GetTypes () virtual so it can be overriden by AssemblyBuilder.
530         
531         * Assembly.cs: Make GetModulesInternal () virtual so it can be overriden by
532         AssemblyBuilder.
534 2008-01-22  Zoltan Varga  <vargaz@gmail.com>
536         * MonoGenericClass.cs: Make this NET 2.0 only.
537         
538         * MonoGenericClass.cs (Initialize): Simplify this a bit and add comments for this
539         class.
541 2008-01-20  Gert Driesen  <drieseng@users.sourceforge.net>
543         * AssemblyName.cs: Added support for Retargetable spec in FullName.
545 2008-01-17  Zoltan Varga  <vargaz@gmail.com>
547         * Assembly.cs AssemblyFlagsAttribute.cs ICustomAttributeProvider.cs
548         MemberInfo.cs FieldInfo.cs DefaultMemberAttribute.cs 
549         CustomAttributeNamedArgument.cs TargetException.cs MethodInfo.cs
550         IReflect.cs CustomAttributeTypedArgument.cs Module.cs: Change some parameter
551         names to match MS.
553 2008-01-15  Jb Evain  <jbevain@novell.com>
555         * MonoMethod.cs (MakeGenericMethod): check for null values
556         in the types arguments. Fixes #353849.
558 2008-01-06  Sebastien Pouliot  <sebastien@ximian.com>
560         * Assembly.cs: Fix typo in setter found with Gendarme (was used in a
561         single place, AppDomain, and set to true so it never caused a problem)
563 2008-01-04  Gert Driesen  <drieseng@users.sourceforge.net>
565         * AssemblyName.cs: Fixed default value for ProcessorArchitecture to
566         match MS. On 2.0 profile, return zero-length in FullName is no name
567         is set, and throw a SecurityException in FullName and GetPublicKeyToken
568         if a public key is set with no corresponding public key token. 
569         Fixed FullName to also include PublicKeyToken spec with "null" value
570         if public key is empty byte array. Fixed corlib part of bug #351057.
571         In SetPublicKey, modify Flags accordingly. On the 2.0 profile, verify
572         the public key when the public key token is computed.
574 2007-12-26  Zoltan Varga  <vargaz@gmail.com>
576         * Assembly.cs (GetSatelliteAssembly): Search in the assembly directory as well.
577         Fixes ##345627.
579 2007-12-03  Zoltan Varga  <vargaz@gmail.com>
581         * MonoField.cs: Implement GetRawConstantValue ().
583 2007-11-24  Marek Habersack  <mhabersack@novell.com>
585         * CustomAttributeTypedArgument.cs: value can be null in ToString.
587 2007-11-16  Zoltan Varga  <vargaz@gmail.com>
589         * Assembly.cs (GetFiles): Include the assembly itself as the first entry.
591 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
593         * AssemblyName.cs : remove extraneous MonoTODO.
595 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
597         * ExceptionHandlingClause.cs : implemented ToString().
599 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
601         * MethodBase.cs : (Invoke) removed extra interface implementation.
603 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
605         * StrongNameKeyPair.cs : implemented 2.0 runtime serialization stuff.
607 2007-11-05  Mark Probst  <mark.probst@gmail.com>
609         * Binder.cs: Treat matches with different argument types as
610         ambiguous, too.  Fixes #324998.
612 2007-11-01  Zoltan Varga  <vargaz@gmail.com>
614         * Binder.cs: Avoid returning a method with a ParamArray attribute when a normal
615         method exists. Fixes #338266.
617 2007-10-30  Zoltan Varga  <vargaz@gmail.com>
619         * Binder.cs: Applied patch from Mario A Chavez <mario.chavez@gmail.com>. Add
620         support for binding to methods with ParamArray attribute. Fixes #336841.
622 2007-10-27  Zoltan Varga  <vargaz@gmail.com>
624         * MonoGenericClass.cs: Override GetPropertyImpl too.
626 2007-10-24  Atsushi Enomoto  <atsushi@ximian.com>
628         * Assembly.cs : include ReflectionOnlyLoad() as part of 2.0
629           bootstrap build.
631 2007-09-23  Zoltan Varga  <vargaz@gmail.com>
633         * Assembly.cs (GetManifestModule): New virtual method overridden by 
634         AssemblyBuilder.
636 2007-09-17  Gert Driesen  <drieseng@users.sourceforge.net>
638         * Assembly.cs: In GetManifestResourceStream, throw ANE with type as
639         paramname when both name and type are null. Use String.Length to check
640         for zero-length string.
642 2007-09-11  Mark Probst  <mark.probst@gmail.com>
644         * MonoMethod.cs: Catch and re-throw MethodAccessException from
645         InternalInvoke for CoreCLR security.
647 Thu Sep 6 19:49:34 CEST 2007 Paolo Molaro <lupus@ximian.com>
649         * MonoMethod.cs: name is used as a cache: provide an icall to get the
650         name from the runtime.
652 2007-08-23  Robert Jordan  <robertj@gmx.net>
654         * MemberInfoSerializationHolder.cs: created from
655         ReflectionSerializationHolder to match MS (fixes bug #80761).
656         Add support for fields, events, properties and generic methods.
658         * MonoMethod.cs (GetObjectData): handle generic arguments.
660         * MonoGenericMethod.cs: mark as [Serializable].
662         * MonoProperty.cs (GetObjectData): implemented.
664         * MonoField.cs: ditto.
666         * MonoEvent.cs: ditto.
668 2007-07-19  Atsushi Enomoto  <atsushi@ximian.com>
670         * MonoMethod.cs : parameter types should be fixed as well.
672 2007-07-19  Atsushi Enomoto  <atsushi@ximian.com>
674         * MonoMethod.cs : ToString() did not show correct return type when
675           it is generic.
677 2007-07-15  Zoltan Varga  <vargaz@gmail.com>
679         * FieldInfo.cs: Implement GetOptional/RequiredCustomModifiers ().
681         * MethodInfo.cs: Remove an unneccesary MonoTODO.
683         * Module.cs: Implement ResolveSignature.
685 2007-07-14  Zoltan Varga  <vargaz@gmail.com>
687         * Module.cs: Implement the generic versions of the ResolveXXX methods.
689 2007-07-10  Zoltan Varga  <vargaz@gmail.com>
691         * Module.cs: Add new internal method GetMDStreamVersion ().
693 2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>
695         * CustomAttributeNamedArgument.cs, CustomAttributeTypedArgument.cs:
696           added missing operator == and !=.
698 2007-07-04  Atsushi Enomoto  <atsushi@ximian.com>
700         * CustomAttributeNamedArgument.cs CustomAttributeTypedArgument.cs
701           CustomAttributeData.cs : implemented Equals() and GetHashCode().
702         * Missing.cs : ISerializable.
703         * AssemblyName.cs : ReferenceMatchesDefinition() stub.
704         * Module.cs : missing method stubs with generic type/method args.
705         * ExceptionHandlingClause.cs : ToString() stub.
706         * MethodBase.cs TypeDelegator.cs ModuleResolveEventHandler.cs
707           TypeFilter.cs MemberFilter.cs
708           FieldInfo.cs ParameterInfo.cs MethodInfo.cs :
709           miscellaneous cosmetic API fixes.
711 Tue May 8 13:04:35 CEST 2007 Paolo Molaro <lupus@ximian.com>
713         * FieldInfo.cs, MethodBase.cs: implemented new GetFieldFromHandle and
714         GetMethodFromHandle overloads (bug #78637).
716 2007-05-07  Zoltan Varga  <vargaz@gmail.com>
718         * MonoMethod.cs (Invoke): Fix a warning.
719         
720         * MonoMethod.cs (Invoke): Don't wrap ThreadAbortException inside a 
721         TargetInvocationException on the 2.0 profile. Fixes #81538.
723 2007-04-09  Alp Toker  <alp@atoker.com>
725         * MonoMethod.cs: Use StringBuilder for the entire ToString() methods
726         to reduce allocations and increase performance.
728 2007-04-09  Alp Toker  <alp@atoker.com>
730         * MonoMethod.cs: Use StringBuilder for parms in ToString() methods.
732 2007-04-09  Alp Toker  <alp@atoker.com>
734         * MethodBase.cs: IsGenericMethodDefinition() and IsGenericMethod()
735         should return false, not throw NotSupportedException. This matches MS
736         behaviour and introduces simplifications in subclasses.
737         * MonoMethod.cs: MonoCMethod: Remove redundant overrides.
739 2007-03-05  Peter Dettman <peter.dettman@iinet.net.au>
741         * Binder.cs: The patch changes Binder.Default.GetBetterMethod to
742         prefer methods in subclasses if the arg types can't disambiguate
743         them.
745         Also fixes a typo in the CallingConventions comparison.
747 2007-03-01  Alp Toker  <alp@atoker.com>
749         * FieldInfo.cs:
750         Add GetFieldFromHandle() 2.0 overload stub (NotImplemented).
752 2007-03-01  Alp Toker  <alp@atoker.com>
754         * MethodBase.cs: Add missing ComVisible attr.
755         Add GetMethodFromHandle() 2.0 overload stub (NotImplemented).
757 2006-12-30  Marek Safar  <marek.safar@gmail.com>
759         * MonoProperty.cs: Cache frequently used properties.
761 Thu Dec 14 13:50:48 CET 2006 Paolo Molaro <lupus@ximian.com>
763         * *.cs: added missing Serializable attributes.
765 Thu Dec 14 12:52:27 CET 2006 Paolo Molaro <lupus@ximian.com>
767         * MonoProperty.cs, ParameterInfo.cs, PropertyInfo.cs:
768         GetRequiredCustomModifiers()/GetOptionalCustomModifiers()
769         implementations.
771 Tue Dec 12 20:35:10 CET 2006 Paolo Molaro <lupus@ximian.com>
773         * MethodBase.cs: added missing ComVisible attr.
774         * MethodInfo.cs: added a few missing methods that we implement
775         in derived classes.
777 Tue Dec 12 19:45:26 CET 2006 Paolo Molaro <lupus@ximian.com>
779         * MonoEvent.cs: correctly obey the nonPublic flag in GetOtherMethods ().
780         * EventInfo.cs: remove NotImpl exception from GetOtherMethods ().
782 2006-10-19  Gert Driesen  <drieseng@users.sourceforge.net>
784         * AssemblyName.cs: Revert change where filename was not converted to
785         absolute path before passing it to Assembly.InternalGetAssemblyName
786         as the CodeBase is not set in that case.
788 2006-10-17  Kornel Pal  <kornelpal@gmail.com>
790         * FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a
791           NotSupportedException is the proper implementation.
792         * ParameterInfo.cs: Use Attributes in Is... properties on profile 2.0
793           that is expected by subclasses.
795 2006-10-14  Gert Driesen  <drieseng@users.sourceforge.net>
797         * AssemblyName.cs: No need to convert filename to absolute path before
798         passing it to Assembly.InternalGetAssemblyName. This allows our
799         exception messages to be better match those of MS.
801 2006-09-29  Jb Evain  <jbevain@gmail.com>
803         * MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.
805 2006-09-02  Zoltan Varga  <vargaz@gmail.com>
807         * ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from 
808         Peter Dettman (peter.dettman@iinet.net.au). Implement ReturnParameter
809         property.
811         * Binder.cs (ReorderParameters): Really fix this.
812         
813         * Binder.cs (ReorderParameters): Fix this method. Fixes #79120.
815 2006-09-01  Raja R Harinath  <rharinath@novell.com>
817         * MonoMethod.cs (ToString): Update to handle change in byref type names.
819 2006-08-08  Gert Driesen  <drieseng@users.sourceforge.net>
821         * Assembly.cs: On 2.0 profile, throw FileNotFoundException for
822         linked resources in GetManifestResourceStream when assembly is
823         loaded from byte array.
825 2006-07-12  Zoltan Varga  <vargaz@gmail.com>
827         * MonoMethod.cs (ContainsGenericParameters): Implement.
828         
829         * MonoMethod.cs (Invoke): Prevent invoking of open generic methods.
831 2006-07-09  Gert Driesen  <drieseng@users.sourceforge.net>
833         * Assembly.cs: When assembly is loaded from byte array, return null
834         for linked resources in GetManifestResourceStream. Fixes bug #78468.
836 2006-07-09  Zoltan Varga  <vargaz@gmail.com>
838         * Binder.cs: Add back the support for BindingFlags.ExactBinding. Fixes #78592.
840 2006-06-30  Zoltan Varga  <vargaz@gmail.com>
842         * Binder.cs: Comment out the ExactBinding stuff for the release as it breaks some 
843         gtk# apps.
845 2006-06-07  Zoltan Varga  <vargaz@gmail.com>
847         * Binder.cs: Add support for BindingFlags.ExactBinding. Fixes #78592.
849 2006-05-28  Gert Driesen  <drieseng@users.sourceforge.net>
851         * MethodBase.cs: GetMethodBody should not throw ArgumentException for
852         a method with no IL body. Fixes bug #78522.
854 2006-05-10  Zoltan Varga  <vargaz@gmail.com>
856         * Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
858 2006-05-08  Atsushi Enomoto  <atsushi@ximian.com>
860         * Binder.cs : (Default.SelectMethod)
861           don't throw AmbiguousMatchException when one of conflicting method
862           matches weakly. Fixed bug #42547.
864 2006-05-08  Atsushi Enomoto  <atsushi@ximian.com>
866         * Binder.cs : (Default.BindToMethod) reorder parameters based
867           on namedParameters. Fixed bug #41691.
869 2006-05-03  Jb Evain  <jbevain@gmail.com>
871         * MonoField.cs (GetValue,SetValue): throw a TargetException
872         when the field is non static and the target is null.
874 2006-03-12  Zoltan Varga  <vargaz@gmail.com>
876         * Binder.cs: Applied patch from Ben to fix #74947.
878 2006-03-01  Miguel de Icaza  <miguel@novell.com>
880         * Assembly.cs: Cache the AssemblyName, patch from Tambet.  This
881         reduces the memory usage during remoting.
883 2006-02-16  Martin Baulig  <martin@ximian.com>
885         * FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.
887 2006-02-15  Martin Baulig  <martin@ximian.com>
889         * MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
890         (MethodBase.Mono_IsInflatedMethod): Removed.
891         (MethodBase.HasGenericParameters): Removed.
893         * MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
894         here from MethodBase.
896         * MonoMethod.cs
897         (MonoMethod.IsGenericMethodDefinition): This is now an icall.
898         (MonoMethod.IsGenericMethod): Likewise.
900 2006-02-14  Martin Baulig  <martin@ximian.com>
902         * MonoMethod.cs
903         (MonoCMethod.IsGenericMethod): Override this and return false; the
904         MS runtime doesn't throw an exception here.
906 2006-02-08  Martin Baulig  <martin@ximian.com>
908         * MonoGenericClass.cs (MonoGenericClass.IsAssignableFrom):
909         Override and implement this; fixes #77395.      
911 2006-02-07  Martin Baulig  <martin@ximian.com>
913         * MonoMethod.cs
914         (MonoMethod.IsGenericMethod): Only return true for "real" generic
915         methods and not for arbitrary instantiated methods.
916         (MonoMethod.IsGenericMethodDefinition): Only return true for
917         generic method definitions, but not for instantiated generic
918         methods.  This is no longer an interncall.  Fixes #77466.
920 2006-02-03  Zoltan Varga  <vargaz@gmail.com>
922         * MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
923         Fixes #77460.
925 2005-12-23  Sebastien Pouliot  <sebastien@ximian.com>
927         * Assembly.cs: Fixed #75950. The icall has been changed to accept a 
928         boolean so it can return a non-escaped code base.
930 2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>
932         * MonoMethod.cs : made MakeGenericMethod() indirect icall to
933           MakeGenericMethod_impl() and raise an error when it returns null.
935 2005-11-15  Zoltan Varga  <vargaz@gmail.com>
937         * Module.cs: Add MDStreamVersion property.
939         * Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs 
940         CustomAttributeData.cs PortableExecutableKinds.cs 
941         ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
942         updates.
944 2005-11-11  Marek Safar  <marek.safar@seznam.cz>
946         * MethodBase.cs, TypeDelegator.cs: Reflect Type changes.
948 2005-10-30  Zoltan Varga  <vargaz@freemail.hu>
950         * FieldInfo.cs: Add an internal UMarshal property which can by
951         overriden in FieldBuilder.
953 2005-10-26  Atsushi Enomoto  <atsushi@ximian.com>
955         * MonoMethod.cs : (ToString) add suffix " ByRef" for byref parameters.
956           Fixed bug #76541.
958 2005-10-04  Martin Baulig  <martin@ximian.com>
960         * MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
961         return type from `MonoGenericClass to `Type'.
963 2005-09-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>
965         * AssemblyName.cs: Add ParseName internal call, to parse
966         long format assembly names. 
967         
968 2005-09-25  Sebastien Pouliot  <sebastien@ximian.com>
970         * MonoProperty.cs: Invoke throws a SecurityException but GetValue must
971         throw TargetInvocationException with the SecurityException as an inner
972         exception. See CAS unit tests for System.Web.dll.
974 2005-09-20  Martin Baulig  <martin@ximian.com>
976         * Assembly.cs: Removed some unused debugger icalls.
978 2005-09-17  Zoltan Varga  <vargaz@freemail.hu>
980         * Module.cs: Remove obsolete Mvid property.
982 2005-09-09  Martin Baulig  <martin@ximian.com>
984         Reflect latest API changes in the August CTP.
986         * MethodBase.cs (MethodBase.MakeGenericMethod): Removed.
988         * MethodInfo.cs (MethodInfo.MakeGenericMethod): Added here.
990 2005-09-08  Sebastien Pouliot  <sebastien@ximian.com>
992         * AssemblyName.cs: Apply second half of Chris Micacchi's patch
994 2005-09-07  Miguel de Icaza  <miguel@novell.com>
996         * AssemblyName.cs: Apply patch from Chris Micacchi to serialize
997         the keyToken as "_PublicKeyToken".
999 2005-09-05  Martin Baulig  <martin@ximian.com>
1001         Reflect latest API changes in the August CTP.
1003         * GenericParameterAttributes.cs: Here.
1005         * MethodBase.cs (MethodBase.BindGenericParameters): Renamed to
1006         MakeGenericMethod().    
1008 2005-09-05  Martin Baulig  <martin@ximian.com>
1010         * Assembly.cs (MonoDebugger_GetMethodToken): Don't take an
1011         `Assembly' argument.
1013 2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1015         * Assembly.cs: made GetManifestResourceInternal internal. Fixes the
1016         build.
1018 2005-08-05  Gert Driesen <drieseng@users.sourceforge.net>
1020         * Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
1021         * ConstructorInfo.cs: Added GetType() method in 1.1 to match
1022         MS.NET, implemented _ConstructorInfo.
1023         * EventInfo.cs: Added GetType() method in 1.1 to match MS.NET,
1024         implemented _EventInfo.
1025         * FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET,
1026         implemented _FieldInfo.
1027         * MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET,
1028         implemented _MemberInfo.
1029         * MethodBase.cs: Added GetType() method in 1.1 to match MS.NET,
1030         implemented _MethodBase.
1031         * MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET,
1032         implemented _MethodInfo.
1033         * PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET,
1034         implemented _PropertyInfo.
1035         * TypeAttributes.cs: CustomFormatMask and CustomFormatClass should
1036         only be exposed in 2.0 profile.
1038 2005-07-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>
1040         * CustomAttributeTypedArgument: Return the name of the
1041         enum if the type is an enum in ToString ().
1042         
1043 2005-06-21  Sebastien Pouliot  <sebastien@ximian.com>
1045         * Assembly.cs: Create a copy of the evidences and add an instance of 
1046         PermissionRequestEvidence to it before resolution. This way the PRE
1047         won't be present when asking for evidences later. Removed debugging 
1048         code.
1050 2005-06-13  Michal Moskal <malekith@nemerle.org>
1051         
1052         * MonoGenericClass.cs: Don't use MethodHandle in GetMethod/GetConstructor,
1053         since it now throws on MethodBuilders. Don't use FieldHandle in
1054         GetField (throws on FieldBuilder) - just use the name.
1056 2005-06-15  Sebastien Pouliot  <sebastien@ximian.com>
1058         * Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
1059         FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
1060         ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
1061         attributes that were added in 1.1 SP1 or 2.0 beta2.
1063 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1065         * Binder.cs: null is ok for a value type. Fixes bug #75241.
1067 2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>
1069         * Assembly.cs: UnprotectedGetName is now virtual to allow for more
1070         initialization in AssemblyBuilder. The [Granted|Refused]PermissionSet
1071         now use the ResolvingPolicyLevel to support the policy 
1072         FullTrustAssemblies during resolution.
1073         * AssemblyName.cs: Return null instead of "new byte [0]" if no public
1074         key is available.
1076 2005-06-09  Kamil Skalski <nazgul@nemerle.org>
1077         * MonoGenericClass.cs: Add overrides of Get{Method,Constructor,Field} 
1078         for obtaining instanciated *Info objects from non-instanciated counterparts
1081 2005-06-09  Zoltan Varga  <vargaz@freemail.hu>
1083         * CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.
1085         * *.cs: Updates for net 2.0 beta 2.
1087 2005-06-07  Zoltan Varga  <vargaz@freemail.hu>
1089         * *.cs: Updates for net 2.0 beta 2.
1091 2005-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
1093         * CustomAttributeData.cs: Implemented.
1095         * CustomAttributeDataNamedArgument.cs: Implemented.
1097         * CustomAttrbuteDataTypedArgument.cs: Implemented.
1098         
1099 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
1101         * Assembly.cs ExceptionHandlingClause.cs: Fix build.
1103         * ProcessorArchitecture.cs: New file.
1105         * ExceptionHandlingClause.cs: Update after ExceptionHandlingClauseFlags name change.
1107         * *.cs: Updates for net 2.0 beta 2.
1109         * *.cs: Add net 2.0 ComVisibleAttribute.
1111 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1113         * Assembly.cs: if the assembly is loaded from a byte array, Location
1114         returns "". Fixes bug #74958.
1116 2005-06-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>
1118         * AssemblyName.cs: Changes to support the creation of version
1119         instance from icalls. This change also helps to keep the
1120         AssemblyName tests running fine.
1121         
1122 2005-05-26  Ben Maurer  <bmaurer@ximian.com>
1124         * Binder.cs: Avoid double checked locking and lock on typeof by
1125         doing init of the default binder in the cctor.
1127 2005-05-25  Zoltan Varga  <vargaz@freemail.hu>
1129         * Assembly.cs: Avoid security checks if Assembly.Location is "".
1131 2005-05-20  Zoltan Varga  <vargaz@freemail.hu>
1133         * TypeDelegator.cs: Implement some methods.
1134         
1135         * TypeDelegator.cs: Revert this as it breaks the build.
1137         * TypeDelegator.cs: Implement some methods.
1139 2005-05-19  Satya Sudha K  <ksathyasudha@novell.com>
1140             Raja R Harinath  <rharinath@novell.com>
1142         * Missing.cs (Missing.Value): Initialize.
1144 2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
1146         * Binder.cs: Use IsInstanceOfType instead of IsAssignableFrom
1147         since GetType() may not return the correct type if the object is
1148         a remoting proxy. This fixes bug #74933.
1150 2005-05-13  Zoltan Varga  <vargaz@freemail.hu>
1152         * MonoField.cs: Applied patch from Opened by Michael Meeks (michael@ximian.com). Improve exception message on binding failures.
1154 2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>
1156         * MonoField.cs: Added a Clone method. This is needed for serialization.
1158 2005-05-07  Ben Maurer  <bmaurer@ximian.com>
1160         * MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.
1162 2005-05-06  Zoltan Varga  <vargaz@freemail.hu>
1164         * Module.cs: Update for beta 2.
1166         * CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.
1168 2004-05-03  Lluis Sanchez  <lluis@ximian.com>
1170         * Assembly.cs: Don't remove version and culture information from
1171         the name, since it will be used by load_with_partial_name.
1173 2005-04-14  Sebastien Pouliot  <sebastien@ximian.com>
1175         * Assembly.cs: Added some CAS security to avoid returning restricted
1176         information to partially truster callers (e.g. code base). Added new
1177         methods to get the Evidence and AssemblyName so that the security
1178         runtime can bootstrap itself (without calling itself).
1180 2005-04-14  Sebastien Pouliot  <sebastien@ximian.com>
1182         * Assembly.cs: Added missing null check in GetObjectData.
1184 2005-04-04  Sebastien Pouliot  <sebastien@ximian.com>
1186         * AssemblyName.cs: Added a demand for SerializationFormatter on
1187         GetObjectData method.
1189 2005-04-04  Sebastien Pouliot  <sebastien@ximian.com> 
1191         * AssemblyName.cs: Implemented EscapedCodeBase using the copy of 
1192         System.Uri (System.dll) located in Mono.Security.Uri. Added missing
1193         null check in GetObjectData.
1194         * Module.cs: Added a FileIOPermission for PathDiscovery on 
1195         FullyQualifiedName property (but not on Name property like MS).
1196         Added missing null check in GetObjectData.
1197         * StrongNameKeyPair.cs: Added demands for unmanaged code to all
1198         constructors (as we do not want partially trusted code to create
1199         strongnamed assemblies).
1201 2005-03-30  Zoltan Varga  <vargaz@freemail.hu>
1203         * Binder.cs (check_type): Fix byref support. Fixes #73972.
1205 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
1207         * MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class.
1208         * Module.cs: Add a LinkDemand for SerializationFormatter on 
1209         GetObjectData method.
1211 2005-03-16  Sebastien Pouliot  <sebastien@ximian.com>
1213         * Assembly.cs: Implemented EscapedCodeBase using the copy of 
1214         System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.
1216 2005-03-11  Sebastien Pouliot  <sebastien@ximian.com>
1218         * MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand 
1219         (i.e. stack walk) when reflection is being used to invoke a method.
1221 2005-02-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>
1223         * Assembly.cs: LoadFrom: Change signature to support reflection only
1224         methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
1225         implemented; InvalidOperationException's re-thrown by CreateInstance.
1226         Also ReflectionOnly 2.0 property added.
1228         * MonoMethod.cs: InvalidOperationException's are re-thrown when calling 
1229         Invoke method on reflection only assemblies.
1230         
1231 2005-02-22  Raja R Harinath  <rharinath@novell.com>
1233         * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
1234         'abstract' so that this class can be derived outside of corlib.
1236 2005-02-16  Miguel de Icaza  <miguel@novell.com>
1238         * MonoEvent.cs: Put new methods here.
1240         * EventInfo.cs: Move the methods GetCustomAttributes, and
1241         IsDefined from EventInfo to MonoEvent.
1243         Remove the methods that were not supposed to be exposed: Name,
1244         ReflectedType, DeclaringType.
1246 2005-02-12  Chris Toshok  <toshok@ximian.com>
1248         * Assembly.cs: Correct the type of MonoDebugger_MakeArrayType.
1250 2005-02-12  Ben Maurer  <bmaurer@ximian.com>
1252         * Binder.cs (SelectProperty): Use -1 as the dummy `I don't know
1253         how many types' value.
1255 2005-02-11  Zoltan Varga  <vargaz@freemail.hu>
1257         * Assembly.cs: Fix warning.
1259 2005-02-10  Martin Baulig  <martin@ximian.com>
1261         * Module.cs (MonoDebugger_ResolveType): New internal method.
1263         * Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
1264         (MonoDebugger_GetTypeToken): New internal method.
1266 2005-02-10  Martin Baulig  <martin@ximian.com>
1268         * Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.
1270 2005-02-10  Marek Safar  <marek.safar@seznam.cz>
1272         * Assembly.cs,
1273         * ConstructorInfo.cs,
1274         * EventInfo.cs,
1275         * FieldInfo.cs,
1276         * MemberInfo.cs,
1277         * MethodBase.cs,
1278         * MethodInfo.cs,
1279         * PropertyInfo.cs: ClassInterfaceType is None.
1281 Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>
1283         * Module.cs: removed the finalizer and the now unused Close() icall.
1285 2005-01-21  Sebastien Pouliot  <sebastien@ximian.com>
1287         * Assembly.cs: Fixed add for ModuleResolve.
1289 2005-01-19  Zoltan Varga  <vargaz@freemail.hu>
1291         * LocalVariableInfo.cs: Add ToString method.
1293         * ExceptionHandlingClause.cs: Implement this.
1295 2005-01-18  Zoltan Varga  <vargaz@freemail.hu>
1297         * MethodBase.cs MonoMethod.cs: Hopefully fix the build.
1299         * MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().
1301 2005-01-03  Martin Baulig  <martin@ximian.com>
1303         * MonoGenericMethod.cs
1304         (MonoGenericMethod.get_reflected_type): Removed.
1305         (MonoGenericMethod.ReflectedType): Make this an icall.
1306         (MonoGenericCMethod.ReflectedType): Likewise.   
1308 2004-12-29  Martin Baulig  <martin@ximian.com>
1310         * MonoGenericMethod.cs: New file.
1312 2004-12-21  Sebastien Pouliot  <sebastien@ximian.com> 
1314         * Assembly.cs: Added private LoadAssemblyPermissions to get the 
1315         declarative security permission sets (minimum, optional and refused)
1316         for the assembly.
1318 2004-12-20  Sebastien Pouliot  <sebastien@ximian.com>
1320         * Assembly.cs: Removed old Demand support (moved in System.Security).
1322 2004-12-16  Zoltan Varga  <vargaz@freemail.hu>
1324         * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
1325         the gmcs bugs blocking them are fixed.
1327 2004-12-08  Zoltan Varga  <vargaz@freemail.hu>
1329         * Assembly.cs: Move corlib_internal field to AssemblyBuilder.
1331 2004-12-06  Zoltan Varga  <vargaz@freemail.hu>
1333         * Assembly.cs: Add corlib_internal field.
1335 2004-11-30  Martin Baulig  <martin@ximian.com>
1337         * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
1338         renamed the class from `MonoGenericInst' to `MonoGenericClass'.
1340 2004-11-05  Zoltan Varga  <vargaz@freemail.hu>
1342         * AssemblyName.cs (FullName): Omit default values from full name.
1344         * Assembly.cs: Implement GetFiles (bool).
1346         * Binder.cs: Add support for byref types. Fixes #69140.
1348 2004-10-12  Martin Baulig  <martin@ximian.com>
1350         * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
1351         before calling the *_internal() methods.
1353 2004-10-12  Zoltan Varga  <vargaz@freemail.hu>
1355         * MethodBody.cs: Implement this.
1357 2004-10-08  Zoltan Varga  <vargaz@freemail.hu>
1359         * Module.cs: Handle the case when the global type does not exists.
1361 2004-10-03  Zoltan Varga  <vargaz@freemail.hu>
1363         * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
1364         from this class.
1366 2004-09-28  Zoltan Varga  <vargaz@freemail.hu>
1368         * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].
1370         * PropertyInfo.cs: Add stub for GetConstantValue ().    
1372         * ParameterInfo.cs (marshalAs): Make this private.
1374         * Module.cs (ModuleHandle): Add [CLSCompliant(false)].
1376         * LocalVariableInfo.cs MethodBody.cs: Disable default constructor.
1378         * ExceptionHandlingClause.cs: Disable default constructor.
1380 2004-09-27  Zoltan Varga  <vargaz@freemail.hu>
1382         * CustomAttributeData.cs CustomAttributeTypedArgument.cs 
1383         CustomAttributeNamedArgument.cs: New files.
1385         * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
1386         ExceptionHandlingClauseFlags.cs: New files.
1388 2004-09-26  Zoltan Varga  <vargaz@freemail.hu>
1390         * FieldInfo.cs: Add support for returning MarshalAsAttribute.
1392         * ParameterInfo.cs: Add marshalAs field, add support for returning
1393         MarshalAsAttribute.
1395 2004-09-25  Zoltan Varga  <vargaz@freemail.hu>
1397         * Module.cs: Add new 2.0 GetMethods and GetFields methods.
1399         * ParameterInfo.cs: Add GetPseudoCustomAttributes () method.
1401 2004-09-24  Zoltan Varga  <vargaz@freemail.hu>
1403         * MonoField.cs: Add GetFieldOffset.
1405         * ObfuscationAttribute.cs: Add ApplyToMembers.
1407         * Assembly.cs: Add stub for ReflectionOnlyLoadFrom.
1408         
1409         * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.
1411         * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method.
1413         * AssemblyNameFlags.cs: Add LongevityUnspecified.
1415 2004-09-23  Zoltan Varga  <vargaz@freemail.hu>
1417         * Module.cs: Remove [MonoTODO] from ResolveMember.
1419         * MemberInfo.cs: Add 'Module' property.
1421         * AssemblyFlagsAttribute.cs: Add 2.0 stuff.
1423         * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
1424         to LoadWithPartialName on 2.0.
1426         * AssemblyNameFlags.cs: Add new 2.0 members.
1428         * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.
1430         * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.
1432         * EventInfo.cs: Fix 2.0 build.
1434         * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.
1436         * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.
1438 2004-09-22  Zoltan Varga  <vargaz@freemail.hu>
1440         * Module.cs: Implement net 2.0 ResolveXXX methods.
1442         * Module.cs (resolve_token_exception): Fix type of exception thrown.
1444 2004-09-21  Martin Baulig  <martin@ximian.com>
1446         * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.
1448 2004-09-20  Zoltan Varga  <vargaz@freemail.hu>
1450         * Assembly.cs: Implement 2.0 reflection properties.
1452         * Module.cs: Implement 2.0 reflection properties. Add 'token' field.
1454 2004-09-19  Zoltan Varga  <vargaz@freemail.hu>
1456         * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
1457         under 1.0.
1459         * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.
1461         * Module.cs: Add ModuleHandle property and new icalls.
1463 2004-09-18  Zoltan Varga  <vargaz@freemail.hu>
1465         * Module.cs: Add net 2.0 Mvid property.
1467 2004-08-30  Sebastien Pouliot  <sebastien@ximian.com>
1469         * Assembly.cs: Added internal Demand(PermissionSet) for CAS.
1471 2004-08-30  Zoltan Varga  <vargaz@freemail.hu>
1473         * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to
1474         icalls.
1476 2004-08-29  Zoltan Varga  <vargaz@freemail.hu>
1478         * MethodBase.cs (GetMethodFromHandle): Implement.
1480 2004-08-13  Marek Safar  <marek.safar@seznam.cz>
1482         * Assembly.cs: Made _minimum, _optional, _refuse fields internal.
1483         To be reusable by AssemblyBuilder.
1485 2004-08-09  Sebastien Pouliot  <sebastien@ximian.com>
1487         * Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0
1488         properties (required for compiling the new unit tests).
1489         * PortableExecutableKind.cs: New. Flags for NET_2_0.
1490         * ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0.
1492 2004-08-08  Sebastien Pouliot  <sebastien@ximian.com>
1494         * Assembly.cs: Get default evidences when no evidences have been 
1495         supplied. Added internal methods for CAS.
1496         * AssemblyName.cs: New constructor for NET_2_0.
1498 2004-08-05  Sebastien Pouliot  <sebastien@ximian.com>
1500         * Assembly.cs: Added new fields for CAS to match the runtime (v23).
1502 2004-07-29  Martin Baulig  <martin@ximian.com>
1504         * Module.cs (Mono_GetGuid): Make this static.
1506 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
1508         * Module.cs: return just name in ToString (bug #61287).
1510 2004-07-03  Zoltan Varga  <vargaz@freemail.hu>
1512         * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
1514 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
1516         * Pointer.cs: remove serializable attribute to match MS.NET
1518 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
1519         
1520         * ParameterModifier.cs: marked serializable, renamed field to match
1521         MS.NET, throw ArgumentException when parameter count is less than or
1522         equal to zero
1524 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
1526         * AssemblyName.cs: added TODO for serialization
1527         * Pointer.cs: fixed Box method to return object instead of 
1528         Pointer
1530 2004-06-15  Sebastien Pouliot  <sebastien@ximian.com>
1532         * MemberInfo.cs: Changed constructor from internal to protected.
1534 2004-06-11  Martin Baulig  <martin@ximian.com>
1536         * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
1538 2004-06-11  Lluis Sanchez  <lluis@ximian.com>
1540         * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match 
1541           MS implementation. Generate the RSA in the constructors.
1543 2004-06-10  Lluis Sanchez  <lluis@ximian.com>
1545         * AssemblyName.cs: Added missing fields to serialization methods.
1546         * StrongNameKeyPair.cs: Made it compatible with MS serialization.
1548 2004-06-08  Jacson Harper  <jackson@ximian.com>
1550         * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
1551         runtime. This way the codebase is set properly. The codebase is
1552         using g_filename_to_uri which expects a full path.
1553         
1554 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1556         * Binder.cs: don't crash when we have a 'null' argument Type array.
1557         Allow it for non-value types. Fixed for both, methods and properties.
1558         Closes bug #58846.
1560 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1562         * Binder.cs: default score must be lower than fail_score or we'll get
1563         an ambiguous match when no indexers given and one single match is found.
1565 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1567         * Binder.cs: removed ^Ms. In case of several properties matching, try
1568         to disambiguate based on the indexer types provider and the conversions
1569         from those into the ones of the property.
1571 2004-05-31  Gert Driesen <drieseng@users.sourceforge.net>
1573         * Assembly.cs: added missing ComVisible attribute on
1574         ImageRuntimeVersion property
1575         * ConstructorInfo.cs: added missing attributes on Invoke
1576         * EventInfo.cs: added missing attributes
1577         * FieldInfo.cs: added missing attributes
1578         * MethodBase.cs: added missing attributes
1579         * PropertyInfo.cs: added missing attributes
1581 2004-05-22  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>
1583         * FieldInfo.cs: changed default constructor from internal to protected, so classes
1584         that inherit from it can get build. 
1586 2004-05-18  Gert Driesen (drieseng@users.sourceforge.net)
1588         * MonoProperty.cs: return correct MethodInfo for 
1589         property with only a get or set method. Fixes
1590         bug #58661.
1592 2004-05-18  Sebastien Pouliot  <sebastien@ximian.com>
1594         * Assembly.cs: Return an empty Evidence collection to avoid 
1595         NullReferenceException from calling code (as this is never
1596         null with MS implementation). See bugzilla #53548.
1598 2004-05-14  Zoltan Varga  <vargaz@freemail.hu>
1600         * Assembly.cs: Add stub for LoadFrom.
1602         * Assembly.cs: Fix build.
1604 2004-05-13  Zoltan Varga  <vargaz@freemail.hu>
1606         * Assembly.cs: Add ModuleResolve event.
1608         * Module.cs (Mono_GetGuid): Make this internal.
1610         * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
1612 2004-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1614         * Binder.cs: check for ambiguous matches in SelectMethod and
1615         SelectProperty. Fixes bug #58381.
1617 2004-05-06  Jackson Harper <jackson@ximian.com>
1619         * Assembly.cs: remove TODO, this is done.
1620         
1621 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1623         * Assembly.cs: ToString () returns the same as GetName ().ToString ().
1624         Fixes bug #58104.
1626 2004-05-03  Jackson Harper  <jackson@ximian.com>
1628         * Assembly.cs: Implement LoadWithPartialName. The bulk of this
1629         method is done in the runtime.
1630         
1631 2004-04-29  Lluis Sanchez Gual  <lluis@ximian.com>
1633         * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
1634         is private (it did until now because of a bug). Make sure it works as it 
1635         worked before the fix.
1636         
1637 2004-04-27  Lluis Sanchez Gual  <lluis@ximian.com>
1639         * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs: 
1640           Removed completed     TODOs.
1641         * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
1642           do not return private methods if nonPublic == false.
1643         * ReflectionTypeLoadException.cs: Implemented serialization support.
1645 2004-04-26  Jackson Harper  <jackson@ximian.com>
1647         * Assembly.cs: Add icall to determine if an assembly has been
1648         loaded from the GAC.
1650 2004-04-23  Atsushi Enomoto  <atsushi@ximian.com>
1652         * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
1653           The fix should be easier ;)
1655 2004-04-23  Atsushi Enomoto  <atsushi@ximian.com>
1657         * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
1658           NET_2_0 related build fix.
1660 2004-04-19  Lluis Sanchez Gual  <lluis@ximian.com>
1662         * Assembly.cs: Removed TODO for CreateQualifiedName.
1663         * AssemblyName.cs: Fixed serialization code.
1664         * AssemblyNameProxy.cs: Implemented.
1665         * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
1667 2004-04-07  Martin Baulig  <martin@ximian.com>
1669         * MonoGenericInst.cs (MonoGenericParam): Removed.
1671 2004-04-07  Martin Baulig  <martin@ximian.com>
1673         * MethodBase.cs
1674         (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
1676         * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
1677         (MonoGenericInst.GetNestedTypes): Just call
1678         `generic_type.GetNestedTypes (bf)' here.
1680         * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
1681         include the type arguments.
1683 2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>
1685         * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
1686         correct StrongName instance when the ECMA "key" is used.
1688 2004-04-02  Martin Baulig  <martin@ximian.com>
1690         * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
1692 2004-04-01  Martin Baulig  <martin@ximian.com>
1694         * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
1695         this and always return false.
1697 2004-04-01  Martin Baulig  <martin@ximian.com>
1699         * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.    
1701 2004-03-30  Martin Baulig  <martin@ximian.com>
1703         * MonoGenericInst.cs
1704         (MonoGenericParam): Added `bool has_ctor_constraint' field.
1705         (MonoGenericParam.SetConstraints): Added `bool
1706         has_ctor_constraint' argument.  
1708 2004-03-29  Martin Baulig  <martin@ximian.com>
1710         * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
1711         virtual property.
1712         (MethodBase.HasGenericParameters): Use the "official" behavior
1713         here, ie. return false if we're not a generic method.
1715 2004-03-29  Martin Baulig  <martin@ximian.com>
1717         * MethodBase.cs: Moved the generics stuff here, made it virtual
1718         where neccessary and use the correct API.
1720 2004-03-24  Sebastien Pouliot  <sebastien@ximian.com>
1722         * StrongNameKeyPair.cs: Added an internal method to return a 
1723         StrongName object (for AssemblyBuilder). Simplified implementation 
1724         using Mono.Security.Cryptography.CryptoConvert class.
1726 2004-03-24  Zoltan Varga  <vargaz@freemail.hu>
1728         * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
1730 2004-03-23  Martin Baulig  <martin@ximian.com>
1732         * MonoGenericInst.cs: Added support for events.
1734 2004-03-23  Martin Baulig  <martin@ximian.com>
1736         * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
1737         if it's the empty string.
1739 2004-03-10  Martin Baulig  <martin@ximian.com>
1741         * MethodBase.cs (MethodBase): Implemented
1742         GetGenericMethodDefinition() and HasGenericParameters.
1744 2004-03-09  Martin Baulig  <martin@ximian.com>
1746         * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
1747         `declaring_type' and `reflected_type'.
1748         (MonoEvent): Distinguish between declaring and reflected type.
1750 2004-02-25  Martin Baulig  <martin@ximian.com>
1752         * MonoGenericInst.cs
1753         (MonoGenericInst.GetNestedTypes): Override this.
1755 2004-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1757         * Binder.cs:
1758         (SelectProperty): check the return Type if provided.
1760 2004-02-17  Martin Baulig  <martin@ximian.com>
1762         * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
1763         support for properties.
1765 2004-02-17  Martin Baulig  <martin@ximian.com>
1767         * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
1768         class hierarchy and return members from the parent classes.
1769         (GetConstructors, GetFields): Likewise.
1771 2004-02-17  Martin Baulig  <martin@ximian.com>
1773         * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
1774         all the members here; we only do this for members of the current
1775         class and only when they're actually queried for.
1777 2004-02-12  Martin Baulig  <martin@ximian.com>
1779         * MonoGenericInst.cs (MonoInflatedField): Removed.
1781         * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
1783 2004-02-08  Martin Baulig  <martin@ximian.com>
1785         * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
1786         invocations the `reflected' type as `reflected', not `this'.
1787         (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
1789 2004-02-08  Martin Baulig  <martin@ximian.com>
1791         * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
1792         (MonoGenericInst.GetInterfaces_internal): New interncall.
1793         (MonoGenericInst): Reflect latest API changes; use GetParentType()
1794         and GetInterfaces_internal() instead of the fields.     
1796 2004-02-06  Martin Baulig  <martin@ximian.com>
1798         * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
1800 2004-02-03  Martin Baulig  <martin@ximian.com>
1802         * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
1804 2004-01-25  Martin Baulig  <martin@ximian.com>
1806         * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
1808 2004-01-19  Zoltan Varga  <vargaz@freemail.hu>
1810         * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
1811         a reference on the Module object which contains the resource.
1813         * Module.cs: Decrease the image reference count when the Module is
1814         garbage collected.
1816 2004-01-16  Martin Baulig  <martin@ximian.com>
1818         * Assembly.cs: Make the `MonoDebugger_' methods static.
1820 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1822         * MonoProperty.cs: changed get_property_info so that it only gets the
1823         values needed. Reduces the allocations needed.
1825 2004-01-15  Martin Baulig  <martin@ximian.com>
1827         * Assembly.cs: Make the `MonoDebugger_' methods internal.
1829 2004-01-04  Nick Drochak <ndrochak@gol.com>
1831         * Assembly.cs: Removed unused variable in catch block.Eliminates a build
1832         warning.
1834 2003-12-29 Ben Maurer  <bmaurer@users.sourceforge.net>
1836         * MethodBase.cs: Internal method to get param count (this
1837         way we can get the info for the ilgen without creating
1838         an array, if we override the method).
1840 2003-12-18  Zoltan Varga  <vargaz@freemail.hu>
1842         * Assembly.cs: Implement LoadFrom.
1844 2003-12-17  Zoltan Varga  <vargaz@freemail.hu>
1846         * Assembly.cs: Add stubs for LoadFile.
1848 2003-12-16  Zoltan Varga  <vargaz@freemail.hu>
1850         * Assembly.cs (GetManifestResourceStream): Only load non-embedded
1851         resources from files.
1853 2003-12-15  Zoltan Varga  <vargaz@freemail.hu>
1855         * MonoField.cs (SetValue): Throw an exception if the value cannot be
1856         converted to the field's type. Fixes #52177.
1858 2003-12-11  Lluis Sanchez Gual <lluis@ximian.com>
1859         
1860         * AmbiguousMatchException.cs: Added serialization constructor.
1861         
1862 2003-12-08  Martin Baulig  <martin@ximian.com>
1864         * MonoGenericInst.cs (MonoGenericParam): New internal class;
1865         derives from MonoType.  
1867 2003-12-08  Patrik Torstensson <p@rxc.se>
1869         * Binder.cs: Added internal helpers to get derived level and select the 
1870         most derived methodbase (used in GetMethodImpl)
1872 2003-11-25  Zoltan Varga  <vargaz@freemail.hu>
1874         * Assembly.cs (LoadWithPartialName): Return null instead of throwing
1875         an exception to match MS behavior.
1877 2003-11-24  Zoltan Varga  <vargaz@freemail.hu>
1879         * MonoMethod.cs: Add missing constructor.
1881 2003-11-21  Zoltan Varga  <vargaz@freemail.hu>
1883         * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
1885 2003-11-16  Martin Baulig  <martin@ximian.com>
1887         * MonoGenericInst.cs (MonoGenericInst.inflate): Call
1888         `parent.inflate (parent,...)' instead of
1889         `parent.inflate (reflected,...)'.
1891 2003-11-16  Zoltan Varga  <vargaz@freemail.hu>
1893         * Assembly.cs (InternalGetAssemblyName): New icall.
1895         * AssemblyName.cs (GetAssemblyName): Implement this without loading
1896         the assembly in question. Fixes #51035.
1898 2003-11-14  Martin Baulig  <martin@ximian.com>
1900         * MonoGenericInst.cs (MonoGenericInst): Added
1901         `MonoGenericInst[] interfaces' field.  This is only used for
1902         interface types.
1903         (MonoGenericInst.inflate): If we're an interface type, add the
1904         methods from all interfaces we inherit.
1906 2003-11-14  Zoltan Varga  <vargaz@freemail.hu>
1908         * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values 
1909         from NET 1.1.
1910         
1911         * *.cs: Add missing attributes.
1913 2003-11-11  Todd Berman  <tberman@gentoo.org>
1915         * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
1917 2003-11-11  Zoltan Varga  <vargaz@freemail.hu>
1919         * MonoMethod.cs: Implement CallingConvention member.
1921 2003-11-10  Zoltan Varga  <vargaz@freemail.hu>
1923         * Assembly.cs (InternalGetType): Add a 'module' argument so this
1924         method can be used from Module as well.
1926         * Module.cs (GetType): Implement.
1928         * Module.cs (GetTypes): Implement.
1930         * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
1931 2003-11-08  Martin Baulig  <martin@ximian.com>
1933         * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
1934         a private `IntPtr ginst' field.
1935         (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
1937 2003-11-02  Martin Baulig  <martin@ximian.com>
1939         * MonoGenericInst.cs (MonoGenericInst.initialize): Include members
1940         from our parent classes in the `methods', `ctors' and `fields'
1941         arrays.  When inflating them, reflection now sets their
1942         `declaring_type' and `reflected_type' fields.
1943         (MonoInflatedMethod, MonoInflatedCtor): Added
1944         `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
1945         fields and override the `DeclaringType' and `ReflectedType' properties.
1947 2003-11-02  Martin Baulig  <martin@ximian.com>
1949         * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
1951 2003-10-31  Martin Baulig  <martin@ximian.com>
1953         * MonoGenericInst.cs (MonoInflatedField): New internal class.
1954         (MonoGenericInst.GetFields): Override this method and inflate
1955         the fields.
1957         * MonoField.cs: Don't make this class sealed.
1959 2003-10-30  Martin Baulig  <martin@ximian.com>
1961         * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
1962         internal classes.
1964 2003-10-25  Martin Baulig  <martin@ximian.com>
1966         * MonoGenericInst.cs: New internal class.
1968 2003-10-18  Martin Baulig  <martin@ximian.com>
1970         * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
1971         abstract; use an interncall in MonoMethod and a custom
1972         implementation in MethodBuilder.        
1974 2003-10-17  Pedro Martinez Julia  <yoros@wanadoo.es>
1976         * MonoEvent.cs: implement ToString method as in MS.NET.
1978         * MonoMethod.cs: fix some differences between mono and MS.NET
1979         implementation of ToString.
1981 2003-10-17  Zoltan Varga  <vargaz@freemail.hu>
1983         * AssemblyName.cs: Fix Version property when some version fields are
1984         undefined.
1986 2003-10-17  Martin Baulig  <martin@ximian.com>
1988         * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
1989         (MethodInfo.BindGenericParameters): New method.
1991 2003-10-16  Martin Baulig  <martin@ximian.com>
1993         * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
1994         property.       
1996 2003-08-08  Lluis Sanchez Gual  <lluis@ximian.com>
1998         * ParameterInfo.cs: Modified constructor of ParameterInfo for
1999           the return type of a method. Since parameter positions are
2000           zero-based, the position of the return type must be is -1.
2002 2003-08-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2004         * TargetInvocationException.cs: Fixed signature
2006 2003-07-24  Miguel de Icaza  <miguel@ximian.com>
2008         * TypeDelegator.cs: Added generics stubs.
2010 2003-07-21  Lluis Sanchez Gual  <lluis@ximian.com>
2012         * ParameterInfo.cs: Position is zero-based in ParameterInfo.
2013           Set the right position value when getting from ParameterBuilder.
2015 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
2017         * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
2018         finer-grained icalls. Requires a matching runtime.
2020 2003-07-11  Zoltan Varga  <vargaz@freemail.hu>
2022         * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
2024         * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
2026 2003-07-10  Zoltan Varga  <vargaz@freemail.hu>
2028         * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
2030 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
2032         * Pointer.cs: implemented.
2034 2003-06-15  Zoltan Varga  <vargaz@freemail.hu>
2036         * EventInfo.cs: Implement IsSpecialName.
2038 2003-06-10  Zoltan Varga  <vargaz@freemail.hu>
2040         * Module.cs (Mono_GetGuid): New method to return the GUID of the
2041         module.
2043 2003-05-21  Zoltan Varga  <vargaz@freemail.hu>
2045         * Module.cs: Implement GetField and its friends.
2047 2003-05-20  Zoltan Varga  <vargaz@freemail.hu>
2049         * Assembly.cs (GetManifestResourceStream): Moved handling of 
2050         linked resources into managed code using the newly implemented
2051         GetManifestResourceInfo () method.
2053 2003-05-19  Zoltan Varga  <vargaz@freemail.hu>
2055         * Module.cs: Implemented IsResource.
2057         * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
2058         GetModule, GetLoadedModules methods.
2059         * Assembly.cs (GetManifestResourceStream): Added support for 
2060         resources in extern assemblies.
2062 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2064         * Assembly.cs: fixed bug #42833.
2066 2003-05-11  Miguel de Icaza  <miguel@ximian.com>
2068         * Binder.cs (ChangeType): Very simplistic change.  Am not sure if
2069         it is correct, but it makes RemotingCorba move along a bit more
2070         (Remoting.Corba invokes Binder.ConvertArgs, which calls
2071         Binder.ChangeType with an Attribute [] to Object []).
2073 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2075         * Binder.cs:
2076         (check_type): fixed bug #41655.
2078 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2080         * Assembly.cs: implemented GetSatelliteAssembly.
2082 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
2084         * Assembly.cs: added GetNamespaces() icall.
2086 2003-03-17  Zoltan Varga  <vargaz@freemail.hu>
2088         * FieldInfo.cs (GetFieldFromHandle): Implemented.
2090 2003-03-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2092         * Assembly.cs: added missing stuff. Only ModuleResolve event is left
2093         out to avoid changing MonoReflectionAssembly by now.
2094         * ModuleResolveEventHandler.cs: delegate.
2096 2003-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2098         * TargetInvocationException.cs: added serialization ctor.
2100 2003-02-18  Martin Baulig  <martin@ximian.com>
2102         * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
2103         method's metadata token.
2105 2003-02-04  Sebastien Pouliot  <spouliot@videotron.ca>
2107         * Module.cs: Corrected indentation for class.
2109 2003-02-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2111         * Binder.cs:
2112         (check_type): return true when the target type is object and the source
2113         is a value type.
2115 2003-02-03 Patrik Torstensson
2117         * Binder.cs: minimize locking time in DefaultBinder.
2119 2003-02-01  Sebastien Pouliot  <spouliot@videotron.ca>
2121         * Module.cs: Oups - not implemented. Added MonoTODO to most methods
2122         so it's real status get reflected correctly on the web site.
2124 2003-01-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2126         * MonoMethod.cs: implemented GetBaseDefinition ().
2128 2003-01-28  Patrik Torstensson
2129         * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
2130         * ReflectionSerializationHolder.cs: Support class for serialization
2132 2003-01-17  Zoltan Varga  <vargaz@freemail.hu>
2134         * ParameterInfo.cs: modified constructor so it allows the 
2135         ParameterBuilder to be null and add a 'position' argument which will
2136         be used when pb is null.
2138 2003-01-16  Lluis Sanchez Gual <lsg@ctv.es>
2140         * Assembly.cs: added serialization support.
2142 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
2144         * MonoMethod.cs: propagate exceptions from the internal invoke
2145         code that need to be propagated.
2147 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
2149         * Binder.cs: throw an exception if the number of arguments 
2150         when invoking a method is incorrect.
2152 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
2154         * Binder.cs: In SelectMethod() look for an exact match first.
2156 2003-01-01  Rachel Hestilow <hestilow@ximian.com>
2158         * MonoField.cs (SetValue): Fix logic typo. Check that obj is
2159         non-null only for the non-static case.
2161 2002-12-30  Sebastien Pouliot <spouliot@videotron.ca>
2163         * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by 
2164         Zoltan).
2166 2002-12-23  Sebastien Pouliot <spouliot@videotron.ca>
2168         * AssemblyName.cs: GetPublicKey now return an empty array (not null)
2169         when an assembly isn't signed with a StrongName (to match MS 
2170         implementation) and null when no assembly is referenced. Also removed 
2171         commented code (no bug reported so it was probably not used).
2173 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
2175         * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
2176         provider for the return type of a method.
2178 2002-12-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2180         * AssemblyName.cs: little fix in FullName.
2182 2002-12-07  Sebastien Pouliot <spouliot@videotron.ca>
2184         * AssemblyName.cs: Added missing methods/interfaces. Fixed some
2185         code to match the MS Framework.
2186         * StrongNameKeyPair.cs: Completed the "visible" implementation.
2187         There must be some internal methods to allow signing with the key.
2189 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2191         * EventInfo.cs: implemented (Add|Remove)EventHandler.
2193 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
2195         * Assembly.cs: implemented GetManifestResourceStream (Type type,
2196         * String name).
2198 2002-11-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2200         * Assembly.cs: changed name of GetType (string, bool, bool) to
2201         InternalGetType.
2203 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2205         * TargetInvocationException.cs: modified default message.
2207 2002-10-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2209         * MonoProperty.cs:
2210         * PropertyInfo.cs: fixed bug #31535.
2212 2002-09-27  Martin Baulig  <martin@gnome.org>
2214         * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
2216 2002-09-24  Martin Baulig  <martin@gnome.org>
2218         * Assembly.cs (MonoDebugger_GetType): New method to get a Type
2219         from its metadata token.  This should only be used by the debugger.
2221 2002-09-21  Martin Baulig  <martin@gnome.org>
2223         * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
2224         get the type of a local variable from its signature.  This should only
2225         be used by the debugger.
2227 2002-09-20  Martin Baulig  <martin@gnome.org>
2229         * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
2230         from its metadata token.  This should only be used by the debugger.
2232 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
2234         * Binder.cs: more default binder implementation.
2236         * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
2237         * MonoMethod.cs: use the binder in the Invoke () implementation.
2238         Implemented custom attributes methods and ToString for constructors.
2240 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
2242         * Binder.cs: finished the Binder class and implemented the default
2243         binder.
2245 2002-09-03  Martin Baulig  <martin@gnome.org>
2247         * Assembly.cs (Assembly.Location): Implemented.
2249 2002-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2251         * MonoField.cs:
2252         (GetValue): allow obj to be null (used for static fields).
2254 2002-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2256         * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
2257         null.
2259 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
2261         * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen 
2262         <tomi.pakarinen@welho.com>.
2264 2002-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2266         * Assembly.cs: FullName now returns a proper string instead of
2267         something like 'file://...'.
2269         * AssemblyName.cs: added missing ToString method.
2271 2002-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2273         * FieldInfo.cs: implemented SetValue.
2275 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
2277         * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
2279 2002-08-14  Dick Porter  <dick@ximian.com>
2281         * Assembly.cs: Stub out GetSatelliteAssembly
2283 2002-08-12  Tim Coleman <tim@timcoleman.com>
2284         * MonoProperty.cs:
2285                 Allow multiple parameters for GetValue ()
2287 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
2289         * Assembly.cs: implemented GetFile() and GetFiles().
2291 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
2293         * Assembly.cs: implemented EntryPoint and a few 
2294         resource related methods.
2296 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
2298         * MethodBase.cs: implemented GetCurrentMethod.
2299         * Assembly.cs: implemented GetExecutingAssembly and
2300         GetCallingassembly.
2302 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
2304         * MonoProperty.cs: handle properties with only a set method.
2306 2002-05-24  Martin Baulig  <martin@gnome.org>
2308         * ParameterInfo.cs: Added internal constructor.
2310 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
2312         * Assembly.cs: implemented CreateInstance ().
2314 2002-05-22  Martin Baulig  <martin@gnome.org>
2316         * MethodBase.cs (get_next_table_index): Added `object obj' argument.
2318 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
2320         * EventInfo.cs: more implementation.
2322 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
2324         * MonoEvent.cs: fill-in the implementation.
2326 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
2328         * Assembly.cs, AssemblyName.cs: updates and fixes.
2330 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
2332         * MonoProperty.cs (GetValue) : basic implementation to support nunit
2333         * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
2335 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
2337         * MonoMethod.c: cache the method name.
2339 2002-04-12  Duncan Mak  <duncan@ximian.com>
2341         * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
2342         property.
2344         * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
2345         attribute.
2347         * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
2348         Version.
2350         * BindingFlags.cs: Added missing value "PutRefDispProperty".
2352         * FieldAttributes.cs: Removed value "HasSecurity".
2354         * ManifestResourceInfo.cs: Added missing properties FileName,
2355         ReferencedAssembly and ResourceLocation.
2357         * TargetInvocationException.cs: Added the missing constructors.
2359 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
2361         * MonoMethod.cs: make Name property an icall.
2363 2002-04-08  Nick Drochak  <ndrochak@gol.com>
2365         * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
2366         struct and interface.
2368 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
2370         * MonoEvent.cs: remove unused code.
2371         * MonoProperty: implement ToString().
2373 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
2375         * Assembly.cs: implement GetTypes() and GetExportedTypes().
2377 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
2379         * MonoEvent.cs: added the needed fields.
2381 2002-03-20  Martin Baulig  <martin@gnome.org>
2383         * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
2385         * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
2387 2002-03-14  Dietmar Maurer  <dietmar@ximian.com>
2389         * MonoMethod.cs (Invoke): call InternalInvoke
2391         * MethodBase.cs (Invoke): call virtual invoke function 
2393 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
2395         * EventInfo.cs: add compiler needed methods.
2396         * MonoMethod.cs: make ToString() return the return type name, too.
2398 2002-03-07  Nick Drochak  <ndrochak@gol.com>
2400         * BindingFlags.cs: Add missing enum values.  Thanks CorCompare.
2402 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
2404         * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
2406 2002-02-26  Duncan Mak  <duncan@ximian.com>
2408         * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
2410 2002-02-24 Nick Drochak  <ndrochak@gol.com>
2412         * AssemblyNameFlags.cs: Use proper member name.  Thanks corcompare!
2414 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
2416         * MonoField.cs: implement GetValue as an internalcall.
2417         Implemented ToString().
2419 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
2421         * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
2422         MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
2423         related methods.
2425 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
2427         * TypeAttributes.cs: update to latest spec.
2429 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
2431         * Assembly.cs: handle throwOnError in GetType() call.
2433 2002-02-07  Duncan Mak  <duncan@ximian.com>
2435         * AssemblyName.cs: Implemented ISerializable interface for the
2436         fields that we have.
2438 2002-02-05  Duncan Mak  <duncan@ximian.com>
2439         
2440         * Missing.cs: 
2441         * TargetException.cs: Added in CVS.
2443 2002-01-31  Duncan Mak  <duncan@ximian.com>
2445         * ReflectionTypeLoadException.cs: Added missing bits.
2447 2002-01-23  Duncan Mak  <duncan@ximian.com>
2449         * AssemblyAlgorithmIdAttribute.cs:
2450         * AssemblyCompanyAttribute.cs:
2451         * AssemblyConfigurationAttribute.cs:
2452         * AssemblyCopyrightAttribute.cs:
2453         * AssemblyCultureAttribute.cs:
2454         * AssemblyDefaultAliasAttribute.cs:
2455         * AssemblyDelaySignAttribute.cs:
2456         * AssemblyDescriptionAttribute.cs:
2457         * AssemblyFileVersionAttribute.cs:
2458         * AssemblyFlagsAttribute.cs:
2459         * AssemblyInformationalVersionAttribute.cs:
2460         * AssemblyKeyFileAttribute.cs:
2461         * AssemblyKeyNameAttribute.cs:
2462         * AssemblyNameProxy.cs:
2463         * AssemblyProductAttribute.cs:
2464         * AssemblyTitleAttribute.cs:
2465         * AssemblyTradeMarkAttribute.cs:
2466         * AssemblyVersionAttribute.cs:
2467         * CustomAttributeFormatException.cs:
2468         * InvalidFilterCriteriaException.cs:
2469         * TargetParameterCountException.cs: Added.
2471 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
2473         * Assembly.cs (Assembly.CodeBase): Implement.
2474         (Assembly.FullName): simplistic and broken implementation.  Gets
2475         us where we were yesterday.
2477         Code style fix.
2479 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
2481         * IReflect.cs: corrected GetMember() return type.
2482         * InterfaceMapping.cs, TypeDelegator.cs: implemented.
2484 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
2486         * MonoMethod.cs: ToString () implementation.
2488 2002-01-04  Ravi Pratap  <ravi@ximian.com>
2490         * Assembly.cs : Decorate missing bits with the MonoTODO
2491         attribute.
2493         * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
2494         ReflectionTypeLoadException.cs : Ditto.
2496         * FieldInfo.cs : Ditto.
2497         
2498 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
2499         
2500         * Assembly.cs: trow unimplemented exceptions.
2502 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
2504         * MonoMethod.cs: implemented GetParameters().
2505         * MonoProperty.cs: PropertyInfo implementation.
2506         * ParameterInfo.cs: implemented.
2507         * PropertyInfo.cs: fixes.
2509 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
2511         * FieldInfo.cs: implemented some Is* propeties.
2512         * MethodBase.cs: fixed attribute accessors.
2513         * MonoField.cs: runtime object to represent a field.
2514         * MonoMethod.cs: runtime object to represent a method.
2515         * AssemblyBuilder.cs: GetToken() methods to get tokens for
2516         strings, fields, methods...
2517         * ILGenerator.cs: handle tokens for methods.
2519 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
2521         * MethodBase.cs: add internal get_next_table_index() for use in
2522         Reflection.Emit.
2524 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
2526         * Assembly.cs: implement some of the Load() methods.
2527         * ConstructorInfo.cs: some missing stubs and fields.
2528         * FieldInfo.cs: IsInitOnly property.
2529         * ParameterInfo.cs: stubs for missing properties.
2530         * ParameterModifier.cs: implemented class.
2532 2001-11-10  Sean MacIsaac  <macisaac@ximian.com>
2534         * Assembly.cs: Filled in some stub implementations
2536         * ConstructorInfo.cs: Added some stub functions for NUnit
2538 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
2540         * AmbiguousMatchException.cs, 
2541         * Assembly.cs, Module.cs: updates.
2542         * FieldInfo.cs: better compliance to the spec.
2543         * MethodBase.cs: move call_conv out of the way.
2544         * AssemblyBuilder.cs:  don't use internalcalls, more stuff supported.
2545         * FieldBuilder.cs: implemented.
2546         * ILGenerator.cs: implemented some opcode handling.
2547         * Label.cs: add constructor.
2548         * LocalBuilder.cs: implemented.
2549         * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
2550         * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
2551         * ParameterBuilder.cs: implemented.
2552         * PropertyBuilder.cs: implemented.
2553         * TypeBuilder.cs: don't use internalcalls, more stuff working.
2555 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
2557         * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
2559 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
2561         * MethodBase.cs, MethodInfo.cs: added.
2563 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
2565         * Assembly.cs: added stub code.
2567 2001-07-18  Michael Lambert <michaellambert@email.com>
2569         * BindingFlags.cs: Add.