1 2007-03-01 Alp Toker <alp@atoker.com>
4 Add GetFieldFromHandle() 2.0 overload stub (NotImplemented).
6 2007-03-01 Alp Toker <alp@atoker.com>
8 * MethodBase.cs: Add missing ComVisible attr.
9 Add GetMethodFromHandle() 2.0 overload stub (NotImplemented).
11 2006-12-30 Marek Safar <marek.safar@gmail.com>
13 * MonoProperty.cs: Cache frequently used properties.
15 Thu Dec 14 13:50:48 CET 2006 Paolo Molaro <lupus@ximian.com>
17 * *.cs: added missing Serializable attributes.
19 Thu Dec 14 12:52:27 CET 2006 Paolo Molaro <lupus@ximian.com>
21 * MonoProperty.cs, ParameterInfo.cs, PropertyInfo.cs:
22 GetRequiredCustomModifiers()/GetOptionalCustomModifiers()
25 Tue Dec 12 20:35:10 CET 2006 Paolo Molaro <lupus@ximian.com>
27 * MethodBase.cs: added missing ComVisible attr.
28 * MethodInfo.cs: added a few missing methods that we implement
31 Tue Dec 12 19:45:26 CET 2006 Paolo Molaro <lupus@ximian.com>
33 * MonoEvent.cs: correctly obey the nonPublic flag in GetOtherMethods ().
34 * EventInfo.cs: remove NotImpl exception from GetOtherMethods ().
36 2006-10-19 Gert Driesen <drieseng@users.sourceforge.net>
38 * AssemblyName.cs: Revert change where filename was not converted to
39 absolute path before passing it to Assembly.InternalGetAssemblyName
40 as the CodeBase is not set in that case.
42 2006-10-17 Kornél Pál <kornelpal@gmail.com>
44 * FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a
45 NotSupportedException is the proper implementation.
46 * ParameterInfo.cs: Use Attributes in Is... properties on profile 2.0
47 that is expected by subclasses.
49 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
51 * AssemblyName.cs: No need to convert filename to absolute path before
52 passing it to Assembly.InternalGetAssemblyName. This allows our
53 exception messages to be better match those of MS.
55 2006-09-29 Jb Evain <jbevain@gmail.com>
57 * MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.
59 2006-09-02 Zoltan Varga <vargaz@gmail.com>
61 * ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from
62 Peter Dettman (peter.dettman@iinet.net.au). Implement ReturnParameter
65 * Binder.cs (ReorderParameters): Really fix this.
67 * Binder.cs (ReorderParameters): Fix this method. Fixes #79120.
69 2006-09-01 Raja R Harinath <rharinath@novell.com>
71 * MonoMethod.cs (ToString): Update to handle change in byref type names.
73 2006-08-08 Gert Driesen <drieseng@users.sourceforge.net>
75 * Assembly.cs: On 2.0 profile, throw FileNotFoundException for
76 linked resources in GetManifestResourceStream when assembly is
77 loaded from byte array.
79 2006-07-12 Zoltan Varga <vargaz@gmail.com>
81 * MonoMethod.cs (ContainsGenericParameters): Implement.
83 * MonoMethod.cs (Invoke): Prevent invoking of open generic methods.
85 2006-07-09 Gert Driesen <drieseng@users.sourceforge.net>
87 * Assembly.cs: When assembly is loaded from byte array, return null
88 for linked resources in GetManifestResourceStream. Fixes bug #78468.
90 2006-07-09 Zoltan Varga <vargaz@gmail.com>
92 * Binder.cs: Add back the support for BindingFlags.ExactBinding. Fixes #78592.
94 2006-06-30 Zoltan Varga <vargaz@gmail.com>
96 * Binder.cs: Comment out the ExactBinding stuff for the release as it breaks some
99 2006-06-07 Zoltan Varga <vargaz@gmail.com>
101 * Binder.cs: Add support for BindingFlags.ExactBinding. Fixes #78592.
103 2006-05-28 Gert Driesen <drieseng@users.sourceforge.net>
105 * MethodBase.cs: GetMethodBody should not throw ArgumentException for
106 a method with no IL body. Fixes bug #78522.
108 2006-05-10 Zoltan Varga <vargaz@gmail.com>
110 * Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
112 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
114 * Binder.cs : (Default.SelectMethod)
115 don't throw AmbiguousMatchException when one of conflicting method
116 matches weakly. Fixed bug #42547.
118 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
120 * Binder.cs : (Default.BindToMethod) reorder parameters based
121 on namedParameters. Fixed bug #41691.
123 2006-05-03 Jb Evain <jbevain@gmail.com>
125 * MonoField.cs (GetValue,SetValue): throw a TargetException
126 when the field is non static and the target is null.
128 2006-03-12 Zoltan Varga <vargaz@gmail.com>
130 * Binder.cs: Applied patch from Ben to fix #74947.
132 2006-03-01 Miguel de Icaza <miguel@novell.com>
134 * Assembly.cs: Cache the AssemblyName, patch from Tambet. This
135 reduces the memory usage during remoting.
137 2006-02-16 Martin Baulig <martin@ximian.com>
139 * FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.
141 2006-02-15 Martin Baulig <martin@ximian.com>
143 * MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
144 (MethodBase.Mono_IsInflatedMethod): Removed.
145 (MethodBase.HasGenericParameters): Removed.
147 * MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
148 here from MethodBase.
151 (MonoMethod.IsGenericMethodDefinition): This is now an icall.
152 (MonoMethod.IsGenericMethod): Likewise.
154 2006-02-14 Martin Baulig <martin@ximian.com>
157 (MonoCMethod.IsGenericMethod): Override this and return false; the
158 MS runtime doesn't throw an exception here.
160 2006-02-08 Martin Baulig <martin@ximian.com>
162 * MonoGenericClass.cs (MonoGenericClass.IsAssignableFrom):
163 Override and implement this; fixes #77395.
165 2006-02-07 Martin Baulig <martin@ximian.com>
168 (MonoMethod.IsGenericMethod): Only return true for "real" generic
169 methods and not for arbitrary instantiated methods.
170 (MonoMethod.IsGenericMethodDefinition): Only return true for
171 generic method definitions, but not for instantiated generic
172 methods. This is no longer an interncall. Fixes #77466.
174 2006-02-03 Zoltan Varga <vargaz@gmail.com>
176 * MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
179 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
181 * Assembly.cs: Fixed #75950. The icall has been changed to accept a
182 boolean so it can return a non-escaped code base.
184 2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
186 * MonoMethod.cs : made MakeGenericMethod() indirect icall to
187 MakeGenericMethod_impl() and raise an error when it returns null.
189 2005-11-15 Zoltan Varga <vargaz@gmail.com>
191 * Module.cs: Add MDStreamVersion property.
193 * Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs
194 CustomAttributeData.cs PortableExecutableKinds.cs
195 ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
198 2005-11-11 Marek Safar <marek.safar@seznam.cz>
200 * MethodBase.cs, TypeDelegator.cs: Reflect Type changes.
202 2005-10-30 Zoltan Varga <vargaz@freemail.hu>
204 * FieldInfo.cs: Add an internal UMarshal property which can by
205 overriden in FieldBuilder.
207 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
209 * MonoMethod.cs : (ToString) add suffix " ByRef" for byref parameters.
212 2005-10-04 Martin Baulig <martin@ximian.com>
214 * MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
215 return type from `MonoGenericClass to `Type'.
217 2005-09-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
219 * AssemblyName.cs: Add ParseName internal call, to parse
220 long format assembly names.
222 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
224 * MonoProperty.cs: Invoke throws a SecurityException but GetValue must
225 throw TargetInvocationException with the SecurityException as an inner
226 exception. See CAS unit tests for System.Web.dll.
228 2005-09-20 Martin Baulig <martin@ximian.com>
230 * Assembly.cs: Removed some unused debugger icalls.
232 2005-09-17 Zoltan Varga <vargaz@freemail.hu>
234 * Module.cs: Remove obsolete Mvid property.
236 2005-09-09 Martin Baulig <martin@ximian.com>
238 Reflect latest API changes in the August CTP.
240 * MethodBase.cs (MethodBase.MakeGenericMethod): Removed.
242 * MethodInfo.cs (MethodInfo.MakeGenericMethod): Added here.
244 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
246 * AssemblyName.cs: Apply second half of Chris Micacchi's patch
248 2005-09-07 Miguel de Icaza <miguel@novell.com>
250 * AssemblyName.cs: Apply patch from Chris Micacchi to serialize
251 the keyToken as "_PublicKeyToken".
253 2005-09-05 Martin Baulig <martin@ximian.com>
255 Reflect latest API changes in the August CTP.
257 * GenericParameterAttributes.cs: Here.
259 * MethodBase.cs (MethodBase.BindGenericParameters): Renamed to
262 2005-09-05 Martin Baulig <martin@ximian.com>
264 * Assembly.cs (MonoDebugger_GetMethodToken): Don't take an
267 2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
269 * Assembly.cs: made GetManifestResourceInternal internal. Fixes the
272 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
274 * Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
275 * ConstructorInfo.cs: Added GetType() method in 1.1 to match
276 MS.NET, implemented _ConstructorInfo.
277 * EventInfo.cs: Added GetType() method in 1.1 to match MS.NET,
278 implemented _EventInfo.
279 * FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET,
280 implemented _FieldInfo.
281 * MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET,
282 implemented _MemberInfo.
283 * MethodBase.cs: Added GetType() method in 1.1 to match MS.NET,
284 implemented _MethodBase.
285 * MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET,
286 implemented _MethodInfo.
287 * PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET,
288 implemented _PropertyInfo.
289 * TypeAttributes.cs: CustomFormatMask and CustomFormatClass should
290 only be exposed in 2.0 profile.
292 2005-07-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
294 * CustomAttributeTypedArgument: Return the name of the
295 enum if the type is an enum in ToString ().
297 2005-06-21 Sebastien Pouliot <sebastien@ximian.com>
299 * Assembly.cs: Create a copy of the evidences and add an instance of
300 PermissionRequestEvidence to it before resolution. This way the PRE
301 won't be present when asking for evidences later. Removed debugging
304 2005-06-13 Michal Moskal <malekith@nemerle.org>
306 * MonoGenericClass.cs: Don't use MethodHandle in GetMethod/GetConstructor,
307 since it now throws on MethodBuilders. Don't use FieldHandle in
308 GetField (throws on FieldBuilder) - just use the name.
310 2005-06-15 Sebastien Pouliot <sebastien@ximian.com>
312 * Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
313 FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
314 ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
315 attributes that were added in 1.1 SP1 or 2.0 beta2.
317 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
319 * Binder.cs: null is ok for a value type. Fixes bug #75241.
321 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
323 * Assembly.cs: UnprotectedGetName is now virtual to allow for more
324 initialization in AssemblyBuilder. The [Granted|Refused]PermissionSet
325 now use the ResolvingPolicyLevel to support the policy
326 FullTrustAssemblies during resolution.
327 * AssemblyName.cs: Return null instead of "new byte [0]" if no public
330 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
331 * MonoGenericClass.cs: Add overrides of Get{Method,Constructor,Field}
332 for obtaining instanciated *Info objects from non-instanciated counterparts
335 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
337 * CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.
339 * *.cs: Updates for net 2.0 beta 2.
341 2005-06-07 Zoltan Varga <vargaz@freemail.hu>
343 * *.cs: Updates for net 2.0 beta 2.
345 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
347 * CustomAttributeData.cs: Implemented.
349 * CustomAttributeDataNamedArgument.cs: Implemented.
351 * CustomAttrbuteDataTypedArgument.cs: Implemented.
353 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
355 * Assembly.cs ExceptionHandlingClause.cs: Fix build.
357 * ProcessorArchitecture.cs: New file.
359 * ExceptionHandlingClause.cs: Update after ExceptionHandlingClauseFlags name change.
361 * *.cs: Updates for net 2.0 beta 2.
363 * *.cs: Add net 2.0 ComVisibleAttribute.
365 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
367 * Assembly.cs: if the assembly is loaded from a byte array, Location
368 returns "". Fixes bug #74958.
370 2005-06-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
372 * AssemblyName.cs: Changes to support the creation of version
373 instance from icalls. This change also helps to keep the
374 AssemblyName tests running fine.
376 2005-05-26 Ben Maurer <bmaurer@ximian.com>
378 * Binder.cs: Avoid double checked locking and lock on typeof by
379 doing init of the default binder in the cctor.
381 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
383 * Assembly.cs: Avoid security checks if Assembly.Location is "".
385 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
387 * TypeDelegator.cs: Implement some methods.
389 * TypeDelegator.cs: Revert this as it breaks the build.
391 * TypeDelegator.cs: Implement some methods.
393 2005-05-19 Satya Sudha K <ksathyasudha@novell.com>
394 Raja R Harinath <rharinath@novell.com>
396 * Missing.cs (Missing.Value): Initialize.
398 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
400 * Binder.cs: Use IsInstanceOfType instead of IsAssignableFrom
401 since GetType() may not return the correct type if the object is
402 a remoting proxy. This fixes bug #74933.
404 2005-05-13 Zoltan Varga <vargaz@freemail.hu>
406 * MonoField.cs: Applied patch from Opened by Michael Meeks (michael@ximian.com). Improve exception message on binding failures.
408 2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
410 * MonoField.cs: Added a Clone method. This is needed for serialization.
412 2005-05-07 Ben Maurer <bmaurer@ximian.com>
414 * MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.
416 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
418 * Module.cs: Update for beta 2.
420 * CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.
422 2004-05-03 Lluis Sanchez <lluis@ximian.com>
424 * Assembly.cs: Don't remove version and culture information from
425 the name, since it will be used by load_with_partial_name.
427 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
429 * Assembly.cs: Added some CAS security to avoid returning restricted
430 information to partially truster callers (e.g. code base). Added new
431 methods to get the Evidence and AssemblyName so that the security
432 runtime can bootstrap itself (without calling itself).
434 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
436 * Assembly.cs: Added missing null check in GetObjectData.
438 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
440 * AssemblyName.cs: Added a demand for SerializationFormatter on
441 GetObjectData method.
443 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
445 * AssemblyName.cs: Implemented EscapedCodeBase using the copy of
446 System.Uri (System.dll) located in Mono.Security.Uri. Added missing
447 null check in GetObjectData.
448 * Module.cs: Added a FileIOPermission for PathDiscovery on
449 FullyQualifiedName property (but not on Name property like MS).
450 Added missing null check in GetObjectData.
451 * StrongNameKeyPair.cs: Added demands for unmanaged code to all
452 constructors (as we do not want partially trusted code to create
453 strongnamed assemblies).
455 2005-03-30 Zoltan Varga <vargaz@freemail.hu>
457 * Binder.cs (check_type): Fix byref support. Fixes #73972.
459 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
461 * MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class.
462 * Module.cs: Add a LinkDemand for SerializationFormatter on
463 GetObjectData method.
465 2005-03-16 Sebastien Pouliot <sebastien@ximian.com>
467 * Assembly.cs: Implemented EscapedCodeBase using the copy of
468 System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.
470 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
472 * MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand
473 (i.e. stack walk) when reflection is being used to invoke a method.
475 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
477 * Assembly.cs: LoadFrom: Change signature to support reflection only
478 methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
479 implemented; InvalidOperationException's re-thrown by CreateInstance.
480 Also ReflectionOnly 2.0 property added.
482 * MonoMethod.cs: InvalidOperationException's are re-thrown when calling
483 Invoke method on reflection only assemblies.
485 2005-02-22 Raja R Harinath <rharinath@novell.com>
487 * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
488 'abstract' so that this class can be derived outside of corlib.
490 2005-02-16 Miguel de Icaza <miguel@novell.com>
492 * MonoEvent.cs: Put new methods here.
494 * EventInfo.cs: Move the methods GetCustomAttributes, and
495 IsDefined from EventInfo to MonoEvent.
497 Remove the methods that were not supposed to be exposed: Name,
498 ReflectedType, DeclaringType.
500 2005-02-12 Chris Toshok <toshok@ximian.com>
502 * Assembly.cs: Correct the type of MonoDebugger_MakeArrayType.
504 2005-02-12 Ben Maurer <bmaurer@ximian.com>
506 * Binder.cs (SelectProperty): Use -1 as the dummy `I don't know
507 how many types' value.
509 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
511 * Assembly.cs: Fix warning.
513 2005-02-10 Martin Baulig <martin@ximian.com>
515 * Module.cs (MonoDebugger_ResolveType): New internal method.
517 * Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
518 (MonoDebugger_GetTypeToken): New internal method.
520 2005-02-10 Martin Baulig <martin@ximian.com>
522 * Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.
524 2005-02-10 Marek Safar <marek.safar@seznam.cz>
527 * ConstructorInfo.cs,
533 * PropertyInfo.cs: ClassInterfaceType is None.
535 Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>
537 * Module.cs: removed the finalizer and the now unused Close() icall.
539 2005-01-21 Sebastien Pouliot <sebastien@ximian.com>
541 * Assembly.cs: Fixed add for ModuleResolve.
543 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
545 * LocalVariableInfo.cs: Add ToString method.
547 * ExceptionHandlingClause.cs: Implement this.
549 2005-01-18 Zoltan Varga <vargaz@freemail.hu>
551 * MethodBase.cs MonoMethod.cs: Hopefully fix the build.
553 * MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().
555 2005-01-03 Martin Baulig <martin@ximian.com>
557 * MonoGenericMethod.cs
558 (MonoGenericMethod.get_reflected_type): Removed.
559 (MonoGenericMethod.ReflectedType): Make this an icall.
560 (MonoGenericCMethod.ReflectedType): Likewise.
562 2004-12-29 Martin Baulig <martin@ximian.com>
564 * MonoGenericMethod.cs: New file.
566 2004-12-21 Sebastien Pouliot <sebastien@ximian.com>
568 * Assembly.cs: Added private LoadAssemblyPermissions to get the
569 declarative security permission sets (minimum, optional and refused)
572 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
574 * Assembly.cs: Removed old Demand support (moved in System.Security).
576 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
578 * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
579 the gmcs bugs blocking them are fixed.
581 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
583 * Assembly.cs: Move corlib_internal field to AssemblyBuilder.
585 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
587 * Assembly.cs: Add corlib_internal field.
589 2004-11-30 Martin Baulig <martin@ximian.com>
591 * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
592 renamed the class from `MonoGenericInst' to `MonoGenericClass'.
594 2004-11-05 Zoltan Varga <vargaz@freemail.hu>
596 * AssemblyName.cs (FullName): Omit default values from full name.
598 * Assembly.cs: Implement GetFiles (bool).
600 * Binder.cs: Add support for byref types. Fixes #69140.
602 2004-10-12 Martin Baulig <martin@ximian.com>
604 * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
605 before calling the *_internal() methods.
607 2004-10-12 Zoltan Varga <vargaz@freemail.hu>
609 * MethodBody.cs: Implement this.
611 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
613 * Module.cs: Handle the case when the global type does not exists.
615 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
617 * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
620 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
622 * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].
624 * PropertyInfo.cs: Add stub for GetConstantValue ().
626 * ParameterInfo.cs (marshalAs): Make this private.
628 * Module.cs (ModuleHandle): Add [CLSCompliant(false)].
630 * LocalVariableInfo.cs MethodBody.cs: Disable default constructor.
632 * ExceptionHandlingClause.cs: Disable default constructor.
634 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
636 * CustomAttributeData.cs CustomAttributeTypedArgument.cs
637 CustomAttributeNamedArgument.cs: New files.
639 * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
640 ExceptionHandlingClauseFlags.cs: New files.
642 2004-09-26 Zoltan Varga <vargaz@freemail.hu>
644 * FieldInfo.cs: Add support for returning MarshalAsAttribute.
646 * ParameterInfo.cs: Add marshalAs field, add support for returning
649 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
651 * Module.cs: Add new 2.0 GetMethods and GetFields methods.
653 * ParameterInfo.cs: Add GetPseudoCustomAttributes () method.
655 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
657 * MonoField.cs: Add GetFieldOffset.
659 * ObfuscationAttribute.cs: Add ApplyToMembers.
661 * Assembly.cs: Add stub for ReflectionOnlyLoadFrom.
663 * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.
665 * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method.
667 * AssemblyNameFlags.cs: Add LongevityUnspecified.
669 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
671 * Module.cs: Remove [MonoTODO] from ResolveMember.
673 * MemberInfo.cs: Add 'Module' property.
675 * AssemblyFlagsAttribute.cs: Add 2.0 stuff.
677 * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
678 to LoadWithPartialName on 2.0.
680 * AssemblyNameFlags.cs: Add new 2.0 members.
682 * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.
684 * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.
686 * EventInfo.cs: Fix 2.0 build.
688 * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.
690 * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.
692 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
694 * Module.cs: Implement net 2.0 ResolveXXX methods.
696 * Module.cs (resolve_token_exception): Fix type of exception thrown.
698 2004-09-21 Martin Baulig <martin@ximian.com>
700 * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.
702 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
704 * Assembly.cs: Implement 2.0 reflection properties.
706 * Module.cs: Implement 2.0 reflection properties. Add 'token' field.
708 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
710 * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
713 * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.
715 * Module.cs: Add ModuleHandle property and new icalls.
717 2004-09-18 Zoltan Varga <vargaz@freemail.hu>
719 * Module.cs: Add net 2.0 Mvid property.
721 2004-08-30 Sebastien Pouliot <sebastien@ximian.com>
723 * Assembly.cs: Added internal Demand(PermissionSet) for CAS.
725 2004-08-30 Zoltan Varga <vargaz@freemail.hu>
727 * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to
730 2004-08-29 Zoltan Varga <vargaz@freemail.hu>
732 * MethodBase.cs (GetMethodFromHandle): Implement.
734 2004-08-13 Marek Safar <marek.safar@seznam.cz>
736 * Assembly.cs: Made _minimum, _optional, _refuse fields internal.
737 To be reusable by AssemblyBuilder.
739 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
741 * Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0
742 properties (required for compiling the new unit tests).
743 * PortableExecutableKind.cs: New. Flags for NET_2_0.
744 * ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0.
746 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
748 * Assembly.cs: Get default evidences when no evidences have been
749 supplied. Added internal methods for CAS.
750 * AssemblyName.cs: New constructor for NET_2_0.
752 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
754 * Assembly.cs: Added new fields for CAS to match the runtime (v23).
756 2004-07-29 Martin Baulig <martin@ximian.com>
758 * Module.cs (Mono_GetGuid): Make this static.
760 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
762 * Module.cs: return just name in ToString (bug #61287).
764 2004-07-03 Zoltan Varga <vargaz@freemail.hu>
766 * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
768 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
770 * Pointer.cs: remove serializable attribute to match MS.NET
772 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
774 * ParameterModifier.cs: marked serializable, renamed field to match
775 MS.NET, throw ArgumentException when parameter count is less than or
778 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
780 * AssemblyName.cs: added TODO for serialization
781 * Pointer.cs: fixed Box method to return object instead of
784 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
786 * MemberInfo.cs: Changed constructor from internal to protected.
788 2004-06-11 Martin Baulig <martin@ximian.com>
790 * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
792 2004-06-11 Lluis Sanchez <lluis@ximian.com>
794 * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match
795 MS implementation. Generate the RSA in the constructors.
797 2004-06-10 Lluis Sanchez <lluis@ximian.com>
799 * AssemblyName.cs: Added missing fields to serialization methods.
800 * StrongNameKeyPair.cs: Made it compatible with MS serialization.
802 2004-06-08 Jacson Harper <jackson@ximian.com>
804 * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
805 runtime. This way the codebase is set properly. The codebase is
806 using g_filename_to_uri which expects a full path.
808 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
810 * Binder.cs: don't crash when we have a 'null' argument Type array.
811 Allow it for non-value types. Fixed for both, methods and properties.
814 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
816 * Binder.cs: default score must be lower than fail_score or we'll get
817 an ambiguous match when no indexers given and one single match is found.
819 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
821 * Binder.cs: removed ^Ms. In case of several properties matching, try
822 to disambiguate based on the indexer types provider and the conversions
823 from those into the ones of the property.
825 2004-05-31 Gert Driesen <drieseng@users.sourceforge.net>
827 * Assembly.cs: added missing ComVisible attribute on
828 ImageRuntimeVersion property
829 * ConstructorInfo.cs: added missing attributes on Invoke
830 * EventInfo.cs: added missing attributes
831 * FieldInfo.cs: added missing attributes
832 * MethodBase.cs: added missing attributes
833 * PropertyInfo.cs: added missing attributes
835 2004-05-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
837 * FieldInfo.cs: changed default constructor from internal to protected, so classes
838 that inherit from it can get build.
840 2004-05-18 Gert Driesen (drieseng@users.sourceforge.net)
842 * MonoProperty.cs: return correct MethodInfo for
843 property with only a get or set method. Fixes
846 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
848 * Assembly.cs: Return an empty Evidence collection to avoid
849 NullReferenceException from calling code (as this is never
850 null with MS implementation). See bugzilla #53548.
852 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
854 * Assembly.cs: Add stub for LoadFrom.
856 * Assembly.cs: Fix build.
858 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
860 * Assembly.cs: Add ModuleResolve event.
862 * Module.cs (Mono_GetGuid): Make this internal.
864 * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
866 2004-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
868 * Binder.cs: check for ambiguous matches in SelectMethod and
869 SelectProperty. Fixes bug #58381.
871 2004-05-06 Jackson Harper <jackson@ximian.com>
873 * Assembly.cs: remove TODO, this is done.
875 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
877 * Assembly.cs: ToString () returns the same as GetName ().ToString ().
880 2004-05-03 Jackson Harper <jackson@ximian.com>
882 * Assembly.cs: Implement LoadWithPartialName. The bulk of this
883 method is done in the runtime.
885 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
887 * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
888 is private (it did until now because of a bug). Make sure it works as it
889 worked before the fix.
891 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
893 * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs:
894 Removed completed TODOs.
895 * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
896 do not return private methods if nonPublic == false.
897 * ReflectionTypeLoadException.cs: Implemented serialization support.
899 2004-04-26 Jackson Harper <jackson@ximian.com>
901 * Assembly.cs: Add icall to determine if an assembly has been
904 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
906 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
907 The fix should be easier ;)
909 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
911 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
912 NET_2_0 related build fix.
914 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
916 * Assembly.cs: Removed TODO for CreateQualifiedName.
917 * AssemblyName.cs: Fixed serialization code.
918 * AssemblyNameProxy.cs: Implemented.
919 * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
921 2004-04-07 Martin Baulig <martin@ximian.com>
923 * MonoGenericInst.cs (MonoGenericParam): Removed.
925 2004-04-07 Martin Baulig <martin@ximian.com>
928 (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
930 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
931 (MonoGenericInst.GetNestedTypes): Just call
932 `generic_type.GetNestedTypes (bf)' here.
934 * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
935 include the type arguments.
937 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
939 * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
940 correct StrongName instance when the ECMA "key" is used.
942 2004-04-02 Martin Baulig <martin@ximian.com>
944 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
946 2004-04-01 Martin Baulig <martin@ximian.com>
948 * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
949 this and always return false.
951 2004-04-01 Martin Baulig <martin@ximian.com>
953 * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.
955 2004-03-30 Martin Baulig <martin@ximian.com>
958 (MonoGenericParam): Added `bool has_ctor_constraint' field.
959 (MonoGenericParam.SetConstraints): Added `bool
960 has_ctor_constraint' argument.
962 2004-03-29 Martin Baulig <martin@ximian.com>
964 * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
966 (MethodBase.HasGenericParameters): Use the "official" behavior
967 here, ie. return false if we're not a generic method.
969 2004-03-29 Martin Baulig <martin@ximian.com>
971 * MethodBase.cs: Moved the generics stuff here, made it virtual
972 where neccessary and use the correct API.
974 2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
976 * StrongNameKeyPair.cs: Added an internal method to return a
977 StrongName object (for AssemblyBuilder). Simplified implementation
978 using Mono.Security.Cryptography.CryptoConvert class.
980 2004-03-24 Zoltan Varga <vargaz@freemail.hu>
982 * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
984 2004-03-23 Martin Baulig <martin@ximian.com>
986 * MonoGenericInst.cs: Added support for events.
988 2004-03-23 Martin Baulig <martin@ximian.com>
990 * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
991 if it's the empty string.
993 2004-03-10 Martin Baulig <martin@ximian.com>
995 * MethodBase.cs (MethodBase): Implemented
996 GetGenericMethodDefinition() and HasGenericParameters.
998 2004-03-09 Martin Baulig <martin@ximian.com>
1000 * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
1001 `declaring_type' and `reflected_type'.
1002 (MonoEvent): Distinguish between declaring and reflected type.
1004 2004-02-25 Martin Baulig <martin@ximian.com>
1006 * MonoGenericInst.cs
1007 (MonoGenericInst.GetNestedTypes): Override this.
1009 2004-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1012 (SelectProperty): check the return Type if provided.
1014 2004-02-17 Martin Baulig <martin@ximian.com>
1016 * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
1017 support for properties.
1019 2004-02-17 Martin Baulig <martin@ximian.com>
1021 * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
1022 class hierarchy and return members from the parent classes.
1023 (GetConstructors, GetFields): Likewise.
1025 2004-02-17 Martin Baulig <martin@ximian.com>
1027 * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
1028 all the members here; we only do this for members of the current
1029 class and only when they're actually queried for.
1031 2004-02-12 Martin Baulig <martin@ximian.com>
1033 * MonoGenericInst.cs (MonoInflatedField): Removed.
1035 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
1037 2004-02-08 Martin Baulig <martin@ximian.com>
1039 * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
1040 invocations the `reflected' type as `reflected', not `this'.
1041 (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
1043 2004-02-08 Martin Baulig <martin@ximian.com>
1045 * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
1046 (MonoGenericInst.GetInterfaces_internal): New interncall.
1047 (MonoGenericInst): Reflect latest API changes; use GetParentType()
1048 and GetInterfaces_internal() instead of the fields.
1050 2004-02-06 Martin Baulig <martin@ximian.com>
1052 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
1054 2004-02-03 Martin Baulig <martin@ximian.com>
1056 * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
1058 2004-01-25 Martin Baulig <martin@ximian.com>
1060 * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
1062 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
1064 * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
1065 a reference on the Module object which contains the resource.
1067 * Module.cs: Decrease the image reference count when the Module is
1070 2004-01-16 Martin Baulig <martin@ximian.com>
1072 * Assembly.cs: Make the `MonoDebugger_' methods static.
1074 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1076 * MonoProperty.cs: changed get_property_info so that it only gets the
1077 values needed. Reduces the allocations needed.
1079 2004-01-15 Martin Baulig <martin@ximian.com>
1081 * Assembly.cs: Make the `MonoDebugger_' methods internal.
1083 2004-01-04 Nick Drochak <ndrochak@gol.com>
1085 * Assembly.cs: Removed unused variable in catch block.Eliminates a build
1088 2003-12-29 Ben Maurer <bmaurer@users.sourceforge.net>
1090 * MethodBase.cs: Internal method to get param count (this
1091 way we can get the info for the ilgen without creating
1092 an array, if we override the method).
1094 2003-12-18 Zoltan Varga <vargaz@freemail.hu>
1096 * Assembly.cs: Implement LoadFrom.
1098 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
1100 * Assembly.cs: Add stubs for LoadFile.
1102 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
1104 * Assembly.cs (GetManifestResourceStream): Only load non-embedded
1105 resources from files.
1107 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
1109 * MonoField.cs (SetValue): Throw an exception if the value cannot be
1110 converted to the field's type. Fixes #52177.
1112 2003-12-11 Lluis Sanchez Gual <lluis@ximian.com>
1114 * AmbiguousMatchException.cs: Added serialization constructor.
1116 2003-12-08 Martin Baulig <martin@ximian.com>
1118 * MonoGenericInst.cs (MonoGenericParam): New internal class;
1119 derives from MonoType.
1121 2003-12-08 Patrik Torstensson <p@rxc.se>
1123 * Binder.cs: Added internal helpers to get derived level and select the
1124 most derived methodbase (used in GetMethodImpl)
1126 2003-11-25 Zoltan Varga <vargaz@freemail.hu>
1128 * Assembly.cs (LoadWithPartialName): Return null instead of throwing
1129 an exception to match MS behavior.
1131 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
1133 * MonoMethod.cs: Add missing constructor.
1135 2003-11-21 Zoltan Varga <vargaz@freemail.hu>
1137 * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
1139 2003-11-16 Martin Baulig <martin@ximian.com>
1141 * MonoGenericInst.cs (MonoGenericInst.inflate): Call
1142 `parent.inflate (parent,...)' instead of
1143 `parent.inflate (reflected,...)'.
1145 2003-11-16 Zoltan Varga <vargaz@freemail.hu>
1147 * Assembly.cs (InternalGetAssemblyName): New icall.
1149 * AssemblyName.cs (GetAssemblyName): Implement this without loading
1150 the assembly in question. Fixes #51035.
1152 2003-11-14 Martin Baulig <martin@ximian.com>
1154 * MonoGenericInst.cs (MonoGenericInst): Added
1155 `MonoGenericInst[] interfaces' field. This is only used for
1157 (MonoGenericInst.inflate): If we're an interface type, add the
1158 methods from all interfaces we inherit.
1160 2003-11-14 Zoltan Varga <vargaz@freemail.hu>
1162 * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values
1165 * *.cs: Add missing attributes.
1167 2003-11-11 Todd Berman <tberman@gentoo.org>
1169 * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
1171 2003-11-11 Zoltan Varga <vargaz@freemail.hu>
1173 * MonoMethod.cs: Implement CallingConvention member.
1175 2003-11-10 Zoltan Varga <vargaz@freemail.hu>
1177 * Assembly.cs (InternalGetType): Add a 'module' argument so this
1178 method can be used from Module as well.
1180 * Module.cs (GetType): Implement.
1182 * Module.cs (GetTypes): Implement.
1184 * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
1185 2003-11-08 Martin Baulig <martin@ximian.com>
1187 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
1188 a private `IntPtr ginst' field.
1189 (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
1191 2003-11-02 Martin Baulig <martin@ximian.com>
1193 * MonoGenericInst.cs (MonoGenericInst.initialize): Include members
1194 from our parent classes in the `methods', `ctors' and `fields'
1195 arrays. When inflating them, reflection now sets their
1196 `declaring_type' and `reflected_type' fields.
1197 (MonoInflatedMethod, MonoInflatedCtor): Added
1198 `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
1199 fields and override the `DeclaringType' and `ReflectedType' properties.
1201 2003-11-02 Martin Baulig <martin@ximian.com>
1203 * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
1205 2003-10-31 Martin Baulig <martin@ximian.com>
1207 * MonoGenericInst.cs (MonoInflatedField): New internal class.
1208 (MonoGenericInst.GetFields): Override this method and inflate
1211 * MonoField.cs: Don't make this class sealed.
1213 2003-10-30 Martin Baulig <martin@ximian.com>
1215 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
1218 2003-10-25 Martin Baulig <martin@ximian.com>
1220 * MonoGenericInst.cs: New internal class.
1222 2003-10-18 Martin Baulig <martin@ximian.com>
1224 * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
1225 abstract; use an interncall in MonoMethod and a custom
1226 implementation in MethodBuilder.
1228 2003-10-17 Pedro Martínez Juliá <yoros@wanadoo.es>
1230 * MonoEvent.cs: implement ToString method as in MS.NET.
1232 * MonoMethod.cs: fix some differences between mono and MS.NET
1233 implementation of ToString.
1235 2003-10-17 Zoltan Varga <vargaz@freemail.hu>
1237 * AssemblyName.cs: Fix Version property when some version fields are
1240 2003-10-17 Martin Baulig <martin@ximian.com>
1242 * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
1243 (MethodInfo.BindGenericParameters): New method.
1245 2003-10-16 Martin Baulig <martin@ximian.com>
1247 * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
1250 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
1252 * ParameterInfo.cs: Modified constructor of ParameterInfo for
1253 the return type of a method. Since parameter positions are
1254 zero-based, the position of the return type must be is -1.
1256 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1258 * TargetInvocationException.cs: Fixed signature
1260 2003-07-24 Miguel de Icaza <miguel@ximian.com>
1262 * TypeDelegator.cs: Added generics stubs.
1264 2003-07-21 Lluis Sanchez Gual <lluis@ximian.com>
1266 * ParameterInfo.cs: Position is zero-based in ParameterInfo.
1267 Set the right position value when getting from ParameterBuilder.
1269 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
1271 * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
1272 finer-grained icalls. Requires a matching runtime.
1274 2003-07-11 Zoltan Varga <vargaz@freemail.hu>
1276 * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
1278 * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
1280 2003-07-10 Zoltan Varga <vargaz@freemail.hu>
1282 * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
1284 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
1286 * Pointer.cs: implemented.
1288 2003-06-15 Zoltan Varga <vargaz@freemail.hu>
1290 * EventInfo.cs: Implement IsSpecialName.
1292 2003-06-10 Zoltan Varga <vargaz@freemail.hu>
1294 * Module.cs (Mono_GetGuid): New method to return the GUID of the
1297 2003-05-21 Zoltan Varga <vargaz@freemail.hu>
1299 * Module.cs: Implement GetField and its friends.
1301 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
1303 * Assembly.cs (GetManifestResourceStream): Moved handling of
1304 linked resources into managed code using the newly implemented
1305 GetManifestResourceInfo () method.
1307 2003-05-19 Zoltan Varga <vargaz@freemail.hu>
1309 * Module.cs: Implemented IsResource.
1311 * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
1312 GetModule, GetLoadedModules methods.
1313 * Assembly.cs (GetManifestResourceStream): Added support for
1314 resources in extern assemblies.
1316 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1318 * Assembly.cs: fixed bug #42833.
1320 2003-05-11 Miguel de Icaza <miguel@ximian.com>
1322 * Binder.cs (ChangeType): Very simplistic change. Am not sure if
1323 it is correct, but it makes RemotingCorba move along a bit more
1324 (Remoting.Corba invokes Binder.ConvertArgs, which calls
1325 Binder.ChangeType with an Attribute [] to Object []).
1327 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1330 (check_type): fixed bug #41655.
1332 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1334 * Assembly.cs: implemented GetSatelliteAssembly.
1336 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
1338 * Assembly.cs: added GetNamespaces() icall.
1340 2003-03-17 Zoltan Varga <vargaz@freemail.hu>
1342 * FieldInfo.cs (GetFieldFromHandle): Implemented.
1344 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1346 * Assembly.cs: added missing stuff. Only ModuleResolve event is left
1347 out to avoid changing MonoReflectionAssembly by now.
1348 * ModuleResolveEventHandler.cs: delegate.
1350 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1352 * TargetInvocationException.cs: added serialization ctor.
1354 2003-02-18 Martin Baulig <martin@ximian.com>
1356 * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
1357 method's metadata token.
1359 2003-02-04 Sebastien Pouliot <spouliot@videotron.ca>
1361 * Module.cs: Corrected indentation for class.
1363 2003-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1366 (check_type): return true when the target type is object and the source
1369 2003-02-03 Patrik Torstensson
1371 * Binder.cs: minimize locking time in DefaultBinder.
1373 2003-02-01 Sebastien Pouliot <spouliot@videotron.ca>
1375 * Module.cs: Oups - not implemented. Added MonoTODO to most methods
1376 so it's real status get reflected correctly on the web site.
1378 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1380 * MonoMethod.cs: implemented GetBaseDefinition ().
1382 2003-01-28 Patrik Torstensson
1383 * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
1384 * ReflectionSerializationHolder.cs: Support class for serialization
1386 2003-01-17 Zoltan Varga <vargaz@freemail.hu>
1388 * ParameterInfo.cs: modified constructor so it allows the
1389 ParameterBuilder to be null and add a 'position' argument which will
1390 be used when pb is null.
1392 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
1394 * Assembly.cs: added serialization support.
1396 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
1398 * MonoMethod.cs: propagate exceptions from the internal invoke
1399 code that need to be propagated.
1401 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
1403 * Binder.cs: throw an exception if the number of arguments
1404 when invoking a method is incorrect.
1406 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
1408 * Binder.cs: In SelectMethod() look for an exact match first.
1410 2003-01-01 Rachel Hestilow <hestilow@ximian.com>
1412 * MonoField.cs (SetValue): Fix logic typo. Check that obj is
1413 non-null only for the non-static case.
1415 2002-12-30 Sebastien Pouliot <spouliot@videotron.ca>
1417 * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by
1420 2002-12-23 Sebastien Pouliot <spouliot@videotron.ca>
1422 * AssemblyName.cs: GetPublicKey now return an empty array (not null)
1423 when an assembly isn't signed with a StrongName (to match MS
1424 implementation) and null when no assembly is referenced. Also removed
1425 commented code (no bug reported so it was probably not used).
1427 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
1429 * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
1430 provider for the return type of a method.
1432 2002-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1434 * AssemblyName.cs: little fix in FullName.
1436 2002-12-07 Sebastien Pouliot <spouliot@videotron.ca>
1438 * AssemblyName.cs: Added missing methods/interfaces. Fixed some
1439 code to match the MS Framework.
1440 * StrongNameKeyPair.cs: Completed the "visible" implementation.
1441 There must be some internal methods to allow signing with the key.
1443 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1445 * EventInfo.cs: implemented (Add|Remove)EventHandler.
1447 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
1449 * Assembly.cs: implemented GetManifestResourceStream (Type type,
1452 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1454 * Assembly.cs: changed name of GetType (string, bool, bool) to
1457 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1459 * TargetInvocationException.cs: modified default message.
1461 2002-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1464 * PropertyInfo.cs: fixed bug #31535.
1466 2002-09-27 Martin Baulig <martin@gnome.org>
1468 * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
1470 2002-09-24 Martin Baulig <martin@gnome.org>
1472 * Assembly.cs (MonoDebugger_GetType): New method to get a Type
1473 from its metadata token. This should only be used by the debugger.
1475 2002-09-21 Martin Baulig <martin@gnome.org>
1477 * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
1478 get the type of a local variable from its signature. This should only
1479 be used by the debugger.
1481 2002-09-20 Martin Baulig <martin@gnome.org>
1483 * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
1484 from its metadata token. This should only be used by the debugger.
1486 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1488 * Binder.cs: more default binder implementation.
1490 * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
1491 * MonoMethod.cs: use the binder in the Invoke () implementation.
1492 Implemented custom attributes methods and ToString for constructors.
1494 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
1496 * Binder.cs: finished the Binder class and implemented the default
1499 2002-09-03 Martin Baulig <martin@gnome.org>
1501 * Assembly.cs (Assembly.Location): Implemented.
1503 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1506 (GetValue): allow obj to be null (used for static fields).
1508 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1510 * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
1513 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
1515 * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen
1516 <tomi.pakarinen@welho.com>.
1518 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1520 * Assembly.cs: FullName now returns a proper string instead of
1521 something like 'file://...'.
1523 * AssemblyName.cs: added missing ToString method.
1525 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1527 * FieldInfo.cs: implemented SetValue.
1529 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1531 * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
1533 2002-08-14 Dick Porter <dick@ximian.com>
1535 * Assembly.cs: Stub out GetSatelliteAssembly
1537 2002-08-12 Tim Coleman <tim@timcoleman.com>
1539 Allow multiple parameters for GetValue ()
1541 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
1543 * Assembly.cs: implemented GetFile() and GetFiles().
1545 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
1547 * Assembly.cs: implemented EntryPoint and a few
1548 resource related methods.
1550 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
1552 * MethodBase.cs: implemented GetCurrentMethod.
1553 * Assembly.cs: implemented GetExecutingAssembly and
1556 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
1558 * MonoProperty.cs: handle properties with only a set method.
1560 2002-05-24 Martin Baulig <martin@gnome.org>
1562 * ParameterInfo.cs: Added internal constructor.
1564 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
1566 * Assembly.cs: implemented CreateInstance ().
1568 2002-05-22 Martin Baulig <martin@gnome.org>
1570 * MethodBase.cs (get_next_table_index): Added `object obj' argument.
1572 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
1574 * EventInfo.cs: more implementation.
1576 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1578 * MonoEvent.cs: fill-in the implementation.
1580 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1582 * Assembly.cs, AssemblyName.cs: updates and fixes.
1584 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
1586 * MonoProperty.cs (GetValue) : basic implementation to support nunit
1587 * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
1589 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1591 * MonoMethod.c: cache the method name.
1593 2002-04-12 Duncan Mak <duncan@ximian.com>
1595 * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
1598 * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
1601 * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
1604 * BindingFlags.cs: Added missing value "PutRefDispProperty".
1606 * FieldAttributes.cs: Removed value "HasSecurity".
1608 * ManifestResourceInfo.cs: Added missing properties FileName,
1609 ReferencedAssembly and ResourceLocation.
1611 * TargetInvocationException.cs: Added the missing constructors.
1613 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1615 * MonoMethod.cs: make Name property an icall.
1617 2002-04-08 Nick Drochak <ndrochak@gol.com>
1619 * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
1620 struct and interface.
1622 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
1624 * MonoEvent.cs: remove unused code.
1625 * MonoProperty: implement ToString().
1627 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
1629 * Assembly.cs: implement GetTypes() and GetExportedTypes().
1631 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
1633 * MonoEvent.cs: added the needed fields.
1635 2002-03-20 Martin Baulig <martin@gnome.org>
1637 * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
1639 * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
1641 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
1643 * MonoMethod.cs (Invoke): call InternalInvoke
1645 * MethodBase.cs (Invoke): call virtual invoke function
1647 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
1649 * EventInfo.cs: add compiler needed methods.
1650 * MonoMethod.cs: make ToString() return the return type name, too.
1652 2002-03-07 Nick Drochak <ndrochak@gol.com>
1654 * BindingFlags.cs: Add missing enum values. Thanks CorCompare.
1656 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1658 * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
1660 2002-02-26 Duncan Mak <duncan@ximian.com>
1662 * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
1664 2002-02-24 Nick Drochak <ndrochak@gol.com>
1666 * AssemblyNameFlags.cs: Use proper member name. Thanks corcompare!
1668 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
1670 * MonoField.cs: implement GetValue as an internalcall.
1671 Implemented ToString().
1673 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
1675 * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
1676 MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
1679 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
1681 * TypeAttributes.cs: update to latest spec.
1683 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
1685 * Assembly.cs: handle throwOnError in GetType() call.
1687 2002-02-07 Duncan Mak <duncan@ximian.com>
1689 * AssemblyName.cs: Implemented ISerializable interface for the
1690 fields that we have.
1692 2002-02-05 Duncan Mak <duncan@ximian.com>
1695 * TargetException.cs: Added in CVS.
1697 2002-01-31 Duncan Mak <duncan@ximian.com>
1699 * ReflectionTypeLoadException.cs: Added missing bits.
1701 2002-01-23 Duncan Mak <duncan@ximian.com>
1703 * AssemblyAlgorithmIdAttribute.cs:
1704 * AssemblyCompanyAttribute.cs:
1705 * AssemblyConfigurationAttribute.cs:
1706 * AssemblyCopyrightAttribute.cs:
1707 * AssemblyCultureAttribute.cs:
1708 * AssemblyDefaultAliasAttribute.cs:
1709 * AssemblyDelaySignAttribute.cs:
1710 * AssemblyDescriptionAttribute.cs:
1711 * AssemblyFileVersionAttribute.cs:
1712 * AssemblyFlagsAttribute.cs:
1713 * AssemblyInformationalVersionAttribute.cs:
1714 * AssemblyKeyFileAttribute.cs:
1715 * AssemblyKeyNameAttribute.cs:
1716 * AssemblyNameProxy.cs:
1717 * AssemblyProductAttribute.cs:
1718 * AssemblyTitleAttribute.cs:
1719 * AssemblyTradeMarkAttribute.cs:
1720 * AssemblyVersionAttribute.cs:
1721 * CustomAttributeFormatException.cs:
1722 * InvalidFilterCriteriaException.cs:
1723 * TargetParameterCountException.cs: Added.
1725 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1727 * Assembly.cs (Assembly.CodeBase): Implement.
1728 (Assembly.FullName): simplistic and broken implementation. Gets
1729 us where we were yesterday.
1733 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
1735 * IReflect.cs: corrected GetMember() return type.
1736 * InterfaceMapping.cs, TypeDelegator.cs: implemented.
1738 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1740 * MonoMethod.cs: ToString () implementation.
1742 2002-01-04 Ravi Pratap <ravi@ximian.com>
1744 * Assembly.cs : Decorate missing bits with the MonoTODO
1747 * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
1748 ReflectionTypeLoadException.cs : Ditto.
1750 * FieldInfo.cs : Ditto.
1752 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
1754 * Assembly.cs: trow unimplemented exceptions.
1756 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
1758 * MonoMethod.cs: implemented GetParameters().
1759 * MonoProperty.cs: PropertyInfo implementation.
1760 * ParameterInfo.cs: implemented.
1761 * PropertyInfo.cs: fixes.
1763 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
1765 * FieldInfo.cs: implemented some Is* propeties.
1766 * MethodBase.cs: fixed attribute accessors.
1767 * MonoField.cs: runtime object to represent a field.
1768 * MonoMethod.cs: runtime object to represent a method.
1769 * AssemblyBuilder.cs: GetToken() methods to get tokens for
1770 strings, fields, methods...
1771 * ILGenerator.cs: handle tokens for methods.
1773 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
1775 * MethodBase.cs: add internal get_next_table_index() for use in
1778 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
1780 * Assembly.cs: implement some of the Load() methods.
1781 * ConstructorInfo.cs: some missing stubs and fields.
1782 * FieldInfo.cs: IsInitOnly property.
1783 * ParameterInfo.cs: stubs for missing properties.
1784 * ParameterModifier.cs: implemented class.
1786 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
1788 * Assembly.cs: Filled in some stub implementations
1790 * ConstructorInfo.cs: Added some stub functions for NUnit
1792 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
1794 * AmbiguousMatchException.cs,
1795 * Assembly.cs, Module.cs: updates.
1796 * FieldInfo.cs: better compliance to the spec.
1797 * MethodBase.cs: move call_conv out of the way.
1798 * AssemblyBuilder.cs: don't use internalcalls, more stuff supported.
1799 * FieldBuilder.cs: implemented.
1800 * ILGenerator.cs: implemented some opcode handling.
1801 * Label.cs: add constructor.
1802 * LocalBuilder.cs: implemented.
1803 * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
1804 * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
1805 * ParameterBuilder.cs: implemented.
1806 * PropertyBuilder.cs: implemented.
1807 * TypeBuilder.cs: don't use internalcalls, more stuff working.
1809 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
1811 * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
1813 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
1815 * MethodBase.cs, MethodInfo.cs: added.
1817 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
1819 * Assembly.cs: added stub code.
1821 2001-07-18 Michael Lambert <michaellambert@email.com>
1823 * BindingFlags.cs: Add.