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