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