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