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