merge from trunk revisions 58933, 58935, 58936
[mono.git] / mcs / class / corlib / System.Reflection / ChangeLog
1 2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * MonoMethod.cs : made MakeGenericMethod() indirect icall to
4           MakeGenericMethod_impl() and raise an error when it returns null.
5
6 2005-11-15  Zoltan Varga  <vargaz@gmail.com>
7
8         * Module.cs: Add MDStreamVersion property.
9
10         * Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs 
11         CustomAttributeData.cs PortableExecutableKinds.cs 
12         ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
13         updates.
14
15 2005-11-11  Marek Safar  <marek.safar@seznam.cz>
16
17         * MethodBase.cs, TypeDelegator.cs: Reflect Type changes.
18
19 2005-10-30  Zoltan Varga  <vargaz@freemail.hu>
20
21         * FieldInfo.cs: Add an internal UMarshal property which can by
22         overriden in FieldBuilder.
23
24 2005-10-26  Atsushi Enomoto  <atsushi@ximian.com>
25
26         * MonoMethod.cs : (ToString) add suffix " ByRef" for byref parameters.
27           Fixed bug #76541.
28
29 2005-10-04  Martin Baulig  <martin@ximian.com>
30
31         * MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
32         return type from `MonoGenericClass to `Type'.
33
34 2005-09-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>
35
36         * AssemblyName.cs: Add ParseName internal call, to parse
37         long format assembly names. 
38         
39 2005-09-25  Sebastien Pouliot  <sebastien@ximian.com>
40
41         * MonoProperty.cs: Invoke throws a SecurityException but GetValue must
42         throw TargetInvocationException with the SecurityException as an inner
43         exception. See CAS unit tests for System.Web.dll.
44
45 2005-09-20  Martin Baulig  <martin@ximian.com>
46
47         * Assembly.cs: Removed some unused debugger icalls.
48
49 2005-09-17  Zoltan Varga  <vargaz@freemail.hu>
50
51         * Module.cs: Remove obsolete Mvid property.
52
53 2005-09-09  Martin Baulig  <martin@ximian.com>
54
55         Reflect latest API changes in the August CTP.
56
57         * MethodBase.cs (MethodBase.MakeGenericMethod): Removed.
58
59         * MethodInfo.cs (MethodInfo.MakeGenericMethod): Added here.
60
61 2005-09-08  Sebastien Pouliot  <sebastien@ximian.com>
62
63         * AssemblyName.cs: Apply second half of Chris Micacchi's patch
64
65 2005-09-07  Miguel de Icaza  <miguel@novell.com>
66
67         * AssemblyName.cs: Apply patch from Chris Micacchi to serialize
68         the keyToken as "_PublicKeyToken".
69
70 2005-09-05  Martin Baulig  <martin@ximian.com>
71
72         Reflect latest API changes in the August CTP.
73
74         * GenericParameterAttributes.cs: Here.
75
76         * MethodBase.cs (MethodBase.BindGenericParameters): Renamed to
77         MakeGenericMethod().    
78
79 2005-09-05  Martin Baulig  <martin@ximian.com>
80
81         * Assembly.cs (MonoDebugger_GetMethodToken): Don't take an
82         `Assembly' argument.
83
84 2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
85
86         * Assembly.cs: made GetManifestResourceInternal internal. Fixes the
87         build.
88
89 2005-08-05  Gert Driesen <drieseng@users.sourceforge.net>
90
91         * Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
92         * ConstructorInfo.cs: Added GetType() method in 1.1 to match
93         MS.NET, implemented _ConstructorInfo.
94         * EventInfo.cs: Added GetType() method in 1.1 to match MS.NET,
95         implemented _EventInfo.
96         * FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET,
97         implemented _FieldInfo.
98         * MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET,
99         implemented _MemberInfo.
100         * MethodBase.cs: Added GetType() method in 1.1 to match MS.NET,
101         implemented _MethodBase.
102         * MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET,
103         implemented _MethodInfo.
104         * PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET,
105         implemented _PropertyInfo.
106         * TypeAttributes.cs: CustomFormatMask and CustomFormatClass should
107         only be exposed in 2.0 profile.
108
109 2005-07-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>
110
111         * CustomAttributeTypedArgument: Return the name of the
112         enum if the type is an enum in ToString ().
113         
114 2005-06-21  Sebastien Pouliot  <sebastien@ximian.com>
115
116         * Assembly.cs: Create a copy of the evidences and add an instance of 
117         PermissionRequestEvidence to it before resolution. This way the PRE
118         won't be present when asking for evidences later. Removed debugging 
119         code.
120
121 2005-06-13  Michal Moskal <malekith@nemerle.org>
122         
123         * MonoGenericClass.cs: Don't use MethodHandle in GetMethod/GetConstructor,
124         since it now throws on MethodBuilders. Don't use FieldHandle in
125         GetField (throws on FieldBuilder) - just use the name.
126
127 2005-06-15  Sebastien Pouliot  <sebastien@ximian.com>
128
129         * Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
130         FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
131         ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
132         attributes that were added in 1.1 SP1 or 2.0 beta2.
133
134 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
135
136         * Binder.cs: null is ok for a value type. Fixes bug #75241.
137
138 2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>
139
140         * Assembly.cs: UnprotectedGetName is now virtual to allow for more
141         initialization in AssemblyBuilder. The [Granted|Refused]PermissionSet
142         now use the ResolvingPolicyLevel to support the policy 
143         FullTrustAssemblies during resolution.
144         * AssemblyName.cs: Return null instead of "new byte [0]" if no public
145         key is available.
146
147 2005-06-09  Kamil Skalski <nazgul@nemerle.org>
148         * MonoGenericClass.cs: Add overrides of Get{Method,Constructor,Field} 
149         for obtaining instanciated *Info objects from non-instanciated counterparts
150
151
152 2005-06-09  Zoltan Varga  <vargaz@freemail.hu>
153
154         * CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.
155
156         * *.cs: Updates for net 2.0 beta 2.
157
158 2005-06-07  Zoltan Varga  <vargaz@freemail.hu>
159
160         * *.cs: Updates for net 2.0 beta 2.
161
162 2005-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
163
164         * CustomAttributeData.cs: Implemented.
165
166         * CustomAttributeDataNamedArgument.cs: Implemented.
167
168         * CustomAttrbuteDataTypedArgument.cs: Implemented.
169         
170 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
171
172         * Assembly.cs ExceptionHandlingClause.cs: Fix build.
173
174         * ProcessorArchitecture.cs: New file.
175
176         * ExceptionHandlingClause.cs: Update after ExceptionHandlingClauseFlags name change.
177
178         * *.cs: Updates for net 2.0 beta 2.
179
180         * *.cs: Add net 2.0 ComVisibleAttribute.
181
182 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
183
184         * Assembly.cs: if the assembly is loaded from a byte array, Location
185         returns "". Fixes bug #74958.
186
187 2005-06-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>
188
189         * AssemblyName.cs: Changes to support the creation of version
190         instance from icalls. This change also helps to keep the
191         AssemblyName tests running fine.
192         
193 2005-05-26  Ben Maurer  <bmaurer@ximian.com>
194
195         * Binder.cs: Avoid double checked locking and lock on typeof by
196         doing init of the default binder in the cctor.
197
198 2005-05-25  Zoltan Varga  <vargaz@freemail.hu>
199
200         * Assembly.cs: Avoid security checks if Assembly.Location is "".
201
202 2005-05-20  Zoltan Varga  <vargaz@freemail.hu>
203
204         * TypeDelegator.cs: Implement some methods.
205         
206         * TypeDelegator.cs: Revert this as it breaks the build.
207
208         * TypeDelegator.cs: Implement some methods.
209
210 2005-05-19  Satya Sudha K  <ksathyasudha@novell.com>
211             Raja R Harinath  <rharinath@novell.com>
212
213         * Missing.cs (Missing.Value): Initialize.
214
215 2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>
216
217         * Binder.cs: Use IsInstanceOfType instead of IsAssignableFrom
218         since GetType() may not return the correct type if the object is
219         a remoting proxy. This fixes bug #74933.
220
221 2005-05-13  Zoltan Varga  <vargaz@freemail.hu>
222
223         * MonoField.cs: Applied patch from Opened by Michael Meeks (michael@ximian.com). Improve exception message on binding failures.
224
225 2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>
226
227         * MonoField.cs: Added a Clone method. This is needed for serialization.
228
229 2005-05-07  Ben Maurer  <bmaurer@ximian.com>
230
231         * MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.
232
233 2005-05-06  Zoltan Varga  <vargaz@freemail.hu>
234
235         * Module.cs: Update for beta 2.
236
237         * CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.
238
239 2004-05-03  Lluis Sanchez  <lluis@ximian.com>
240
241         * Assembly.cs: Don't remove version and culture information from
242         the name, since it will be used by load_with_partial_name.
243
244 2005-04-14  Sebastien Pouliot  <sebastien@ximian.com>
245
246         * Assembly.cs: Added some CAS security to avoid returning restricted
247         information to partially truster callers (e.g. code base). Added new
248         methods to get the Evidence and AssemblyName so that the security
249         runtime can bootstrap itself (without calling itself).
250
251 2005-04-14  Sebastien Pouliot  <sebastien@ximian.com>
252
253         * Assembly.cs: Added missing null check in GetObjectData.
254
255 2005-04-04  Sebastien Pouliot  <sebastien@ximian.com>
256
257         * AssemblyName.cs: Added a demand for SerializationFormatter on
258         GetObjectData method.
259
260 2005-04-04  Sebastien Pouliot  <sebastien@ximian.com> 
261  
262         * AssemblyName.cs: Implemented EscapedCodeBase using the copy of 
263         System.Uri (System.dll) located in Mono.Security.Uri. Added missing
264         null check in GetObjectData.
265         * Module.cs: Added a FileIOPermission for PathDiscovery on 
266         FullyQualifiedName property (but not on Name property like MS).
267         Added missing null check in GetObjectData.
268         * StrongNameKeyPair.cs: Added demands for unmanaged code to all
269         constructors (as we do not want partially trusted code to create
270         strongnamed assemblies).
271
272 2005-03-30  Zoltan Varga  <vargaz@freemail.hu>
273
274         * Binder.cs (check_type): Fix byref support. Fixes #73972.
275
276 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
277
278         * MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class.
279         * Module.cs: Add a LinkDemand for SerializationFormatter on 
280         GetObjectData method.
281
282 2005-03-16  Sebastien Pouliot  <sebastien@ximian.com>
283
284         * Assembly.cs: Implemented EscapedCodeBase using the copy of 
285         System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.
286
287 2005-03-11  Sebastien Pouliot  <sebastien@ximian.com>
288
289         * MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand 
290         (i.e. stack walk) when reflection is being used to invoke a method.
291
292 2005-02-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>
293
294         * Assembly.cs: LoadFrom: Change signature to support reflection only
295         methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
296         implemented; InvalidOperationException's re-thrown by CreateInstance.
297         Also ReflectionOnly 2.0 property added.
298
299         * MonoMethod.cs: InvalidOperationException's are re-thrown when calling 
300         Invoke method on reflection only assemblies.
301         
302 2005-02-22  Raja R Harinath  <rharinath@novell.com>
303
304         * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
305         'abstract' so that this class can be derived outside of corlib.
306
307 2005-02-16  Miguel de Icaza  <miguel@novell.com>
308
309         * MonoEvent.cs: Put new methods here.
310
311         * EventInfo.cs: Move the methods GetCustomAttributes, and
312         IsDefined from EventInfo to MonoEvent.
313
314         Remove the methods that were not supposed to be exposed: Name,
315         ReflectedType, DeclaringType.
316
317 2005-02-12  Chris Toshok  <toshok@ximian.com>
318
319         * Assembly.cs: Correct the type of MonoDebugger_MakeArrayType.
320
321 2005-02-12  Ben Maurer  <bmaurer@ximian.com>
322
323         * Binder.cs (SelectProperty): Use -1 as the dummy `I don't know
324         how many types' value.
325
326 2005-02-11  Zoltan Varga  <vargaz@freemail.hu>
327
328         * Assembly.cs: Fix warning.
329
330 2005-02-10  Martin Baulig  <martin@ximian.com>
331
332         * Module.cs (MonoDebugger_ResolveType): New internal method.
333
334         * Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
335         (MonoDebugger_GetTypeToken): New internal method.
336
337 2005-02-10  Martin Baulig  <martin@ximian.com>
338
339         * Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.
340
341 2005-02-10  Marek Safar  <marek.safar@seznam.cz>
342
343         * Assembly.cs,
344         * ConstructorInfo.cs,
345         * EventInfo.cs,
346         * FieldInfo.cs,
347         * MemberInfo.cs,
348         * MethodBase.cs,
349         * MethodInfo.cs,
350         * PropertyInfo.cs: ClassInterfaceType is None.
351
352 Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>
353
354         * Module.cs: removed the finalizer and the now unused Close() icall.
355
356 2005-01-21  Sebastien Pouliot  <sebastien@ximian.com>
357
358         * Assembly.cs: Fixed add for ModuleResolve.
359
360 2005-01-19  Zoltan Varga  <vargaz@freemail.hu>
361
362         * LocalVariableInfo.cs: Add ToString method.
363
364         * ExceptionHandlingClause.cs: Implement this.
365
366 2005-01-18  Zoltan Varga  <vargaz@freemail.hu>
367
368         * MethodBase.cs MonoMethod.cs: Hopefully fix the build.
369
370         * MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().
371
372 2005-01-03  Martin Baulig  <martin@ximian.com>
373
374         * MonoGenericMethod.cs
375         (MonoGenericMethod.get_reflected_type): Removed.
376         (MonoGenericMethod.ReflectedType): Make this an icall.
377         (MonoGenericCMethod.ReflectedType): Likewise.   
378
379 2004-12-29  Martin Baulig  <martin@ximian.com>
380
381         * MonoGenericMethod.cs: New file.
382
383 2004-12-21  Sebastien Pouliot  <sebastien@ximian.com> 
384
385         * Assembly.cs: Added private LoadAssemblyPermissions to get the 
386         declarative security permission sets (minimum, optional and refused)
387         for the assembly.
388
389 2004-12-20  Sebastien Pouliot  <sebastien@ximian.com>
390
391         * Assembly.cs: Removed old Demand support (moved in System.Security).
392
393 2004-12-16  Zoltan Varga  <vargaz@freemail.hu>
394
395         * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
396         the gmcs bugs blocking them are fixed.
397
398 2004-12-08  Zoltan Varga  <vargaz@freemail.hu>
399
400         * Assembly.cs: Move corlib_internal field to AssemblyBuilder.
401
402 2004-12-06  Zoltan Varga  <vargaz@freemail.hu>
403
404         * Assembly.cs: Add corlib_internal field.
405
406 2004-11-30  Martin Baulig  <martin@ximian.com>
407
408         * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
409         renamed the class from `MonoGenericInst' to `MonoGenericClass'.
410
411 2004-11-05  Zoltan Varga  <vargaz@freemail.hu>
412
413         * AssemblyName.cs (FullName): Omit default values from full name.
414
415         * Assembly.cs: Implement GetFiles (bool).
416
417         * Binder.cs: Add support for byref types. Fixes #69140.
418
419 2004-10-12  Martin Baulig  <martin@ximian.com>
420
421         * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
422         before calling the *_internal() methods.
423
424 2004-10-12  Zoltan Varga  <vargaz@freemail.hu>
425
426         * MethodBody.cs: Implement this.
427
428 2004-10-08  Zoltan Varga  <vargaz@freemail.hu>
429
430         * Module.cs: Handle the case when the global type does not exists.
431
432 2004-10-03  Zoltan Varga  <vargaz@freemail.hu>
433
434         * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
435         from this class.
436
437 2004-09-28  Zoltan Varga  <vargaz@freemail.hu>
438
439         * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].
440
441         * PropertyInfo.cs: Add stub for GetConstantValue ().    
442
443         * ParameterInfo.cs (marshalAs): Make this private.
444
445         * Module.cs (ModuleHandle): Add [CLSCompliant(false)].
446
447         * LocalVariableInfo.cs MethodBody.cs: Disable default constructor.
448
449         * ExceptionHandlingClause.cs: Disable default constructor.
450
451 2004-09-27  Zoltan Varga  <vargaz@freemail.hu>
452
453         * CustomAttributeData.cs CustomAttributeTypedArgument.cs 
454         CustomAttributeNamedArgument.cs: New files.
455
456         * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
457         ExceptionHandlingClauseFlags.cs: New files.
458
459 2004-09-26  Zoltan Varga  <vargaz@freemail.hu>
460
461         * FieldInfo.cs: Add support for returning MarshalAsAttribute.
462
463         * ParameterInfo.cs: Add marshalAs field, add support for returning
464         MarshalAsAttribute.
465
466 2004-09-25  Zoltan Varga  <vargaz@freemail.hu>
467
468         * Module.cs: Add new 2.0 GetMethods and GetFields methods.
469
470         * ParameterInfo.cs: Add GetPseudoCustomAttributes () method.
471
472 2004-09-24  Zoltan Varga  <vargaz@freemail.hu>
473
474         * MonoField.cs: Add GetFieldOffset.
475
476         * ObfuscationAttribute.cs: Add ApplyToMembers.
477
478         * Assembly.cs: Add stub for ReflectionOnlyLoadFrom.
479         
480         * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.
481
482         * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method.
483
484         * AssemblyNameFlags.cs: Add LongevityUnspecified.
485
486 2004-09-23  Zoltan Varga  <vargaz@freemail.hu>
487
488         * Module.cs: Remove [MonoTODO] from ResolveMember.
489
490         * MemberInfo.cs: Add 'Module' property.
491
492         * AssemblyFlagsAttribute.cs: Add 2.0 stuff.
493
494         * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
495         to LoadWithPartialName on 2.0.
496
497         * AssemblyNameFlags.cs: Add new 2.0 members.
498
499         * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.
500
501         * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.
502
503         * EventInfo.cs: Fix 2.0 build.
504
505         * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.
506
507         * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.
508
509 2004-09-22  Zoltan Varga  <vargaz@freemail.hu>
510
511         * Module.cs: Implement net 2.0 ResolveXXX methods.
512
513         * Module.cs (resolve_token_exception): Fix type of exception thrown.
514
515 2004-09-21  Martin Baulig  <martin@ximian.com>
516
517         * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.
518
519 2004-09-20  Zoltan Varga  <vargaz@freemail.hu>
520
521         * Assembly.cs: Implement 2.0 reflection properties.
522
523         * Module.cs: Implement 2.0 reflection properties. Add 'token' field.
524
525 2004-09-19  Zoltan Varga  <vargaz@freemail.hu>
526
527         * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
528         under 1.0.
529
530         * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.
531
532         * Module.cs: Add ModuleHandle property and new icalls.
533
534 2004-09-18  Zoltan Varga  <vargaz@freemail.hu>
535
536         * Module.cs: Add net 2.0 Mvid property.
537
538 2004-08-30  Sebastien Pouliot  <sebastien@ximian.com>
539
540         * Assembly.cs: Added internal Demand(PermissionSet) for CAS.
541
542 2004-08-30  Zoltan Varga  <vargaz@freemail.hu>
543
544         * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to
545         icalls.
546
547 2004-08-29  Zoltan Varga  <vargaz@freemail.hu>
548
549         * MethodBase.cs (GetMethodFromHandle): Implement.
550
551 2004-08-13  Marek Safar  <marek.safar@seznam.cz>
552
553         * Assembly.cs: Made _minimum, _optional, _refuse fields internal.
554         To be reusable by AssemblyBuilder.
555
556 2004-08-09  Sebastien Pouliot  <sebastien@ximian.com>
557
558         * Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0
559         properties (required for compiling the new unit tests).
560         * PortableExecutableKind.cs: New. Flags for NET_2_0.
561         * ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0.
562
563 2004-08-08  Sebastien Pouliot  <sebastien@ximian.com>
564
565         * Assembly.cs: Get default evidences when no evidences have been 
566         supplied. Added internal methods for CAS.
567         * AssemblyName.cs: New constructor for NET_2_0.
568
569 2004-08-05  Sebastien Pouliot  <sebastien@ximian.com>
570
571         * Assembly.cs: Added new fields for CAS to match the runtime (v23).
572
573 2004-07-29  Martin Baulig  <martin@ximian.com>
574
575         * Module.cs (Mono_GetGuid): Make this static.
576
577 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
578
579         * Module.cs: return just name in ToString (bug #61287).
580
581 2004-07-03  Zoltan Varga  <vargaz@freemail.hu>
582
583         * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
584
585 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
586
587         * Pointer.cs: remove serializable attribute to match MS.NET
588
589 2004-06-17  Gert Driesen <drieseng@users.sourceforge.net>
590         
591         * ParameterModifier.cs: marked serializable, renamed field to match
592         MS.NET, throw ArgumentException when parameter count is less than or
593         equal to zero
594
595 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
596
597         * AssemblyName.cs: added TODO for serialization
598         * Pointer.cs: fixed Box method to return object instead of 
599         Pointer
600
601 2004-06-15  Sebastien Pouliot  <sebastien@ximian.com>
602
603         * MemberInfo.cs: Changed constructor from internal to protected.
604
605 2004-06-11  Martin Baulig  <martin@ximian.com>
606
607         * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
608
609 2004-06-11  Lluis Sanchez  <lluis@ximian.com>
610
611         * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match 
612           MS implementation. Generate the RSA in the constructors.
613
614 2004-06-10  Lluis Sanchez  <lluis@ximian.com>
615
616         * AssemblyName.cs: Added missing fields to serialization methods.
617         * StrongNameKeyPair.cs: Made it compatible with MS serialization.
618
619 2004-06-08  Jacson Harper  <jackson@ximian.com>
620
621         * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
622         runtime. This way the codebase is set properly. The codebase is
623         using g_filename_to_uri which expects a full path.
624         
625 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
626
627         * Binder.cs: don't crash when we have a 'null' argument Type array.
628         Allow it for non-value types. Fixed for both, methods and properties.
629         Closes bug #58846.
630
631 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
632
633         * Binder.cs: default score must be lower than fail_score or we'll get
634         an ambiguous match when no indexers given and one single match is found.
635
636 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
637
638         * Binder.cs: removed ^Ms. In case of several properties matching, try
639         to disambiguate based on the indexer types provider and the conversions
640         from those into the ones of the property.
641
642 2004-05-31  Gert Driesen <drieseng@users.sourceforge.net>
643
644         * Assembly.cs: added missing ComVisible attribute on
645         ImageRuntimeVersion property
646         * ConstructorInfo.cs: added missing attributes on Invoke
647         * EventInfo.cs: added missing attributes
648         * FieldInfo.cs: added missing attributes
649         * MethodBase.cs: added missing attributes
650         * PropertyInfo.cs: added missing attributes
651
652 2004-05-22  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>
653
654         * FieldInfo.cs: changed default constructor from internal to protected, so classes
655         that inherit from it can get build. 
656
657 2004-05-18  Gert Driesen (drieseng@users.sourceforge.net)
658
659         * MonoProperty.cs: return correct MethodInfo for 
660         property with only a get or set method. Fixes
661         bug #58661.
662
663 2004-05-18  Sebastien Pouliot  <sebastien@ximian.com>
664
665         * Assembly.cs: Return an empty Evidence collection to avoid 
666         NullReferenceException from calling code (as this is never
667         null with MS implementation). See bugzilla #53548.
668
669 2004-05-14  Zoltan Varga  <vargaz@freemail.hu>
670
671         * Assembly.cs: Add stub for LoadFrom.
672
673         * Assembly.cs: Fix build.
674
675 2004-05-13  Zoltan Varga  <vargaz@freemail.hu>
676
677         * Assembly.cs: Add ModuleResolve event.
678
679         * Module.cs (Mono_GetGuid): Make this internal.
680
681         * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
682
683 2004-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
684
685         * Binder.cs: check for ambiguous matches in SelectMethod and
686         SelectProperty. Fixes bug #58381.
687
688 2004-05-06  Jackson Harper <jackson@ximian.com>
689
690         * Assembly.cs: remove TODO, this is done.
691         
692 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
693
694         * Assembly.cs: ToString () returns the same as GetName ().ToString ().
695         Fixes bug #58104.
696
697 2004-05-03  Jackson Harper  <jackson@ximian.com>
698
699         * Assembly.cs: Implement LoadWithPartialName. The bulk of this
700         method is done in the runtime.
701         
702 2004-04-29  Lluis Sanchez Gual  <lluis@ximian.com>
703
704         * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
705         is private (it did until now because of a bug). Make sure it works as it 
706         worked before the fix.
707         
708 2004-04-27  Lluis Sanchez Gual  <lluis@ximian.com>
709
710         * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs: 
711           Removed completed     TODOs.
712         * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
713           do not return private methods if nonPublic == false.
714         * ReflectionTypeLoadException.cs: Implemented serialization support.
715
716 2004-04-26  Jackson Harper  <jackson@ximian.com>
717
718         * Assembly.cs: Add icall to determine if an assembly has been
719         loaded from the GAC.
720
721 2004-04-23  Atsushi Enomoto  <atsushi@ximian.com>
722
723         * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
724           The fix should be easier ;)
725
726 2004-04-23  Atsushi Enomoto  <atsushi@ximian.com>
727
728         * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
729           NET_2_0 related build fix.
730
731 2004-04-19  Lluis Sanchez Gual  <lluis@ximian.com>
732
733         * Assembly.cs: Removed TODO for CreateQualifiedName.
734         * AssemblyName.cs: Fixed serialization code.
735         * AssemblyNameProxy.cs: Implemented.
736         * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
737
738 2004-04-07  Martin Baulig  <martin@ximian.com>
739
740         * MonoGenericInst.cs (MonoGenericParam): Removed.
741
742 2004-04-07  Martin Baulig  <martin@ximian.com>
743
744         * MethodBase.cs
745         (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
746
747         * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
748         (MonoGenericInst.GetNestedTypes): Just call
749         `generic_type.GetNestedTypes (bf)' here.
750
751         * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
752         include the type arguments.
753
754 2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>
755
756         * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
757         correct StrongName instance when the ECMA "key" is used.
758
759 2004-04-02  Martin Baulig  <martin@ximian.com>
760
761         * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
762
763 2004-04-01  Martin Baulig  <martin@ximian.com>
764
765         * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
766         this and always return false.
767
768 2004-04-01  Martin Baulig  <martin@ximian.com>
769
770         * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.    
771
772 2004-03-30  Martin Baulig  <martin@ximian.com>
773
774         * MonoGenericInst.cs
775         (MonoGenericParam): Added `bool has_ctor_constraint' field.
776         (MonoGenericParam.SetConstraints): Added `bool
777         has_ctor_constraint' argument.  
778
779 2004-03-29  Martin Baulig  <martin@ximian.com>
780
781         * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
782         virtual property.
783         (MethodBase.HasGenericParameters): Use the "official" behavior
784         here, ie. return false if we're not a generic method.
785
786 2004-03-29  Martin Baulig  <martin@ximian.com>
787
788         * MethodBase.cs: Moved the generics stuff here, made it virtual
789         where neccessary and use the correct API.
790
791 2004-03-24  Sebastien Pouliot  <sebastien@ximian.com>
792
793         * StrongNameKeyPair.cs: Added an internal method to return a 
794         StrongName object (for AssemblyBuilder). Simplified implementation 
795         using Mono.Security.Cryptography.CryptoConvert class.
796
797 2004-03-24  Zoltan Varga  <vargaz@freemail.hu>
798
799         * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
800
801 2004-03-23  Martin Baulig  <martin@ximian.com>
802
803         * MonoGenericInst.cs: Added support for events.
804
805 2004-03-23  Martin Baulig  <martin@ximian.com>
806
807         * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
808         if it's the empty string.
809
810 2004-03-10  Martin Baulig  <martin@ximian.com>
811
812         * MethodBase.cs (MethodBase): Implemented
813         GetGenericMethodDefinition() and HasGenericParameters.
814
815 2004-03-09  Martin Baulig  <martin@ximian.com>
816
817         * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
818         `declaring_type' and `reflected_type'.
819         (MonoEvent): Distinguish between declaring and reflected type.
820
821 2004-02-25  Martin Baulig  <martin@ximian.com>
822
823         * MonoGenericInst.cs
824         (MonoGenericInst.GetNestedTypes): Override this.
825
826 2004-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
827
828         * Binder.cs:
829         (SelectProperty): check the return Type if provided.
830
831 2004-02-17  Martin Baulig  <martin@ximian.com>
832
833         * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
834         support for properties.
835
836 2004-02-17  Martin Baulig  <martin@ximian.com>
837
838         * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
839         class hierarchy and return members from the parent classes.
840         (GetConstructors, GetFields): Likewise.
841
842 2004-02-17  Martin Baulig  <martin@ximian.com>
843
844         * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
845         all the members here; we only do this for members of the current
846         class and only when they're actually queried for.
847
848 2004-02-12  Martin Baulig  <martin@ximian.com>
849
850         * MonoGenericInst.cs (MonoInflatedField): Removed.
851
852         * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
853
854 2004-02-08  Martin Baulig  <martin@ximian.com>
855
856         * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
857         invocations the `reflected' type as `reflected', not `this'.
858         (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
859
860 2004-02-08  Martin Baulig  <martin@ximian.com>
861
862         * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
863         (MonoGenericInst.GetInterfaces_internal): New interncall.
864         (MonoGenericInst): Reflect latest API changes; use GetParentType()
865         and GetInterfaces_internal() instead of the fields.     
866
867 2004-02-06  Martin Baulig  <martin@ximian.com>
868
869         * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
870
871 2004-02-03  Martin Baulig  <martin@ximian.com>
872
873         * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
874
875 2004-01-25  Martin Baulig  <martin@ximian.com>
876
877         * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
878
879 2004-01-19  Zoltan Varga  <vargaz@freemail.hu>
880
881         * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
882         a reference on the Module object which contains the resource.
883
884         * Module.cs: Decrease the image reference count when the Module is
885         garbage collected.
886
887 2004-01-16  Martin Baulig  <martin@ximian.com>
888
889         * Assembly.cs: Make the `MonoDebugger_' methods static.
890
891 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
892
893         * MonoProperty.cs: changed get_property_info so that it only gets the
894         values needed. Reduces the allocations needed.
895
896 2004-01-15  Martin Baulig  <martin@ximian.com>
897
898         * Assembly.cs: Make the `MonoDebugger_' methods internal.
899
900 2004-01-04  Nick Drochak <ndrochak@gol.com>
901
902         * Assembly.cs: Removed unused variable in catch block.Eliminates a build
903         warning.
904
905 2003-12-29 Ben Maurer  <bmaurer@users.sourceforge.net>
906
907         * MethodBase.cs: Internal method to get param count (this
908         way we can get the info for the ilgen without creating
909         an array, if we override the method).
910
911 2003-12-18  Zoltan Varga  <vargaz@freemail.hu>
912
913         * Assembly.cs: Implement LoadFrom.
914
915 2003-12-17  Zoltan Varga  <vargaz@freemail.hu>
916
917         * Assembly.cs: Add stubs for LoadFile.
918
919 2003-12-16  Zoltan Varga  <vargaz@freemail.hu>
920
921         * Assembly.cs (GetManifestResourceStream): Only load non-embedded
922         resources from files.
923
924 2003-12-15  Zoltan Varga  <vargaz@freemail.hu>
925
926         * MonoField.cs (SetValue): Throw an exception if the value cannot be
927         converted to the field's type. Fixes #52177.
928
929 2003-12-11  Lluis Sanchez Gual <lluis@ximian.com>
930         
931         * AmbiguousMatchException.cs: Added serialization constructor.
932         
933 2003-12-08  Martin Baulig  <martin@ximian.com>
934
935         * MonoGenericInst.cs (MonoGenericParam): New internal class;
936         derives from MonoType.  
937
938 2003-12-08  Patrik Torstensson <p@rxc.se>
939
940         * Binder.cs: Added internal helpers to get derived level and select the 
941         most derived methodbase (used in GetMethodImpl)
942
943 2003-11-25  Zoltan Varga  <vargaz@freemail.hu>
944
945         * Assembly.cs (LoadWithPartialName): Return null instead of throwing
946         an exception to match MS behavior.
947
948 2003-11-24  Zoltan Varga  <vargaz@freemail.hu>
949
950         * MonoMethod.cs: Add missing constructor.
951
952 2003-11-21  Zoltan Varga  <vargaz@freemail.hu>
953
954         * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
955
956 2003-11-16  Martin Baulig  <martin@ximian.com>
957
958         * MonoGenericInst.cs (MonoGenericInst.inflate): Call
959         `parent.inflate (parent,...)' instead of
960         `parent.inflate (reflected,...)'.
961
962 2003-11-16  Zoltan Varga  <vargaz@freemail.hu>
963
964         * Assembly.cs (InternalGetAssemblyName): New icall.
965
966         * AssemblyName.cs (GetAssemblyName): Implement this without loading
967         the assembly in question. Fixes #51035.
968
969 2003-11-14  Martin Baulig  <martin@ximian.com>
970
971         * MonoGenericInst.cs (MonoGenericInst): Added
972         `MonoGenericInst[] interfaces' field.  This is only used for
973         interface types.
974         (MonoGenericInst.inflate): If we're an interface type, add the
975         methods from all interfaces we inherit.
976
977 2003-11-14  Zoltan Varga  <vargaz@freemail.hu>
978
979         * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values 
980         from NET 1.1.
981         
982         * *.cs: Add missing attributes.
983
984 2003-11-11  Todd Berman  <tberman@gentoo.org>
985
986         * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
987
988 2003-11-11  Zoltan Varga  <vargaz@freemail.hu>
989
990         * MonoMethod.cs: Implement CallingConvention member.
991
992 2003-11-10  Zoltan Varga  <vargaz@freemail.hu>
993
994         * Assembly.cs (InternalGetType): Add a 'module' argument so this
995         method can be used from Module as well.
996
997         * Module.cs (GetType): Implement.
998
999         * Module.cs (GetTypes): Implement.
1000
1001         * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
1002 2003-11-08  Martin Baulig  <martin@ximian.com>
1003
1004         * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
1005         a private `IntPtr ginst' field.
1006         (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
1007
1008 2003-11-02  Martin Baulig  <martin@ximian.com>
1009
1010         * MonoGenericInst.cs (MonoGenericInst.initialize): Include members
1011         from our parent classes in the `methods', `ctors' and `fields'
1012         arrays.  When inflating them, reflection now sets their
1013         `declaring_type' and `reflected_type' fields.
1014         (MonoInflatedMethod, MonoInflatedCtor): Added
1015         `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
1016         fields and override the `DeclaringType' and `ReflectedType' properties.
1017
1018 2003-11-02  Martin Baulig  <martin@ximian.com>
1019
1020         * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
1021
1022 2003-10-31  Martin Baulig  <martin@ximian.com>
1023
1024         * MonoGenericInst.cs (MonoInflatedField): New internal class.
1025         (MonoGenericInst.GetFields): Override this method and inflate
1026         the fields.
1027
1028         * MonoField.cs: Don't make this class sealed.
1029
1030 2003-10-30  Martin Baulig  <martin@ximian.com>
1031
1032         * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
1033         internal classes.
1034
1035 2003-10-25  Martin Baulig  <martin@ximian.com>
1036
1037         * MonoGenericInst.cs: New internal class.
1038
1039 2003-10-18  Martin Baulig  <martin@ximian.com>
1040
1041         * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
1042         abstract; use an interncall in MonoMethod and a custom
1043         implementation in MethodBuilder.        
1044
1045 2003-10-17  Pedro Martínez Juliá  <yoros@wanadoo.es>
1046
1047         * MonoEvent.cs: implement ToString method as in MS.NET.
1048
1049         * MonoMethod.cs: fix some differences between mono and MS.NET
1050         implementation of ToString.
1051
1052 2003-10-17  Zoltan Varga  <vargaz@freemail.hu>
1053
1054         * AssemblyName.cs: Fix Version property when some version fields are
1055         undefined.
1056
1057 2003-10-17  Martin Baulig  <martin@ximian.com>
1058
1059         * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
1060         (MethodInfo.BindGenericParameters): New method.
1061
1062 2003-10-16  Martin Baulig  <martin@ximian.com>
1063
1064         * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
1065         property.       
1066
1067 2003-08-08  Lluis Sanchez Gual  <lluis@ximian.com>
1068
1069         * ParameterInfo.cs: Modified constructor of ParameterInfo for
1070           the return type of a method. Since parameter positions are
1071           zero-based, the position of the return type must be is -1.
1072
1073 2003-08-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1074
1075         * TargetInvocationException.cs: Fixed signature
1076
1077 2003-07-24  Miguel de Icaza  <miguel@ximian.com>
1078
1079         * TypeDelegator.cs: Added generics stubs.
1080
1081 2003-07-21  Lluis Sanchez Gual  <lluis@ximian.com>
1082
1083         * ParameterInfo.cs: Position is zero-based in ParameterInfo.
1084           Set the right position value when getting from ParameterBuilder.
1085
1086 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
1087
1088         * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
1089         finer-grained icalls. Requires a matching runtime.
1090
1091 2003-07-11  Zoltan Varga  <vargaz@freemail.hu>
1092
1093         * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
1094
1095         * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
1096
1097 2003-07-10  Zoltan Varga  <vargaz@freemail.hu>
1098
1099         * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
1100
1101 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
1102
1103         * Pointer.cs: implemented.
1104
1105 2003-06-15  Zoltan Varga  <vargaz@freemail.hu>
1106
1107         * EventInfo.cs: Implement IsSpecialName.
1108
1109 2003-06-10  Zoltan Varga  <vargaz@freemail.hu>
1110
1111         * Module.cs (Mono_GetGuid): New method to return the GUID of the
1112         module.
1113
1114 2003-05-21  Zoltan Varga  <vargaz@freemail.hu>
1115
1116         * Module.cs: Implement GetField and its friends.
1117
1118 2003-05-20  Zoltan Varga  <vargaz@freemail.hu>
1119
1120         * Assembly.cs (GetManifestResourceStream): Moved handling of 
1121         linked resources into managed code using the newly implemented
1122         GetManifestResourceInfo () method.
1123
1124 2003-05-19  Zoltan Varga  <vargaz@freemail.hu>
1125
1126         * Module.cs: Implemented IsResource.
1127
1128         * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
1129         GetModule, GetLoadedModules methods.
1130         * Assembly.cs (GetManifestResourceStream): Added support for 
1131         resources in extern assemblies.
1132
1133 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1134
1135         * Assembly.cs: fixed bug #42833.
1136
1137 2003-05-11  Miguel de Icaza  <miguel@ximian.com>
1138
1139         * Binder.cs (ChangeType): Very simplistic change.  Am not sure if
1140         it is correct, but it makes RemotingCorba move along a bit more
1141         (Remoting.Corba invokes Binder.ConvertArgs, which calls
1142         Binder.ChangeType with an Attribute [] to Object []).
1143
1144 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1145
1146         * Binder.cs:
1147         (check_type): fixed bug #41655.
1148
1149 2003-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1150
1151         * Assembly.cs: implemented GetSatelliteAssembly.
1152
1153 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
1154
1155         * Assembly.cs: added GetNamespaces() icall.
1156
1157 2003-03-17  Zoltan Varga  <vargaz@freemail.hu>
1158
1159         * FieldInfo.cs (GetFieldFromHandle): Implemented.
1160
1161 2003-03-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1162
1163         * Assembly.cs: added missing stuff. Only ModuleResolve event is left
1164         out to avoid changing MonoReflectionAssembly by now.
1165         * ModuleResolveEventHandler.cs: delegate.
1166
1167 2003-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1168
1169         * TargetInvocationException.cs: added serialization ctor.
1170
1171 2003-02-18  Martin Baulig  <martin@ximian.com>
1172
1173         * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
1174         method's metadata token.
1175
1176 2003-02-04  Sebastien Pouliot  <spouliot@videotron.ca>
1177
1178         * Module.cs: Corrected indentation for class.
1179
1180 2003-02-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1181
1182         * Binder.cs:
1183         (check_type): return true when the target type is object and the source
1184         is a value type.
1185
1186 2003-02-03 Patrik Torstensson
1187
1188         * Binder.cs: minimize locking time in DefaultBinder.
1189
1190 2003-02-01  Sebastien Pouliot  <spouliot@videotron.ca>
1191
1192         * Module.cs: Oups - not implemented. Added MonoTODO to most methods
1193         so it's real status get reflected correctly on the web site.
1194
1195 2003-01-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1196
1197         * MonoMethod.cs: implemented GetBaseDefinition ().
1198
1199 2003-01-28  Patrik Torstensson
1200         * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
1201         * ReflectionSerializationHolder.cs: Support class for serialization
1202
1203 2003-01-17  Zoltan Varga  <vargaz@freemail.hu>
1204
1205         * ParameterInfo.cs: modified constructor so it allows the 
1206         ParameterBuilder to be null and add a 'position' argument which will
1207         be used when pb is null.
1208
1209 2003-01-16  Lluis Sanchez Gual <lsg@ctv.es>
1210
1211         * Assembly.cs: added serialization support.
1212
1213 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
1214
1215         * MonoMethod.cs: propagate exceptions from the internal invoke
1216         code that need to be propagated.
1217
1218 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
1219
1220         * Binder.cs: throw an exception if the number of arguments 
1221         when invoking a method is incorrect.
1222
1223 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
1224
1225         * Binder.cs: In SelectMethod() look for an exact match first.
1226
1227 2003-01-01  Rachel Hestilow <hestilow@ximian.com>
1228
1229         * MonoField.cs (SetValue): Fix logic typo. Check that obj is
1230         non-null only for the non-static case.
1231
1232 2002-12-30  Sebastien Pouliot <spouliot@videotron.ca>
1233
1234         * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by 
1235         Zoltan).
1236
1237 2002-12-23  Sebastien Pouliot <spouliot@videotron.ca>
1238
1239         * AssemblyName.cs: GetPublicKey now return an empty array (not null)
1240         when an assembly isn't signed with a StrongName (to match MS 
1241         implementation) and null when no assembly is referenced. Also removed 
1242         commented code (no bug reported so it was probably not used).
1243
1244 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
1245
1246         * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
1247         provider for the return type of a method.
1248
1249 2002-12-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1250
1251         * AssemblyName.cs: little fix in FullName.
1252
1253 2002-12-07  Sebastien Pouliot <spouliot@videotron.ca>
1254
1255         * AssemblyName.cs: Added missing methods/interfaces. Fixed some
1256         code to match the MS Framework.
1257         * StrongNameKeyPair.cs: Completed the "visible" implementation.
1258         There must be some internal methods to allow signing with the key.
1259
1260 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1261
1262         * EventInfo.cs: implemented (Add|Remove)EventHandler.
1263
1264 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
1265
1266         * Assembly.cs: implemented GetManifestResourceStream (Type type,
1267         * String name).
1268
1269 2002-11-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1270
1271         * Assembly.cs: changed name of GetType (string, bool, bool) to
1272         InternalGetType.
1273
1274 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1275
1276         * TargetInvocationException.cs: modified default message.
1277
1278 2002-10-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1279
1280         * MonoProperty.cs:
1281         * PropertyInfo.cs: fixed bug #31535.
1282
1283 2002-09-27  Martin Baulig  <martin@gnome.org>
1284
1285         * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
1286
1287 2002-09-24  Martin Baulig  <martin@gnome.org>
1288
1289         * Assembly.cs (MonoDebugger_GetType): New method to get a Type
1290         from its metadata token.  This should only be used by the debugger.
1291
1292 2002-09-21  Martin Baulig  <martin@gnome.org>
1293
1294         * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
1295         get the type of a local variable from its signature.  This should only
1296         be used by the debugger.
1297
1298 2002-09-20  Martin Baulig  <martin@gnome.org>
1299
1300         * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
1301         from its metadata token.  This should only be used by the debugger.
1302
1303 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1304
1305         * Binder.cs: more default binder implementation.
1306
1307         * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
1308         * MonoMethod.cs: use the binder in the Invoke () implementation.
1309         Implemented custom attributes methods and ToString for constructors.
1310
1311 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
1312
1313         * Binder.cs: finished the Binder class and implemented the default
1314         binder.
1315
1316 2002-09-03  Martin Baulig  <martin@gnome.org>
1317
1318         * Assembly.cs (Assembly.Location): Implemented.
1319
1320 2002-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1321
1322         * MonoField.cs:
1323         (GetValue): allow obj to be null (used for static fields).
1324
1325 2002-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1326
1327         * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
1328         null.
1329
1330 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
1331
1332         * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen 
1333         <tomi.pakarinen@welho.com>.
1334
1335 2002-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1336
1337         * Assembly.cs: FullName now returns a proper string instead of
1338         something like 'file://...'.
1339
1340         * AssemblyName.cs: added missing ToString method.
1341
1342 2002-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1343
1344         * FieldInfo.cs: implemented SetValue.
1345
1346 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1347
1348         * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
1349
1350 2002-08-14  Dick Porter  <dick@ximian.com>
1351
1352         * Assembly.cs: Stub out GetSatelliteAssembly
1353
1354 2002-08-12  Tim Coleman <tim@timcoleman.com>
1355         * MonoProperty.cs:
1356                 Allow multiple parameters for GetValue ()
1357
1358 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
1359
1360         * Assembly.cs: implemented GetFile() and GetFiles().
1361
1362 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
1363
1364         * Assembly.cs: implemented EntryPoint and a few 
1365         resource related methods.
1366
1367 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
1368
1369         * MethodBase.cs: implemented GetCurrentMethod.
1370         * Assembly.cs: implemented GetExecutingAssembly and
1371         GetCallingassembly.
1372
1373 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
1374
1375         * MonoProperty.cs: handle properties with only a set method.
1376
1377 2002-05-24  Martin Baulig  <martin@gnome.org>
1378
1379         * ParameterInfo.cs: Added internal constructor.
1380
1381 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
1382
1383         * Assembly.cs: implemented CreateInstance ().
1384
1385 2002-05-22  Martin Baulig  <martin@gnome.org>
1386
1387         * MethodBase.cs (get_next_table_index): Added `object obj' argument.
1388
1389 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
1390
1391         * EventInfo.cs: more implementation.
1392
1393 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1394
1395         * MonoEvent.cs: fill-in the implementation.
1396
1397 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1398
1399         * Assembly.cs, AssemblyName.cs: updates and fixes.
1400
1401 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
1402
1403         * MonoProperty.cs (GetValue) : basic implementation to support nunit
1404         * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
1405
1406 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1407
1408         * MonoMethod.c: cache the method name.
1409
1410 2002-04-12  Duncan Mak  <duncan@ximian.com>
1411
1412         * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
1413         property.
1414
1415         * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
1416         attribute.
1417
1418         * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
1419         Version.
1420
1421         * BindingFlags.cs: Added missing value "PutRefDispProperty".
1422
1423         * FieldAttributes.cs: Removed value "HasSecurity".
1424
1425         * ManifestResourceInfo.cs: Added missing properties FileName,
1426         ReferencedAssembly and ResourceLocation.
1427
1428         * TargetInvocationException.cs: Added the missing constructors.
1429
1430 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1431
1432         * MonoMethod.cs: make Name property an icall.
1433
1434 2002-04-08  Nick Drochak  <ndrochak@gol.com>
1435
1436         * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
1437         struct and interface.
1438
1439 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
1440
1441         * MonoEvent.cs: remove unused code.
1442         * MonoProperty: implement ToString().
1443
1444 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
1445
1446         * Assembly.cs: implement GetTypes() and GetExportedTypes().
1447
1448 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
1449
1450         * MonoEvent.cs: added the needed fields.
1451
1452 2002-03-20  Martin Baulig  <martin@gnome.org>
1453
1454         * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
1455
1456         * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
1457
1458 2002-03-14  Dietmar Maurer  <dietmar@ximian.com>
1459
1460         * MonoMethod.cs (Invoke): call InternalInvoke
1461
1462         * MethodBase.cs (Invoke): call virtual invoke function 
1463
1464 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
1465
1466         * EventInfo.cs: add compiler needed methods.
1467         * MonoMethod.cs: make ToString() return the return type name, too.
1468
1469 2002-03-07  Nick Drochak  <ndrochak@gol.com>
1470
1471         * BindingFlags.cs: Add missing enum values.  Thanks CorCompare.
1472
1473 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1474
1475         * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
1476
1477 2002-02-26  Duncan Mak  <duncan@ximian.com>
1478
1479         * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
1480
1481 2002-02-24 Nick Drochak  <ndrochak@gol.com>
1482
1483         * AssemblyNameFlags.cs: Use proper member name.  Thanks corcompare!
1484
1485 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
1486
1487         * MonoField.cs: implement GetValue as an internalcall.
1488         Implemented ToString().
1489
1490 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
1491
1492         * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
1493         MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
1494         related methods.
1495
1496 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
1497
1498         * TypeAttributes.cs: update to latest spec.
1499
1500 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
1501
1502         * Assembly.cs: handle throwOnError in GetType() call.
1503
1504 2002-02-07  Duncan Mak  <duncan@ximian.com>
1505
1506         * AssemblyName.cs: Implemented ISerializable interface for the
1507         fields that we have.
1508
1509 2002-02-05  Duncan Mak  <duncan@ximian.com>
1510         
1511         * Missing.cs: 
1512         * TargetException.cs: Added in CVS.
1513
1514 2002-01-31  Duncan Mak  <duncan@ximian.com>
1515
1516         * ReflectionTypeLoadException.cs: Added missing bits.
1517
1518 2002-01-23  Duncan Mak  <duncan@ximian.com>
1519
1520         * AssemblyAlgorithmIdAttribute.cs:
1521         * AssemblyCompanyAttribute.cs:
1522         * AssemblyConfigurationAttribute.cs:
1523         * AssemblyCopyrightAttribute.cs:
1524         * AssemblyCultureAttribute.cs:
1525         * AssemblyDefaultAliasAttribute.cs:
1526         * AssemblyDelaySignAttribute.cs:
1527         * AssemblyDescriptionAttribute.cs:
1528         * AssemblyFileVersionAttribute.cs:
1529         * AssemblyFlagsAttribute.cs:
1530         * AssemblyInformationalVersionAttribute.cs:
1531         * AssemblyKeyFileAttribute.cs:
1532         * AssemblyKeyNameAttribute.cs:
1533         * AssemblyNameProxy.cs:
1534         * AssemblyProductAttribute.cs:
1535         * AssemblyTitleAttribute.cs:
1536         * AssemblyTradeMarkAttribute.cs:
1537         * AssemblyVersionAttribute.cs:
1538         * CustomAttributeFormatException.cs:
1539         * InvalidFilterCriteriaException.cs:
1540         * TargetParameterCountException.cs: Added.
1541
1542 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
1543
1544         * Assembly.cs (Assembly.CodeBase): Implement.
1545         (Assembly.FullName): simplistic and broken implementation.  Gets
1546         us where we were yesterday.
1547
1548         Code style fix.
1549
1550 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
1551
1552         * IReflect.cs: corrected GetMember() return type.
1553         * InterfaceMapping.cs, TypeDelegator.cs: implemented.
1554
1555 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1556
1557         * MonoMethod.cs: ToString () implementation.
1558
1559 2002-01-04  Ravi Pratap  <ravi@ximian.com>
1560
1561         * Assembly.cs : Decorate missing bits with the MonoTODO
1562         attribute.
1563
1564         * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
1565         ReflectionTypeLoadException.cs : Ditto.
1566
1567         * FieldInfo.cs : Ditto.
1568         
1569 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
1570         
1571         * Assembly.cs: trow unimplemented exceptions.
1572
1573 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
1574
1575         * MonoMethod.cs: implemented GetParameters().
1576         * MonoProperty.cs: PropertyInfo implementation.
1577         * ParameterInfo.cs: implemented.
1578         * PropertyInfo.cs: fixes.
1579
1580 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
1581
1582         * FieldInfo.cs: implemented some Is* propeties.
1583         * MethodBase.cs: fixed attribute accessors.
1584         * MonoField.cs: runtime object to represent a field.
1585         * MonoMethod.cs: runtime object to represent a method.
1586         * AssemblyBuilder.cs: GetToken() methods to get tokens for
1587         strings, fields, methods...
1588         * ILGenerator.cs: handle tokens for methods.
1589
1590 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
1591
1592         * MethodBase.cs: add internal get_next_table_index() for use in
1593         Reflection.Emit.
1594
1595 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
1596
1597         * Assembly.cs: implement some of the Load() methods.
1598         * ConstructorInfo.cs: some missing stubs and fields.
1599         * FieldInfo.cs: IsInitOnly property.
1600         * ParameterInfo.cs: stubs for missing properties.
1601         * ParameterModifier.cs: implemented class.
1602
1603 2001-11-10  Sean MacIsaac  <macisaac@ximian.com>
1604
1605         * Assembly.cs: Filled in some stub implementations
1606
1607         * ConstructorInfo.cs: Added some stub functions for NUnit
1608
1609 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
1610
1611         * AmbiguousMatchException.cs, 
1612         * Assembly.cs, Module.cs: updates.
1613         * FieldInfo.cs: better compliance to the spec.
1614         * MethodBase.cs: move call_conv out of the way.
1615         * AssemblyBuilder.cs:  don't use internalcalls, more stuff supported.
1616         * FieldBuilder.cs: implemented.
1617         * ILGenerator.cs: implemented some opcode handling.
1618         * Label.cs: add constructor.
1619         * LocalBuilder.cs: implemented.
1620         * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
1621         * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
1622         * ParameterBuilder.cs: implemented.
1623         * PropertyBuilder.cs: implemented.
1624         * TypeBuilder.cs: don't use internalcalls, more stuff working.
1625
1626 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
1627
1628         * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
1629
1630 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
1631
1632         * MethodBase.cs, MethodInfo.cs: added.
1633
1634 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
1635
1636         * Assembly.cs: added stub code.
1637
1638 2001-07-18  Michael Lambert <michaellambert@email.com>
1639
1640         * BindingFlags.cs: Add.