1 2004-12-21 Sebastien Pouliot <sebastien@ximian.com>
3 * Assembly.cs: Added private LoadAssemblyPermissions to get the
4 declarative security permission sets (minimum, optional and refused)
7 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
9 * Assembly.cs: Removed old Demand support (moved in System.Security).
11 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
13 * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
14 the gmcs bugs blocking them are fixed.
16 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
18 * Assembly.cs: Move corlib_internal field to AssemblyBuilder.
20 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
22 * Assembly.cs: Add corlib_internal field.
24 2004-11-30 Martin Baulig <martin@ximian.com>
26 * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
27 renamed the class from `MonoGenericInst' to `MonoGenericClass'.
29 2004-11-05 Zoltan Varga <vargaz@freemail.hu>
31 * AssemblyName.cs (FullName): Omit default values from full name.
33 * Assembly.cs: Implement GetFiles (bool).
35 * Binder.cs: Add support for byref types. Fixes #69140.
37 2004-10-12 Martin Baulig <martin@ximian.com>
39 * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
40 before calling the *_internal() methods.
42 2004-10-12 Zoltan Varga <vargaz@freemail.hu>
44 * MethodBody.cs: Implement this.
46 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
48 * Module.cs: Handle the case when the global type does not exists.
50 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
52 * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
55 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
57 * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].
59 * PropertyInfo.cs: Add stub for GetConstantValue ().
61 * ParameterInfo.cs (marshalAs): Make this private.
63 * Module.cs (ModuleHandle): Add [CLSCompliant(false)].
65 * LocalVariableInfo.cs MethodBody.cs: Disable default constructor.
67 * ExceptionHandlingClause.cs: Disable default constructor.
69 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
71 * CustomAttributeData.cs CustomAttributeTypedArgument.cs
72 CustomAttributeNamedArgument.cs: New files.
74 * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
75 ExceptionHandlingClauseFlags.cs: New files.
77 2004-09-26 Zoltan Varga <vargaz@freemail.hu>
79 * FieldInfo.cs: Add support for returning MarshalAsAttribute.
81 * ParameterInfo.cs: Add marshalAs field, add support for returning
84 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
86 * Module.cs: Add new 2.0 GetMethods and GetFields methods.
88 * ParameterInfo.cs: Add GetPseudoCustomAttributes () method.
90 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
92 * MonoField.cs: Add GetFieldOffset.
94 * ObfuscationAttribute.cs: Add ApplyToMembers.
96 * Assembly.cs: Add stub for ReflectionOnlyLoadFrom.
98 * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.
100 * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method.
102 * AssemblyNameFlags.cs: Add LongevityUnspecified.
104 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
106 * Module.cs: Remove [MonoTODO] from ResolveMember.
108 * MemberInfo.cs: Add 'Module' property.
110 * AssemblyFlagsAttribute.cs: Add 2.0 stuff.
112 * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
113 to LoadWithPartialName on 2.0.
115 * AssemblyNameFlags.cs: Add new 2.0 members.
117 * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.
119 * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.
121 * EventInfo.cs: Fix 2.0 build.
123 * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.
125 * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.
127 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
129 * Module.cs: Implement net 2.0 ResolveXXX methods.
131 * Module.cs (resolve_token_exception): Fix type of exception thrown.
133 2004-09-21 Martin Baulig <martin@ximian.com>
135 * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.
137 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
139 * Assembly.cs: Implement 2.0 reflection properties.
141 * Module.cs: Implement 2.0 reflection properties. Add 'token' field.
143 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
145 * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
148 * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.
150 * Module.cs: Add ModuleHandle property and new icalls.
152 2004-09-18 Zoltan Varga <vargaz@freemail.hu>
154 * Module.cs: Add net 2.0 Mvid property.
156 2004-08-30 Sebastien Pouliot <sebastien@ximian.com>
158 * Assembly.cs: Added internal Demand(PermissionSet) for CAS.
160 2004-08-30 Zoltan Varga <vargaz@freemail.hu>
162 * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to
165 2004-08-29 Zoltan Varga <vargaz@freemail.hu>
167 * MethodBase.cs (GetMethodFromHandle): Implement.
169 2004-08-13 Marek Safar <marek.safar@seznam.cz>
171 * Assembly.cs: Made _minimum, _optional, _refuse fields internal.
172 To be reusable by AssemblyBuilder.
174 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
176 * Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0
177 properties (required for compiling the new unit tests).
178 * PortableExecutableKind.cs: New. Flags for NET_2_0.
179 * ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0.
181 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
183 * Assembly.cs: Get default evidences when no evidences have been
184 supplied. Added internal methods for CAS.
185 * AssemblyName.cs: New constructor for NET_2_0.
187 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
189 * Assembly.cs: Added new fields for CAS to match the runtime (v23).
191 2004-07-29 Martin Baulig <martin@ximian.com>
193 * Module.cs (Mono_GetGuid): Make this static.
195 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
197 * Module.cs: return just name in ToString (bug #61287).
199 2004-07-03 Zoltan Varga <vargaz@freemail.hu>
201 * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
203 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
205 * Pointer.cs: remove serializable attribute to match MS.NET
207 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
209 * ParameterModifier.cs: marked serializable, renamed field to match
210 MS.NET, throw ArgumentException when parameter count is less than or
213 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
215 * AssemblyName.cs: added TODO for serialization
216 * Pointer.cs: fixed Box method to return object instead of
219 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
221 * MemberInfo.cs: Changed constructor from internal to protected.
223 2004-06-11 Martin Baulig <martin@ximian.com>
225 * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
227 2004-06-11 Lluis Sanchez <lluis@ximian.com>
229 * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match
230 MS implementation. Generate the RSA in the constructors.
232 2004-06-10 Lluis Sanchez <lluis@ximian.com>
234 * AssemblyName.cs: Added missing fields to serialization methods.
235 * StrongNameKeyPair.cs: Made it compatible with MS serialization.
237 2004-06-08 Jacson Harper <jackson@ximian.com>
239 * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
240 runtime. This way the codebase is set properly. The codebase is
241 using g_filename_to_uri which expects a full path.
243 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
245 * Binder.cs: don't crash when we have a 'null' argument Type array.
246 Allow it for non-value types. Fixed for both, methods and properties.
249 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
251 * Binder.cs: default score must be lower than fail_score or we'll get
252 an ambiguous match when no indexers given and one single match is found.
254 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
256 * Binder.cs: removed ^Ms. In case of several properties matching, try
257 to disambiguate based on the indexer types provider and the conversions
258 from those into the ones of the property.
260 2004-05-31 Gert Driesen <drieseng@users.sourceforge.net>
262 * Assembly.cs: added missing ComVisible attribute on
263 ImageRuntimeVersion property
264 * ConstructorInfo.cs: added missing attributes on Invoke
265 * EventInfo.cs: added missing attributes
266 * FieldInfo.cs: added missing attributes
267 * MethodBase.cs: added missing attributes
268 * PropertyInfo.cs: added missing attributes
270 2004-05-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
272 * FieldInfo.cs: changed default constructor from internal to protected, so classes
273 that inherit from it can get build.
275 2004-05-18 Gert Driesen (drieseng@users.sourceforge.net)
277 * MonoProperty.cs: return correct MethodInfo for
278 property with only a get or set method. Fixes
281 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
283 * Assembly.cs: Return an empty Evidence collection to avoid
284 NullReferenceException from calling code (as this is never
285 null with MS implementation). See bugzilla #53548.
287 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
289 * Assembly.cs: Add stub for LoadFrom.
291 * Assembly.cs: Fix build.
293 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
295 * Assembly.cs: Add ModuleResolve event.
297 * Module.cs (Mono_GetGuid): Make this internal.
299 * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
301 2004-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
303 * Binder.cs: check for ambiguous matches in SelectMethod and
304 SelectProperty. Fixes bug #58381.
306 2004-05-06 Jackson Harper <jackson@ximian.com>
308 * Assembly.cs: remove TODO, this is done.
310 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
312 * Assembly.cs: ToString () returns the same as GetName ().ToString ().
315 2004-05-03 Jackson Harper <jackson@ximian.com>
317 * Assembly.cs: Implement LoadWithPartialName. The bulk of this
318 method is done in the runtime.
320 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
322 * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
323 is private (it did until now because of a bug). Make sure it works as it
324 worked before the fix.
326 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
328 * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs:
329 Removed completed TODOs.
330 * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
331 do not return private methods if nonPublic == false.
332 * ReflectionTypeLoadException.cs: Implemented serialization support.
334 2004-04-26 Jackson Harper <jackson@ximian.com>
336 * Assembly.cs: Add icall to determine if an assembly has been
339 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
341 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
342 The fix should be easier ;)
344 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
346 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
347 NET_2_0 related build fix.
349 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
351 * Assembly.cs: Removed TODO for CreateQualifiedName.
352 * AssemblyName.cs: Fixed serialization code.
353 * AssemblyNameProxy.cs: Implemented.
354 * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
356 2004-04-07 Martin Baulig <martin@ximian.com>
358 * MonoGenericInst.cs (MonoGenericParam): Removed.
360 2004-04-07 Martin Baulig <martin@ximian.com>
363 (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
365 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
366 (MonoGenericInst.GetNestedTypes): Just call
367 `generic_type.GetNestedTypes (bf)' here.
369 * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
370 include the type arguments.
372 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
374 * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
375 correct StrongName instance when the ECMA "key" is used.
377 2004-04-02 Martin Baulig <martin@ximian.com>
379 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
381 2004-04-01 Martin Baulig <martin@ximian.com>
383 * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
384 this and always return false.
386 2004-04-01 Martin Baulig <martin@ximian.com>
388 * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.
390 2004-03-30 Martin Baulig <martin@ximian.com>
393 (MonoGenericParam): Added `bool has_ctor_constraint' field.
394 (MonoGenericParam.SetConstraints): Added `bool
395 has_ctor_constraint' argument.
397 2004-03-29 Martin Baulig <martin@ximian.com>
399 * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
401 (MethodBase.HasGenericParameters): Use the "official" behavior
402 here, ie. return false if we're not a generic method.
404 2004-03-29 Martin Baulig <martin@ximian.com>
406 * MethodBase.cs: Moved the generics stuff here, made it virtual
407 where neccessary and use the correct API.
409 2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
411 * StrongNameKeyPair.cs: Added an internal method to return a
412 StrongName object (for AssemblyBuilder). Simplified implementation
413 using Mono.Security.Cryptography.CryptoConvert class.
415 2004-03-24 Zoltan Varga <vargaz@freemail.hu>
417 * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
419 2004-03-23 Martin Baulig <martin@ximian.com>
421 * MonoGenericInst.cs: Added support for events.
423 2004-03-23 Martin Baulig <martin@ximian.com>
425 * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
426 if it's the empty string.
428 2004-03-10 Martin Baulig <martin@ximian.com>
430 * MethodBase.cs (MethodBase): Implemented
431 GetGenericMethodDefinition() and HasGenericParameters.
433 2004-03-09 Martin Baulig <martin@ximian.com>
435 * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
436 `declaring_type' and `reflected_type'.
437 (MonoEvent): Distinguish between declaring and reflected type.
439 2004-02-25 Martin Baulig <martin@ximian.com>
442 (MonoGenericInst.GetNestedTypes): Override this.
444 2004-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
447 (SelectProperty): check the return Type if provided.
449 2004-02-17 Martin Baulig <martin@ximian.com>
451 * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
452 support for properties.
454 2004-02-17 Martin Baulig <martin@ximian.com>
456 * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
457 class hierarchy and return members from the parent classes.
458 (GetConstructors, GetFields): Likewise.
460 2004-02-17 Martin Baulig <martin@ximian.com>
462 * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
463 all the members here; we only do this for members of the current
464 class and only when they're actually queried for.
466 2004-02-12 Martin Baulig <martin@ximian.com>
468 * MonoGenericInst.cs (MonoInflatedField): Removed.
470 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
472 2004-02-08 Martin Baulig <martin@ximian.com>
474 * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
475 invocations the `reflected' type as `reflected', not `this'.
476 (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
478 2004-02-08 Martin Baulig <martin@ximian.com>
480 * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
481 (MonoGenericInst.GetInterfaces_internal): New interncall.
482 (MonoGenericInst): Reflect latest API changes; use GetParentType()
483 and GetInterfaces_internal() instead of the fields.
485 2004-02-06 Martin Baulig <martin@ximian.com>
487 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
489 2004-02-03 Martin Baulig <martin@ximian.com>
491 * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
493 2004-01-25 Martin Baulig <martin@ximian.com>
495 * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
497 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
499 * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
500 a reference on the Module object which contains the resource.
502 * Module.cs: Decrease the image reference count when the Module is
505 2004-01-16 Martin Baulig <martin@ximian.com>
507 * Assembly.cs: Make the `MonoDebugger_' methods static.
509 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
511 * MonoProperty.cs: changed get_property_info so that it only gets the
512 values needed. Reduces the allocations needed.
514 2004-01-15 Martin Baulig <martin@ximian.com>
516 * Assembly.cs: Make the `MonoDebugger_' methods internal.
518 2004-01-04 Nick Drochak <ndrochak@gol.com>
520 * Assembly.cs: Removed unused variable in catch block.Eliminates a build
523 2003-12-29 Ben Maurer <bmaurer@users.sourceforge.net>
525 * MethodBase.cs: Internal method to get param count (this
526 way we can get the info for the ilgen without creating
527 an array, if we override the method).
529 2003-12-18 Zoltan Varga <vargaz@freemail.hu>
531 * Assembly.cs: Implement LoadFrom.
533 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
535 * Assembly.cs: Add stubs for LoadFile.
537 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
539 * Assembly.cs (GetManifestResourceStream): Only load non-embedded
540 resources from files.
542 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
544 * MonoField.cs (SetValue): Throw an exception if the value cannot be
545 converted to the field's type. Fixes #52177.
547 2003-12-11 Lluis Sanchez Gual <lluis@ximian.com>
549 * AmbiguousMatchException.cs: Added serialization constructor.
551 2003-12-08 Martin Baulig <martin@ximian.com>
553 * MonoGenericInst.cs (MonoGenericParam): New internal class;
554 derives from MonoType.
556 2003-12-08 Patrik Torstensson <p@rxc.se>
558 * Binder.cs: Added internal helpers to get derived level and select the
559 most derived methodbase (used in GetMethodImpl)
561 2003-11-25 Zoltan Varga <vargaz@freemail.hu>
563 * Assembly.cs (LoadWithPartialName): Return null instead of throwing
564 an exception to match MS behavior.
566 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
568 * MonoMethod.cs: Add missing constructor.
570 2003-11-21 Zoltan Varga <vargaz@freemail.hu>
572 * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
574 2003-11-16 Martin Baulig <martin@ximian.com>
576 * MonoGenericInst.cs (MonoGenericInst.inflate): Call
577 `parent.inflate (parent,...)' instead of
578 `parent.inflate (reflected,...)'.
580 2003-11-16 Zoltan Varga <vargaz@freemail.hu>
582 * Assembly.cs (InternalGetAssemblyName): New icall.
584 * AssemblyName.cs (GetAssemblyName): Implement this without loading
585 the assembly in question. Fixes #51035.
587 2003-11-14 Martin Baulig <martin@ximian.com>
589 * MonoGenericInst.cs (MonoGenericInst): Added
590 `MonoGenericInst[] interfaces' field. This is only used for
592 (MonoGenericInst.inflate): If we're an interface type, add the
593 methods from all interfaces we inherit.
595 2003-11-14 Zoltan Varga <vargaz@freemail.hu>
597 * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values
600 * *.cs: Add missing attributes.
602 2003-11-11 Todd Berman <tberman@gentoo.org>
604 * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
606 2003-11-11 Zoltan Varga <vargaz@freemail.hu>
608 * MonoMethod.cs: Implement CallingConvention member.
610 2003-11-10 Zoltan Varga <vargaz@freemail.hu>
612 * Assembly.cs (InternalGetType): Add a 'module' argument so this
613 method can be used from Module as well.
615 * Module.cs (GetType): Implement.
617 * Module.cs (GetTypes): Implement.
619 * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
620 2003-11-08 Martin Baulig <martin@ximian.com>
622 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
623 a private `IntPtr ginst' field.
624 (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
626 2003-11-02 Martin Baulig <martin@ximian.com>
628 * MonoGenericInst.cs (MonoGenericInst.initialize): Include members
629 from our parent classes in the `methods', `ctors' and `fields'
630 arrays. When inflating them, reflection now sets their
631 `declaring_type' and `reflected_type' fields.
632 (MonoInflatedMethod, MonoInflatedCtor): Added
633 `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
634 fields and override the `DeclaringType' and `ReflectedType' properties.
636 2003-11-02 Martin Baulig <martin@ximian.com>
638 * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
640 2003-10-31 Martin Baulig <martin@ximian.com>
642 * MonoGenericInst.cs (MonoInflatedField): New internal class.
643 (MonoGenericInst.GetFields): Override this method and inflate
646 * MonoField.cs: Don't make this class sealed.
648 2003-10-30 Martin Baulig <martin@ximian.com>
650 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
653 2003-10-25 Martin Baulig <martin@ximian.com>
655 * MonoGenericInst.cs: New internal class.
657 2003-10-18 Martin Baulig <martin@ximian.com>
659 * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
660 abstract; use an interncall in MonoMethod and a custom
661 implementation in MethodBuilder.
663 2003-10-17 Pedro MartÃnez Juliá <yoros@wanadoo.es>
665 * MonoEvent.cs: implement ToString method as in MS.NET.
667 * MonoMethod.cs: fix some differences between mono and MS.NET
668 implementation of ToString.
670 2003-10-17 Zoltan Varga <vargaz@freemail.hu>
672 * AssemblyName.cs: Fix Version property when some version fields are
675 2003-10-17 Martin Baulig <martin@ximian.com>
677 * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
678 (MethodInfo.BindGenericParameters): New method.
680 2003-10-16 Martin Baulig <martin@ximian.com>
682 * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
685 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
687 * ParameterInfo.cs: Modified constructor of ParameterInfo for
688 the return type of a method. Since parameter positions are
689 zero-based, the position of the return type must be is -1.
691 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
693 * TargetInvocationException.cs: Fixed signature
695 2003-07-24 Miguel de Icaza <miguel@ximian.com>
697 * TypeDelegator.cs: Added generics stubs.
699 2003-07-21 Lluis Sanchez Gual <lluis@ximian.com>
701 * ParameterInfo.cs: Position is zero-based in ParameterInfo.
702 Set the right position value when getting from ParameterBuilder.
704 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
706 * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
707 finer-grained icalls. Requires a matching runtime.
709 2003-07-11 Zoltan Varga <vargaz@freemail.hu>
711 * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
713 * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
715 2003-07-10 Zoltan Varga <vargaz@freemail.hu>
717 * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
719 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
721 * Pointer.cs: implemented.
723 2003-06-15 Zoltan Varga <vargaz@freemail.hu>
725 * EventInfo.cs: Implement IsSpecialName.
727 2003-06-10 Zoltan Varga <vargaz@freemail.hu>
729 * Module.cs (Mono_GetGuid): New method to return the GUID of the
732 2003-05-21 Zoltan Varga <vargaz@freemail.hu>
734 * Module.cs: Implement GetField and its friends.
736 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
738 * Assembly.cs (GetManifestResourceStream): Moved handling of
739 linked resources into managed code using the newly implemented
740 GetManifestResourceInfo () method.
742 2003-05-19 Zoltan Varga <vargaz@freemail.hu>
744 * Module.cs: Implemented IsResource.
746 * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
747 GetModule, GetLoadedModules methods.
748 * Assembly.cs (GetManifestResourceStream): Added support for
749 resources in extern assemblies.
751 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
753 * Assembly.cs: fixed bug #42833.
755 2003-05-11 Miguel de Icaza <miguel@ximian.com>
757 * Binder.cs (ChangeType): Very simplistic change. Am not sure if
758 it is correct, but it makes RemotingCorba move along a bit more
759 (Remoting.Corba invokes Binder.ConvertArgs, which calls
760 Binder.ChangeType with an Attribute [] to Object []).
762 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
765 (check_type): fixed bug #41655.
767 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
769 * Assembly.cs: implemented GetSatelliteAssembly.
771 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
773 * Assembly.cs: added GetNamespaces() icall.
775 2003-03-17 Zoltan Varga <vargaz@freemail.hu>
777 * FieldInfo.cs (GetFieldFromHandle): Implemented.
779 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
781 * Assembly.cs: added missing stuff. Only ModuleResolve event is left
782 out to avoid changing MonoReflectionAssembly by now.
783 * ModuleResolveEventHandler.cs: delegate.
785 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
787 * TargetInvocationException.cs: added serialization ctor.
789 2003-02-18 Martin Baulig <martin@ximian.com>
791 * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
792 method's metadata token.
794 2003-02-04 Sebastien Pouliot <spouliot@videotron.ca>
796 * Module.cs: Corrected indentation for class.
798 2003-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
801 (check_type): return true when the target type is object and the source
804 2003-02-03 Patrik Torstensson
806 * Binder.cs: minimize locking time in DefaultBinder.
808 2003-02-01 Sebastien Pouliot <spouliot@videotron.ca>
810 * Module.cs: Oups - not implemented. Added MonoTODO to most methods
811 so it's real status get reflected correctly on the web site.
813 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
815 * MonoMethod.cs: implemented GetBaseDefinition ().
817 2003-01-28 Patrik Torstensson
818 * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
819 * ReflectionSerializationHolder.cs: Support class for serialization
821 2003-01-17 Zoltan Varga <vargaz@freemail.hu>
823 * ParameterInfo.cs: modified constructor so it allows the
824 ParameterBuilder to be null and add a 'position' argument which will
825 be used when pb is null.
827 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
829 * Assembly.cs: added serialization support.
831 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
833 * MonoMethod.cs: propagate exceptions from the internal invoke
834 code that need to be propagated.
836 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
838 * Binder.cs: throw an exception if the number of arguments
839 when invoking a method is incorrect.
841 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
843 * Binder.cs: In SelectMethod() look for an exact match first.
845 2003-01-01 Rachel Hestilow <hestilow@ximian.com>
847 * MonoField.cs (SetValue): Fix logic typo. Check that obj is
848 non-null only for the non-static case.
850 2002-12-30 Sebastien Pouliot <spouliot@videotron.ca>
852 * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by
855 2002-12-23 Sebastien Pouliot <spouliot@videotron.ca>
857 * AssemblyName.cs: GetPublicKey now return an empty array (not null)
858 when an assembly isn't signed with a StrongName (to match MS
859 implementation) and null when no assembly is referenced. Also removed
860 commented code (no bug reported so it was probably not used).
862 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
864 * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
865 provider for the return type of a method.
867 2002-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
869 * AssemblyName.cs: little fix in FullName.
871 2002-12-07 Sebastien Pouliot <spouliot@videotron.ca>
873 * AssemblyName.cs: Added missing methods/interfaces. Fixed some
874 code to match the MS Framework.
875 * StrongNameKeyPair.cs: Completed the "visible" implementation.
876 There must be some internal methods to allow signing with the key.
878 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
880 * EventInfo.cs: implemented (Add|Remove)EventHandler.
882 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
884 * Assembly.cs: implemented GetManifestResourceStream (Type type,
887 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
889 * Assembly.cs: changed name of GetType (string, bool, bool) to
892 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
894 * TargetInvocationException.cs: modified default message.
896 2002-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
899 * PropertyInfo.cs: fixed bug #31535.
901 2002-09-27 Martin Baulig <martin@gnome.org>
903 * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
905 2002-09-24 Martin Baulig <martin@gnome.org>
907 * Assembly.cs (MonoDebugger_GetType): New method to get a Type
908 from its metadata token. This should only be used by the debugger.
910 2002-09-21 Martin Baulig <martin@gnome.org>
912 * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
913 get the type of a local variable from its signature. This should only
914 be used by the debugger.
916 2002-09-20 Martin Baulig <martin@gnome.org>
918 * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
919 from its metadata token. This should only be used by the debugger.
921 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
923 * Binder.cs: more default binder implementation.
925 * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
926 * MonoMethod.cs: use the binder in the Invoke () implementation.
927 Implemented custom attributes methods and ToString for constructors.
929 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
931 * Binder.cs: finished the Binder class and implemented the default
934 2002-09-03 Martin Baulig <martin@gnome.org>
936 * Assembly.cs (Assembly.Location): Implemented.
938 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
941 (GetValue): allow obj to be null (used for static fields).
943 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
945 * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
948 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
950 * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen
951 <tomi.pakarinen@welho.com>.
953 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
955 * Assembly.cs: FullName now returns a proper string instead of
956 something like 'file://...'.
958 * AssemblyName.cs: added missing ToString method.
960 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
962 * FieldInfo.cs: implemented SetValue.
964 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
966 * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
968 2002-08-14 Dick Porter <dick@ximian.com>
970 * Assembly.cs: Stub out GetSatelliteAssembly
972 2002-08-12 Tim Coleman <tim@timcoleman.com>
974 Allow multiple parameters for GetValue ()
976 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
978 * Assembly.cs: implemented GetFile() and GetFiles().
980 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
982 * Assembly.cs: implemented EntryPoint and a few
983 resource related methods.
985 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
987 * MethodBase.cs: implemented GetCurrentMethod.
988 * Assembly.cs: implemented GetExecutingAssembly and
991 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
993 * MonoProperty.cs: handle properties with only a set method.
995 2002-05-24 Martin Baulig <martin@gnome.org>
997 * ParameterInfo.cs: Added internal constructor.
999 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
1001 * Assembly.cs: implemented CreateInstance ().
1003 2002-05-22 Martin Baulig <martin@gnome.org>
1005 * MethodBase.cs (get_next_table_index): Added `object obj' argument.
1007 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
1009 * EventInfo.cs: more implementation.
1011 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1013 * MonoEvent.cs: fill-in the implementation.
1015 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1017 * Assembly.cs, AssemblyName.cs: updates and fixes.
1019 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
1021 * MonoProperty.cs (GetValue) : basic implementation to support nunit
1022 * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
1024 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1026 * MonoMethod.c: cache the method name.
1028 2002-04-12 Duncan Mak <duncan@ximian.com>
1030 * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
1033 * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
1036 * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
1039 * BindingFlags.cs: Added missing value "PutRefDispProperty".
1041 * FieldAttributes.cs: Removed value "HasSecurity".
1043 * ManifestResourceInfo.cs: Added missing properties FileName,
1044 ReferencedAssembly and ResourceLocation.
1046 * TargetInvocationException.cs: Added the missing constructors.
1048 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1050 * MonoMethod.cs: make Name property an icall.
1052 2002-04-08 Nick Drochak <ndrochak@gol.com>
1054 * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
1055 struct and interface.
1057 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
1059 * MonoEvent.cs: remove unused code.
1060 * MonoProperty: implement ToString().
1062 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
1064 * Assembly.cs: implement GetTypes() and GetExportedTypes().
1066 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
1068 * MonoEvent.cs: added the needed fields.
1070 2002-03-20 Martin Baulig <martin@gnome.org>
1072 * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
1074 * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
1076 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
1078 * MonoMethod.cs (Invoke): call InternalInvoke
1080 * MethodBase.cs (Invoke): call virtual invoke function
1082 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
1084 * EventInfo.cs: add compiler needed methods.
1085 * MonoMethod.cs: make ToString() return the return type name, too.
1087 2002-03-07 Nick Drochak <ndrochak@gol.com>
1089 * BindingFlags.cs: Add missing enum values. Thanks CorCompare.
1091 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1093 * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
1095 2002-02-26 Duncan Mak <duncan@ximian.com>
1097 * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
1099 2002-02-24 Nick Drochak <ndrochak@gol.com>
1101 * AssemblyNameFlags.cs: Use proper member name. Thanks corcompare!
1103 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
1105 * MonoField.cs: implement GetValue as an internalcall.
1106 Implemented ToString().
1108 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
1110 * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
1111 MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
1114 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
1116 * TypeAttributes.cs: update to latest spec.
1118 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
1120 * Assembly.cs: handle throwOnError in GetType() call.
1122 2002-02-07 Duncan Mak <duncan@ximian.com>
1124 * AssemblyName.cs: Implemented ISerializable interface for the
1125 fields that we have.
1127 2002-02-05 Duncan Mak <duncan@ximian.com>
1130 * TargetException.cs: Added in CVS.
1132 2002-01-31 Duncan Mak <duncan@ximian.com>
1134 * ReflectionTypeLoadException.cs: Added missing bits.
1136 2002-01-23 Duncan Mak <duncan@ximian.com>
1138 * AssemblyAlgorithmIdAttribute.cs:
1139 * AssemblyCompanyAttribute.cs:
1140 * AssemblyConfigurationAttribute.cs:
1141 * AssemblyCopyrightAttribute.cs:
1142 * AssemblyCultureAttribute.cs:
1143 * AssemblyDefaultAliasAttribute.cs:
1144 * AssemblyDelaySignAttribute.cs:
1145 * AssemblyDescriptionAttribute.cs:
1146 * AssemblyFileVersionAttribute.cs:
1147 * AssemblyFlagsAttribute.cs:
1148 * AssemblyInformationalVersionAttribute.cs:
1149 * AssemblyKeyFileAttribute.cs:
1150 * AssemblyKeyNameAttribute.cs:
1151 * AssemblyNameProxy.cs:
1152 * AssemblyProductAttribute.cs:
1153 * AssemblyTitleAttribute.cs:
1154 * AssemblyTradeMarkAttribute.cs:
1155 * AssemblyVersionAttribute.cs:
1156 * CustomAttributeFormatException.cs:
1157 * InvalidFilterCriteriaException.cs:
1158 * TargetParameterCountException.cs: Added.
1160 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1162 * Assembly.cs (Assembly.CodeBase): Implement.
1163 (Assembly.FullName): simplistic and broken implementation. Gets
1164 us where we were yesterday.
1168 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
1170 * IReflect.cs: corrected GetMember() return type.
1171 * InterfaceMapping.cs, TypeDelegator.cs: implemented.
1173 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1175 * MonoMethod.cs: ToString () implementation.
1177 2002-01-04 Ravi Pratap <ravi@ximian.com>
1179 * Assembly.cs : Decorate missing bits with the MonoTODO
1182 * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
1183 ReflectionTypeLoadException.cs : Ditto.
1185 * FieldInfo.cs : Ditto.
1187 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
1189 * Assembly.cs: trow unimplemented exceptions.
1191 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
1193 * MonoMethod.cs: implemented GetParameters().
1194 * MonoProperty.cs: PropertyInfo implementation.
1195 * ParameterInfo.cs: implemented.
1196 * PropertyInfo.cs: fixes.
1198 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
1200 * FieldInfo.cs: implemented some Is* propeties.
1201 * MethodBase.cs: fixed attribute accessors.
1202 * MonoField.cs: runtime object to represent a field.
1203 * MonoMethod.cs: runtime object to represent a method.
1204 * AssemblyBuilder.cs: GetToken() methods to get tokens for
1205 strings, fields, methods...
1206 * ILGenerator.cs: handle tokens for methods.
1208 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
1210 * MethodBase.cs: add internal get_next_table_index() for use in
1213 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
1215 * Assembly.cs: implement some of the Load() methods.
1216 * ConstructorInfo.cs: some missing stubs and fields.
1217 * FieldInfo.cs: IsInitOnly property.
1218 * ParameterInfo.cs: stubs for missing properties.
1219 * ParameterModifier.cs: implemented class.
1221 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
1223 * Assembly.cs: Filled in some stub implementations
1225 * ConstructorInfo.cs: Added some stub functions for NUnit
1227 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
1229 * AmbiguousMatchException.cs,
1230 * Assembly.cs, Module.cs: updates.
1231 * FieldInfo.cs: better compliance to the spec.
1232 * MethodBase.cs: move call_conv out of the way.
1233 * AssemblyBuilder.cs: don't use internalcalls, more stuff supported.
1234 * FieldBuilder.cs: implemented.
1235 * ILGenerator.cs: implemented some opcode handling.
1236 * Label.cs: add constructor.
1237 * LocalBuilder.cs: implemented.
1238 * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
1239 * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
1240 * ParameterBuilder.cs: implemented.
1241 * PropertyBuilder.cs: implemented.
1242 * TypeBuilder.cs: don't use internalcalls, more stuff working.
1244 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
1246 * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
1248 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
1250 * MethodBase.cs, MethodInfo.cs: added.
1252 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
1254 * Assembly.cs: added stub code.
1256 2001-07-18 Michael Lambert <michaellambert@email.com>
1258 * BindingFlags.cs: Add.