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