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