1 2010-07-28 Jb Evain <jbevain@novell.com>
3 * Assembly.cs: add IsFullyTrusted stub.
5 Thu Jul 22 11:05:04 CEST 2010 Paolo Molaro <lupus@ximian.com>
7 * Module.cs: added == and != operators for 4.0.
9 2010-06-21 Jb Evain <jbevain@novell.com>
15 Make Assembly and Module abstract on Moonlight too.
17 2010-06-03 Jb Evain <jbevain@novell.com>
19 * Assembly.cs: add net_4_0's PermissionSet property.
21 2010-05-27 Jb Evain <jbevain@novell.com>
23 * Assembly.cs (Load*): add net_4_0 overloads.
25 2010-05-13 Rodrigo Kumpera <rkumpera@novell.com>
27 * MonoAssembly.cs: Fix a 2.0 corlib test failure.
29 2010-04-20 Rodrigo Kumpera <rkumpera@novell.com>
31 * Binder.cs (SelectMethod): Exact matching must check
32 all entries because if two of them match, we must use
35 * Binder.cs (GetBetterMethod): Don't give generic method
36 definition special treatment.
40 2010-04-08 Rodrigo Kumpera <rkumpera@novell.com>
42 * MonoGenericClass.cs: Implement ResolveInternal.
44 2010-04-08 Rodrigo Kumpera <rkumpera@novell.com>
46 * MonoField.cs (Get|Set)Value: Check if obj is compatible
49 2010-04-02 Marek Safar <marek.safar@gmail.com>
51 * MethodBase.cs: Made GetParameterCount abstract and implement
52 where missing to avoid redundant allocations.
54 2010-04-01 Rodrigo Kumpera <rkumpera@novell.com>
56 * Module.cs (GetMethod): Check for null 'types' argument.
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
63 2010-04-01 Jb Evain <jbevain@novell.com>
65 * Module.cs: make Module abstract on net_4_0.
67 2010-03-31 Rodrigo Kumpera <rkumpera@novell.com>
70 * MonoModule.cs: Implement MetadataToken, FullyQualifiedName,
71 ModuleVersionId, MDStreamVersion, ScopeName,
74 2010-03-31 Rodrigo Kumpera <rkumpera@novell.com>
77 * MonoModule.cs: Implement GetSignerCertificate and
80 2010-03-31 Rodrigo Kumpera <rkumpera@novell.com>
83 * MonoModule.cs: Implement ResolveMember, ResolveMethod,
84 ResolveString, ResolveType, ResolveSignature and
87 2010-03-31 Rodrigo Kumpera <rkumpera@novell.com>
90 * MonoModule.cs: Implement GetField, GetFields,
91 GetMethodImpl, GetPEKind, GetType, IsDefined and
94 2010-03-31 Rodrigo Kumpera <rkumpera@novell.com>
97 * MonoModule.cs: Implement GetCustomAttributesData.
99 2010-03-31 Rodrigo Kumpera <rkumpera@novell.com>
102 * MonoModule.cs: Implement GetCustomAttributes.
104 2010-03-31 Rodrigo Kumpera <rkumpera@novell.com>
107 * MonoModule.cs: Implement FindTypes.
109 2010-03-31 Rodrigo Kumpera <rkumpera@novell.com>
111 * Assembly.cs: Raise the right exception.
113 2010-03-31 Rodrigo Kumpera <rkumpera@novell.com>
115 * Module.cs: Make .ctor protected under v4.
116 * MonoModule.cs: Implement IsResource.
118 2010-03-31 Rodrigo Kumpera <rkumpera@novell.com>
120 * Module.cs: Make it a partial class under !v4.
122 * MonoModule.cs: New type that exists only under
123 v4. Under v2 it is a part of Module.
125 This is the initial setup to make v4 Module an
126 abstract type where all methods raise exceptions.
128 2010-03-30 Jb Evain <jbevain@novell.com>
130 * MonoAssembly.cs: make MonoAssembly non public.
132 2010-03-30 Jb Evain <jbevain@novell.com>
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.
137 2010-03-30 Jb Evain <jbevain@novell.com>
139 * Binder.cs: when invoking a params method, pack the params
140 arguments before doing the actual invocation.
144 2010-03-26 Rodrigo Kumpera <rkumpera@novell.com>
146 * Assembly.cs: Add IsDynamic.
148 2010-03-26 Rodrigo Kumpera <rkumpera@novell.com>
151 * Assembly.cs: Add missing MonoTODO.
153 2010-03-26 Rodrigo Kumpera <rkumpera@novell.com>
155 * Assembly.cs: Add v4 ==, != and GetHashCode ()
157 2010-03-25 Rodrigo Kumpera <rkumpera@novell.com>
159 * Assembly.cs: Add v4 obsolete attribute.
161 2010-03-25 Rodrigo Kumpera <rkumpera@novell.com>
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.
170 2010-03-24 Rodrigo Kumpera <rkumpera@novell.com>
172 * Assembly.cs: Make it a partial class under !v4.
174 * MonoAssembly.cs: New type that exists only under
175 v4. Under v2 it is a part of Assembly.
177 This is the initial setup to make v4 Assembly an
178 abstract type where all methods raise exceptions.
180 2010-03-24 Rolf Bjarne Kvinge <RKvinge@novell.com>
182 * MethodInfo.cs: Exclude IsGenericMethod* and ContainsGenericParameters
185 2010-03-16 Jb Evain <jbevain@novell.com>
187 * Assembly.cs: use MOONLIGHT symbol to
188 disambiguate MonoTouch and Moonlight code.
190 2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
192 * EventInfo.cs: Some v4 adjustments.
194 2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
196 * MethodInfo.cs: New v4 stuff.
198 2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
200 * ManifestResourceInfo.cs: New v4 .ctor.
202 2010-02-28 Rodrigo Kumpera <rkumpera@novell.com>
204 * CustomAttributeData.cs:
205 * ExceptionHandlingClause.cs:
206 * LocalVariableInfo.cs: Add some v4 bits.
208 2010-02-26 Rodrigo Kumpera <rkumpera@novell.com>
210 * PropertyInfo.cs: Small hack to avoid having cor-compare
211 flagging Get(Raw)ConstantValue as not implemented.
213 2010-02-24 Rodrigo Kumpera <rkumpera@novell.com>
215 * MethodBody.cs: Add v4 bits.
217 2010-02-11 Rodrigo Kumpera <rkumpera@novell.com>
219 * MethodBody.cs: Add v4 bits.
221 2010-02-11 Rodrigo Kumpera <rkumpera@novell.com>
223 * MethodBase.cs: Add some v4 bits.
225 2010-02-11 Rodrigo Kumpera <rkumpera@novell.com>
227 * MemberInfo.cs: Add GetCustomAttributesData.
236 * ParameterInfo.cs: Implement GetCustomAttributesData.
238 2010-02-11 Rodrigo Kumpera <rkumpera@novell.com>
240 * MemberInfo.cs: Add some v4 bits.
242 2010-02-11 Rodrigo Kumpera <rkumpera@novell.com>
244 * MethodImplAttributes.cs: Add NoOptimization flag.
246 2010-02-11 Marek Habersack <mhabersack@novell.com>
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
253 2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
255 * FieldInfo.cs: Add some v4 bits.
257 2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
259 * EventInfo.cs: Add some v4 bits.
261 2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
263 * ConstructorInfo.cs: Add some v4 bits.
265 2010-02-10 Rodrigo Kumpera <rkumpera@novell.com>
267 * PropertyInfo.cs: Remove a pair of MonoTODO.
269 * MonoProperty.cs: Implement GetConstantValue and GetRawConstantValue.
271 2010-02-05 Rodrigo Kumpera <rkumpera@novell.com>
273 * MonoMethod.cs (GetParameters): Must return a copy instead of the interned array.
275 * MonoMethod.cs (Invoke): Skip array clone in GetParameters.
277 * MonoProperty.cs (GetIndexParameters): Properly handle write-only indexed properties.
278 Return a ParameterInfo object bound to the properly and not to the method.
280 * ParameterInfo.cs: Add new constructor that copies all fields but Member.
282 * ParameterInfo.cs (MetadataToken): Properly handle tokens of non-method members.
284 2010-01-31 Zoltan Varga <vargaz@gmail.com>
286 * MonoGenericClass.cs: Fix a warning.
288 2010-01-28 Rolf Bjarne Kvinge <RKvinge@novell.com>
290 * Assembly.cs: GetSatelliteAssembly: Ask LoadSatellite to not throw
291 exceptions, since we ignore them anyway.
293 2010-01-05 Rodrigo Kumpera <rkumpera@novell.com>
295 * ParameterInfo.cs (DefaultProperty): Fix small typo.
297 2010-01-05 Rodrigo Kumpera <rkumpera@novell.com>
299 * ParameterInfo.cs (DefaultProperty): Add support for DateTime defaults.
301 * ParameterInfo.cs: Implements RawDefaultProperty.
303 2009-12-17 Rodrigo Kumpera <rkumpera@novell.com>
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
308 The returned methods might contains some that are not from a generic type
309 so we need to guard against this as well.
311 * MonoGenericClass.cs (GetMethodsInternal): Guard against methods that don't
312 belong to a GTD as well.
314 2009-12-14 Rodrigo Kumpera <rkumpera@novell.com>
316 * MonoGenericClass.cs: Remove IsByRef hack.
318 2009-12-14 Rodrigo Kumpera <rkumpera@novell.com>
320 * MonoGenericClass.cs (format_name): Avoid calling AssemblyQualifiedName as mcs DynamicObject
321 doesn't implement it.
323 2009-12-12 Rodrigo Kumpera <rkumpera@novell.com>
325 * MonoGenericClass.cs: Remove useless field.
327 2009-12-12 Rodrigo Kumpera <rkumpera@novell.com>
329 * MonoGenericClass.cs: Change it to support a non-sre generic type
332 2009-12-10 Rodrigo Kumpera <rkumpera@novell.com>
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.
338 This is a temporary workaround while Type::MakeGenericType doesn't
339 handle user types properly.
341 2009-12-10 Rodrigo Kumpera <rkumpera@novell.com>
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.
347 2009-12-08 Rodrigo Kumpera <rkumpera@novell.com>
349 * MonoMethod.cs (MakeGenericMethod): If any of the arguments is
350 a non system type, inflate to a MethodOnTypeBuilderInst.
352 2009-12-08 Rodrigo Kumpera <rkumpera@novell.com>
354 * ParameterInfo.cs: Add constructor that takes an array of ParameterInfo
357 2009-12-08 Rodrigo Kumpera <rkumpera@novell.com>
359 * MonoGenericClass.cs: Implement IsCompilerContext property and replace
360 all checks to use it.
362 2009-12-04 Rodrigo Kumpera <rkumpera@novell.com>
364 * MonoGenericClass.cs (InflateType): Add a type argument parameter and
365 make this function static. Now it can inflate types using the context
368 2009-12-02 Jb Evain <jbevain@novell.com>
370 * Assembly.cs: disable warning about Assembly overriding
371 Equals but not GetHashCode. That's sadly how it's in .net.
373 2009-12-02 Jb Evain <jbevain@novell.com>
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.
382 2009-11-21 Miguel de Icaza <miguel@novell.com>
384 * Assembly.cs: Implement missing method.
386 2009-11-03 Marek Habersack <mhabersack@novell.com>
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
393 2009-10-30 Sebastien Pouliot <sebastien@ximian.com>
395 * MonoMethod.cs: Remove CAS check in MonoCMethod.Invoke (just
396 like it was done for MonoMethod.Invoke sister method)
398 2009-10-26 Sebastien Pouliot <sebastien@ximian.com>
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.
405 2009-10-20 Sebastien Pouliot <sebastien@ximian.com>
407 * MonoProperty.cs: Reduce code duplication and the number of direct
408 calls to icalls (affecting the number of SecuritySafeCritical in
411 2009-10-19 Sebastien Pouliot <sebastien@ximian.com>
413 * MonoEvent.cs: Reduce code duplication and the number of direct
414 calls to icalls (affecting the number of SecuritySafeCritical in
417 2009-10-18 Sebastien Pouliot <sebastien@ximian.com>
419 * MethodBase.cs: Reduce code duplication and the number of direct
420 calls to icalls (affecting the number of SecuritySafeCritical in
423 2009-10-17 Sebastien Pouliot <sebastien@ximian.com>
425 * MonoMethod.cs: Reduce code duplication and the number of direct
426 calls to icalls (affecting the number of SecuritySafeCritical in
429 2009-09-22 Sebastien Pouliot <sebastien@ximian.com>
431 * Assembly.cs: Remove Evidence and GlobalAssemblyCache
432 properties for NET_2_1
434 2009-09-19 Sebastien Pouliot <sebastien@ximian.com>
436 * TargetException.cs, TargetInvocationException.cs,
437 TargetParameterCountException.cs: Inherit from Exception for
438 NET_2_1 since ApplicationException does not exists
440 2009-09-18 Sebastien Pouliot <sebastien@ximian.com>
442 * Assembly.cs, Module.cs: Avoid imperative CAS checks for NET_2_1
444 2009-08-18 Zoltan Varga <vargaz@gmail.com>
446 * MonoGenericClass.cs: Use StringComparison.Ordinal when calling
449 2009-08-07 Rodrigo Kumpera <rkumpera@novell.com>
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.
457 2009-08-06 Rodrigo Kumpera <rkumpera@novell.com>
459 * MonoGenericClass.cs (InflateType): Add support to inflate
460 generic method arguments.
462 * MonoGenericClass.cs (GetMethod): Remove restriction
463 with generic methods.
465 2009-08-05 Rodrigo Kumpera <rkumpera@novell.com>
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.
471 2009-08-05 Rodrigo Kumpera <rkumpera@novell.com>
473 * MonoGenericClass.cs: Remove Is(Array|Pointer|ByRef)Impl
474 and GetElementType since the runtime still produces instances
475 of MonoGenericClass for those types.
477 2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
479 * MonoGenericClass.cs: Implement more methods from MonoType.
480 Done with all type name related properties.
482 2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
484 * MonoGenericClass.cs: Implement Is*Impl methods to simply
487 2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
489 * MonoGenericClass.cs: Implement Make(Array,ByRef,Pointer) using the
492 2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
494 * MonoGenericClass.cs (InflateType): Implement it in terms of managed
495 code and kill the corresponding icall.
497 2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
499 * MonoGenericClass.cs: Add type_arguments field and constructor
502 2009-08-03 Rodrigo Kumpera <rkumpera@novell.com>
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.
509 * MonoGenericClass.cs: Kill GetEvents_internal and implement it
510 in terms of managed code.
512 2009-07-30 Zoltan Varga <vargaz@gmail.com>
514 * FieldInfo.cs: Throw an exception if internal_from_handle_type ()
515 returns null. Fixes #525733.
517 2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
519 * MonoGenericClass.cs (initialize): Call TypeBuilder::GetConstructorsInternal
520 since the public version throws.
522 2008-07-29 Marek Safar <marek.safar@gmail.com>
524 * MonoGenericClass.cs: Removed one IsCompilerContext hack.
526 2009-07-27 Rodrigo Kumpera <rkumpera@novell.com>
528 * Assembly.cs (GetType): Throw if name is empty.
530 2009-07-27 Rodrigo Kumpera <rkumpera@novell.com>
532 * EventInfo (RemoveEventHandler): Throw InvalidOperationException if the
533 event remove method is not visible.
535 2009-07-27 Rodrigo Kumpera <rkumpera@novell.com>
537 * EventInfo (AddEventHandler): Throw TargetException if target is not cast
540 * EventInfo (AddEventHandler): Throw InvalidOperationException if the
541 event add method is not visible.
543 * EventInfo (AddEventHandler): Throw TargetException if source is null
544 and the event is not static.
546 2009-07-24 Rodrigo Kumpera <rkumpera@novell.com>
548 * MonoGenericClass.cs (GetParentType): Implement using managed code.
550 2009-07-24 Rodrigo Kumpera <rkumpera@novell.com>
552 * MonoGenericClass.cs: Make all icalls private. Kill GetInterfaces_internal.
553 Add a workaround for a GetField under compiler context.
555 2009-07-24 Rodrigo Kumpera <rkumpera@novell.com>
557 * MonoGenericClass.cs (GetMethod): Use the new code always. Don't
558 accept MethodOnTypeBuilderInst under compiler context.
560 * MonoGenericClass.cs (GetField): Use the new code always.
562 * MonoGenericClass.cs: Make a bunch of methods raise NotSupportedException
563 when not under compiler context. Remove some dead code.
565 2009-07-23 Rodrigo Kumpera <rkumpera@novell.com>
567 * MonoGenericClass.cs: Kill GetConstructors_internal and implement it
568 all in terms of managed code.
570 * MonoGenericClass.cs: Return instances of ConstructorOnTypeBuilderInst
571 under bootstrap profile.
573 2009-07-23 Rodrigo Kumpera <rkumpera@novell.com>
575 * MonoGenericClass.cs: Kill GetFields_internal and implement it
576 all in terms of managed code.
578 2009-07-23 Rodrigo Kumpera <rkumpera@novell.com>
580 * MonoGenericClass.cs: Kill GetMethods_internal and implement it
581 all in terms of managed code.
583 2009-07-22 Rodrigo Kumpera <rkumpera@novell.com>
585 * MonoGenericClass.cs: Kill GetProperties_internal and implement it
586 all in terms of managed code.
588 2009-07-12 Gert Driesen <drieseng@users.sourceforge.net>
590 * Binder.cs: Only allow a type to match its byref version for
591 BindToMethod (and not for SelectMethod).
593 2009-07-11 Zoltan Varga <vargaz@gmail.com>
595 * Binder.cs: Allow conversion of IntPtr to pointer types.
597 2009-07-10 Zoltan Varga <vargaz@gmail.com>
599 * Binder.cs (check_arguments): Allow a type to match its byref version.
602 2009-06-12 Zoltan Varga <vargaz@gmail.com>
604 * ParameterInfo.cs (DefaultValue): Add support for decimals, their default
605 value is encoded using a custom attribute.
607 2009-05-02 Sebastien Pouliot <sebastien@ximian.com>
609 * Assembly.cs: Exclude CAS-specific code for NET_2_1
611 2009-04-30 Sebastien Pouliot <sebastien@ximian.com>
613 * Module.cs: Exclude GetSignerCertificate (Authenticode related)
615 * StrongNameKeyPair.cs: Adapt to work with only RSAManaged when
616 built for NET_2_1, i.e. remove use of RSACryptoServiceProvider
618 2009-03-26 Zoltan Varga <vargaz@gmail.com>
620 * MonoMethod.cs: Add a 'member' argument to the get_parameter_info () icall.
622 2009-03-03 Matthew Metnetsky <matthew@cowarthill.com>
624 * MonoMethod.cs: within Invoke only change types if BindingFlags.ExactBinding isn't set
626 * MonoMethod.cs: within Invoke ensure arg types match ParameterInfo types before
627 calling InvokeInternal
629 2009-03-20 Sebastien Pouliot <sebastien@ximian.com>
631 * EventInfo.cs, MonoProperty.cs: Ensure the delegate optimization
632 works correctly, i.e. throw the right exception, with Moonlight.
634 2009-03-11 Zoltan Varga <vargaz@gmail.com>
636 * Binder.cs: Allow conversions from T to T?. Fixes #484294.
638 2008-03-02 Rodrigo Kumpera <rkumpera@novell.com>
640 * EventInfo.cs: Apply similar trick to the one in MonoProperty to speed up
643 2008-02-28 Rodrigo Kumpera <rkumpera@novell.com>
645 * MonoProperty.cs (GetValue): Don't use the delegate optimization for valuetypes.
647 2008-02-26 Rodrigo Kumpera <rkumpera@novell.com>
649 * MonoProperty.cs (GetValue): Optimize getters for properties without arguments.
651 2008-02-26 Rodrigo Kumpera <rkumpera@novell.com>
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.
658 Simple Getter performance is up to 17x faster.
660 This patch reduces contention on domain and domain jit code hash locks, which
661 can be very hot on asp.net applications.
663 2008-02-21 Jb Evain <jbevain@novell.com>
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.
670 2008-02-03 Rodrigo Kumpera <rkumpera@novell.com>
672 * MonoMethod.cs: Fix the 1.1 build.
674 2008-02-02 Rodrigo Kumpera <rkumpera@novell.com>
676 * MonoMethod.cs (ToString): Fix the representation of non primitive structs.
678 2008-02-02 Rodrigo Kumpera <rkumpera@novell.com>
680 * MonoMethod.cs (ToString): Fix representation of pointer types.
684 2009-01-24 Zoltan Varga <vargaz@gmail.com>
686 * MonoGenericClass.cs: Fix warnings.
688 2009-01-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
690 * Assembly.cs: add new LoadSatelliteAssemblyNoThrow method and use the
691 new LoadSatellite() in AppDomain.
693 2009-01-09 Zoltan Varga <vargaz@gmail.com>
695 * CustomAttributeData.cs (ToString): Applied patch from Leszek Ciesielski
696 <skolima@gmail.com>. Use DeclaringType.FullName instead of DeclaringType.Name.
699 2008-11-17 Rodrigo Kumpera <rkumpera@novell.com>
701 * MonoField.cs (GetValue): Don't check for open generic types if the field
704 2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
706 * Module.cs (ResolveMethod): Use internal method
707 GetMethodFromHandleNoGenericCheck to avoid the generic type
708 limitation of GetMethodFromHandle.
712 2008-10-02 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
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.
719 2008-09-07 Zoltan Varga <vargaz@gmail.com>
721 * MonoField.cs: Add check to GetValue/SetValue () to avoid crashes when it is
722 called on fields of open types. Fixes #424077.
724 2008-08-12 Gert Driesen <drieseng@users.sourceforge.net>
726 * ReflectionSerializationHolder.cs: Removed.
727 * common.src: Removed.
729 2008-08-04 Atsushi Enomoto <atsushi@ximian.com>
731 * Assembly.cs : return UnmanagedMemoryStream from
732 GetManifestResourceStream(). Fixed bug #322241.
734 2008-07-30 Rodrigo Kumpera <rkumpera@novell.com>
736 * MonoGenericClass.cs (InflateType): Guard against null types.
739 2008-07-23 Marek Safar <marek.safar@gmail.com>
741 * MethodBase.cs (GetMethodFromHandle): Needed for bootraping.
743 2008-07-22 Rodrigo Kumpera <rkumpera@novell.com>
745 * MonoGenericClass.cs (GetMethod): Under compiler mode allow
746 MethodOnTypeBuilderInst to be used..
748 2008-07-17 Rodrigo Kumpera <rkumpera@novell.com>
750 * MonoGenericClass.cs (GetMethod): Revert to old code
751 path as the new one broke System.Core.
753 2008-07-16 Rodrigo Kumpera <rkumpera@novell.com>
755 * MonoGenericClass.cs (GetMethod): Use the new codepath for compiler
758 * MonoGenericClass.cs: New InflateType method, used to inflate
761 2008-07-11 Marek Safar <marek.safar@gmail.com>
763 * MonoGenericClass.cs (GetField): Put back removed code.
765 2008-07-04 Rodrigo Kumpera <rkumpera@novell.com>
767 * MethodBase.cs (GetMethodFromHandle): Fix a warning in
770 2008-07-04 Rodrigo Kumpera <rkumpera@n ovell.com>
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
777 2008-06-25 Rodrigo Kumpera <rkumpera@n ovell.com>
779 * MethodBase.cs (GetMethodFromHandle): Check if the icall returns null
780 and fail. This is part of the fix for #377324.
782 2008-06-19 Marek Safar <marek.safar@gmail.com>
784 * MonoGenericClass.cs (GetConstructor): Put back removed code due to obscure
785 System.Reflection.MonoGenericCMethod.
787 2008-06-19 Kornel Pal <kornelpal@gmail.com>
789 * Module.cs: Add internal GetHINSTANCE.
791 2008-06-02 Ivan N. Zlatev <contact@i-nz.net>
793 * Binder.cs, MonoGenericClass.cs: For property reflection we should
794 strictly match the return type if available.
796 2008-05-16 Zoltan Varga <vargaz@gmail.com>
798 * MonoGenericClass.cs (GetConstructor): Remove some old code, as the new code
802 2008-05-05 Zoltan Varga <vargaz@gmail.com>
804 * FieldInfo.cs (GetFieldFromHandle): Add an argument check for an invalid handle.
806 * MethodBase.cs (GetMethodFromHandle): Ditto. Fixes #386641.
808 2008-04-30 Gert Driesen <drieseng@users.sourceforge.net>
810 * ParameterInfo.cs: Name must default to null if no ParameterBuilder
813 2008-04-22 Zoltan Varga <vargaz@gmail.com>
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.
821 2008-04-16 Zoltan Varga <vargaz@gmail.com>
823 * Binder.cs: Applied patch from Yves Bastide (doc.formatique@gmail.com). Add
824 support for converting integers to enums. Fixes #380361.
826 ?2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
829 * MethodInfo.cs: Fix parameter names
831 2008-03-31 Mark Probst <mark.probst@gmail.com>
833 * MonoMethod.cs: Don't do CAS security checks in Invoke for 2.1
836 2008-03-25 Zoltan Varga <vargaz@gmail.com>
838 * MonoCMethod.cs (Invoke): Avoid a crash if this is called on a ctor of an open
839 generic type. Fixes #373459.
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.
845 2008-03-17 Marek Safar <marek.safar@gmail.com>
847 * MonoMethod.cs (ToString): Print VarArgs argument.
849 2008-03-14 Zoltan Varga <vargaz@gmail.com>
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.
855 * Binder.cs (ChangeType): Add support for Char->Double/Single conversations. Fixes
858 2008-03-10 Gert Driesen <drieseng@users.sourceforge.net>
860 * Assembly.cs (GetFile): Fixed exception messages and param name.
862 2008-03-06 Zoltan Varga <vargaz@gmail.com>
864 * Assembly.cs: Define GetManifestModule () for net 2.0 bootstrap as well.
866 2008-02-26 Ivan N. Zlatev <contact@i-nz.net>
868 * MonoProperty.cs: MS ignores the inherit parameter and defaults to false
869 for GetCustomAttributes.
870 [Fixes bugs #324472 and #322464]
872 2008-02-20 Zoltan Varga <vargaz@gmail.com>
874 * AssemblyName.cs (ReferenceMatchesDefinition): Add error checking and some
875 simple cases required by ikvm.
877 2008-02-18 Zoltan Varga <vargaz@gmail.com>
879 * CustomAttributeTypedArgument.cs (.ctor): Convert arrays into a collection of
880 CustomAttributeTypedArguments to match MS.
882 2008-02-10 Gert Driesen <drieseng@users.sourceforge.net>
884 * Assembly.cs: Use icall for ToString/FullName. Fixes bug #318231.
886 2008-02-02 Gert Driesen <drieseng@users.sourceforge.net>
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
894 2008-01-29 Zoltan Varga <vargaz@gmail.com>
896 * Assembly.cs: Make GetTypes () virtual so it can be overriden by AssemblyBuilder.
898 * Assembly.cs: Make GetModulesInternal () virtual so it can be overriden by
901 2008-01-22 Zoltan Varga <vargaz@gmail.com>
903 * MonoGenericClass.cs: Make this NET 2.0 only.
905 * MonoGenericClass.cs (Initialize): Simplify this a bit and add comments for this
908 2008-01-20 Gert Driesen <drieseng@users.sourceforge.net>
910 * AssemblyName.cs: Added support for Retargetable spec in FullName.
912 2008-01-17 Zoltan Varga <vargaz@gmail.com>
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
920 2008-01-15 Jb Evain <jbevain@novell.com>
922 * MonoMethod.cs (MakeGenericMethod): check for null values
923 in the types arguments. Fixes #353849.
925 2008-01-06 Sebastien Pouliot <sebastien@ximian.com>
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)
930 2008-01-04 Gert Driesen <drieseng@users.sourceforge.net>
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.
941 2007-12-26 Zoltan Varga <vargaz@gmail.com>
943 * Assembly.cs (GetSatelliteAssembly): Search in the assembly directory as well.
946 2007-12-03 Zoltan Varga <vargaz@gmail.com>
948 * MonoField.cs: Implement GetRawConstantValue ().
950 2007-11-24 Marek Habersack <mhabersack@novell.com>
952 * CustomAttributeTypedArgument.cs: value can be null in ToString.
954 2007-11-16 Zoltan Varga <vargaz@gmail.com>
956 * Assembly.cs (GetFiles): Include the assembly itself as the first entry.
958 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
960 * AssemblyName.cs : remove extraneous MonoTODO.
962 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
964 * ExceptionHandlingClause.cs : implemented ToString().
966 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
968 * MethodBase.cs : (Invoke) removed extra interface implementation.
970 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
972 * StrongNameKeyPair.cs : implemented 2.0 runtime serialization stuff.
974 2007-11-05 Mark Probst <mark.probst@gmail.com>
976 * Binder.cs: Treat matches with different argument types as
977 ambiguous, too. Fixes #324998.
979 2007-11-01 Zoltan Varga <vargaz@gmail.com>
981 * Binder.cs: Avoid returning a method with a ParamArray attribute when a normal
982 method exists. Fixes #338266.
984 2007-10-30 Zoltan Varga <vargaz@gmail.com>
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.
989 2007-10-27 Zoltan Varga <vargaz@gmail.com>
991 * MonoGenericClass.cs: Override GetPropertyImpl too.
993 2007-10-24 Atsushi Enomoto <atsushi@ximian.com>
995 * Assembly.cs : include ReflectionOnlyLoad() as part of 2.0
998 2007-09-23 Zoltan Varga <vargaz@gmail.com>
1000 * Assembly.cs (GetManifestModule): New virtual method overridden by
1003 2007-09-17 Gert Driesen <drieseng@users.sourceforge.net>
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.
1009 2007-09-11 Mark Probst <mark.probst@gmail.com>
1011 * MonoMethod.cs: Catch and re-throw MethodAccessException from
1012 InternalInvoke for CoreCLR security.
1014 Thu Sep 6 19:49:34 CEST 2007 Paolo Molaro <lupus@ximian.com>
1016 * MonoMethod.cs: name is used as a cache: provide an icall to get the
1017 name from the runtime.
1019 2007-08-23 Robert Jordan <robertj@gmx.net>
1021 * MemberInfoSerializationHolder.cs: created from
1022 ReflectionSerializationHolder to match MS (fixes bug #80761).
1023 Add support for fields, events, properties and generic methods.
1025 * MonoMethod.cs (GetObjectData): handle generic arguments.
1027 * MonoGenericMethod.cs: mark as [Serializable].
1029 * MonoProperty.cs (GetObjectData): implemented.
1031 * MonoField.cs: ditto.
1033 * MonoEvent.cs: ditto.
1035 2007-07-19 Atsushi Enomoto <atsushi@ximian.com>
1037 * MonoMethod.cs : parameter types should be fixed as well.
1039 2007-07-19 Atsushi Enomoto <atsushi@ximian.com>
1041 * MonoMethod.cs : ToString() did not show correct return type when
1044 2007-07-15 Zoltan Varga <vargaz@gmail.com>
1046 * FieldInfo.cs: Implement GetOptional/RequiredCustomModifiers ().
1048 * MethodInfo.cs: Remove an unneccesary MonoTODO.
1050 * Module.cs: Implement ResolveSignature.
1052 2007-07-14 Zoltan Varga <vargaz@gmail.com>
1054 * Module.cs: Implement the generic versions of the ResolveXXX methods.
1056 2007-07-10 Zoltan Varga <vargaz@gmail.com>
1058 * Module.cs: Add new internal method GetMDStreamVersion ().
1060 2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
1062 * CustomAttributeNamedArgument.cs, CustomAttributeTypedArgument.cs:
1063 added missing operator == and !=.
1065 2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
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.
1078 Tue May 8 13:04:35 CEST 2007 Paolo Molaro <lupus@ximian.com>
1080 * FieldInfo.cs, MethodBase.cs: implemented new GetFieldFromHandle and
1081 GetMethodFromHandle overloads (bug #78637).
1083 2007-05-07 Zoltan Varga <vargaz@gmail.com>
1085 * MonoMethod.cs (Invoke): Fix a warning.
1087 * MonoMethod.cs (Invoke): Don't wrap ThreadAbortException inside a
1088 TargetInvocationException on the 2.0 profile. Fixes #81538.
1090 2007-04-09 Alp Toker <alp@atoker.com>
1092 * MonoMethod.cs: Use StringBuilder for the entire ToString() methods
1093 to reduce allocations and increase performance.
1095 2007-04-09 Alp Toker <alp@atoker.com>
1097 * MonoMethod.cs: Use StringBuilder for parms in ToString() methods.
1099 2007-04-09 Alp Toker <alp@atoker.com>
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.
1106 2007-03-05 Peter Dettman <peter.dettman@iinet.net.au>
1108 * Binder.cs: The patch changes Binder.Default.GetBetterMethod to
1109 prefer methods in subclasses if the arg types can't disambiguate
1112 Also fixes a typo in the CallingConventions comparison.
1114 2007-03-01 Alp Toker <alp@atoker.com>
1117 Add GetFieldFromHandle() 2.0 overload stub (NotImplemented).
1119 2007-03-01 Alp Toker <alp@atoker.com>
1121 * MethodBase.cs: Add missing ComVisible attr.
1122 Add GetMethodFromHandle() 2.0 overload stub (NotImplemented).
1124 2006-12-30 Marek Safar <marek.safar@gmail.com>
1126 * MonoProperty.cs: Cache frequently used properties.
1128 Thu Dec 14 13:50:48 CET 2006 Paolo Molaro <lupus@ximian.com>
1130 * *.cs: added missing Serializable attributes.
1132 Thu Dec 14 12:52:27 CET 2006 Paolo Molaro <lupus@ximian.com>
1134 * MonoProperty.cs, ParameterInfo.cs, PropertyInfo.cs:
1135 GetRequiredCustomModifiers()/GetOptionalCustomModifiers()
1138 Tue Dec 12 20:35:10 CET 2006 Paolo Molaro <lupus@ximian.com>
1140 * MethodBase.cs: added missing ComVisible attr.
1141 * MethodInfo.cs: added a few missing methods that we implement
1144 Tue Dec 12 19:45:26 CET 2006 Paolo Molaro <lupus@ximian.com>
1146 * MonoEvent.cs: correctly obey the nonPublic flag in GetOtherMethods ().
1147 * EventInfo.cs: remove NotImpl exception from GetOtherMethods ().
1149 2006-10-19 Gert Driesen <drieseng@users.sourceforge.net>
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.
1155 2006-10-17 Kornel Pal <kornelpal@gmail.com>
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.
1162 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
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.
1168 2006-09-29 Jb Evain <jbevain@gmail.com>
1170 * MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.
1172 2006-09-02 Zoltan Varga <vargaz@gmail.com>
1174 * ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from
1175 Peter Dettman (peter.dettman@iinet.net.au). Implement ReturnParameter
1178 * Binder.cs (ReorderParameters): Really fix this.
1180 * Binder.cs (ReorderParameters): Fix this method. Fixes #79120.
1182 2006-09-01 Raja R Harinath <rharinath@novell.com>
1184 * MonoMethod.cs (ToString): Update to handle change in byref type names.
1186 2006-08-08 Gert Driesen <drieseng@users.sourceforge.net>
1188 * Assembly.cs: On 2.0 profile, throw FileNotFoundException for
1189 linked resources in GetManifestResourceStream when assembly is
1190 loaded from byte array.
1192 2006-07-12 Zoltan Varga <vargaz@gmail.com>
1194 * MonoMethod.cs (ContainsGenericParameters): Implement.
1196 * MonoMethod.cs (Invoke): Prevent invoking of open generic methods.
1198 2006-07-09 Gert Driesen <drieseng@users.sourceforge.net>
1200 * Assembly.cs: When assembly is loaded from byte array, return null
1201 for linked resources in GetManifestResourceStream. Fixes bug #78468.
1203 2006-07-09 Zoltan Varga <vargaz@gmail.com>
1205 * Binder.cs: Add back the support for BindingFlags.ExactBinding. Fixes #78592.
1207 2006-06-30 Zoltan Varga <vargaz@gmail.com>
1209 * Binder.cs: Comment out the ExactBinding stuff for the release as it breaks some
1212 2006-06-07 Zoltan Varga <vargaz@gmail.com>
1214 * Binder.cs: Add support for BindingFlags.ExactBinding. Fixes #78592.
1216 2006-05-28 Gert Driesen <drieseng@users.sourceforge.net>
1218 * MethodBase.cs: GetMethodBody should not throw ArgumentException for
1219 a method with no IL body. Fixes bug #78522.
1221 2006-05-10 Zoltan Varga <vargaz@gmail.com>
1223 * Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
1225 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
1227 * Binder.cs : (Default.SelectMethod)
1228 don't throw AmbiguousMatchException when one of conflicting method
1229 matches weakly. Fixed bug #42547.
1231 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
1233 * Binder.cs : (Default.BindToMethod) reorder parameters based
1234 on namedParameters. Fixed bug #41691.
1236 2006-05-03 Jb Evain <jbevain@gmail.com>
1238 * MonoField.cs (GetValue,SetValue): throw a TargetException
1239 when the field is non static and the target is null.
1241 2006-03-12 Zoltan Varga <vargaz@gmail.com>
1243 * Binder.cs: Applied patch from Ben to fix #74947.
1245 2006-03-01 Miguel de Icaza <miguel@novell.com>
1247 * Assembly.cs: Cache the AssemblyName, patch from Tambet. This
1248 reduces the memory usage during remoting.
1250 2006-02-16 Martin Baulig <martin@ximian.com>
1252 * FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.
1254 2006-02-15 Martin Baulig <martin@ximian.com>
1256 * MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
1257 (MethodBase.Mono_IsInflatedMethod): Removed.
1258 (MethodBase.HasGenericParameters): Removed.
1260 * MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
1261 here from MethodBase.
1264 (MonoMethod.IsGenericMethodDefinition): This is now an icall.
1265 (MonoMethod.IsGenericMethod): Likewise.
1267 2006-02-14 Martin Baulig <martin@ximian.com>
1270 (MonoCMethod.IsGenericMethod): Override this and return false; the
1271 MS runtime doesn't throw an exception here.
1273 2006-02-08 Martin Baulig <martin@ximian.com>
1275 * MonoGenericClass.cs (MonoGenericClass.IsAssignableFrom):
1276 Override and implement this; fixes #77395.
1278 2006-02-07 Martin Baulig <martin@ximian.com>
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.
1287 2006-02-03 Zoltan Varga <vargaz@gmail.com>
1289 * MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
1292 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
1294 * Assembly.cs: Fixed #75950. The icall has been changed to accept a
1295 boolean so it can return a non-escaped code base.
1297 2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
1299 * MonoMethod.cs : made MakeGenericMethod() indirect icall to
1300 MakeGenericMethod_impl() and raise an error when it returns null.
1302 2005-11-15 Zoltan Varga <vargaz@gmail.com>
1304 * Module.cs: Add MDStreamVersion property.
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
1311 2005-11-11 Marek Safar <marek.safar@seznam.cz>
1313 * MethodBase.cs, TypeDelegator.cs: Reflect Type changes.
1315 2005-10-30 Zoltan Varga <vargaz@freemail.hu>
1317 * FieldInfo.cs: Add an internal UMarshal property which can by
1318 overriden in FieldBuilder.
1320 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
1322 * MonoMethod.cs : (ToString) add suffix " ByRef" for byref parameters.
1325 2005-10-04 Martin Baulig <martin@ximian.com>
1327 * MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
1328 return type from `MonoGenericClass to `Type'.
1330 2005-09-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1332 * AssemblyName.cs: Add ParseName internal call, to parse
1333 long format assembly names.
1335 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
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.
1341 2005-09-20 Martin Baulig <martin@ximian.com>
1343 * Assembly.cs: Removed some unused debugger icalls.
1345 2005-09-17 Zoltan Varga <vargaz@freemail.hu>
1347 * Module.cs: Remove obsolete Mvid property.
1349 2005-09-09 Martin Baulig <martin@ximian.com>
1351 Reflect latest API changes in the August CTP.
1353 * MethodBase.cs (MethodBase.MakeGenericMethod): Removed.
1355 * MethodInfo.cs (MethodInfo.MakeGenericMethod): Added here.
1357 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
1359 * AssemblyName.cs: Apply second half of Chris Micacchi's patch
1361 2005-09-07 Miguel de Icaza <miguel@novell.com>
1363 * AssemblyName.cs: Apply patch from Chris Micacchi to serialize
1364 the keyToken as "_PublicKeyToken".
1366 2005-09-05 Martin Baulig <martin@ximian.com>
1368 Reflect latest API changes in the August CTP.
1370 * GenericParameterAttributes.cs: Here.
1372 * MethodBase.cs (MethodBase.BindGenericParameters): Renamed to
1373 MakeGenericMethod().
1375 2005-09-05 Martin Baulig <martin@ximian.com>
1377 * Assembly.cs (MonoDebugger_GetMethodToken): Don't take an
1378 `Assembly' argument.
1380 2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1382 * Assembly.cs: made GetManifestResourceInternal internal. Fixes the
1385 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
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.
1405 2005-07-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1407 * CustomAttributeTypedArgument: Return the name of the
1408 enum if the type is an enum in ToString ().
1410 2005-06-21 Sebastien Pouliot <sebastien@ximian.com>
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
1417 2005-06-13 Michal Moskal <malekith@nemerle.org>
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.
1423 2005-06-15 Sebastien Pouliot <sebastien@ximian.com>
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.
1430 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1432 * Binder.cs: null is ok for a value type. Fixes bug #75241.
1434 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
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
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
1448 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
1450 * CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.
1452 * *.cs: Updates for net 2.0 beta 2.
1454 2005-06-07 Zoltan Varga <vargaz@freemail.hu>
1456 * *.cs: Updates for net 2.0 beta 2.
1458 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1460 * CustomAttributeData.cs: Implemented.
1462 * CustomAttributeDataNamedArgument.cs: Implemented.
1464 * CustomAttrbuteDataTypedArgument.cs: Implemented.
1466 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
1468 * Assembly.cs ExceptionHandlingClause.cs: Fix build.
1470 * ProcessorArchitecture.cs: New file.
1472 * ExceptionHandlingClause.cs: Update after ExceptionHandlingClauseFlags name change.
1474 * *.cs: Updates for net 2.0 beta 2.
1476 * *.cs: Add net 2.0 ComVisibleAttribute.
1478 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1480 * Assembly.cs: if the assembly is loaded from a byte array, Location
1481 returns "". Fixes bug #74958.
1483 2005-06-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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.
1489 2005-05-26 Ben Maurer <bmaurer@ximian.com>
1491 * Binder.cs: Avoid double checked locking and lock on typeof by
1492 doing init of the default binder in the cctor.
1494 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
1496 * Assembly.cs: Avoid security checks if Assembly.Location is "".
1498 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
1500 * TypeDelegator.cs: Implement some methods.
1502 * TypeDelegator.cs: Revert this as it breaks the build.
1504 * TypeDelegator.cs: Implement some methods.
1506 2005-05-19 Satya Sudha K <ksathyasudha@novell.com>
1507 Raja R Harinath <rharinath@novell.com>
1509 * Missing.cs (Missing.Value): Initialize.
1511 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
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.
1517 2005-05-13 Zoltan Varga <vargaz@freemail.hu>
1519 * MonoField.cs: Applied patch from Opened by Michael Meeks (michael@ximian.com). Improve exception message on binding failures.
1521 2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
1523 * MonoField.cs: Added a Clone method. This is needed for serialization.
1525 2005-05-07 Ben Maurer <bmaurer@ximian.com>
1527 * MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.
1529 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
1531 * Module.cs: Update for beta 2.
1533 * CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.
1535 2004-05-03 Lluis Sanchez <lluis@ximian.com>
1537 * Assembly.cs: Don't remove version and culture information from
1538 the name, since it will be used by load_with_partial_name.
1540 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
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).
1547 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
1549 * Assembly.cs: Added missing null check in GetObjectData.
1551 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
1553 * AssemblyName.cs: Added a demand for SerializationFormatter on
1554 GetObjectData method.
1556 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
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).
1568 2005-03-30 Zoltan Varga <vargaz@freemail.hu>
1570 * Binder.cs (check_type): Fix byref support. Fixes #73972.
1572 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
1574 * MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class.
1575 * Module.cs: Add a LinkDemand for SerializationFormatter on
1576 GetObjectData method.
1578 2005-03-16 Sebastien Pouliot <sebastien@ximian.com>
1580 * Assembly.cs: Implemented EscapedCodeBase using the copy of
1581 System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.
1583 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
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.
1588 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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.
1595 * MonoMethod.cs: InvalidOperationException's are re-thrown when calling
1596 Invoke method on reflection only assemblies.
1598 2005-02-22 Raja R Harinath <rharinath@novell.com>
1600 * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
1601 'abstract' so that this class can be derived outside of corlib.
1603 2005-02-16 Miguel de Icaza <miguel@novell.com>
1605 * MonoEvent.cs: Put new methods here.
1607 * EventInfo.cs: Move the methods GetCustomAttributes, and
1608 IsDefined from EventInfo to MonoEvent.
1610 Remove the methods that were not supposed to be exposed: Name,
1611 ReflectedType, DeclaringType.
1613 2005-02-12 Chris Toshok <toshok@ximian.com>
1615 * Assembly.cs: Correct the type of MonoDebugger_MakeArrayType.
1617 2005-02-12 Ben Maurer <bmaurer@ximian.com>
1619 * Binder.cs (SelectProperty): Use -1 as the dummy `I don't know
1620 how many types' value.
1622 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
1624 * Assembly.cs: Fix warning.
1626 2005-02-10 Martin Baulig <martin@ximian.com>
1628 * Module.cs (MonoDebugger_ResolveType): New internal method.
1630 * Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
1631 (MonoDebugger_GetTypeToken): New internal method.
1633 2005-02-10 Martin Baulig <martin@ximian.com>
1635 * Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.
1637 2005-02-10 Marek Safar <marek.safar@seznam.cz>
1640 * ConstructorInfo.cs,
1646 * PropertyInfo.cs: ClassInterfaceType is None.
1648 Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>
1650 * Module.cs: removed the finalizer and the now unused Close() icall.
1652 2005-01-21 Sebastien Pouliot <sebastien@ximian.com>
1654 * Assembly.cs: Fixed add for ModuleResolve.
1656 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
1658 * LocalVariableInfo.cs: Add ToString method.
1660 * ExceptionHandlingClause.cs: Implement this.
1662 2005-01-18 Zoltan Varga <vargaz@freemail.hu>
1664 * MethodBase.cs MonoMethod.cs: Hopefully fix the build.
1666 * MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().
1668 2005-01-03 Martin Baulig <martin@ximian.com>
1670 * MonoGenericMethod.cs
1671 (MonoGenericMethod.get_reflected_type): Removed.
1672 (MonoGenericMethod.ReflectedType): Make this an icall.
1673 (MonoGenericCMethod.ReflectedType): Likewise.
1675 2004-12-29 Martin Baulig <martin@ximian.com>
1677 * MonoGenericMethod.cs: New file.
1679 2004-12-21 Sebastien Pouliot <sebastien@ximian.com>
1681 * Assembly.cs: Added private LoadAssemblyPermissions to get the
1682 declarative security permission sets (minimum, optional and refused)
1685 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
1687 * Assembly.cs: Removed old Demand support (moved in System.Security).
1689 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
1691 * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
1692 the gmcs bugs blocking them are fixed.
1694 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
1696 * Assembly.cs: Move corlib_internal field to AssemblyBuilder.
1698 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
1700 * Assembly.cs: Add corlib_internal field.
1702 2004-11-30 Martin Baulig <martin@ximian.com>
1704 * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
1705 renamed the class from `MonoGenericInst' to `MonoGenericClass'.
1707 2004-11-05 Zoltan Varga <vargaz@freemail.hu>
1709 * AssemblyName.cs (FullName): Omit default values from full name.
1711 * Assembly.cs: Implement GetFiles (bool).
1713 * Binder.cs: Add support for byref types. Fixes #69140.
1715 2004-10-12 Martin Baulig <martin@ximian.com>
1717 * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
1718 before calling the *_internal() methods.
1720 2004-10-12 Zoltan Varga <vargaz@freemail.hu>
1722 * MethodBody.cs: Implement this.
1724 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
1726 * Module.cs: Handle the case when the global type does not exists.
1728 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
1730 * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
1733 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
1735 * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].
1737 * PropertyInfo.cs: Add stub for GetConstantValue ().
1739 * ParameterInfo.cs (marshalAs): Make this private.
1741 * Module.cs (ModuleHandle): Add [CLSCompliant(false)].
1743 * LocalVariableInfo.cs MethodBody.cs: Disable default constructor.
1745 * ExceptionHandlingClause.cs: Disable default constructor.
1747 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
1749 * CustomAttributeData.cs CustomAttributeTypedArgument.cs
1750 CustomAttributeNamedArgument.cs: New files.
1752 * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
1753 ExceptionHandlingClauseFlags.cs: New files.
1755 2004-09-26 Zoltan Varga <vargaz@freemail.hu>
1757 * FieldInfo.cs: Add support for returning MarshalAsAttribute.
1759 * ParameterInfo.cs: Add marshalAs field, add support for returning
1762 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
1764 * Module.cs: Add new 2.0 GetMethods and GetFields methods.
1766 * ParameterInfo.cs: Add GetPseudoCustomAttributes () method.
1768 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
1770 * MonoField.cs: Add GetFieldOffset.
1772 * ObfuscationAttribute.cs: Add ApplyToMembers.
1774 * Assembly.cs: Add stub for ReflectionOnlyLoadFrom.
1776 * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.
1778 * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method.
1780 * AssemblyNameFlags.cs: Add LongevityUnspecified.
1782 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
1784 * Module.cs: Remove [MonoTODO] from ResolveMember.
1786 * MemberInfo.cs: Add 'Module' property.
1788 * AssemblyFlagsAttribute.cs: Add 2.0 stuff.
1790 * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
1791 to LoadWithPartialName on 2.0.
1793 * AssemblyNameFlags.cs: Add new 2.0 members.
1795 * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.
1797 * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.
1799 * EventInfo.cs: Fix 2.0 build.
1801 * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.
1803 * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.
1805 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
1807 * Module.cs: Implement net 2.0 ResolveXXX methods.
1809 * Module.cs (resolve_token_exception): Fix type of exception thrown.
1811 2004-09-21 Martin Baulig <martin@ximian.com>
1813 * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.
1815 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
1817 * Assembly.cs: Implement 2.0 reflection properties.
1819 * Module.cs: Implement 2.0 reflection properties. Add 'token' field.
1821 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
1823 * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
1826 * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.
1828 * Module.cs: Add ModuleHandle property and new icalls.
1830 2004-09-18 Zoltan Varga <vargaz@freemail.hu>
1832 * Module.cs: Add net 2.0 Mvid property.
1834 2004-08-30 Sebastien Pouliot <sebastien@ximian.com>
1836 * Assembly.cs: Added internal Demand(PermissionSet) for CAS.
1838 2004-08-30 Zoltan Varga <vargaz@freemail.hu>
1840 * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to
1843 2004-08-29 Zoltan Varga <vargaz@freemail.hu>
1845 * MethodBase.cs (GetMethodFromHandle): Implement.
1847 2004-08-13 Marek Safar <marek.safar@seznam.cz>
1849 * Assembly.cs: Made _minimum, _optional, _refuse fields internal.
1850 To be reusable by AssemblyBuilder.
1852 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
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.
1859 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
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.
1865 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
1867 * Assembly.cs: Added new fields for CAS to match the runtime (v23).
1869 2004-07-29 Martin Baulig <martin@ximian.com>
1871 * Module.cs (Mono_GetGuid): Make this static.
1873 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
1875 * Module.cs: return just name in ToString (bug #61287).
1877 2004-07-03 Zoltan Varga <vargaz@freemail.hu>
1879 * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
1881 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
1883 * Pointer.cs: remove serializable attribute to match MS.NET
1885 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
1887 * ParameterModifier.cs: marked serializable, renamed field to match
1888 MS.NET, throw ArgumentException when parameter count is less than or
1891 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
1893 * AssemblyName.cs: added TODO for serialization
1894 * Pointer.cs: fixed Box method to return object instead of
1897 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
1899 * MemberInfo.cs: Changed constructor from internal to protected.
1901 2004-06-11 Martin Baulig <martin@ximian.com>
1903 * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
1905 2004-06-11 Lluis Sanchez <lluis@ximian.com>
1907 * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match
1908 MS implementation. Generate the RSA in the constructors.
1910 2004-06-10 Lluis Sanchez <lluis@ximian.com>
1912 * AssemblyName.cs: Added missing fields to serialization methods.
1913 * StrongNameKeyPair.cs: Made it compatible with MS serialization.
1915 2004-06-08 Jacson Harper <jackson@ximian.com>
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.
1921 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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.
1927 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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.
1932 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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.
1938 2004-05-31 Gert Driesen <drieseng@users.sourceforge.net>
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
1948 2004-05-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
1950 * FieldInfo.cs: changed default constructor from internal to protected, so classes
1951 that inherit from it can get build.
1953 2004-05-18 Gert Driesen (drieseng@users.sourceforge.net)
1955 * MonoProperty.cs: return correct MethodInfo for
1956 property with only a get or set method. Fixes
1959 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
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.
1965 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
1967 * Assembly.cs: Add stub for LoadFrom.
1969 * Assembly.cs: Fix build.
1971 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
1973 * Assembly.cs: Add ModuleResolve event.
1975 * Module.cs (Mono_GetGuid): Make this internal.
1977 * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
1979 2004-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1981 * Binder.cs: check for ambiguous matches in SelectMethod and
1982 SelectProperty. Fixes bug #58381.
1984 2004-05-06 Jackson Harper <jackson@ximian.com>
1986 * Assembly.cs: remove TODO, this is done.
1988 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1990 * Assembly.cs: ToString () returns the same as GetName ().ToString ().
1993 2004-05-03 Jackson Harper <jackson@ximian.com>
1995 * Assembly.cs: Implement LoadWithPartialName. The bulk of this
1996 method is done in the runtime.
1998 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
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.
2004 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
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.
2012 2004-04-26 Jackson Harper <jackson@ximian.com>
2014 * Assembly.cs: Add icall to determine if an assembly has been
2015 loaded from the GAC.
2017 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
2019 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
2020 The fix should be easier ;)
2022 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
2024 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
2025 NET_2_0 related build fix.
2027 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
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.
2034 2004-04-07 Martin Baulig <martin@ximian.com>
2036 * MonoGenericInst.cs (MonoGenericParam): Removed.
2038 2004-04-07 Martin Baulig <martin@ximian.com>
2041 (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
2043 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
2044 (MonoGenericInst.GetNestedTypes): Just call
2045 `generic_type.GetNestedTypes (bf)' here.
2047 * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
2048 include the type arguments.
2050 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
2052 * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
2053 correct StrongName instance when the ECMA "key" is used.
2055 2004-04-02 Martin Baulig <martin@ximian.com>
2057 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
2059 2004-04-01 Martin Baulig <martin@ximian.com>
2061 * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
2062 this and always return false.
2064 2004-04-01 Martin Baulig <martin@ximian.com>
2066 * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.
2068 2004-03-30 Martin Baulig <martin@ximian.com>
2070 * MonoGenericInst.cs
2071 (MonoGenericParam): Added `bool has_ctor_constraint' field.
2072 (MonoGenericParam.SetConstraints): Added `bool
2073 has_ctor_constraint' argument.
2075 2004-03-29 Martin Baulig <martin@ximian.com>
2077 * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
2079 (MethodBase.HasGenericParameters): Use the "official" behavior
2080 here, ie. return false if we're not a generic method.
2082 2004-03-29 Martin Baulig <martin@ximian.com>
2084 * MethodBase.cs: Moved the generics stuff here, made it virtual
2085 where neccessary and use the correct API.
2087 2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
2089 * StrongNameKeyPair.cs: Added an internal method to return a
2090 StrongName object (for AssemblyBuilder). Simplified implementation
2091 using Mono.Security.Cryptography.CryptoConvert class.
2093 2004-03-24 Zoltan Varga <vargaz@freemail.hu>
2095 * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
2097 2004-03-23 Martin Baulig <martin@ximian.com>
2099 * MonoGenericInst.cs: Added support for events.
2101 2004-03-23 Martin Baulig <martin@ximian.com>
2103 * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
2104 if it's the empty string.
2106 2004-03-10 Martin Baulig <martin@ximian.com>
2108 * MethodBase.cs (MethodBase): Implemented
2109 GetGenericMethodDefinition() and HasGenericParameters.
2111 2004-03-09 Martin Baulig <martin@ximian.com>
2113 * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
2114 `declaring_type' and `reflected_type'.
2115 (MonoEvent): Distinguish between declaring and reflected type.
2117 2004-02-25 Martin Baulig <martin@ximian.com>
2119 * MonoGenericInst.cs
2120 (MonoGenericInst.GetNestedTypes): Override this.
2122 2004-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2125 (SelectProperty): check the return Type if provided.
2127 2004-02-17 Martin Baulig <martin@ximian.com>
2129 * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
2130 support for properties.
2132 2004-02-17 Martin Baulig <martin@ximian.com>
2134 * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
2135 class hierarchy and return members from the parent classes.
2136 (GetConstructors, GetFields): Likewise.
2138 2004-02-17 Martin Baulig <martin@ximian.com>
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.
2144 2004-02-12 Martin Baulig <martin@ximian.com>
2146 * MonoGenericInst.cs (MonoInflatedField): Removed.
2148 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
2150 2004-02-08 Martin Baulig <martin@ximian.com>
2152 * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
2153 invocations the `reflected' type as `reflected', not `this'.
2154 (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
2156 2004-02-08 Martin Baulig <martin@ximian.com>
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.
2163 2004-02-06 Martin Baulig <martin@ximian.com>
2165 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
2167 2004-02-03 Martin Baulig <martin@ximian.com>
2169 * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
2171 2004-01-25 Martin Baulig <martin@ximian.com>
2173 * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
2175 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
2177 * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
2178 a reference on the Module object which contains the resource.
2180 * Module.cs: Decrease the image reference count when the Module is
2183 2004-01-16 Martin Baulig <martin@ximian.com>
2185 * Assembly.cs: Make the `MonoDebugger_' methods static.
2187 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2189 * MonoProperty.cs: changed get_property_info so that it only gets the
2190 values needed. Reduces the allocations needed.
2192 2004-01-15 Martin Baulig <martin@ximian.com>
2194 * Assembly.cs: Make the `MonoDebugger_' methods internal.
2196 2004-01-04 Nick Drochak <ndrochak@gol.com>
2198 * Assembly.cs: Removed unused variable in catch block.Eliminates a build
2201 2003-12-29 Ben Maurer <bmaurer@users.sourceforge.net>
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).
2207 2003-12-18 Zoltan Varga <vargaz@freemail.hu>
2209 * Assembly.cs: Implement LoadFrom.
2211 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
2213 * Assembly.cs: Add stubs for LoadFile.
2215 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
2217 * Assembly.cs (GetManifestResourceStream): Only load non-embedded
2218 resources from files.
2220 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
2222 * MonoField.cs (SetValue): Throw an exception if the value cannot be
2223 converted to the field's type. Fixes #52177.
2225 2003-12-11 Lluis Sanchez Gual <lluis@ximian.com>
2227 * AmbiguousMatchException.cs: Added serialization constructor.
2229 2003-12-08 Martin Baulig <martin@ximian.com>
2231 * MonoGenericInst.cs (MonoGenericParam): New internal class;
2232 derives from MonoType.
2234 2003-12-08 Patrik Torstensson <p@rxc.se>
2236 * Binder.cs: Added internal helpers to get derived level and select the
2237 most derived methodbase (used in GetMethodImpl)
2239 2003-11-25 Zoltan Varga <vargaz@freemail.hu>
2241 * Assembly.cs (LoadWithPartialName): Return null instead of throwing
2242 an exception to match MS behavior.
2244 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
2246 * MonoMethod.cs: Add missing constructor.
2248 2003-11-21 Zoltan Varga <vargaz@freemail.hu>
2250 * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
2252 2003-11-16 Martin Baulig <martin@ximian.com>
2254 * MonoGenericInst.cs (MonoGenericInst.inflate): Call
2255 `parent.inflate (parent,...)' instead of
2256 `parent.inflate (reflected,...)'.
2258 2003-11-16 Zoltan Varga <vargaz@freemail.hu>
2260 * Assembly.cs (InternalGetAssemblyName): New icall.
2262 * AssemblyName.cs (GetAssemblyName): Implement this without loading
2263 the assembly in question. Fixes #51035.
2265 2003-11-14 Martin Baulig <martin@ximian.com>
2267 * MonoGenericInst.cs (MonoGenericInst): Added
2268 `MonoGenericInst[] interfaces' field. This is only used for
2270 (MonoGenericInst.inflate): If we're an interface type, add the
2271 methods from all interfaces we inherit.
2273 2003-11-14 Zoltan Varga <vargaz@freemail.hu>
2275 * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values
2278 * *.cs: Add missing attributes.
2280 2003-11-11 Todd Berman <tberman@gentoo.org>
2282 * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
2284 2003-11-11 Zoltan Varga <vargaz@freemail.hu>
2286 * MonoMethod.cs: Implement CallingConvention member.
2288 2003-11-10 Zoltan Varga <vargaz@freemail.hu>
2290 * Assembly.cs (InternalGetType): Add a 'module' argument so this
2291 method can be used from Module as well.
2293 * Module.cs (GetType): Implement.
2295 * Module.cs (GetTypes): Implement.
2297 * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
2298 2003-11-08 Martin Baulig <martin@ximian.com>
2300 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
2301 a private `IntPtr ginst' field.
2302 (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
2304 2003-11-02 Martin Baulig <martin@ximian.com>
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.
2314 2003-11-02 Martin Baulig <martin@ximian.com>
2316 * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
2318 2003-10-31 Martin Baulig <martin@ximian.com>
2320 * MonoGenericInst.cs (MonoInflatedField): New internal class.
2321 (MonoGenericInst.GetFields): Override this method and inflate
2324 * MonoField.cs: Don't make this class sealed.
2326 2003-10-30 Martin Baulig <martin@ximian.com>
2328 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
2331 2003-10-25 Martin Baulig <martin@ximian.com>
2333 * MonoGenericInst.cs: New internal class.
2335 2003-10-18 Martin Baulig <martin@ximian.com>
2337 * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
2338 abstract; use an interncall in MonoMethod and a custom
2339 implementation in MethodBuilder.
2341 2003-10-17 Pedro Martinez Julia <yoros@wanadoo.es>
2343 * MonoEvent.cs: implement ToString method as in MS.NET.
2345 * MonoMethod.cs: fix some differences between mono and MS.NET
2346 implementation of ToString.
2348 2003-10-17 Zoltan Varga <vargaz@freemail.hu>
2350 * AssemblyName.cs: Fix Version property when some version fields are
2353 2003-10-17 Martin Baulig <martin@ximian.com>
2355 * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
2356 (MethodInfo.BindGenericParameters): New method.
2358 2003-10-16 Martin Baulig <martin@ximian.com>
2360 * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
2363 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
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.
2369 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2371 * TargetInvocationException.cs: Fixed signature
2373 2003-07-24 Miguel de Icaza <miguel@ximian.com>
2375 * TypeDelegator.cs: Added generics stubs.
2377 2003-07-21 Lluis Sanchez Gual <lluis@ximian.com>
2379 * ParameterInfo.cs: Position is zero-based in ParameterInfo.
2380 Set the right position value when getting from ParameterBuilder.
2382 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
2384 * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
2385 finer-grained icalls. Requires a matching runtime.
2387 2003-07-11 Zoltan Varga <vargaz@freemail.hu>
2389 * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
2391 * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
2393 2003-07-10 Zoltan Varga <vargaz@freemail.hu>
2395 * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
2397 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
2399 * Pointer.cs: implemented.
2401 2003-06-15 Zoltan Varga <vargaz@freemail.hu>
2403 * EventInfo.cs: Implement IsSpecialName.
2405 2003-06-10 Zoltan Varga <vargaz@freemail.hu>
2407 * Module.cs (Mono_GetGuid): New method to return the GUID of the
2410 2003-05-21 Zoltan Varga <vargaz@freemail.hu>
2412 * Module.cs: Implement GetField and its friends.
2414 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
2416 * Assembly.cs (GetManifestResourceStream): Moved handling of
2417 linked resources into managed code using the newly implemented
2418 GetManifestResourceInfo () method.
2420 2003-05-19 Zoltan Varga <vargaz@freemail.hu>
2422 * Module.cs: Implemented IsResource.
2424 * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
2425 GetModule, GetLoadedModules methods.
2426 * Assembly.cs (GetManifestResourceStream): Added support for
2427 resources in extern assemblies.
2429 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2431 * Assembly.cs: fixed bug #42833.
2433 2003-05-11 Miguel de Icaza <miguel@ximian.com>
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 []).
2440 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2443 (check_type): fixed bug #41655.
2445 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2447 * Assembly.cs: implemented GetSatelliteAssembly.
2449 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
2451 * Assembly.cs: added GetNamespaces() icall.
2453 2003-03-17 Zoltan Varga <vargaz@freemail.hu>
2455 * FieldInfo.cs (GetFieldFromHandle): Implemented.
2457 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2459 * Assembly.cs: added missing stuff. Only ModuleResolve event is left
2460 out to avoid changing MonoReflectionAssembly by now.
2461 * ModuleResolveEventHandler.cs: delegate.
2463 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2465 * TargetInvocationException.cs: added serialization ctor.
2467 2003-02-18 Martin Baulig <martin@ximian.com>
2469 * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
2470 method's metadata token.
2472 2003-02-04 Sebastien Pouliot <spouliot@videotron.ca>
2474 * Module.cs: Corrected indentation for class.
2476 2003-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2479 (check_type): return true when the target type is object and the source
2482 2003-02-03 Patrik Torstensson
2484 * Binder.cs: minimize locking time in DefaultBinder.
2486 2003-02-01 Sebastien Pouliot <spouliot@videotron.ca>
2488 * Module.cs: Oups - not implemented. Added MonoTODO to most methods
2489 so it's real status get reflected correctly on the web site.
2491 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2493 * MonoMethod.cs: implemented GetBaseDefinition ().
2495 2003-01-28 Patrik Torstensson
2496 * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
2497 * ReflectionSerializationHolder.cs: Support class for serialization
2499 2003-01-17 Zoltan Varga <vargaz@freemail.hu>
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.
2505 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
2507 * Assembly.cs: added serialization support.
2509 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
2511 * MonoMethod.cs: propagate exceptions from the internal invoke
2512 code that need to be propagated.
2514 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
2516 * Binder.cs: throw an exception if the number of arguments
2517 when invoking a method is incorrect.
2519 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
2521 * Binder.cs: In SelectMethod() look for an exact match first.
2523 2003-01-01 Rachel Hestilow <hestilow@ximian.com>
2525 * MonoField.cs (SetValue): Fix logic typo. Check that obj is
2526 non-null only for the non-static case.
2528 2002-12-30 Sebastien Pouliot <spouliot@videotron.ca>
2530 * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by
2533 2002-12-23 Sebastien Pouliot <spouliot@videotron.ca>
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).
2540 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
2542 * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
2543 provider for the return type of a method.
2545 2002-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2547 * AssemblyName.cs: little fix in FullName.
2549 2002-12-07 Sebastien Pouliot <spouliot@videotron.ca>
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.
2556 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2558 * EventInfo.cs: implemented (Add|Remove)EventHandler.
2560 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
2562 * Assembly.cs: implemented GetManifestResourceStream (Type type,
2565 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2567 * Assembly.cs: changed name of GetType (string, bool, bool) to
2570 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2572 * TargetInvocationException.cs: modified default message.
2574 2002-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2577 * PropertyInfo.cs: fixed bug #31535.
2579 2002-09-27 Martin Baulig <martin@gnome.org>
2581 * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
2583 2002-09-24 Martin Baulig <martin@gnome.org>
2585 * Assembly.cs (MonoDebugger_GetType): New method to get a Type
2586 from its metadata token. This should only be used by the debugger.
2588 2002-09-21 Martin Baulig <martin@gnome.org>
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.
2594 2002-09-20 Martin Baulig <martin@gnome.org>
2596 * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
2597 from its metadata token. This should only be used by the debugger.
2599 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
2601 * Binder.cs: more default binder implementation.
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.
2607 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
2609 * Binder.cs: finished the Binder class and implemented the default
2612 2002-09-03 Martin Baulig <martin@gnome.org>
2614 * Assembly.cs (Assembly.Location): Implemented.
2616 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2619 (GetValue): allow obj to be null (used for static fields).
2621 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2623 * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
2626 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
2628 * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen
2629 <tomi.pakarinen@welho.com>.
2631 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2633 * Assembly.cs: FullName now returns a proper string instead of
2634 something like 'file://...'.
2636 * AssemblyName.cs: added missing ToString method.
2638 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2640 * FieldInfo.cs: implemented SetValue.
2642 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
2644 * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
2646 2002-08-14 Dick Porter <dick@ximian.com>
2648 * Assembly.cs: Stub out GetSatelliteAssembly
2650 2002-08-12 Tim Coleman <tim@timcoleman.com>
2652 Allow multiple parameters for GetValue ()
2654 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
2656 * Assembly.cs: implemented GetFile() and GetFiles().
2658 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
2660 * Assembly.cs: implemented EntryPoint and a few
2661 resource related methods.
2663 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
2665 * MethodBase.cs: implemented GetCurrentMethod.
2666 * Assembly.cs: implemented GetExecutingAssembly and
2669 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
2671 * MonoProperty.cs: handle properties with only a set method.
2673 2002-05-24 Martin Baulig <martin@gnome.org>
2675 * ParameterInfo.cs: Added internal constructor.
2677 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
2679 * Assembly.cs: implemented CreateInstance ().
2681 2002-05-22 Martin Baulig <martin@gnome.org>
2683 * MethodBase.cs (get_next_table_index): Added `object obj' argument.
2685 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
2687 * EventInfo.cs: more implementation.
2689 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
2691 * MonoEvent.cs: fill-in the implementation.
2693 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
2695 * Assembly.cs, AssemblyName.cs: updates and fixes.
2697 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
2699 * MonoProperty.cs (GetValue) : basic implementation to support nunit
2700 * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
2702 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
2704 * MonoMethod.c: cache the method name.
2706 2002-04-12 Duncan Mak <duncan@ximian.com>
2708 * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
2711 * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
2714 * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
2717 * BindingFlags.cs: Added missing value "PutRefDispProperty".
2719 * FieldAttributes.cs: Removed value "HasSecurity".
2721 * ManifestResourceInfo.cs: Added missing properties FileName,
2722 ReferencedAssembly and ResourceLocation.
2724 * TargetInvocationException.cs: Added the missing constructors.
2726 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
2728 * MonoMethod.cs: make Name property an icall.
2730 2002-04-08 Nick Drochak <ndrochak@gol.com>
2732 * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
2733 struct and interface.
2735 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
2737 * MonoEvent.cs: remove unused code.
2738 * MonoProperty: implement ToString().
2740 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
2742 * Assembly.cs: implement GetTypes() and GetExportedTypes().
2744 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
2746 * MonoEvent.cs: added the needed fields.
2748 2002-03-20 Martin Baulig <martin@gnome.org>
2750 * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
2752 * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
2754 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
2756 * MonoMethod.cs (Invoke): call InternalInvoke
2758 * MethodBase.cs (Invoke): call virtual invoke function
2760 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
2762 * EventInfo.cs: add compiler needed methods.
2763 * MonoMethod.cs: make ToString() return the return type name, too.
2765 2002-03-07 Nick Drochak <ndrochak@gol.com>
2767 * BindingFlags.cs: Add missing enum values. Thanks CorCompare.
2769 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
2771 * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
2773 2002-02-26 Duncan Mak <duncan@ximian.com>
2775 * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
2777 2002-02-24 Nick Drochak <ndrochak@gol.com>
2779 * AssemblyNameFlags.cs: Use proper member name. Thanks corcompare!
2781 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
2783 * MonoField.cs: implement GetValue as an internalcall.
2784 Implemented ToString().
2786 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
2788 * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
2789 MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
2792 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
2794 * TypeAttributes.cs: update to latest spec.
2796 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
2798 * Assembly.cs: handle throwOnError in GetType() call.
2800 2002-02-07 Duncan Mak <duncan@ximian.com>
2802 * AssemblyName.cs: Implemented ISerializable interface for the
2803 fields that we have.
2805 2002-02-05 Duncan Mak <duncan@ximian.com>
2808 * TargetException.cs: Added in CVS.
2810 2002-01-31 Duncan Mak <duncan@ximian.com>
2812 * ReflectionTypeLoadException.cs: Added missing bits.
2814 2002-01-23 Duncan Mak <duncan@ximian.com>
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.
2838 2002-01-23 Miguel de Icaza <miguel@ximian.com>
2840 * Assembly.cs (Assembly.CodeBase): Implement.
2841 (Assembly.FullName): simplistic and broken implementation. Gets
2842 us where we were yesterday.
2846 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
2848 * IReflect.cs: corrected GetMember() return type.
2849 * InterfaceMapping.cs, TypeDelegator.cs: implemented.
2851 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
2853 * MonoMethod.cs: ToString () implementation.
2855 2002-01-04 Ravi Pratap <ravi@ximian.com>
2857 * Assembly.cs : Decorate missing bits with the MonoTODO
2860 * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
2861 ReflectionTypeLoadException.cs : Ditto.
2863 * FieldInfo.cs : Ditto.
2865 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
2867 * Assembly.cs: trow unimplemented exceptions.
2869 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
2871 * MonoMethod.cs: implemented GetParameters().
2872 * MonoProperty.cs: PropertyInfo implementation.
2873 * ParameterInfo.cs: implemented.
2874 * PropertyInfo.cs: fixes.
2876 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
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.
2886 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
2888 * MethodBase.cs: add internal get_next_table_index() for use in
2891 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
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.
2899 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
2901 * Assembly.cs: Filled in some stub implementations
2903 * ConstructorInfo.cs: Added some stub functions for NUnit
2905 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
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.
2922 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
2924 * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
2926 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
2928 * MethodBase.cs, MethodInfo.cs: added.
2930 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
2932 * Assembly.cs: added stub code.
2934 2001-07-18 Michael Lambert <michaellambert@email.com>
2936 * BindingFlags.cs: Add.