* ParameterModifier.cs: marked serializable, renamed field to match
[mono.git] / mcs / class / corlib / System.Reflection / ChangeLog
1 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
2         
3         * ParameterModifier.cs: marked serializable, renamed field to match
4         MS.NET, throw ArgumentException when parameter count is less than or
5         equal to zero
6
7 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
8
9         * AssemblyName.cs: added TODO for serialization
10         * Pointer.cs: fixed Box method to return object instead of 
11         Pointer
12
13 2004-06-15  Sebastien Pouliot  <sebastien@ximian.com>
14
15         * MemberInfo.cs: Changed constructor from internal to protected.
16
17 2004-06-11  Martin Baulig  <martin@ximian.com>
18
19         * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
20
21 2004-06-11  Lluis Sanchez  <lluis@ximian.com>
22
23         * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match 
24           MS implementation. Generate the RSA in the constructors.
25
26 2004-06-10  Lluis Sanchez  <lluis@ximian.com>
27
28         * AssemblyName.cs: Added missing fields to serialization methods.
29         * StrongNameKeyPair.cs: Made it compatible with MS serialization.
30
31 2004-06-08  Jacson Harper  <jackson@ximian.com>
32
33         * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
34         runtime. This way the codebase is set properly. The codebase is
35         using g_filename_to_uri which expects a full path.
36         
37 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
38
39         * Binder.cs: don't crash when we have a 'null' argument Type array.
40         Allow it for non-value types. Fixed for both, methods and properties.
41         Closes bug #58846.
42
43 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
44
45         * Binder.cs: default score must be lower than fail_score or we'll get
46         an ambiguous match when no indexers given and one single match is found.
47
48 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
49
50         * Binder.cs: removed ^Ms. In case of several properties matching, try
51         to disambiguate based on the indexer types provider and the conversions
52         from those into the ones of the property.
53
54 2004-05-31  Gert Driesen <drieseng@users.sourceforge.net>
55
56         * Assembly.cs: added missing ComVisible attribute on
57         ImageRuntimeVersion property
58         * ConstructorInfo.cs: added missing attributes on Invoke
59         * EventInfo.cs: added missing attributes
60         * FieldInfo.cs: added missing attributes
61         * MethodBase.cs: added missing attributes
62         * PropertyInfo.cs: added missing attributes
63
64 2004-05-22  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>
65
66         * FieldInfo.cs: changed default constructor from internal to protected, so classes
67         that inherit from it can get build. 
68
69 2004-05-18  Gert Driesen (drieseng@users.sourceforge.net)
70
71         * MonoProperty.cs: return correct MethodInfo for 
72         property with only a get or set method. Fixes
73         bug #58661.
74
75 2004-05-18  Sebastien Pouliot  <sebastien@ximian.com>
76
77         * Assembly.cs: Return an empty Evidence collection to avoid 
78         NullReferenceException from calling code (as this is never
79         null with MS implementation). See bugzilla #53548.
80
81 2004-05-14  Zoltan Varga  <vargaz@freemail.hu>
82
83         * Assembly.cs: Add stub for LoadFrom.
84
85         * Assembly.cs: Fix build.
86
87 2004-05-13  Zoltan Varga  <vargaz@freemail.hu>
88
89         * Assembly.cs: Add ModuleResolve event.
90
91         * Module.cs (Mono_GetGuid): Make this internal.
92
93         * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
94
95 2004-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
96
97         * Binder.cs: check for ambiguous matches in SelectMethod and
98         SelectProperty. Fixes bug #58381.
99
100 2004-05-06  Jackson Harper <jackson@ximian.com>
101
102         * Assembly.cs: remove TODO, this is done.
103         
104 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
105
106         * Assembly.cs: ToString () returns the same as GetName ().ToString ().
107         Fixes bug #58104.
108
109 2004-05-03  Jackson Harper  <jackson@ximian.com>
110
111         * Assembly.cs: Implement LoadWithPartialName. The bulk of this
112         method is done in the runtime.
113         
114 2004-04-29  Lluis Sanchez Gual  <lluis@ximian.com>
115
116         * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
117         is private (it did until now because of a bug). Make sure it works as it 
118         worked before the fix.
119         
120 2004-04-27  Lluis Sanchez Gual  <lluis@ximian.com>
121
122         * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs: 
123           Removed completed     TODOs.
124         * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
125           do not return private methods if nonPublic == false.
126         * ReflectionTypeLoadException.cs: Implemented serialization support.
127
128 2004-04-26  Jackson Harper  <jackson@ximian.com>
129
130         * Assembly.cs: Add icall to determine if an assembly has been
131         loaded from the GAC.
132
133 2004-04-23  Atsushi Enomoto  <atsushi@ximian.com>
134
135         * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
136           The fix should be easier ;)
137
138 2004-04-23  Atsushi Enomoto  <atsushi@ximian.com>
139
140         * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
141           NET_2_0 related build fix.
142
143 2004-04-19  Lluis Sanchez Gual  <lluis@ximian.com>
144
145         * Assembly.cs: Removed TODO for CreateQualifiedName.
146         * AssemblyName.cs: Fixed serialization code.
147         * AssemblyNameProxy.cs: Implemented.
148         * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
149
150 2004-04-07  Martin Baulig  <martin@ximian.com>
151
152         * MonoGenericInst.cs (MonoGenericParam): Removed.
153
154 2004-04-07  Martin Baulig  <martin@ximian.com>
155
156         * MethodBase.cs
157         (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
158
159         * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
160         (MonoGenericInst.GetNestedTypes): Just call
161         `generic_type.GetNestedTypes (bf)' here.
162
163         * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
164         include the type arguments.
165
166 2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>
167
168         * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
169         correct StrongName instance when the ECMA "key" is used.
170
171 2004-04-02  Martin Baulig  <martin@ximian.com>
172
173         * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
174
175 2004-04-01  Martin Baulig  <martin@ximian.com>
176
177         * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
178         this and always return false.
179
180 2004-04-01  Martin Baulig  <martin@ximian.com>
181
182         * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.    
183
184 2004-03-30  Martin Baulig  <martin@ximian.com>
185
186         * MonoGenericInst.cs
187         (MonoGenericParam): Added `bool has_ctor_constraint' field.
188         (MonoGenericParam.SetConstraints): Added `bool
189         has_ctor_constraint' argument.  
190
191 2004-03-29  Martin Baulig  <martin@ximian.com>
192
193         * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
194         virtual property.
195         (MethodBase.HasGenericParameters): Use the "official" behavior
196         here, ie. return false if we're not a generic method.
197
198 2004-03-29  Martin Baulig  <martin@ximian.com>
199
200         * MethodBase.cs: Moved the generics stuff here, made it virtual
201         where neccessary and use the correct API.
202
203 2004-03-24  Sebastien Pouliot  <sebastien@ximian.com>
204
205         * StrongNameKeyPair.cs: Added an internal method to return a 
206         StrongName object (for AssemblyBuilder). Simplified implementation 
207         using Mono.Security.Cryptography.CryptoConvert class.
208
209 2004-03-24  Zoltan Varga  <vargaz@freemail.hu>
210
211         * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
212
213 2004-03-23  Martin Baulig  <martin@ximian.com>
214
215         * MonoGenericInst.cs: Added support for events.
216
217 2004-03-23  Martin Baulig  <martin@ximian.com>
218
219         * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
220         if it's the empty string.
221
222 2004-03-10  Martin Baulig  <martin@ximian.com>
223
224         * MethodBase.cs (MethodBase): Implemented
225         GetGenericMethodDefinition() and HasGenericParameters.
226
227 2004-03-09  Martin Baulig  <martin@ximian.com>
228
229         * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
230         `declaring_type' and `reflected_type'.
231         (MonoEvent): Distinguish between declaring and reflected type.
232
233 2004-02-25  Martin Baulig  <martin@ximian.com>
234
235         * MonoGenericInst.cs
236         (MonoGenericInst.GetNestedTypes): Override this.
237
238 2004-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
239
240         * Binder.cs:
241         (SelectProperty): check the return Type if provided.
242
243 2004-02-17  Martin Baulig  <martin@ximian.com>
244
245         * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
246         support for properties.
247
248 2004-02-17  Martin Baulig  <martin@ximian.com>
249
250         * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
251         class hierarchy and return members from the parent classes.
252         (GetConstructors, GetFields): Likewise.
253
254 2004-02-17  Martin Baulig  <martin@ximian.com>
255
256         * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
257         all the members here; we only do this for members of the current
258         class and only when they're actually queried for.
259
260 2004-02-12  Martin Baulig  <martin@ximian.com>
261
262         * MonoGenericInst.cs (MonoInflatedField): Removed.
263
264         * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
265
266 2004-02-08  Martin Baulig  <martin@ximian.com>
267
268         * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
269         invocations the `reflected' type as `reflected', not `this'.
270         (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
271
272 2004-02-08  Martin Baulig  <martin@ximian.com>
273
274         * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
275         (MonoGenericInst.GetInterfaces_internal): New interncall.
276         (MonoGenericInst): Reflect latest API changes; use GetParentType()
277         and GetInterfaces_internal() instead of the fields.     
278
279 2004-02-06  Martin Baulig  <martin@ximian.com>
280
281         * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
282
283 2004-02-03  Martin Baulig  <martin@ximian.com>
284
285         * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
286
287 2004-01-25  Martin Baulig  <martin@ximian.com>
288
289         * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
290
291 2004-01-19  Zoltan Varga  <vargaz@freemail.hu>
292
293         * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
294         a reference on the Module object which contains the resource.
295
296         * Module.cs: Decrease the image reference count when the Module is
297         garbage collected.
298
299 2004-01-16  Martin Baulig  <martin@ximian.com>
300
301         * Assembly.cs: Make the `MonoDebugger_' methods static.
302
303 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
304
305         * MonoProperty.cs: changed get_property_info so that it only gets the
306         values needed. Reduces the allocations needed.
307
308 2004-01-15  Martin Baulig  <martin@ximian.com>
309
310         * Assembly.cs: Make the `MonoDebugger_' methods internal.
311
312 2004-01-04  Nick Drochak <ndrochak@gol.com>
313
314         * Assembly.cs: Removed unused variable in catch block.Eliminates a build
315         warning.
316
317 2003-12-29 Ben Maurer  <bmaurer@users.sourceforge.net>
318
319         * MethodBase.cs: Internal method to get param count (this
320         way we can get the info for the ilgen without creating
321         an array, if we override the method).
322
323 2003-12-18  Zoltan Varga  <vargaz@freemail.hu>
324
325         * Assembly.cs: Implement LoadFrom.
326
327 2003-12-17  Zoltan Varga  <vargaz@freemail.hu>
328
329         * Assembly.cs: Add stubs for LoadFile.
330
331 2003-12-16  Zoltan Varga  <vargaz@freemail.hu>
332
333         * Assembly.cs (GetManifestResourceStream): Only load non-embedded
334         resources from files.
335
336 2003-12-15  Zoltan Varga  <vargaz@freemail.hu>
337
338         * MonoField.cs (SetValue): Throw an exception if the value cannot be
339         converted to the field's type. Fixes #52177.
340
341 2003-12-11  Lluis Sanchez Gual <lluis@ximian.com>
342         
343         * AmbiguousMatchException.cs: Added serialization constructor.
344         
345 2003-12-08  Martin Baulig  <martin@ximian.com>
346
347         * MonoGenericInst.cs (MonoGenericParam): New internal class;
348         derives from MonoType.  
349
350 2003-12-08  Patrik Torstensson <p@rxc.se>
351
352         * Binder.cs: Added internal helpers to get derived level and select the 
353         most derived methodbase (used in GetMethodImpl)
354
355 2003-11-25  Zoltan Varga  <vargaz@freemail.hu>
356
357         * Assembly.cs (LoadWithPartialName): Return null instead of throwing
358         an exception to match MS behavior.
359
360 2003-11-24  Zoltan Varga  <vargaz@freemail.hu>
361
362         * MonoMethod.cs: Add missing constructor.
363
364 2003-11-21  Zoltan Varga  <vargaz@freemail.hu>
365
366         * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
367
368 2003-11-16  Martin Baulig  <martin@ximian.com>
369
370         * MonoGenericInst.cs (MonoGenericInst.inflate): Call
371         `parent.inflate (parent,...)' instead of
372         `parent.inflate (reflected,...)'.
373
374 2003-11-16  Zoltan Varga  <vargaz@freemail.hu>
375
376         * Assembly.cs (InternalGetAssemblyName): New icall.
377
378         * AssemblyName.cs (GetAssemblyName): Implement this without loading
379         the assembly in question. Fixes #51035.
380
381 2003-11-14  Martin Baulig  <martin@ximian.com>
382
383         * MonoGenericInst.cs (MonoGenericInst): Added
384         `MonoGenericInst[] interfaces' field.  This is only used for
385         interface types.
386         (MonoGenericInst.inflate): If we're an interface type, add the
387         methods from all interfaces we inherit.
388
389 2003-11-14  Zoltan Varga  <vargaz@freemail.hu>
390
391         * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values 
392         from NET 1.1.
393         
394         * *.cs: Add missing attributes.
395
396 2003-11-11  Todd Berman  <tberman@gentoo.org>
397
398         * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
399
400 2003-11-11  Zoltan Varga  <vargaz@freemail.hu>
401
402         * MonoMethod.cs: Implement CallingConvention member.
403
404 2003-11-10  Zoltan Varga  <vargaz@freemail.hu>
405
406         * Assembly.cs (InternalGetType): Add a 'module' argument so this
407         method can be used from Module as well.
408
409         * Module.cs (GetType): Implement.
410
411         * Module.cs (GetTypes): Implement.
412
413         * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
414 2003-11-08  Martin Baulig  <martin@ximian.com>
415
416         * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
417         a private `IntPtr ginst' field.
418         (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
419
420 2003-11-02  Martin Baulig  <martin@ximian.com>
421
422         * MonoGenericInst.cs (MonoGenericInst.initialize): Include members
423         from our parent classes in the `methods', `ctors' and `fields'
424         arrays.  When inflating them, reflection now sets their
425         `declaring_type' and `reflected_type' fields.
426         (MonoInflatedMethod, MonoInflatedCtor): Added
427         `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
428         fields and override the `DeclaringType' and `ReflectedType' properties.
429
430 2003-11-02  Martin Baulig  <martin@ximian.com>
431
432         * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
433
434 2003-10-31  Martin Baulig  <martin@ximian.com>
435
436         * MonoGenericInst.cs (MonoInflatedField): New internal class.
437         (MonoGenericInst.GetFields): Override this method and inflate
438         the fields.
439
440         * MonoField.cs: Don't make this class sealed.
441
442 2003-10-30  Martin Baulig  <martin@ximian.com>
443
444         * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
445         internal classes.
446
447 2003-10-25  Martin Baulig  <martin@ximian.com>
448
449         * MonoGenericInst.cs: New internal class.
450
451 2003-10-18  Martin Baulig  <martin@ximian.com>
452
453         * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
454         abstract; use an interncall in MonoMethod and a custom
455         implementation in MethodBuilder.        
456
457 2003-10-17  Pedro Martínez Juliá  <yoros@wanadoo.es>
458
459         * MonoEvent.cs: implement ToString method as in MS.NET.
460
461         * MonoMethod.cs: fix some differences between mono and MS.NET
462         implementation of ToString.
463
464 2003-10-17  Zoltan Varga  <vargaz@freemail.hu>
465
466         * AssemblyName.cs: Fix Version property when some version fields are
467         undefined.
468
469 2003-10-17  Martin Baulig  <martin@ximian.com>
470
471         * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
472         (MethodInfo.BindGenericParameters): New method.
473
474 2003-10-16  Martin Baulig  <martin@ximian.com>
475
476         * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
477         property.       
478
479 2003-08-08  Lluis Sanchez Gual  <lluis@ximian.com>
480
481         * ParameterInfo.cs: Modified constructor of ParameterInfo for
482           the return type of a method. Since parameter positions are
483           zero-based, the position of the return type must be is -1.
484
485 2003-08-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
486
487         * TargetInvocationException.cs: Fixed signature
488
489 2003-07-24  Miguel de Icaza  <miguel@ximian.com>
490
491         * TypeDelegator.cs: Added generics stubs.
492
493 2003-07-21  Lluis Sanchez Gual  <lluis@ximian.com>
494
495         * ParameterInfo.cs: Position is zero-based in ParameterInfo.
496           Set the right position value when getting from ParameterBuilder.
497
498 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
499
500         * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
501         finer-grained icalls. Requires a matching runtime.
502
503 2003-07-11  Zoltan Varga  <vargaz@freemail.hu>
504
505         * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
506
507         * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
508
509 2003-07-10  Zoltan Varga  <vargaz@freemail.hu>
510
511         * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
512
513 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
514
515         * Pointer.cs: implemented.
516
517 2003-06-15  Zoltan Varga  <vargaz@freemail.hu>
518
519         * EventInfo.cs: Implement IsSpecialName.
520
521 2003-06-10  Zoltan Varga  <vargaz@freemail.hu>
522
523         * Module.cs (Mono_GetGuid): New method to return the GUID of the
524         module.
525
526 2003-05-21  Zoltan Varga  <vargaz@freemail.hu>
527
528         * Module.cs: Implement GetField and its friends.
529
530 2003-05-20  Zoltan Varga  <vargaz@freemail.hu>
531
532         * Assembly.cs (GetManifestResourceStream): Moved handling of 
533         linked resources into managed code using the newly implemented
534         GetManifestResourceInfo () method.
535
536 2003-05-19  Zoltan Varga  <vargaz@freemail.hu>
537
538         * Module.cs: Implemented IsResource.
539
540         * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
541         GetModule, GetLoadedModules methods.
542         * Assembly.cs (GetManifestResourceStream): Added support for 
543         resources in extern assemblies.
544
545 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
546
547         * Assembly.cs: fixed bug #42833.
548
549 2003-05-11  Miguel de Icaza  <miguel@ximian.com>
550
551         * Binder.cs (ChangeType): Very simplistic change.  Am not sure if
552         it is correct, but it makes RemotingCorba move along a bit more
553         (Remoting.Corba invokes Binder.ConvertArgs, which calls
554         Binder.ChangeType with an Attribute [] to Object []).
555
556 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
557
558         * Binder.cs:
559         (check_type): fixed bug #41655.
560
561 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
562
563         * Assembly.cs: implemented GetSatelliteAssembly.
564
565 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
566
567         * Assembly.cs: added GetNamespaces() icall.
568
569 2003-03-17  Zoltan Varga  <vargaz@freemail.hu>
570
571         * FieldInfo.cs (GetFieldFromHandle): Implemented.
572
573 2003-03-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
574
575         * Assembly.cs: added missing stuff. Only ModuleResolve event is left
576         out to avoid changing MonoReflectionAssembly by now.
577         * ModuleResolveEventHandler.cs: delegate.
578
579 2003-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
580
581         * TargetInvocationException.cs: added serialization ctor.
582
583 2003-02-18  Martin Baulig  <martin@ximian.com>
584
585         * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
586         method's metadata token.
587
588 2003-02-04  Sebastien Pouliot  <spouliot@videotron.ca>
589
590         * Module.cs: Corrected indentation for class.
591
592 2003-02-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
593
594         * Binder.cs:
595         (check_type): return true when the target type is object and the source
596         is a value type.
597
598 2003-02-03 Patrik Torstensson
599
600         * Binder.cs: minimize locking time in DefaultBinder.
601
602 2003-02-01  Sebastien Pouliot  <spouliot@videotron.ca>
603
604         * Module.cs: Oups - not implemented. Added MonoTODO to most methods
605         so it's real status get reflected correctly on the web site.
606
607 2003-01-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
608
609         * MonoMethod.cs: implemented GetBaseDefinition ().
610
611 2003-01-28  Patrik Torstensson
612         * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
613         * ReflectionSerializationHolder.cs: Support class for serialization
614
615 2003-01-17  Zoltan Varga  <vargaz@freemail.hu>
616
617         * ParameterInfo.cs: modified constructor so it allows the 
618         ParameterBuilder to be null and add a 'position' argument which will
619         be used when pb is null.
620
621 2003-01-16  Lluis Sanchez Gual <lsg@ctv.es>
622
623         * Assembly.cs: added serialization support.
624
625 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
626
627         * MonoMethod.cs: propagate exceptions from the internal invoke
628         code that need to be propagated.
629
630 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
631
632         * Binder.cs: throw an exception if the number of arguments 
633         when invoking a method is incorrect.
634
635 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
636
637         * Binder.cs: In SelectMethod() look for an exact match first.
638
639 2003-01-01  Rachel Hestilow <hestilow@ximian.com>
640
641         * MonoField.cs (SetValue): Fix logic typo. Check that obj is
642         non-null only for the non-static case.
643
644 2002-12-30  Sebastien Pouliot <spouliot@videotron.ca>
645
646         * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by 
647         Zoltan).
648
649 2002-12-23  Sebastien Pouliot <spouliot@videotron.ca>
650
651         * AssemblyName.cs: GetPublicKey now return an empty array (not null)
652         when an assembly isn't signed with a StrongName (to match MS 
653         implementation) and null when no assembly is referenced. Also removed 
654         commented code (no bug reported so it was probably not used).
655
656 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
657
658         * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
659         provider for the return type of a method.
660
661 2002-12-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
662
663         * AssemblyName.cs: little fix in FullName.
664
665 2002-12-07  Sebastien Pouliot <spouliot@videotron.ca>
666
667         * AssemblyName.cs: Added missing methods/interfaces. Fixed some
668         code to match the MS Framework.
669         * StrongNameKeyPair.cs: Completed the "visible" implementation.
670         There must be some internal methods to allow signing with the key.
671
672 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
673
674         * EventInfo.cs: implemented (Add|Remove)EventHandler.
675
676 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
677
678         * Assembly.cs: implemented GetManifestResourceStream (Type type,
679         * String name).
680
681 2002-11-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
682
683         * Assembly.cs: changed name of GetType (string, bool, bool) to
684         InternalGetType.
685
686 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
687
688         * TargetInvocationException.cs: modified default message.
689
690 2002-10-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
691
692         * MonoProperty.cs:
693         * PropertyInfo.cs: fixed bug #31535.
694
695 2002-09-27  Martin Baulig  <martin@gnome.org>
696
697         * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
698
699 2002-09-24  Martin Baulig  <martin@gnome.org>
700
701         * Assembly.cs (MonoDebugger_GetType): New method to get a Type
702         from its metadata token.  This should only be used by the debugger.
703
704 2002-09-21  Martin Baulig  <martin@gnome.org>
705
706         * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
707         get the type of a local variable from its signature.  This should only
708         be used by the debugger.
709
710 2002-09-20  Martin Baulig  <martin@gnome.org>
711
712         * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
713         from its metadata token.  This should only be used by the debugger.
714
715 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
716
717         * Binder.cs: more default binder implementation.
718
719         * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
720         * MonoMethod.cs: use the binder in the Invoke () implementation.
721         Implemented custom attributes methods and ToString for constructors.
722
723 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
724
725         * Binder.cs: finished the Binder class and implemented the default
726         binder.
727
728 2002-09-03  Martin Baulig  <martin@gnome.org>
729
730         * Assembly.cs (Assembly.Location): Implemented.
731
732 2002-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
733
734         * MonoField.cs:
735         (GetValue): allow obj to be null (used for static fields).
736
737 2002-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
738
739         * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
740         null.
741
742 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
743
744         * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen 
745         <tomi.pakarinen@welho.com>.
746
747 2002-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
748
749         * Assembly.cs: FullName now returns a proper string instead of
750         something like 'file://...'.
751
752         * AssemblyName.cs: added missing ToString method.
753
754 2002-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
755
756         * FieldInfo.cs: implemented SetValue.
757
758 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
759
760         * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
761
762 2002-08-14  Dick Porter  <dick@ximian.com>
763
764         * Assembly.cs: Stub out GetSatelliteAssembly
765
766 2002-08-12  Tim Coleman <tim@timcoleman.com>
767         * MonoProperty.cs:
768                 Allow multiple parameters for GetValue ()
769
770 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
771
772         * Assembly.cs: implemented GetFile() and GetFiles().
773
774 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
775
776         * Assembly.cs: implemented EntryPoint and a few 
777         resource related methods.
778
779 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
780
781         * MethodBase.cs: implemented GetCurrentMethod.
782         * Assembly.cs: implemented GetExecutingAssembly and
783         GetCallingassembly.
784
785 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
786
787         * MonoProperty.cs: handle properties with only a set method.
788
789 2002-05-24  Martin Baulig  <martin@gnome.org>
790
791         * ParameterInfo.cs: Added internal constructor.
792
793 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
794
795         * Assembly.cs: implemented CreateInstance ().
796
797 2002-05-22  Martin Baulig  <martin@gnome.org>
798
799         * MethodBase.cs (get_next_table_index): Added `object obj' argument.
800
801 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
802
803         * EventInfo.cs: more implementation.
804
805 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
806
807         * MonoEvent.cs: fill-in the implementation.
808
809 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
810
811         * Assembly.cs, AssemblyName.cs: updates and fixes.
812
813 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
814
815         * MonoProperty.cs (GetValue) : basic implementation to support nunit
816         * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
817
818 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
819
820         * MonoMethod.c: cache the method name.
821
822 2002-04-12  Duncan Mak  <duncan@ximian.com>
823
824         * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
825         property.
826
827         * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
828         attribute.
829
830         * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
831         Version.
832
833         * BindingFlags.cs: Added missing value "PutRefDispProperty".
834
835         * FieldAttributes.cs: Removed value "HasSecurity".
836
837         * ManifestResourceInfo.cs: Added missing properties FileName,
838         ReferencedAssembly and ResourceLocation.
839
840         * TargetInvocationException.cs: Added the missing constructors.
841
842 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
843
844         * MonoMethod.cs: make Name property an icall.
845
846 2002-04-08  Nick Drochak  <ndrochak@gol.com>
847
848         * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
849         struct and interface.
850
851 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
852
853         * MonoEvent.cs: remove unused code.
854         * MonoProperty: implement ToString().
855
856 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
857
858         * Assembly.cs: implement GetTypes() and GetExportedTypes().
859
860 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
861
862         * MonoEvent.cs: added the needed fields.
863
864 2002-03-20  Martin Baulig  <martin@gnome.org>
865
866         * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
867
868         * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
869
870 2002-03-14  Dietmar Maurer  <dietmar@ximian.com>
871
872         * MonoMethod.cs (Invoke): call InternalInvoke
873
874         * MethodBase.cs (Invoke): call virtual invoke function 
875
876 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
877
878         * EventInfo.cs: add compiler needed methods.
879         * MonoMethod.cs: make ToString() return the return type name, too.
880
881 2002-03-07  Nick Drochak  <ndrochak@gol.com>
882
883         * BindingFlags.cs: Add missing enum values.  Thanks CorCompare.
884
885 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
886
887         * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
888
889 2002-02-26  Duncan Mak  <duncan@ximian.com>
890
891         * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
892
893 2002-02-24 Nick Drochak  <ndrochak@gol.com>
894
895         * AssemblyNameFlags.cs: Use proper member name.  Thanks corcompare!
896
897 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
898
899         * MonoField.cs: implement GetValue as an internalcall.
900         Implemented ToString().
901
902 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
903
904         * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
905         MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
906         related methods.
907
908 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
909
910         * TypeAttributes.cs: update to latest spec.
911
912 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
913
914         * Assembly.cs: handle throwOnError in GetType() call.
915
916 2002-02-07  Duncan Mak  <duncan@ximian.com>
917
918         * AssemblyName.cs: Implemented ISerializable interface for the
919         fields that we have.
920
921 2002-02-05  Duncan Mak  <duncan@ximian.com>
922         
923         * Missing.cs: 
924         * TargetException.cs: Added in CVS.
925
926 2002-01-31  Duncan Mak  <duncan@ximian.com>
927
928         * ReflectionTypeLoadException.cs: Added missing bits.
929
930 2002-01-23  Duncan Mak  <duncan@ximian.com>
931
932         * AssemblyAlgorithmIdAttribute.cs:
933         * AssemblyCompanyAttribute.cs:
934         * AssemblyConfigurationAttribute.cs:
935         * AssemblyCopyrightAttribute.cs:
936         * AssemblyCultureAttribute.cs:
937         * AssemblyDefaultAliasAttribute.cs:
938         * AssemblyDelaySignAttribute.cs:
939         * AssemblyDescriptionAttribute.cs:
940         * AssemblyFileVersionAttribute.cs:
941         * AssemblyFlagsAttribute.cs:
942         * AssemblyInformationalVersionAttribute.cs:
943         * AssemblyKeyFileAttribute.cs:
944         * AssemblyKeyNameAttribute.cs:
945         * AssemblyNameProxy.cs:
946         * AssemblyProductAttribute.cs:
947         * AssemblyTitleAttribute.cs:
948         * AssemblyTradeMarkAttribute.cs:
949         * AssemblyVersionAttribute.cs:
950         * CustomAttributeFormatException.cs:
951         * InvalidFilterCriteriaException.cs:
952         * TargetParameterCountException.cs: Added.
953
954 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
955
956         * Assembly.cs (Assembly.CodeBase): Implement.
957         (Assembly.FullName): simplistic and broken implementation.  Gets
958         us where we were yesterday.
959
960         Code style fix.
961
962 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
963
964         * IReflect.cs: corrected GetMember() return type.
965         * InterfaceMapping.cs, TypeDelegator.cs: implemented.
966
967 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
968
969         * MonoMethod.cs: ToString () implementation.
970
971 2002-01-04  Ravi Pratap  <ravi@ximian.com>
972
973         * Assembly.cs : Decorate missing bits with the MonoTODO
974         attribute.
975
976         * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
977         ReflectionTypeLoadException.cs : Ditto.
978
979         * FieldInfo.cs : Ditto.
980         
981 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
982         
983         * Assembly.cs: trow unimplemented exceptions.
984
985 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
986
987         * MonoMethod.cs: implemented GetParameters().
988         * MonoProperty.cs: PropertyInfo implementation.
989         * ParameterInfo.cs: implemented.
990         * PropertyInfo.cs: fixes.
991
992 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
993
994         * FieldInfo.cs: implemented some Is* propeties.
995         * MethodBase.cs: fixed attribute accessors.
996         * MonoField.cs: runtime object to represent a field.
997         * MonoMethod.cs: runtime object to represent a method.
998         * AssemblyBuilder.cs: GetToken() methods to get tokens for
999         strings, fields, methods...
1000         * ILGenerator.cs: handle tokens for methods.
1001
1002 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
1003
1004         * MethodBase.cs: add internal get_next_table_index() for use in
1005         Reflection.Emit.
1006
1007 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
1008
1009         * Assembly.cs: implement some of the Load() methods.
1010         * ConstructorInfo.cs: some missing stubs and fields.
1011         * FieldInfo.cs: IsInitOnly property.
1012         * ParameterInfo.cs: stubs for missing properties.
1013         * ParameterModifier.cs: implemented class.
1014
1015 2001-11-10  Sean MacIsaac  <macisaac@ximian.com>
1016
1017         * Assembly.cs: Filled in some stub implementations
1018
1019         * ConstructorInfo.cs: Added some stub functions for NUnit
1020
1021 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
1022
1023         * AmbiguousMatchException.cs, 
1024         * Assembly.cs, Module.cs: updates.
1025         * FieldInfo.cs: better compliance to the spec.
1026         * MethodBase.cs: move call_conv out of the way.
1027         * AssemblyBuilder.cs:  don't use internalcalls, more stuff supported.
1028         * FieldBuilder.cs: implemented.
1029         * ILGenerator.cs: implemented some opcode handling.
1030         * Label.cs: add constructor.
1031         * LocalBuilder.cs: implemented.
1032         * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
1033         * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
1034         * ParameterBuilder.cs: implemented.
1035         * PropertyBuilder.cs: implemented.
1036         * TypeBuilder.cs: don't use internalcalls, more stuff working.
1037
1038 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
1039
1040         * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
1041
1042 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
1043
1044         * MethodBase.cs, MethodInfo.cs: added.
1045
1046 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
1047
1048         * Assembly.cs: added stub code.
1049
1050 2001-07-18  Michael Lambert <michaellambert@email.com>
1051
1052         * BindingFlags.cs: Add.