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