1 2010-01-05 Rodrigo Kumpera <rkumpera@novell.com>
3 * ParameterInfo.cs (DefaultProperty): Fix small typo.
5 2010-01-05 Rodrigo Kumpera <rkumpera@novell.com>
7 * ParameterInfo.cs (DefaultProperty): Add support for DateTime defaults.
9 * ParameterInfo.cs: Implements RawDefaultProperty.
11 2009-12-17 Rodrigo Kumpera <rkumpera@novell.com>
13 * MonoGenericClass.cs (GetMethods): When the GTD is not a typebuilder,
14 calling GetMethods on it will return everything we need so no need to
16 The returned methods might contains some that are not from a generic type
17 so we need to guard against this as well.
19 * MonoGenericClass.cs (GetMethodsInternal): Guard against methods that don't
20 belong to a GTD as well.
22 2009-12-14 Rodrigo Kumpera <rkumpera@novell.com>
24 * MonoGenericClass.cs: Remove IsByRef hack.
26 2009-12-14 Rodrigo Kumpera <rkumpera@novell.com>
28 * MonoGenericClass.cs (format_name): Avoid calling AssemblyQualifiedName as mcs DynamicObject
31 2009-12-12 Rodrigo Kumpera <rkumpera@novell.com>
33 * MonoGenericClass.cs: Remove useless field.
35 2009-12-12 Rodrigo Kumpera <rkumpera@novell.com>
37 * MonoGenericClass.cs: Change it to support a non-sre generic type
40 2009-12-10 Rodrigo Kumpera <rkumpera@novell.com>
42 * MonoGenericClass.cs: Add new register_with_runtime icall to make
43 sure that a managed code instantiated MGC will be returned when
44 the generic instantiation happens in unmanaged code.
46 This is a temporary workaround while Type::MakeGenericType doesn't
47 handle user types properly.
49 2009-12-10 Rodrigo Kumpera <rkumpera@novell.com>
51 * MonoGenericClass.cs: Make this class inherit from Type instead of
52 MonoType. Implement some missing methods and make sure we can still
53 be used as a byref type.
55 2009-12-08 Rodrigo Kumpera <rkumpera@novell.com>
57 * MonoMethod.cs (MakeGenericMethod): If any of the arguments is
58 a non system type, inflate to a MethodOnTypeBuilderInst.
60 2009-12-08 Rodrigo Kumpera <rkumpera@novell.com>
62 * ParameterInfo.cs: Add constructor that takes an array of ParameterInfo
65 2009-12-08 Rodrigo Kumpera <rkumpera@novell.com>
67 * MonoGenericClass.cs: Implement IsCompilerContext property and replace
70 2009-12-04 Rodrigo Kumpera <rkumpera@novell.com>
72 * MonoGenericClass.cs (InflateType): Add a type argument parameter and
73 make this function static. Now it can inflate types using the context
76 2009-12-02 Jb Evain <jbevain@novell.com>
78 * Assembly.cs: disable warning about Assembly overriding
79 Equals but not GetHashCode. That's sadly how it's in .net.
81 2009-12-02 Jb Evain <jbevain@novell.com>
83 * MethodInfo.cs: add an internal virtual GetBaseMethod
84 returning the immediate predecessor in the inheritance chain.
85 * MonoMethod.cs: modify the get_base_definition icall to take
86 a boolean indicating that we want the immediate base method
87 or the original method definition and rename it to
88 get_base_method. Implement GetBaseMethod with it.
90 2009-11-21 Miguel de Icaza <miguel@novell.com>
92 * Assembly.cs: Implement missing method.
94 2009-11-03 Marek Habersack <mhabersack@novell.com>
96 * Assembly.cs: GetSatelliteAssembly must catch
97 AppDomain.LoadSatellite FileNotFoundException and attempt to load
98 satellites from subdirectories of current assembly's
99 directory. Fixes bug #548768
101 2009-10-30 Sebastien Pouliot <sebastien@ximian.com>
103 * MonoMethod.cs: Remove CAS check in MonoCMethod.Invoke (just
104 like it was done for MonoMethod.Invoke sister method)
106 2009-10-26 Sebastien Pouliot <sebastien@ximian.com>
108 * Assembly.cs: Share code between GetSatelliteAssembly and
109 GetSatelliteAssemblyNoThrow. For Moonlight ensure both
110 GetManifestResourceStream and GetSatelliteAssembly don't load
111 anything "below" the assembly path.
113 2009-10-20 Sebastien Pouliot <sebastien@ximian.com>
115 * MonoProperty.cs: Reduce code duplication and the number of direct
116 calls to icalls (affecting the number of SecuritySafeCritical in
119 2009-10-19 Sebastien Pouliot <sebastien@ximian.com>
121 * MonoEvent.cs: Reduce code duplication and the number of direct
122 calls to icalls (affecting the number of SecuritySafeCritical in
125 2009-10-18 Sebastien Pouliot <sebastien@ximian.com>
127 * MethodBase.cs: Reduce code duplication and the number of direct
128 calls to icalls (affecting the number of SecuritySafeCritical in
131 2009-10-17 Sebastien Pouliot <sebastien@ximian.com>
133 * MonoMethod.cs: Reduce code duplication and the number of direct
134 calls to icalls (affecting the number of SecuritySafeCritical in
137 2009-09-22 Sebastien Pouliot <sebastien@ximian.com>
139 * Assembly.cs: Remove Evidence and GlobalAssemblyCache
140 properties for NET_2_1
142 2009-09-19 Sebastien Pouliot <sebastien@ximian.com>
144 * TargetException.cs, TargetInvocationException.cs,
145 TargetParameterCountException.cs: Inherit from Exception for
146 NET_2_1 since ApplicationException does not exists
148 2009-09-18 Sebastien Pouliot <sebastien@ximian.com>
150 * Assembly.cs, Module.cs: Avoid imperative CAS checks for NET_2_1
152 2009-08-18 Zoltan Varga <vargaz@gmail.com>
154 * MonoGenericClass.cs: Use StringComparison.Ordinal when calling
157 2009-08-07 Rodrigo Kumpera <rkumpera@novell.com>
159 * MonoGenericClass.cs: Implement almost all methods required
160 to move to inherit from System.Type. The only missing methods
161 are Is(Array|Pointer|ByRef)Impl and GetElementType since the
162 runtime still generates weird instances for generics instances
163 of non-SRE types with SRE types as generic arguments.
165 2009-08-06 Rodrigo Kumpera <rkumpera@novell.com>
167 * MonoGenericClass.cs (InflateType): Add support to inflate
168 generic method arguments.
170 * MonoGenericClass.cs (GetMethod): Remove restriction
171 with generic methods.
173 2009-08-05 Rodrigo Kumpera <rkumpera@novell.com>
175 * MonoGenericClass.cs (FullName): mcs depends that FullName
176 doesn't return null for instantiations over generic params
177 of type builders. We special case this under compiler context.
179 2009-08-05 Rodrigo Kumpera <rkumpera@novell.com>
181 * MonoGenericClass.cs: Remove Is(Array|Pointer|ByRef)Impl
182 and GetElementType since the runtime still produces instances
183 of MonoGenericClass for those types.
185 2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
187 * MonoGenericClass.cs: Implement more methods from MonoType.
188 Done with all type name related properties.
190 2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
192 * MonoGenericClass.cs: Implement Is*Impl methods to simply
195 2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
197 * MonoGenericClass.cs: Implement Make(Array,ByRef,Pointer) using the
200 2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
202 * MonoGenericClass.cs (InflateType): Implement it in terms of managed
203 code and kill the corresponding icall.
205 2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
207 * MonoGenericClass.cs: Add type_arguments field and constructor
210 2009-08-03 Rodrigo Kumpera <rkumpera@novell.com>
212 * MonoGenericClass.cs (initialize): Remember the number
213 of events available at initialization time. This is required as
214 mcs expect this behavior under compiler context that new events
215 are not returned for an instance that was inflated before.
217 * MonoGenericClass.cs: Kill GetEvents_internal and implement it
218 in terms of managed code.
220 2009-07-30 Zoltan Varga <vargaz@gmail.com>
222 * FieldInfo.cs: Throw an exception if internal_from_handle_type ()
223 returns null. Fixes #525733.
225 2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
227 * MonoGenericClass.cs (initialize): Call TypeBuilder::GetConstructorsInternal
228 since the public version throws.
230 2008-07-29 Marek Safar <marek.safar@gmail.com>
232 * MonoGenericClass.cs: Removed one IsCompilerContext hack.
234 2009-07-27 Rodrigo Kumpera <rkumpera@novell.com>
236 * Assembly.cs (GetType): Throw if name is empty.
238 2009-07-27 Rodrigo Kumpera <rkumpera@novell.com>
240 * EventInfo (RemoveEventHandler): Throw InvalidOperationException if the
241 event remove method is not visible.
243 2009-07-27 Rodrigo Kumpera <rkumpera@novell.com>
245 * EventInfo (AddEventHandler): Throw TargetException if target is not cast
248 * EventInfo (AddEventHandler): Throw InvalidOperationException if the
249 event add method is not visible.
251 * EventInfo (AddEventHandler): Throw TargetException if source is null
252 and the event is not static.
254 2009-07-24 Rodrigo Kumpera <rkumpera@novell.com>
256 * MonoGenericClass.cs (GetParentType): Implement using managed code.
258 2009-07-24 Rodrigo Kumpera <rkumpera@novell.com>
260 * MonoGenericClass.cs: Make all icalls private. Kill GetInterfaces_internal.
261 Add a workaround for a GetField under compiler context.
263 2009-07-24 Rodrigo Kumpera <rkumpera@novell.com>
265 * MonoGenericClass.cs (GetMethod): Use the new code always. Don't
266 accept MethodOnTypeBuilderInst under compiler context.
268 * MonoGenericClass.cs (GetField): Use the new code always.
270 * MonoGenericClass.cs: Make a bunch of methods raise NotSupportedException
271 when not under compiler context. Remove some dead code.
273 2009-07-23 Rodrigo Kumpera <rkumpera@novell.com>
275 * MonoGenericClass.cs: Kill GetConstructors_internal and implement it
276 all in terms of managed code.
278 * MonoGenericClass.cs: Return instances of ConstructorOnTypeBuilderInst
279 under bootstrap profile.
281 2009-07-23 Rodrigo Kumpera <rkumpera@novell.com>
283 * MonoGenericClass.cs: Kill GetFields_internal and implement it
284 all in terms of managed code.
286 2009-07-23 Rodrigo Kumpera <rkumpera@novell.com>
288 * MonoGenericClass.cs: Kill GetMethods_internal and implement it
289 all in terms of managed code.
291 2009-07-22 Rodrigo Kumpera <rkumpera@novell.com>
293 * MonoGenericClass.cs: Kill GetProperties_internal and implement it
294 all in terms of managed code.
296 2009-07-12 Gert Driesen <drieseng@users.sourceforge.net>
298 * Binder.cs: Only allow a type to match its byref version for
299 BindToMethod (and not for SelectMethod).
301 2009-07-11 Zoltan Varga <vargaz@gmail.com>
303 * Binder.cs: Allow conversion of IntPtr to pointer types.
305 2009-07-10 Zoltan Varga <vargaz@gmail.com>
307 * Binder.cs (check_arguments): Allow a type to match its byref version.
310 2009-06-12 Zoltan Varga <vargaz@gmail.com>
312 * ParameterInfo.cs (DefaultValue): Add support for decimals, their default
313 value is encoded using a custom attribute.
315 2009-05-02 Sebastien Pouliot <sebastien@ximian.com>
317 * Assembly.cs: Exclude CAS-specific code for NET_2_1
319 2009-04-30 Sebastien Pouliot <sebastien@ximian.com>
321 * Module.cs: Exclude GetSignerCertificate (Authenticode related)
323 * StrongNameKeyPair.cs: Adapt to work with only RSAManaged when
324 built for NET_2_1, i.e. remove use of RSACryptoServiceProvider
326 2009-03-26 Zoltan Varga <vargaz@gmail.com>
328 * MonoMethod.cs: Add a 'member' argument to the get_parameter_info () icall.
330 2009-03-03 Matthew Metnetsky <matthew@cowarthill.com>
332 * MonoMethod.cs: within Invoke only change types if BindingFlags.ExactBinding isn't set
334 * MonoMethod.cs: within Invoke ensure arg types match ParameterInfo types before
335 calling InvokeInternal
337 2009-03-20 Sebastien Pouliot <sebastien@ximian.com>
339 * EventInfo.cs, MonoProperty.cs: Ensure the delegate optimization
340 works correctly, i.e. throw the right exception, with Moonlight.
342 2009-03-11 Zoltan Varga <vargaz@gmail.com>
344 * Binder.cs: Allow conversions from T to T?. Fixes #484294.
346 2008-03-02 Rodrigo Kumpera <rkumpera@novell.com>
348 * EventInfo.cs: Apply similar trick to the one in MonoProperty to speed up
351 2008-02-28 Rodrigo Kumpera <rkumpera@novell.com>
353 * MonoProperty.cs (GetValue): Don't use the delegate optimization for valuetypes.
355 2008-02-26 Rodrigo Kumpera <rkumpera@novell.com>
357 * MonoProperty.cs (GetValue): Optimize getters for properties without arguments.
359 2008-02-26 Rodrigo Kumpera <rkumpera@novell.com>
361 * MonoProperty.cs (GetValue): Optimize getters for properties without arguments.
362 The optimization is to create a pair of chained delegates that duplicate the workings
363 on MethodBase::Invoke without all the aditional overhead and without doing two
364 managed/native transitions.
366 Simple Getter performance is up to 17x faster.
368 This patch reduces contention on domain and domain jit code hash locks, which
369 can be very hot on asp.net applications.
371 2008-02-21 Jb Evain <jbevain@novell.com>
373 * Module.cs: add a new virtual GetModuleVersionId method,
374 and make the properties .MvId and ModuleVersionId call it.
375 This way, we can override it in ModuleBuilder.
376 Part of the fix for #471302.
378 2008-02-03 Rodrigo Kumpera <rkumpera@novell.com>
380 * MonoMethod.cs: Fix the 1.1 build.
382 2008-02-02 Rodrigo Kumpera <rkumpera@novell.com>
384 * MonoMethod.cs (ToString): Fix the representation of non primitive structs.
386 2008-02-02 Rodrigo Kumpera <rkumpera@novell.com>
388 * MonoMethod.cs (ToString): Fix representation of pointer types.
392 2009-01-24 Zoltan Varga <vargaz@gmail.com>
394 * MonoGenericClass.cs: Fix warnings.
396 2009-01-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
398 * Assembly.cs: add new LoadSatelliteAssemblyNoThrow method and use the
399 new LoadSatellite() in AppDomain.
401 2009-01-09 Zoltan Varga <vargaz@gmail.com>
403 * CustomAttributeData.cs (ToString): Applied patch from Leszek Ciesielski
404 <skolima@gmail.com>. Use DeclaringType.FullName instead of DeclaringType.Name.
407 2008-11-17 Rodrigo Kumpera <rkumpera@novell.com>
409 * MonoField.cs (GetValue): Don't check for open generic types if the field
412 2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
414 * Module.cs (ResolveMethod): Use internal method
415 GetMethodFromHandleNoGenericCheck to avoid the generic type
416 limitation of GetMethodFromHandle.
420 2008-10-02 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
422 * MonoMethod.cs: throw a MemberAccessException when
423 trying to invoke a constructor creating an instance of an abstract
424 class. Return null when an instance of an object was passed as a
425 parameter when invoking a .ctor. Fixes bug #324185.
427 2008-09-07 Zoltan Varga <vargaz@gmail.com>
429 * MonoField.cs: Add check to GetValue/SetValue () to avoid crashes when it is
430 called on fields of open types. Fixes #424077.
432 2008-08-12 Gert Driesen <drieseng@users.sourceforge.net>
434 * ReflectionSerializationHolder.cs: Removed.
435 * common.src: Removed.
437 2008-08-04 Atsushi Enomoto <atsushi@ximian.com>
439 * Assembly.cs : return UnmanagedMemoryStream from
440 GetManifestResourceStream(). Fixed bug #322241.
442 2008-07-30 Rodrigo Kumpera <rkumpera@novell.com>
444 * MonoGenericClass.cs (InflateType): Guard against null types.
447 2008-07-23 Marek Safar <marek.safar@gmail.com>
449 * MethodBase.cs (GetMethodFromHandle): Needed for bootraping.
451 2008-07-22 Rodrigo Kumpera <rkumpera@novell.com>
453 * MonoGenericClass.cs (GetMethod): Under compiler mode allow
454 MethodOnTypeBuilderInst to be used..
456 2008-07-17 Rodrigo Kumpera <rkumpera@novell.com>
458 * MonoGenericClass.cs (GetMethod): Revert to old code
459 path as the new one broke System.Core.
461 2008-07-16 Rodrigo Kumpera <rkumpera@novell.com>
463 * MonoGenericClass.cs (GetMethod): Use the new codepath for compiler
466 * MonoGenericClass.cs: New InflateType method, used to inflate
469 2008-07-11 Marek Safar <marek.safar@gmail.com>
471 * MonoGenericClass.cs (GetField): Put back removed code.
473 2008-07-04 Rodrigo Kumpera <rkumpera@novell.com>
475 * MethodBase.cs (GetMethodFromHandle): Fix a warning in
478 2008-07-04 Rodrigo Kumpera <rkumpera@n ovell.com>
480 * MethodBase.cs (GetMethodFromHandle): Extract an internal version
481 of this function that doesn't perform the generic class check.
482 This method is required to fix the Delegate regression that fixing
485 2008-06-25 Rodrigo Kumpera <rkumpera@n ovell.com>
487 * MethodBase.cs (GetMethodFromHandle): Check if the icall returns null
488 and fail. This is part of the fix for #377324.
490 2008-06-19 Marek Safar <marek.safar@gmail.com>
492 * MonoGenericClass.cs (GetConstructor): Put back removed code due to obscure
493 System.Reflection.MonoGenericCMethod.
495 2008-06-19 Kornel Pal <kornelpal@gmail.com>
497 * Module.cs: Add internal GetHINSTANCE.
499 2008-06-02 Ivan N. Zlatev <contact@i-nz.net>
501 * Binder.cs, MonoGenericClass.cs: For property reflection we should
502 strictly match the return type if available.
504 2008-05-16 Zoltan Varga <vargaz@gmail.com>
506 * MonoGenericClass.cs (GetConstructor): Remove some old code, as the new code
510 2008-05-05 Zoltan Varga <vargaz@gmail.com>
512 * FieldInfo.cs (GetFieldFromHandle): Add an argument check for an invalid handle.
514 * MethodBase.cs (GetMethodFromHandle): Ditto. Fixes #386641.
516 2008-04-30 Gert Driesen <drieseng@users.sourceforge.net>
518 * ParameterInfo.cs: Name must default to null if no ParameterBuilder
521 2008-04-22 Zoltan Varga <vargaz@gmail.com>
523 * MonoGenericClass.cs (GetMethod): Construct a MethodOnTypeBuilderInst object
524 instead of using GetCorrespondingInflatedMethod. This is needed so this class can
525 reflect the changes made to the builder after initialize () has been called.
526 Fixes #381547 and #354759.
527 (GetConstructor): Ditto.
529 2008-04-16 Zoltan Varga <vargaz@gmail.com>
531 * Binder.cs: Applied patch from Yves Bastide (doc.formatique@gmail.com). Add
532 support for converting integers to enums. Fixes #380361.
534 ?2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
537 * MethodInfo.cs: Fix parameter names
539 2008-03-31 Mark Probst <mark.probst@gmail.com>
541 * MonoMethod.cs: Don't do CAS security checks in Invoke for 2.1
544 2008-03-25 Zoltan Varga <vargaz@gmail.com>
546 * MonoCMethod.cs (Invoke): Avoid a crash if this is called on a ctor of an open
547 generic type. Fixes #373459.
549 * MonoMethod.cs (InternalInvoke): Add an out 'exc' argument used to distinguish
550 exceptions thrown by the icall from the exceptions thrown by the wrapped method.
553 2008-03-17 Marek Safar <marek.safar@gmail.com>
555 * MonoMethod.cs (ToString): Print VarArgs argument.
557 2008-03-14 Zoltan Varga <vargaz@gmail.com>
559 * MonoGenericClass.cs (GetField): Construct a FieldOnTypeBuilderInst object
560 instead of using GetCorrespondingInflatedField. This is needed so this class can
561 reflect the changes made to the type builder after initialize () has been called.
563 * Binder.cs (ChangeType): Add support for Char->Double/Single conversations. Fixes
566 2008-03-10 Gert Driesen <drieseng@users.sourceforge.net>
568 * Assembly.cs (GetFile): Fixed exception messages and param name.
570 2008-03-06 Zoltan Varga <vargaz@gmail.com>
572 * Assembly.cs: Define GetManifestModule () for net 2.0 bootstrap as well.
574 2008-02-26 Ivan N. Zlatev <contact@i-nz.net>
576 * MonoProperty.cs: MS ignores the inherit parameter and defaults to false
577 for GetCustomAttributes.
578 [Fixes bugs #324472 and #322464]
580 2008-02-20 Zoltan Varga <vargaz@gmail.com>
582 * AssemblyName.cs (ReferenceMatchesDefinition): Add error checking and some
583 simple cases required by ikvm.
585 2008-02-18 Zoltan Varga <vargaz@gmail.com>
587 * CustomAttributeTypedArgument.cs (.ctor): Convert arrays into a collection of
588 CustomAttributeTypedArguments to match MS.
590 2008-02-10 Gert Driesen <drieseng@users.sourceforge.net>
592 * Assembly.cs: Use icall for ToString/FullName. Fixes bug #318231.
594 2008-02-02 Gert Driesen <drieseng@users.sourceforge.net>
596 * MonoMethod.cs (MakeGenericMethod): Modified argument name to match
597 MS. When one of the types is null, throw ArgumentNullException instead
598 of ArgumentException.
599 * MethodInfo.cs (MakeGenericMethod): Modified argument name to match
602 2008-01-29 Zoltan Varga <vargaz@gmail.com>
604 * Assembly.cs: Make GetTypes () virtual so it can be overriden by AssemblyBuilder.
606 * Assembly.cs: Make GetModulesInternal () virtual so it can be overriden by
609 2008-01-22 Zoltan Varga <vargaz@gmail.com>
611 * MonoGenericClass.cs: Make this NET 2.0 only.
613 * MonoGenericClass.cs (Initialize): Simplify this a bit and add comments for this
616 2008-01-20 Gert Driesen <drieseng@users.sourceforge.net>
618 * AssemblyName.cs: Added support for Retargetable spec in FullName.
620 2008-01-17 Zoltan Varga <vargaz@gmail.com>
622 * Assembly.cs AssemblyFlagsAttribute.cs ICustomAttributeProvider.cs
623 MemberInfo.cs FieldInfo.cs DefaultMemberAttribute.cs
624 CustomAttributeNamedArgument.cs TargetException.cs MethodInfo.cs
625 IReflect.cs CustomAttributeTypedArgument.cs Module.cs: Change some parameter
628 2008-01-15 Jb Evain <jbevain@novell.com>
630 * MonoMethod.cs (MakeGenericMethod): check for null values
631 in the types arguments. Fixes #353849.
633 2008-01-06 Sebastien Pouliot <sebastien@ximian.com>
635 * Assembly.cs: Fix typo in setter found with Gendarme (was used in a
636 single place, AppDomain, and set to true so it never caused a problem)
638 2008-01-04 Gert Driesen <drieseng@users.sourceforge.net>
640 * AssemblyName.cs: Fixed default value for ProcessorArchitecture to
641 match MS. On 2.0 profile, return zero-length in FullName is no name
642 is set, and throw a SecurityException in FullName and GetPublicKeyToken
643 if a public key is set with no corresponding public key token.
644 Fixed FullName to also include PublicKeyToken spec with "null" value
645 if public key is empty byte array. Fixed corlib part of bug #351057.
646 In SetPublicKey, modify Flags accordingly. On the 2.0 profile, verify
647 the public key when the public key token is computed.
649 2007-12-26 Zoltan Varga <vargaz@gmail.com>
651 * Assembly.cs (GetSatelliteAssembly): Search in the assembly directory as well.
654 2007-12-03 Zoltan Varga <vargaz@gmail.com>
656 * MonoField.cs: Implement GetRawConstantValue ().
658 2007-11-24 Marek Habersack <mhabersack@novell.com>
660 * CustomAttributeTypedArgument.cs: value can be null in ToString.
662 2007-11-16 Zoltan Varga <vargaz@gmail.com>
664 * Assembly.cs (GetFiles): Include the assembly itself as the first entry.
666 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
668 * AssemblyName.cs : remove extraneous MonoTODO.
670 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
672 * ExceptionHandlingClause.cs : implemented ToString().
674 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
676 * MethodBase.cs : (Invoke) removed extra interface implementation.
678 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
680 * StrongNameKeyPair.cs : implemented 2.0 runtime serialization stuff.
682 2007-11-05 Mark Probst <mark.probst@gmail.com>
684 * Binder.cs: Treat matches with different argument types as
685 ambiguous, too. Fixes #324998.
687 2007-11-01 Zoltan Varga <vargaz@gmail.com>
689 * Binder.cs: Avoid returning a method with a ParamArray attribute when a normal
690 method exists. Fixes #338266.
692 2007-10-30 Zoltan Varga <vargaz@gmail.com>
694 * Binder.cs: Applied patch from Mario A Chavez <mario.chavez@gmail.com>. Add
695 support for binding to methods with ParamArray attribute. Fixes #336841.
697 2007-10-27 Zoltan Varga <vargaz@gmail.com>
699 * MonoGenericClass.cs: Override GetPropertyImpl too.
701 2007-10-24 Atsushi Enomoto <atsushi@ximian.com>
703 * Assembly.cs : include ReflectionOnlyLoad() as part of 2.0
706 2007-09-23 Zoltan Varga <vargaz@gmail.com>
708 * Assembly.cs (GetManifestModule): New virtual method overridden by
711 2007-09-17 Gert Driesen <drieseng@users.sourceforge.net>
713 * Assembly.cs: In GetManifestResourceStream, throw ANE with type as
714 paramname when both name and type are null. Use String.Length to check
715 for zero-length string.
717 2007-09-11 Mark Probst <mark.probst@gmail.com>
719 * MonoMethod.cs: Catch and re-throw MethodAccessException from
720 InternalInvoke for CoreCLR security.
722 Thu Sep 6 19:49:34 CEST 2007 Paolo Molaro <lupus@ximian.com>
724 * MonoMethod.cs: name is used as a cache: provide an icall to get the
725 name from the runtime.
727 2007-08-23 Robert Jordan <robertj@gmx.net>
729 * MemberInfoSerializationHolder.cs: created from
730 ReflectionSerializationHolder to match MS (fixes bug #80761).
731 Add support for fields, events, properties and generic methods.
733 * MonoMethod.cs (GetObjectData): handle generic arguments.
735 * MonoGenericMethod.cs: mark as [Serializable].
737 * MonoProperty.cs (GetObjectData): implemented.
739 * MonoField.cs: ditto.
741 * MonoEvent.cs: ditto.
743 2007-07-19 Atsushi Enomoto <atsushi@ximian.com>
745 * MonoMethod.cs : parameter types should be fixed as well.
747 2007-07-19 Atsushi Enomoto <atsushi@ximian.com>
749 * MonoMethod.cs : ToString() did not show correct return type when
752 2007-07-15 Zoltan Varga <vargaz@gmail.com>
754 * FieldInfo.cs: Implement GetOptional/RequiredCustomModifiers ().
756 * MethodInfo.cs: Remove an unneccesary MonoTODO.
758 * Module.cs: Implement ResolveSignature.
760 2007-07-14 Zoltan Varga <vargaz@gmail.com>
762 * Module.cs: Implement the generic versions of the ResolveXXX methods.
764 2007-07-10 Zoltan Varga <vargaz@gmail.com>
766 * Module.cs: Add new internal method GetMDStreamVersion ().
768 2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
770 * CustomAttributeNamedArgument.cs, CustomAttributeTypedArgument.cs:
771 added missing operator == and !=.
773 2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
775 * CustomAttributeNamedArgument.cs CustomAttributeTypedArgument.cs
776 CustomAttributeData.cs : implemented Equals() and GetHashCode().
777 * Missing.cs : ISerializable.
778 * AssemblyName.cs : ReferenceMatchesDefinition() stub.
779 * Module.cs : missing method stubs with generic type/method args.
780 * ExceptionHandlingClause.cs : ToString() stub.
781 * MethodBase.cs TypeDelegator.cs ModuleResolveEventHandler.cs
782 TypeFilter.cs MemberFilter.cs
783 FieldInfo.cs ParameterInfo.cs MethodInfo.cs :
784 miscellaneous cosmetic API fixes.
786 Tue May 8 13:04:35 CEST 2007 Paolo Molaro <lupus@ximian.com>
788 * FieldInfo.cs, MethodBase.cs: implemented new GetFieldFromHandle and
789 GetMethodFromHandle overloads (bug #78637).
791 2007-05-07 Zoltan Varga <vargaz@gmail.com>
793 * MonoMethod.cs (Invoke): Fix a warning.
795 * MonoMethod.cs (Invoke): Don't wrap ThreadAbortException inside a
796 TargetInvocationException on the 2.0 profile. Fixes #81538.
798 2007-04-09 Alp Toker <alp@atoker.com>
800 * MonoMethod.cs: Use StringBuilder for the entire ToString() methods
801 to reduce allocations and increase performance.
803 2007-04-09 Alp Toker <alp@atoker.com>
805 * MonoMethod.cs: Use StringBuilder for parms in ToString() methods.
807 2007-04-09 Alp Toker <alp@atoker.com>
809 * MethodBase.cs: IsGenericMethodDefinition() and IsGenericMethod()
810 should return false, not throw NotSupportedException. This matches MS
811 behaviour and introduces simplifications in subclasses.
812 * MonoMethod.cs: MonoCMethod: Remove redundant overrides.
814 2007-03-05 Peter Dettman <peter.dettman@iinet.net.au>
816 * Binder.cs: The patch changes Binder.Default.GetBetterMethod to
817 prefer methods in subclasses if the arg types can't disambiguate
820 Also fixes a typo in the CallingConventions comparison.
822 2007-03-01 Alp Toker <alp@atoker.com>
825 Add GetFieldFromHandle() 2.0 overload stub (NotImplemented).
827 2007-03-01 Alp Toker <alp@atoker.com>
829 * MethodBase.cs: Add missing ComVisible attr.
830 Add GetMethodFromHandle() 2.0 overload stub (NotImplemented).
832 2006-12-30 Marek Safar <marek.safar@gmail.com>
834 * MonoProperty.cs: Cache frequently used properties.
836 Thu Dec 14 13:50:48 CET 2006 Paolo Molaro <lupus@ximian.com>
838 * *.cs: added missing Serializable attributes.
840 Thu Dec 14 12:52:27 CET 2006 Paolo Molaro <lupus@ximian.com>
842 * MonoProperty.cs, ParameterInfo.cs, PropertyInfo.cs:
843 GetRequiredCustomModifiers()/GetOptionalCustomModifiers()
846 Tue Dec 12 20:35:10 CET 2006 Paolo Molaro <lupus@ximian.com>
848 * MethodBase.cs: added missing ComVisible attr.
849 * MethodInfo.cs: added a few missing methods that we implement
852 Tue Dec 12 19:45:26 CET 2006 Paolo Molaro <lupus@ximian.com>
854 * MonoEvent.cs: correctly obey the nonPublic flag in GetOtherMethods ().
855 * EventInfo.cs: remove NotImpl exception from GetOtherMethods ().
857 2006-10-19 Gert Driesen <drieseng@users.sourceforge.net>
859 * AssemblyName.cs: Revert change where filename was not converted to
860 absolute path before passing it to Assembly.InternalGetAssemblyName
861 as the CodeBase is not set in that case.
863 2006-10-17 Kornel Pal <kornelpal@gmail.com>
865 * FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a
866 NotSupportedException is the proper implementation.
867 * ParameterInfo.cs: Use Attributes in Is... properties on profile 2.0
868 that is expected by subclasses.
870 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
872 * AssemblyName.cs: No need to convert filename to absolute path before
873 passing it to Assembly.InternalGetAssemblyName. This allows our
874 exception messages to be better match those of MS.
876 2006-09-29 Jb Evain <jbevain@gmail.com>
878 * MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.
880 2006-09-02 Zoltan Varga <vargaz@gmail.com>
882 * ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from
883 Peter Dettman (peter.dettman@iinet.net.au). Implement ReturnParameter
886 * Binder.cs (ReorderParameters): Really fix this.
888 * Binder.cs (ReorderParameters): Fix this method. Fixes #79120.
890 2006-09-01 Raja R Harinath <rharinath@novell.com>
892 * MonoMethod.cs (ToString): Update to handle change in byref type names.
894 2006-08-08 Gert Driesen <drieseng@users.sourceforge.net>
896 * Assembly.cs: On 2.0 profile, throw FileNotFoundException for
897 linked resources in GetManifestResourceStream when assembly is
898 loaded from byte array.
900 2006-07-12 Zoltan Varga <vargaz@gmail.com>
902 * MonoMethod.cs (ContainsGenericParameters): Implement.
904 * MonoMethod.cs (Invoke): Prevent invoking of open generic methods.
906 2006-07-09 Gert Driesen <drieseng@users.sourceforge.net>
908 * Assembly.cs: When assembly is loaded from byte array, return null
909 for linked resources in GetManifestResourceStream. Fixes bug #78468.
911 2006-07-09 Zoltan Varga <vargaz@gmail.com>
913 * Binder.cs: Add back the support for BindingFlags.ExactBinding. Fixes #78592.
915 2006-06-30 Zoltan Varga <vargaz@gmail.com>
917 * Binder.cs: Comment out the ExactBinding stuff for the release as it breaks some
920 2006-06-07 Zoltan Varga <vargaz@gmail.com>
922 * Binder.cs: Add support for BindingFlags.ExactBinding. Fixes #78592.
924 2006-05-28 Gert Driesen <drieseng@users.sourceforge.net>
926 * MethodBase.cs: GetMethodBody should not throw ArgumentException for
927 a method with no IL body. Fixes bug #78522.
929 2006-05-10 Zoltan Varga <vargaz@gmail.com>
931 * Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
933 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
935 * Binder.cs : (Default.SelectMethod)
936 don't throw AmbiguousMatchException when one of conflicting method
937 matches weakly. Fixed bug #42547.
939 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
941 * Binder.cs : (Default.BindToMethod) reorder parameters based
942 on namedParameters. Fixed bug #41691.
944 2006-05-03 Jb Evain <jbevain@gmail.com>
946 * MonoField.cs (GetValue,SetValue): throw a TargetException
947 when the field is non static and the target is null.
949 2006-03-12 Zoltan Varga <vargaz@gmail.com>
951 * Binder.cs: Applied patch from Ben to fix #74947.
953 2006-03-01 Miguel de Icaza <miguel@novell.com>
955 * Assembly.cs: Cache the AssemblyName, patch from Tambet. This
956 reduces the memory usage during remoting.
958 2006-02-16 Martin Baulig <martin@ximian.com>
960 * FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.
962 2006-02-15 Martin Baulig <martin@ximian.com>
964 * MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
965 (MethodBase.Mono_IsInflatedMethod): Removed.
966 (MethodBase.HasGenericParameters): Removed.
968 * MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
969 here from MethodBase.
972 (MonoMethod.IsGenericMethodDefinition): This is now an icall.
973 (MonoMethod.IsGenericMethod): Likewise.
975 2006-02-14 Martin Baulig <martin@ximian.com>
978 (MonoCMethod.IsGenericMethod): Override this and return false; the
979 MS runtime doesn't throw an exception here.
981 2006-02-08 Martin Baulig <martin@ximian.com>
983 * MonoGenericClass.cs (MonoGenericClass.IsAssignableFrom):
984 Override and implement this; fixes #77395.
986 2006-02-07 Martin Baulig <martin@ximian.com>
989 (MonoMethod.IsGenericMethod): Only return true for "real" generic
990 methods and not for arbitrary instantiated methods.
991 (MonoMethod.IsGenericMethodDefinition): Only return true for
992 generic method definitions, but not for instantiated generic
993 methods. This is no longer an interncall. Fixes #77466.
995 2006-02-03 Zoltan Varga <vargaz@gmail.com>
997 * MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
1000 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
1002 * Assembly.cs: Fixed #75950. The icall has been changed to accept a
1003 boolean so it can return a non-escaped code base.
1005 2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
1007 * MonoMethod.cs : made MakeGenericMethod() indirect icall to
1008 MakeGenericMethod_impl() and raise an error when it returns null.
1010 2005-11-15 Zoltan Varga <vargaz@gmail.com>
1012 * Module.cs: Add MDStreamVersion property.
1014 * Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs
1015 CustomAttributeData.cs PortableExecutableKinds.cs
1016 ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
1019 2005-11-11 Marek Safar <marek.safar@seznam.cz>
1021 * MethodBase.cs, TypeDelegator.cs: Reflect Type changes.
1023 2005-10-30 Zoltan Varga <vargaz@freemail.hu>
1025 * FieldInfo.cs: Add an internal UMarshal property which can by
1026 overriden in FieldBuilder.
1028 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
1030 * MonoMethod.cs : (ToString) add suffix " ByRef" for byref parameters.
1033 2005-10-04 Martin Baulig <martin@ximian.com>
1035 * MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
1036 return type from `MonoGenericClass to `Type'.
1038 2005-09-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1040 * AssemblyName.cs: Add ParseName internal call, to parse
1041 long format assembly names.
1043 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
1045 * MonoProperty.cs: Invoke throws a SecurityException but GetValue must
1046 throw TargetInvocationException with the SecurityException as an inner
1047 exception. See CAS unit tests for System.Web.dll.
1049 2005-09-20 Martin Baulig <martin@ximian.com>
1051 * Assembly.cs: Removed some unused debugger icalls.
1053 2005-09-17 Zoltan Varga <vargaz@freemail.hu>
1055 * Module.cs: Remove obsolete Mvid property.
1057 2005-09-09 Martin Baulig <martin@ximian.com>
1059 Reflect latest API changes in the August CTP.
1061 * MethodBase.cs (MethodBase.MakeGenericMethod): Removed.
1063 * MethodInfo.cs (MethodInfo.MakeGenericMethod): Added here.
1065 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
1067 * AssemblyName.cs: Apply second half of Chris Micacchi's patch
1069 2005-09-07 Miguel de Icaza <miguel@novell.com>
1071 * AssemblyName.cs: Apply patch from Chris Micacchi to serialize
1072 the keyToken as "_PublicKeyToken".
1074 2005-09-05 Martin Baulig <martin@ximian.com>
1076 Reflect latest API changes in the August CTP.
1078 * GenericParameterAttributes.cs: Here.
1080 * MethodBase.cs (MethodBase.BindGenericParameters): Renamed to
1081 MakeGenericMethod().
1083 2005-09-05 Martin Baulig <martin@ximian.com>
1085 * Assembly.cs (MonoDebugger_GetMethodToken): Don't take an
1086 `Assembly' argument.
1088 2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1090 * Assembly.cs: made GetManifestResourceInternal internal. Fixes the
1093 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
1095 * Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
1096 * ConstructorInfo.cs: Added GetType() method in 1.1 to match
1097 MS.NET, implemented _ConstructorInfo.
1098 * EventInfo.cs: Added GetType() method in 1.1 to match MS.NET,
1099 implemented _EventInfo.
1100 * FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET,
1101 implemented _FieldInfo.
1102 * MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET,
1103 implemented _MemberInfo.
1104 * MethodBase.cs: Added GetType() method in 1.1 to match MS.NET,
1105 implemented _MethodBase.
1106 * MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET,
1107 implemented _MethodInfo.
1108 * PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET,
1109 implemented _PropertyInfo.
1110 * TypeAttributes.cs: CustomFormatMask and CustomFormatClass should
1111 only be exposed in 2.0 profile.
1113 2005-07-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1115 * CustomAttributeTypedArgument: Return the name of the
1116 enum if the type is an enum in ToString ().
1118 2005-06-21 Sebastien Pouliot <sebastien@ximian.com>
1120 * Assembly.cs: Create a copy of the evidences and add an instance of
1121 PermissionRequestEvidence to it before resolution. This way the PRE
1122 won't be present when asking for evidences later. Removed debugging
1125 2005-06-13 Michal Moskal <malekith@nemerle.org>
1127 * MonoGenericClass.cs: Don't use MethodHandle in GetMethod/GetConstructor,
1128 since it now throws on MethodBuilders. Don't use FieldHandle in
1129 GetField (throws on FieldBuilder) - just use the name.
1131 2005-06-15 Sebastien Pouliot <sebastien@ximian.com>
1133 * Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
1134 FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
1135 ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
1136 attributes that were added in 1.1 SP1 or 2.0 beta2.
1138 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1140 * Binder.cs: null is ok for a value type. Fixes bug #75241.
1142 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
1144 * Assembly.cs: UnprotectedGetName is now virtual to allow for more
1145 initialization in AssemblyBuilder. The [Granted|Refused]PermissionSet
1146 now use the ResolvingPolicyLevel to support the policy
1147 FullTrustAssemblies during resolution.
1148 * AssemblyName.cs: Return null instead of "new byte [0]" if no public
1151 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
1152 * MonoGenericClass.cs: Add overrides of Get{Method,Constructor,Field}
1153 for obtaining instanciated *Info objects from non-instanciated counterparts
1156 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
1158 * CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.
1160 * *.cs: Updates for net 2.0 beta 2.
1162 2005-06-07 Zoltan Varga <vargaz@freemail.hu>
1164 * *.cs: Updates for net 2.0 beta 2.
1166 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1168 * CustomAttributeData.cs: Implemented.
1170 * CustomAttributeDataNamedArgument.cs: Implemented.
1172 * CustomAttrbuteDataTypedArgument.cs: Implemented.
1174 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
1176 * Assembly.cs ExceptionHandlingClause.cs: Fix build.
1178 * ProcessorArchitecture.cs: New file.
1180 * ExceptionHandlingClause.cs: Update after ExceptionHandlingClauseFlags name change.
1182 * *.cs: Updates for net 2.0 beta 2.
1184 * *.cs: Add net 2.0 ComVisibleAttribute.
1186 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1188 * Assembly.cs: if the assembly is loaded from a byte array, Location
1189 returns "". Fixes bug #74958.
1191 2005-06-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1193 * AssemblyName.cs: Changes to support the creation of version
1194 instance from icalls. This change also helps to keep the
1195 AssemblyName tests running fine.
1197 2005-05-26 Ben Maurer <bmaurer@ximian.com>
1199 * Binder.cs: Avoid double checked locking and lock on typeof by
1200 doing init of the default binder in the cctor.
1202 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
1204 * Assembly.cs: Avoid security checks if Assembly.Location is "".
1206 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
1208 * TypeDelegator.cs: Implement some methods.
1210 * TypeDelegator.cs: Revert this as it breaks the build.
1212 * TypeDelegator.cs: Implement some methods.
1214 2005-05-19 Satya Sudha K <ksathyasudha@novell.com>
1215 Raja R Harinath <rharinath@novell.com>
1217 * Missing.cs (Missing.Value): Initialize.
1219 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
1221 * Binder.cs: Use IsInstanceOfType instead of IsAssignableFrom
1222 since GetType() may not return the correct type if the object is
1223 a remoting proxy. This fixes bug #74933.
1225 2005-05-13 Zoltan Varga <vargaz@freemail.hu>
1227 * MonoField.cs: Applied patch from Opened by Michael Meeks (michael@ximian.com). Improve exception message on binding failures.
1229 2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
1231 * MonoField.cs: Added a Clone method. This is needed for serialization.
1233 2005-05-07 Ben Maurer <bmaurer@ximian.com>
1235 * MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.
1237 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
1239 * Module.cs: Update for beta 2.
1241 * CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.
1243 2004-05-03 Lluis Sanchez <lluis@ximian.com>
1245 * Assembly.cs: Don't remove version and culture information from
1246 the name, since it will be used by load_with_partial_name.
1248 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
1250 * Assembly.cs: Added some CAS security to avoid returning restricted
1251 information to partially truster callers (e.g. code base). Added new
1252 methods to get the Evidence and AssemblyName so that the security
1253 runtime can bootstrap itself (without calling itself).
1255 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
1257 * Assembly.cs: Added missing null check in GetObjectData.
1259 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
1261 * AssemblyName.cs: Added a demand for SerializationFormatter on
1262 GetObjectData method.
1264 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
1266 * AssemblyName.cs: Implemented EscapedCodeBase using the copy of
1267 System.Uri (System.dll) located in Mono.Security.Uri. Added missing
1268 null check in GetObjectData.
1269 * Module.cs: Added a FileIOPermission for PathDiscovery on
1270 FullyQualifiedName property (but not on Name property like MS).
1271 Added missing null check in GetObjectData.
1272 * StrongNameKeyPair.cs: Added demands for unmanaged code to all
1273 constructors (as we do not want partially trusted code to create
1274 strongnamed assemblies).
1276 2005-03-30 Zoltan Varga <vargaz@freemail.hu>
1278 * Binder.cs (check_type): Fix byref support. Fixes #73972.
1280 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
1282 * MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class.
1283 * Module.cs: Add a LinkDemand for SerializationFormatter on
1284 GetObjectData method.
1286 2005-03-16 Sebastien Pouliot <sebastien@ximian.com>
1288 * Assembly.cs: Implemented EscapedCodeBase using the copy of
1289 System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.
1291 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
1293 * MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand
1294 (i.e. stack walk) when reflection is being used to invoke a method.
1296 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1298 * Assembly.cs: LoadFrom: Change signature to support reflection only
1299 methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
1300 implemented; InvalidOperationException's re-thrown by CreateInstance.
1301 Also ReflectionOnly 2.0 property added.
1303 * MonoMethod.cs: InvalidOperationException's are re-thrown when calling
1304 Invoke method on reflection only assemblies.
1306 2005-02-22 Raja R Harinath <rharinath@novell.com>
1308 * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
1309 'abstract' so that this class can be derived outside of corlib.
1311 2005-02-16 Miguel de Icaza <miguel@novell.com>
1313 * MonoEvent.cs: Put new methods here.
1315 * EventInfo.cs: Move the methods GetCustomAttributes, and
1316 IsDefined from EventInfo to MonoEvent.
1318 Remove the methods that were not supposed to be exposed: Name,
1319 ReflectedType, DeclaringType.
1321 2005-02-12 Chris Toshok <toshok@ximian.com>
1323 * Assembly.cs: Correct the type of MonoDebugger_MakeArrayType.
1325 2005-02-12 Ben Maurer <bmaurer@ximian.com>
1327 * Binder.cs (SelectProperty): Use -1 as the dummy `I don't know
1328 how many types' value.
1330 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
1332 * Assembly.cs: Fix warning.
1334 2005-02-10 Martin Baulig <martin@ximian.com>
1336 * Module.cs (MonoDebugger_ResolveType): New internal method.
1338 * Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
1339 (MonoDebugger_GetTypeToken): New internal method.
1341 2005-02-10 Martin Baulig <martin@ximian.com>
1343 * Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.
1345 2005-02-10 Marek Safar <marek.safar@seznam.cz>
1348 * ConstructorInfo.cs,
1354 * PropertyInfo.cs: ClassInterfaceType is None.
1356 Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>
1358 * Module.cs: removed the finalizer and the now unused Close() icall.
1360 2005-01-21 Sebastien Pouliot <sebastien@ximian.com>
1362 * Assembly.cs: Fixed add for ModuleResolve.
1364 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
1366 * LocalVariableInfo.cs: Add ToString method.
1368 * ExceptionHandlingClause.cs: Implement this.
1370 2005-01-18 Zoltan Varga <vargaz@freemail.hu>
1372 * MethodBase.cs MonoMethod.cs: Hopefully fix the build.
1374 * MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().
1376 2005-01-03 Martin Baulig <martin@ximian.com>
1378 * MonoGenericMethod.cs
1379 (MonoGenericMethod.get_reflected_type): Removed.
1380 (MonoGenericMethod.ReflectedType): Make this an icall.
1381 (MonoGenericCMethod.ReflectedType): Likewise.
1383 2004-12-29 Martin Baulig <martin@ximian.com>
1385 * MonoGenericMethod.cs: New file.
1387 2004-12-21 Sebastien Pouliot <sebastien@ximian.com>
1389 * Assembly.cs: Added private LoadAssemblyPermissions to get the
1390 declarative security permission sets (minimum, optional and refused)
1393 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
1395 * Assembly.cs: Removed old Demand support (moved in System.Security).
1397 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
1399 * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
1400 the gmcs bugs blocking them are fixed.
1402 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
1404 * Assembly.cs: Move corlib_internal field to AssemblyBuilder.
1406 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
1408 * Assembly.cs: Add corlib_internal field.
1410 2004-11-30 Martin Baulig <martin@ximian.com>
1412 * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
1413 renamed the class from `MonoGenericInst' to `MonoGenericClass'.
1415 2004-11-05 Zoltan Varga <vargaz@freemail.hu>
1417 * AssemblyName.cs (FullName): Omit default values from full name.
1419 * Assembly.cs: Implement GetFiles (bool).
1421 * Binder.cs: Add support for byref types. Fixes #69140.
1423 2004-10-12 Martin Baulig <martin@ximian.com>
1425 * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
1426 before calling the *_internal() methods.
1428 2004-10-12 Zoltan Varga <vargaz@freemail.hu>
1430 * MethodBody.cs: Implement this.
1432 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
1434 * Module.cs: Handle the case when the global type does not exists.
1436 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
1438 * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
1441 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
1443 * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].
1445 * PropertyInfo.cs: Add stub for GetConstantValue ().
1447 * ParameterInfo.cs (marshalAs): Make this private.
1449 * Module.cs (ModuleHandle): Add [CLSCompliant(false)].
1451 * LocalVariableInfo.cs MethodBody.cs: Disable default constructor.
1453 * ExceptionHandlingClause.cs: Disable default constructor.
1455 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
1457 * CustomAttributeData.cs CustomAttributeTypedArgument.cs
1458 CustomAttributeNamedArgument.cs: New files.
1460 * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
1461 ExceptionHandlingClauseFlags.cs: New files.
1463 2004-09-26 Zoltan Varga <vargaz@freemail.hu>
1465 * FieldInfo.cs: Add support for returning MarshalAsAttribute.
1467 * ParameterInfo.cs: Add marshalAs field, add support for returning
1470 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
1472 * Module.cs: Add new 2.0 GetMethods and GetFields methods.
1474 * ParameterInfo.cs: Add GetPseudoCustomAttributes () method.
1476 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
1478 * MonoField.cs: Add GetFieldOffset.
1480 * ObfuscationAttribute.cs: Add ApplyToMembers.
1482 * Assembly.cs: Add stub for ReflectionOnlyLoadFrom.
1484 * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.
1486 * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method.
1488 * AssemblyNameFlags.cs: Add LongevityUnspecified.
1490 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
1492 * Module.cs: Remove [MonoTODO] from ResolveMember.
1494 * MemberInfo.cs: Add 'Module' property.
1496 * AssemblyFlagsAttribute.cs: Add 2.0 stuff.
1498 * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
1499 to LoadWithPartialName on 2.0.
1501 * AssemblyNameFlags.cs: Add new 2.0 members.
1503 * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.
1505 * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.
1507 * EventInfo.cs: Fix 2.0 build.
1509 * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.
1511 * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.
1513 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
1515 * Module.cs: Implement net 2.0 ResolveXXX methods.
1517 * Module.cs (resolve_token_exception): Fix type of exception thrown.
1519 2004-09-21 Martin Baulig <martin@ximian.com>
1521 * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.
1523 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
1525 * Assembly.cs: Implement 2.0 reflection properties.
1527 * Module.cs: Implement 2.0 reflection properties. Add 'token' field.
1529 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
1531 * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
1534 * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.
1536 * Module.cs: Add ModuleHandle property and new icalls.
1538 2004-09-18 Zoltan Varga <vargaz@freemail.hu>
1540 * Module.cs: Add net 2.0 Mvid property.
1542 2004-08-30 Sebastien Pouliot <sebastien@ximian.com>
1544 * Assembly.cs: Added internal Demand(PermissionSet) for CAS.
1546 2004-08-30 Zoltan Varga <vargaz@freemail.hu>
1548 * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to
1551 2004-08-29 Zoltan Varga <vargaz@freemail.hu>
1553 * MethodBase.cs (GetMethodFromHandle): Implement.
1555 2004-08-13 Marek Safar <marek.safar@seznam.cz>
1557 * Assembly.cs: Made _minimum, _optional, _refuse fields internal.
1558 To be reusable by AssemblyBuilder.
1560 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
1562 * Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0
1563 properties (required for compiling the new unit tests).
1564 * PortableExecutableKind.cs: New. Flags for NET_2_0.
1565 * ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0.
1567 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
1569 * Assembly.cs: Get default evidences when no evidences have been
1570 supplied. Added internal methods for CAS.
1571 * AssemblyName.cs: New constructor for NET_2_0.
1573 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
1575 * Assembly.cs: Added new fields for CAS to match the runtime (v23).
1577 2004-07-29 Martin Baulig <martin@ximian.com>
1579 * Module.cs (Mono_GetGuid): Make this static.
1581 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
1583 * Module.cs: return just name in ToString (bug #61287).
1585 2004-07-03 Zoltan Varga <vargaz@freemail.hu>
1587 * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
1589 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
1591 * Pointer.cs: remove serializable attribute to match MS.NET
1593 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
1595 * ParameterModifier.cs: marked serializable, renamed field to match
1596 MS.NET, throw ArgumentException when parameter count is less than or
1599 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
1601 * AssemblyName.cs: added TODO for serialization
1602 * Pointer.cs: fixed Box method to return object instead of
1605 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
1607 * MemberInfo.cs: Changed constructor from internal to protected.
1609 2004-06-11 Martin Baulig <martin@ximian.com>
1611 * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
1613 2004-06-11 Lluis Sanchez <lluis@ximian.com>
1615 * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match
1616 MS implementation. Generate the RSA in the constructors.
1618 2004-06-10 Lluis Sanchez <lluis@ximian.com>
1620 * AssemblyName.cs: Added missing fields to serialization methods.
1621 * StrongNameKeyPair.cs: Made it compatible with MS serialization.
1623 2004-06-08 Jacson Harper <jackson@ximian.com>
1625 * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
1626 runtime. This way the codebase is set properly. The codebase is
1627 using g_filename_to_uri which expects a full path.
1629 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1631 * Binder.cs: don't crash when we have a 'null' argument Type array.
1632 Allow it for non-value types. Fixed for both, methods and properties.
1635 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1637 * Binder.cs: default score must be lower than fail_score or we'll get
1638 an ambiguous match when no indexers given and one single match is found.
1640 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1642 * Binder.cs: removed ^Ms. In case of several properties matching, try
1643 to disambiguate based on the indexer types provider and the conversions
1644 from those into the ones of the property.
1646 2004-05-31 Gert Driesen <drieseng@users.sourceforge.net>
1648 * Assembly.cs: added missing ComVisible attribute on
1649 ImageRuntimeVersion property
1650 * ConstructorInfo.cs: added missing attributes on Invoke
1651 * EventInfo.cs: added missing attributes
1652 * FieldInfo.cs: added missing attributes
1653 * MethodBase.cs: added missing attributes
1654 * PropertyInfo.cs: added missing attributes
1656 2004-05-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
1658 * FieldInfo.cs: changed default constructor from internal to protected, so classes
1659 that inherit from it can get build.
1661 2004-05-18 Gert Driesen (drieseng@users.sourceforge.net)
1663 * MonoProperty.cs: return correct MethodInfo for
1664 property with only a get or set method. Fixes
1667 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
1669 * Assembly.cs: Return an empty Evidence collection to avoid
1670 NullReferenceException from calling code (as this is never
1671 null with MS implementation). See bugzilla #53548.
1673 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
1675 * Assembly.cs: Add stub for LoadFrom.
1677 * Assembly.cs: Fix build.
1679 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
1681 * Assembly.cs: Add ModuleResolve event.
1683 * Module.cs (Mono_GetGuid): Make this internal.
1685 * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
1687 2004-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1689 * Binder.cs: check for ambiguous matches in SelectMethod and
1690 SelectProperty. Fixes bug #58381.
1692 2004-05-06 Jackson Harper <jackson@ximian.com>
1694 * Assembly.cs: remove TODO, this is done.
1696 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1698 * Assembly.cs: ToString () returns the same as GetName ().ToString ().
1701 2004-05-03 Jackson Harper <jackson@ximian.com>
1703 * Assembly.cs: Implement LoadWithPartialName. The bulk of this
1704 method is done in the runtime.
1706 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
1708 * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
1709 is private (it did until now because of a bug). Make sure it works as it
1710 worked before the fix.
1712 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
1714 * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs:
1715 Removed completed TODOs.
1716 * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
1717 do not return private methods if nonPublic == false.
1718 * ReflectionTypeLoadException.cs: Implemented serialization support.
1720 2004-04-26 Jackson Harper <jackson@ximian.com>
1722 * Assembly.cs: Add icall to determine if an assembly has been
1723 loaded from the GAC.
1725 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
1727 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
1728 The fix should be easier ;)
1730 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
1732 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
1733 NET_2_0 related build fix.
1735 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
1737 * Assembly.cs: Removed TODO for CreateQualifiedName.
1738 * AssemblyName.cs: Fixed serialization code.
1739 * AssemblyNameProxy.cs: Implemented.
1740 * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
1742 2004-04-07 Martin Baulig <martin@ximian.com>
1744 * MonoGenericInst.cs (MonoGenericParam): Removed.
1746 2004-04-07 Martin Baulig <martin@ximian.com>
1749 (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
1751 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
1752 (MonoGenericInst.GetNestedTypes): Just call
1753 `generic_type.GetNestedTypes (bf)' here.
1755 * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
1756 include the type arguments.
1758 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
1760 * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
1761 correct StrongName instance when the ECMA "key" is used.
1763 2004-04-02 Martin Baulig <martin@ximian.com>
1765 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
1767 2004-04-01 Martin Baulig <martin@ximian.com>
1769 * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
1770 this and always return false.
1772 2004-04-01 Martin Baulig <martin@ximian.com>
1774 * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.
1776 2004-03-30 Martin Baulig <martin@ximian.com>
1778 * MonoGenericInst.cs
1779 (MonoGenericParam): Added `bool has_ctor_constraint' field.
1780 (MonoGenericParam.SetConstraints): Added `bool
1781 has_ctor_constraint' argument.
1783 2004-03-29 Martin Baulig <martin@ximian.com>
1785 * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
1787 (MethodBase.HasGenericParameters): Use the "official" behavior
1788 here, ie. return false if we're not a generic method.
1790 2004-03-29 Martin Baulig <martin@ximian.com>
1792 * MethodBase.cs: Moved the generics stuff here, made it virtual
1793 where neccessary and use the correct API.
1795 2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
1797 * StrongNameKeyPair.cs: Added an internal method to return a
1798 StrongName object (for AssemblyBuilder). Simplified implementation
1799 using Mono.Security.Cryptography.CryptoConvert class.
1801 2004-03-24 Zoltan Varga <vargaz@freemail.hu>
1803 * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
1805 2004-03-23 Martin Baulig <martin@ximian.com>
1807 * MonoGenericInst.cs: Added support for events.
1809 2004-03-23 Martin Baulig <martin@ximian.com>
1811 * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
1812 if it's the empty string.
1814 2004-03-10 Martin Baulig <martin@ximian.com>
1816 * MethodBase.cs (MethodBase): Implemented
1817 GetGenericMethodDefinition() and HasGenericParameters.
1819 2004-03-09 Martin Baulig <martin@ximian.com>
1821 * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
1822 `declaring_type' and `reflected_type'.
1823 (MonoEvent): Distinguish between declaring and reflected type.
1825 2004-02-25 Martin Baulig <martin@ximian.com>
1827 * MonoGenericInst.cs
1828 (MonoGenericInst.GetNestedTypes): Override this.
1830 2004-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1833 (SelectProperty): check the return Type if provided.
1835 2004-02-17 Martin Baulig <martin@ximian.com>
1837 * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
1838 support for properties.
1840 2004-02-17 Martin Baulig <martin@ximian.com>
1842 * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
1843 class hierarchy and return members from the parent classes.
1844 (GetConstructors, GetFields): Likewise.
1846 2004-02-17 Martin Baulig <martin@ximian.com>
1848 * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
1849 all the members here; we only do this for members of the current
1850 class and only when they're actually queried for.
1852 2004-02-12 Martin Baulig <martin@ximian.com>
1854 * MonoGenericInst.cs (MonoInflatedField): Removed.
1856 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
1858 2004-02-08 Martin Baulig <martin@ximian.com>
1860 * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
1861 invocations the `reflected' type as `reflected', not `this'.
1862 (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
1864 2004-02-08 Martin Baulig <martin@ximian.com>
1866 * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
1867 (MonoGenericInst.GetInterfaces_internal): New interncall.
1868 (MonoGenericInst): Reflect latest API changes; use GetParentType()
1869 and GetInterfaces_internal() instead of the fields.
1871 2004-02-06 Martin Baulig <martin@ximian.com>
1873 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
1875 2004-02-03 Martin Baulig <martin@ximian.com>
1877 * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
1879 2004-01-25 Martin Baulig <martin@ximian.com>
1881 * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
1883 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
1885 * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
1886 a reference on the Module object which contains the resource.
1888 * Module.cs: Decrease the image reference count when the Module is
1891 2004-01-16 Martin Baulig <martin@ximian.com>
1893 * Assembly.cs: Make the `MonoDebugger_' methods static.
1895 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1897 * MonoProperty.cs: changed get_property_info so that it only gets the
1898 values needed. Reduces the allocations needed.
1900 2004-01-15 Martin Baulig <martin@ximian.com>
1902 * Assembly.cs: Make the `MonoDebugger_' methods internal.
1904 2004-01-04 Nick Drochak <ndrochak@gol.com>
1906 * Assembly.cs: Removed unused variable in catch block.Eliminates a build
1909 2003-12-29 Ben Maurer <bmaurer@users.sourceforge.net>
1911 * MethodBase.cs: Internal method to get param count (this
1912 way we can get the info for the ilgen without creating
1913 an array, if we override the method).
1915 2003-12-18 Zoltan Varga <vargaz@freemail.hu>
1917 * Assembly.cs: Implement LoadFrom.
1919 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
1921 * Assembly.cs: Add stubs for LoadFile.
1923 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
1925 * Assembly.cs (GetManifestResourceStream): Only load non-embedded
1926 resources from files.
1928 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
1930 * MonoField.cs (SetValue): Throw an exception if the value cannot be
1931 converted to the field's type. Fixes #52177.
1933 2003-12-11 Lluis Sanchez Gual <lluis@ximian.com>
1935 * AmbiguousMatchException.cs: Added serialization constructor.
1937 2003-12-08 Martin Baulig <martin@ximian.com>
1939 * MonoGenericInst.cs (MonoGenericParam): New internal class;
1940 derives from MonoType.
1942 2003-12-08 Patrik Torstensson <p@rxc.se>
1944 * Binder.cs: Added internal helpers to get derived level and select the
1945 most derived methodbase (used in GetMethodImpl)
1947 2003-11-25 Zoltan Varga <vargaz@freemail.hu>
1949 * Assembly.cs (LoadWithPartialName): Return null instead of throwing
1950 an exception to match MS behavior.
1952 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
1954 * MonoMethod.cs: Add missing constructor.
1956 2003-11-21 Zoltan Varga <vargaz@freemail.hu>
1958 * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
1960 2003-11-16 Martin Baulig <martin@ximian.com>
1962 * MonoGenericInst.cs (MonoGenericInst.inflate): Call
1963 `parent.inflate (parent,...)' instead of
1964 `parent.inflate (reflected,...)'.
1966 2003-11-16 Zoltan Varga <vargaz@freemail.hu>
1968 * Assembly.cs (InternalGetAssemblyName): New icall.
1970 * AssemblyName.cs (GetAssemblyName): Implement this without loading
1971 the assembly in question. Fixes #51035.
1973 2003-11-14 Martin Baulig <martin@ximian.com>
1975 * MonoGenericInst.cs (MonoGenericInst): Added
1976 `MonoGenericInst[] interfaces' field. This is only used for
1978 (MonoGenericInst.inflate): If we're an interface type, add the
1979 methods from all interfaces we inherit.
1981 2003-11-14 Zoltan Varga <vargaz@freemail.hu>
1983 * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values
1986 * *.cs: Add missing attributes.
1988 2003-11-11 Todd Berman <tberman@gentoo.org>
1990 * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
1992 2003-11-11 Zoltan Varga <vargaz@freemail.hu>
1994 * MonoMethod.cs: Implement CallingConvention member.
1996 2003-11-10 Zoltan Varga <vargaz@freemail.hu>
1998 * Assembly.cs (InternalGetType): Add a 'module' argument so this
1999 method can be used from Module as well.
2001 * Module.cs (GetType): Implement.
2003 * Module.cs (GetTypes): Implement.
2005 * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
2006 2003-11-08 Martin Baulig <martin@ximian.com>
2008 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
2009 a private `IntPtr ginst' field.
2010 (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
2012 2003-11-02 Martin Baulig <martin@ximian.com>
2014 * MonoGenericInst.cs (MonoGenericInst.initialize): Include members
2015 from our parent classes in the `methods', `ctors' and `fields'
2016 arrays. When inflating them, reflection now sets their
2017 `declaring_type' and `reflected_type' fields.
2018 (MonoInflatedMethod, MonoInflatedCtor): Added
2019 `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
2020 fields and override the `DeclaringType' and `ReflectedType' properties.
2022 2003-11-02 Martin Baulig <martin@ximian.com>
2024 * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
2026 2003-10-31 Martin Baulig <martin@ximian.com>
2028 * MonoGenericInst.cs (MonoInflatedField): New internal class.
2029 (MonoGenericInst.GetFields): Override this method and inflate
2032 * MonoField.cs: Don't make this class sealed.
2034 2003-10-30 Martin Baulig <martin@ximian.com>
2036 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
2039 2003-10-25 Martin Baulig <martin@ximian.com>
2041 * MonoGenericInst.cs: New internal class.
2043 2003-10-18 Martin Baulig <martin@ximian.com>
2045 * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
2046 abstract; use an interncall in MonoMethod and a custom
2047 implementation in MethodBuilder.
2049 2003-10-17 Pedro Martinez Julia <yoros@wanadoo.es>
2051 * MonoEvent.cs: implement ToString method as in MS.NET.
2053 * MonoMethod.cs: fix some differences between mono and MS.NET
2054 implementation of ToString.
2056 2003-10-17 Zoltan Varga <vargaz@freemail.hu>
2058 * AssemblyName.cs: Fix Version property when some version fields are
2061 2003-10-17 Martin Baulig <martin@ximian.com>
2063 * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
2064 (MethodInfo.BindGenericParameters): New method.
2066 2003-10-16 Martin Baulig <martin@ximian.com>
2068 * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
2071 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
2073 * ParameterInfo.cs: Modified constructor of ParameterInfo for
2074 the return type of a method. Since parameter positions are
2075 zero-based, the position of the return type must be is -1.
2077 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2079 * TargetInvocationException.cs: Fixed signature
2081 2003-07-24 Miguel de Icaza <miguel@ximian.com>
2083 * TypeDelegator.cs: Added generics stubs.
2085 2003-07-21 Lluis Sanchez Gual <lluis@ximian.com>
2087 * ParameterInfo.cs: Position is zero-based in ParameterInfo.
2088 Set the right position value when getting from ParameterBuilder.
2090 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
2092 * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
2093 finer-grained icalls. Requires a matching runtime.
2095 2003-07-11 Zoltan Varga <vargaz@freemail.hu>
2097 * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
2099 * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
2101 2003-07-10 Zoltan Varga <vargaz@freemail.hu>
2103 * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
2105 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
2107 * Pointer.cs: implemented.
2109 2003-06-15 Zoltan Varga <vargaz@freemail.hu>
2111 * EventInfo.cs: Implement IsSpecialName.
2113 2003-06-10 Zoltan Varga <vargaz@freemail.hu>
2115 * Module.cs (Mono_GetGuid): New method to return the GUID of the
2118 2003-05-21 Zoltan Varga <vargaz@freemail.hu>
2120 * Module.cs: Implement GetField and its friends.
2122 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
2124 * Assembly.cs (GetManifestResourceStream): Moved handling of
2125 linked resources into managed code using the newly implemented
2126 GetManifestResourceInfo () method.
2128 2003-05-19 Zoltan Varga <vargaz@freemail.hu>
2130 * Module.cs: Implemented IsResource.
2132 * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
2133 GetModule, GetLoadedModules methods.
2134 * Assembly.cs (GetManifestResourceStream): Added support for
2135 resources in extern assemblies.
2137 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2139 * Assembly.cs: fixed bug #42833.
2141 2003-05-11 Miguel de Icaza <miguel@ximian.com>
2143 * Binder.cs (ChangeType): Very simplistic change. Am not sure if
2144 it is correct, but it makes RemotingCorba move along a bit more
2145 (Remoting.Corba invokes Binder.ConvertArgs, which calls
2146 Binder.ChangeType with an Attribute [] to Object []).
2148 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2151 (check_type): fixed bug #41655.
2153 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2155 * Assembly.cs: implemented GetSatelliteAssembly.
2157 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
2159 * Assembly.cs: added GetNamespaces() icall.
2161 2003-03-17 Zoltan Varga <vargaz@freemail.hu>
2163 * FieldInfo.cs (GetFieldFromHandle): Implemented.
2165 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2167 * Assembly.cs: added missing stuff. Only ModuleResolve event is left
2168 out to avoid changing MonoReflectionAssembly by now.
2169 * ModuleResolveEventHandler.cs: delegate.
2171 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2173 * TargetInvocationException.cs: added serialization ctor.
2175 2003-02-18 Martin Baulig <martin@ximian.com>
2177 * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
2178 method's metadata token.
2180 2003-02-04 Sebastien Pouliot <spouliot@videotron.ca>
2182 * Module.cs: Corrected indentation for class.
2184 2003-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2187 (check_type): return true when the target type is object and the source
2190 2003-02-03 Patrik Torstensson
2192 * Binder.cs: minimize locking time in DefaultBinder.
2194 2003-02-01 Sebastien Pouliot <spouliot@videotron.ca>
2196 * Module.cs: Oups - not implemented. Added MonoTODO to most methods
2197 so it's real status get reflected correctly on the web site.
2199 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2201 * MonoMethod.cs: implemented GetBaseDefinition ().
2203 2003-01-28 Patrik Torstensson
2204 * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
2205 * ReflectionSerializationHolder.cs: Support class for serialization
2207 2003-01-17 Zoltan Varga <vargaz@freemail.hu>
2209 * ParameterInfo.cs: modified constructor so it allows the
2210 ParameterBuilder to be null and add a 'position' argument which will
2211 be used when pb is null.
2213 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
2215 * Assembly.cs: added serialization support.
2217 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
2219 * MonoMethod.cs: propagate exceptions from the internal invoke
2220 code that need to be propagated.
2222 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
2224 * Binder.cs: throw an exception if the number of arguments
2225 when invoking a method is incorrect.
2227 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
2229 * Binder.cs: In SelectMethod() look for an exact match first.
2231 2003-01-01 Rachel Hestilow <hestilow@ximian.com>
2233 * MonoField.cs (SetValue): Fix logic typo. Check that obj is
2234 non-null only for the non-static case.
2236 2002-12-30 Sebastien Pouliot <spouliot@videotron.ca>
2238 * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by
2241 2002-12-23 Sebastien Pouliot <spouliot@videotron.ca>
2243 * AssemblyName.cs: GetPublicKey now return an empty array (not null)
2244 when an assembly isn't signed with a StrongName (to match MS
2245 implementation) and null when no assembly is referenced. Also removed
2246 commented code (no bug reported so it was probably not used).
2248 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
2250 * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
2251 provider for the return type of a method.
2253 2002-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2255 * AssemblyName.cs: little fix in FullName.
2257 2002-12-07 Sebastien Pouliot <spouliot@videotron.ca>
2259 * AssemblyName.cs: Added missing methods/interfaces. Fixed some
2260 code to match the MS Framework.
2261 * StrongNameKeyPair.cs: Completed the "visible" implementation.
2262 There must be some internal methods to allow signing with the key.
2264 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2266 * EventInfo.cs: implemented (Add|Remove)EventHandler.
2268 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
2270 * Assembly.cs: implemented GetManifestResourceStream (Type type,
2273 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2275 * Assembly.cs: changed name of GetType (string, bool, bool) to
2278 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2280 * TargetInvocationException.cs: modified default message.
2282 2002-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2285 * PropertyInfo.cs: fixed bug #31535.
2287 2002-09-27 Martin Baulig <martin@gnome.org>
2289 * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
2291 2002-09-24 Martin Baulig <martin@gnome.org>
2293 * Assembly.cs (MonoDebugger_GetType): New method to get a Type
2294 from its metadata token. This should only be used by the debugger.
2296 2002-09-21 Martin Baulig <martin@gnome.org>
2298 * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
2299 get the type of a local variable from its signature. This should only
2300 be used by the debugger.
2302 2002-09-20 Martin Baulig <martin@gnome.org>
2304 * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
2305 from its metadata token. This should only be used by the debugger.
2307 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
2309 * Binder.cs: more default binder implementation.
2311 * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
2312 * MonoMethod.cs: use the binder in the Invoke () implementation.
2313 Implemented custom attributes methods and ToString for constructors.
2315 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
2317 * Binder.cs: finished the Binder class and implemented the default
2320 2002-09-03 Martin Baulig <martin@gnome.org>
2322 * Assembly.cs (Assembly.Location): Implemented.
2324 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2327 (GetValue): allow obj to be null (used for static fields).
2329 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2331 * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
2334 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
2336 * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen
2337 <tomi.pakarinen@welho.com>.
2339 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2341 * Assembly.cs: FullName now returns a proper string instead of
2342 something like 'file://...'.
2344 * AssemblyName.cs: added missing ToString method.
2346 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2348 * FieldInfo.cs: implemented SetValue.
2350 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
2352 * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
2354 2002-08-14 Dick Porter <dick@ximian.com>
2356 * Assembly.cs: Stub out GetSatelliteAssembly
2358 2002-08-12 Tim Coleman <tim@timcoleman.com>
2360 Allow multiple parameters for GetValue ()
2362 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
2364 * Assembly.cs: implemented GetFile() and GetFiles().
2366 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
2368 * Assembly.cs: implemented EntryPoint and a few
2369 resource related methods.
2371 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
2373 * MethodBase.cs: implemented GetCurrentMethod.
2374 * Assembly.cs: implemented GetExecutingAssembly and
2377 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
2379 * MonoProperty.cs: handle properties with only a set method.
2381 2002-05-24 Martin Baulig <martin@gnome.org>
2383 * ParameterInfo.cs: Added internal constructor.
2385 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
2387 * Assembly.cs: implemented CreateInstance ().
2389 2002-05-22 Martin Baulig <martin@gnome.org>
2391 * MethodBase.cs (get_next_table_index): Added `object obj' argument.
2393 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
2395 * EventInfo.cs: more implementation.
2397 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
2399 * MonoEvent.cs: fill-in the implementation.
2401 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
2403 * Assembly.cs, AssemblyName.cs: updates and fixes.
2405 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
2407 * MonoProperty.cs (GetValue) : basic implementation to support nunit
2408 * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
2410 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
2412 * MonoMethod.c: cache the method name.
2414 2002-04-12 Duncan Mak <duncan@ximian.com>
2416 * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
2419 * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
2422 * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
2425 * BindingFlags.cs: Added missing value "PutRefDispProperty".
2427 * FieldAttributes.cs: Removed value "HasSecurity".
2429 * ManifestResourceInfo.cs: Added missing properties FileName,
2430 ReferencedAssembly and ResourceLocation.
2432 * TargetInvocationException.cs: Added the missing constructors.
2434 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
2436 * MonoMethod.cs: make Name property an icall.
2438 2002-04-08 Nick Drochak <ndrochak@gol.com>
2440 * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
2441 struct and interface.
2443 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
2445 * MonoEvent.cs: remove unused code.
2446 * MonoProperty: implement ToString().
2448 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
2450 * Assembly.cs: implement GetTypes() and GetExportedTypes().
2452 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
2454 * MonoEvent.cs: added the needed fields.
2456 2002-03-20 Martin Baulig <martin@gnome.org>
2458 * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
2460 * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
2462 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
2464 * MonoMethod.cs (Invoke): call InternalInvoke
2466 * MethodBase.cs (Invoke): call virtual invoke function
2468 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
2470 * EventInfo.cs: add compiler needed methods.
2471 * MonoMethod.cs: make ToString() return the return type name, too.
2473 2002-03-07 Nick Drochak <ndrochak@gol.com>
2475 * BindingFlags.cs: Add missing enum values. Thanks CorCompare.
2477 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
2479 * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
2481 2002-02-26 Duncan Mak <duncan@ximian.com>
2483 * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
2485 2002-02-24 Nick Drochak <ndrochak@gol.com>
2487 * AssemblyNameFlags.cs: Use proper member name. Thanks corcompare!
2489 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
2491 * MonoField.cs: implement GetValue as an internalcall.
2492 Implemented ToString().
2494 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
2496 * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
2497 MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
2500 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
2502 * TypeAttributes.cs: update to latest spec.
2504 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
2506 * Assembly.cs: handle throwOnError in GetType() call.
2508 2002-02-07 Duncan Mak <duncan@ximian.com>
2510 * AssemblyName.cs: Implemented ISerializable interface for the
2511 fields that we have.
2513 2002-02-05 Duncan Mak <duncan@ximian.com>
2516 * TargetException.cs: Added in CVS.
2518 2002-01-31 Duncan Mak <duncan@ximian.com>
2520 * ReflectionTypeLoadException.cs: Added missing bits.
2522 2002-01-23 Duncan Mak <duncan@ximian.com>
2524 * AssemblyAlgorithmIdAttribute.cs:
2525 * AssemblyCompanyAttribute.cs:
2526 * AssemblyConfigurationAttribute.cs:
2527 * AssemblyCopyrightAttribute.cs:
2528 * AssemblyCultureAttribute.cs:
2529 * AssemblyDefaultAliasAttribute.cs:
2530 * AssemblyDelaySignAttribute.cs:
2531 * AssemblyDescriptionAttribute.cs:
2532 * AssemblyFileVersionAttribute.cs:
2533 * AssemblyFlagsAttribute.cs:
2534 * AssemblyInformationalVersionAttribute.cs:
2535 * AssemblyKeyFileAttribute.cs:
2536 * AssemblyKeyNameAttribute.cs:
2537 * AssemblyNameProxy.cs:
2538 * AssemblyProductAttribute.cs:
2539 * AssemblyTitleAttribute.cs:
2540 * AssemblyTradeMarkAttribute.cs:
2541 * AssemblyVersionAttribute.cs:
2542 * CustomAttributeFormatException.cs:
2543 * InvalidFilterCriteriaException.cs:
2544 * TargetParameterCountException.cs: Added.
2546 2002-01-23 Miguel de Icaza <miguel@ximian.com>
2548 * Assembly.cs (Assembly.CodeBase): Implement.
2549 (Assembly.FullName): simplistic and broken implementation. Gets
2550 us where we were yesterday.
2554 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
2556 * IReflect.cs: corrected GetMember() return type.
2557 * InterfaceMapping.cs, TypeDelegator.cs: implemented.
2559 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
2561 * MonoMethod.cs: ToString () implementation.
2563 2002-01-04 Ravi Pratap <ravi@ximian.com>
2565 * Assembly.cs : Decorate missing bits with the MonoTODO
2568 * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
2569 ReflectionTypeLoadException.cs : Ditto.
2571 * FieldInfo.cs : Ditto.
2573 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
2575 * Assembly.cs: trow unimplemented exceptions.
2577 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
2579 * MonoMethod.cs: implemented GetParameters().
2580 * MonoProperty.cs: PropertyInfo implementation.
2581 * ParameterInfo.cs: implemented.
2582 * PropertyInfo.cs: fixes.
2584 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
2586 * FieldInfo.cs: implemented some Is* propeties.
2587 * MethodBase.cs: fixed attribute accessors.
2588 * MonoField.cs: runtime object to represent a field.
2589 * MonoMethod.cs: runtime object to represent a method.
2590 * AssemblyBuilder.cs: GetToken() methods to get tokens for
2591 strings, fields, methods...
2592 * ILGenerator.cs: handle tokens for methods.
2594 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
2596 * MethodBase.cs: add internal get_next_table_index() for use in
2599 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
2601 * Assembly.cs: implement some of the Load() methods.
2602 * ConstructorInfo.cs: some missing stubs and fields.
2603 * FieldInfo.cs: IsInitOnly property.
2604 * ParameterInfo.cs: stubs for missing properties.
2605 * ParameterModifier.cs: implemented class.
2607 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
2609 * Assembly.cs: Filled in some stub implementations
2611 * ConstructorInfo.cs: Added some stub functions for NUnit
2613 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
2615 * AmbiguousMatchException.cs,
2616 * Assembly.cs, Module.cs: updates.
2617 * FieldInfo.cs: better compliance to the spec.
2618 * MethodBase.cs: move call_conv out of the way.
2619 * AssemblyBuilder.cs: don't use internalcalls, more stuff supported.
2620 * FieldBuilder.cs: implemented.
2621 * ILGenerator.cs: implemented some opcode handling.
2622 * Label.cs: add constructor.
2623 * LocalBuilder.cs: implemented.
2624 * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
2625 * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
2626 * ParameterBuilder.cs: implemented.
2627 * PropertyBuilder.cs: implemented.
2628 * TypeBuilder.cs: don't use internalcalls, more stuff working.
2630 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
2632 * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
2634 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
2636 * MethodBase.cs, MethodInfo.cs: added.
2638 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
2640 * Assembly.cs: added stub code.
2642 2001-07-18 Michael Lambert <michaellambert@email.com>
2644 * BindingFlags.cs: Add.