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