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