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