1 2007-04-09 Alp Toker <alp@atoker.com>
3 * MethodBase.cs: IsGenericMethodDefinition() and IsGenericMethod()
4 should return false, not throw NotSupportedException. This matches MS
5 behaviour and introduces simplifications in subclasses.
6 * MonoMethod.cs: MonoCMethod: Remove redundant overrides.
8 2007-03-05 Peter Dettman <peter.dettman@iinet.net.au>
10 * Binder.cs: The patch changes Binder.Default.GetBetterMethod to
11 prefer methods in subclasses if the arg types can't disambiguate
14 Also fixes a typo in the CallingConventions comparison.
16 2007-03-01 Alp Toker <alp@atoker.com>
19 Add GetFieldFromHandle() 2.0 overload stub (NotImplemented).
21 2007-03-01 Alp Toker <alp@atoker.com>
23 * MethodBase.cs: Add missing ComVisible attr.
24 Add GetMethodFromHandle() 2.0 overload stub (NotImplemented).
26 2006-12-30 Marek Safar <marek.safar@gmail.com>
28 * MonoProperty.cs: Cache frequently used properties.
30 Thu Dec 14 13:50:48 CET 2006 Paolo Molaro <lupus@ximian.com>
32 * *.cs: added missing Serializable attributes.
34 Thu Dec 14 12:52:27 CET 2006 Paolo Molaro <lupus@ximian.com>
36 * MonoProperty.cs, ParameterInfo.cs, PropertyInfo.cs:
37 GetRequiredCustomModifiers()/GetOptionalCustomModifiers()
40 Tue Dec 12 20:35:10 CET 2006 Paolo Molaro <lupus@ximian.com>
42 * MethodBase.cs: added missing ComVisible attr.
43 * MethodInfo.cs: added a few missing methods that we implement
46 Tue Dec 12 19:45:26 CET 2006 Paolo Molaro <lupus@ximian.com>
48 * MonoEvent.cs: correctly obey the nonPublic flag in GetOtherMethods ().
49 * EventInfo.cs: remove NotImpl exception from GetOtherMethods ().
51 2006-10-19 Gert Driesen <drieseng@users.sourceforge.net>
53 * AssemblyName.cs: Revert change where filename was not converted to
54 absolute path before passing it to Assembly.InternalGetAssemblyName
55 as the CodeBase is not set in that case.
57 2006-10-17 Kornél Pál <kornelpal@gmail.com>
59 * FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a
60 NotSupportedException is the proper implementation.
61 * ParameterInfo.cs: Use Attributes in Is... properties on profile 2.0
62 that is expected by subclasses.
64 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
66 * AssemblyName.cs: No need to convert filename to absolute path before
67 passing it to Assembly.InternalGetAssemblyName. This allows our
68 exception messages to be better match those of MS.
70 2006-09-29 Jb Evain <jbevain@gmail.com>
72 * MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.
74 2006-09-02 Zoltan Varga <vargaz@gmail.com>
76 * ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from
77 Peter Dettman (peter.dettman@iinet.net.au). Implement ReturnParameter
80 * Binder.cs (ReorderParameters): Really fix this.
82 * Binder.cs (ReorderParameters): Fix this method. Fixes #79120.
84 2006-09-01 Raja R Harinath <rharinath@novell.com>
86 * MonoMethod.cs (ToString): Update to handle change in byref type names.
88 2006-08-08 Gert Driesen <drieseng@users.sourceforge.net>
90 * Assembly.cs: On 2.0 profile, throw FileNotFoundException for
91 linked resources in GetManifestResourceStream when assembly is
92 loaded from byte array.
94 2006-07-12 Zoltan Varga <vargaz@gmail.com>
96 * MonoMethod.cs (ContainsGenericParameters): Implement.
98 * MonoMethod.cs (Invoke): Prevent invoking of open generic methods.
100 2006-07-09 Gert Driesen <drieseng@users.sourceforge.net>
102 * Assembly.cs: When assembly is loaded from byte array, return null
103 for linked resources in GetManifestResourceStream. Fixes bug #78468.
105 2006-07-09 Zoltan Varga <vargaz@gmail.com>
107 * Binder.cs: Add back the support for BindingFlags.ExactBinding. Fixes #78592.
109 2006-06-30 Zoltan Varga <vargaz@gmail.com>
111 * Binder.cs: Comment out the ExactBinding stuff for the release as it breaks some
114 2006-06-07 Zoltan Varga <vargaz@gmail.com>
116 * Binder.cs: Add support for BindingFlags.ExactBinding. Fixes #78592.
118 2006-05-28 Gert Driesen <drieseng@users.sourceforge.net>
120 * MethodBase.cs: GetMethodBody should not throw ArgumentException for
121 a method with no IL body. Fixes bug #78522.
123 2006-05-10 Zoltan Varga <vargaz@gmail.com>
125 * Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
127 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
129 * Binder.cs : (Default.SelectMethod)
130 don't throw AmbiguousMatchException when one of conflicting method
131 matches weakly. Fixed bug #42547.
133 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
135 * Binder.cs : (Default.BindToMethod) reorder parameters based
136 on namedParameters. Fixed bug #41691.
138 2006-05-03 Jb Evain <jbevain@gmail.com>
140 * MonoField.cs (GetValue,SetValue): throw a TargetException
141 when the field is non static and the target is null.
143 2006-03-12 Zoltan Varga <vargaz@gmail.com>
145 * Binder.cs: Applied patch from Ben to fix #74947.
147 2006-03-01 Miguel de Icaza <miguel@novell.com>
149 * Assembly.cs: Cache the AssemblyName, patch from Tambet. This
150 reduces the memory usage during remoting.
152 2006-02-16 Martin Baulig <martin@ximian.com>
154 * FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.
156 2006-02-15 Martin Baulig <martin@ximian.com>
158 * MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
159 (MethodBase.Mono_IsInflatedMethod): Removed.
160 (MethodBase.HasGenericParameters): Removed.
162 * MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
163 here from MethodBase.
166 (MonoMethod.IsGenericMethodDefinition): This is now an icall.
167 (MonoMethod.IsGenericMethod): Likewise.
169 2006-02-14 Martin Baulig <martin@ximian.com>
172 (MonoCMethod.IsGenericMethod): Override this and return false; the
173 MS runtime doesn't throw an exception here.
175 2006-02-08 Martin Baulig <martin@ximian.com>
177 * MonoGenericClass.cs (MonoGenericClass.IsAssignableFrom):
178 Override and implement this; fixes #77395.
180 2006-02-07 Martin Baulig <martin@ximian.com>
183 (MonoMethod.IsGenericMethod): Only return true for "real" generic
184 methods and not for arbitrary instantiated methods.
185 (MonoMethod.IsGenericMethodDefinition): Only return true for
186 generic method definitions, but not for instantiated generic
187 methods. This is no longer an interncall. Fixes #77466.
189 2006-02-03 Zoltan Varga <vargaz@gmail.com>
191 * MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
194 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
196 * Assembly.cs: Fixed #75950. The icall has been changed to accept a
197 boolean so it can return a non-escaped code base.
199 2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
201 * MonoMethod.cs : made MakeGenericMethod() indirect icall to
202 MakeGenericMethod_impl() and raise an error when it returns null.
204 2005-11-15 Zoltan Varga <vargaz@gmail.com>
206 * Module.cs: Add MDStreamVersion property.
208 * Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs
209 CustomAttributeData.cs PortableExecutableKinds.cs
210 ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
213 2005-11-11 Marek Safar <marek.safar@seznam.cz>
215 * MethodBase.cs, TypeDelegator.cs: Reflect Type changes.
217 2005-10-30 Zoltan Varga <vargaz@freemail.hu>
219 * FieldInfo.cs: Add an internal UMarshal property which can by
220 overriden in FieldBuilder.
222 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
224 * MonoMethod.cs : (ToString) add suffix " ByRef" for byref parameters.
227 2005-10-04 Martin Baulig <martin@ximian.com>
229 * MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
230 return type from `MonoGenericClass to `Type'.
232 2005-09-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
234 * AssemblyName.cs: Add ParseName internal call, to parse
235 long format assembly names.
237 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
239 * MonoProperty.cs: Invoke throws a SecurityException but GetValue must
240 throw TargetInvocationException with the SecurityException as an inner
241 exception. See CAS unit tests for System.Web.dll.
243 2005-09-20 Martin Baulig <martin@ximian.com>
245 * Assembly.cs: Removed some unused debugger icalls.
247 2005-09-17 Zoltan Varga <vargaz@freemail.hu>
249 * Module.cs: Remove obsolete Mvid property.
251 2005-09-09 Martin Baulig <martin@ximian.com>
253 Reflect latest API changes in the August CTP.
255 * MethodBase.cs (MethodBase.MakeGenericMethod): Removed.
257 * MethodInfo.cs (MethodInfo.MakeGenericMethod): Added here.
259 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
261 * AssemblyName.cs: Apply second half of Chris Micacchi's patch
263 2005-09-07 Miguel de Icaza <miguel@novell.com>
265 * AssemblyName.cs: Apply patch from Chris Micacchi to serialize
266 the keyToken as "_PublicKeyToken".
268 2005-09-05 Martin Baulig <martin@ximian.com>
270 Reflect latest API changes in the August CTP.
272 * GenericParameterAttributes.cs: Here.
274 * MethodBase.cs (MethodBase.BindGenericParameters): Renamed to
277 2005-09-05 Martin Baulig <martin@ximian.com>
279 * Assembly.cs (MonoDebugger_GetMethodToken): Don't take an
282 2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
284 * Assembly.cs: made GetManifestResourceInternal internal. Fixes the
287 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
289 * Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
290 * ConstructorInfo.cs: Added GetType() method in 1.1 to match
291 MS.NET, implemented _ConstructorInfo.
292 * EventInfo.cs: Added GetType() method in 1.1 to match MS.NET,
293 implemented _EventInfo.
294 * FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET,
295 implemented _FieldInfo.
296 * MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET,
297 implemented _MemberInfo.
298 * MethodBase.cs: Added GetType() method in 1.1 to match MS.NET,
299 implemented _MethodBase.
300 * MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET,
301 implemented _MethodInfo.
302 * PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET,
303 implemented _PropertyInfo.
304 * TypeAttributes.cs: CustomFormatMask and CustomFormatClass should
305 only be exposed in 2.0 profile.
307 2005-07-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
309 * CustomAttributeTypedArgument: Return the name of the
310 enum if the type is an enum in ToString ().
312 2005-06-21 Sebastien Pouliot <sebastien@ximian.com>
314 * Assembly.cs: Create a copy of the evidences and add an instance of
315 PermissionRequestEvidence to it before resolution. This way the PRE
316 won't be present when asking for evidences later. Removed debugging
319 2005-06-13 Michal Moskal <malekith@nemerle.org>
321 * MonoGenericClass.cs: Don't use MethodHandle in GetMethod/GetConstructor,
322 since it now throws on MethodBuilders. Don't use FieldHandle in
323 GetField (throws on FieldBuilder) - just use the name.
325 2005-06-15 Sebastien Pouliot <sebastien@ximian.com>
327 * Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
328 FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
329 ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
330 attributes that were added in 1.1 SP1 or 2.0 beta2.
332 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
334 * Binder.cs: null is ok for a value type. Fixes bug #75241.
336 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
338 * Assembly.cs: UnprotectedGetName is now virtual to allow for more
339 initialization in AssemblyBuilder. The [Granted|Refused]PermissionSet
340 now use the ResolvingPolicyLevel to support the policy
341 FullTrustAssemblies during resolution.
342 * AssemblyName.cs: Return null instead of "new byte [0]" if no public
345 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
346 * MonoGenericClass.cs: Add overrides of Get{Method,Constructor,Field}
347 for obtaining instanciated *Info objects from non-instanciated counterparts
350 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
352 * CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.
354 * *.cs: Updates for net 2.0 beta 2.
356 2005-06-07 Zoltan Varga <vargaz@freemail.hu>
358 * *.cs: Updates for net 2.0 beta 2.
360 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
362 * CustomAttributeData.cs: Implemented.
364 * CustomAttributeDataNamedArgument.cs: Implemented.
366 * CustomAttrbuteDataTypedArgument.cs: Implemented.
368 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
370 * Assembly.cs ExceptionHandlingClause.cs: Fix build.
372 * ProcessorArchitecture.cs: New file.
374 * ExceptionHandlingClause.cs: Update after ExceptionHandlingClauseFlags name change.
376 * *.cs: Updates for net 2.0 beta 2.
378 * *.cs: Add net 2.0 ComVisibleAttribute.
380 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
382 * Assembly.cs: if the assembly is loaded from a byte array, Location
383 returns "". Fixes bug #74958.
385 2005-06-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
387 * AssemblyName.cs: Changes to support the creation of version
388 instance from icalls. This change also helps to keep the
389 AssemblyName tests running fine.
391 2005-05-26 Ben Maurer <bmaurer@ximian.com>
393 * Binder.cs: Avoid double checked locking and lock on typeof by
394 doing init of the default binder in the cctor.
396 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
398 * Assembly.cs: Avoid security checks if Assembly.Location is "".
400 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
402 * TypeDelegator.cs: Implement some methods.
404 * TypeDelegator.cs: Revert this as it breaks the build.
406 * TypeDelegator.cs: Implement some methods.
408 2005-05-19 Satya Sudha K <ksathyasudha@novell.com>
409 Raja R Harinath <rharinath@novell.com>
411 * Missing.cs (Missing.Value): Initialize.
413 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
415 * Binder.cs: Use IsInstanceOfType instead of IsAssignableFrom
416 since GetType() may not return the correct type if the object is
417 a remoting proxy. This fixes bug #74933.
419 2005-05-13 Zoltan Varga <vargaz@freemail.hu>
421 * MonoField.cs: Applied patch from Opened by Michael Meeks (michael@ximian.com). Improve exception message on binding failures.
423 2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
425 * MonoField.cs: Added a Clone method. This is needed for serialization.
427 2005-05-07 Ben Maurer <bmaurer@ximian.com>
429 * MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.
431 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
433 * Module.cs: Update for beta 2.
435 * CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.
437 2004-05-03 Lluis Sanchez <lluis@ximian.com>
439 * Assembly.cs: Don't remove version and culture information from
440 the name, since it will be used by load_with_partial_name.
442 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
444 * Assembly.cs: Added some CAS security to avoid returning restricted
445 information to partially truster callers (e.g. code base). Added new
446 methods to get the Evidence and AssemblyName so that the security
447 runtime can bootstrap itself (without calling itself).
449 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
451 * Assembly.cs: Added missing null check in GetObjectData.
453 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
455 * AssemblyName.cs: Added a demand for SerializationFormatter on
456 GetObjectData method.
458 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
460 * AssemblyName.cs: Implemented EscapedCodeBase using the copy of
461 System.Uri (System.dll) located in Mono.Security.Uri. Added missing
462 null check in GetObjectData.
463 * Module.cs: Added a FileIOPermission for PathDiscovery on
464 FullyQualifiedName property (but not on Name property like MS).
465 Added missing null check in GetObjectData.
466 * StrongNameKeyPair.cs: Added demands for unmanaged code to all
467 constructors (as we do not want partially trusted code to create
468 strongnamed assemblies).
470 2005-03-30 Zoltan Varga <vargaz@freemail.hu>
472 * Binder.cs (check_type): Fix byref support. Fixes #73972.
474 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
476 * MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class.
477 * Module.cs: Add a LinkDemand for SerializationFormatter on
478 GetObjectData method.
480 2005-03-16 Sebastien Pouliot <sebastien@ximian.com>
482 * Assembly.cs: Implemented EscapedCodeBase using the copy of
483 System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.
485 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
487 * MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand
488 (i.e. stack walk) when reflection is being used to invoke a method.
490 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
492 * Assembly.cs: LoadFrom: Change signature to support reflection only
493 methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
494 implemented; InvalidOperationException's re-thrown by CreateInstance.
495 Also ReflectionOnly 2.0 property added.
497 * MonoMethod.cs: InvalidOperationException's are re-thrown when calling
498 Invoke method on reflection only assemblies.
500 2005-02-22 Raja R Harinath <rharinath@novell.com>
502 * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
503 'abstract' so that this class can be derived outside of corlib.
505 2005-02-16 Miguel de Icaza <miguel@novell.com>
507 * MonoEvent.cs: Put new methods here.
509 * EventInfo.cs: Move the methods GetCustomAttributes, and
510 IsDefined from EventInfo to MonoEvent.
512 Remove the methods that were not supposed to be exposed: Name,
513 ReflectedType, DeclaringType.
515 2005-02-12 Chris Toshok <toshok@ximian.com>
517 * Assembly.cs: Correct the type of MonoDebugger_MakeArrayType.
519 2005-02-12 Ben Maurer <bmaurer@ximian.com>
521 * Binder.cs (SelectProperty): Use -1 as the dummy `I don't know
522 how many types' value.
524 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
526 * Assembly.cs: Fix warning.
528 2005-02-10 Martin Baulig <martin@ximian.com>
530 * Module.cs (MonoDebugger_ResolveType): New internal method.
532 * Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
533 (MonoDebugger_GetTypeToken): New internal method.
535 2005-02-10 Martin Baulig <martin@ximian.com>
537 * Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.
539 2005-02-10 Marek Safar <marek.safar@seznam.cz>
542 * ConstructorInfo.cs,
548 * PropertyInfo.cs: ClassInterfaceType is None.
550 Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>
552 * Module.cs: removed the finalizer and the now unused Close() icall.
554 2005-01-21 Sebastien Pouliot <sebastien@ximian.com>
556 * Assembly.cs: Fixed add for ModuleResolve.
558 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
560 * LocalVariableInfo.cs: Add ToString method.
562 * ExceptionHandlingClause.cs: Implement this.
564 2005-01-18 Zoltan Varga <vargaz@freemail.hu>
566 * MethodBase.cs MonoMethod.cs: Hopefully fix the build.
568 * MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().
570 2005-01-03 Martin Baulig <martin@ximian.com>
572 * MonoGenericMethod.cs
573 (MonoGenericMethod.get_reflected_type): Removed.
574 (MonoGenericMethod.ReflectedType): Make this an icall.
575 (MonoGenericCMethod.ReflectedType): Likewise.
577 2004-12-29 Martin Baulig <martin@ximian.com>
579 * MonoGenericMethod.cs: New file.
581 2004-12-21 Sebastien Pouliot <sebastien@ximian.com>
583 * Assembly.cs: Added private LoadAssemblyPermissions to get the
584 declarative security permission sets (minimum, optional and refused)
587 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
589 * Assembly.cs: Removed old Demand support (moved in System.Security).
591 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
593 * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
594 the gmcs bugs blocking them are fixed.
596 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
598 * Assembly.cs: Move corlib_internal field to AssemblyBuilder.
600 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
602 * Assembly.cs: Add corlib_internal field.
604 2004-11-30 Martin Baulig <martin@ximian.com>
606 * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
607 renamed the class from `MonoGenericInst' to `MonoGenericClass'.
609 2004-11-05 Zoltan Varga <vargaz@freemail.hu>
611 * AssemblyName.cs (FullName): Omit default values from full name.
613 * Assembly.cs: Implement GetFiles (bool).
615 * Binder.cs: Add support for byref types. Fixes #69140.
617 2004-10-12 Martin Baulig <martin@ximian.com>
619 * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
620 before calling the *_internal() methods.
622 2004-10-12 Zoltan Varga <vargaz@freemail.hu>
624 * MethodBody.cs: Implement this.
626 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
628 * Module.cs: Handle the case when the global type does not exists.
630 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
632 * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
635 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
637 * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].
639 * PropertyInfo.cs: Add stub for GetConstantValue ().
641 * ParameterInfo.cs (marshalAs): Make this private.
643 * Module.cs (ModuleHandle): Add [CLSCompliant(false)].
645 * LocalVariableInfo.cs MethodBody.cs: Disable default constructor.
647 * ExceptionHandlingClause.cs: Disable default constructor.
649 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
651 * CustomAttributeData.cs CustomAttributeTypedArgument.cs
652 CustomAttributeNamedArgument.cs: New files.
654 * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
655 ExceptionHandlingClauseFlags.cs: New files.
657 2004-09-26 Zoltan Varga <vargaz@freemail.hu>
659 * FieldInfo.cs: Add support for returning MarshalAsAttribute.
661 * ParameterInfo.cs: Add marshalAs field, add support for returning
664 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
666 * Module.cs: Add new 2.0 GetMethods and GetFields methods.
668 * ParameterInfo.cs: Add GetPseudoCustomAttributes () method.
670 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
672 * MonoField.cs: Add GetFieldOffset.
674 * ObfuscationAttribute.cs: Add ApplyToMembers.
676 * Assembly.cs: Add stub for ReflectionOnlyLoadFrom.
678 * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.
680 * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method.
682 * AssemblyNameFlags.cs: Add LongevityUnspecified.
684 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
686 * Module.cs: Remove [MonoTODO] from ResolveMember.
688 * MemberInfo.cs: Add 'Module' property.
690 * AssemblyFlagsAttribute.cs: Add 2.0 stuff.
692 * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
693 to LoadWithPartialName on 2.0.
695 * AssemblyNameFlags.cs: Add new 2.0 members.
697 * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.
699 * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.
701 * EventInfo.cs: Fix 2.0 build.
703 * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.
705 * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.
707 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
709 * Module.cs: Implement net 2.0 ResolveXXX methods.
711 * Module.cs (resolve_token_exception): Fix type of exception thrown.
713 2004-09-21 Martin Baulig <martin@ximian.com>
715 * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.
717 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
719 * Assembly.cs: Implement 2.0 reflection properties.
721 * Module.cs: Implement 2.0 reflection properties. Add 'token' field.
723 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
725 * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
728 * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.
730 * Module.cs: Add ModuleHandle property and new icalls.
732 2004-09-18 Zoltan Varga <vargaz@freemail.hu>
734 * Module.cs: Add net 2.0 Mvid property.
736 2004-08-30 Sebastien Pouliot <sebastien@ximian.com>
738 * Assembly.cs: Added internal Demand(PermissionSet) for CAS.
740 2004-08-30 Zoltan Varga <vargaz@freemail.hu>
742 * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to
745 2004-08-29 Zoltan Varga <vargaz@freemail.hu>
747 * MethodBase.cs (GetMethodFromHandle): Implement.
749 2004-08-13 Marek Safar <marek.safar@seznam.cz>
751 * Assembly.cs: Made _minimum, _optional, _refuse fields internal.
752 To be reusable by AssemblyBuilder.
754 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
756 * Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0
757 properties (required for compiling the new unit tests).
758 * PortableExecutableKind.cs: New. Flags for NET_2_0.
759 * ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0.
761 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
763 * Assembly.cs: Get default evidences when no evidences have been
764 supplied. Added internal methods for CAS.
765 * AssemblyName.cs: New constructor for NET_2_0.
767 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
769 * Assembly.cs: Added new fields for CAS to match the runtime (v23).
771 2004-07-29 Martin Baulig <martin@ximian.com>
773 * Module.cs (Mono_GetGuid): Make this static.
775 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
777 * Module.cs: return just name in ToString (bug #61287).
779 2004-07-03 Zoltan Varga <vargaz@freemail.hu>
781 * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
783 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
785 * Pointer.cs: remove serializable attribute to match MS.NET
787 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
789 * ParameterModifier.cs: marked serializable, renamed field to match
790 MS.NET, throw ArgumentException when parameter count is less than or
793 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
795 * AssemblyName.cs: added TODO for serialization
796 * Pointer.cs: fixed Box method to return object instead of
799 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
801 * MemberInfo.cs: Changed constructor from internal to protected.
803 2004-06-11 Martin Baulig <martin@ximian.com>
805 * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
807 2004-06-11 Lluis Sanchez <lluis@ximian.com>
809 * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match
810 MS implementation. Generate the RSA in the constructors.
812 2004-06-10 Lluis Sanchez <lluis@ximian.com>
814 * AssemblyName.cs: Added missing fields to serialization methods.
815 * StrongNameKeyPair.cs: Made it compatible with MS serialization.
817 2004-06-08 Jacson Harper <jackson@ximian.com>
819 * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
820 runtime. This way the codebase is set properly. The codebase is
821 using g_filename_to_uri which expects a full path.
823 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
825 * Binder.cs: don't crash when we have a 'null' argument Type array.
826 Allow it for non-value types. Fixed for both, methods and properties.
829 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
831 * Binder.cs: default score must be lower than fail_score or we'll get
832 an ambiguous match when no indexers given and one single match is found.
834 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
836 * Binder.cs: removed ^Ms. In case of several properties matching, try
837 to disambiguate based on the indexer types provider and the conversions
838 from those into the ones of the property.
840 2004-05-31 Gert Driesen <drieseng@users.sourceforge.net>
842 * Assembly.cs: added missing ComVisible attribute on
843 ImageRuntimeVersion property
844 * ConstructorInfo.cs: added missing attributes on Invoke
845 * EventInfo.cs: added missing attributes
846 * FieldInfo.cs: added missing attributes
847 * MethodBase.cs: added missing attributes
848 * PropertyInfo.cs: added missing attributes
850 2004-05-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
852 * FieldInfo.cs: changed default constructor from internal to protected, so classes
853 that inherit from it can get build.
855 2004-05-18 Gert Driesen (drieseng@users.sourceforge.net)
857 * MonoProperty.cs: return correct MethodInfo for
858 property with only a get or set method. Fixes
861 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
863 * Assembly.cs: Return an empty Evidence collection to avoid
864 NullReferenceException from calling code (as this is never
865 null with MS implementation). See bugzilla #53548.
867 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
869 * Assembly.cs: Add stub for LoadFrom.
871 * Assembly.cs: Fix build.
873 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
875 * Assembly.cs: Add ModuleResolve event.
877 * Module.cs (Mono_GetGuid): Make this internal.
879 * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
881 2004-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
883 * Binder.cs: check for ambiguous matches in SelectMethod and
884 SelectProperty. Fixes bug #58381.
886 2004-05-06 Jackson Harper <jackson@ximian.com>
888 * Assembly.cs: remove TODO, this is done.
890 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
892 * Assembly.cs: ToString () returns the same as GetName ().ToString ().
895 2004-05-03 Jackson Harper <jackson@ximian.com>
897 * Assembly.cs: Implement LoadWithPartialName. The bulk of this
898 method is done in the runtime.
900 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
902 * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
903 is private (it did until now because of a bug). Make sure it works as it
904 worked before the fix.
906 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
908 * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs:
909 Removed completed TODOs.
910 * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
911 do not return private methods if nonPublic == false.
912 * ReflectionTypeLoadException.cs: Implemented serialization support.
914 2004-04-26 Jackson Harper <jackson@ximian.com>
916 * Assembly.cs: Add icall to determine if an assembly has been
919 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
921 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
922 The fix should be easier ;)
924 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
926 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
927 NET_2_0 related build fix.
929 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
931 * Assembly.cs: Removed TODO for CreateQualifiedName.
932 * AssemblyName.cs: Fixed serialization code.
933 * AssemblyNameProxy.cs: Implemented.
934 * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
936 2004-04-07 Martin Baulig <martin@ximian.com>
938 * MonoGenericInst.cs (MonoGenericParam): Removed.
940 2004-04-07 Martin Baulig <martin@ximian.com>
943 (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
945 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
946 (MonoGenericInst.GetNestedTypes): Just call
947 `generic_type.GetNestedTypes (bf)' here.
949 * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
950 include the type arguments.
952 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
954 * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
955 correct StrongName instance when the ECMA "key" is used.
957 2004-04-02 Martin Baulig <martin@ximian.com>
959 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
961 2004-04-01 Martin Baulig <martin@ximian.com>
963 * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
964 this and always return false.
966 2004-04-01 Martin Baulig <martin@ximian.com>
968 * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.
970 2004-03-30 Martin Baulig <martin@ximian.com>
973 (MonoGenericParam): Added `bool has_ctor_constraint' field.
974 (MonoGenericParam.SetConstraints): Added `bool
975 has_ctor_constraint' argument.
977 2004-03-29 Martin Baulig <martin@ximian.com>
979 * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
981 (MethodBase.HasGenericParameters): Use the "official" behavior
982 here, ie. return false if we're not a generic method.
984 2004-03-29 Martin Baulig <martin@ximian.com>
986 * MethodBase.cs: Moved the generics stuff here, made it virtual
987 where neccessary and use the correct API.
989 2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
991 * StrongNameKeyPair.cs: Added an internal method to return a
992 StrongName object (for AssemblyBuilder). Simplified implementation
993 using Mono.Security.Cryptography.CryptoConvert class.
995 2004-03-24 Zoltan Varga <vargaz@freemail.hu>
997 * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
999 2004-03-23 Martin Baulig <martin@ximian.com>
1001 * MonoGenericInst.cs: Added support for events.
1003 2004-03-23 Martin Baulig <martin@ximian.com>
1005 * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
1006 if it's the empty string.
1008 2004-03-10 Martin Baulig <martin@ximian.com>
1010 * MethodBase.cs (MethodBase): Implemented
1011 GetGenericMethodDefinition() and HasGenericParameters.
1013 2004-03-09 Martin Baulig <martin@ximian.com>
1015 * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
1016 `declaring_type' and `reflected_type'.
1017 (MonoEvent): Distinguish between declaring and reflected type.
1019 2004-02-25 Martin Baulig <martin@ximian.com>
1021 * MonoGenericInst.cs
1022 (MonoGenericInst.GetNestedTypes): Override this.
1024 2004-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1027 (SelectProperty): check the return Type if provided.
1029 2004-02-17 Martin Baulig <martin@ximian.com>
1031 * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
1032 support for properties.
1034 2004-02-17 Martin Baulig <martin@ximian.com>
1036 * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
1037 class hierarchy and return members from the parent classes.
1038 (GetConstructors, GetFields): Likewise.
1040 2004-02-17 Martin Baulig <martin@ximian.com>
1042 * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
1043 all the members here; we only do this for members of the current
1044 class and only when they're actually queried for.
1046 2004-02-12 Martin Baulig <martin@ximian.com>
1048 * MonoGenericInst.cs (MonoInflatedField): Removed.
1050 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
1052 2004-02-08 Martin Baulig <martin@ximian.com>
1054 * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
1055 invocations the `reflected' type as `reflected', not `this'.
1056 (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
1058 2004-02-08 Martin Baulig <martin@ximian.com>
1060 * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
1061 (MonoGenericInst.GetInterfaces_internal): New interncall.
1062 (MonoGenericInst): Reflect latest API changes; use GetParentType()
1063 and GetInterfaces_internal() instead of the fields.
1065 2004-02-06 Martin Baulig <martin@ximian.com>
1067 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
1069 2004-02-03 Martin Baulig <martin@ximian.com>
1071 * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
1073 2004-01-25 Martin Baulig <martin@ximian.com>
1075 * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
1077 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
1079 * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
1080 a reference on the Module object which contains the resource.
1082 * Module.cs: Decrease the image reference count when the Module is
1085 2004-01-16 Martin Baulig <martin@ximian.com>
1087 * Assembly.cs: Make the `MonoDebugger_' methods static.
1089 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1091 * MonoProperty.cs: changed get_property_info so that it only gets the
1092 values needed. Reduces the allocations needed.
1094 2004-01-15 Martin Baulig <martin@ximian.com>
1096 * Assembly.cs: Make the `MonoDebugger_' methods internal.
1098 2004-01-04 Nick Drochak <ndrochak@gol.com>
1100 * Assembly.cs: Removed unused variable in catch block.Eliminates a build
1103 2003-12-29 Ben Maurer <bmaurer@users.sourceforge.net>
1105 * MethodBase.cs: Internal method to get param count (this
1106 way we can get the info for the ilgen without creating
1107 an array, if we override the method).
1109 2003-12-18 Zoltan Varga <vargaz@freemail.hu>
1111 * Assembly.cs: Implement LoadFrom.
1113 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
1115 * Assembly.cs: Add stubs for LoadFile.
1117 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
1119 * Assembly.cs (GetManifestResourceStream): Only load non-embedded
1120 resources from files.
1122 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
1124 * MonoField.cs (SetValue): Throw an exception if the value cannot be
1125 converted to the field's type. Fixes #52177.
1127 2003-12-11 Lluis Sanchez Gual <lluis@ximian.com>
1129 * AmbiguousMatchException.cs: Added serialization constructor.
1131 2003-12-08 Martin Baulig <martin@ximian.com>
1133 * MonoGenericInst.cs (MonoGenericParam): New internal class;
1134 derives from MonoType.
1136 2003-12-08 Patrik Torstensson <p@rxc.se>
1138 * Binder.cs: Added internal helpers to get derived level and select the
1139 most derived methodbase (used in GetMethodImpl)
1141 2003-11-25 Zoltan Varga <vargaz@freemail.hu>
1143 * Assembly.cs (LoadWithPartialName): Return null instead of throwing
1144 an exception to match MS behavior.
1146 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
1148 * MonoMethod.cs: Add missing constructor.
1150 2003-11-21 Zoltan Varga <vargaz@freemail.hu>
1152 * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
1154 2003-11-16 Martin Baulig <martin@ximian.com>
1156 * MonoGenericInst.cs (MonoGenericInst.inflate): Call
1157 `parent.inflate (parent,...)' instead of
1158 `parent.inflate (reflected,...)'.
1160 2003-11-16 Zoltan Varga <vargaz@freemail.hu>
1162 * Assembly.cs (InternalGetAssemblyName): New icall.
1164 * AssemblyName.cs (GetAssemblyName): Implement this without loading
1165 the assembly in question. Fixes #51035.
1167 2003-11-14 Martin Baulig <martin@ximian.com>
1169 * MonoGenericInst.cs (MonoGenericInst): Added
1170 `MonoGenericInst[] interfaces' field. This is only used for
1172 (MonoGenericInst.inflate): If we're an interface type, add the
1173 methods from all interfaces we inherit.
1175 2003-11-14 Zoltan Varga <vargaz@freemail.hu>
1177 * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values
1180 * *.cs: Add missing attributes.
1182 2003-11-11 Todd Berman <tberman@gentoo.org>
1184 * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
1186 2003-11-11 Zoltan Varga <vargaz@freemail.hu>
1188 * MonoMethod.cs: Implement CallingConvention member.
1190 2003-11-10 Zoltan Varga <vargaz@freemail.hu>
1192 * Assembly.cs (InternalGetType): Add a 'module' argument so this
1193 method can be used from Module as well.
1195 * Module.cs (GetType): Implement.
1197 * Module.cs (GetTypes): Implement.
1199 * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
1200 2003-11-08 Martin Baulig <martin@ximian.com>
1202 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
1203 a private `IntPtr ginst' field.
1204 (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
1206 2003-11-02 Martin Baulig <martin@ximian.com>
1208 * MonoGenericInst.cs (MonoGenericInst.initialize): Include members
1209 from our parent classes in the `methods', `ctors' and `fields'
1210 arrays. When inflating them, reflection now sets their
1211 `declaring_type' and `reflected_type' fields.
1212 (MonoInflatedMethod, MonoInflatedCtor): Added
1213 `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
1214 fields and override the `DeclaringType' and `ReflectedType' properties.
1216 2003-11-02 Martin Baulig <martin@ximian.com>
1218 * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
1220 2003-10-31 Martin Baulig <martin@ximian.com>
1222 * MonoGenericInst.cs (MonoInflatedField): New internal class.
1223 (MonoGenericInst.GetFields): Override this method and inflate
1226 * MonoField.cs: Don't make this class sealed.
1228 2003-10-30 Martin Baulig <martin@ximian.com>
1230 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
1233 2003-10-25 Martin Baulig <martin@ximian.com>
1235 * MonoGenericInst.cs: New internal class.
1237 2003-10-18 Martin Baulig <martin@ximian.com>
1239 * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
1240 abstract; use an interncall in MonoMethod and a custom
1241 implementation in MethodBuilder.
1243 2003-10-17 Pedro Martínez Juliá <yoros@wanadoo.es>
1245 * MonoEvent.cs: implement ToString method as in MS.NET.
1247 * MonoMethod.cs: fix some differences between mono and MS.NET
1248 implementation of ToString.
1250 2003-10-17 Zoltan Varga <vargaz@freemail.hu>
1252 * AssemblyName.cs: Fix Version property when some version fields are
1255 2003-10-17 Martin Baulig <martin@ximian.com>
1257 * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
1258 (MethodInfo.BindGenericParameters): New method.
1260 2003-10-16 Martin Baulig <martin@ximian.com>
1262 * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
1265 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
1267 * ParameterInfo.cs: Modified constructor of ParameterInfo for
1268 the return type of a method. Since parameter positions are
1269 zero-based, the position of the return type must be is -1.
1271 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1273 * TargetInvocationException.cs: Fixed signature
1275 2003-07-24 Miguel de Icaza <miguel@ximian.com>
1277 * TypeDelegator.cs: Added generics stubs.
1279 2003-07-21 Lluis Sanchez Gual <lluis@ximian.com>
1281 * ParameterInfo.cs: Position is zero-based in ParameterInfo.
1282 Set the right position value when getting from ParameterBuilder.
1284 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
1286 * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
1287 finer-grained icalls. Requires a matching runtime.
1289 2003-07-11 Zoltan Varga <vargaz@freemail.hu>
1291 * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
1293 * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
1295 2003-07-10 Zoltan Varga <vargaz@freemail.hu>
1297 * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
1299 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
1301 * Pointer.cs: implemented.
1303 2003-06-15 Zoltan Varga <vargaz@freemail.hu>
1305 * EventInfo.cs: Implement IsSpecialName.
1307 2003-06-10 Zoltan Varga <vargaz@freemail.hu>
1309 * Module.cs (Mono_GetGuid): New method to return the GUID of the
1312 2003-05-21 Zoltan Varga <vargaz@freemail.hu>
1314 * Module.cs: Implement GetField and its friends.
1316 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
1318 * Assembly.cs (GetManifestResourceStream): Moved handling of
1319 linked resources into managed code using the newly implemented
1320 GetManifestResourceInfo () method.
1322 2003-05-19 Zoltan Varga <vargaz@freemail.hu>
1324 * Module.cs: Implemented IsResource.
1326 * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
1327 GetModule, GetLoadedModules methods.
1328 * Assembly.cs (GetManifestResourceStream): Added support for
1329 resources in extern assemblies.
1331 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1333 * Assembly.cs: fixed bug #42833.
1335 2003-05-11 Miguel de Icaza <miguel@ximian.com>
1337 * Binder.cs (ChangeType): Very simplistic change. Am not sure if
1338 it is correct, but it makes RemotingCorba move along a bit more
1339 (Remoting.Corba invokes Binder.ConvertArgs, which calls
1340 Binder.ChangeType with an Attribute [] to Object []).
1342 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1345 (check_type): fixed bug #41655.
1347 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1349 * Assembly.cs: implemented GetSatelliteAssembly.
1351 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
1353 * Assembly.cs: added GetNamespaces() icall.
1355 2003-03-17 Zoltan Varga <vargaz@freemail.hu>
1357 * FieldInfo.cs (GetFieldFromHandle): Implemented.
1359 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1361 * Assembly.cs: added missing stuff. Only ModuleResolve event is left
1362 out to avoid changing MonoReflectionAssembly by now.
1363 * ModuleResolveEventHandler.cs: delegate.
1365 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1367 * TargetInvocationException.cs: added serialization ctor.
1369 2003-02-18 Martin Baulig <martin@ximian.com>
1371 * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
1372 method's metadata token.
1374 2003-02-04 Sebastien Pouliot <spouliot@videotron.ca>
1376 * Module.cs: Corrected indentation for class.
1378 2003-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1381 (check_type): return true when the target type is object and the source
1384 2003-02-03 Patrik Torstensson
1386 * Binder.cs: minimize locking time in DefaultBinder.
1388 2003-02-01 Sebastien Pouliot <spouliot@videotron.ca>
1390 * Module.cs: Oups - not implemented. Added MonoTODO to most methods
1391 so it's real status get reflected correctly on the web site.
1393 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1395 * MonoMethod.cs: implemented GetBaseDefinition ().
1397 2003-01-28 Patrik Torstensson
1398 * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
1399 * ReflectionSerializationHolder.cs: Support class for serialization
1401 2003-01-17 Zoltan Varga <vargaz@freemail.hu>
1403 * ParameterInfo.cs: modified constructor so it allows the
1404 ParameterBuilder to be null and add a 'position' argument which will
1405 be used when pb is null.
1407 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
1409 * Assembly.cs: added serialization support.
1411 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
1413 * MonoMethod.cs: propagate exceptions from the internal invoke
1414 code that need to be propagated.
1416 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
1418 * Binder.cs: throw an exception if the number of arguments
1419 when invoking a method is incorrect.
1421 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
1423 * Binder.cs: In SelectMethod() look for an exact match first.
1425 2003-01-01 Rachel Hestilow <hestilow@ximian.com>
1427 * MonoField.cs (SetValue): Fix logic typo. Check that obj is
1428 non-null only for the non-static case.
1430 2002-12-30 Sebastien Pouliot <spouliot@videotron.ca>
1432 * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by
1435 2002-12-23 Sebastien Pouliot <spouliot@videotron.ca>
1437 * AssemblyName.cs: GetPublicKey now return an empty array (not null)
1438 when an assembly isn't signed with a StrongName (to match MS
1439 implementation) and null when no assembly is referenced. Also removed
1440 commented code (no bug reported so it was probably not used).
1442 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
1444 * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
1445 provider for the return type of a method.
1447 2002-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1449 * AssemblyName.cs: little fix in FullName.
1451 2002-12-07 Sebastien Pouliot <spouliot@videotron.ca>
1453 * AssemblyName.cs: Added missing methods/interfaces. Fixed some
1454 code to match the MS Framework.
1455 * StrongNameKeyPair.cs: Completed the "visible" implementation.
1456 There must be some internal methods to allow signing with the key.
1458 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1460 * EventInfo.cs: implemented (Add|Remove)EventHandler.
1462 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
1464 * Assembly.cs: implemented GetManifestResourceStream (Type type,
1467 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1469 * Assembly.cs: changed name of GetType (string, bool, bool) to
1472 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1474 * TargetInvocationException.cs: modified default message.
1476 2002-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1479 * PropertyInfo.cs: fixed bug #31535.
1481 2002-09-27 Martin Baulig <martin@gnome.org>
1483 * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
1485 2002-09-24 Martin Baulig <martin@gnome.org>
1487 * Assembly.cs (MonoDebugger_GetType): New method to get a Type
1488 from its metadata token. This should only be used by the debugger.
1490 2002-09-21 Martin Baulig <martin@gnome.org>
1492 * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
1493 get the type of a local variable from its signature. This should only
1494 be used by the debugger.
1496 2002-09-20 Martin Baulig <martin@gnome.org>
1498 * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
1499 from its metadata token. This should only be used by the debugger.
1501 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1503 * Binder.cs: more default binder implementation.
1505 * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
1506 * MonoMethod.cs: use the binder in the Invoke () implementation.
1507 Implemented custom attributes methods and ToString for constructors.
1509 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
1511 * Binder.cs: finished the Binder class and implemented the default
1514 2002-09-03 Martin Baulig <martin@gnome.org>
1516 * Assembly.cs (Assembly.Location): Implemented.
1518 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1521 (GetValue): allow obj to be null (used for static fields).
1523 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1525 * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
1528 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
1530 * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen
1531 <tomi.pakarinen@welho.com>.
1533 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1535 * Assembly.cs: FullName now returns a proper string instead of
1536 something like 'file://...'.
1538 * AssemblyName.cs: added missing ToString method.
1540 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1542 * FieldInfo.cs: implemented SetValue.
1544 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1546 * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
1548 2002-08-14 Dick Porter <dick@ximian.com>
1550 * Assembly.cs: Stub out GetSatelliteAssembly
1552 2002-08-12 Tim Coleman <tim@timcoleman.com>
1554 Allow multiple parameters for GetValue ()
1556 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
1558 * Assembly.cs: implemented GetFile() and GetFiles().
1560 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
1562 * Assembly.cs: implemented EntryPoint and a few
1563 resource related methods.
1565 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
1567 * MethodBase.cs: implemented GetCurrentMethod.
1568 * Assembly.cs: implemented GetExecutingAssembly and
1571 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
1573 * MonoProperty.cs: handle properties with only a set method.
1575 2002-05-24 Martin Baulig <martin@gnome.org>
1577 * ParameterInfo.cs: Added internal constructor.
1579 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
1581 * Assembly.cs: implemented CreateInstance ().
1583 2002-05-22 Martin Baulig <martin@gnome.org>
1585 * MethodBase.cs (get_next_table_index): Added `object obj' argument.
1587 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
1589 * EventInfo.cs: more implementation.
1591 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1593 * MonoEvent.cs: fill-in the implementation.
1595 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1597 * Assembly.cs, AssemblyName.cs: updates and fixes.
1599 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
1601 * MonoProperty.cs (GetValue) : basic implementation to support nunit
1602 * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
1604 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1606 * MonoMethod.c: cache the method name.
1608 2002-04-12 Duncan Mak <duncan@ximian.com>
1610 * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
1613 * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
1616 * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
1619 * BindingFlags.cs: Added missing value "PutRefDispProperty".
1621 * FieldAttributes.cs: Removed value "HasSecurity".
1623 * ManifestResourceInfo.cs: Added missing properties FileName,
1624 ReferencedAssembly and ResourceLocation.
1626 * TargetInvocationException.cs: Added the missing constructors.
1628 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1630 * MonoMethod.cs: make Name property an icall.
1632 2002-04-08 Nick Drochak <ndrochak@gol.com>
1634 * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
1635 struct and interface.
1637 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
1639 * MonoEvent.cs: remove unused code.
1640 * MonoProperty: implement ToString().
1642 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
1644 * Assembly.cs: implement GetTypes() and GetExportedTypes().
1646 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
1648 * MonoEvent.cs: added the needed fields.
1650 2002-03-20 Martin Baulig <martin@gnome.org>
1652 * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
1654 * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
1656 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
1658 * MonoMethod.cs (Invoke): call InternalInvoke
1660 * MethodBase.cs (Invoke): call virtual invoke function
1662 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
1664 * EventInfo.cs: add compiler needed methods.
1665 * MonoMethod.cs: make ToString() return the return type name, too.
1667 2002-03-07 Nick Drochak <ndrochak@gol.com>
1669 * BindingFlags.cs: Add missing enum values. Thanks CorCompare.
1671 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1673 * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
1675 2002-02-26 Duncan Mak <duncan@ximian.com>
1677 * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
1679 2002-02-24 Nick Drochak <ndrochak@gol.com>
1681 * AssemblyNameFlags.cs: Use proper member name. Thanks corcompare!
1683 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
1685 * MonoField.cs: implement GetValue as an internalcall.
1686 Implemented ToString().
1688 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
1690 * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
1691 MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
1694 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
1696 * TypeAttributes.cs: update to latest spec.
1698 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
1700 * Assembly.cs: handle throwOnError in GetType() call.
1702 2002-02-07 Duncan Mak <duncan@ximian.com>
1704 * AssemblyName.cs: Implemented ISerializable interface for the
1705 fields that we have.
1707 2002-02-05 Duncan Mak <duncan@ximian.com>
1710 * TargetException.cs: Added in CVS.
1712 2002-01-31 Duncan Mak <duncan@ximian.com>
1714 * ReflectionTypeLoadException.cs: Added missing bits.
1716 2002-01-23 Duncan Mak <duncan@ximian.com>
1718 * AssemblyAlgorithmIdAttribute.cs:
1719 * AssemblyCompanyAttribute.cs:
1720 * AssemblyConfigurationAttribute.cs:
1721 * AssemblyCopyrightAttribute.cs:
1722 * AssemblyCultureAttribute.cs:
1723 * AssemblyDefaultAliasAttribute.cs:
1724 * AssemblyDelaySignAttribute.cs:
1725 * AssemblyDescriptionAttribute.cs:
1726 * AssemblyFileVersionAttribute.cs:
1727 * AssemblyFlagsAttribute.cs:
1728 * AssemblyInformationalVersionAttribute.cs:
1729 * AssemblyKeyFileAttribute.cs:
1730 * AssemblyKeyNameAttribute.cs:
1731 * AssemblyNameProxy.cs:
1732 * AssemblyProductAttribute.cs:
1733 * AssemblyTitleAttribute.cs:
1734 * AssemblyTradeMarkAttribute.cs:
1735 * AssemblyVersionAttribute.cs:
1736 * CustomAttributeFormatException.cs:
1737 * InvalidFilterCriteriaException.cs:
1738 * TargetParameterCountException.cs: Added.
1740 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1742 * Assembly.cs (Assembly.CodeBase): Implement.
1743 (Assembly.FullName): simplistic and broken implementation. Gets
1744 us where we were yesterday.
1748 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
1750 * IReflect.cs: corrected GetMember() return type.
1751 * InterfaceMapping.cs, TypeDelegator.cs: implemented.
1753 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1755 * MonoMethod.cs: ToString () implementation.
1757 2002-01-04 Ravi Pratap <ravi@ximian.com>
1759 * Assembly.cs : Decorate missing bits with the MonoTODO
1762 * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
1763 ReflectionTypeLoadException.cs : Ditto.
1765 * FieldInfo.cs : Ditto.
1767 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
1769 * Assembly.cs: trow unimplemented exceptions.
1771 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
1773 * MonoMethod.cs: implemented GetParameters().
1774 * MonoProperty.cs: PropertyInfo implementation.
1775 * ParameterInfo.cs: implemented.
1776 * PropertyInfo.cs: fixes.
1778 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
1780 * FieldInfo.cs: implemented some Is* propeties.
1781 * MethodBase.cs: fixed attribute accessors.
1782 * MonoField.cs: runtime object to represent a field.
1783 * MonoMethod.cs: runtime object to represent a method.
1784 * AssemblyBuilder.cs: GetToken() methods to get tokens for
1785 strings, fields, methods...
1786 * ILGenerator.cs: handle tokens for methods.
1788 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
1790 * MethodBase.cs: add internal get_next_table_index() for use in
1793 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
1795 * Assembly.cs: implement some of the Load() methods.
1796 * ConstructorInfo.cs: some missing stubs and fields.
1797 * FieldInfo.cs: IsInitOnly property.
1798 * ParameterInfo.cs: stubs for missing properties.
1799 * ParameterModifier.cs: implemented class.
1801 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
1803 * Assembly.cs: Filled in some stub implementations
1805 * ConstructorInfo.cs: Added some stub functions for NUnit
1807 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
1809 * AmbiguousMatchException.cs,
1810 * Assembly.cs, Module.cs: updates.
1811 * FieldInfo.cs: better compliance to the spec.
1812 * MethodBase.cs: move call_conv out of the way.
1813 * AssemblyBuilder.cs: don't use internalcalls, more stuff supported.
1814 * FieldBuilder.cs: implemented.
1815 * ILGenerator.cs: implemented some opcode handling.
1816 * Label.cs: add constructor.
1817 * LocalBuilder.cs: implemented.
1818 * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
1819 * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
1820 * ParameterBuilder.cs: implemented.
1821 * PropertyBuilder.cs: implemented.
1822 * TypeBuilder.cs: don't use internalcalls, more stuff working.
1824 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
1826 * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
1828 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
1830 * MethodBase.cs, MethodInfo.cs: added.
1832 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
1834 * Assembly.cs: added stub code.
1836 2001-07-18 Michael Lambert <michaellambert@email.com>
1838 * BindingFlags.cs: Add.