1 2007-03-05 Peter Dettman <peter.dettman@iinet.net.au>
3 * Binder.cs: The patch changes Binder.Default.GetBetterMethod to
4 prefer methods in subclasses if the arg types can't disambiguate
7 Also fixes a typo in the CallingConventions comparison.
9 2007-03-01 Alp Toker <alp@atoker.com>
12 Add GetFieldFromHandle() 2.0 overload stub (NotImplemented).
14 2007-03-01 Alp Toker <alp@atoker.com>
16 * MethodBase.cs: Add missing ComVisible attr.
17 Add GetMethodFromHandle() 2.0 overload stub (NotImplemented).
19 2006-12-30 Marek Safar <marek.safar@gmail.com>
21 * MonoProperty.cs: Cache frequently used properties.
23 Thu Dec 14 13:50:48 CET 2006 Paolo Molaro <lupus@ximian.com>
25 * *.cs: added missing Serializable attributes.
27 Thu Dec 14 12:52:27 CET 2006 Paolo Molaro <lupus@ximian.com>
29 * MonoProperty.cs, ParameterInfo.cs, PropertyInfo.cs:
30 GetRequiredCustomModifiers()/GetOptionalCustomModifiers()
33 Tue Dec 12 20:35:10 CET 2006 Paolo Molaro <lupus@ximian.com>
35 * MethodBase.cs: added missing ComVisible attr.
36 * MethodInfo.cs: added a few missing methods that we implement
39 Tue Dec 12 19:45:26 CET 2006 Paolo Molaro <lupus@ximian.com>
41 * MonoEvent.cs: correctly obey the nonPublic flag in GetOtherMethods ().
42 * EventInfo.cs: remove NotImpl exception from GetOtherMethods ().
44 2006-10-19 Gert Driesen <drieseng@users.sourceforge.net>
46 * AssemblyName.cs: Revert change where filename was not converted to
47 absolute path before passing it to Assembly.InternalGetAssemblyName
48 as the CodeBase is not set in that case.
50 2006-10-17 Kornél Pál <kornelpal@gmail.com>
52 * FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a
53 NotSupportedException is the proper implementation.
54 * ParameterInfo.cs: Use Attributes in Is... properties on profile 2.0
55 that is expected by subclasses.
57 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
59 * AssemblyName.cs: No need to convert filename to absolute path before
60 passing it to Assembly.InternalGetAssemblyName. This allows our
61 exception messages to be better match those of MS.
63 2006-09-29 Jb Evain <jbevain@gmail.com>
65 * MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.
67 2006-09-02 Zoltan Varga <vargaz@gmail.com>
69 * ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from
70 Peter Dettman (peter.dettman@iinet.net.au). Implement ReturnParameter
73 * Binder.cs (ReorderParameters): Really fix this.
75 * Binder.cs (ReorderParameters): Fix this method. Fixes #79120.
77 2006-09-01 Raja R Harinath <rharinath@novell.com>
79 * MonoMethod.cs (ToString): Update to handle change in byref type names.
81 2006-08-08 Gert Driesen <drieseng@users.sourceforge.net>
83 * Assembly.cs: On 2.0 profile, throw FileNotFoundException for
84 linked resources in GetManifestResourceStream when assembly is
85 loaded from byte array.
87 2006-07-12 Zoltan Varga <vargaz@gmail.com>
89 * MonoMethod.cs (ContainsGenericParameters): Implement.
91 * MonoMethod.cs (Invoke): Prevent invoking of open generic methods.
93 2006-07-09 Gert Driesen <drieseng@users.sourceforge.net>
95 * Assembly.cs: When assembly is loaded from byte array, return null
96 for linked resources in GetManifestResourceStream. Fixes bug #78468.
98 2006-07-09 Zoltan Varga <vargaz@gmail.com>
100 * Binder.cs: Add back the support for BindingFlags.ExactBinding. Fixes #78592.
102 2006-06-30 Zoltan Varga <vargaz@gmail.com>
104 * Binder.cs: Comment out the ExactBinding stuff for the release as it breaks some
107 2006-06-07 Zoltan Varga <vargaz@gmail.com>
109 * Binder.cs: Add support for BindingFlags.ExactBinding. Fixes #78592.
111 2006-05-28 Gert Driesen <drieseng@users.sourceforge.net>
113 * MethodBase.cs: GetMethodBody should not throw ArgumentException for
114 a method with no IL body. Fixes bug #78522.
116 2006-05-10 Zoltan Varga <vargaz@gmail.com>
118 * Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
120 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
122 * Binder.cs : (Default.SelectMethod)
123 don't throw AmbiguousMatchException when one of conflicting method
124 matches weakly. Fixed bug #42547.
126 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
128 * Binder.cs : (Default.BindToMethod) reorder parameters based
129 on namedParameters. Fixed bug #41691.
131 2006-05-03 Jb Evain <jbevain@gmail.com>
133 * MonoField.cs (GetValue,SetValue): throw a TargetException
134 when the field is non static and the target is null.
136 2006-03-12 Zoltan Varga <vargaz@gmail.com>
138 * Binder.cs: Applied patch from Ben to fix #74947.
140 2006-03-01 Miguel de Icaza <miguel@novell.com>
142 * Assembly.cs: Cache the AssemblyName, patch from Tambet. This
143 reduces the memory usage during remoting.
145 2006-02-16 Martin Baulig <martin@ximian.com>
147 * FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.
149 2006-02-15 Martin Baulig <martin@ximian.com>
151 * MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
152 (MethodBase.Mono_IsInflatedMethod): Removed.
153 (MethodBase.HasGenericParameters): Removed.
155 * MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
156 here from MethodBase.
159 (MonoMethod.IsGenericMethodDefinition): This is now an icall.
160 (MonoMethod.IsGenericMethod): Likewise.
162 2006-02-14 Martin Baulig <martin@ximian.com>
165 (MonoCMethod.IsGenericMethod): Override this and return false; the
166 MS runtime doesn't throw an exception here.
168 2006-02-08 Martin Baulig <martin@ximian.com>
170 * MonoGenericClass.cs (MonoGenericClass.IsAssignableFrom):
171 Override and implement this; fixes #77395.
173 2006-02-07 Martin Baulig <martin@ximian.com>
176 (MonoMethod.IsGenericMethod): Only return true for "real" generic
177 methods and not for arbitrary instantiated methods.
178 (MonoMethod.IsGenericMethodDefinition): Only return true for
179 generic method definitions, but not for instantiated generic
180 methods. This is no longer an interncall. Fixes #77466.
182 2006-02-03 Zoltan Varga <vargaz@gmail.com>
184 * MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
187 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
189 * Assembly.cs: Fixed #75950. The icall has been changed to accept a
190 boolean so it can return a non-escaped code base.
192 2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
194 * MonoMethod.cs : made MakeGenericMethod() indirect icall to
195 MakeGenericMethod_impl() and raise an error when it returns null.
197 2005-11-15 Zoltan Varga <vargaz@gmail.com>
199 * Module.cs: Add MDStreamVersion property.
201 * Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs
202 CustomAttributeData.cs PortableExecutableKinds.cs
203 ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
206 2005-11-11 Marek Safar <marek.safar@seznam.cz>
208 * MethodBase.cs, TypeDelegator.cs: Reflect Type changes.
210 2005-10-30 Zoltan Varga <vargaz@freemail.hu>
212 * FieldInfo.cs: Add an internal UMarshal property which can by
213 overriden in FieldBuilder.
215 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
217 * MonoMethod.cs : (ToString) add suffix " ByRef" for byref parameters.
220 2005-10-04 Martin Baulig <martin@ximian.com>
222 * MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
223 return type from `MonoGenericClass to `Type'.
225 2005-09-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
227 * AssemblyName.cs: Add ParseName internal call, to parse
228 long format assembly names.
230 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
232 * MonoProperty.cs: Invoke throws a SecurityException but GetValue must
233 throw TargetInvocationException with the SecurityException as an inner
234 exception. See CAS unit tests for System.Web.dll.
236 2005-09-20 Martin Baulig <martin@ximian.com>
238 * Assembly.cs: Removed some unused debugger icalls.
240 2005-09-17 Zoltan Varga <vargaz@freemail.hu>
242 * Module.cs: Remove obsolete Mvid property.
244 2005-09-09 Martin Baulig <martin@ximian.com>
246 Reflect latest API changes in the August CTP.
248 * MethodBase.cs (MethodBase.MakeGenericMethod): Removed.
250 * MethodInfo.cs (MethodInfo.MakeGenericMethod): Added here.
252 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
254 * AssemblyName.cs: Apply second half of Chris Micacchi's patch
256 2005-09-07 Miguel de Icaza <miguel@novell.com>
258 * AssemblyName.cs: Apply patch from Chris Micacchi to serialize
259 the keyToken as "_PublicKeyToken".
261 2005-09-05 Martin Baulig <martin@ximian.com>
263 Reflect latest API changes in the August CTP.
265 * GenericParameterAttributes.cs: Here.
267 * MethodBase.cs (MethodBase.BindGenericParameters): Renamed to
270 2005-09-05 Martin Baulig <martin@ximian.com>
272 * Assembly.cs (MonoDebugger_GetMethodToken): Don't take an
275 2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
277 * Assembly.cs: made GetManifestResourceInternal internal. Fixes the
280 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
282 * Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
283 * ConstructorInfo.cs: Added GetType() method in 1.1 to match
284 MS.NET, implemented _ConstructorInfo.
285 * EventInfo.cs: Added GetType() method in 1.1 to match MS.NET,
286 implemented _EventInfo.
287 * FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET,
288 implemented _FieldInfo.
289 * MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET,
290 implemented _MemberInfo.
291 * MethodBase.cs: Added GetType() method in 1.1 to match MS.NET,
292 implemented _MethodBase.
293 * MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET,
294 implemented _MethodInfo.
295 * PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET,
296 implemented _PropertyInfo.
297 * TypeAttributes.cs: CustomFormatMask and CustomFormatClass should
298 only be exposed in 2.0 profile.
300 2005-07-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
302 * CustomAttributeTypedArgument: Return the name of the
303 enum if the type is an enum in ToString ().
305 2005-06-21 Sebastien Pouliot <sebastien@ximian.com>
307 * Assembly.cs: Create a copy of the evidences and add an instance of
308 PermissionRequestEvidence to it before resolution. This way the PRE
309 won't be present when asking for evidences later. Removed debugging
312 2005-06-13 Michal Moskal <malekith@nemerle.org>
314 * MonoGenericClass.cs: Don't use MethodHandle in GetMethod/GetConstructor,
315 since it now throws on MethodBuilders. Don't use FieldHandle in
316 GetField (throws on FieldBuilder) - just use the name.
318 2005-06-15 Sebastien Pouliot <sebastien@ximian.com>
320 * Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
321 FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
322 ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
323 attributes that were added in 1.1 SP1 or 2.0 beta2.
325 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
327 * Binder.cs: null is ok for a value type. Fixes bug #75241.
329 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
331 * Assembly.cs: UnprotectedGetName is now virtual to allow for more
332 initialization in AssemblyBuilder. The [Granted|Refused]PermissionSet
333 now use the ResolvingPolicyLevel to support the policy
334 FullTrustAssemblies during resolution.
335 * AssemblyName.cs: Return null instead of "new byte [0]" if no public
338 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
339 * MonoGenericClass.cs: Add overrides of Get{Method,Constructor,Field}
340 for obtaining instanciated *Info objects from non-instanciated counterparts
343 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
345 * CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.
347 * *.cs: Updates for net 2.0 beta 2.
349 2005-06-07 Zoltan Varga <vargaz@freemail.hu>
351 * *.cs: Updates for net 2.0 beta 2.
353 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
355 * CustomAttributeData.cs: Implemented.
357 * CustomAttributeDataNamedArgument.cs: Implemented.
359 * CustomAttrbuteDataTypedArgument.cs: Implemented.
361 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
363 * Assembly.cs ExceptionHandlingClause.cs: Fix build.
365 * ProcessorArchitecture.cs: New file.
367 * ExceptionHandlingClause.cs: Update after ExceptionHandlingClauseFlags name change.
369 * *.cs: Updates for net 2.0 beta 2.
371 * *.cs: Add net 2.0 ComVisibleAttribute.
373 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
375 * Assembly.cs: if the assembly is loaded from a byte array, Location
376 returns "". Fixes bug #74958.
378 2005-06-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
380 * AssemblyName.cs: Changes to support the creation of version
381 instance from icalls. This change also helps to keep the
382 AssemblyName tests running fine.
384 2005-05-26 Ben Maurer <bmaurer@ximian.com>
386 * Binder.cs: Avoid double checked locking and lock on typeof by
387 doing init of the default binder in the cctor.
389 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
391 * Assembly.cs: Avoid security checks if Assembly.Location is "".
393 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
395 * TypeDelegator.cs: Implement some methods.
397 * TypeDelegator.cs: Revert this as it breaks the build.
399 * TypeDelegator.cs: Implement some methods.
401 2005-05-19 Satya Sudha K <ksathyasudha@novell.com>
402 Raja R Harinath <rharinath@novell.com>
404 * Missing.cs (Missing.Value): Initialize.
406 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
408 * Binder.cs: Use IsInstanceOfType instead of IsAssignableFrom
409 since GetType() may not return the correct type if the object is
410 a remoting proxy. This fixes bug #74933.
412 2005-05-13 Zoltan Varga <vargaz@freemail.hu>
414 * MonoField.cs: Applied patch from Opened by Michael Meeks (michael@ximian.com). Improve exception message on binding failures.
416 2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
418 * MonoField.cs: Added a Clone method. This is needed for serialization.
420 2005-05-07 Ben Maurer <bmaurer@ximian.com>
422 * MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.
424 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
426 * Module.cs: Update for beta 2.
428 * CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.
430 2004-05-03 Lluis Sanchez <lluis@ximian.com>
432 * Assembly.cs: Don't remove version and culture information from
433 the name, since it will be used by load_with_partial_name.
435 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
437 * Assembly.cs: Added some CAS security to avoid returning restricted
438 information to partially truster callers (e.g. code base). Added new
439 methods to get the Evidence and AssemblyName so that the security
440 runtime can bootstrap itself (without calling itself).
442 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
444 * Assembly.cs: Added missing null check in GetObjectData.
446 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
448 * AssemblyName.cs: Added a demand for SerializationFormatter on
449 GetObjectData method.
451 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
453 * AssemblyName.cs: Implemented EscapedCodeBase using the copy of
454 System.Uri (System.dll) located in Mono.Security.Uri. Added missing
455 null check in GetObjectData.
456 * Module.cs: Added a FileIOPermission for PathDiscovery on
457 FullyQualifiedName property (but not on Name property like MS).
458 Added missing null check in GetObjectData.
459 * StrongNameKeyPair.cs: Added demands for unmanaged code to all
460 constructors (as we do not want partially trusted code to create
461 strongnamed assemblies).
463 2005-03-30 Zoltan Varga <vargaz@freemail.hu>
465 * Binder.cs (check_type): Fix byref support. Fixes #73972.
467 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
469 * MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class.
470 * Module.cs: Add a LinkDemand for SerializationFormatter on
471 GetObjectData method.
473 2005-03-16 Sebastien Pouliot <sebastien@ximian.com>
475 * Assembly.cs: Implemented EscapedCodeBase using the copy of
476 System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.
478 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
480 * MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand
481 (i.e. stack walk) when reflection is being used to invoke a method.
483 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
485 * Assembly.cs: LoadFrom: Change signature to support reflection only
486 methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
487 implemented; InvalidOperationException's re-thrown by CreateInstance.
488 Also ReflectionOnly 2.0 property added.
490 * MonoMethod.cs: InvalidOperationException's are re-thrown when calling
491 Invoke method on reflection only assemblies.
493 2005-02-22 Raja R Harinath <rharinath@novell.com>
495 * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
496 'abstract' so that this class can be derived outside of corlib.
498 2005-02-16 Miguel de Icaza <miguel@novell.com>
500 * MonoEvent.cs: Put new methods here.
502 * EventInfo.cs: Move the methods GetCustomAttributes, and
503 IsDefined from EventInfo to MonoEvent.
505 Remove the methods that were not supposed to be exposed: Name,
506 ReflectedType, DeclaringType.
508 2005-02-12 Chris Toshok <toshok@ximian.com>
510 * Assembly.cs: Correct the type of MonoDebugger_MakeArrayType.
512 2005-02-12 Ben Maurer <bmaurer@ximian.com>
514 * Binder.cs (SelectProperty): Use -1 as the dummy `I don't know
515 how many types' value.
517 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
519 * Assembly.cs: Fix warning.
521 2005-02-10 Martin Baulig <martin@ximian.com>
523 * Module.cs (MonoDebugger_ResolveType): New internal method.
525 * Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
526 (MonoDebugger_GetTypeToken): New internal method.
528 2005-02-10 Martin Baulig <martin@ximian.com>
530 * Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.
532 2005-02-10 Marek Safar <marek.safar@seznam.cz>
535 * ConstructorInfo.cs,
541 * PropertyInfo.cs: ClassInterfaceType is None.
543 Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>
545 * Module.cs: removed the finalizer and the now unused Close() icall.
547 2005-01-21 Sebastien Pouliot <sebastien@ximian.com>
549 * Assembly.cs: Fixed add for ModuleResolve.
551 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
553 * LocalVariableInfo.cs: Add ToString method.
555 * ExceptionHandlingClause.cs: Implement this.
557 2005-01-18 Zoltan Varga <vargaz@freemail.hu>
559 * MethodBase.cs MonoMethod.cs: Hopefully fix the build.
561 * MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().
563 2005-01-03 Martin Baulig <martin@ximian.com>
565 * MonoGenericMethod.cs
566 (MonoGenericMethod.get_reflected_type): Removed.
567 (MonoGenericMethod.ReflectedType): Make this an icall.
568 (MonoGenericCMethod.ReflectedType): Likewise.
570 2004-12-29 Martin Baulig <martin@ximian.com>
572 * MonoGenericMethod.cs: New file.
574 2004-12-21 Sebastien Pouliot <sebastien@ximian.com>
576 * Assembly.cs: Added private LoadAssemblyPermissions to get the
577 declarative security permission sets (minimum, optional and refused)
580 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
582 * Assembly.cs: Removed old Demand support (moved in System.Security).
584 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
586 * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
587 the gmcs bugs blocking them are fixed.
589 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
591 * Assembly.cs: Move corlib_internal field to AssemblyBuilder.
593 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
595 * Assembly.cs: Add corlib_internal field.
597 2004-11-30 Martin Baulig <martin@ximian.com>
599 * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
600 renamed the class from `MonoGenericInst' to `MonoGenericClass'.
602 2004-11-05 Zoltan Varga <vargaz@freemail.hu>
604 * AssemblyName.cs (FullName): Omit default values from full name.
606 * Assembly.cs: Implement GetFiles (bool).
608 * Binder.cs: Add support for byref types. Fixes #69140.
610 2004-10-12 Martin Baulig <martin@ximian.com>
612 * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
613 before calling the *_internal() methods.
615 2004-10-12 Zoltan Varga <vargaz@freemail.hu>
617 * MethodBody.cs: Implement this.
619 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
621 * Module.cs: Handle the case when the global type does not exists.
623 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
625 * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
628 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
630 * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].
632 * PropertyInfo.cs: Add stub for GetConstantValue ().
634 * ParameterInfo.cs (marshalAs): Make this private.
636 * Module.cs (ModuleHandle): Add [CLSCompliant(false)].
638 * LocalVariableInfo.cs MethodBody.cs: Disable default constructor.
640 * ExceptionHandlingClause.cs: Disable default constructor.
642 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
644 * CustomAttributeData.cs CustomAttributeTypedArgument.cs
645 CustomAttributeNamedArgument.cs: New files.
647 * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
648 ExceptionHandlingClauseFlags.cs: New files.
650 2004-09-26 Zoltan Varga <vargaz@freemail.hu>
652 * FieldInfo.cs: Add support for returning MarshalAsAttribute.
654 * ParameterInfo.cs: Add marshalAs field, add support for returning
657 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
659 * Module.cs: Add new 2.0 GetMethods and GetFields methods.
661 * ParameterInfo.cs: Add GetPseudoCustomAttributes () method.
663 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
665 * MonoField.cs: Add GetFieldOffset.
667 * ObfuscationAttribute.cs: Add ApplyToMembers.
669 * Assembly.cs: Add stub for ReflectionOnlyLoadFrom.
671 * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.
673 * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method.
675 * AssemblyNameFlags.cs: Add LongevityUnspecified.
677 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
679 * Module.cs: Remove [MonoTODO] from ResolveMember.
681 * MemberInfo.cs: Add 'Module' property.
683 * AssemblyFlagsAttribute.cs: Add 2.0 stuff.
685 * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
686 to LoadWithPartialName on 2.0.
688 * AssemblyNameFlags.cs: Add new 2.0 members.
690 * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.
692 * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.
694 * EventInfo.cs: Fix 2.0 build.
696 * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.
698 * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.
700 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
702 * Module.cs: Implement net 2.0 ResolveXXX methods.
704 * Module.cs (resolve_token_exception): Fix type of exception thrown.
706 2004-09-21 Martin Baulig <martin@ximian.com>
708 * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.
710 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
712 * Assembly.cs: Implement 2.0 reflection properties.
714 * Module.cs: Implement 2.0 reflection properties. Add 'token' field.
716 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
718 * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
721 * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.
723 * Module.cs: Add ModuleHandle property and new icalls.
725 2004-09-18 Zoltan Varga <vargaz@freemail.hu>
727 * Module.cs: Add net 2.0 Mvid property.
729 2004-08-30 Sebastien Pouliot <sebastien@ximian.com>
731 * Assembly.cs: Added internal Demand(PermissionSet) for CAS.
733 2004-08-30 Zoltan Varga <vargaz@freemail.hu>
735 * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to
738 2004-08-29 Zoltan Varga <vargaz@freemail.hu>
740 * MethodBase.cs (GetMethodFromHandle): Implement.
742 2004-08-13 Marek Safar <marek.safar@seznam.cz>
744 * Assembly.cs: Made _minimum, _optional, _refuse fields internal.
745 To be reusable by AssemblyBuilder.
747 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
749 * Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0
750 properties (required for compiling the new unit tests).
751 * PortableExecutableKind.cs: New. Flags for NET_2_0.
752 * ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0.
754 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
756 * Assembly.cs: Get default evidences when no evidences have been
757 supplied. Added internal methods for CAS.
758 * AssemblyName.cs: New constructor for NET_2_0.
760 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
762 * Assembly.cs: Added new fields for CAS to match the runtime (v23).
764 2004-07-29 Martin Baulig <martin@ximian.com>
766 * Module.cs (Mono_GetGuid): Make this static.
768 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
770 * Module.cs: return just name in ToString (bug #61287).
772 2004-07-03 Zoltan Varga <vargaz@freemail.hu>
774 * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
776 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
778 * Pointer.cs: remove serializable attribute to match MS.NET
780 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
782 * ParameterModifier.cs: marked serializable, renamed field to match
783 MS.NET, throw ArgumentException when parameter count is less than or
786 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
788 * AssemblyName.cs: added TODO for serialization
789 * Pointer.cs: fixed Box method to return object instead of
792 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
794 * MemberInfo.cs: Changed constructor from internal to protected.
796 2004-06-11 Martin Baulig <martin@ximian.com>
798 * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
800 2004-06-11 Lluis Sanchez <lluis@ximian.com>
802 * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match
803 MS implementation. Generate the RSA in the constructors.
805 2004-06-10 Lluis Sanchez <lluis@ximian.com>
807 * AssemblyName.cs: Added missing fields to serialization methods.
808 * StrongNameKeyPair.cs: Made it compatible with MS serialization.
810 2004-06-08 Jacson Harper <jackson@ximian.com>
812 * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
813 runtime. This way the codebase is set properly. The codebase is
814 using g_filename_to_uri which expects a full path.
816 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
818 * Binder.cs: don't crash when we have a 'null' argument Type array.
819 Allow it for non-value types. Fixed for both, methods and properties.
822 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
824 * Binder.cs: default score must be lower than fail_score or we'll get
825 an ambiguous match when no indexers given and one single match is found.
827 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
829 * Binder.cs: removed ^Ms. In case of several properties matching, try
830 to disambiguate based on the indexer types provider and the conversions
831 from those into the ones of the property.
833 2004-05-31 Gert Driesen <drieseng@users.sourceforge.net>
835 * Assembly.cs: added missing ComVisible attribute on
836 ImageRuntimeVersion property
837 * ConstructorInfo.cs: added missing attributes on Invoke
838 * EventInfo.cs: added missing attributes
839 * FieldInfo.cs: added missing attributes
840 * MethodBase.cs: added missing attributes
841 * PropertyInfo.cs: added missing attributes
843 2004-05-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
845 * FieldInfo.cs: changed default constructor from internal to protected, so classes
846 that inherit from it can get build.
848 2004-05-18 Gert Driesen (drieseng@users.sourceforge.net)
850 * MonoProperty.cs: return correct MethodInfo for
851 property with only a get or set method. Fixes
854 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
856 * Assembly.cs: Return an empty Evidence collection to avoid
857 NullReferenceException from calling code (as this is never
858 null with MS implementation). See bugzilla #53548.
860 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
862 * Assembly.cs: Add stub for LoadFrom.
864 * Assembly.cs: Fix build.
866 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
868 * Assembly.cs: Add ModuleResolve event.
870 * Module.cs (Mono_GetGuid): Make this internal.
872 * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
874 2004-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
876 * Binder.cs: check for ambiguous matches in SelectMethod and
877 SelectProperty. Fixes bug #58381.
879 2004-05-06 Jackson Harper <jackson@ximian.com>
881 * Assembly.cs: remove TODO, this is done.
883 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
885 * Assembly.cs: ToString () returns the same as GetName ().ToString ().
888 2004-05-03 Jackson Harper <jackson@ximian.com>
890 * Assembly.cs: Implement LoadWithPartialName. The bulk of this
891 method is done in the runtime.
893 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
895 * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
896 is private (it did until now because of a bug). Make sure it works as it
897 worked before the fix.
899 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
901 * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs:
902 Removed completed TODOs.
903 * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
904 do not return private methods if nonPublic == false.
905 * ReflectionTypeLoadException.cs: Implemented serialization support.
907 2004-04-26 Jackson Harper <jackson@ximian.com>
909 * Assembly.cs: Add icall to determine if an assembly has been
912 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
914 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
915 The fix should be easier ;)
917 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
919 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
920 NET_2_0 related build fix.
922 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
924 * Assembly.cs: Removed TODO for CreateQualifiedName.
925 * AssemblyName.cs: Fixed serialization code.
926 * AssemblyNameProxy.cs: Implemented.
927 * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
929 2004-04-07 Martin Baulig <martin@ximian.com>
931 * MonoGenericInst.cs (MonoGenericParam): Removed.
933 2004-04-07 Martin Baulig <martin@ximian.com>
936 (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
938 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
939 (MonoGenericInst.GetNestedTypes): Just call
940 `generic_type.GetNestedTypes (bf)' here.
942 * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
943 include the type arguments.
945 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
947 * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
948 correct StrongName instance when the ECMA "key" is used.
950 2004-04-02 Martin Baulig <martin@ximian.com>
952 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
954 2004-04-01 Martin Baulig <martin@ximian.com>
956 * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
957 this and always return false.
959 2004-04-01 Martin Baulig <martin@ximian.com>
961 * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.
963 2004-03-30 Martin Baulig <martin@ximian.com>
966 (MonoGenericParam): Added `bool has_ctor_constraint' field.
967 (MonoGenericParam.SetConstraints): Added `bool
968 has_ctor_constraint' argument.
970 2004-03-29 Martin Baulig <martin@ximian.com>
972 * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
974 (MethodBase.HasGenericParameters): Use the "official" behavior
975 here, ie. return false if we're not a generic method.
977 2004-03-29 Martin Baulig <martin@ximian.com>
979 * MethodBase.cs: Moved the generics stuff here, made it virtual
980 where neccessary and use the correct API.
982 2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
984 * StrongNameKeyPair.cs: Added an internal method to return a
985 StrongName object (for AssemblyBuilder). Simplified implementation
986 using Mono.Security.Cryptography.CryptoConvert class.
988 2004-03-24 Zoltan Varga <vargaz@freemail.hu>
990 * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
992 2004-03-23 Martin Baulig <martin@ximian.com>
994 * MonoGenericInst.cs: Added support for events.
996 2004-03-23 Martin Baulig <martin@ximian.com>
998 * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
999 if it's the empty string.
1001 2004-03-10 Martin Baulig <martin@ximian.com>
1003 * MethodBase.cs (MethodBase): Implemented
1004 GetGenericMethodDefinition() and HasGenericParameters.
1006 2004-03-09 Martin Baulig <martin@ximian.com>
1008 * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
1009 `declaring_type' and `reflected_type'.
1010 (MonoEvent): Distinguish between declaring and reflected type.
1012 2004-02-25 Martin Baulig <martin@ximian.com>
1014 * MonoGenericInst.cs
1015 (MonoGenericInst.GetNestedTypes): Override this.
1017 2004-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1020 (SelectProperty): check the return Type if provided.
1022 2004-02-17 Martin Baulig <martin@ximian.com>
1024 * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
1025 support for properties.
1027 2004-02-17 Martin Baulig <martin@ximian.com>
1029 * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
1030 class hierarchy and return members from the parent classes.
1031 (GetConstructors, GetFields): Likewise.
1033 2004-02-17 Martin Baulig <martin@ximian.com>
1035 * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
1036 all the members here; we only do this for members of the current
1037 class and only when they're actually queried for.
1039 2004-02-12 Martin Baulig <martin@ximian.com>
1041 * MonoGenericInst.cs (MonoInflatedField): Removed.
1043 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
1045 2004-02-08 Martin Baulig <martin@ximian.com>
1047 * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
1048 invocations the `reflected' type as `reflected', not `this'.
1049 (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
1051 2004-02-08 Martin Baulig <martin@ximian.com>
1053 * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
1054 (MonoGenericInst.GetInterfaces_internal): New interncall.
1055 (MonoGenericInst): Reflect latest API changes; use GetParentType()
1056 and GetInterfaces_internal() instead of the fields.
1058 2004-02-06 Martin Baulig <martin@ximian.com>
1060 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
1062 2004-02-03 Martin Baulig <martin@ximian.com>
1064 * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
1066 2004-01-25 Martin Baulig <martin@ximian.com>
1068 * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
1070 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
1072 * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
1073 a reference on the Module object which contains the resource.
1075 * Module.cs: Decrease the image reference count when the Module is
1078 2004-01-16 Martin Baulig <martin@ximian.com>
1080 * Assembly.cs: Make the `MonoDebugger_' methods static.
1082 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1084 * MonoProperty.cs: changed get_property_info so that it only gets the
1085 values needed. Reduces the allocations needed.
1087 2004-01-15 Martin Baulig <martin@ximian.com>
1089 * Assembly.cs: Make the `MonoDebugger_' methods internal.
1091 2004-01-04 Nick Drochak <ndrochak@gol.com>
1093 * Assembly.cs: Removed unused variable in catch block.Eliminates a build
1096 2003-12-29 Ben Maurer <bmaurer@users.sourceforge.net>
1098 * MethodBase.cs: Internal method to get param count (this
1099 way we can get the info for the ilgen without creating
1100 an array, if we override the method).
1102 2003-12-18 Zoltan Varga <vargaz@freemail.hu>
1104 * Assembly.cs: Implement LoadFrom.
1106 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
1108 * Assembly.cs: Add stubs for LoadFile.
1110 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
1112 * Assembly.cs (GetManifestResourceStream): Only load non-embedded
1113 resources from files.
1115 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
1117 * MonoField.cs (SetValue): Throw an exception if the value cannot be
1118 converted to the field's type. Fixes #52177.
1120 2003-12-11 Lluis Sanchez Gual <lluis@ximian.com>
1122 * AmbiguousMatchException.cs: Added serialization constructor.
1124 2003-12-08 Martin Baulig <martin@ximian.com>
1126 * MonoGenericInst.cs (MonoGenericParam): New internal class;
1127 derives from MonoType.
1129 2003-12-08 Patrik Torstensson <p@rxc.se>
1131 * Binder.cs: Added internal helpers to get derived level and select the
1132 most derived methodbase (used in GetMethodImpl)
1134 2003-11-25 Zoltan Varga <vargaz@freemail.hu>
1136 * Assembly.cs (LoadWithPartialName): Return null instead of throwing
1137 an exception to match MS behavior.
1139 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
1141 * MonoMethod.cs: Add missing constructor.
1143 2003-11-21 Zoltan Varga <vargaz@freemail.hu>
1145 * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
1147 2003-11-16 Martin Baulig <martin@ximian.com>
1149 * MonoGenericInst.cs (MonoGenericInst.inflate): Call
1150 `parent.inflate (parent,...)' instead of
1151 `parent.inflate (reflected,...)'.
1153 2003-11-16 Zoltan Varga <vargaz@freemail.hu>
1155 * Assembly.cs (InternalGetAssemblyName): New icall.
1157 * AssemblyName.cs (GetAssemblyName): Implement this without loading
1158 the assembly in question. Fixes #51035.
1160 2003-11-14 Martin Baulig <martin@ximian.com>
1162 * MonoGenericInst.cs (MonoGenericInst): Added
1163 `MonoGenericInst[] interfaces' field. This is only used for
1165 (MonoGenericInst.inflate): If we're an interface type, add the
1166 methods from all interfaces we inherit.
1168 2003-11-14 Zoltan Varga <vargaz@freemail.hu>
1170 * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values
1173 * *.cs: Add missing attributes.
1175 2003-11-11 Todd Berman <tberman@gentoo.org>
1177 * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
1179 2003-11-11 Zoltan Varga <vargaz@freemail.hu>
1181 * MonoMethod.cs: Implement CallingConvention member.
1183 2003-11-10 Zoltan Varga <vargaz@freemail.hu>
1185 * Assembly.cs (InternalGetType): Add a 'module' argument so this
1186 method can be used from Module as well.
1188 * Module.cs (GetType): Implement.
1190 * Module.cs (GetTypes): Implement.
1192 * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
1193 2003-11-08 Martin Baulig <martin@ximian.com>
1195 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
1196 a private `IntPtr ginst' field.
1197 (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
1199 2003-11-02 Martin Baulig <martin@ximian.com>
1201 * MonoGenericInst.cs (MonoGenericInst.initialize): Include members
1202 from our parent classes in the `methods', `ctors' and `fields'
1203 arrays. When inflating them, reflection now sets their
1204 `declaring_type' and `reflected_type' fields.
1205 (MonoInflatedMethod, MonoInflatedCtor): Added
1206 `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
1207 fields and override the `DeclaringType' and `ReflectedType' properties.
1209 2003-11-02 Martin Baulig <martin@ximian.com>
1211 * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
1213 2003-10-31 Martin Baulig <martin@ximian.com>
1215 * MonoGenericInst.cs (MonoInflatedField): New internal class.
1216 (MonoGenericInst.GetFields): Override this method and inflate
1219 * MonoField.cs: Don't make this class sealed.
1221 2003-10-30 Martin Baulig <martin@ximian.com>
1223 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
1226 2003-10-25 Martin Baulig <martin@ximian.com>
1228 * MonoGenericInst.cs: New internal class.
1230 2003-10-18 Martin Baulig <martin@ximian.com>
1232 * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
1233 abstract; use an interncall in MonoMethod and a custom
1234 implementation in MethodBuilder.
1236 2003-10-17 Pedro Martínez Juliá <yoros@wanadoo.es>
1238 * MonoEvent.cs: implement ToString method as in MS.NET.
1240 * MonoMethod.cs: fix some differences between mono and MS.NET
1241 implementation of ToString.
1243 2003-10-17 Zoltan Varga <vargaz@freemail.hu>
1245 * AssemblyName.cs: Fix Version property when some version fields are
1248 2003-10-17 Martin Baulig <martin@ximian.com>
1250 * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
1251 (MethodInfo.BindGenericParameters): New method.
1253 2003-10-16 Martin Baulig <martin@ximian.com>
1255 * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
1258 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
1260 * ParameterInfo.cs: Modified constructor of ParameterInfo for
1261 the return type of a method. Since parameter positions are
1262 zero-based, the position of the return type must be is -1.
1264 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1266 * TargetInvocationException.cs: Fixed signature
1268 2003-07-24 Miguel de Icaza <miguel@ximian.com>
1270 * TypeDelegator.cs: Added generics stubs.
1272 2003-07-21 Lluis Sanchez Gual <lluis@ximian.com>
1274 * ParameterInfo.cs: Position is zero-based in ParameterInfo.
1275 Set the right position value when getting from ParameterBuilder.
1277 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
1279 * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
1280 finer-grained icalls. Requires a matching runtime.
1282 2003-07-11 Zoltan Varga <vargaz@freemail.hu>
1284 * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
1286 * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
1288 2003-07-10 Zoltan Varga <vargaz@freemail.hu>
1290 * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
1292 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
1294 * Pointer.cs: implemented.
1296 2003-06-15 Zoltan Varga <vargaz@freemail.hu>
1298 * EventInfo.cs: Implement IsSpecialName.
1300 2003-06-10 Zoltan Varga <vargaz@freemail.hu>
1302 * Module.cs (Mono_GetGuid): New method to return the GUID of the
1305 2003-05-21 Zoltan Varga <vargaz@freemail.hu>
1307 * Module.cs: Implement GetField and its friends.
1309 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
1311 * Assembly.cs (GetManifestResourceStream): Moved handling of
1312 linked resources into managed code using the newly implemented
1313 GetManifestResourceInfo () method.
1315 2003-05-19 Zoltan Varga <vargaz@freemail.hu>
1317 * Module.cs: Implemented IsResource.
1319 * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
1320 GetModule, GetLoadedModules methods.
1321 * Assembly.cs (GetManifestResourceStream): Added support for
1322 resources in extern assemblies.
1324 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1326 * Assembly.cs: fixed bug #42833.
1328 2003-05-11 Miguel de Icaza <miguel@ximian.com>
1330 * Binder.cs (ChangeType): Very simplistic change. Am not sure if
1331 it is correct, but it makes RemotingCorba move along a bit more
1332 (Remoting.Corba invokes Binder.ConvertArgs, which calls
1333 Binder.ChangeType with an Attribute [] to Object []).
1335 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1338 (check_type): fixed bug #41655.
1340 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1342 * Assembly.cs: implemented GetSatelliteAssembly.
1344 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
1346 * Assembly.cs: added GetNamespaces() icall.
1348 2003-03-17 Zoltan Varga <vargaz@freemail.hu>
1350 * FieldInfo.cs (GetFieldFromHandle): Implemented.
1352 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1354 * Assembly.cs: added missing stuff. Only ModuleResolve event is left
1355 out to avoid changing MonoReflectionAssembly by now.
1356 * ModuleResolveEventHandler.cs: delegate.
1358 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1360 * TargetInvocationException.cs: added serialization ctor.
1362 2003-02-18 Martin Baulig <martin@ximian.com>
1364 * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
1365 method's metadata token.
1367 2003-02-04 Sebastien Pouliot <spouliot@videotron.ca>
1369 * Module.cs: Corrected indentation for class.
1371 2003-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1374 (check_type): return true when the target type is object and the source
1377 2003-02-03 Patrik Torstensson
1379 * Binder.cs: minimize locking time in DefaultBinder.
1381 2003-02-01 Sebastien Pouliot <spouliot@videotron.ca>
1383 * Module.cs: Oups - not implemented. Added MonoTODO to most methods
1384 so it's real status get reflected correctly on the web site.
1386 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1388 * MonoMethod.cs: implemented GetBaseDefinition ().
1390 2003-01-28 Patrik Torstensson
1391 * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
1392 * ReflectionSerializationHolder.cs: Support class for serialization
1394 2003-01-17 Zoltan Varga <vargaz@freemail.hu>
1396 * ParameterInfo.cs: modified constructor so it allows the
1397 ParameterBuilder to be null and add a 'position' argument which will
1398 be used when pb is null.
1400 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
1402 * Assembly.cs: added serialization support.
1404 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
1406 * MonoMethod.cs: propagate exceptions from the internal invoke
1407 code that need to be propagated.
1409 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
1411 * Binder.cs: throw an exception if the number of arguments
1412 when invoking a method is incorrect.
1414 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
1416 * Binder.cs: In SelectMethod() look for an exact match first.
1418 2003-01-01 Rachel Hestilow <hestilow@ximian.com>
1420 * MonoField.cs (SetValue): Fix logic typo. Check that obj is
1421 non-null only for the non-static case.
1423 2002-12-30 Sebastien Pouliot <spouliot@videotron.ca>
1425 * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by
1428 2002-12-23 Sebastien Pouliot <spouliot@videotron.ca>
1430 * AssemblyName.cs: GetPublicKey now return an empty array (not null)
1431 when an assembly isn't signed with a StrongName (to match MS
1432 implementation) and null when no assembly is referenced. Also removed
1433 commented code (no bug reported so it was probably not used).
1435 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
1437 * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
1438 provider for the return type of a method.
1440 2002-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1442 * AssemblyName.cs: little fix in FullName.
1444 2002-12-07 Sebastien Pouliot <spouliot@videotron.ca>
1446 * AssemblyName.cs: Added missing methods/interfaces. Fixed some
1447 code to match the MS Framework.
1448 * StrongNameKeyPair.cs: Completed the "visible" implementation.
1449 There must be some internal methods to allow signing with the key.
1451 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1453 * EventInfo.cs: implemented (Add|Remove)EventHandler.
1455 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
1457 * Assembly.cs: implemented GetManifestResourceStream (Type type,
1460 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1462 * Assembly.cs: changed name of GetType (string, bool, bool) to
1465 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1467 * TargetInvocationException.cs: modified default message.
1469 2002-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1472 * PropertyInfo.cs: fixed bug #31535.
1474 2002-09-27 Martin Baulig <martin@gnome.org>
1476 * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
1478 2002-09-24 Martin Baulig <martin@gnome.org>
1480 * Assembly.cs (MonoDebugger_GetType): New method to get a Type
1481 from its metadata token. This should only be used by the debugger.
1483 2002-09-21 Martin Baulig <martin@gnome.org>
1485 * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
1486 get the type of a local variable from its signature. This should only
1487 be used by the debugger.
1489 2002-09-20 Martin Baulig <martin@gnome.org>
1491 * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
1492 from its metadata token. This should only be used by the debugger.
1494 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1496 * Binder.cs: more default binder implementation.
1498 * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
1499 * MonoMethod.cs: use the binder in the Invoke () implementation.
1500 Implemented custom attributes methods and ToString for constructors.
1502 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
1504 * Binder.cs: finished the Binder class and implemented the default
1507 2002-09-03 Martin Baulig <martin@gnome.org>
1509 * Assembly.cs (Assembly.Location): Implemented.
1511 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1514 (GetValue): allow obj to be null (used for static fields).
1516 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1518 * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
1521 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
1523 * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen
1524 <tomi.pakarinen@welho.com>.
1526 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1528 * Assembly.cs: FullName now returns a proper string instead of
1529 something like 'file://...'.
1531 * AssemblyName.cs: added missing ToString method.
1533 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1535 * FieldInfo.cs: implemented SetValue.
1537 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1539 * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
1541 2002-08-14 Dick Porter <dick@ximian.com>
1543 * Assembly.cs: Stub out GetSatelliteAssembly
1545 2002-08-12 Tim Coleman <tim@timcoleman.com>
1547 Allow multiple parameters for GetValue ()
1549 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
1551 * Assembly.cs: implemented GetFile() and GetFiles().
1553 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
1555 * Assembly.cs: implemented EntryPoint and a few
1556 resource related methods.
1558 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
1560 * MethodBase.cs: implemented GetCurrentMethod.
1561 * Assembly.cs: implemented GetExecutingAssembly and
1564 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
1566 * MonoProperty.cs: handle properties with only a set method.
1568 2002-05-24 Martin Baulig <martin@gnome.org>
1570 * ParameterInfo.cs: Added internal constructor.
1572 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
1574 * Assembly.cs: implemented CreateInstance ().
1576 2002-05-22 Martin Baulig <martin@gnome.org>
1578 * MethodBase.cs (get_next_table_index): Added `object obj' argument.
1580 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
1582 * EventInfo.cs: more implementation.
1584 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1586 * MonoEvent.cs: fill-in the implementation.
1588 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1590 * Assembly.cs, AssemblyName.cs: updates and fixes.
1592 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
1594 * MonoProperty.cs (GetValue) : basic implementation to support nunit
1595 * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
1597 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1599 * MonoMethod.c: cache the method name.
1601 2002-04-12 Duncan Mak <duncan@ximian.com>
1603 * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
1606 * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
1609 * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
1612 * BindingFlags.cs: Added missing value "PutRefDispProperty".
1614 * FieldAttributes.cs: Removed value "HasSecurity".
1616 * ManifestResourceInfo.cs: Added missing properties FileName,
1617 ReferencedAssembly and ResourceLocation.
1619 * TargetInvocationException.cs: Added the missing constructors.
1621 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1623 * MonoMethod.cs: make Name property an icall.
1625 2002-04-08 Nick Drochak <ndrochak@gol.com>
1627 * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
1628 struct and interface.
1630 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
1632 * MonoEvent.cs: remove unused code.
1633 * MonoProperty: implement ToString().
1635 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
1637 * Assembly.cs: implement GetTypes() and GetExportedTypes().
1639 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
1641 * MonoEvent.cs: added the needed fields.
1643 2002-03-20 Martin Baulig <martin@gnome.org>
1645 * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
1647 * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
1649 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
1651 * MonoMethod.cs (Invoke): call InternalInvoke
1653 * MethodBase.cs (Invoke): call virtual invoke function
1655 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
1657 * EventInfo.cs: add compiler needed methods.
1658 * MonoMethod.cs: make ToString() return the return type name, too.
1660 2002-03-07 Nick Drochak <ndrochak@gol.com>
1662 * BindingFlags.cs: Add missing enum values. Thanks CorCompare.
1664 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1666 * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
1668 2002-02-26 Duncan Mak <duncan@ximian.com>
1670 * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
1672 2002-02-24 Nick Drochak <ndrochak@gol.com>
1674 * AssemblyNameFlags.cs: Use proper member name. Thanks corcompare!
1676 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
1678 * MonoField.cs: implement GetValue as an internalcall.
1679 Implemented ToString().
1681 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
1683 * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
1684 MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
1687 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
1689 * TypeAttributes.cs: update to latest spec.
1691 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
1693 * Assembly.cs: handle throwOnError in GetType() call.
1695 2002-02-07 Duncan Mak <duncan@ximian.com>
1697 * AssemblyName.cs: Implemented ISerializable interface for the
1698 fields that we have.
1700 2002-02-05 Duncan Mak <duncan@ximian.com>
1703 * TargetException.cs: Added in CVS.
1705 2002-01-31 Duncan Mak <duncan@ximian.com>
1707 * ReflectionTypeLoadException.cs: Added missing bits.
1709 2002-01-23 Duncan Mak <duncan@ximian.com>
1711 * AssemblyAlgorithmIdAttribute.cs:
1712 * AssemblyCompanyAttribute.cs:
1713 * AssemblyConfigurationAttribute.cs:
1714 * AssemblyCopyrightAttribute.cs:
1715 * AssemblyCultureAttribute.cs:
1716 * AssemblyDefaultAliasAttribute.cs:
1717 * AssemblyDelaySignAttribute.cs:
1718 * AssemblyDescriptionAttribute.cs:
1719 * AssemblyFileVersionAttribute.cs:
1720 * AssemblyFlagsAttribute.cs:
1721 * AssemblyInformationalVersionAttribute.cs:
1722 * AssemblyKeyFileAttribute.cs:
1723 * AssemblyKeyNameAttribute.cs:
1724 * AssemblyNameProxy.cs:
1725 * AssemblyProductAttribute.cs:
1726 * AssemblyTitleAttribute.cs:
1727 * AssemblyTradeMarkAttribute.cs:
1728 * AssemblyVersionAttribute.cs:
1729 * CustomAttributeFormatException.cs:
1730 * InvalidFilterCriteriaException.cs:
1731 * TargetParameterCountException.cs: Added.
1733 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1735 * Assembly.cs (Assembly.CodeBase): Implement.
1736 (Assembly.FullName): simplistic and broken implementation. Gets
1737 us where we were yesterday.
1741 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
1743 * IReflect.cs: corrected GetMember() return type.
1744 * InterfaceMapping.cs, TypeDelegator.cs: implemented.
1746 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1748 * MonoMethod.cs: ToString () implementation.
1750 2002-01-04 Ravi Pratap <ravi@ximian.com>
1752 * Assembly.cs : Decorate missing bits with the MonoTODO
1755 * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
1756 ReflectionTypeLoadException.cs : Ditto.
1758 * FieldInfo.cs : Ditto.
1760 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
1762 * Assembly.cs: trow unimplemented exceptions.
1764 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
1766 * MonoMethod.cs: implemented GetParameters().
1767 * MonoProperty.cs: PropertyInfo implementation.
1768 * ParameterInfo.cs: implemented.
1769 * PropertyInfo.cs: fixes.
1771 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
1773 * FieldInfo.cs: implemented some Is* propeties.
1774 * MethodBase.cs: fixed attribute accessors.
1775 * MonoField.cs: runtime object to represent a field.
1776 * MonoMethod.cs: runtime object to represent a method.
1777 * AssemblyBuilder.cs: GetToken() methods to get tokens for
1778 strings, fields, methods...
1779 * ILGenerator.cs: handle tokens for methods.
1781 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
1783 * MethodBase.cs: add internal get_next_table_index() for use in
1786 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
1788 * Assembly.cs: implement some of the Load() methods.
1789 * ConstructorInfo.cs: some missing stubs and fields.
1790 * FieldInfo.cs: IsInitOnly property.
1791 * ParameterInfo.cs: stubs for missing properties.
1792 * ParameterModifier.cs: implemented class.
1794 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
1796 * Assembly.cs: Filled in some stub implementations
1798 * ConstructorInfo.cs: Added some stub functions for NUnit
1800 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
1802 * AmbiguousMatchException.cs,
1803 * Assembly.cs, Module.cs: updates.
1804 * FieldInfo.cs: better compliance to the spec.
1805 * MethodBase.cs: move call_conv out of the way.
1806 * AssemblyBuilder.cs: don't use internalcalls, more stuff supported.
1807 * FieldBuilder.cs: implemented.
1808 * ILGenerator.cs: implemented some opcode handling.
1809 * Label.cs: add constructor.
1810 * LocalBuilder.cs: implemented.
1811 * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
1812 * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
1813 * ParameterBuilder.cs: implemented.
1814 * PropertyBuilder.cs: implemented.
1815 * TypeBuilder.cs: don't use internalcalls, more stuff working.
1817 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
1819 * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
1821 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
1823 * MethodBase.cs, MethodInfo.cs: added.
1825 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
1827 * Assembly.cs: added stub code.
1829 2001-07-18 Michael Lambert <michaellambert@email.com>
1831 * BindingFlags.cs: Add.