2 Tue May 8 13:04:35 CEST 2007 Paolo Molaro <lupus@ximian.com>
4 * FieldInfo.cs, MethodBase.cs: implemented new GetFieldFromHandle and
5 GetMethodFromHandle overloads (bug #78637).
7 2007-05-07 Zoltan Varga <vargaz@gmail.com>
9 * MonoMethod.cs (Invoke): Fix a warning.
11 * MonoMethod.cs (Invoke): Don't wrap ThreadAbortException inside a
12 TargetInvocationException on the 2.0 profile. Fixes #81538.
14 2007-04-09 Alp Toker <alp@atoker.com>
16 * MonoMethod.cs: Use StringBuilder for the entire ToString() methods
17 to reduce allocations and increase performance.
19 2007-04-09 Alp Toker <alp@atoker.com>
21 * MonoMethod.cs: Use StringBuilder for parms in ToString() methods.
23 2007-04-09 Alp Toker <alp@atoker.com>
25 * MethodBase.cs: IsGenericMethodDefinition() and IsGenericMethod()
26 should return false, not throw NotSupportedException. This matches MS
27 behaviour and introduces simplifications in subclasses.
28 * MonoMethod.cs: MonoCMethod: Remove redundant overrides.
30 2007-03-05 Peter Dettman <peter.dettman@iinet.net.au>
32 * Binder.cs: The patch changes Binder.Default.GetBetterMethod to
33 prefer methods in subclasses if the arg types can't disambiguate
36 Also fixes a typo in the CallingConventions comparison.
38 2007-03-01 Alp Toker <alp@atoker.com>
41 Add GetFieldFromHandle() 2.0 overload stub (NotImplemented).
43 2007-03-01 Alp Toker <alp@atoker.com>
45 * MethodBase.cs: Add missing ComVisible attr.
46 Add GetMethodFromHandle() 2.0 overload stub (NotImplemented).
48 2006-12-30 Marek Safar <marek.safar@gmail.com>
50 * MonoProperty.cs: Cache frequently used properties.
52 Thu Dec 14 13:50:48 CET 2006 Paolo Molaro <lupus@ximian.com>
54 * *.cs: added missing Serializable attributes.
56 Thu Dec 14 12:52:27 CET 2006 Paolo Molaro <lupus@ximian.com>
58 * MonoProperty.cs, ParameterInfo.cs, PropertyInfo.cs:
59 GetRequiredCustomModifiers()/GetOptionalCustomModifiers()
62 Tue Dec 12 20:35:10 CET 2006 Paolo Molaro <lupus@ximian.com>
64 * MethodBase.cs: added missing ComVisible attr.
65 * MethodInfo.cs: added a few missing methods that we implement
68 Tue Dec 12 19:45:26 CET 2006 Paolo Molaro <lupus@ximian.com>
70 * MonoEvent.cs: correctly obey the nonPublic flag in GetOtherMethods ().
71 * EventInfo.cs: remove NotImpl exception from GetOtherMethods ().
73 2006-10-19 Gert Driesen <drieseng@users.sourceforge.net>
75 * AssemblyName.cs: Revert change where filename was not converted to
76 absolute path before passing it to Assembly.InternalGetAssemblyName
77 as the CodeBase is not set in that case.
79 2006-10-17 Kornél Pál <kornelpal@gmail.com>
81 * FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a
82 NotSupportedException is the proper implementation.
83 * ParameterInfo.cs: Use Attributes in Is... properties on profile 2.0
84 that is expected by subclasses.
86 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
88 * AssemblyName.cs: No need to convert filename to absolute path before
89 passing it to Assembly.InternalGetAssemblyName. This allows our
90 exception messages to be better match those of MS.
92 2006-09-29 Jb Evain <jbevain@gmail.com>
94 * MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.
96 2006-09-02 Zoltan Varga <vargaz@gmail.com>
98 * ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from
99 Peter Dettman (peter.dettman@iinet.net.au). Implement ReturnParameter
102 * Binder.cs (ReorderParameters): Really fix this.
104 * Binder.cs (ReorderParameters): Fix this method. Fixes #79120.
106 2006-09-01 Raja R Harinath <rharinath@novell.com>
108 * MonoMethod.cs (ToString): Update to handle change in byref type names.
110 2006-08-08 Gert Driesen <drieseng@users.sourceforge.net>
112 * Assembly.cs: On 2.0 profile, throw FileNotFoundException for
113 linked resources in GetManifestResourceStream when assembly is
114 loaded from byte array.
116 2006-07-12 Zoltan Varga <vargaz@gmail.com>
118 * MonoMethod.cs (ContainsGenericParameters): Implement.
120 * MonoMethod.cs (Invoke): Prevent invoking of open generic methods.
122 2006-07-09 Gert Driesen <drieseng@users.sourceforge.net>
124 * Assembly.cs: When assembly is loaded from byte array, return null
125 for linked resources in GetManifestResourceStream. Fixes bug #78468.
127 2006-07-09 Zoltan Varga <vargaz@gmail.com>
129 * Binder.cs: Add back the support for BindingFlags.ExactBinding. Fixes #78592.
131 2006-06-30 Zoltan Varga <vargaz@gmail.com>
133 * Binder.cs: Comment out the ExactBinding stuff for the release as it breaks some
136 2006-06-07 Zoltan Varga <vargaz@gmail.com>
138 * Binder.cs: Add support for BindingFlags.ExactBinding. Fixes #78592.
140 2006-05-28 Gert Driesen <drieseng@users.sourceforge.net>
142 * MethodBase.cs: GetMethodBody should not throw ArgumentException for
143 a method with no IL body. Fixes bug #78522.
145 2006-05-10 Zoltan Varga <vargaz@gmail.com>
147 * Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
149 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
151 * Binder.cs : (Default.SelectMethod)
152 don't throw AmbiguousMatchException when one of conflicting method
153 matches weakly. Fixed bug #42547.
155 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
157 * Binder.cs : (Default.BindToMethod) reorder parameters based
158 on namedParameters. Fixed bug #41691.
160 2006-05-03 Jb Evain <jbevain@gmail.com>
162 * MonoField.cs (GetValue,SetValue): throw a TargetException
163 when the field is non static and the target is null.
165 2006-03-12 Zoltan Varga <vargaz@gmail.com>
167 * Binder.cs: Applied patch from Ben to fix #74947.
169 2006-03-01 Miguel de Icaza <miguel@novell.com>
171 * Assembly.cs: Cache the AssemblyName, patch from Tambet. This
172 reduces the memory usage during remoting.
174 2006-02-16 Martin Baulig <martin@ximian.com>
176 * FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.
178 2006-02-15 Martin Baulig <martin@ximian.com>
180 * MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
181 (MethodBase.Mono_IsInflatedMethod): Removed.
182 (MethodBase.HasGenericParameters): Removed.
184 * MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
185 here from MethodBase.
188 (MonoMethod.IsGenericMethodDefinition): This is now an icall.
189 (MonoMethod.IsGenericMethod): Likewise.
191 2006-02-14 Martin Baulig <martin@ximian.com>
194 (MonoCMethod.IsGenericMethod): Override this and return false; the
195 MS runtime doesn't throw an exception here.
197 2006-02-08 Martin Baulig <martin@ximian.com>
199 * MonoGenericClass.cs (MonoGenericClass.IsAssignableFrom):
200 Override and implement this; fixes #77395.
202 2006-02-07 Martin Baulig <martin@ximian.com>
205 (MonoMethod.IsGenericMethod): Only return true for "real" generic
206 methods and not for arbitrary instantiated methods.
207 (MonoMethod.IsGenericMethodDefinition): Only return true for
208 generic method definitions, but not for instantiated generic
209 methods. This is no longer an interncall. Fixes #77466.
211 2006-02-03 Zoltan Varga <vargaz@gmail.com>
213 * MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
216 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
218 * Assembly.cs: Fixed #75950. The icall has been changed to accept a
219 boolean so it can return a non-escaped code base.
221 2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
223 * MonoMethod.cs : made MakeGenericMethod() indirect icall to
224 MakeGenericMethod_impl() and raise an error when it returns null.
226 2005-11-15 Zoltan Varga <vargaz@gmail.com>
228 * Module.cs: Add MDStreamVersion property.
230 * Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs
231 CustomAttributeData.cs PortableExecutableKinds.cs
232 ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
235 2005-11-11 Marek Safar <marek.safar@seznam.cz>
237 * MethodBase.cs, TypeDelegator.cs: Reflect Type changes.
239 2005-10-30 Zoltan Varga <vargaz@freemail.hu>
241 * FieldInfo.cs: Add an internal UMarshal property which can by
242 overriden in FieldBuilder.
244 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
246 * MonoMethod.cs : (ToString) add suffix " ByRef" for byref parameters.
249 2005-10-04 Martin Baulig <martin@ximian.com>
251 * MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
252 return type from `MonoGenericClass to `Type'.
254 2005-09-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
256 * AssemblyName.cs: Add ParseName internal call, to parse
257 long format assembly names.
259 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
261 * MonoProperty.cs: Invoke throws a SecurityException but GetValue must
262 throw TargetInvocationException with the SecurityException as an inner
263 exception. See CAS unit tests for System.Web.dll.
265 2005-09-20 Martin Baulig <martin@ximian.com>
267 * Assembly.cs: Removed some unused debugger icalls.
269 2005-09-17 Zoltan Varga <vargaz@freemail.hu>
271 * Module.cs: Remove obsolete Mvid property.
273 2005-09-09 Martin Baulig <martin@ximian.com>
275 Reflect latest API changes in the August CTP.
277 * MethodBase.cs (MethodBase.MakeGenericMethod): Removed.
279 * MethodInfo.cs (MethodInfo.MakeGenericMethod): Added here.
281 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
283 * AssemblyName.cs: Apply second half of Chris Micacchi's patch
285 2005-09-07 Miguel de Icaza <miguel@novell.com>
287 * AssemblyName.cs: Apply patch from Chris Micacchi to serialize
288 the keyToken as "_PublicKeyToken".
290 2005-09-05 Martin Baulig <martin@ximian.com>
292 Reflect latest API changes in the August CTP.
294 * GenericParameterAttributes.cs: Here.
296 * MethodBase.cs (MethodBase.BindGenericParameters): Renamed to
299 2005-09-05 Martin Baulig <martin@ximian.com>
301 * Assembly.cs (MonoDebugger_GetMethodToken): Don't take an
304 2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
306 * Assembly.cs: made GetManifestResourceInternal internal. Fixes the
309 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
311 * Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
312 * ConstructorInfo.cs: Added GetType() method in 1.1 to match
313 MS.NET, implemented _ConstructorInfo.
314 * EventInfo.cs: Added GetType() method in 1.1 to match MS.NET,
315 implemented _EventInfo.
316 * FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET,
317 implemented _FieldInfo.
318 * MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET,
319 implemented _MemberInfo.
320 * MethodBase.cs: Added GetType() method in 1.1 to match MS.NET,
321 implemented _MethodBase.
322 * MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET,
323 implemented _MethodInfo.
324 * PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET,
325 implemented _PropertyInfo.
326 * TypeAttributes.cs: CustomFormatMask and CustomFormatClass should
327 only be exposed in 2.0 profile.
329 2005-07-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
331 * CustomAttributeTypedArgument: Return the name of the
332 enum if the type is an enum in ToString ().
334 2005-06-21 Sebastien Pouliot <sebastien@ximian.com>
336 * Assembly.cs: Create a copy of the evidences and add an instance of
337 PermissionRequestEvidence to it before resolution. This way the PRE
338 won't be present when asking for evidences later. Removed debugging
341 2005-06-13 Michal Moskal <malekith@nemerle.org>
343 * MonoGenericClass.cs: Don't use MethodHandle in GetMethod/GetConstructor,
344 since it now throws on MethodBuilders. Don't use FieldHandle in
345 GetField (throws on FieldBuilder) - just use the name.
347 2005-06-15 Sebastien Pouliot <sebastien@ximian.com>
349 * Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
350 FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
351 ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
352 attributes that were added in 1.1 SP1 or 2.0 beta2.
354 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
356 * Binder.cs: null is ok for a value type. Fixes bug #75241.
358 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
360 * Assembly.cs: UnprotectedGetName is now virtual to allow for more
361 initialization in AssemblyBuilder. The [Granted|Refused]PermissionSet
362 now use the ResolvingPolicyLevel to support the policy
363 FullTrustAssemblies during resolution.
364 * AssemblyName.cs: Return null instead of "new byte [0]" if no public
367 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
368 * MonoGenericClass.cs: Add overrides of Get{Method,Constructor,Field}
369 for obtaining instanciated *Info objects from non-instanciated counterparts
372 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
374 * CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.
376 * *.cs: Updates for net 2.0 beta 2.
378 2005-06-07 Zoltan Varga <vargaz@freemail.hu>
380 * *.cs: Updates for net 2.0 beta 2.
382 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
384 * CustomAttributeData.cs: Implemented.
386 * CustomAttributeDataNamedArgument.cs: Implemented.
388 * CustomAttrbuteDataTypedArgument.cs: Implemented.
390 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
392 * Assembly.cs ExceptionHandlingClause.cs: Fix build.
394 * ProcessorArchitecture.cs: New file.
396 * ExceptionHandlingClause.cs: Update after ExceptionHandlingClauseFlags name change.
398 * *.cs: Updates for net 2.0 beta 2.
400 * *.cs: Add net 2.0 ComVisibleAttribute.
402 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
404 * Assembly.cs: if the assembly is loaded from a byte array, Location
405 returns "". Fixes bug #74958.
407 2005-06-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
409 * AssemblyName.cs: Changes to support the creation of version
410 instance from icalls. This change also helps to keep the
411 AssemblyName tests running fine.
413 2005-05-26 Ben Maurer <bmaurer@ximian.com>
415 * Binder.cs: Avoid double checked locking and lock on typeof by
416 doing init of the default binder in the cctor.
418 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
420 * Assembly.cs: Avoid security checks if Assembly.Location is "".
422 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
424 * TypeDelegator.cs: Implement some methods.
426 * TypeDelegator.cs: Revert this as it breaks the build.
428 * TypeDelegator.cs: Implement some methods.
430 2005-05-19 Satya Sudha K <ksathyasudha@novell.com>
431 Raja R Harinath <rharinath@novell.com>
433 * Missing.cs (Missing.Value): Initialize.
435 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
437 * Binder.cs: Use IsInstanceOfType instead of IsAssignableFrom
438 since GetType() may not return the correct type if the object is
439 a remoting proxy. This fixes bug #74933.
441 2005-05-13 Zoltan Varga <vargaz@freemail.hu>
443 * MonoField.cs: Applied patch from Opened by Michael Meeks (michael@ximian.com). Improve exception message on binding failures.
445 2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
447 * MonoField.cs: Added a Clone method. This is needed for serialization.
449 2005-05-07 Ben Maurer <bmaurer@ximian.com>
451 * MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.
453 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
455 * Module.cs: Update for beta 2.
457 * CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.
459 2004-05-03 Lluis Sanchez <lluis@ximian.com>
461 * Assembly.cs: Don't remove version and culture information from
462 the name, since it will be used by load_with_partial_name.
464 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
466 * Assembly.cs: Added some CAS security to avoid returning restricted
467 information to partially truster callers (e.g. code base). Added new
468 methods to get the Evidence and AssemblyName so that the security
469 runtime can bootstrap itself (without calling itself).
471 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
473 * Assembly.cs: Added missing null check in GetObjectData.
475 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
477 * AssemblyName.cs: Added a demand for SerializationFormatter on
478 GetObjectData method.
480 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
482 * AssemblyName.cs: Implemented EscapedCodeBase using the copy of
483 System.Uri (System.dll) located in Mono.Security.Uri. Added missing
484 null check in GetObjectData.
485 * Module.cs: Added a FileIOPermission for PathDiscovery on
486 FullyQualifiedName property (but not on Name property like MS).
487 Added missing null check in GetObjectData.
488 * StrongNameKeyPair.cs: Added demands for unmanaged code to all
489 constructors (as we do not want partially trusted code to create
490 strongnamed assemblies).
492 2005-03-30 Zoltan Varga <vargaz@freemail.hu>
494 * Binder.cs (check_type): Fix byref support. Fixes #73972.
496 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
498 * MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class.
499 * Module.cs: Add a LinkDemand for SerializationFormatter on
500 GetObjectData method.
502 2005-03-16 Sebastien Pouliot <sebastien@ximian.com>
504 * Assembly.cs: Implemented EscapedCodeBase using the copy of
505 System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.
507 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
509 * MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand
510 (i.e. stack walk) when reflection is being used to invoke a method.
512 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
514 * Assembly.cs: LoadFrom: Change signature to support reflection only
515 methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
516 implemented; InvalidOperationException's re-thrown by CreateInstance.
517 Also ReflectionOnly 2.0 property added.
519 * MonoMethod.cs: InvalidOperationException's are re-thrown when calling
520 Invoke method on reflection only assemblies.
522 2005-02-22 Raja R Harinath <rharinath@novell.com>
524 * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
525 'abstract' so that this class can be derived outside of corlib.
527 2005-02-16 Miguel de Icaza <miguel@novell.com>
529 * MonoEvent.cs: Put new methods here.
531 * EventInfo.cs: Move the methods GetCustomAttributes, and
532 IsDefined from EventInfo to MonoEvent.
534 Remove the methods that were not supposed to be exposed: Name,
535 ReflectedType, DeclaringType.
537 2005-02-12 Chris Toshok <toshok@ximian.com>
539 * Assembly.cs: Correct the type of MonoDebugger_MakeArrayType.
541 2005-02-12 Ben Maurer <bmaurer@ximian.com>
543 * Binder.cs (SelectProperty): Use -1 as the dummy `I don't know
544 how many types' value.
546 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
548 * Assembly.cs: Fix warning.
550 2005-02-10 Martin Baulig <martin@ximian.com>
552 * Module.cs (MonoDebugger_ResolveType): New internal method.
554 * Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
555 (MonoDebugger_GetTypeToken): New internal method.
557 2005-02-10 Martin Baulig <martin@ximian.com>
559 * Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.
561 2005-02-10 Marek Safar <marek.safar@seznam.cz>
564 * ConstructorInfo.cs,
570 * PropertyInfo.cs: ClassInterfaceType is None.
572 Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>
574 * Module.cs: removed the finalizer and the now unused Close() icall.
576 2005-01-21 Sebastien Pouliot <sebastien@ximian.com>
578 * Assembly.cs: Fixed add for ModuleResolve.
580 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
582 * LocalVariableInfo.cs: Add ToString method.
584 * ExceptionHandlingClause.cs: Implement this.
586 2005-01-18 Zoltan Varga <vargaz@freemail.hu>
588 * MethodBase.cs MonoMethod.cs: Hopefully fix the build.
590 * MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().
592 2005-01-03 Martin Baulig <martin@ximian.com>
594 * MonoGenericMethod.cs
595 (MonoGenericMethod.get_reflected_type): Removed.
596 (MonoGenericMethod.ReflectedType): Make this an icall.
597 (MonoGenericCMethod.ReflectedType): Likewise.
599 2004-12-29 Martin Baulig <martin@ximian.com>
601 * MonoGenericMethod.cs: New file.
603 2004-12-21 Sebastien Pouliot <sebastien@ximian.com>
605 * Assembly.cs: Added private LoadAssemblyPermissions to get the
606 declarative security permission sets (minimum, optional and refused)
609 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
611 * Assembly.cs: Removed old Demand support (moved in System.Security).
613 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
615 * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
616 the gmcs bugs blocking them are fixed.
618 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
620 * Assembly.cs: Move corlib_internal field to AssemblyBuilder.
622 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
624 * Assembly.cs: Add corlib_internal field.
626 2004-11-30 Martin Baulig <martin@ximian.com>
628 * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
629 renamed the class from `MonoGenericInst' to `MonoGenericClass'.
631 2004-11-05 Zoltan Varga <vargaz@freemail.hu>
633 * AssemblyName.cs (FullName): Omit default values from full name.
635 * Assembly.cs: Implement GetFiles (bool).
637 * Binder.cs: Add support for byref types. Fixes #69140.
639 2004-10-12 Martin Baulig <martin@ximian.com>
641 * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
642 before calling the *_internal() methods.
644 2004-10-12 Zoltan Varga <vargaz@freemail.hu>
646 * MethodBody.cs: Implement this.
648 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
650 * Module.cs: Handle the case when the global type does not exists.
652 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
654 * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
657 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
659 * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].
661 * PropertyInfo.cs: Add stub for GetConstantValue ().
663 * ParameterInfo.cs (marshalAs): Make this private.
665 * Module.cs (ModuleHandle): Add [CLSCompliant(false)].
667 * LocalVariableInfo.cs MethodBody.cs: Disable default constructor.
669 * ExceptionHandlingClause.cs: Disable default constructor.
671 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
673 * CustomAttributeData.cs CustomAttributeTypedArgument.cs
674 CustomAttributeNamedArgument.cs: New files.
676 * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
677 ExceptionHandlingClauseFlags.cs: New files.
679 2004-09-26 Zoltan Varga <vargaz@freemail.hu>
681 * FieldInfo.cs: Add support for returning MarshalAsAttribute.
683 * ParameterInfo.cs: Add marshalAs field, add support for returning
686 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
688 * Module.cs: Add new 2.0 GetMethods and GetFields methods.
690 * ParameterInfo.cs: Add GetPseudoCustomAttributes () method.
692 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
694 * MonoField.cs: Add GetFieldOffset.
696 * ObfuscationAttribute.cs: Add ApplyToMembers.
698 * Assembly.cs: Add stub for ReflectionOnlyLoadFrom.
700 * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.
702 * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method.
704 * AssemblyNameFlags.cs: Add LongevityUnspecified.
706 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
708 * Module.cs: Remove [MonoTODO] from ResolveMember.
710 * MemberInfo.cs: Add 'Module' property.
712 * AssemblyFlagsAttribute.cs: Add 2.0 stuff.
714 * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
715 to LoadWithPartialName on 2.0.
717 * AssemblyNameFlags.cs: Add new 2.0 members.
719 * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.
721 * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.
723 * EventInfo.cs: Fix 2.0 build.
725 * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.
727 * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.
729 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
731 * Module.cs: Implement net 2.0 ResolveXXX methods.
733 * Module.cs (resolve_token_exception): Fix type of exception thrown.
735 2004-09-21 Martin Baulig <martin@ximian.com>
737 * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.
739 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
741 * Assembly.cs: Implement 2.0 reflection properties.
743 * Module.cs: Implement 2.0 reflection properties. Add 'token' field.
745 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
747 * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
750 * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.
752 * Module.cs: Add ModuleHandle property and new icalls.
754 2004-09-18 Zoltan Varga <vargaz@freemail.hu>
756 * Module.cs: Add net 2.0 Mvid property.
758 2004-08-30 Sebastien Pouliot <sebastien@ximian.com>
760 * Assembly.cs: Added internal Demand(PermissionSet) for CAS.
762 2004-08-30 Zoltan Varga <vargaz@freemail.hu>
764 * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to
767 2004-08-29 Zoltan Varga <vargaz@freemail.hu>
769 * MethodBase.cs (GetMethodFromHandle): Implement.
771 2004-08-13 Marek Safar <marek.safar@seznam.cz>
773 * Assembly.cs: Made _minimum, _optional, _refuse fields internal.
774 To be reusable by AssemblyBuilder.
776 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
778 * Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0
779 properties (required for compiling the new unit tests).
780 * PortableExecutableKind.cs: New. Flags for NET_2_0.
781 * ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0.
783 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
785 * Assembly.cs: Get default evidences when no evidences have been
786 supplied. Added internal methods for CAS.
787 * AssemblyName.cs: New constructor for NET_2_0.
789 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
791 * Assembly.cs: Added new fields for CAS to match the runtime (v23).
793 2004-07-29 Martin Baulig <martin@ximian.com>
795 * Module.cs (Mono_GetGuid): Make this static.
797 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
799 * Module.cs: return just name in ToString (bug #61287).
801 2004-07-03 Zoltan Varga <vargaz@freemail.hu>
803 * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
805 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
807 * Pointer.cs: remove serializable attribute to match MS.NET
809 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
811 * ParameterModifier.cs: marked serializable, renamed field to match
812 MS.NET, throw ArgumentException when parameter count is less than or
815 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
817 * AssemblyName.cs: added TODO for serialization
818 * Pointer.cs: fixed Box method to return object instead of
821 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
823 * MemberInfo.cs: Changed constructor from internal to protected.
825 2004-06-11 Martin Baulig <martin@ximian.com>
827 * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
829 2004-06-11 Lluis Sanchez <lluis@ximian.com>
831 * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match
832 MS implementation. Generate the RSA in the constructors.
834 2004-06-10 Lluis Sanchez <lluis@ximian.com>
836 * AssemblyName.cs: Added missing fields to serialization methods.
837 * StrongNameKeyPair.cs: Made it compatible with MS serialization.
839 2004-06-08 Jacson Harper <jackson@ximian.com>
841 * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
842 runtime. This way the codebase is set properly. The codebase is
843 using g_filename_to_uri which expects a full path.
845 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
847 * Binder.cs: don't crash when we have a 'null' argument Type array.
848 Allow it for non-value types. Fixed for both, methods and properties.
851 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
853 * Binder.cs: default score must be lower than fail_score or we'll get
854 an ambiguous match when no indexers given and one single match is found.
856 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
858 * Binder.cs: removed ^Ms. In case of several properties matching, try
859 to disambiguate based on the indexer types provider and the conversions
860 from those into the ones of the property.
862 2004-05-31 Gert Driesen <drieseng@users.sourceforge.net>
864 * Assembly.cs: added missing ComVisible attribute on
865 ImageRuntimeVersion property
866 * ConstructorInfo.cs: added missing attributes on Invoke
867 * EventInfo.cs: added missing attributes
868 * FieldInfo.cs: added missing attributes
869 * MethodBase.cs: added missing attributes
870 * PropertyInfo.cs: added missing attributes
872 2004-05-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
874 * FieldInfo.cs: changed default constructor from internal to protected, so classes
875 that inherit from it can get build.
877 2004-05-18 Gert Driesen (drieseng@users.sourceforge.net)
879 * MonoProperty.cs: return correct MethodInfo for
880 property with only a get or set method. Fixes
883 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
885 * Assembly.cs: Return an empty Evidence collection to avoid
886 NullReferenceException from calling code (as this is never
887 null with MS implementation). See bugzilla #53548.
889 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
891 * Assembly.cs: Add stub for LoadFrom.
893 * Assembly.cs: Fix build.
895 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
897 * Assembly.cs: Add ModuleResolve event.
899 * Module.cs (Mono_GetGuid): Make this internal.
901 * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
903 2004-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
905 * Binder.cs: check for ambiguous matches in SelectMethod and
906 SelectProperty. Fixes bug #58381.
908 2004-05-06 Jackson Harper <jackson@ximian.com>
910 * Assembly.cs: remove TODO, this is done.
912 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
914 * Assembly.cs: ToString () returns the same as GetName ().ToString ().
917 2004-05-03 Jackson Harper <jackson@ximian.com>
919 * Assembly.cs: Implement LoadWithPartialName. The bulk of this
920 method is done in the runtime.
922 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
924 * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
925 is private (it did until now because of a bug). Make sure it works as it
926 worked before the fix.
928 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
930 * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs:
931 Removed completed TODOs.
932 * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
933 do not return private methods if nonPublic == false.
934 * ReflectionTypeLoadException.cs: Implemented serialization support.
936 2004-04-26 Jackson Harper <jackson@ximian.com>
938 * Assembly.cs: Add icall to determine if an assembly has been
941 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
943 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
944 The fix should be easier ;)
946 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
948 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
949 NET_2_0 related build fix.
951 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
953 * Assembly.cs: Removed TODO for CreateQualifiedName.
954 * AssemblyName.cs: Fixed serialization code.
955 * AssemblyNameProxy.cs: Implemented.
956 * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
958 2004-04-07 Martin Baulig <martin@ximian.com>
960 * MonoGenericInst.cs (MonoGenericParam): Removed.
962 2004-04-07 Martin Baulig <martin@ximian.com>
965 (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
967 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
968 (MonoGenericInst.GetNestedTypes): Just call
969 `generic_type.GetNestedTypes (bf)' here.
971 * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
972 include the type arguments.
974 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
976 * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
977 correct StrongName instance when the ECMA "key" is used.
979 2004-04-02 Martin Baulig <martin@ximian.com>
981 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
983 2004-04-01 Martin Baulig <martin@ximian.com>
985 * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
986 this and always return false.
988 2004-04-01 Martin Baulig <martin@ximian.com>
990 * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.
992 2004-03-30 Martin Baulig <martin@ximian.com>
995 (MonoGenericParam): Added `bool has_ctor_constraint' field.
996 (MonoGenericParam.SetConstraints): Added `bool
997 has_ctor_constraint' argument.
999 2004-03-29 Martin Baulig <martin@ximian.com>
1001 * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
1003 (MethodBase.HasGenericParameters): Use the "official" behavior
1004 here, ie. return false if we're not a generic method.
1006 2004-03-29 Martin Baulig <martin@ximian.com>
1008 * MethodBase.cs: Moved the generics stuff here, made it virtual
1009 where neccessary and use the correct API.
1011 2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
1013 * StrongNameKeyPair.cs: Added an internal method to return a
1014 StrongName object (for AssemblyBuilder). Simplified implementation
1015 using Mono.Security.Cryptography.CryptoConvert class.
1017 2004-03-24 Zoltan Varga <vargaz@freemail.hu>
1019 * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
1021 2004-03-23 Martin Baulig <martin@ximian.com>
1023 * MonoGenericInst.cs: Added support for events.
1025 2004-03-23 Martin Baulig <martin@ximian.com>
1027 * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
1028 if it's the empty string.
1030 2004-03-10 Martin Baulig <martin@ximian.com>
1032 * MethodBase.cs (MethodBase): Implemented
1033 GetGenericMethodDefinition() and HasGenericParameters.
1035 2004-03-09 Martin Baulig <martin@ximian.com>
1037 * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
1038 `declaring_type' and `reflected_type'.
1039 (MonoEvent): Distinguish between declaring and reflected type.
1041 2004-02-25 Martin Baulig <martin@ximian.com>
1043 * MonoGenericInst.cs
1044 (MonoGenericInst.GetNestedTypes): Override this.
1046 2004-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1049 (SelectProperty): check the return Type if provided.
1051 2004-02-17 Martin Baulig <martin@ximian.com>
1053 * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
1054 support for properties.
1056 2004-02-17 Martin Baulig <martin@ximian.com>
1058 * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
1059 class hierarchy and return members from the parent classes.
1060 (GetConstructors, GetFields): Likewise.
1062 2004-02-17 Martin Baulig <martin@ximian.com>
1064 * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
1065 all the members here; we only do this for members of the current
1066 class and only when they're actually queried for.
1068 2004-02-12 Martin Baulig <martin@ximian.com>
1070 * MonoGenericInst.cs (MonoInflatedField): Removed.
1072 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
1074 2004-02-08 Martin Baulig <martin@ximian.com>
1076 * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
1077 invocations the `reflected' type as `reflected', not `this'.
1078 (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
1080 2004-02-08 Martin Baulig <martin@ximian.com>
1082 * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
1083 (MonoGenericInst.GetInterfaces_internal): New interncall.
1084 (MonoGenericInst): Reflect latest API changes; use GetParentType()
1085 and GetInterfaces_internal() instead of the fields.
1087 2004-02-06 Martin Baulig <martin@ximian.com>
1089 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
1091 2004-02-03 Martin Baulig <martin@ximian.com>
1093 * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
1095 2004-01-25 Martin Baulig <martin@ximian.com>
1097 * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
1099 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
1101 * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
1102 a reference on the Module object which contains the resource.
1104 * Module.cs: Decrease the image reference count when the Module is
1107 2004-01-16 Martin Baulig <martin@ximian.com>
1109 * Assembly.cs: Make the `MonoDebugger_' methods static.
1111 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1113 * MonoProperty.cs: changed get_property_info so that it only gets the
1114 values needed. Reduces the allocations needed.
1116 2004-01-15 Martin Baulig <martin@ximian.com>
1118 * Assembly.cs: Make the `MonoDebugger_' methods internal.
1120 2004-01-04 Nick Drochak <ndrochak@gol.com>
1122 * Assembly.cs: Removed unused variable in catch block.Eliminates a build
1125 2003-12-29 Ben Maurer <bmaurer@users.sourceforge.net>
1127 * MethodBase.cs: Internal method to get param count (this
1128 way we can get the info for the ilgen without creating
1129 an array, if we override the method).
1131 2003-12-18 Zoltan Varga <vargaz@freemail.hu>
1133 * Assembly.cs: Implement LoadFrom.
1135 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
1137 * Assembly.cs: Add stubs for LoadFile.
1139 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
1141 * Assembly.cs (GetManifestResourceStream): Only load non-embedded
1142 resources from files.
1144 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
1146 * MonoField.cs (SetValue): Throw an exception if the value cannot be
1147 converted to the field's type. Fixes #52177.
1149 2003-12-11 Lluis Sanchez Gual <lluis@ximian.com>
1151 * AmbiguousMatchException.cs: Added serialization constructor.
1153 2003-12-08 Martin Baulig <martin@ximian.com>
1155 * MonoGenericInst.cs (MonoGenericParam): New internal class;
1156 derives from MonoType.
1158 2003-12-08 Patrik Torstensson <p@rxc.se>
1160 * Binder.cs: Added internal helpers to get derived level and select the
1161 most derived methodbase (used in GetMethodImpl)
1163 2003-11-25 Zoltan Varga <vargaz@freemail.hu>
1165 * Assembly.cs (LoadWithPartialName): Return null instead of throwing
1166 an exception to match MS behavior.
1168 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
1170 * MonoMethod.cs: Add missing constructor.
1172 2003-11-21 Zoltan Varga <vargaz@freemail.hu>
1174 * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
1176 2003-11-16 Martin Baulig <martin@ximian.com>
1178 * MonoGenericInst.cs (MonoGenericInst.inflate): Call
1179 `parent.inflate (parent,...)' instead of
1180 `parent.inflate (reflected,...)'.
1182 2003-11-16 Zoltan Varga <vargaz@freemail.hu>
1184 * Assembly.cs (InternalGetAssemblyName): New icall.
1186 * AssemblyName.cs (GetAssemblyName): Implement this without loading
1187 the assembly in question. Fixes #51035.
1189 2003-11-14 Martin Baulig <martin@ximian.com>
1191 * MonoGenericInst.cs (MonoGenericInst): Added
1192 `MonoGenericInst[] interfaces' field. This is only used for
1194 (MonoGenericInst.inflate): If we're an interface type, add the
1195 methods from all interfaces we inherit.
1197 2003-11-14 Zoltan Varga <vargaz@freemail.hu>
1199 * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values
1202 * *.cs: Add missing attributes.
1204 2003-11-11 Todd Berman <tberman@gentoo.org>
1206 * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
1208 2003-11-11 Zoltan Varga <vargaz@freemail.hu>
1210 * MonoMethod.cs: Implement CallingConvention member.
1212 2003-11-10 Zoltan Varga <vargaz@freemail.hu>
1214 * Assembly.cs (InternalGetType): Add a 'module' argument so this
1215 method can be used from Module as well.
1217 * Module.cs (GetType): Implement.
1219 * Module.cs (GetTypes): Implement.
1221 * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
1222 2003-11-08 Martin Baulig <martin@ximian.com>
1224 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
1225 a private `IntPtr ginst' field.
1226 (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
1228 2003-11-02 Martin Baulig <martin@ximian.com>
1230 * MonoGenericInst.cs (MonoGenericInst.initialize): Include members
1231 from our parent classes in the `methods', `ctors' and `fields'
1232 arrays. When inflating them, reflection now sets their
1233 `declaring_type' and `reflected_type' fields.
1234 (MonoInflatedMethod, MonoInflatedCtor): Added
1235 `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
1236 fields and override the `DeclaringType' and `ReflectedType' properties.
1238 2003-11-02 Martin Baulig <martin@ximian.com>
1240 * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
1242 2003-10-31 Martin Baulig <martin@ximian.com>
1244 * MonoGenericInst.cs (MonoInflatedField): New internal class.
1245 (MonoGenericInst.GetFields): Override this method and inflate
1248 * MonoField.cs: Don't make this class sealed.
1250 2003-10-30 Martin Baulig <martin@ximian.com>
1252 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
1255 2003-10-25 Martin Baulig <martin@ximian.com>
1257 * MonoGenericInst.cs: New internal class.
1259 2003-10-18 Martin Baulig <martin@ximian.com>
1261 * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
1262 abstract; use an interncall in MonoMethod and a custom
1263 implementation in MethodBuilder.
1265 2003-10-17 Pedro Martínez Juliá <yoros@wanadoo.es>
1267 * MonoEvent.cs: implement ToString method as in MS.NET.
1269 * MonoMethod.cs: fix some differences between mono and MS.NET
1270 implementation of ToString.
1272 2003-10-17 Zoltan Varga <vargaz@freemail.hu>
1274 * AssemblyName.cs: Fix Version property when some version fields are
1277 2003-10-17 Martin Baulig <martin@ximian.com>
1279 * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
1280 (MethodInfo.BindGenericParameters): New method.
1282 2003-10-16 Martin Baulig <martin@ximian.com>
1284 * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
1287 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
1289 * ParameterInfo.cs: Modified constructor of ParameterInfo for
1290 the return type of a method. Since parameter positions are
1291 zero-based, the position of the return type must be is -1.
1293 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1295 * TargetInvocationException.cs: Fixed signature
1297 2003-07-24 Miguel de Icaza <miguel@ximian.com>
1299 * TypeDelegator.cs: Added generics stubs.
1301 2003-07-21 Lluis Sanchez Gual <lluis@ximian.com>
1303 * ParameterInfo.cs: Position is zero-based in ParameterInfo.
1304 Set the right position value when getting from ParameterBuilder.
1306 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
1308 * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
1309 finer-grained icalls. Requires a matching runtime.
1311 2003-07-11 Zoltan Varga <vargaz@freemail.hu>
1313 * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
1315 * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
1317 2003-07-10 Zoltan Varga <vargaz@freemail.hu>
1319 * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
1321 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
1323 * Pointer.cs: implemented.
1325 2003-06-15 Zoltan Varga <vargaz@freemail.hu>
1327 * EventInfo.cs: Implement IsSpecialName.
1329 2003-06-10 Zoltan Varga <vargaz@freemail.hu>
1331 * Module.cs (Mono_GetGuid): New method to return the GUID of the
1334 2003-05-21 Zoltan Varga <vargaz@freemail.hu>
1336 * Module.cs: Implement GetField and its friends.
1338 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
1340 * Assembly.cs (GetManifestResourceStream): Moved handling of
1341 linked resources into managed code using the newly implemented
1342 GetManifestResourceInfo () method.
1344 2003-05-19 Zoltan Varga <vargaz@freemail.hu>
1346 * Module.cs: Implemented IsResource.
1348 * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
1349 GetModule, GetLoadedModules methods.
1350 * Assembly.cs (GetManifestResourceStream): Added support for
1351 resources in extern assemblies.
1353 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1355 * Assembly.cs: fixed bug #42833.
1357 2003-05-11 Miguel de Icaza <miguel@ximian.com>
1359 * Binder.cs (ChangeType): Very simplistic change. Am not sure if
1360 it is correct, but it makes RemotingCorba move along a bit more
1361 (Remoting.Corba invokes Binder.ConvertArgs, which calls
1362 Binder.ChangeType with an Attribute [] to Object []).
1364 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1367 (check_type): fixed bug #41655.
1369 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1371 * Assembly.cs: implemented GetSatelliteAssembly.
1373 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
1375 * Assembly.cs: added GetNamespaces() icall.
1377 2003-03-17 Zoltan Varga <vargaz@freemail.hu>
1379 * FieldInfo.cs (GetFieldFromHandle): Implemented.
1381 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1383 * Assembly.cs: added missing stuff. Only ModuleResolve event is left
1384 out to avoid changing MonoReflectionAssembly by now.
1385 * ModuleResolveEventHandler.cs: delegate.
1387 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1389 * TargetInvocationException.cs: added serialization ctor.
1391 2003-02-18 Martin Baulig <martin@ximian.com>
1393 * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
1394 method's metadata token.
1396 2003-02-04 Sebastien Pouliot <spouliot@videotron.ca>
1398 * Module.cs: Corrected indentation for class.
1400 2003-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1403 (check_type): return true when the target type is object and the source
1406 2003-02-03 Patrik Torstensson
1408 * Binder.cs: minimize locking time in DefaultBinder.
1410 2003-02-01 Sebastien Pouliot <spouliot@videotron.ca>
1412 * Module.cs: Oups - not implemented. Added MonoTODO to most methods
1413 so it's real status get reflected correctly on the web site.
1415 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1417 * MonoMethod.cs: implemented GetBaseDefinition ().
1419 2003-01-28 Patrik Torstensson
1420 * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
1421 * ReflectionSerializationHolder.cs: Support class for serialization
1423 2003-01-17 Zoltan Varga <vargaz@freemail.hu>
1425 * ParameterInfo.cs: modified constructor so it allows the
1426 ParameterBuilder to be null and add a 'position' argument which will
1427 be used when pb is null.
1429 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
1431 * Assembly.cs: added serialization support.
1433 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
1435 * MonoMethod.cs: propagate exceptions from the internal invoke
1436 code that need to be propagated.
1438 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
1440 * Binder.cs: throw an exception if the number of arguments
1441 when invoking a method is incorrect.
1443 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
1445 * Binder.cs: In SelectMethod() look for an exact match first.
1447 2003-01-01 Rachel Hestilow <hestilow@ximian.com>
1449 * MonoField.cs (SetValue): Fix logic typo. Check that obj is
1450 non-null only for the non-static case.
1452 2002-12-30 Sebastien Pouliot <spouliot@videotron.ca>
1454 * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by
1457 2002-12-23 Sebastien Pouliot <spouliot@videotron.ca>
1459 * AssemblyName.cs: GetPublicKey now return an empty array (not null)
1460 when an assembly isn't signed with a StrongName (to match MS
1461 implementation) and null when no assembly is referenced. Also removed
1462 commented code (no bug reported so it was probably not used).
1464 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
1466 * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
1467 provider for the return type of a method.
1469 2002-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1471 * AssemblyName.cs: little fix in FullName.
1473 2002-12-07 Sebastien Pouliot <spouliot@videotron.ca>
1475 * AssemblyName.cs: Added missing methods/interfaces. Fixed some
1476 code to match the MS Framework.
1477 * StrongNameKeyPair.cs: Completed the "visible" implementation.
1478 There must be some internal methods to allow signing with the key.
1480 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1482 * EventInfo.cs: implemented (Add|Remove)EventHandler.
1484 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
1486 * Assembly.cs: implemented GetManifestResourceStream (Type type,
1489 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1491 * Assembly.cs: changed name of GetType (string, bool, bool) to
1494 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1496 * TargetInvocationException.cs: modified default message.
1498 2002-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1501 * PropertyInfo.cs: fixed bug #31535.
1503 2002-09-27 Martin Baulig <martin@gnome.org>
1505 * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
1507 2002-09-24 Martin Baulig <martin@gnome.org>
1509 * Assembly.cs (MonoDebugger_GetType): New method to get a Type
1510 from its metadata token. This should only be used by the debugger.
1512 2002-09-21 Martin Baulig <martin@gnome.org>
1514 * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
1515 get the type of a local variable from its signature. This should only
1516 be used by the debugger.
1518 2002-09-20 Martin Baulig <martin@gnome.org>
1520 * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
1521 from its metadata token. This should only be used by the debugger.
1523 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1525 * Binder.cs: more default binder implementation.
1527 * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
1528 * MonoMethod.cs: use the binder in the Invoke () implementation.
1529 Implemented custom attributes methods and ToString for constructors.
1531 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
1533 * Binder.cs: finished the Binder class and implemented the default
1536 2002-09-03 Martin Baulig <martin@gnome.org>
1538 * Assembly.cs (Assembly.Location): Implemented.
1540 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1543 (GetValue): allow obj to be null (used for static fields).
1545 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1547 * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
1550 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
1552 * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen
1553 <tomi.pakarinen@welho.com>.
1555 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1557 * Assembly.cs: FullName now returns a proper string instead of
1558 something like 'file://...'.
1560 * AssemblyName.cs: added missing ToString method.
1562 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1564 * FieldInfo.cs: implemented SetValue.
1566 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1568 * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
1570 2002-08-14 Dick Porter <dick@ximian.com>
1572 * Assembly.cs: Stub out GetSatelliteAssembly
1574 2002-08-12 Tim Coleman <tim@timcoleman.com>
1576 Allow multiple parameters for GetValue ()
1578 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
1580 * Assembly.cs: implemented GetFile() and GetFiles().
1582 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
1584 * Assembly.cs: implemented EntryPoint and a few
1585 resource related methods.
1587 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
1589 * MethodBase.cs: implemented GetCurrentMethod.
1590 * Assembly.cs: implemented GetExecutingAssembly and
1593 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
1595 * MonoProperty.cs: handle properties with only a set method.
1597 2002-05-24 Martin Baulig <martin@gnome.org>
1599 * ParameterInfo.cs: Added internal constructor.
1601 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
1603 * Assembly.cs: implemented CreateInstance ().
1605 2002-05-22 Martin Baulig <martin@gnome.org>
1607 * MethodBase.cs (get_next_table_index): Added `object obj' argument.
1609 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
1611 * EventInfo.cs: more implementation.
1613 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1615 * MonoEvent.cs: fill-in the implementation.
1617 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1619 * Assembly.cs, AssemblyName.cs: updates and fixes.
1621 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
1623 * MonoProperty.cs (GetValue) : basic implementation to support nunit
1624 * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
1626 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1628 * MonoMethod.c: cache the method name.
1630 2002-04-12 Duncan Mak <duncan@ximian.com>
1632 * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
1635 * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
1638 * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
1641 * BindingFlags.cs: Added missing value "PutRefDispProperty".
1643 * FieldAttributes.cs: Removed value "HasSecurity".
1645 * ManifestResourceInfo.cs: Added missing properties FileName,
1646 ReferencedAssembly and ResourceLocation.
1648 * TargetInvocationException.cs: Added the missing constructors.
1650 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1652 * MonoMethod.cs: make Name property an icall.
1654 2002-04-08 Nick Drochak <ndrochak@gol.com>
1656 * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
1657 struct and interface.
1659 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
1661 * MonoEvent.cs: remove unused code.
1662 * MonoProperty: implement ToString().
1664 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
1666 * Assembly.cs: implement GetTypes() and GetExportedTypes().
1668 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
1670 * MonoEvent.cs: added the needed fields.
1672 2002-03-20 Martin Baulig <martin@gnome.org>
1674 * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
1676 * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
1678 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
1680 * MonoMethod.cs (Invoke): call InternalInvoke
1682 * MethodBase.cs (Invoke): call virtual invoke function
1684 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
1686 * EventInfo.cs: add compiler needed methods.
1687 * MonoMethod.cs: make ToString() return the return type name, too.
1689 2002-03-07 Nick Drochak <ndrochak@gol.com>
1691 * BindingFlags.cs: Add missing enum values. Thanks CorCompare.
1693 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1695 * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
1697 2002-02-26 Duncan Mak <duncan@ximian.com>
1699 * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
1701 2002-02-24 Nick Drochak <ndrochak@gol.com>
1703 * AssemblyNameFlags.cs: Use proper member name. Thanks corcompare!
1705 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
1707 * MonoField.cs: implement GetValue as an internalcall.
1708 Implemented ToString().
1710 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
1712 * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
1713 MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
1716 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
1718 * TypeAttributes.cs: update to latest spec.
1720 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
1722 * Assembly.cs: handle throwOnError in GetType() call.
1724 2002-02-07 Duncan Mak <duncan@ximian.com>
1726 * AssemblyName.cs: Implemented ISerializable interface for the
1727 fields that we have.
1729 2002-02-05 Duncan Mak <duncan@ximian.com>
1732 * TargetException.cs: Added in CVS.
1734 2002-01-31 Duncan Mak <duncan@ximian.com>
1736 * ReflectionTypeLoadException.cs: Added missing bits.
1738 2002-01-23 Duncan Mak <duncan@ximian.com>
1740 * AssemblyAlgorithmIdAttribute.cs:
1741 * AssemblyCompanyAttribute.cs:
1742 * AssemblyConfigurationAttribute.cs:
1743 * AssemblyCopyrightAttribute.cs:
1744 * AssemblyCultureAttribute.cs:
1745 * AssemblyDefaultAliasAttribute.cs:
1746 * AssemblyDelaySignAttribute.cs:
1747 * AssemblyDescriptionAttribute.cs:
1748 * AssemblyFileVersionAttribute.cs:
1749 * AssemblyFlagsAttribute.cs:
1750 * AssemblyInformationalVersionAttribute.cs:
1751 * AssemblyKeyFileAttribute.cs:
1752 * AssemblyKeyNameAttribute.cs:
1753 * AssemblyNameProxy.cs:
1754 * AssemblyProductAttribute.cs:
1755 * AssemblyTitleAttribute.cs:
1756 * AssemblyTradeMarkAttribute.cs:
1757 * AssemblyVersionAttribute.cs:
1758 * CustomAttributeFormatException.cs:
1759 * InvalidFilterCriteriaException.cs:
1760 * TargetParameterCountException.cs: Added.
1762 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1764 * Assembly.cs (Assembly.CodeBase): Implement.
1765 (Assembly.FullName): simplistic and broken implementation. Gets
1766 us where we were yesterday.
1770 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
1772 * IReflect.cs: corrected GetMember() return type.
1773 * InterfaceMapping.cs, TypeDelegator.cs: implemented.
1775 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1777 * MonoMethod.cs: ToString () implementation.
1779 2002-01-04 Ravi Pratap <ravi@ximian.com>
1781 * Assembly.cs : Decorate missing bits with the MonoTODO
1784 * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
1785 ReflectionTypeLoadException.cs : Ditto.
1787 * FieldInfo.cs : Ditto.
1789 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
1791 * Assembly.cs: trow unimplemented exceptions.
1793 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
1795 * MonoMethod.cs: implemented GetParameters().
1796 * MonoProperty.cs: PropertyInfo implementation.
1797 * ParameterInfo.cs: implemented.
1798 * PropertyInfo.cs: fixes.
1800 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
1802 * FieldInfo.cs: implemented some Is* propeties.
1803 * MethodBase.cs: fixed attribute accessors.
1804 * MonoField.cs: runtime object to represent a field.
1805 * MonoMethod.cs: runtime object to represent a method.
1806 * AssemblyBuilder.cs: GetToken() methods to get tokens for
1807 strings, fields, methods...
1808 * ILGenerator.cs: handle tokens for methods.
1810 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
1812 * MethodBase.cs: add internal get_next_table_index() for use in
1815 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
1817 * Assembly.cs: implement some of the Load() methods.
1818 * ConstructorInfo.cs: some missing stubs and fields.
1819 * FieldInfo.cs: IsInitOnly property.
1820 * ParameterInfo.cs: stubs for missing properties.
1821 * ParameterModifier.cs: implemented class.
1823 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
1825 * Assembly.cs: Filled in some stub implementations
1827 * ConstructorInfo.cs: Added some stub functions for NUnit
1829 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
1831 * AmbiguousMatchException.cs,
1832 * Assembly.cs, Module.cs: updates.
1833 * FieldInfo.cs: better compliance to the spec.
1834 * MethodBase.cs: move call_conv out of the way.
1835 * AssemblyBuilder.cs: don't use internalcalls, more stuff supported.
1836 * FieldBuilder.cs: implemented.
1837 * ILGenerator.cs: implemented some opcode handling.
1838 * Label.cs: add constructor.
1839 * LocalBuilder.cs: implemented.
1840 * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
1841 * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
1842 * ParameterBuilder.cs: implemented.
1843 * PropertyBuilder.cs: implemented.
1844 * TypeBuilder.cs: don't use internalcalls, more stuff working.
1846 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
1848 * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
1850 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
1852 * MethodBase.cs, MethodInfo.cs: added.
1854 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
1856 * Assembly.cs: added stub code.
1858 2001-07-18 Michael Lambert <michaellambert@email.com>
1860 * BindingFlags.cs: Add.