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