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