1 2009-06-12 Zoltan Varga <vargaz@gmail.com>
3 * ParameterInfo.cs (DefaultValue): Add support for decimals, their default
4 value is encoded using a custom attribute.
6 2009-05-02 Sebastien Pouliot <sebastien@ximian.com>
8 * Assembly.cs: Exclude CAS-specific code for NET_2_1
10 2009-04-30 Sebastien Pouliot <sebastien@ximian.com>
12 * Module.cs: Exclude GetSignerCertificate (Authenticode related)
14 * StrongNameKeyPair.cs: Adapt to work with only RSAManaged when
15 built for NET_2_1, i.e. remove use of RSACryptoServiceProvider
17 2009-03-26 Zoltan Varga <vargaz@gmail.com>
19 * MonoMethod.cs: Add a 'member' argument to the get_parameter_info () icall.
21 2009-03-03 Matthew Metnetsky <matthew@cowarthill.com>
23 * MonoMethod.cs: within Invoke only change types if BindingFlags.ExactBinding isn't set
25 * MonoMethod.cs: within Invoke ensure arg types match ParameterInfo types before
26 calling InvokeInternal
28 2009-03-20 Sebastien Pouliot <sebastien@ximian.com>
30 * EventInfo.cs, MonoProperty.cs: Ensure the delegate optimization
31 works correctly, i.e. throw the right exception, with Moonlight.
33 2009-03-11 Zoltan Varga <vargaz@gmail.com>
35 * Binder.cs: Allow conversions from T to T?. Fixes #484294.
37 2008-03-02 Rodrigo Kumpera <rkumpera@novell.com>
39 * EventInfo.cs: Apply similar trick to the one in MonoProperty to speed up
42 2008-02-28 Rodrigo Kumpera <rkumpera@novell.com>
44 * MonoProperty.cs (GetValue): Don't use the delegate optimization for valuetypes.
46 2008-02-26 Rodrigo Kumpera <rkumpera@novell.com>
48 * MonoProperty.cs (GetValue): Optimize getters for properties without arguments.
50 2008-02-26 Rodrigo Kumpera <rkumpera@novell.com>
52 * MonoProperty.cs (GetValue): Optimize getters for properties without arguments.
53 The optimization is to create a pair of chained delegates that duplicate the workings
54 on MethodBase::Invoke without all the aditional overhead and without doing two
55 managed/native transitions.
57 Simple Getter performance is up to 17x faster.
59 This patch reduces contention on domain and domain jit code hash locks, which
60 can be very hot on asp.net applications.
62 2008-02-21 Jb Evain <jbevain@novell.com>
64 * Module.cs: add a new virtual GetModuleVersionId method,
65 and make the properties .MvId and ModuleVersionId call it.
66 This way, we can override it in ModuleBuilder.
67 Part of the fix for #471302.
69 2008-02-03 Rodrigo Kumpera <rkumpera@novell.com>
71 * MonoMethod.cs: Fix the 1.1 build.
73 2008-02-02 Rodrigo Kumpera <rkumpera@novell.com>
75 * MonoMethod.cs (ToString): Fix the representation of non primitive structs.
77 2008-02-02 Rodrigo Kumpera <rkumpera@novell.com>
79 * MonoMethod.cs (ToString): Fix representation of pointer types.
83 2009-01-24 Zoltan Varga <vargaz@gmail.com>
85 * MonoGenericClass.cs: Fix warnings.
87 2009-01-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
89 * Assembly.cs: add new LoadSatelliteAssemblyNoThrow method and use the
90 new LoadSatellite() in AppDomain.
92 2009-01-09 Zoltan Varga <vargaz@gmail.com>
94 * CustomAttributeData.cs (ToString): Applied patch from Leszek Ciesielski
95 <skolima@gmail.com>. Use DeclaringType.FullName instead of DeclaringType.Name.
98 2008-11-17 Rodrigo Kumpera <rkumpera@novell.com>
100 * MonoField.cs (GetValue): Don't check for open generic types if the field
103 2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
105 * Module.cs (ResolveMethod): Use internal method
106 GetMethodFromHandleNoGenericCheck to avoid the generic type
107 limitation of GetMethodFromHandle.
111 2008-10-02 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
113 * MonoMethod.cs: throw a MemberAccessException when
114 trying to invoke a constructor creating an instance of an abstract
115 class. Return null when an instance of an object was passed as a
116 parameter when invoking a .ctor. Fixes bug #324185.
118 2008-09-07 Zoltan Varga <vargaz@gmail.com>
120 * MonoField.cs: Add check to GetValue/SetValue () to avoid crashes when it is
121 called on fields of open types. Fixes #424077.
123 2008-08-12 Gert Driesen <drieseng@users.sourceforge.net>
125 * ReflectionSerializationHolder.cs: Removed.
126 * common.src: Removed.
128 2008-08-04 Atsushi Enomoto <atsushi@ximian.com>
130 * Assembly.cs : return UnmanagedMemoryStream from
131 GetManifestResourceStream(). Fixed bug #322241.
133 2008-07-30 Rodrigo Kumpera <rkumpera@novell.com>
135 * MonoGenericClass.cs (InflateType): Guard against null types.
138 2008-07-23 Marek Safar <marek.safar@gmail.com>
140 * MethodBase.cs (GetMethodFromHandle): Needed for bootraping.
142 2008-07-22 Rodrigo Kumpera <rkumpera@novell.com>
144 * MonoGenericClass.cs (GetMethod): Under compiler mode allow
145 MethodOnTypeBuilderInst to be used..
147 2008-07-17 Rodrigo Kumpera <rkumpera@novell.com>
149 * MonoGenericClass.cs (GetMethod): Revert to old code
150 path as the new one broke System.Core.
152 2008-07-16 Rodrigo Kumpera <rkumpera@novell.com>
154 * MonoGenericClass.cs (GetMethod): Use the new codepath for compiler
157 * MonoGenericClass.cs: New InflateType method, used to inflate
160 2008-07-11 Marek Safar <marek.safar@gmail.com>
162 * MonoGenericClass.cs (GetField): Put back removed code.
164 2008-07-04 Rodrigo Kumpera <rkumpera@novell.com>
166 * MethodBase.cs (GetMethodFromHandle): Fix a warning in
169 2008-07-04 Rodrigo Kumpera <rkumpera@n ovell.com>
171 * MethodBase.cs (GetMethodFromHandle): Extract an internal version
172 of this function that doesn't perform the generic class check.
173 This method is required to fix the Delegate regression that fixing
176 2008-06-25 Rodrigo Kumpera <rkumpera@n ovell.com>
178 * MethodBase.cs (GetMethodFromHandle): Check if the icall returns null
179 and fail. This is part of the fix for #377324.
181 2008-06-19 Marek Safar <marek.safar@gmail.com>
183 * MonoGenericClass.cs (GetConstructor): Put back removed code due to obscure
184 System.Reflection.MonoGenericCMethod.
186 2008-06-19 Kornel Pal <kornelpal@gmail.com>
188 * Module.cs: Add internal GetHINSTANCE.
190 2008-06-02 Ivan N. Zlatev <contact@i-nz.net>
192 * Binder.cs, MonoGenericClass.cs: For property reflection we should
193 strictly match the return type if available.
195 2008-05-16 Zoltan Varga <vargaz@gmail.com>
197 * MonoGenericClass.cs (GetConstructor): Remove some old code, as the new code
201 2008-05-05 Zoltan Varga <vargaz@gmail.com>
203 * FieldInfo.cs (GetFieldFromHandle): Add an argument check for an invalid handle.
205 * MethodBase.cs (GetMethodFromHandle): Ditto. Fixes #386641.
207 2008-04-30 Gert Driesen <drieseng@users.sourceforge.net>
209 * ParameterInfo.cs: Name must default to null if no ParameterBuilder
212 2008-04-22 Zoltan Varga <vargaz@gmail.com>
214 * MonoGenericClass.cs (GetMethod): Construct a MethodOnTypeBuilderInst object
215 instead of using GetCorrespondingInflatedMethod. This is needed so this class can
216 reflect the changes made to the builder after initialize () has been called.
217 Fixes #381547 and #354759.
218 (GetConstructor): Ditto.
220 2008-04-16 Zoltan Varga <vargaz@gmail.com>
222 * Binder.cs: Applied patch from Yves Bastide (doc.formatique@gmail.com). Add
223 support for converting integers to enums. Fixes #380361.
225 ?2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
228 * MethodInfo.cs: Fix parameter names
230 2008-03-31 Mark Probst <mark.probst@gmail.com>
232 * MonoMethod.cs: Don't do CAS security checks in Invoke for 2.1
235 2008-03-25 Zoltan Varga <vargaz@gmail.com>
237 * MonoCMethod.cs (Invoke): Avoid a crash if this is called on a ctor of an open
238 generic type. Fixes #373459.
240 * MonoMethod.cs (InternalInvoke): Add an out 'exc' argument used to distinguish
241 exceptions thrown by the icall from the exceptions thrown by the wrapped method.
244 2008-03-17 Marek Safar <marek.safar@gmail.com>
246 * MonoMethod.cs (ToString): Print VarArgs argument.
248 2008-03-14 Zoltan Varga <vargaz@gmail.com>
250 * MonoGenericClass.cs (GetField): Construct a FieldOnTypeBuilderInst object
251 instead of using GetCorrespondingInflatedField. This is needed so this class can
252 reflect the changes made to the type builder after initialize () has been called.
254 * Binder.cs (ChangeType): Add support for Char->Double/Single conversations. Fixes
257 2008-03-10 Gert Driesen <drieseng@users.sourceforge.net>
259 * Assembly.cs (GetFile): Fixed exception messages and param name.
261 2008-03-06 Zoltan Varga <vargaz@gmail.com>
263 * Assembly.cs: Define GetManifestModule () for net 2.0 bootstrap as well.
265 2008-02-26 Ivan N. Zlatev <contact@i-nz.net>
267 * MonoProperty.cs: MS ignores the inherit parameter and defaults to false
268 for GetCustomAttributes.
269 [Fixes bugs #324472 and #322464]
271 2008-02-20 Zoltan Varga <vargaz@gmail.com>
273 * AssemblyName.cs (ReferenceMatchesDefinition): Add error checking and some
274 simple cases required by ikvm.
276 2008-02-18 Zoltan Varga <vargaz@gmail.com>
278 * CustomAttributeTypedArgument.cs (.ctor): Convert arrays into a collection of
279 CustomAttributeTypedArguments to match MS.
281 2008-02-10 Gert Driesen <drieseng@users.sourceforge.net>
283 * Assembly.cs: Use icall for ToString/FullName. Fixes bug #318231.
285 2008-02-02 Gert Driesen <drieseng@users.sourceforge.net>
287 * MonoMethod.cs (MakeGenericMethod): Modified argument name to match
288 MS. When one of the types is null, throw ArgumentNullException instead
289 of ArgumentException.
290 * MethodInfo.cs (MakeGenericMethod): Modified argument name to match
293 2008-01-29 Zoltan Varga <vargaz@gmail.com>
295 * Assembly.cs: Make GetTypes () virtual so it can be overriden by AssemblyBuilder.
297 * Assembly.cs: Make GetModulesInternal () virtual so it can be overriden by
300 2008-01-22 Zoltan Varga <vargaz@gmail.com>
302 * MonoGenericClass.cs: Make this NET 2.0 only.
304 * MonoGenericClass.cs (Initialize): Simplify this a bit and add comments for this
307 2008-01-20 Gert Driesen <drieseng@users.sourceforge.net>
309 * AssemblyName.cs: Added support for Retargetable spec in FullName.
311 2008-01-17 Zoltan Varga <vargaz@gmail.com>
313 * Assembly.cs AssemblyFlagsAttribute.cs ICustomAttributeProvider.cs
314 MemberInfo.cs FieldInfo.cs DefaultMemberAttribute.cs
315 CustomAttributeNamedArgument.cs TargetException.cs MethodInfo.cs
316 IReflect.cs CustomAttributeTypedArgument.cs Module.cs: Change some parameter
319 2008-01-15 Jb Evain <jbevain@novell.com>
321 * MonoMethod.cs (MakeGenericMethod): check for null values
322 in the types arguments. Fixes #353849.
324 2008-01-06 Sebastien Pouliot <sebastien@ximian.com>
326 * Assembly.cs: Fix typo in setter found with Gendarme (was used in a
327 single place, AppDomain, and set to true so it never caused a problem)
329 2008-01-04 Gert Driesen <drieseng@users.sourceforge.net>
331 * AssemblyName.cs: Fixed default value for ProcessorArchitecture to
332 match MS. On 2.0 profile, return zero-length in FullName is no name
333 is set, and throw a SecurityException in FullName and GetPublicKeyToken
334 if a public key is set with no corresponding public key token.
335 Fixed FullName to also include PublicKeyToken spec with "null" value
336 if public key is empty byte array. Fixed corlib part of bug #351057.
337 In SetPublicKey, modify Flags accordingly. On the 2.0 profile, verify
338 the public key when the public key token is computed.
340 2007-12-26 Zoltan Varga <vargaz@gmail.com>
342 * Assembly.cs (GetSatelliteAssembly): Search in the assembly directory as well.
345 2007-12-03 Zoltan Varga <vargaz@gmail.com>
347 * MonoField.cs: Implement GetRawConstantValue ().
349 2007-11-24 Marek Habersack <mhabersack@novell.com>
351 * CustomAttributeTypedArgument.cs: value can be null in ToString.
353 2007-11-16 Zoltan Varga <vargaz@gmail.com>
355 * Assembly.cs (GetFiles): Include the assembly itself as the first entry.
357 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
359 * AssemblyName.cs : remove extraneous MonoTODO.
361 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
363 * ExceptionHandlingClause.cs : implemented ToString().
365 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
367 * MethodBase.cs : (Invoke) removed extra interface implementation.
369 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
371 * StrongNameKeyPair.cs : implemented 2.0 runtime serialization stuff.
373 2007-11-05 Mark Probst <mark.probst@gmail.com>
375 * Binder.cs: Treat matches with different argument types as
376 ambiguous, too. Fixes #324998.
378 2007-11-01 Zoltan Varga <vargaz@gmail.com>
380 * Binder.cs: Avoid returning a method with a ParamArray attribute when a normal
381 method exists. Fixes #338266.
383 2007-10-30 Zoltan Varga <vargaz@gmail.com>
385 * Binder.cs: Applied patch from Mario A Chavez <mario.chavez@gmail.com>. Add
386 support for binding to methods with ParamArray attribute. Fixes #336841.
388 2007-10-27 Zoltan Varga <vargaz@gmail.com>
390 * MonoGenericClass.cs: Override GetPropertyImpl too.
392 2007-10-24 Atsushi Enomoto <atsushi@ximian.com>
394 * Assembly.cs : include ReflectionOnlyLoad() as part of 2.0
397 2007-09-23 Zoltan Varga <vargaz@gmail.com>
399 * Assembly.cs (GetManifestModule): New virtual method overridden by
402 2007-09-17 Gert Driesen <drieseng@users.sourceforge.net>
404 * Assembly.cs: In GetManifestResourceStream, throw ANE with type as
405 paramname when both name and type are null. Use String.Length to check
406 for zero-length string.
408 2007-09-11 Mark Probst <mark.probst@gmail.com>
410 * MonoMethod.cs: Catch and re-throw MethodAccessException from
411 InternalInvoke for CoreCLR security.
413 Thu Sep 6 19:49:34 CEST 2007 Paolo Molaro <lupus@ximian.com>
415 * MonoMethod.cs: name is used as a cache: provide an icall to get the
416 name from the runtime.
418 2007-08-23 Robert Jordan <robertj@gmx.net>
420 * MemberInfoSerializationHolder.cs: created from
421 ReflectionSerializationHolder to match MS (fixes bug #80761).
422 Add support for fields, events, properties and generic methods.
424 * MonoMethod.cs (GetObjectData): handle generic arguments.
426 * MonoGenericMethod.cs: mark as [Serializable].
428 * MonoProperty.cs (GetObjectData): implemented.
430 * MonoField.cs: ditto.
432 * MonoEvent.cs: ditto.
434 2007-07-19 Atsushi Enomoto <atsushi@ximian.com>
436 * MonoMethod.cs : parameter types should be fixed as well.
438 2007-07-19 Atsushi Enomoto <atsushi@ximian.com>
440 * MonoMethod.cs : ToString() did not show correct return type when
443 2007-07-15 Zoltan Varga <vargaz@gmail.com>
445 * FieldInfo.cs: Implement GetOptional/RequiredCustomModifiers ().
447 * MethodInfo.cs: Remove an unneccesary MonoTODO.
449 * Module.cs: Implement ResolveSignature.
451 2007-07-14 Zoltan Varga <vargaz@gmail.com>
453 * Module.cs: Implement the generic versions of the ResolveXXX methods.
455 2007-07-10 Zoltan Varga <vargaz@gmail.com>
457 * Module.cs: Add new internal method GetMDStreamVersion ().
459 2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
461 * CustomAttributeNamedArgument.cs, CustomAttributeTypedArgument.cs:
462 added missing operator == and !=.
464 2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
466 * CustomAttributeNamedArgument.cs CustomAttributeTypedArgument.cs
467 CustomAttributeData.cs : implemented Equals() and GetHashCode().
468 * Missing.cs : ISerializable.
469 * AssemblyName.cs : ReferenceMatchesDefinition() stub.
470 * Module.cs : missing method stubs with generic type/method args.
471 * ExceptionHandlingClause.cs : ToString() stub.
472 * MethodBase.cs TypeDelegator.cs ModuleResolveEventHandler.cs
473 TypeFilter.cs MemberFilter.cs
474 FieldInfo.cs ParameterInfo.cs MethodInfo.cs :
475 miscellaneous cosmetic API fixes.
477 Tue May 8 13:04:35 CEST 2007 Paolo Molaro <lupus@ximian.com>
479 * FieldInfo.cs, MethodBase.cs: implemented new GetFieldFromHandle and
480 GetMethodFromHandle overloads (bug #78637).
482 2007-05-07 Zoltan Varga <vargaz@gmail.com>
484 * MonoMethod.cs (Invoke): Fix a warning.
486 * MonoMethod.cs (Invoke): Don't wrap ThreadAbortException inside a
487 TargetInvocationException on the 2.0 profile. Fixes #81538.
489 2007-04-09 Alp Toker <alp@atoker.com>
491 * MonoMethod.cs: Use StringBuilder for the entire ToString() methods
492 to reduce allocations and increase performance.
494 2007-04-09 Alp Toker <alp@atoker.com>
496 * MonoMethod.cs: Use StringBuilder for parms in ToString() methods.
498 2007-04-09 Alp Toker <alp@atoker.com>
500 * MethodBase.cs: IsGenericMethodDefinition() and IsGenericMethod()
501 should return false, not throw NotSupportedException. This matches MS
502 behaviour and introduces simplifications in subclasses.
503 * MonoMethod.cs: MonoCMethod: Remove redundant overrides.
505 2007-03-05 Peter Dettman <peter.dettman@iinet.net.au>
507 * Binder.cs: The patch changes Binder.Default.GetBetterMethod to
508 prefer methods in subclasses if the arg types can't disambiguate
511 Also fixes a typo in the CallingConventions comparison.
513 2007-03-01 Alp Toker <alp@atoker.com>
516 Add GetFieldFromHandle() 2.0 overload stub (NotImplemented).
518 2007-03-01 Alp Toker <alp@atoker.com>
520 * MethodBase.cs: Add missing ComVisible attr.
521 Add GetMethodFromHandle() 2.0 overload stub (NotImplemented).
523 2006-12-30 Marek Safar <marek.safar@gmail.com>
525 * MonoProperty.cs: Cache frequently used properties.
527 Thu Dec 14 13:50:48 CET 2006 Paolo Molaro <lupus@ximian.com>
529 * *.cs: added missing Serializable attributes.
531 Thu Dec 14 12:52:27 CET 2006 Paolo Molaro <lupus@ximian.com>
533 * MonoProperty.cs, ParameterInfo.cs, PropertyInfo.cs:
534 GetRequiredCustomModifiers()/GetOptionalCustomModifiers()
537 Tue Dec 12 20:35:10 CET 2006 Paolo Molaro <lupus@ximian.com>
539 * MethodBase.cs: added missing ComVisible attr.
540 * MethodInfo.cs: added a few missing methods that we implement
543 Tue Dec 12 19:45:26 CET 2006 Paolo Molaro <lupus@ximian.com>
545 * MonoEvent.cs: correctly obey the nonPublic flag in GetOtherMethods ().
546 * EventInfo.cs: remove NotImpl exception from GetOtherMethods ().
548 2006-10-19 Gert Driesen <drieseng@users.sourceforge.net>
550 * AssemblyName.cs: Revert change where filename was not converted to
551 absolute path before passing it to Assembly.InternalGetAssemblyName
552 as the CodeBase is not set in that case.
554 2006-10-17 Kornel Pal <kornelpal@gmail.com>
556 * FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a
557 NotSupportedException is the proper implementation.
558 * ParameterInfo.cs: Use Attributes in Is... properties on profile 2.0
559 that is expected by subclasses.
561 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
563 * AssemblyName.cs: No need to convert filename to absolute path before
564 passing it to Assembly.InternalGetAssemblyName. This allows our
565 exception messages to be better match those of MS.
567 2006-09-29 Jb Evain <jbevain@gmail.com>
569 * MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.
571 2006-09-02 Zoltan Varga <vargaz@gmail.com>
573 * ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from
574 Peter Dettman (peter.dettman@iinet.net.au). Implement ReturnParameter
577 * Binder.cs (ReorderParameters): Really fix this.
579 * Binder.cs (ReorderParameters): Fix this method. Fixes #79120.
581 2006-09-01 Raja R Harinath <rharinath@novell.com>
583 * MonoMethod.cs (ToString): Update to handle change in byref type names.
585 2006-08-08 Gert Driesen <drieseng@users.sourceforge.net>
587 * Assembly.cs: On 2.0 profile, throw FileNotFoundException for
588 linked resources in GetManifestResourceStream when assembly is
589 loaded from byte array.
591 2006-07-12 Zoltan Varga <vargaz@gmail.com>
593 * MonoMethod.cs (ContainsGenericParameters): Implement.
595 * MonoMethod.cs (Invoke): Prevent invoking of open generic methods.
597 2006-07-09 Gert Driesen <drieseng@users.sourceforge.net>
599 * Assembly.cs: When assembly is loaded from byte array, return null
600 for linked resources in GetManifestResourceStream. Fixes bug #78468.
602 2006-07-09 Zoltan Varga <vargaz@gmail.com>
604 * Binder.cs: Add back the support for BindingFlags.ExactBinding. Fixes #78592.
606 2006-06-30 Zoltan Varga <vargaz@gmail.com>
608 * Binder.cs: Comment out the ExactBinding stuff for the release as it breaks some
611 2006-06-07 Zoltan Varga <vargaz@gmail.com>
613 * Binder.cs: Add support for BindingFlags.ExactBinding. Fixes #78592.
615 2006-05-28 Gert Driesen <drieseng@users.sourceforge.net>
617 * MethodBase.cs: GetMethodBody should not throw ArgumentException for
618 a method with no IL body. Fixes bug #78522.
620 2006-05-10 Zoltan Varga <vargaz@gmail.com>
622 * Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
624 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
626 * Binder.cs : (Default.SelectMethod)
627 don't throw AmbiguousMatchException when one of conflicting method
628 matches weakly. Fixed bug #42547.
630 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
632 * Binder.cs : (Default.BindToMethod) reorder parameters based
633 on namedParameters. Fixed bug #41691.
635 2006-05-03 Jb Evain <jbevain@gmail.com>
637 * MonoField.cs (GetValue,SetValue): throw a TargetException
638 when the field is non static and the target is null.
640 2006-03-12 Zoltan Varga <vargaz@gmail.com>
642 * Binder.cs: Applied patch from Ben to fix #74947.
644 2006-03-01 Miguel de Icaza <miguel@novell.com>
646 * Assembly.cs: Cache the AssemblyName, patch from Tambet. This
647 reduces the memory usage during remoting.
649 2006-02-16 Martin Baulig <martin@ximian.com>
651 * FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.
653 2006-02-15 Martin Baulig <martin@ximian.com>
655 * MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
656 (MethodBase.Mono_IsInflatedMethod): Removed.
657 (MethodBase.HasGenericParameters): Removed.
659 * MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
660 here from MethodBase.
663 (MonoMethod.IsGenericMethodDefinition): This is now an icall.
664 (MonoMethod.IsGenericMethod): Likewise.
666 2006-02-14 Martin Baulig <martin@ximian.com>
669 (MonoCMethod.IsGenericMethod): Override this and return false; the
670 MS runtime doesn't throw an exception here.
672 2006-02-08 Martin Baulig <martin@ximian.com>
674 * MonoGenericClass.cs (MonoGenericClass.IsAssignableFrom):
675 Override and implement this; fixes #77395.
677 2006-02-07 Martin Baulig <martin@ximian.com>
680 (MonoMethod.IsGenericMethod): Only return true for "real" generic
681 methods and not for arbitrary instantiated methods.
682 (MonoMethod.IsGenericMethodDefinition): Only return true for
683 generic method definitions, but not for instantiated generic
684 methods. This is no longer an interncall. Fixes #77466.
686 2006-02-03 Zoltan Varga <vargaz@gmail.com>
688 * MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
691 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
693 * Assembly.cs: Fixed #75950. The icall has been changed to accept a
694 boolean so it can return a non-escaped code base.
696 2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
698 * MonoMethod.cs : made MakeGenericMethod() indirect icall to
699 MakeGenericMethod_impl() and raise an error when it returns null.
701 2005-11-15 Zoltan Varga <vargaz@gmail.com>
703 * Module.cs: Add MDStreamVersion property.
705 * Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs
706 CustomAttributeData.cs PortableExecutableKinds.cs
707 ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
710 2005-11-11 Marek Safar <marek.safar@seznam.cz>
712 * MethodBase.cs, TypeDelegator.cs: Reflect Type changes.
714 2005-10-30 Zoltan Varga <vargaz@freemail.hu>
716 * FieldInfo.cs: Add an internal UMarshal property which can by
717 overriden in FieldBuilder.
719 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
721 * MonoMethod.cs : (ToString) add suffix " ByRef" for byref parameters.
724 2005-10-04 Martin Baulig <martin@ximian.com>
726 * MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
727 return type from `MonoGenericClass to `Type'.
729 2005-09-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
731 * AssemblyName.cs: Add ParseName internal call, to parse
732 long format assembly names.
734 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
736 * MonoProperty.cs: Invoke throws a SecurityException but GetValue must
737 throw TargetInvocationException with the SecurityException as an inner
738 exception. See CAS unit tests for System.Web.dll.
740 2005-09-20 Martin Baulig <martin@ximian.com>
742 * Assembly.cs: Removed some unused debugger icalls.
744 2005-09-17 Zoltan Varga <vargaz@freemail.hu>
746 * Module.cs: Remove obsolete Mvid property.
748 2005-09-09 Martin Baulig <martin@ximian.com>
750 Reflect latest API changes in the August CTP.
752 * MethodBase.cs (MethodBase.MakeGenericMethod): Removed.
754 * MethodInfo.cs (MethodInfo.MakeGenericMethod): Added here.
756 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
758 * AssemblyName.cs: Apply second half of Chris Micacchi's patch
760 2005-09-07 Miguel de Icaza <miguel@novell.com>
762 * AssemblyName.cs: Apply patch from Chris Micacchi to serialize
763 the keyToken as "_PublicKeyToken".
765 2005-09-05 Martin Baulig <martin@ximian.com>
767 Reflect latest API changes in the August CTP.
769 * GenericParameterAttributes.cs: Here.
771 * MethodBase.cs (MethodBase.BindGenericParameters): Renamed to
774 2005-09-05 Martin Baulig <martin@ximian.com>
776 * Assembly.cs (MonoDebugger_GetMethodToken): Don't take an
779 2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
781 * Assembly.cs: made GetManifestResourceInternal internal. Fixes the
784 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
786 * Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
787 * ConstructorInfo.cs: Added GetType() method in 1.1 to match
788 MS.NET, implemented _ConstructorInfo.
789 * EventInfo.cs: Added GetType() method in 1.1 to match MS.NET,
790 implemented _EventInfo.
791 * FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET,
792 implemented _FieldInfo.
793 * MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET,
794 implemented _MemberInfo.
795 * MethodBase.cs: Added GetType() method in 1.1 to match MS.NET,
796 implemented _MethodBase.
797 * MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET,
798 implemented _MethodInfo.
799 * PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET,
800 implemented _PropertyInfo.
801 * TypeAttributes.cs: CustomFormatMask and CustomFormatClass should
802 only be exposed in 2.0 profile.
804 2005-07-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
806 * CustomAttributeTypedArgument: Return the name of the
807 enum if the type is an enum in ToString ().
809 2005-06-21 Sebastien Pouliot <sebastien@ximian.com>
811 * Assembly.cs: Create a copy of the evidences and add an instance of
812 PermissionRequestEvidence to it before resolution. This way the PRE
813 won't be present when asking for evidences later. Removed debugging
816 2005-06-13 Michal Moskal <malekith@nemerle.org>
818 * MonoGenericClass.cs: Don't use MethodHandle in GetMethod/GetConstructor,
819 since it now throws on MethodBuilders. Don't use FieldHandle in
820 GetField (throws on FieldBuilder) - just use the name.
822 2005-06-15 Sebastien Pouliot <sebastien@ximian.com>
824 * Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
825 FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
826 ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
827 attributes that were added in 1.1 SP1 or 2.0 beta2.
829 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
831 * Binder.cs: null is ok for a value type. Fixes bug #75241.
833 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
835 * Assembly.cs: UnprotectedGetName is now virtual to allow for more
836 initialization in AssemblyBuilder. The [Granted|Refused]PermissionSet
837 now use the ResolvingPolicyLevel to support the policy
838 FullTrustAssemblies during resolution.
839 * AssemblyName.cs: Return null instead of "new byte [0]" if no public
842 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
843 * MonoGenericClass.cs: Add overrides of Get{Method,Constructor,Field}
844 for obtaining instanciated *Info objects from non-instanciated counterparts
847 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
849 * CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.
851 * *.cs: Updates for net 2.0 beta 2.
853 2005-06-07 Zoltan Varga <vargaz@freemail.hu>
855 * *.cs: Updates for net 2.0 beta 2.
857 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
859 * CustomAttributeData.cs: Implemented.
861 * CustomAttributeDataNamedArgument.cs: Implemented.
863 * CustomAttrbuteDataTypedArgument.cs: Implemented.
865 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
867 * Assembly.cs ExceptionHandlingClause.cs: Fix build.
869 * ProcessorArchitecture.cs: New file.
871 * ExceptionHandlingClause.cs: Update after ExceptionHandlingClauseFlags name change.
873 * *.cs: Updates for net 2.0 beta 2.
875 * *.cs: Add net 2.0 ComVisibleAttribute.
877 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
879 * Assembly.cs: if the assembly is loaded from a byte array, Location
880 returns "". Fixes bug #74958.
882 2005-06-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
884 * AssemblyName.cs: Changes to support the creation of version
885 instance from icalls. This change also helps to keep the
886 AssemblyName tests running fine.
888 2005-05-26 Ben Maurer <bmaurer@ximian.com>
890 * Binder.cs: Avoid double checked locking and lock on typeof by
891 doing init of the default binder in the cctor.
893 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
895 * Assembly.cs: Avoid security checks if Assembly.Location is "".
897 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
899 * TypeDelegator.cs: Implement some methods.
901 * TypeDelegator.cs: Revert this as it breaks the build.
903 * TypeDelegator.cs: Implement some methods.
905 2005-05-19 Satya Sudha K <ksathyasudha@novell.com>
906 Raja R Harinath <rharinath@novell.com>
908 * Missing.cs (Missing.Value): Initialize.
910 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
912 * Binder.cs: Use IsInstanceOfType instead of IsAssignableFrom
913 since GetType() may not return the correct type if the object is
914 a remoting proxy. This fixes bug #74933.
916 2005-05-13 Zoltan Varga <vargaz@freemail.hu>
918 * MonoField.cs: Applied patch from Opened by Michael Meeks (michael@ximian.com). Improve exception message on binding failures.
920 2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
922 * MonoField.cs: Added a Clone method. This is needed for serialization.
924 2005-05-07 Ben Maurer <bmaurer@ximian.com>
926 * MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.
928 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
930 * Module.cs: Update for beta 2.
932 * CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.
934 2004-05-03 Lluis Sanchez <lluis@ximian.com>
936 * Assembly.cs: Don't remove version and culture information from
937 the name, since it will be used by load_with_partial_name.
939 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
941 * Assembly.cs: Added some CAS security to avoid returning restricted
942 information to partially truster callers (e.g. code base). Added new
943 methods to get the Evidence and AssemblyName so that the security
944 runtime can bootstrap itself (without calling itself).
946 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
948 * Assembly.cs: Added missing null check in GetObjectData.
950 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
952 * AssemblyName.cs: Added a demand for SerializationFormatter on
953 GetObjectData method.
955 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
957 * AssemblyName.cs: Implemented EscapedCodeBase using the copy of
958 System.Uri (System.dll) located in Mono.Security.Uri. Added missing
959 null check in GetObjectData.
960 * Module.cs: Added a FileIOPermission for PathDiscovery on
961 FullyQualifiedName property (but not on Name property like MS).
962 Added missing null check in GetObjectData.
963 * StrongNameKeyPair.cs: Added demands for unmanaged code to all
964 constructors (as we do not want partially trusted code to create
965 strongnamed assemblies).
967 2005-03-30 Zoltan Varga <vargaz@freemail.hu>
969 * Binder.cs (check_type): Fix byref support. Fixes #73972.
971 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
973 * MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class.
974 * Module.cs: Add a LinkDemand for SerializationFormatter on
975 GetObjectData method.
977 2005-03-16 Sebastien Pouliot <sebastien@ximian.com>
979 * Assembly.cs: Implemented EscapedCodeBase using the copy of
980 System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.
982 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
984 * MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand
985 (i.e. stack walk) when reflection is being used to invoke a method.
987 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
989 * Assembly.cs: LoadFrom: Change signature to support reflection only
990 methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
991 implemented; InvalidOperationException's re-thrown by CreateInstance.
992 Also ReflectionOnly 2.0 property added.
994 * MonoMethod.cs: InvalidOperationException's are re-thrown when calling
995 Invoke method on reflection only assemblies.
997 2005-02-22 Raja R Harinath <rharinath@novell.com>
999 * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
1000 'abstract' so that this class can be derived outside of corlib.
1002 2005-02-16 Miguel de Icaza <miguel@novell.com>
1004 * MonoEvent.cs: Put new methods here.
1006 * EventInfo.cs: Move the methods GetCustomAttributes, and
1007 IsDefined from EventInfo to MonoEvent.
1009 Remove the methods that were not supposed to be exposed: Name,
1010 ReflectedType, DeclaringType.
1012 2005-02-12 Chris Toshok <toshok@ximian.com>
1014 * Assembly.cs: Correct the type of MonoDebugger_MakeArrayType.
1016 2005-02-12 Ben Maurer <bmaurer@ximian.com>
1018 * Binder.cs (SelectProperty): Use -1 as the dummy `I don't know
1019 how many types' value.
1021 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
1023 * Assembly.cs: Fix warning.
1025 2005-02-10 Martin Baulig <martin@ximian.com>
1027 * Module.cs (MonoDebugger_ResolveType): New internal method.
1029 * Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
1030 (MonoDebugger_GetTypeToken): New internal method.
1032 2005-02-10 Martin Baulig <martin@ximian.com>
1034 * Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.
1036 2005-02-10 Marek Safar <marek.safar@seznam.cz>
1039 * ConstructorInfo.cs,
1045 * PropertyInfo.cs: ClassInterfaceType is None.
1047 Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>
1049 * Module.cs: removed the finalizer and the now unused Close() icall.
1051 2005-01-21 Sebastien Pouliot <sebastien@ximian.com>
1053 * Assembly.cs: Fixed add for ModuleResolve.
1055 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
1057 * LocalVariableInfo.cs: Add ToString method.
1059 * ExceptionHandlingClause.cs: Implement this.
1061 2005-01-18 Zoltan Varga <vargaz@freemail.hu>
1063 * MethodBase.cs MonoMethod.cs: Hopefully fix the build.
1065 * MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().
1067 2005-01-03 Martin Baulig <martin@ximian.com>
1069 * MonoGenericMethod.cs
1070 (MonoGenericMethod.get_reflected_type): Removed.
1071 (MonoGenericMethod.ReflectedType): Make this an icall.
1072 (MonoGenericCMethod.ReflectedType): Likewise.
1074 2004-12-29 Martin Baulig <martin@ximian.com>
1076 * MonoGenericMethod.cs: New file.
1078 2004-12-21 Sebastien Pouliot <sebastien@ximian.com>
1080 * Assembly.cs: Added private LoadAssemblyPermissions to get the
1081 declarative security permission sets (minimum, optional and refused)
1084 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
1086 * Assembly.cs: Removed old Demand support (moved in System.Security).
1088 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
1090 * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
1091 the gmcs bugs blocking them are fixed.
1093 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
1095 * Assembly.cs: Move corlib_internal field to AssemblyBuilder.
1097 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
1099 * Assembly.cs: Add corlib_internal field.
1101 2004-11-30 Martin Baulig <martin@ximian.com>
1103 * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
1104 renamed the class from `MonoGenericInst' to `MonoGenericClass'.
1106 2004-11-05 Zoltan Varga <vargaz@freemail.hu>
1108 * AssemblyName.cs (FullName): Omit default values from full name.
1110 * Assembly.cs: Implement GetFiles (bool).
1112 * Binder.cs: Add support for byref types. Fixes #69140.
1114 2004-10-12 Martin Baulig <martin@ximian.com>
1116 * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
1117 before calling the *_internal() methods.
1119 2004-10-12 Zoltan Varga <vargaz@freemail.hu>
1121 * MethodBody.cs: Implement this.
1123 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
1125 * Module.cs: Handle the case when the global type does not exists.
1127 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
1129 * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
1132 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
1134 * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].
1136 * PropertyInfo.cs: Add stub for GetConstantValue ().
1138 * ParameterInfo.cs (marshalAs): Make this private.
1140 * Module.cs (ModuleHandle): Add [CLSCompliant(false)].
1142 * LocalVariableInfo.cs MethodBody.cs: Disable default constructor.
1144 * ExceptionHandlingClause.cs: Disable default constructor.
1146 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
1148 * CustomAttributeData.cs CustomAttributeTypedArgument.cs
1149 CustomAttributeNamedArgument.cs: New files.
1151 * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
1152 ExceptionHandlingClauseFlags.cs: New files.
1154 2004-09-26 Zoltan Varga <vargaz@freemail.hu>
1156 * FieldInfo.cs: Add support for returning MarshalAsAttribute.
1158 * ParameterInfo.cs: Add marshalAs field, add support for returning
1161 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
1163 * Module.cs: Add new 2.0 GetMethods and GetFields methods.
1165 * ParameterInfo.cs: Add GetPseudoCustomAttributes () method.
1167 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
1169 * MonoField.cs: Add GetFieldOffset.
1171 * ObfuscationAttribute.cs: Add ApplyToMembers.
1173 * Assembly.cs: Add stub for ReflectionOnlyLoadFrom.
1175 * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.
1177 * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method.
1179 * AssemblyNameFlags.cs: Add LongevityUnspecified.
1181 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
1183 * Module.cs: Remove [MonoTODO] from ResolveMember.
1185 * MemberInfo.cs: Add 'Module' property.
1187 * AssemblyFlagsAttribute.cs: Add 2.0 stuff.
1189 * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
1190 to LoadWithPartialName on 2.0.
1192 * AssemblyNameFlags.cs: Add new 2.0 members.
1194 * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.
1196 * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.
1198 * EventInfo.cs: Fix 2.0 build.
1200 * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.
1202 * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.
1204 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
1206 * Module.cs: Implement net 2.0 ResolveXXX methods.
1208 * Module.cs (resolve_token_exception): Fix type of exception thrown.
1210 2004-09-21 Martin Baulig <martin@ximian.com>
1212 * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.
1214 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
1216 * Assembly.cs: Implement 2.0 reflection properties.
1218 * Module.cs: Implement 2.0 reflection properties. Add 'token' field.
1220 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
1222 * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
1225 * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.
1227 * Module.cs: Add ModuleHandle property and new icalls.
1229 2004-09-18 Zoltan Varga <vargaz@freemail.hu>
1231 * Module.cs: Add net 2.0 Mvid property.
1233 2004-08-30 Sebastien Pouliot <sebastien@ximian.com>
1235 * Assembly.cs: Added internal Demand(PermissionSet) for CAS.
1237 2004-08-30 Zoltan Varga <vargaz@freemail.hu>
1239 * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to
1242 2004-08-29 Zoltan Varga <vargaz@freemail.hu>
1244 * MethodBase.cs (GetMethodFromHandle): Implement.
1246 2004-08-13 Marek Safar <marek.safar@seznam.cz>
1248 * Assembly.cs: Made _minimum, _optional, _refuse fields internal.
1249 To be reusable by AssemblyBuilder.
1251 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
1253 * Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0
1254 properties (required for compiling the new unit tests).
1255 * PortableExecutableKind.cs: New. Flags for NET_2_0.
1256 * ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0.
1258 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
1260 * Assembly.cs: Get default evidences when no evidences have been
1261 supplied. Added internal methods for CAS.
1262 * AssemblyName.cs: New constructor for NET_2_0.
1264 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
1266 * Assembly.cs: Added new fields for CAS to match the runtime (v23).
1268 2004-07-29 Martin Baulig <martin@ximian.com>
1270 * Module.cs (Mono_GetGuid): Make this static.
1272 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
1274 * Module.cs: return just name in ToString (bug #61287).
1276 2004-07-03 Zoltan Varga <vargaz@freemail.hu>
1278 * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
1280 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
1282 * Pointer.cs: remove serializable attribute to match MS.NET
1284 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
1286 * ParameterModifier.cs: marked serializable, renamed field to match
1287 MS.NET, throw ArgumentException when parameter count is less than or
1290 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
1292 * AssemblyName.cs: added TODO for serialization
1293 * Pointer.cs: fixed Box method to return object instead of
1296 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
1298 * MemberInfo.cs: Changed constructor from internal to protected.
1300 2004-06-11 Martin Baulig <martin@ximian.com>
1302 * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
1304 2004-06-11 Lluis Sanchez <lluis@ximian.com>
1306 * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match
1307 MS implementation. Generate the RSA in the constructors.
1309 2004-06-10 Lluis Sanchez <lluis@ximian.com>
1311 * AssemblyName.cs: Added missing fields to serialization methods.
1312 * StrongNameKeyPair.cs: Made it compatible with MS serialization.
1314 2004-06-08 Jacson Harper <jackson@ximian.com>
1316 * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
1317 runtime. This way the codebase is set properly. The codebase is
1318 using g_filename_to_uri which expects a full path.
1320 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1322 * Binder.cs: don't crash when we have a 'null' argument Type array.
1323 Allow it for non-value types. Fixed for both, methods and properties.
1326 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1328 * Binder.cs: default score must be lower than fail_score or we'll get
1329 an ambiguous match when no indexers given and one single match is found.
1331 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1333 * Binder.cs: removed ^Ms. In case of several properties matching, try
1334 to disambiguate based on the indexer types provider and the conversions
1335 from those into the ones of the property.
1337 2004-05-31 Gert Driesen <drieseng@users.sourceforge.net>
1339 * Assembly.cs: added missing ComVisible attribute on
1340 ImageRuntimeVersion property
1341 * ConstructorInfo.cs: added missing attributes on Invoke
1342 * EventInfo.cs: added missing attributes
1343 * FieldInfo.cs: added missing attributes
1344 * MethodBase.cs: added missing attributes
1345 * PropertyInfo.cs: added missing attributes
1347 2004-05-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
1349 * FieldInfo.cs: changed default constructor from internal to protected, so classes
1350 that inherit from it can get build.
1352 2004-05-18 Gert Driesen (drieseng@users.sourceforge.net)
1354 * MonoProperty.cs: return correct MethodInfo for
1355 property with only a get or set method. Fixes
1358 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
1360 * Assembly.cs: Return an empty Evidence collection to avoid
1361 NullReferenceException from calling code (as this is never
1362 null with MS implementation). See bugzilla #53548.
1364 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
1366 * Assembly.cs: Add stub for LoadFrom.
1368 * Assembly.cs: Fix build.
1370 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
1372 * Assembly.cs: Add ModuleResolve event.
1374 * Module.cs (Mono_GetGuid): Make this internal.
1376 * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
1378 2004-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1380 * Binder.cs: check for ambiguous matches in SelectMethod and
1381 SelectProperty. Fixes bug #58381.
1383 2004-05-06 Jackson Harper <jackson@ximian.com>
1385 * Assembly.cs: remove TODO, this is done.
1387 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1389 * Assembly.cs: ToString () returns the same as GetName ().ToString ().
1392 2004-05-03 Jackson Harper <jackson@ximian.com>
1394 * Assembly.cs: Implement LoadWithPartialName. The bulk of this
1395 method is done in the runtime.
1397 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
1399 * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
1400 is private (it did until now because of a bug). Make sure it works as it
1401 worked before the fix.
1403 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
1405 * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs:
1406 Removed completed TODOs.
1407 * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
1408 do not return private methods if nonPublic == false.
1409 * ReflectionTypeLoadException.cs: Implemented serialization support.
1411 2004-04-26 Jackson Harper <jackson@ximian.com>
1413 * Assembly.cs: Add icall to determine if an assembly has been
1414 loaded from the GAC.
1416 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
1418 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
1419 The fix should be easier ;)
1421 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
1423 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
1424 NET_2_0 related build fix.
1426 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
1428 * Assembly.cs: Removed TODO for CreateQualifiedName.
1429 * AssemblyName.cs: Fixed serialization code.
1430 * AssemblyNameProxy.cs: Implemented.
1431 * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
1433 2004-04-07 Martin Baulig <martin@ximian.com>
1435 * MonoGenericInst.cs (MonoGenericParam): Removed.
1437 2004-04-07 Martin Baulig <martin@ximian.com>
1440 (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
1442 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
1443 (MonoGenericInst.GetNestedTypes): Just call
1444 `generic_type.GetNestedTypes (bf)' here.
1446 * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
1447 include the type arguments.
1449 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
1451 * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
1452 correct StrongName instance when the ECMA "key" is used.
1454 2004-04-02 Martin Baulig <martin@ximian.com>
1456 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
1458 2004-04-01 Martin Baulig <martin@ximian.com>
1460 * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
1461 this and always return false.
1463 2004-04-01 Martin Baulig <martin@ximian.com>
1465 * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.
1467 2004-03-30 Martin Baulig <martin@ximian.com>
1469 * MonoGenericInst.cs
1470 (MonoGenericParam): Added `bool has_ctor_constraint' field.
1471 (MonoGenericParam.SetConstraints): Added `bool
1472 has_ctor_constraint' argument.
1474 2004-03-29 Martin Baulig <martin@ximian.com>
1476 * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
1478 (MethodBase.HasGenericParameters): Use the "official" behavior
1479 here, ie. return false if we're not a generic method.
1481 2004-03-29 Martin Baulig <martin@ximian.com>
1483 * MethodBase.cs: Moved the generics stuff here, made it virtual
1484 where neccessary and use the correct API.
1486 2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
1488 * StrongNameKeyPair.cs: Added an internal method to return a
1489 StrongName object (for AssemblyBuilder). Simplified implementation
1490 using Mono.Security.Cryptography.CryptoConvert class.
1492 2004-03-24 Zoltan Varga <vargaz@freemail.hu>
1494 * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
1496 2004-03-23 Martin Baulig <martin@ximian.com>
1498 * MonoGenericInst.cs: Added support for events.
1500 2004-03-23 Martin Baulig <martin@ximian.com>
1502 * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
1503 if it's the empty string.
1505 2004-03-10 Martin Baulig <martin@ximian.com>
1507 * MethodBase.cs (MethodBase): Implemented
1508 GetGenericMethodDefinition() and HasGenericParameters.
1510 2004-03-09 Martin Baulig <martin@ximian.com>
1512 * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
1513 `declaring_type' and `reflected_type'.
1514 (MonoEvent): Distinguish between declaring and reflected type.
1516 2004-02-25 Martin Baulig <martin@ximian.com>
1518 * MonoGenericInst.cs
1519 (MonoGenericInst.GetNestedTypes): Override this.
1521 2004-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1524 (SelectProperty): check the return Type if provided.
1526 2004-02-17 Martin Baulig <martin@ximian.com>
1528 * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
1529 support for properties.
1531 2004-02-17 Martin Baulig <martin@ximian.com>
1533 * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
1534 class hierarchy and return members from the parent classes.
1535 (GetConstructors, GetFields): Likewise.
1537 2004-02-17 Martin Baulig <martin@ximian.com>
1539 * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
1540 all the members here; we only do this for members of the current
1541 class and only when they're actually queried for.
1543 2004-02-12 Martin Baulig <martin@ximian.com>
1545 * MonoGenericInst.cs (MonoInflatedField): Removed.
1547 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
1549 2004-02-08 Martin Baulig <martin@ximian.com>
1551 * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
1552 invocations the `reflected' type as `reflected', not `this'.
1553 (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
1555 2004-02-08 Martin Baulig <martin@ximian.com>
1557 * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
1558 (MonoGenericInst.GetInterfaces_internal): New interncall.
1559 (MonoGenericInst): Reflect latest API changes; use GetParentType()
1560 and GetInterfaces_internal() instead of the fields.
1562 2004-02-06 Martin Baulig <martin@ximian.com>
1564 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
1566 2004-02-03 Martin Baulig <martin@ximian.com>
1568 * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
1570 2004-01-25 Martin Baulig <martin@ximian.com>
1572 * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
1574 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
1576 * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
1577 a reference on the Module object which contains the resource.
1579 * Module.cs: Decrease the image reference count when the Module is
1582 2004-01-16 Martin Baulig <martin@ximian.com>
1584 * Assembly.cs: Make the `MonoDebugger_' methods static.
1586 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1588 * MonoProperty.cs: changed get_property_info so that it only gets the
1589 values needed. Reduces the allocations needed.
1591 2004-01-15 Martin Baulig <martin@ximian.com>
1593 * Assembly.cs: Make the `MonoDebugger_' methods internal.
1595 2004-01-04 Nick Drochak <ndrochak@gol.com>
1597 * Assembly.cs: Removed unused variable in catch block.Eliminates a build
1600 2003-12-29 Ben Maurer <bmaurer@users.sourceforge.net>
1602 * MethodBase.cs: Internal method to get param count (this
1603 way we can get the info for the ilgen without creating
1604 an array, if we override the method).
1606 2003-12-18 Zoltan Varga <vargaz@freemail.hu>
1608 * Assembly.cs: Implement LoadFrom.
1610 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
1612 * Assembly.cs: Add stubs for LoadFile.
1614 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
1616 * Assembly.cs (GetManifestResourceStream): Only load non-embedded
1617 resources from files.
1619 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
1621 * MonoField.cs (SetValue): Throw an exception if the value cannot be
1622 converted to the field's type. Fixes #52177.
1624 2003-12-11 Lluis Sanchez Gual <lluis@ximian.com>
1626 * AmbiguousMatchException.cs: Added serialization constructor.
1628 2003-12-08 Martin Baulig <martin@ximian.com>
1630 * MonoGenericInst.cs (MonoGenericParam): New internal class;
1631 derives from MonoType.
1633 2003-12-08 Patrik Torstensson <p@rxc.se>
1635 * Binder.cs: Added internal helpers to get derived level and select the
1636 most derived methodbase (used in GetMethodImpl)
1638 2003-11-25 Zoltan Varga <vargaz@freemail.hu>
1640 * Assembly.cs (LoadWithPartialName): Return null instead of throwing
1641 an exception to match MS behavior.
1643 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
1645 * MonoMethod.cs: Add missing constructor.
1647 2003-11-21 Zoltan Varga <vargaz@freemail.hu>
1649 * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
1651 2003-11-16 Martin Baulig <martin@ximian.com>
1653 * MonoGenericInst.cs (MonoGenericInst.inflate): Call
1654 `parent.inflate (parent,...)' instead of
1655 `parent.inflate (reflected,...)'.
1657 2003-11-16 Zoltan Varga <vargaz@freemail.hu>
1659 * Assembly.cs (InternalGetAssemblyName): New icall.
1661 * AssemblyName.cs (GetAssemblyName): Implement this without loading
1662 the assembly in question. Fixes #51035.
1664 2003-11-14 Martin Baulig <martin@ximian.com>
1666 * MonoGenericInst.cs (MonoGenericInst): Added
1667 `MonoGenericInst[] interfaces' field. This is only used for
1669 (MonoGenericInst.inflate): If we're an interface type, add the
1670 methods from all interfaces we inherit.
1672 2003-11-14 Zoltan Varga <vargaz@freemail.hu>
1674 * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values
1677 * *.cs: Add missing attributes.
1679 2003-11-11 Todd Berman <tberman@gentoo.org>
1681 * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
1683 2003-11-11 Zoltan Varga <vargaz@freemail.hu>
1685 * MonoMethod.cs: Implement CallingConvention member.
1687 2003-11-10 Zoltan Varga <vargaz@freemail.hu>
1689 * Assembly.cs (InternalGetType): Add a 'module' argument so this
1690 method can be used from Module as well.
1692 * Module.cs (GetType): Implement.
1694 * Module.cs (GetTypes): Implement.
1696 * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
1697 2003-11-08 Martin Baulig <martin@ximian.com>
1699 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
1700 a private `IntPtr ginst' field.
1701 (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
1703 2003-11-02 Martin Baulig <martin@ximian.com>
1705 * MonoGenericInst.cs (MonoGenericInst.initialize): Include members
1706 from our parent classes in the `methods', `ctors' and `fields'
1707 arrays. When inflating them, reflection now sets their
1708 `declaring_type' and `reflected_type' fields.
1709 (MonoInflatedMethod, MonoInflatedCtor): Added
1710 `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
1711 fields and override the `DeclaringType' and `ReflectedType' properties.
1713 2003-11-02 Martin Baulig <martin@ximian.com>
1715 * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
1717 2003-10-31 Martin Baulig <martin@ximian.com>
1719 * MonoGenericInst.cs (MonoInflatedField): New internal class.
1720 (MonoGenericInst.GetFields): Override this method and inflate
1723 * MonoField.cs: Don't make this class sealed.
1725 2003-10-30 Martin Baulig <martin@ximian.com>
1727 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
1730 2003-10-25 Martin Baulig <martin@ximian.com>
1732 * MonoGenericInst.cs: New internal class.
1734 2003-10-18 Martin Baulig <martin@ximian.com>
1736 * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
1737 abstract; use an interncall in MonoMethod and a custom
1738 implementation in MethodBuilder.
1740 2003-10-17 Pedro Martinez Julia <yoros@wanadoo.es>
1742 * MonoEvent.cs: implement ToString method as in MS.NET.
1744 * MonoMethod.cs: fix some differences between mono and MS.NET
1745 implementation of ToString.
1747 2003-10-17 Zoltan Varga <vargaz@freemail.hu>
1749 * AssemblyName.cs: Fix Version property when some version fields are
1752 2003-10-17 Martin Baulig <martin@ximian.com>
1754 * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
1755 (MethodInfo.BindGenericParameters): New method.
1757 2003-10-16 Martin Baulig <martin@ximian.com>
1759 * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
1762 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
1764 * ParameterInfo.cs: Modified constructor of ParameterInfo for
1765 the return type of a method. Since parameter positions are
1766 zero-based, the position of the return type must be is -1.
1768 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1770 * TargetInvocationException.cs: Fixed signature
1772 2003-07-24 Miguel de Icaza <miguel@ximian.com>
1774 * TypeDelegator.cs: Added generics stubs.
1776 2003-07-21 Lluis Sanchez Gual <lluis@ximian.com>
1778 * ParameterInfo.cs: Position is zero-based in ParameterInfo.
1779 Set the right position value when getting from ParameterBuilder.
1781 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
1783 * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
1784 finer-grained icalls. Requires a matching runtime.
1786 2003-07-11 Zoltan Varga <vargaz@freemail.hu>
1788 * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
1790 * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
1792 2003-07-10 Zoltan Varga <vargaz@freemail.hu>
1794 * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
1796 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
1798 * Pointer.cs: implemented.
1800 2003-06-15 Zoltan Varga <vargaz@freemail.hu>
1802 * EventInfo.cs: Implement IsSpecialName.
1804 2003-06-10 Zoltan Varga <vargaz@freemail.hu>
1806 * Module.cs (Mono_GetGuid): New method to return the GUID of the
1809 2003-05-21 Zoltan Varga <vargaz@freemail.hu>
1811 * Module.cs: Implement GetField and its friends.
1813 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
1815 * Assembly.cs (GetManifestResourceStream): Moved handling of
1816 linked resources into managed code using the newly implemented
1817 GetManifestResourceInfo () method.
1819 2003-05-19 Zoltan Varga <vargaz@freemail.hu>
1821 * Module.cs: Implemented IsResource.
1823 * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
1824 GetModule, GetLoadedModules methods.
1825 * Assembly.cs (GetManifestResourceStream): Added support for
1826 resources in extern assemblies.
1828 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1830 * Assembly.cs: fixed bug #42833.
1832 2003-05-11 Miguel de Icaza <miguel@ximian.com>
1834 * Binder.cs (ChangeType): Very simplistic change. Am not sure if
1835 it is correct, but it makes RemotingCorba move along a bit more
1836 (Remoting.Corba invokes Binder.ConvertArgs, which calls
1837 Binder.ChangeType with an Attribute [] to Object []).
1839 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1842 (check_type): fixed bug #41655.
1844 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1846 * Assembly.cs: implemented GetSatelliteAssembly.
1848 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
1850 * Assembly.cs: added GetNamespaces() icall.
1852 2003-03-17 Zoltan Varga <vargaz@freemail.hu>
1854 * FieldInfo.cs (GetFieldFromHandle): Implemented.
1856 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1858 * Assembly.cs: added missing stuff. Only ModuleResolve event is left
1859 out to avoid changing MonoReflectionAssembly by now.
1860 * ModuleResolveEventHandler.cs: delegate.
1862 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1864 * TargetInvocationException.cs: added serialization ctor.
1866 2003-02-18 Martin Baulig <martin@ximian.com>
1868 * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
1869 method's metadata token.
1871 2003-02-04 Sebastien Pouliot <spouliot@videotron.ca>
1873 * Module.cs: Corrected indentation for class.
1875 2003-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1878 (check_type): return true when the target type is object and the source
1881 2003-02-03 Patrik Torstensson
1883 * Binder.cs: minimize locking time in DefaultBinder.
1885 2003-02-01 Sebastien Pouliot <spouliot@videotron.ca>
1887 * Module.cs: Oups - not implemented. Added MonoTODO to most methods
1888 so it's real status get reflected correctly on the web site.
1890 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1892 * MonoMethod.cs: implemented GetBaseDefinition ().
1894 2003-01-28 Patrik Torstensson
1895 * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
1896 * ReflectionSerializationHolder.cs: Support class for serialization
1898 2003-01-17 Zoltan Varga <vargaz@freemail.hu>
1900 * ParameterInfo.cs: modified constructor so it allows the
1901 ParameterBuilder to be null and add a 'position' argument which will
1902 be used when pb is null.
1904 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
1906 * Assembly.cs: added serialization support.
1908 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
1910 * MonoMethod.cs: propagate exceptions from the internal invoke
1911 code that need to be propagated.
1913 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
1915 * Binder.cs: throw an exception if the number of arguments
1916 when invoking a method is incorrect.
1918 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
1920 * Binder.cs: In SelectMethod() look for an exact match first.
1922 2003-01-01 Rachel Hestilow <hestilow@ximian.com>
1924 * MonoField.cs (SetValue): Fix logic typo. Check that obj is
1925 non-null only for the non-static case.
1927 2002-12-30 Sebastien Pouliot <spouliot@videotron.ca>
1929 * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by
1932 2002-12-23 Sebastien Pouliot <spouliot@videotron.ca>
1934 * AssemblyName.cs: GetPublicKey now return an empty array (not null)
1935 when an assembly isn't signed with a StrongName (to match MS
1936 implementation) and null when no assembly is referenced. Also removed
1937 commented code (no bug reported so it was probably not used).
1939 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
1941 * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
1942 provider for the return type of a method.
1944 2002-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1946 * AssemblyName.cs: little fix in FullName.
1948 2002-12-07 Sebastien Pouliot <spouliot@videotron.ca>
1950 * AssemblyName.cs: Added missing methods/interfaces. Fixed some
1951 code to match the MS Framework.
1952 * StrongNameKeyPair.cs: Completed the "visible" implementation.
1953 There must be some internal methods to allow signing with the key.
1955 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1957 * EventInfo.cs: implemented (Add|Remove)EventHandler.
1959 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
1961 * Assembly.cs: implemented GetManifestResourceStream (Type type,
1964 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1966 * Assembly.cs: changed name of GetType (string, bool, bool) to
1969 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1971 * TargetInvocationException.cs: modified default message.
1973 2002-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1976 * PropertyInfo.cs: fixed bug #31535.
1978 2002-09-27 Martin Baulig <martin@gnome.org>
1980 * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
1982 2002-09-24 Martin Baulig <martin@gnome.org>
1984 * Assembly.cs (MonoDebugger_GetType): New method to get a Type
1985 from its metadata token. This should only be used by the debugger.
1987 2002-09-21 Martin Baulig <martin@gnome.org>
1989 * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
1990 get the type of a local variable from its signature. This should only
1991 be used by the debugger.
1993 2002-09-20 Martin Baulig <martin@gnome.org>
1995 * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
1996 from its metadata token. This should only be used by the debugger.
1998 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
2000 * Binder.cs: more default binder implementation.
2002 * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
2003 * MonoMethod.cs: use the binder in the Invoke () implementation.
2004 Implemented custom attributes methods and ToString for constructors.
2006 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
2008 * Binder.cs: finished the Binder class and implemented the default
2011 2002-09-03 Martin Baulig <martin@gnome.org>
2013 * Assembly.cs (Assembly.Location): Implemented.
2015 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2018 (GetValue): allow obj to be null (used for static fields).
2020 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2022 * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
2025 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
2027 * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen
2028 <tomi.pakarinen@welho.com>.
2030 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2032 * Assembly.cs: FullName now returns a proper string instead of
2033 something like 'file://...'.
2035 * AssemblyName.cs: added missing ToString method.
2037 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2039 * FieldInfo.cs: implemented SetValue.
2041 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
2043 * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
2045 2002-08-14 Dick Porter <dick@ximian.com>
2047 * Assembly.cs: Stub out GetSatelliteAssembly
2049 2002-08-12 Tim Coleman <tim@timcoleman.com>
2051 Allow multiple parameters for GetValue ()
2053 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
2055 * Assembly.cs: implemented GetFile() and GetFiles().
2057 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
2059 * Assembly.cs: implemented EntryPoint and a few
2060 resource related methods.
2062 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
2064 * MethodBase.cs: implemented GetCurrentMethod.
2065 * Assembly.cs: implemented GetExecutingAssembly and
2068 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
2070 * MonoProperty.cs: handle properties with only a set method.
2072 2002-05-24 Martin Baulig <martin@gnome.org>
2074 * ParameterInfo.cs: Added internal constructor.
2076 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
2078 * Assembly.cs: implemented CreateInstance ().
2080 2002-05-22 Martin Baulig <martin@gnome.org>
2082 * MethodBase.cs (get_next_table_index): Added `object obj' argument.
2084 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
2086 * EventInfo.cs: more implementation.
2088 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
2090 * MonoEvent.cs: fill-in the implementation.
2092 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
2094 * Assembly.cs, AssemblyName.cs: updates and fixes.
2096 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
2098 * MonoProperty.cs (GetValue) : basic implementation to support nunit
2099 * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
2101 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
2103 * MonoMethod.c: cache the method name.
2105 2002-04-12 Duncan Mak <duncan@ximian.com>
2107 * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
2110 * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
2113 * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
2116 * BindingFlags.cs: Added missing value "PutRefDispProperty".
2118 * FieldAttributes.cs: Removed value "HasSecurity".
2120 * ManifestResourceInfo.cs: Added missing properties FileName,
2121 ReferencedAssembly and ResourceLocation.
2123 * TargetInvocationException.cs: Added the missing constructors.
2125 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
2127 * MonoMethod.cs: make Name property an icall.
2129 2002-04-08 Nick Drochak <ndrochak@gol.com>
2131 * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
2132 struct and interface.
2134 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
2136 * MonoEvent.cs: remove unused code.
2137 * MonoProperty: implement ToString().
2139 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
2141 * Assembly.cs: implement GetTypes() and GetExportedTypes().
2143 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
2145 * MonoEvent.cs: added the needed fields.
2147 2002-03-20 Martin Baulig <martin@gnome.org>
2149 * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
2151 * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
2153 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
2155 * MonoMethod.cs (Invoke): call InternalInvoke
2157 * MethodBase.cs (Invoke): call virtual invoke function
2159 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
2161 * EventInfo.cs: add compiler needed methods.
2162 * MonoMethod.cs: make ToString() return the return type name, too.
2164 2002-03-07 Nick Drochak <ndrochak@gol.com>
2166 * BindingFlags.cs: Add missing enum values. Thanks CorCompare.
2168 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
2170 * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
2172 2002-02-26 Duncan Mak <duncan@ximian.com>
2174 * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
2176 2002-02-24 Nick Drochak <ndrochak@gol.com>
2178 * AssemblyNameFlags.cs: Use proper member name. Thanks corcompare!
2180 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
2182 * MonoField.cs: implement GetValue as an internalcall.
2183 Implemented ToString().
2185 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
2187 * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
2188 MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
2191 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
2193 * TypeAttributes.cs: update to latest spec.
2195 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
2197 * Assembly.cs: handle throwOnError in GetType() call.
2199 2002-02-07 Duncan Mak <duncan@ximian.com>
2201 * AssemblyName.cs: Implemented ISerializable interface for the
2202 fields that we have.
2204 2002-02-05 Duncan Mak <duncan@ximian.com>
2207 * TargetException.cs: Added in CVS.
2209 2002-01-31 Duncan Mak <duncan@ximian.com>
2211 * ReflectionTypeLoadException.cs: Added missing bits.
2213 2002-01-23 Duncan Mak <duncan@ximian.com>
2215 * AssemblyAlgorithmIdAttribute.cs:
2216 * AssemblyCompanyAttribute.cs:
2217 * AssemblyConfigurationAttribute.cs:
2218 * AssemblyCopyrightAttribute.cs:
2219 * AssemblyCultureAttribute.cs:
2220 * AssemblyDefaultAliasAttribute.cs:
2221 * AssemblyDelaySignAttribute.cs:
2222 * AssemblyDescriptionAttribute.cs:
2223 * AssemblyFileVersionAttribute.cs:
2224 * AssemblyFlagsAttribute.cs:
2225 * AssemblyInformationalVersionAttribute.cs:
2226 * AssemblyKeyFileAttribute.cs:
2227 * AssemblyKeyNameAttribute.cs:
2228 * AssemblyNameProxy.cs:
2229 * AssemblyProductAttribute.cs:
2230 * AssemblyTitleAttribute.cs:
2231 * AssemblyTradeMarkAttribute.cs:
2232 * AssemblyVersionAttribute.cs:
2233 * CustomAttributeFormatException.cs:
2234 * InvalidFilterCriteriaException.cs:
2235 * TargetParameterCountException.cs: Added.
2237 2002-01-23 Miguel de Icaza <miguel@ximian.com>
2239 * Assembly.cs (Assembly.CodeBase): Implement.
2240 (Assembly.FullName): simplistic and broken implementation. Gets
2241 us where we were yesterday.
2245 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
2247 * IReflect.cs: corrected GetMember() return type.
2248 * InterfaceMapping.cs, TypeDelegator.cs: implemented.
2250 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
2252 * MonoMethod.cs: ToString () implementation.
2254 2002-01-04 Ravi Pratap <ravi@ximian.com>
2256 * Assembly.cs : Decorate missing bits with the MonoTODO
2259 * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
2260 ReflectionTypeLoadException.cs : Ditto.
2262 * FieldInfo.cs : Ditto.
2264 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
2266 * Assembly.cs: trow unimplemented exceptions.
2268 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
2270 * MonoMethod.cs: implemented GetParameters().
2271 * MonoProperty.cs: PropertyInfo implementation.
2272 * ParameterInfo.cs: implemented.
2273 * PropertyInfo.cs: fixes.
2275 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
2277 * FieldInfo.cs: implemented some Is* propeties.
2278 * MethodBase.cs: fixed attribute accessors.
2279 * MonoField.cs: runtime object to represent a field.
2280 * MonoMethod.cs: runtime object to represent a method.
2281 * AssemblyBuilder.cs: GetToken() methods to get tokens for
2282 strings, fields, methods...
2283 * ILGenerator.cs: handle tokens for methods.
2285 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
2287 * MethodBase.cs: add internal get_next_table_index() for use in
2290 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
2292 * Assembly.cs: implement some of the Load() methods.
2293 * ConstructorInfo.cs: some missing stubs and fields.
2294 * FieldInfo.cs: IsInitOnly property.
2295 * ParameterInfo.cs: stubs for missing properties.
2296 * ParameterModifier.cs: implemented class.
2298 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
2300 * Assembly.cs: Filled in some stub implementations
2302 * ConstructorInfo.cs: Added some stub functions for NUnit
2304 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
2306 * AmbiguousMatchException.cs,
2307 * Assembly.cs, Module.cs: updates.
2308 * FieldInfo.cs: better compliance to the spec.
2309 * MethodBase.cs: move call_conv out of the way.
2310 * AssemblyBuilder.cs: don't use internalcalls, more stuff supported.
2311 * FieldBuilder.cs: implemented.
2312 * ILGenerator.cs: implemented some opcode handling.
2313 * Label.cs: add constructor.
2314 * LocalBuilder.cs: implemented.
2315 * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
2316 * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
2317 * ParameterBuilder.cs: implemented.
2318 * PropertyBuilder.cs: implemented.
2319 * TypeBuilder.cs: don't use internalcalls, more stuff working.
2321 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
2323 * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
2325 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
2327 * MethodBase.cs, MethodInfo.cs: added.
2329 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
2331 * Assembly.cs: added stub code.
2333 2001-07-18 Michael Lambert <michaellambert@email.com>
2335 * BindingFlags.cs: Add.