1 2008-06-19 Marek Safar <marek.safar@gmail.com>
3 * MonoGenericClass.cs (GetConstructor): Put back removed code due to obscure
4 System.Reflection.MonoGenericCMethod.
6 2008-06-19 Kornél Pál <kornelpal@gmail.com>
8 * Module.cs: Add internal GetHINSTANCE.
10 2008-06-02 Ivan N. Zlatev <contact@i-nz.net>
12 * Binder.cs, MonoGenericClass.cs: For property reflection we should
13 strictly match the return type if available.
15 2008-05-16 Zoltan Varga <vargaz@gmail.com>
17 * MonoGenericClass.cs (GetConstructor): Remove some old code, as the new code
21 2008-05-05 Zoltan Varga <vargaz@gmail.com>
23 * FieldInfo.cs (GetFieldFromHandle): Add an argument check for an invalid handle.
25 * MethodBase.cs (GetMethodFromHandle): Ditto. Fixes #386641.
27 2008-04-30 Gert Driesen <drieseng@users.sourceforge.net>
29 * ParameterInfo.cs: Name must default to null if no ParameterBuilder
32 2008-04-22 Zoltan Varga <vargaz@gmail.com>
34 * MonoGenericClass.cs (GetMethod): Construct a MethodOnTypeBuilderInst object
35 instead of using GetCorrespondingInflatedMethod. This is needed so this class can
36 reflect the changes made to the builder after initialize () has been called.
37 Fixes #381547 and #354759.
38 (GetConstructor): Ditto.
40 2008-04-16 Zoltan Varga <vargaz@gmail.com>
42 * Binder.cs: Applied patch from Yves Bastide (doc.formatique@gmail.com). Add
43 support for converting integers to enums. Fixes #380361.
45 2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
48 * MethodInfo.cs: Fix parameter names
50 2008-03-31 Mark Probst <mark.probst@gmail.com>
52 * MonoMethod.cs: Don't do CAS security checks in Invoke for 2.1
55 2008-03-25 Zoltan Varga <vargaz@gmail.com>
57 * MonoCMethod.cs (Invoke): Avoid a crash if this is called on a ctor of an open
58 generic type. Fixes #373459.
60 * MonoMethod.cs (InternalInvoke): Add an out 'exc' argument used to distinguish
61 exceptions thrown by the icall from the exceptions thrown by the wrapped method.
64 2008-03-17 Marek Safar <marek.safar@gmail.com>
66 * MonoMethod.cs (ToString): Print VarArgs argument.
68 2008-03-14 Zoltan Varga <vargaz@gmail.com>
70 * MonoGenericClass.cs (GetField): Construct a FieldOnTypeBuilderInst object
71 instead of using GetCorrespondingInflatedField. This is needed so this class can
72 reflect the changes made to the type builder after initialize () has been called.
74 * Binder.cs (ChangeType): Add support for Char->Double/Single conversations. Fixes
77 2008-03-10 Gert Driesen <drieseng@users.sourceforge.net>
79 * Assembly.cs (GetFile): Fixed exception messages and param name.
81 2008-03-06 Zoltan Varga <vargaz@gmail.com>
83 * Assembly.cs: Define GetManifestModule () for net 2.0 bootstrap as well.
85 2008-02-26 Ivan N. Zlatev <contact@i-nz.net>
87 * MonoProperty.cs: MS ignores the inherit parameter and defaults to false
88 for GetCustomAttributes.
89 [Fixes bugs #324472 and #322464]
91 2008-02-20 Zoltan Varga <vargaz@gmail.com>
93 * AssemblyName.cs (ReferenceMatchesDefinition): Add error checking and some
94 simple cases required by ikvm.
96 2008-02-18 Zoltan Varga <vargaz@gmail.com>
98 * CustomAttributeTypedArgument.cs (.ctor): Convert arrays into a collection of
99 CustomAttributeTypedArguments to match MS.
101 2008-02-10 Gert Driesen <drieseng@users.sourceforge.net>
103 * Assembly.cs: Use icall for ToString/FullName. Fixes bug #318231.
105 2008-02-02 Gert Driesen <drieseng@users.sourceforge.net>
107 * MonoMethod.cs (MakeGenericMethod): Modified argument name to match
108 MS. When one of the types is null, throw ArgumentNullException instead
109 of ArgumentException.
110 * MethodInfo.cs (MakeGenericMethod): Modified argument name to match
113 2008-01-29 Zoltan Varga <vargaz@gmail.com>
115 * Assembly.cs: Make GetTypes () virtual so it can be overriden by AssemblyBuilder.
117 * Assembly.cs: Make GetModulesInternal () virtual so it can be overriden by
120 2008-01-22 Zoltan Varga <vargaz@gmail.com>
122 * MonoGenericClass.cs: Make this NET 2.0 only.
124 * MonoGenericClass.cs (Initialize): Simplify this a bit and add comments for this
127 2008-01-20 Gert Driesen <drieseng@users.sourceforge.net>
129 * AssemblyName.cs: Added support for Retargetable spec in FullName.
131 2008-01-17 Zoltan Varga <vargaz@gmail.com>
133 * Assembly.cs AssemblyFlagsAttribute.cs ICustomAttributeProvider.cs
134 MemberInfo.cs FieldInfo.cs DefaultMemberAttribute.cs
135 CustomAttributeNamedArgument.cs TargetException.cs MethodInfo.cs
136 IReflect.cs CustomAttributeTypedArgument.cs Module.cs: Change some parameter
139 2008-01-15 Jb Evain <jbevain@novell.com>
141 * MonoMethod.cs (MakeGenericMethod): check for null values
142 in the types arguments. Fixes #353849.
144 2008-01-06 Sebastien Pouliot <sebastien@ximian.com>
146 * Assembly.cs: Fix typo in setter found with Gendarme (was used in a
147 single place, AppDomain, and set to true so it never caused a problem)
149 2008-01-04 Gert Driesen <drieseng@users.sourceforge.net>
151 * AssemblyName.cs: Fixed default value for ProcessorArchitecture to
152 match MS. On 2.0 profile, return zero-length in FullName is no name
153 is set, and throw a SecurityException in FullName and GetPublicKeyToken
154 if a public key is set with no corresponding public key token.
155 Fixed FullName to also include PublicKeyToken spec with "null" value
156 if public key is empty byte array. Fixed corlib part of bug #351057.
157 In SetPublicKey, modify Flags accordingly. On the 2.0 profile, verify
158 the public key when the public key token is computed.
160 2007-12-26 Zoltan Varga <vargaz@gmail.com>
162 * Assembly.cs (GetSatelliteAssembly): Search in the assembly directory as well.
165 2007-12-03 Zoltan Varga <vargaz@gmail.com>
167 * MonoField.cs: Implement GetRawConstantValue ().
169 2007-11-24 Marek Habersack <mhabersack@novell.com>
171 * CustomAttributeTypedArgument.cs: value can be null in ToString.
173 2007-11-16 Zoltan Varga <vargaz@gmail.com>
175 * Assembly.cs (GetFiles): Include the assembly itself as the first entry.
177 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
179 * AssemblyName.cs : remove extraneous MonoTODO.
181 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
183 * ExceptionHandlingClause.cs : implemented ToString().
185 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
187 * MethodBase.cs : (Invoke) removed extra interface implementation.
189 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
191 * StrongNameKeyPair.cs : implemented 2.0 runtime serialization stuff.
193 2007-11-05 Mark Probst <mark.probst@gmail.com>
195 * Binder.cs: Treat matches with different argument types as
196 ambiguous, too. Fixes #324998.
198 2007-11-01 Zoltan Varga <vargaz@gmail.com>
200 * Binder.cs: Avoid returning a method with a ParamArray attribute when a normal
201 method exists. Fixes #338266.
203 2007-10-30 Zoltan Varga <vargaz@gmail.com>
205 * Binder.cs: Applied patch from Mario A Chavez <mario.chavez@gmail.com>. Add
206 support for binding to methods with ParamArray attribute. Fixes #336841.
208 2007-10-27 Zoltan Varga <vargaz@gmail.com>
210 * MonoGenericClass.cs: Override GetPropertyImpl too.
212 2007-10-24 Atsushi Enomoto <atsushi@ximian.com>
214 * Assembly.cs : include ReflectionOnlyLoad() as part of 2.0
217 2007-09-23 Zoltan Varga <vargaz@gmail.com>
219 * Assembly.cs (GetManifestModule): New virtual method overridden by
222 2007-09-17 Gert Driesen <drieseng@users.sourceforge.net>
224 * Assembly.cs: In GetManifestResourceStream, throw ANE with type as
225 paramname when both name and type are null. Use String.Length to check
226 for zero-length string.
228 2007-09-11 Mark Probst <mark.probst@gmail.com>
230 * MonoMethod.cs: Catch and re-throw MethodAccessException from
231 InternalInvoke for CoreCLR security.
233 Thu Sep 6 19:49:34 CEST 2007 Paolo Molaro <lupus@ximian.com>
235 * MonoMethod.cs: name is used as a cache: provide an icall to get the
236 name from the runtime.
238 2007-08-23 Robert Jordan <robertj@gmx.net>
240 * MemberInfoSerializationHolder.cs: created from
241 ReflectionSerializationHolder to match MS (fixes bug #80761).
242 Add support for fields, events, properties and generic methods.
244 * MonoMethod.cs (GetObjectData): handle generic arguments.
246 * MonoGenericMethod.cs: mark as [Serializable].
248 * MonoProperty.cs (GetObjectData): implemented.
250 * MonoField.cs: ditto.
252 * MonoEvent.cs: ditto.
254 2007-07-19 Atsushi Enomoto <atsushi@ximian.com>
256 * MonoMethod.cs : parameter types should be fixed as well.
258 2007-07-19 Atsushi Enomoto <atsushi@ximian.com>
260 * MonoMethod.cs : ToString() did not show correct return type when
263 2007-07-15 Zoltan Varga <vargaz@gmail.com>
265 * FieldInfo.cs: Implement GetOptional/RequiredCustomModifiers ().
267 * MethodInfo.cs: Remove an unneccesary MonoTODO.
269 * Module.cs: Implement ResolveSignature.
271 2007-07-14 Zoltan Varga <vargaz@gmail.com>
273 * Module.cs: Implement the generic versions of the ResolveXXX methods.
275 2007-07-10 Zoltan Varga <vargaz@gmail.com>
277 * Module.cs: Add new internal method GetMDStreamVersion ().
279 2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
281 * CustomAttributeNamedArgument.cs, CustomAttributeTypedArgument.cs:
282 added missing operator == and !=.
284 2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
286 * CustomAttributeNamedArgument.cs CustomAttributeTypedArgument.cs
287 CustomAttributeData.cs : implemented Equals() and GetHashCode().
288 * Missing.cs : ISerializable.
289 * AssemblyName.cs : ReferenceMatchesDefinition() stub.
290 * Module.cs : missing method stubs with generic type/method args.
291 * ExceptionHandlingClause.cs : ToString() stub.
292 * MethodBase.cs TypeDelegator.cs ModuleResolveEventHandler.cs
293 TypeFilter.cs MemberFilter.cs
294 FieldInfo.cs ParameterInfo.cs MethodInfo.cs :
295 miscellaneous cosmetic API fixes.
297 Tue May 8 13:04:35 CEST 2007 Paolo Molaro <lupus@ximian.com>
299 * FieldInfo.cs, MethodBase.cs: implemented new GetFieldFromHandle and
300 GetMethodFromHandle overloads (bug #78637).
302 2007-05-07 Zoltan Varga <vargaz@gmail.com>
304 * MonoMethod.cs (Invoke): Fix a warning.
306 * MonoMethod.cs (Invoke): Don't wrap ThreadAbortException inside a
307 TargetInvocationException on the 2.0 profile. Fixes #81538.
309 2007-04-09 Alp Toker <alp@atoker.com>
311 * MonoMethod.cs: Use StringBuilder for the entire ToString() methods
312 to reduce allocations and increase performance.
314 2007-04-09 Alp Toker <alp@atoker.com>
316 * MonoMethod.cs: Use StringBuilder for parms in ToString() methods.
318 2007-04-09 Alp Toker <alp@atoker.com>
320 * MethodBase.cs: IsGenericMethodDefinition() and IsGenericMethod()
321 should return false, not throw NotSupportedException. This matches MS
322 behaviour and introduces simplifications in subclasses.
323 * MonoMethod.cs: MonoCMethod: Remove redundant overrides.
325 2007-03-05 Peter Dettman <peter.dettman@iinet.net.au>
327 * Binder.cs: The patch changes Binder.Default.GetBetterMethod to
328 prefer methods in subclasses if the arg types can't disambiguate
331 Also fixes a typo in the CallingConventions comparison.
333 2007-03-01 Alp Toker <alp@atoker.com>
336 Add GetFieldFromHandle() 2.0 overload stub (NotImplemented).
338 2007-03-01 Alp Toker <alp@atoker.com>
340 * MethodBase.cs: Add missing ComVisible attr.
341 Add GetMethodFromHandle() 2.0 overload stub (NotImplemented).
343 2006-12-30 Marek Safar <marek.safar@gmail.com>
345 * MonoProperty.cs: Cache frequently used properties.
347 Thu Dec 14 13:50:48 CET 2006 Paolo Molaro <lupus@ximian.com>
349 * *.cs: added missing Serializable attributes.
351 Thu Dec 14 12:52:27 CET 2006 Paolo Molaro <lupus@ximian.com>
353 * MonoProperty.cs, ParameterInfo.cs, PropertyInfo.cs:
354 GetRequiredCustomModifiers()/GetOptionalCustomModifiers()
357 Tue Dec 12 20:35:10 CET 2006 Paolo Molaro <lupus@ximian.com>
359 * MethodBase.cs: added missing ComVisible attr.
360 * MethodInfo.cs: added a few missing methods that we implement
363 Tue Dec 12 19:45:26 CET 2006 Paolo Molaro <lupus@ximian.com>
365 * MonoEvent.cs: correctly obey the nonPublic flag in GetOtherMethods ().
366 * EventInfo.cs: remove NotImpl exception from GetOtherMethods ().
368 2006-10-19 Gert Driesen <drieseng@users.sourceforge.net>
370 * AssemblyName.cs: Revert change where filename was not converted to
371 absolute path before passing it to Assembly.InternalGetAssemblyName
372 as the CodeBase is not set in that case.
374 2006-10-17 Kornél Pál <kornelpal@gmail.com>
376 * FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a
377 NotSupportedException is the proper implementation.
378 * ParameterInfo.cs: Use Attributes in Is... properties on profile 2.0
379 that is expected by subclasses.
381 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
383 * AssemblyName.cs: No need to convert filename to absolute path before
384 passing it to Assembly.InternalGetAssemblyName. This allows our
385 exception messages to be better match those of MS.
387 2006-09-29 Jb Evain <jbevain@gmail.com>
389 * MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.
391 2006-09-02 Zoltan Varga <vargaz@gmail.com>
393 * ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from
394 Peter Dettman (peter.dettman@iinet.net.au). Implement ReturnParameter
397 * Binder.cs (ReorderParameters): Really fix this.
399 * Binder.cs (ReorderParameters): Fix this method. Fixes #79120.
401 2006-09-01 Raja R Harinath <rharinath@novell.com>
403 * MonoMethod.cs (ToString): Update to handle change in byref type names.
405 2006-08-08 Gert Driesen <drieseng@users.sourceforge.net>
407 * Assembly.cs: On 2.0 profile, throw FileNotFoundException for
408 linked resources in GetManifestResourceStream when assembly is
409 loaded from byte array.
411 2006-07-12 Zoltan Varga <vargaz@gmail.com>
413 * MonoMethod.cs (ContainsGenericParameters): Implement.
415 * MonoMethod.cs (Invoke): Prevent invoking of open generic methods.
417 2006-07-09 Gert Driesen <drieseng@users.sourceforge.net>
419 * Assembly.cs: When assembly is loaded from byte array, return null
420 for linked resources in GetManifestResourceStream. Fixes bug #78468.
422 2006-07-09 Zoltan Varga <vargaz@gmail.com>
424 * Binder.cs: Add back the support for BindingFlags.ExactBinding. Fixes #78592.
426 2006-06-30 Zoltan Varga <vargaz@gmail.com>
428 * Binder.cs: Comment out the ExactBinding stuff for the release as it breaks some
431 2006-06-07 Zoltan Varga <vargaz@gmail.com>
433 * Binder.cs: Add support for BindingFlags.ExactBinding. Fixes #78592.
435 2006-05-28 Gert Driesen <drieseng@users.sourceforge.net>
437 * MethodBase.cs: GetMethodBody should not throw ArgumentException for
438 a method with no IL body. Fixes bug #78522.
440 2006-05-10 Zoltan Varga <vargaz@gmail.com>
442 * Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
444 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
446 * Binder.cs : (Default.SelectMethod)
447 don't throw AmbiguousMatchException when one of conflicting method
448 matches weakly. Fixed bug #42547.
450 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
452 * Binder.cs : (Default.BindToMethod) reorder parameters based
453 on namedParameters. Fixed bug #41691.
455 2006-05-03 Jb Evain <jbevain@gmail.com>
457 * MonoField.cs (GetValue,SetValue): throw a TargetException
458 when the field is non static and the target is null.
460 2006-03-12 Zoltan Varga <vargaz@gmail.com>
462 * Binder.cs: Applied patch from Ben to fix #74947.
464 2006-03-01 Miguel de Icaza <miguel@novell.com>
466 * Assembly.cs: Cache the AssemblyName, patch from Tambet. This
467 reduces the memory usage during remoting.
469 2006-02-16 Martin Baulig <martin@ximian.com>
471 * FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.
473 2006-02-15 Martin Baulig <martin@ximian.com>
475 * MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
476 (MethodBase.Mono_IsInflatedMethod): Removed.
477 (MethodBase.HasGenericParameters): Removed.
479 * MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
480 here from MethodBase.
483 (MonoMethod.IsGenericMethodDefinition): This is now an icall.
484 (MonoMethod.IsGenericMethod): Likewise.
486 2006-02-14 Martin Baulig <martin@ximian.com>
489 (MonoCMethod.IsGenericMethod): Override this and return false; the
490 MS runtime doesn't throw an exception here.
492 2006-02-08 Martin Baulig <martin@ximian.com>
494 * MonoGenericClass.cs (MonoGenericClass.IsAssignableFrom):
495 Override and implement this; fixes #77395.
497 2006-02-07 Martin Baulig <martin@ximian.com>
500 (MonoMethod.IsGenericMethod): Only return true for "real" generic
501 methods and not for arbitrary instantiated methods.
502 (MonoMethod.IsGenericMethodDefinition): Only return true for
503 generic method definitions, but not for instantiated generic
504 methods. This is no longer an interncall. Fixes #77466.
506 2006-02-03 Zoltan Varga <vargaz@gmail.com>
508 * MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
511 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
513 * Assembly.cs: Fixed #75950. The icall has been changed to accept a
514 boolean so it can return a non-escaped code base.
516 2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
518 * MonoMethod.cs : made MakeGenericMethod() indirect icall to
519 MakeGenericMethod_impl() and raise an error when it returns null.
521 2005-11-15 Zoltan Varga <vargaz@gmail.com>
523 * Module.cs: Add MDStreamVersion property.
525 * Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs
526 CustomAttributeData.cs PortableExecutableKinds.cs
527 ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
530 2005-11-11 Marek Safar <marek.safar@seznam.cz>
532 * MethodBase.cs, TypeDelegator.cs: Reflect Type changes.
534 2005-10-30 Zoltan Varga <vargaz@freemail.hu>
536 * FieldInfo.cs: Add an internal UMarshal property which can by
537 overriden in FieldBuilder.
539 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
541 * MonoMethod.cs : (ToString) add suffix " ByRef" for byref parameters.
544 2005-10-04 Martin Baulig <martin@ximian.com>
546 * MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
547 return type from `MonoGenericClass to `Type'.
549 2005-09-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
551 * AssemblyName.cs: Add ParseName internal call, to parse
552 long format assembly names.
554 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
556 * MonoProperty.cs: Invoke throws a SecurityException but GetValue must
557 throw TargetInvocationException with the SecurityException as an inner
558 exception. See CAS unit tests for System.Web.dll.
560 2005-09-20 Martin Baulig <martin@ximian.com>
562 * Assembly.cs: Removed some unused debugger icalls.
564 2005-09-17 Zoltan Varga <vargaz@freemail.hu>
566 * Module.cs: Remove obsolete Mvid property.
568 2005-09-09 Martin Baulig <martin@ximian.com>
570 Reflect latest API changes in the August CTP.
572 * MethodBase.cs (MethodBase.MakeGenericMethod): Removed.
574 * MethodInfo.cs (MethodInfo.MakeGenericMethod): Added here.
576 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
578 * AssemblyName.cs: Apply second half of Chris Micacchi's patch
580 2005-09-07 Miguel de Icaza <miguel@novell.com>
582 * AssemblyName.cs: Apply patch from Chris Micacchi to serialize
583 the keyToken as "_PublicKeyToken".
585 2005-09-05 Martin Baulig <martin@ximian.com>
587 Reflect latest API changes in the August CTP.
589 * GenericParameterAttributes.cs: Here.
591 * MethodBase.cs (MethodBase.BindGenericParameters): Renamed to
594 2005-09-05 Martin Baulig <martin@ximian.com>
596 * Assembly.cs (MonoDebugger_GetMethodToken): Don't take an
599 2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
601 * Assembly.cs: made GetManifestResourceInternal internal. Fixes the
604 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
606 * Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
607 * ConstructorInfo.cs: Added GetType() method in 1.1 to match
608 MS.NET, implemented _ConstructorInfo.
609 * EventInfo.cs: Added GetType() method in 1.1 to match MS.NET,
610 implemented _EventInfo.
611 * FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET,
612 implemented _FieldInfo.
613 * MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET,
614 implemented _MemberInfo.
615 * MethodBase.cs: Added GetType() method in 1.1 to match MS.NET,
616 implemented _MethodBase.
617 * MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET,
618 implemented _MethodInfo.
619 * PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET,
620 implemented _PropertyInfo.
621 * TypeAttributes.cs: CustomFormatMask and CustomFormatClass should
622 only be exposed in 2.0 profile.
624 2005-07-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
626 * CustomAttributeTypedArgument: Return the name of the
627 enum if the type is an enum in ToString ().
629 2005-06-21 Sebastien Pouliot <sebastien@ximian.com>
631 * Assembly.cs: Create a copy of the evidences and add an instance of
632 PermissionRequestEvidence to it before resolution. This way the PRE
633 won't be present when asking for evidences later. Removed debugging
636 2005-06-13 Michal Moskal <malekith@nemerle.org>
638 * MonoGenericClass.cs: Don't use MethodHandle in GetMethod/GetConstructor,
639 since it now throws on MethodBuilders. Don't use FieldHandle in
640 GetField (throws on FieldBuilder) - just use the name.
642 2005-06-15 Sebastien Pouliot <sebastien@ximian.com>
644 * Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
645 FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
646 ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
647 attributes that were added in 1.1 SP1 or 2.0 beta2.
649 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
651 * Binder.cs: null is ok for a value type. Fixes bug #75241.
653 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
655 * Assembly.cs: UnprotectedGetName is now virtual to allow for more
656 initialization in AssemblyBuilder. The [Granted|Refused]PermissionSet
657 now use the ResolvingPolicyLevel to support the policy
658 FullTrustAssemblies during resolution.
659 * AssemblyName.cs: Return null instead of "new byte [0]" if no public
662 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
663 * MonoGenericClass.cs: Add overrides of Get{Method,Constructor,Field}
664 for obtaining instanciated *Info objects from non-instanciated counterparts
667 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
669 * CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.
671 * *.cs: Updates for net 2.0 beta 2.
673 2005-06-07 Zoltan Varga <vargaz@freemail.hu>
675 * *.cs: Updates for net 2.0 beta 2.
677 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
679 * CustomAttributeData.cs: Implemented.
681 * CustomAttributeDataNamedArgument.cs: Implemented.
683 * CustomAttrbuteDataTypedArgument.cs: Implemented.
685 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
687 * Assembly.cs ExceptionHandlingClause.cs: Fix build.
689 * ProcessorArchitecture.cs: New file.
691 * ExceptionHandlingClause.cs: Update after ExceptionHandlingClauseFlags name change.
693 * *.cs: Updates for net 2.0 beta 2.
695 * *.cs: Add net 2.0 ComVisibleAttribute.
697 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
699 * Assembly.cs: if the assembly is loaded from a byte array, Location
700 returns "". Fixes bug #74958.
702 2005-06-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
704 * AssemblyName.cs: Changes to support the creation of version
705 instance from icalls. This change also helps to keep the
706 AssemblyName tests running fine.
708 2005-05-26 Ben Maurer <bmaurer@ximian.com>
710 * Binder.cs: Avoid double checked locking and lock on typeof by
711 doing init of the default binder in the cctor.
713 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
715 * Assembly.cs: Avoid security checks if Assembly.Location is "".
717 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
719 * TypeDelegator.cs: Implement some methods.
721 * TypeDelegator.cs: Revert this as it breaks the build.
723 * TypeDelegator.cs: Implement some methods.
725 2005-05-19 Satya Sudha K <ksathyasudha@novell.com>
726 Raja R Harinath <rharinath@novell.com>
728 * Missing.cs (Missing.Value): Initialize.
730 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
732 * Binder.cs: Use IsInstanceOfType instead of IsAssignableFrom
733 since GetType() may not return the correct type if the object is
734 a remoting proxy. This fixes bug #74933.
736 2005-05-13 Zoltan Varga <vargaz@freemail.hu>
738 * MonoField.cs: Applied patch from Opened by Michael Meeks (michael@ximian.com). Improve exception message on binding failures.
740 2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
742 * MonoField.cs: Added a Clone method. This is needed for serialization.
744 2005-05-07 Ben Maurer <bmaurer@ximian.com>
746 * MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.
748 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
750 * Module.cs: Update for beta 2.
752 * CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.
754 2004-05-03 Lluis Sanchez <lluis@ximian.com>
756 * Assembly.cs: Don't remove version and culture information from
757 the name, since it will be used by load_with_partial_name.
759 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
761 * Assembly.cs: Added some CAS security to avoid returning restricted
762 information to partially truster callers (e.g. code base). Added new
763 methods to get the Evidence and AssemblyName so that the security
764 runtime can bootstrap itself (without calling itself).
766 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
768 * Assembly.cs: Added missing null check in GetObjectData.
770 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
772 * AssemblyName.cs: Added a demand for SerializationFormatter on
773 GetObjectData method.
775 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
777 * AssemblyName.cs: Implemented EscapedCodeBase using the copy of
778 System.Uri (System.dll) located in Mono.Security.Uri. Added missing
779 null check in GetObjectData.
780 * Module.cs: Added a FileIOPermission for PathDiscovery on
781 FullyQualifiedName property (but not on Name property like MS).
782 Added missing null check in GetObjectData.
783 * StrongNameKeyPair.cs: Added demands for unmanaged code to all
784 constructors (as we do not want partially trusted code to create
785 strongnamed assemblies).
787 2005-03-30 Zoltan Varga <vargaz@freemail.hu>
789 * Binder.cs (check_type): Fix byref support. Fixes #73972.
791 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
793 * MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class.
794 * Module.cs: Add a LinkDemand for SerializationFormatter on
795 GetObjectData method.
797 2005-03-16 Sebastien Pouliot <sebastien@ximian.com>
799 * Assembly.cs: Implemented EscapedCodeBase using the copy of
800 System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.
802 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
804 * MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand
805 (i.e. stack walk) when reflection is being used to invoke a method.
807 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
809 * Assembly.cs: LoadFrom: Change signature to support reflection only
810 methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
811 implemented; InvalidOperationException's re-thrown by CreateInstance.
812 Also ReflectionOnly 2.0 property added.
814 * MonoMethod.cs: InvalidOperationException's are re-thrown when calling
815 Invoke method on reflection only assemblies.
817 2005-02-22 Raja R Harinath <rharinath@novell.com>
819 * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
820 'abstract' so that this class can be derived outside of corlib.
822 2005-02-16 Miguel de Icaza <miguel@novell.com>
824 * MonoEvent.cs: Put new methods here.
826 * EventInfo.cs: Move the methods GetCustomAttributes, and
827 IsDefined from EventInfo to MonoEvent.
829 Remove the methods that were not supposed to be exposed: Name,
830 ReflectedType, DeclaringType.
832 2005-02-12 Chris Toshok <toshok@ximian.com>
834 * Assembly.cs: Correct the type of MonoDebugger_MakeArrayType.
836 2005-02-12 Ben Maurer <bmaurer@ximian.com>
838 * Binder.cs (SelectProperty): Use -1 as the dummy `I don't know
839 how many types' value.
841 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
843 * Assembly.cs: Fix warning.
845 2005-02-10 Martin Baulig <martin@ximian.com>
847 * Module.cs (MonoDebugger_ResolveType): New internal method.
849 * Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
850 (MonoDebugger_GetTypeToken): New internal method.
852 2005-02-10 Martin Baulig <martin@ximian.com>
854 * Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.
856 2005-02-10 Marek Safar <marek.safar@seznam.cz>
859 * ConstructorInfo.cs,
865 * PropertyInfo.cs: ClassInterfaceType is None.
867 Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>
869 * Module.cs: removed the finalizer and the now unused Close() icall.
871 2005-01-21 Sebastien Pouliot <sebastien@ximian.com>
873 * Assembly.cs: Fixed add for ModuleResolve.
875 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
877 * LocalVariableInfo.cs: Add ToString method.
879 * ExceptionHandlingClause.cs: Implement this.
881 2005-01-18 Zoltan Varga <vargaz@freemail.hu>
883 * MethodBase.cs MonoMethod.cs: Hopefully fix the build.
885 * MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().
887 2005-01-03 Martin Baulig <martin@ximian.com>
889 * MonoGenericMethod.cs
890 (MonoGenericMethod.get_reflected_type): Removed.
891 (MonoGenericMethod.ReflectedType): Make this an icall.
892 (MonoGenericCMethod.ReflectedType): Likewise.
894 2004-12-29 Martin Baulig <martin@ximian.com>
896 * MonoGenericMethod.cs: New file.
898 2004-12-21 Sebastien Pouliot <sebastien@ximian.com>
900 * Assembly.cs: Added private LoadAssemblyPermissions to get the
901 declarative security permission sets (minimum, optional and refused)
904 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
906 * Assembly.cs: Removed old Demand support (moved in System.Security).
908 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
910 * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
911 the gmcs bugs blocking them are fixed.
913 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
915 * Assembly.cs: Move corlib_internal field to AssemblyBuilder.
917 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
919 * Assembly.cs: Add corlib_internal field.
921 2004-11-30 Martin Baulig <martin@ximian.com>
923 * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
924 renamed the class from `MonoGenericInst' to `MonoGenericClass'.
926 2004-11-05 Zoltan Varga <vargaz@freemail.hu>
928 * AssemblyName.cs (FullName): Omit default values from full name.
930 * Assembly.cs: Implement GetFiles (bool).
932 * Binder.cs: Add support for byref types. Fixes #69140.
934 2004-10-12 Martin Baulig <martin@ximian.com>
936 * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
937 before calling the *_internal() methods.
939 2004-10-12 Zoltan Varga <vargaz@freemail.hu>
941 * MethodBody.cs: Implement this.
943 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
945 * Module.cs: Handle the case when the global type does not exists.
947 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
949 * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
952 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
954 * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].
956 * PropertyInfo.cs: Add stub for GetConstantValue ().
958 * ParameterInfo.cs (marshalAs): Make this private.
960 * Module.cs (ModuleHandle): Add [CLSCompliant(false)].
962 * LocalVariableInfo.cs MethodBody.cs: Disable default constructor.
964 * ExceptionHandlingClause.cs: Disable default constructor.
966 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
968 * CustomAttributeData.cs CustomAttributeTypedArgument.cs
969 CustomAttributeNamedArgument.cs: New files.
971 * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
972 ExceptionHandlingClauseFlags.cs: New files.
974 2004-09-26 Zoltan Varga <vargaz@freemail.hu>
976 * FieldInfo.cs: Add support for returning MarshalAsAttribute.
978 * ParameterInfo.cs: Add marshalAs field, add support for returning
981 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
983 * Module.cs: Add new 2.0 GetMethods and GetFields methods.
985 * ParameterInfo.cs: Add GetPseudoCustomAttributes () method.
987 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
989 * MonoField.cs: Add GetFieldOffset.
991 * ObfuscationAttribute.cs: Add ApplyToMembers.
993 * Assembly.cs: Add stub for ReflectionOnlyLoadFrom.
995 * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.
997 * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method.
999 * AssemblyNameFlags.cs: Add LongevityUnspecified.
1001 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
1003 * Module.cs: Remove [MonoTODO] from ResolveMember.
1005 * MemberInfo.cs: Add 'Module' property.
1007 * AssemblyFlagsAttribute.cs: Add 2.0 stuff.
1009 * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
1010 to LoadWithPartialName on 2.0.
1012 * AssemblyNameFlags.cs: Add new 2.0 members.
1014 * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.
1016 * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.
1018 * EventInfo.cs: Fix 2.0 build.
1020 * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.
1022 * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.
1024 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
1026 * Module.cs: Implement net 2.0 ResolveXXX methods.
1028 * Module.cs (resolve_token_exception): Fix type of exception thrown.
1030 2004-09-21 Martin Baulig <martin@ximian.com>
1032 * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.
1034 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
1036 * Assembly.cs: Implement 2.0 reflection properties.
1038 * Module.cs: Implement 2.0 reflection properties. Add 'token' field.
1040 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
1042 * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
1045 * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.
1047 * Module.cs: Add ModuleHandle property and new icalls.
1049 2004-09-18 Zoltan Varga <vargaz@freemail.hu>
1051 * Module.cs: Add net 2.0 Mvid property.
1053 2004-08-30 Sebastien Pouliot <sebastien@ximian.com>
1055 * Assembly.cs: Added internal Demand(PermissionSet) for CAS.
1057 2004-08-30 Zoltan Varga <vargaz@freemail.hu>
1059 * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to
1062 2004-08-29 Zoltan Varga <vargaz@freemail.hu>
1064 * MethodBase.cs (GetMethodFromHandle): Implement.
1066 2004-08-13 Marek Safar <marek.safar@seznam.cz>
1068 * Assembly.cs: Made _minimum, _optional, _refuse fields internal.
1069 To be reusable by AssemblyBuilder.
1071 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
1073 * Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0
1074 properties (required for compiling the new unit tests).
1075 * PortableExecutableKind.cs: New. Flags for NET_2_0.
1076 * ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0.
1078 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
1080 * Assembly.cs: Get default evidences when no evidences have been
1081 supplied. Added internal methods for CAS.
1082 * AssemblyName.cs: New constructor for NET_2_0.
1084 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
1086 * Assembly.cs: Added new fields for CAS to match the runtime (v23).
1088 2004-07-29 Martin Baulig <martin@ximian.com>
1090 * Module.cs (Mono_GetGuid): Make this static.
1092 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
1094 * Module.cs: return just name in ToString (bug #61287).
1096 2004-07-03 Zoltan Varga <vargaz@freemail.hu>
1098 * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
1100 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
1102 * Pointer.cs: remove serializable attribute to match MS.NET
1104 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
1106 * ParameterModifier.cs: marked serializable, renamed field to match
1107 MS.NET, throw ArgumentException when parameter count is less than or
1110 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
1112 * AssemblyName.cs: added TODO for serialization
1113 * Pointer.cs: fixed Box method to return object instead of
1116 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
1118 * MemberInfo.cs: Changed constructor from internal to protected.
1120 2004-06-11 Martin Baulig <martin@ximian.com>
1122 * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
1124 2004-06-11 Lluis Sanchez <lluis@ximian.com>
1126 * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match
1127 MS implementation. Generate the RSA in the constructors.
1129 2004-06-10 Lluis Sanchez <lluis@ximian.com>
1131 * AssemblyName.cs: Added missing fields to serialization methods.
1132 * StrongNameKeyPair.cs: Made it compatible with MS serialization.
1134 2004-06-08 Jacson Harper <jackson@ximian.com>
1136 * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
1137 runtime. This way the codebase is set properly. The codebase is
1138 using g_filename_to_uri which expects a full path.
1140 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1142 * Binder.cs: don't crash when we have a 'null' argument Type array.
1143 Allow it for non-value types. Fixed for both, methods and properties.
1146 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1148 * Binder.cs: default score must be lower than fail_score or we'll get
1149 an ambiguous match when no indexers given and one single match is found.
1151 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1153 * Binder.cs: removed ^Ms. In case of several properties matching, try
1154 to disambiguate based on the indexer types provider and the conversions
1155 from those into the ones of the property.
1157 2004-05-31 Gert Driesen <drieseng@users.sourceforge.net>
1159 * Assembly.cs: added missing ComVisible attribute on
1160 ImageRuntimeVersion property
1161 * ConstructorInfo.cs: added missing attributes on Invoke
1162 * EventInfo.cs: added missing attributes
1163 * FieldInfo.cs: added missing attributes
1164 * MethodBase.cs: added missing attributes
1165 * PropertyInfo.cs: added missing attributes
1167 2004-05-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
1169 * FieldInfo.cs: changed default constructor from internal to protected, so classes
1170 that inherit from it can get build.
1172 2004-05-18 Gert Driesen (drieseng@users.sourceforge.net)
1174 * MonoProperty.cs: return correct MethodInfo for
1175 property with only a get or set method. Fixes
1178 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
1180 * Assembly.cs: Return an empty Evidence collection to avoid
1181 NullReferenceException from calling code (as this is never
1182 null with MS implementation). See bugzilla #53548.
1184 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
1186 * Assembly.cs: Add stub for LoadFrom.
1188 * Assembly.cs: Fix build.
1190 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
1192 * Assembly.cs: Add ModuleResolve event.
1194 * Module.cs (Mono_GetGuid): Make this internal.
1196 * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
1198 2004-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1200 * Binder.cs: check for ambiguous matches in SelectMethod and
1201 SelectProperty. Fixes bug #58381.
1203 2004-05-06 Jackson Harper <jackson@ximian.com>
1205 * Assembly.cs: remove TODO, this is done.
1207 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1209 * Assembly.cs: ToString () returns the same as GetName ().ToString ().
1212 2004-05-03 Jackson Harper <jackson@ximian.com>
1214 * Assembly.cs: Implement LoadWithPartialName. The bulk of this
1215 method is done in the runtime.
1217 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
1219 * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
1220 is private (it did until now because of a bug). Make sure it works as it
1221 worked before the fix.
1223 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
1225 * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs:
1226 Removed completed TODOs.
1227 * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
1228 do not return private methods if nonPublic == false.
1229 * ReflectionTypeLoadException.cs: Implemented serialization support.
1231 2004-04-26 Jackson Harper <jackson@ximian.com>
1233 * Assembly.cs: Add icall to determine if an assembly has been
1234 loaded from the GAC.
1236 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
1238 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
1239 The fix should be easier ;)
1241 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
1243 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
1244 NET_2_0 related build fix.
1246 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
1248 * Assembly.cs: Removed TODO for CreateQualifiedName.
1249 * AssemblyName.cs: Fixed serialization code.
1250 * AssemblyNameProxy.cs: Implemented.
1251 * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
1253 2004-04-07 Martin Baulig <martin@ximian.com>
1255 * MonoGenericInst.cs (MonoGenericParam): Removed.
1257 2004-04-07 Martin Baulig <martin@ximian.com>
1260 (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
1262 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
1263 (MonoGenericInst.GetNestedTypes): Just call
1264 `generic_type.GetNestedTypes (bf)' here.
1266 * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
1267 include the type arguments.
1269 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
1271 * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
1272 correct StrongName instance when the ECMA "key" is used.
1274 2004-04-02 Martin Baulig <martin@ximian.com>
1276 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
1278 2004-04-01 Martin Baulig <martin@ximian.com>
1280 * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
1281 this and always return false.
1283 2004-04-01 Martin Baulig <martin@ximian.com>
1285 * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.
1287 2004-03-30 Martin Baulig <martin@ximian.com>
1289 * MonoGenericInst.cs
1290 (MonoGenericParam): Added `bool has_ctor_constraint' field.
1291 (MonoGenericParam.SetConstraints): Added `bool
1292 has_ctor_constraint' argument.
1294 2004-03-29 Martin Baulig <martin@ximian.com>
1296 * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
1298 (MethodBase.HasGenericParameters): Use the "official" behavior
1299 here, ie. return false if we're not a generic method.
1301 2004-03-29 Martin Baulig <martin@ximian.com>
1303 * MethodBase.cs: Moved the generics stuff here, made it virtual
1304 where neccessary and use the correct API.
1306 2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
1308 * StrongNameKeyPair.cs: Added an internal method to return a
1309 StrongName object (for AssemblyBuilder). Simplified implementation
1310 using Mono.Security.Cryptography.CryptoConvert class.
1312 2004-03-24 Zoltan Varga <vargaz@freemail.hu>
1314 * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
1316 2004-03-23 Martin Baulig <martin@ximian.com>
1318 * MonoGenericInst.cs: Added support for events.
1320 2004-03-23 Martin Baulig <martin@ximian.com>
1322 * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
1323 if it's the empty string.
1325 2004-03-10 Martin Baulig <martin@ximian.com>
1327 * MethodBase.cs (MethodBase): Implemented
1328 GetGenericMethodDefinition() and HasGenericParameters.
1330 2004-03-09 Martin Baulig <martin@ximian.com>
1332 * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
1333 `declaring_type' and `reflected_type'.
1334 (MonoEvent): Distinguish between declaring and reflected type.
1336 2004-02-25 Martin Baulig <martin@ximian.com>
1338 * MonoGenericInst.cs
1339 (MonoGenericInst.GetNestedTypes): Override this.
1341 2004-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1344 (SelectProperty): check the return Type if provided.
1346 2004-02-17 Martin Baulig <martin@ximian.com>
1348 * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
1349 support for properties.
1351 2004-02-17 Martin Baulig <martin@ximian.com>
1353 * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
1354 class hierarchy and return members from the parent classes.
1355 (GetConstructors, GetFields): Likewise.
1357 2004-02-17 Martin Baulig <martin@ximian.com>
1359 * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
1360 all the members here; we only do this for members of the current
1361 class and only when they're actually queried for.
1363 2004-02-12 Martin Baulig <martin@ximian.com>
1365 * MonoGenericInst.cs (MonoInflatedField): Removed.
1367 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
1369 2004-02-08 Martin Baulig <martin@ximian.com>
1371 * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
1372 invocations the `reflected' type as `reflected', not `this'.
1373 (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
1375 2004-02-08 Martin Baulig <martin@ximian.com>
1377 * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
1378 (MonoGenericInst.GetInterfaces_internal): New interncall.
1379 (MonoGenericInst): Reflect latest API changes; use GetParentType()
1380 and GetInterfaces_internal() instead of the fields.
1382 2004-02-06 Martin Baulig <martin@ximian.com>
1384 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
1386 2004-02-03 Martin Baulig <martin@ximian.com>
1388 * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
1390 2004-01-25 Martin Baulig <martin@ximian.com>
1392 * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
1394 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
1396 * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
1397 a reference on the Module object which contains the resource.
1399 * Module.cs: Decrease the image reference count when the Module is
1402 2004-01-16 Martin Baulig <martin@ximian.com>
1404 * Assembly.cs: Make the `MonoDebugger_' methods static.
1406 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1408 * MonoProperty.cs: changed get_property_info so that it only gets the
1409 values needed. Reduces the allocations needed.
1411 2004-01-15 Martin Baulig <martin@ximian.com>
1413 * Assembly.cs: Make the `MonoDebugger_' methods internal.
1415 2004-01-04 Nick Drochak <ndrochak@gol.com>
1417 * Assembly.cs: Removed unused variable in catch block.Eliminates a build
1420 2003-12-29 Ben Maurer <bmaurer@users.sourceforge.net>
1422 * MethodBase.cs: Internal method to get param count (this
1423 way we can get the info for the ilgen without creating
1424 an array, if we override the method).
1426 2003-12-18 Zoltan Varga <vargaz@freemail.hu>
1428 * Assembly.cs: Implement LoadFrom.
1430 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
1432 * Assembly.cs: Add stubs for LoadFile.
1434 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
1436 * Assembly.cs (GetManifestResourceStream): Only load non-embedded
1437 resources from files.
1439 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
1441 * MonoField.cs (SetValue): Throw an exception if the value cannot be
1442 converted to the field's type. Fixes #52177.
1444 2003-12-11 Lluis Sanchez Gual <lluis@ximian.com>
1446 * AmbiguousMatchException.cs: Added serialization constructor.
1448 2003-12-08 Martin Baulig <martin@ximian.com>
1450 * MonoGenericInst.cs (MonoGenericParam): New internal class;
1451 derives from MonoType.
1453 2003-12-08 Patrik Torstensson <p@rxc.se>
1455 * Binder.cs: Added internal helpers to get derived level and select the
1456 most derived methodbase (used in GetMethodImpl)
1458 2003-11-25 Zoltan Varga <vargaz@freemail.hu>
1460 * Assembly.cs (LoadWithPartialName): Return null instead of throwing
1461 an exception to match MS behavior.
1463 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
1465 * MonoMethod.cs: Add missing constructor.
1467 2003-11-21 Zoltan Varga <vargaz@freemail.hu>
1469 * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
1471 2003-11-16 Martin Baulig <martin@ximian.com>
1473 * MonoGenericInst.cs (MonoGenericInst.inflate): Call
1474 `parent.inflate (parent,...)' instead of
1475 `parent.inflate (reflected,...)'.
1477 2003-11-16 Zoltan Varga <vargaz@freemail.hu>
1479 * Assembly.cs (InternalGetAssemblyName): New icall.
1481 * AssemblyName.cs (GetAssemblyName): Implement this without loading
1482 the assembly in question. Fixes #51035.
1484 2003-11-14 Martin Baulig <martin@ximian.com>
1486 * MonoGenericInst.cs (MonoGenericInst): Added
1487 `MonoGenericInst[] interfaces' field. This is only used for
1489 (MonoGenericInst.inflate): If we're an interface type, add the
1490 methods from all interfaces we inherit.
1492 2003-11-14 Zoltan Varga <vargaz@freemail.hu>
1494 * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values
1497 * *.cs: Add missing attributes.
1499 2003-11-11 Todd Berman <tberman@gentoo.org>
1501 * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
1503 2003-11-11 Zoltan Varga <vargaz@freemail.hu>
1505 * MonoMethod.cs: Implement CallingConvention member.
1507 2003-11-10 Zoltan Varga <vargaz@freemail.hu>
1509 * Assembly.cs (InternalGetType): Add a 'module' argument so this
1510 method can be used from Module as well.
1512 * Module.cs (GetType): Implement.
1514 * Module.cs (GetTypes): Implement.
1516 * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
1517 2003-11-08 Martin Baulig <martin@ximian.com>
1519 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
1520 a private `IntPtr ginst' field.
1521 (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
1523 2003-11-02 Martin Baulig <martin@ximian.com>
1525 * MonoGenericInst.cs (MonoGenericInst.initialize): Include members
1526 from our parent classes in the `methods', `ctors' and `fields'
1527 arrays. When inflating them, reflection now sets their
1528 `declaring_type' and `reflected_type' fields.
1529 (MonoInflatedMethod, MonoInflatedCtor): Added
1530 `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
1531 fields and override the `DeclaringType' and `ReflectedType' properties.
1533 2003-11-02 Martin Baulig <martin@ximian.com>
1535 * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
1537 2003-10-31 Martin Baulig <martin@ximian.com>
1539 * MonoGenericInst.cs (MonoInflatedField): New internal class.
1540 (MonoGenericInst.GetFields): Override this method and inflate
1543 * MonoField.cs: Don't make this class sealed.
1545 2003-10-30 Martin Baulig <martin@ximian.com>
1547 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
1550 2003-10-25 Martin Baulig <martin@ximian.com>
1552 * MonoGenericInst.cs: New internal class.
1554 2003-10-18 Martin Baulig <martin@ximian.com>
1556 * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
1557 abstract; use an interncall in MonoMethod and a custom
1558 implementation in MethodBuilder.
1560 2003-10-17 Pedro Martínez Juliá <yoros@wanadoo.es>
1562 * MonoEvent.cs: implement ToString method as in MS.NET.
1564 * MonoMethod.cs: fix some differences between mono and MS.NET
1565 implementation of ToString.
1567 2003-10-17 Zoltan Varga <vargaz@freemail.hu>
1569 * AssemblyName.cs: Fix Version property when some version fields are
1572 2003-10-17 Martin Baulig <martin@ximian.com>
1574 * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
1575 (MethodInfo.BindGenericParameters): New method.
1577 2003-10-16 Martin Baulig <martin@ximian.com>
1579 * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
1582 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
1584 * ParameterInfo.cs: Modified constructor of ParameterInfo for
1585 the return type of a method. Since parameter positions are
1586 zero-based, the position of the return type must be is -1.
1588 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1590 * TargetInvocationException.cs: Fixed signature
1592 2003-07-24 Miguel de Icaza <miguel@ximian.com>
1594 * TypeDelegator.cs: Added generics stubs.
1596 2003-07-21 Lluis Sanchez Gual <lluis@ximian.com>
1598 * ParameterInfo.cs: Position is zero-based in ParameterInfo.
1599 Set the right position value when getting from ParameterBuilder.
1601 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
1603 * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
1604 finer-grained icalls. Requires a matching runtime.
1606 2003-07-11 Zoltan Varga <vargaz@freemail.hu>
1608 * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
1610 * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
1612 2003-07-10 Zoltan Varga <vargaz@freemail.hu>
1614 * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
1616 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
1618 * Pointer.cs: implemented.
1620 2003-06-15 Zoltan Varga <vargaz@freemail.hu>
1622 * EventInfo.cs: Implement IsSpecialName.
1624 2003-06-10 Zoltan Varga <vargaz@freemail.hu>
1626 * Module.cs (Mono_GetGuid): New method to return the GUID of the
1629 2003-05-21 Zoltan Varga <vargaz@freemail.hu>
1631 * Module.cs: Implement GetField and its friends.
1633 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
1635 * Assembly.cs (GetManifestResourceStream): Moved handling of
1636 linked resources into managed code using the newly implemented
1637 GetManifestResourceInfo () method.
1639 2003-05-19 Zoltan Varga <vargaz@freemail.hu>
1641 * Module.cs: Implemented IsResource.
1643 * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
1644 GetModule, GetLoadedModules methods.
1645 * Assembly.cs (GetManifestResourceStream): Added support for
1646 resources in extern assemblies.
1648 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1650 * Assembly.cs: fixed bug #42833.
1652 2003-05-11 Miguel de Icaza <miguel@ximian.com>
1654 * Binder.cs (ChangeType): Very simplistic change. Am not sure if
1655 it is correct, but it makes RemotingCorba move along a bit more
1656 (Remoting.Corba invokes Binder.ConvertArgs, which calls
1657 Binder.ChangeType with an Attribute [] to Object []).
1659 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1662 (check_type): fixed bug #41655.
1664 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1666 * Assembly.cs: implemented GetSatelliteAssembly.
1668 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
1670 * Assembly.cs: added GetNamespaces() icall.
1672 2003-03-17 Zoltan Varga <vargaz@freemail.hu>
1674 * FieldInfo.cs (GetFieldFromHandle): Implemented.
1676 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1678 * Assembly.cs: added missing stuff. Only ModuleResolve event is left
1679 out to avoid changing MonoReflectionAssembly by now.
1680 * ModuleResolveEventHandler.cs: delegate.
1682 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1684 * TargetInvocationException.cs: added serialization ctor.
1686 2003-02-18 Martin Baulig <martin@ximian.com>
1688 * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
1689 method's metadata token.
1691 2003-02-04 Sebastien Pouliot <spouliot@videotron.ca>
1693 * Module.cs: Corrected indentation for class.
1695 2003-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1698 (check_type): return true when the target type is object and the source
1701 2003-02-03 Patrik Torstensson
1703 * Binder.cs: minimize locking time in DefaultBinder.
1705 2003-02-01 Sebastien Pouliot <spouliot@videotron.ca>
1707 * Module.cs: Oups - not implemented. Added MonoTODO to most methods
1708 so it's real status get reflected correctly on the web site.
1710 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1712 * MonoMethod.cs: implemented GetBaseDefinition ().
1714 2003-01-28 Patrik Torstensson
1715 * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
1716 * ReflectionSerializationHolder.cs: Support class for serialization
1718 2003-01-17 Zoltan Varga <vargaz@freemail.hu>
1720 * ParameterInfo.cs: modified constructor so it allows the
1721 ParameterBuilder to be null and add a 'position' argument which will
1722 be used when pb is null.
1724 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
1726 * Assembly.cs: added serialization support.
1728 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
1730 * MonoMethod.cs: propagate exceptions from the internal invoke
1731 code that need to be propagated.
1733 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
1735 * Binder.cs: throw an exception if the number of arguments
1736 when invoking a method is incorrect.
1738 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
1740 * Binder.cs: In SelectMethod() look for an exact match first.
1742 2003-01-01 Rachel Hestilow <hestilow@ximian.com>
1744 * MonoField.cs (SetValue): Fix logic typo. Check that obj is
1745 non-null only for the non-static case.
1747 2002-12-30 Sebastien Pouliot <spouliot@videotron.ca>
1749 * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by
1752 2002-12-23 Sebastien Pouliot <spouliot@videotron.ca>
1754 * AssemblyName.cs: GetPublicKey now return an empty array (not null)
1755 when an assembly isn't signed with a StrongName (to match MS
1756 implementation) and null when no assembly is referenced. Also removed
1757 commented code (no bug reported so it was probably not used).
1759 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
1761 * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
1762 provider for the return type of a method.
1764 2002-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1766 * AssemblyName.cs: little fix in FullName.
1768 2002-12-07 Sebastien Pouliot <spouliot@videotron.ca>
1770 * AssemblyName.cs: Added missing methods/interfaces. Fixed some
1771 code to match the MS Framework.
1772 * StrongNameKeyPair.cs: Completed the "visible" implementation.
1773 There must be some internal methods to allow signing with the key.
1775 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1777 * EventInfo.cs: implemented (Add|Remove)EventHandler.
1779 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
1781 * Assembly.cs: implemented GetManifestResourceStream (Type type,
1784 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1786 * Assembly.cs: changed name of GetType (string, bool, bool) to
1789 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1791 * TargetInvocationException.cs: modified default message.
1793 2002-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1796 * PropertyInfo.cs: fixed bug #31535.
1798 2002-09-27 Martin Baulig <martin@gnome.org>
1800 * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
1802 2002-09-24 Martin Baulig <martin@gnome.org>
1804 * Assembly.cs (MonoDebugger_GetType): New method to get a Type
1805 from its metadata token. This should only be used by the debugger.
1807 2002-09-21 Martin Baulig <martin@gnome.org>
1809 * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
1810 get the type of a local variable from its signature. This should only
1811 be used by the debugger.
1813 2002-09-20 Martin Baulig <martin@gnome.org>
1815 * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
1816 from its metadata token. This should only be used by the debugger.
1818 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1820 * Binder.cs: more default binder implementation.
1822 * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
1823 * MonoMethod.cs: use the binder in the Invoke () implementation.
1824 Implemented custom attributes methods and ToString for constructors.
1826 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
1828 * Binder.cs: finished the Binder class and implemented the default
1831 2002-09-03 Martin Baulig <martin@gnome.org>
1833 * Assembly.cs (Assembly.Location): Implemented.
1835 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1838 (GetValue): allow obj to be null (used for static fields).
1840 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1842 * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
1845 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
1847 * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen
1848 <tomi.pakarinen@welho.com>.
1850 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1852 * Assembly.cs: FullName now returns a proper string instead of
1853 something like 'file://...'.
1855 * AssemblyName.cs: added missing ToString method.
1857 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1859 * FieldInfo.cs: implemented SetValue.
1861 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1863 * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
1865 2002-08-14 Dick Porter <dick@ximian.com>
1867 * Assembly.cs: Stub out GetSatelliteAssembly
1869 2002-08-12 Tim Coleman <tim@timcoleman.com>
1871 Allow multiple parameters for GetValue ()
1873 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
1875 * Assembly.cs: implemented GetFile() and GetFiles().
1877 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
1879 * Assembly.cs: implemented EntryPoint and a few
1880 resource related methods.
1882 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
1884 * MethodBase.cs: implemented GetCurrentMethod.
1885 * Assembly.cs: implemented GetExecutingAssembly and
1888 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
1890 * MonoProperty.cs: handle properties with only a set method.
1892 2002-05-24 Martin Baulig <martin@gnome.org>
1894 * ParameterInfo.cs: Added internal constructor.
1896 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
1898 * Assembly.cs: implemented CreateInstance ().
1900 2002-05-22 Martin Baulig <martin@gnome.org>
1902 * MethodBase.cs (get_next_table_index): Added `object obj' argument.
1904 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
1906 * EventInfo.cs: more implementation.
1908 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1910 * MonoEvent.cs: fill-in the implementation.
1912 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1914 * Assembly.cs, AssemblyName.cs: updates and fixes.
1916 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
1918 * MonoProperty.cs (GetValue) : basic implementation to support nunit
1919 * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
1921 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1923 * MonoMethod.c: cache the method name.
1925 2002-04-12 Duncan Mak <duncan@ximian.com>
1927 * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
1930 * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
1933 * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
1936 * BindingFlags.cs: Added missing value "PutRefDispProperty".
1938 * FieldAttributes.cs: Removed value "HasSecurity".
1940 * ManifestResourceInfo.cs: Added missing properties FileName,
1941 ReferencedAssembly and ResourceLocation.
1943 * TargetInvocationException.cs: Added the missing constructors.
1945 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1947 * MonoMethod.cs: make Name property an icall.
1949 2002-04-08 Nick Drochak <ndrochak@gol.com>
1951 * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
1952 struct and interface.
1954 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
1956 * MonoEvent.cs: remove unused code.
1957 * MonoProperty: implement ToString().
1959 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
1961 * Assembly.cs: implement GetTypes() and GetExportedTypes().
1963 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
1965 * MonoEvent.cs: added the needed fields.
1967 2002-03-20 Martin Baulig <martin@gnome.org>
1969 * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
1971 * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
1973 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
1975 * MonoMethod.cs (Invoke): call InternalInvoke
1977 * MethodBase.cs (Invoke): call virtual invoke function
1979 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
1981 * EventInfo.cs: add compiler needed methods.
1982 * MonoMethod.cs: make ToString() return the return type name, too.
1984 2002-03-07 Nick Drochak <ndrochak@gol.com>
1986 * BindingFlags.cs: Add missing enum values. Thanks CorCompare.
1988 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1990 * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
1992 2002-02-26 Duncan Mak <duncan@ximian.com>
1994 * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
1996 2002-02-24 Nick Drochak <ndrochak@gol.com>
1998 * AssemblyNameFlags.cs: Use proper member name. Thanks corcompare!
2000 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
2002 * MonoField.cs: implement GetValue as an internalcall.
2003 Implemented ToString().
2005 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
2007 * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
2008 MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
2011 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
2013 * TypeAttributes.cs: update to latest spec.
2015 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
2017 * Assembly.cs: handle throwOnError in GetType() call.
2019 2002-02-07 Duncan Mak <duncan@ximian.com>
2021 * AssemblyName.cs: Implemented ISerializable interface for the
2022 fields that we have.
2024 2002-02-05 Duncan Mak <duncan@ximian.com>
2027 * TargetException.cs: Added in CVS.
2029 2002-01-31 Duncan Mak <duncan@ximian.com>
2031 * ReflectionTypeLoadException.cs: Added missing bits.
2033 2002-01-23 Duncan Mak <duncan@ximian.com>
2035 * AssemblyAlgorithmIdAttribute.cs:
2036 * AssemblyCompanyAttribute.cs:
2037 * AssemblyConfigurationAttribute.cs:
2038 * AssemblyCopyrightAttribute.cs:
2039 * AssemblyCultureAttribute.cs:
2040 * AssemblyDefaultAliasAttribute.cs:
2041 * AssemblyDelaySignAttribute.cs:
2042 * AssemblyDescriptionAttribute.cs:
2043 * AssemblyFileVersionAttribute.cs:
2044 * AssemblyFlagsAttribute.cs:
2045 * AssemblyInformationalVersionAttribute.cs:
2046 * AssemblyKeyFileAttribute.cs:
2047 * AssemblyKeyNameAttribute.cs:
2048 * AssemblyNameProxy.cs:
2049 * AssemblyProductAttribute.cs:
2050 * AssemblyTitleAttribute.cs:
2051 * AssemblyTradeMarkAttribute.cs:
2052 * AssemblyVersionAttribute.cs:
2053 * CustomAttributeFormatException.cs:
2054 * InvalidFilterCriteriaException.cs:
2055 * TargetParameterCountException.cs: Added.
2057 2002-01-23 Miguel de Icaza <miguel@ximian.com>
2059 * Assembly.cs (Assembly.CodeBase): Implement.
2060 (Assembly.FullName): simplistic and broken implementation. Gets
2061 us where we were yesterday.
2065 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
2067 * IReflect.cs: corrected GetMember() return type.
2068 * InterfaceMapping.cs, TypeDelegator.cs: implemented.
2070 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
2072 * MonoMethod.cs: ToString () implementation.
2074 2002-01-04 Ravi Pratap <ravi@ximian.com>
2076 * Assembly.cs : Decorate missing bits with the MonoTODO
2079 * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
2080 ReflectionTypeLoadException.cs : Ditto.
2082 * FieldInfo.cs : Ditto.
2084 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
2086 * Assembly.cs: trow unimplemented exceptions.
2088 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
2090 * MonoMethod.cs: implemented GetParameters().
2091 * MonoProperty.cs: PropertyInfo implementation.
2092 * ParameterInfo.cs: implemented.
2093 * PropertyInfo.cs: fixes.
2095 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
2097 * FieldInfo.cs: implemented some Is* propeties.
2098 * MethodBase.cs: fixed attribute accessors.
2099 * MonoField.cs: runtime object to represent a field.
2100 * MonoMethod.cs: runtime object to represent a method.
2101 * AssemblyBuilder.cs: GetToken() methods to get tokens for
2102 strings, fields, methods...
2103 * ILGenerator.cs: handle tokens for methods.
2105 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
2107 * MethodBase.cs: add internal get_next_table_index() for use in
2110 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
2112 * Assembly.cs: implement some of the Load() methods.
2113 * ConstructorInfo.cs: some missing stubs and fields.
2114 * FieldInfo.cs: IsInitOnly property.
2115 * ParameterInfo.cs: stubs for missing properties.
2116 * ParameterModifier.cs: implemented class.
2118 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
2120 * Assembly.cs: Filled in some stub implementations
2122 * ConstructorInfo.cs: Added some stub functions for NUnit
2124 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
2126 * AmbiguousMatchException.cs,
2127 * Assembly.cs, Module.cs: updates.
2128 * FieldInfo.cs: better compliance to the spec.
2129 * MethodBase.cs: move call_conv out of the way.
2130 * AssemblyBuilder.cs: don't use internalcalls, more stuff supported.
2131 * FieldBuilder.cs: implemented.
2132 * ILGenerator.cs: implemented some opcode handling.
2133 * Label.cs: add constructor.
2134 * LocalBuilder.cs: implemented.
2135 * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
2136 * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
2137 * ParameterBuilder.cs: implemented.
2138 * PropertyBuilder.cs: implemented.
2139 * TypeBuilder.cs: don't use internalcalls, more stuff working.
2141 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
2143 * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
2145 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
2147 * MethodBase.cs, MethodInfo.cs: added.
2149 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
2151 * Assembly.cs: added stub code.
2153 2001-07-18 Michael Lambert <michaellambert@email.com>
2155 * BindingFlags.cs: Add.