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