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