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