1 2006-09-29 Jb Evain <jbevain@gmail.com>
3 * MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.
5 2006-09-02 Zoltan Varga <vargaz@gmail.com>
7 * ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from
8 Peter Dettman (peter.dettman@iinet.net.au). Implement ReturnParameter
11 * Binder.cs (ReorderParameters): Really fix this.
13 * Binder.cs (ReorderParameters): Fix this method. Fixes #79120.
15 2006-09-01 Raja R Harinath <rharinath@novell.com>
17 * MonoMethod.cs (ToString): Update to handle change in byref type names.
19 2006-08-08 Gert Driesen <drieseng@users.sourceforge.net>
21 * Assembly.cs: On 2.0 profile, throw FileNotFoundException for
22 linked resources in GetManifestResourceStream when assembly is
23 loaded from byte array.
25 2006-07-12 Zoltan Varga <vargaz@gmail.com>
27 * MonoMethod.cs (ContainsGenericParameters): Implement.
29 * MonoMethod.cs (Invoke): Prevent invoking of open generic methods.
31 2006-07-09 Gert Driesen <drieseng@users.sourceforge.net>
33 * Assembly.cs: When assembly is loaded from byte array, return null
34 for linked resources in GetManifestResourceStream. Fixes bug #78468.
36 2006-07-09 Zoltan Varga <vargaz@gmail.com>
38 * Binder.cs: Add back the support for BindingFlags.ExactBinding. Fixes #78592.
40 2006-06-30 Zoltan Varga <vargaz@gmail.com>
42 * Binder.cs: Comment out the ExactBinding stuff for the release as it breaks some
45 2006-06-07 Zoltan Varga <vargaz@gmail.com>
47 * Binder.cs: Add support for BindingFlags.ExactBinding. Fixes #78592.
49 2006-05-28 Gert Driesen <drieseng@users.sourceforge.net>
51 * MethodBase.cs: GetMethodBody should not throw ArgumentException for
52 a method with no IL body. Fixes bug #78522.
54 2006-05-10 Zoltan Varga <vargaz@gmail.com>
56 * Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
58 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
60 * Binder.cs : (Default.SelectMethod)
61 don't throw AmbiguousMatchException when one of conflicting method
62 matches weakly. Fixed bug #42547.
64 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
66 * Binder.cs : (Default.BindToMethod) reorder parameters based
67 on namedParameters. Fixed bug #41691.
69 2006-05-03 Jb Evain <jbevain@gmail.com>
71 * MonoField.cs (GetValue,SetValue): throw a TargetException
72 when the field is non static and the target is null.
74 2006-03-12 Zoltan Varga <vargaz@gmail.com>
76 * Binder.cs: Applied patch from Ben to fix #74947.
78 2006-03-01 Miguel de Icaza <miguel@novell.com>
80 * Assembly.cs: Cache the AssemblyName, patch from Tambet. This
81 reduces the memory usage during remoting.
83 2006-02-16 Martin Baulig <martin@ximian.com>
85 * FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.
87 2006-02-15 Martin Baulig <martin@ximian.com>
89 * MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
90 (MethodBase.Mono_IsInflatedMethod): Removed.
91 (MethodBase.HasGenericParameters): Removed.
93 * MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
97 (MonoMethod.IsGenericMethodDefinition): This is now an icall.
98 (MonoMethod.IsGenericMethod): Likewise.
100 2006-02-14 Martin Baulig <martin@ximian.com>
103 (MonoCMethod.IsGenericMethod): Override this and return false; the
104 MS runtime doesn't throw an exception here.
106 2006-02-08 Martin Baulig <martin@ximian.com>
108 * MonoGenericClass.cs (MonoGenericClass.IsAssignableFrom):
109 Override and implement this; fixes #77395.
111 2006-02-07 Martin Baulig <martin@ximian.com>
114 (MonoMethod.IsGenericMethod): Only return true for "real" generic
115 methods and not for arbitrary instantiated methods.
116 (MonoMethod.IsGenericMethodDefinition): Only return true for
117 generic method definitions, but not for instantiated generic
118 methods. This is no longer an interncall. Fixes #77466.
120 2006-02-03 Zoltan Varga <vargaz@gmail.com>
122 * MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
125 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
127 * Assembly.cs: Fixed #75950. The icall has been changed to accept a
128 boolean so it can return a non-escaped code base.
130 2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
132 * MonoMethod.cs : made MakeGenericMethod() indirect icall to
133 MakeGenericMethod_impl() and raise an error when it returns null.
135 2005-11-15 Zoltan Varga <vargaz@gmail.com>
137 * Module.cs: Add MDStreamVersion property.
139 * Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs
140 CustomAttributeData.cs PortableExecutableKinds.cs
141 ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
144 2005-11-11 Marek Safar <marek.safar@seznam.cz>
146 * MethodBase.cs, TypeDelegator.cs: Reflect Type changes.
148 2005-10-30 Zoltan Varga <vargaz@freemail.hu>
150 * FieldInfo.cs: Add an internal UMarshal property which can by
151 overriden in FieldBuilder.
153 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
155 * MonoMethod.cs : (ToString) add suffix " ByRef" for byref parameters.
158 2005-10-04 Martin Baulig <martin@ximian.com>
160 * MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
161 return type from `MonoGenericClass to `Type'.
163 2005-09-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
165 * AssemblyName.cs: Add ParseName internal call, to parse
166 long format assembly names.
168 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
170 * MonoProperty.cs: Invoke throws a SecurityException but GetValue must
171 throw TargetInvocationException with the SecurityException as an inner
172 exception. See CAS unit tests for System.Web.dll.
174 2005-09-20 Martin Baulig <martin@ximian.com>
176 * Assembly.cs: Removed some unused debugger icalls.
178 2005-09-17 Zoltan Varga <vargaz@freemail.hu>
180 * Module.cs: Remove obsolete Mvid property.
182 2005-09-09 Martin Baulig <martin@ximian.com>
184 Reflect latest API changes in the August CTP.
186 * MethodBase.cs (MethodBase.MakeGenericMethod): Removed.
188 * MethodInfo.cs (MethodInfo.MakeGenericMethod): Added here.
190 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
192 * AssemblyName.cs: Apply second half of Chris Micacchi's patch
194 2005-09-07 Miguel de Icaza <miguel@novell.com>
196 * AssemblyName.cs: Apply patch from Chris Micacchi to serialize
197 the keyToken as "_PublicKeyToken".
199 2005-09-05 Martin Baulig <martin@ximian.com>
201 Reflect latest API changes in the August CTP.
203 * GenericParameterAttributes.cs: Here.
205 * MethodBase.cs (MethodBase.BindGenericParameters): Renamed to
208 2005-09-05 Martin Baulig <martin@ximian.com>
210 * Assembly.cs (MonoDebugger_GetMethodToken): Don't take an
213 2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
215 * Assembly.cs: made GetManifestResourceInternal internal. Fixes the
218 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
220 * Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
221 * ConstructorInfo.cs: Added GetType() method in 1.1 to match
222 MS.NET, implemented _ConstructorInfo.
223 * EventInfo.cs: Added GetType() method in 1.1 to match MS.NET,
224 implemented _EventInfo.
225 * FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET,
226 implemented _FieldInfo.
227 * MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET,
228 implemented _MemberInfo.
229 * MethodBase.cs: Added GetType() method in 1.1 to match MS.NET,
230 implemented _MethodBase.
231 * MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET,
232 implemented _MethodInfo.
233 * PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET,
234 implemented _PropertyInfo.
235 * TypeAttributes.cs: CustomFormatMask and CustomFormatClass should
236 only be exposed in 2.0 profile.
238 2005-07-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
240 * CustomAttributeTypedArgument: Return the name of the
241 enum if the type is an enum in ToString ().
243 2005-06-21 Sebastien Pouliot <sebastien@ximian.com>
245 * Assembly.cs: Create a copy of the evidences and add an instance of
246 PermissionRequestEvidence to it before resolution. This way the PRE
247 won't be present when asking for evidences later. Removed debugging
250 2005-06-13 Michal Moskal <malekith@nemerle.org>
252 * MonoGenericClass.cs: Don't use MethodHandle in GetMethod/GetConstructor,
253 since it now throws on MethodBuilders. Don't use FieldHandle in
254 GetField (throws on FieldBuilder) - just use the name.
256 2005-06-15 Sebastien Pouliot <sebastien@ximian.com>
258 * Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
259 FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
260 ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
261 attributes that were added in 1.1 SP1 or 2.0 beta2.
263 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
265 * Binder.cs: null is ok for a value type. Fixes bug #75241.
267 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
269 * Assembly.cs: UnprotectedGetName is now virtual to allow for more
270 initialization in AssemblyBuilder. The [Granted|Refused]PermissionSet
271 now use the ResolvingPolicyLevel to support the policy
272 FullTrustAssemblies during resolution.
273 * AssemblyName.cs: Return null instead of "new byte [0]" if no public
276 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
277 * MonoGenericClass.cs: Add overrides of Get{Method,Constructor,Field}
278 for obtaining instanciated *Info objects from non-instanciated counterparts
281 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
283 * CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.
285 * *.cs: Updates for net 2.0 beta 2.
287 2005-06-07 Zoltan Varga <vargaz@freemail.hu>
289 * *.cs: Updates for net 2.0 beta 2.
291 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
293 * CustomAttributeData.cs: Implemented.
295 * CustomAttributeDataNamedArgument.cs: Implemented.
297 * CustomAttrbuteDataTypedArgument.cs: Implemented.
299 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
301 * Assembly.cs ExceptionHandlingClause.cs: Fix build.
303 * ProcessorArchitecture.cs: New file.
305 * ExceptionHandlingClause.cs: Update after ExceptionHandlingClauseFlags name change.
307 * *.cs: Updates for net 2.0 beta 2.
309 * *.cs: Add net 2.0 ComVisibleAttribute.
311 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
313 * Assembly.cs: if the assembly is loaded from a byte array, Location
314 returns "". Fixes bug #74958.
316 2005-06-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
318 * AssemblyName.cs: Changes to support the creation of version
319 instance from icalls. This change also helps to keep the
320 AssemblyName tests running fine.
322 2005-05-26 Ben Maurer <bmaurer@ximian.com>
324 * Binder.cs: Avoid double checked locking and lock on typeof by
325 doing init of the default binder in the cctor.
327 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
329 * Assembly.cs: Avoid security checks if Assembly.Location is "".
331 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
333 * TypeDelegator.cs: Implement some methods.
335 * TypeDelegator.cs: Revert this as it breaks the build.
337 * TypeDelegator.cs: Implement some methods.
339 2005-05-19 Satya Sudha K <ksathyasudha@novell.com>
340 Raja R Harinath <rharinath@novell.com>
342 * Missing.cs (Missing.Value): Initialize.
344 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
346 * Binder.cs: Use IsInstanceOfType instead of IsAssignableFrom
347 since GetType() may not return the correct type if the object is
348 a remoting proxy. This fixes bug #74933.
350 2005-05-13 Zoltan Varga <vargaz@freemail.hu>
352 * MonoField.cs: Applied patch from Opened by Michael Meeks (michael@ximian.com). Improve exception message on binding failures.
354 2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
356 * MonoField.cs: Added a Clone method. This is needed for serialization.
358 2005-05-07 Ben Maurer <bmaurer@ximian.com>
360 * MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.
362 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
364 * Module.cs: Update for beta 2.
366 * CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.
368 2004-05-03 Lluis Sanchez <lluis@ximian.com>
370 * Assembly.cs: Don't remove version and culture information from
371 the name, since it will be used by load_with_partial_name.
373 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
375 * Assembly.cs: Added some CAS security to avoid returning restricted
376 information to partially truster callers (e.g. code base). Added new
377 methods to get the Evidence and AssemblyName so that the security
378 runtime can bootstrap itself (without calling itself).
380 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
382 * Assembly.cs: Added missing null check in GetObjectData.
384 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
386 * AssemblyName.cs: Added a demand for SerializationFormatter on
387 GetObjectData method.
389 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
391 * AssemblyName.cs: Implemented EscapedCodeBase using the copy of
392 System.Uri (System.dll) located in Mono.Security.Uri. Added missing
393 null check in GetObjectData.
394 * Module.cs: Added a FileIOPermission for PathDiscovery on
395 FullyQualifiedName property (but not on Name property like MS).
396 Added missing null check in GetObjectData.
397 * StrongNameKeyPair.cs: Added demands for unmanaged code to all
398 constructors (as we do not want partially trusted code to create
399 strongnamed assemblies).
401 2005-03-30 Zoltan Varga <vargaz@freemail.hu>
403 * Binder.cs (check_type): Fix byref support. Fixes #73972.
405 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
407 * MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class.
408 * Module.cs: Add a LinkDemand for SerializationFormatter on
409 GetObjectData method.
411 2005-03-16 Sebastien Pouliot <sebastien@ximian.com>
413 * Assembly.cs: Implemented EscapedCodeBase using the copy of
414 System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.
416 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
418 * MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand
419 (i.e. stack walk) when reflection is being used to invoke a method.
421 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
423 * Assembly.cs: LoadFrom: Change signature to support reflection only
424 methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
425 implemented; InvalidOperationException's re-thrown by CreateInstance.
426 Also ReflectionOnly 2.0 property added.
428 * MonoMethod.cs: InvalidOperationException's are re-thrown when calling
429 Invoke method on reflection only assemblies.
431 2005-02-22 Raja R Harinath <rharinath@novell.com>
433 * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
434 'abstract' so that this class can be derived outside of corlib.
436 2005-02-16 Miguel de Icaza <miguel@novell.com>
438 * MonoEvent.cs: Put new methods here.
440 * EventInfo.cs: Move the methods GetCustomAttributes, and
441 IsDefined from EventInfo to MonoEvent.
443 Remove the methods that were not supposed to be exposed: Name,
444 ReflectedType, DeclaringType.
446 2005-02-12 Chris Toshok <toshok@ximian.com>
448 * Assembly.cs: Correct the type of MonoDebugger_MakeArrayType.
450 2005-02-12 Ben Maurer <bmaurer@ximian.com>
452 * Binder.cs (SelectProperty): Use -1 as the dummy `I don't know
453 how many types' value.
455 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
457 * Assembly.cs: Fix warning.
459 2005-02-10 Martin Baulig <martin@ximian.com>
461 * Module.cs (MonoDebugger_ResolveType): New internal method.
463 * Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
464 (MonoDebugger_GetTypeToken): New internal method.
466 2005-02-10 Martin Baulig <martin@ximian.com>
468 * Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.
470 2005-02-10 Marek Safar <marek.safar@seznam.cz>
473 * ConstructorInfo.cs,
479 * PropertyInfo.cs: ClassInterfaceType is None.
481 Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>
483 * Module.cs: removed the finalizer and the now unused Close() icall.
485 2005-01-21 Sebastien Pouliot <sebastien@ximian.com>
487 * Assembly.cs: Fixed add for ModuleResolve.
489 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
491 * LocalVariableInfo.cs: Add ToString method.
493 * ExceptionHandlingClause.cs: Implement this.
495 2005-01-18 Zoltan Varga <vargaz@freemail.hu>
497 * MethodBase.cs MonoMethod.cs: Hopefully fix the build.
499 * MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().
501 2005-01-03 Martin Baulig <martin@ximian.com>
503 * MonoGenericMethod.cs
504 (MonoGenericMethod.get_reflected_type): Removed.
505 (MonoGenericMethod.ReflectedType): Make this an icall.
506 (MonoGenericCMethod.ReflectedType): Likewise.
508 2004-12-29 Martin Baulig <martin@ximian.com>
510 * MonoGenericMethod.cs: New file.
512 2004-12-21 Sebastien Pouliot <sebastien@ximian.com>
514 * Assembly.cs: Added private LoadAssemblyPermissions to get the
515 declarative security permission sets (minimum, optional and refused)
518 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
520 * Assembly.cs: Removed old Demand support (moved in System.Security).
522 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
524 * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
525 the gmcs bugs blocking them are fixed.
527 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
529 * Assembly.cs: Move corlib_internal field to AssemblyBuilder.
531 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
533 * Assembly.cs: Add corlib_internal field.
535 2004-11-30 Martin Baulig <martin@ximian.com>
537 * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
538 renamed the class from `MonoGenericInst' to `MonoGenericClass'.
540 2004-11-05 Zoltan Varga <vargaz@freemail.hu>
542 * AssemblyName.cs (FullName): Omit default values from full name.
544 * Assembly.cs: Implement GetFiles (bool).
546 * Binder.cs: Add support for byref types. Fixes #69140.
548 2004-10-12 Martin Baulig <martin@ximian.com>
550 * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
551 before calling the *_internal() methods.
553 2004-10-12 Zoltan Varga <vargaz@freemail.hu>
555 * MethodBody.cs: Implement this.
557 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
559 * Module.cs: Handle the case when the global type does not exists.
561 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
563 * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
566 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
568 * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].
570 * PropertyInfo.cs: Add stub for GetConstantValue ().
572 * ParameterInfo.cs (marshalAs): Make this private.
574 * Module.cs (ModuleHandle): Add [CLSCompliant(false)].
576 * LocalVariableInfo.cs MethodBody.cs: Disable default constructor.
578 * ExceptionHandlingClause.cs: Disable default constructor.
580 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
582 * CustomAttributeData.cs CustomAttributeTypedArgument.cs
583 CustomAttributeNamedArgument.cs: New files.
585 * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
586 ExceptionHandlingClauseFlags.cs: New files.
588 2004-09-26 Zoltan Varga <vargaz@freemail.hu>
590 * FieldInfo.cs: Add support for returning MarshalAsAttribute.
592 * ParameterInfo.cs: Add marshalAs field, add support for returning
595 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
597 * Module.cs: Add new 2.0 GetMethods and GetFields methods.
599 * ParameterInfo.cs: Add GetPseudoCustomAttributes () method.
601 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
603 * MonoField.cs: Add GetFieldOffset.
605 * ObfuscationAttribute.cs: Add ApplyToMembers.
607 * Assembly.cs: Add stub for ReflectionOnlyLoadFrom.
609 * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.
611 * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method.
613 * AssemblyNameFlags.cs: Add LongevityUnspecified.
615 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
617 * Module.cs: Remove [MonoTODO] from ResolveMember.
619 * MemberInfo.cs: Add 'Module' property.
621 * AssemblyFlagsAttribute.cs: Add 2.0 stuff.
623 * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
624 to LoadWithPartialName on 2.0.
626 * AssemblyNameFlags.cs: Add new 2.0 members.
628 * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.
630 * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.
632 * EventInfo.cs: Fix 2.0 build.
634 * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.
636 * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.
638 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
640 * Module.cs: Implement net 2.0 ResolveXXX methods.
642 * Module.cs (resolve_token_exception): Fix type of exception thrown.
644 2004-09-21 Martin Baulig <martin@ximian.com>
646 * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.
648 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
650 * Assembly.cs: Implement 2.0 reflection properties.
652 * Module.cs: Implement 2.0 reflection properties. Add 'token' field.
654 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
656 * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
659 * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.
661 * Module.cs: Add ModuleHandle property and new icalls.
663 2004-09-18 Zoltan Varga <vargaz@freemail.hu>
665 * Module.cs: Add net 2.0 Mvid property.
667 2004-08-30 Sebastien Pouliot <sebastien@ximian.com>
669 * Assembly.cs: Added internal Demand(PermissionSet) for CAS.
671 2004-08-30 Zoltan Varga <vargaz@freemail.hu>
673 * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to
676 2004-08-29 Zoltan Varga <vargaz@freemail.hu>
678 * MethodBase.cs (GetMethodFromHandle): Implement.
680 2004-08-13 Marek Safar <marek.safar@seznam.cz>
682 * Assembly.cs: Made _minimum, _optional, _refuse fields internal.
683 To be reusable by AssemblyBuilder.
685 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
687 * Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0
688 properties (required for compiling the new unit tests).
689 * PortableExecutableKind.cs: New. Flags for NET_2_0.
690 * ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0.
692 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
694 * Assembly.cs: Get default evidences when no evidences have been
695 supplied. Added internal methods for CAS.
696 * AssemblyName.cs: New constructor for NET_2_0.
698 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
700 * Assembly.cs: Added new fields for CAS to match the runtime (v23).
702 2004-07-29 Martin Baulig <martin@ximian.com>
704 * Module.cs (Mono_GetGuid): Make this static.
706 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
708 * Module.cs: return just name in ToString (bug #61287).
710 2004-07-03 Zoltan Varga <vargaz@freemail.hu>
712 * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
714 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
716 * Pointer.cs: remove serializable attribute to match MS.NET
718 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
720 * ParameterModifier.cs: marked serializable, renamed field to match
721 MS.NET, throw ArgumentException when parameter count is less than or
724 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
726 * AssemblyName.cs: added TODO for serialization
727 * Pointer.cs: fixed Box method to return object instead of
730 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
732 * MemberInfo.cs: Changed constructor from internal to protected.
734 2004-06-11 Martin Baulig <martin@ximian.com>
736 * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
738 2004-06-11 Lluis Sanchez <lluis@ximian.com>
740 * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match
741 MS implementation. Generate the RSA in the constructors.
743 2004-06-10 Lluis Sanchez <lluis@ximian.com>
745 * AssemblyName.cs: Added missing fields to serialization methods.
746 * StrongNameKeyPair.cs: Made it compatible with MS serialization.
748 2004-06-08 Jacson Harper <jackson@ximian.com>
750 * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
751 runtime. This way the codebase is set properly. The codebase is
752 using g_filename_to_uri which expects a full path.
754 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
756 * Binder.cs: don't crash when we have a 'null' argument Type array.
757 Allow it for non-value types. Fixed for both, methods and properties.
760 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
762 * Binder.cs: default score must be lower than fail_score or we'll get
763 an ambiguous match when no indexers given and one single match is found.
765 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
767 * Binder.cs: removed ^Ms. In case of several properties matching, try
768 to disambiguate based on the indexer types provider and the conversions
769 from those into the ones of the property.
771 2004-05-31 Gert Driesen <drieseng@users.sourceforge.net>
773 * Assembly.cs: added missing ComVisible attribute on
774 ImageRuntimeVersion property
775 * ConstructorInfo.cs: added missing attributes on Invoke
776 * EventInfo.cs: added missing attributes
777 * FieldInfo.cs: added missing attributes
778 * MethodBase.cs: added missing attributes
779 * PropertyInfo.cs: added missing attributes
781 2004-05-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
783 * FieldInfo.cs: changed default constructor from internal to protected, so classes
784 that inherit from it can get build.
786 2004-05-18 Gert Driesen (drieseng@users.sourceforge.net)
788 * MonoProperty.cs: return correct MethodInfo for
789 property with only a get or set method. Fixes
792 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
794 * Assembly.cs: Return an empty Evidence collection to avoid
795 NullReferenceException from calling code (as this is never
796 null with MS implementation). See bugzilla #53548.
798 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
800 * Assembly.cs: Add stub for LoadFrom.
802 * Assembly.cs: Fix build.
804 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
806 * Assembly.cs: Add ModuleResolve event.
808 * Module.cs (Mono_GetGuid): Make this internal.
810 * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
812 2004-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
814 * Binder.cs: check for ambiguous matches in SelectMethod and
815 SelectProperty. Fixes bug #58381.
817 2004-05-06 Jackson Harper <jackson@ximian.com>
819 * Assembly.cs: remove TODO, this is done.
821 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
823 * Assembly.cs: ToString () returns the same as GetName ().ToString ().
826 2004-05-03 Jackson Harper <jackson@ximian.com>
828 * Assembly.cs: Implement LoadWithPartialName. The bulk of this
829 method is done in the runtime.
831 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
833 * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
834 is private (it did until now because of a bug). Make sure it works as it
835 worked before the fix.
837 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
839 * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs:
840 Removed completed TODOs.
841 * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
842 do not return private methods if nonPublic == false.
843 * ReflectionTypeLoadException.cs: Implemented serialization support.
845 2004-04-26 Jackson Harper <jackson@ximian.com>
847 * Assembly.cs: Add icall to determine if an assembly has been
850 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
852 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
853 The fix should be easier ;)
855 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
857 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
858 NET_2_0 related build fix.
860 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
862 * Assembly.cs: Removed TODO for CreateQualifiedName.
863 * AssemblyName.cs: Fixed serialization code.
864 * AssemblyNameProxy.cs: Implemented.
865 * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
867 2004-04-07 Martin Baulig <martin@ximian.com>
869 * MonoGenericInst.cs (MonoGenericParam): Removed.
871 2004-04-07 Martin Baulig <martin@ximian.com>
874 (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
876 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
877 (MonoGenericInst.GetNestedTypes): Just call
878 `generic_type.GetNestedTypes (bf)' here.
880 * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
881 include the type arguments.
883 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
885 * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
886 correct StrongName instance when the ECMA "key" is used.
888 2004-04-02 Martin Baulig <martin@ximian.com>
890 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
892 2004-04-01 Martin Baulig <martin@ximian.com>
894 * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
895 this and always return false.
897 2004-04-01 Martin Baulig <martin@ximian.com>
899 * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.
901 2004-03-30 Martin Baulig <martin@ximian.com>
904 (MonoGenericParam): Added `bool has_ctor_constraint' field.
905 (MonoGenericParam.SetConstraints): Added `bool
906 has_ctor_constraint' argument.
908 2004-03-29 Martin Baulig <martin@ximian.com>
910 * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
912 (MethodBase.HasGenericParameters): Use the "official" behavior
913 here, ie. return false if we're not a generic method.
915 2004-03-29 Martin Baulig <martin@ximian.com>
917 * MethodBase.cs: Moved the generics stuff here, made it virtual
918 where neccessary and use the correct API.
920 2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
922 * StrongNameKeyPair.cs: Added an internal method to return a
923 StrongName object (for AssemblyBuilder). Simplified implementation
924 using Mono.Security.Cryptography.CryptoConvert class.
926 2004-03-24 Zoltan Varga <vargaz@freemail.hu>
928 * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
930 2004-03-23 Martin Baulig <martin@ximian.com>
932 * MonoGenericInst.cs: Added support for events.
934 2004-03-23 Martin Baulig <martin@ximian.com>
936 * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
937 if it's the empty string.
939 2004-03-10 Martin Baulig <martin@ximian.com>
941 * MethodBase.cs (MethodBase): Implemented
942 GetGenericMethodDefinition() and HasGenericParameters.
944 2004-03-09 Martin Baulig <martin@ximian.com>
946 * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
947 `declaring_type' and `reflected_type'.
948 (MonoEvent): Distinguish between declaring and reflected type.
950 2004-02-25 Martin Baulig <martin@ximian.com>
953 (MonoGenericInst.GetNestedTypes): Override this.
955 2004-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
958 (SelectProperty): check the return Type if provided.
960 2004-02-17 Martin Baulig <martin@ximian.com>
962 * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
963 support for properties.
965 2004-02-17 Martin Baulig <martin@ximian.com>
967 * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
968 class hierarchy and return members from the parent classes.
969 (GetConstructors, GetFields): Likewise.
971 2004-02-17 Martin Baulig <martin@ximian.com>
973 * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
974 all the members here; we only do this for members of the current
975 class and only when they're actually queried for.
977 2004-02-12 Martin Baulig <martin@ximian.com>
979 * MonoGenericInst.cs (MonoInflatedField): Removed.
981 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
983 2004-02-08 Martin Baulig <martin@ximian.com>
985 * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
986 invocations the `reflected' type as `reflected', not `this'.
987 (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
989 2004-02-08 Martin Baulig <martin@ximian.com>
991 * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
992 (MonoGenericInst.GetInterfaces_internal): New interncall.
993 (MonoGenericInst): Reflect latest API changes; use GetParentType()
994 and GetInterfaces_internal() instead of the fields.
996 2004-02-06 Martin Baulig <martin@ximian.com>
998 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
1000 2004-02-03 Martin Baulig <martin@ximian.com>
1002 * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
1004 2004-01-25 Martin Baulig <martin@ximian.com>
1006 * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
1008 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
1010 * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
1011 a reference on the Module object which contains the resource.
1013 * Module.cs: Decrease the image reference count when the Module is
1016 2004-01-16 Martin Baulig <martin@ximian.com>
1018 * Assembly.cs: Make the `MonoDebugger_' methods static.
1020 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1022 * MonoProperty.cs: changed get_property_info so that it only gets the
1023 values needed. Reduces the allocations needed.
1025 2004-01-15 Martin Baulig <martin@ximian.com>
1027 * Assembly.cs: Make the `MonoDebugger_' methods internal.
1029 2004-01-04 Nick Drochak <ndrochak@gol.com>
1031 * Assembly.cs: Removed unused variable in catch block.Eliminates a build
1034 2003-12-29 Ben Maurer <bmaurer@users.sourceforge.net>
1036 * MethodBase.cs: Internal method to get param count (this
1037 way we can get the info for the ilgen without creating
1038 an array, if we override the method).
1040 2003-12-18 Zoltan Varga <vargaz@freemail.hu>
1042 * Assembly.cs: Implement LoadFrom.
1044 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
1046 * Assembly.cs: Add stubs for LoadFile.
1048 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
1050 * Assembly.cs (GetManifestResourceStream): Only load non-embedded
1051 resources from files.
1053 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
1055 * MonoField.cs (SetValue): Throw an exception if the value cannot be
1056 converted to the field's type. Fixes #52177.
1058 2003-12-11 Lluis Sanchez Gual <lluis@ximian.com>
1060 * AmbiguousMatchException.cs: Added serialization constructor.
1062 2003-12-08 Martin Baulig <martin@ximian.com>
1064 * MonoGenericInst.cs (MonoGenericParam): New internal class;
1065 derives from MonoType.
1067 2003-12-08 Patrik Torstensson <p@rxc.se>
1069 * Binder.cs: Added internal helpers to get derived level and select the
1070 most derived methodbase (used in GetMethodImpl)
1072 2003-11-25 Zoltan Varga <vargaz@freemail.hu>
1074 * Assembly.cs (LoadWithPartialName): Return null instead of throwing
1075 an exception to match MS behavior.
1077 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
1079 * MonoMethod.cs: Add missing constructor.
1081 2003-11-21 Zoltan Varga <vargaz@freemail.hu>
1083 * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
1085 2003-11-16 Martin Baulig <martin@ximian.com>
1087 * MonoGenericInst.cs (MonoGenericInst.inflate): Call
1088 `parent.inflate (parent,...)' instead of
1089 `parent.inflate (reflected,...)'.
1091 2003-11-16 Zoltan Varga <vargaz@freemail.hu>
1093 * Assembly.cs (InternalGetAssemblyName): New icall.
1095 * AssemblyName.cs (GetAssemblyName): Implement this without loading
1096 the assembly in question. Fixes #51035.
1098 2003-11-14 Martin Baulig <martin@ximian.com>
1100 * MonoGenericInst.cs (MonoGenericInst): Added
1101 `MonoGenericInst[] interfaces' field. This is only used for
1103 (MonoGenericInst.inflate): If we're an interface type, add the
1104 methods from all interfaces we inherit.
1106 2003-11-14 Zoltan Varga <vargaz@freemail.hu>
1108 * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values
1111 * *.cs: Add missing attributes.
1113 2003-11-11 Todd Berman <tberman@gentoo.org>
1115 * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
1117 2003-11-11 Zoltan Varga <vargaz@freemail.hu>
1119 * MonoMethod.cs: Implement CallingConvention member.
1121 2003-11-10 Zoltan Varga <vargaz@freemail.hu>
1123 * Assembly.cs (InternalGetType): Add a 'module' argument so this
1124 method can be used from Module as well.
1126 * Module.cs (GetType): Implement.
1128 * Module.cs (GetTypes): Implement.
1130 * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
1131 2003-11-08 Martin Baulig <martin@ximian.com>
1133 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
1134 a private `IntPtr ginst' field.
1135 (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
1137 2003-11-02 Martin Baulig <martin@ximian.com>
1139 * MonoGenericInst.cs (MonoGenericInst.initialize): Include members
1140 from our parent classes in the `methods', `ctors' and `fields'
1141 arrays. When inflating them, reflection now sets their
1142 `declaring_type' and `reflected_type' fields.
1143 (MonoInflatedMethod, MonoInflatedCtor): Added
1144 `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
1145 fields and override the `DeclaringType' and `ReflectedType' properties.
1147 2003-11-02 Martin Baulig <martin@ximian.com>
1149 * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
1151 2003-10-31 Martin Baulig <martin@ximian.com>
1153 * MonoGenericInst.cs (MonoInflatedField): New internal class.
1154 (MonoGenericInst.GetFields): Override this method and inflate
1157 * MonoField.cs: Don't make this class sealed.
1159 2003-10-30 Martin Baulig <martin@ximian.com>
1161 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
1164 2003-10-25 Martin Baulig <martin@ximian.com>
1166 * MonoGenericInst.cs: New internal class.
1168 2003-10-18 Martin Baulig <martin@ximian.com>
1170 * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
1171 abstract; use an interncall in MonoMethod and a custom
1172 implementation in MethodBuilder.
1174 2003-10-17 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1176 * MonoEvent.cs: implement ToString method as in MS.NET.
1178 * MonoMethod.cs: fix some differences between mono and MS.NET
1179 implementation of ToString.
1181 2003-10-17 Zoltan Varga <vargaz@freemail.hu>
1183 * AssemblyName.cs: Fix Version property when some version fields are
1186 2003-10-17 Martin Baulig <martin@ximian.com>
1188 * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
1189 (MethodInfo.BindGenericParameters): New method.
1191 2003-10-16 Martin Baulig <martin@ximian.com>
1193 * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
1196 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
1198 * ParameterInfo.cs: Modified constructor of ParameterInfo for
1199 the return type of a method. Since parameter positions are
1200 zero-based, the position of the return type must be is -1.
1202 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1204 * TargetInvocationException.cs: Fixed signature
1206 2003-07-24 Miguel de Icaza <miguel@ximian.com>
1208 * TypeDelegator.cs: Added generics stubs.
1210 2003-07-21 Lluis Sanchez Gual <lluis@ximian.com>
1212 * ParameterInfo.cs: Position is zero-based in ParameterInfo.
1213 Set the right position value when getting from ParameterBuilder.
1215 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
1217 * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
1218 finer-grained icalls. Requires a matching runtime.
1220 2003-07-11 Zoltan Varga <vargaz@freemail.hu>
1222 * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
1224 * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
1226 2003-07-10 Zoltan Varga <vargaz@freemail.hu>
1228 * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
1230 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
1232 * Pointer.cs: implemented.
1234 2003-06-15 Zoltan Varga <vargaz@freemail.hu>
1236 * EventInfo.cs: Implement IsSpecialName.
1238 2003-06-10 Zoltan Varga <vargaz@freemail.hu>
1240 * Module.cs (Mono_GetGuid): New method to return the GUID of the
1243 2003-05-21 Zoltan Varga <vargaz@freemail.hu>
1245 * Module.cs: Implement GetField and its friends.
1247 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
1249 * Assembly.cs (GetManifestResourceStream): Moved handling of
1250 linked resources into managed code using the newly implemented
1251 GetManifestResourceInfo () method.
1253 2003-05-19 Zoltan Varga <vargaz@freemail.hu>
1255 * Module.cs: Implemented IsResource.
1257 * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
1258 GetModule, GetLoadedModules methods.
1259 * Assembly.cs (GetManifestResourceStream): Added support for
1260 resources in extern assemblies.
1262 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1264 * Assembly.cs: fixed bug #42833.
1266 2003-05-11 Miguel de Icaza <miguel@ximian.com>
1268 * Binder.cs (ChangeType): Very simplistic change. Am not sure if
1269 it is correct, but it makes RemotingCorba move along a bit more
1270 (Remoting.Corba invokes Binder.ConvertArgs, which calls
1271 Binder.ChangeType with an Attribute [] to Object []).
1273 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1276 (check_type): fixed bug #41655.
1278 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1280 * Assembly.cs: implemented GetSatelliteAssembly.
1282 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
1284 * Assembly.cs: added GetNamespaces() icall.
1286 2003-03-17 Zoltan Varga <vargaz@freemail.hu>
1288 * FieldInfo.cs (GetFieldFromHandle): Implemented.
1290 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1292 * Assembly.cs: added missing stuff. Only ModuleResolve event is left
1293 out to avoid changing MonoReflectionAssembly by now.
1294 * ModuleResolveEventHandler.cs: delegate.
1296 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1298 * TargetInvocationException.cs: added serialization ctor.
1300 2003-02-18 Martin Baulig <martin@ximian.com>
1302 * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
1303 method's metadata token.
1305 2003-02-04 Sebastien Pouliot <spouliot@videotron.ca>
1307 * Module.cs: Corrected indentation for class.
1309 2003-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1312 (check_type): return true when the target type is object and the source
1315 2003-02-03 Patrik Torstensson
1317 * Binder.cs: minimize locking time in DefaultBinder.
1319 2003-02-01 Sebastien Pouliot <spouliot@videotron.ca>
1321 * Module.cs: Oups - not implemented. Added MonoTODO to most methods
1322 so it's real status get reflected correctly on the web site.
1324 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1326 * MonoMethod.cs: implemented GetBaseDefinition ().
1328 2003-01-28 Patrik Torstensson
1329 * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
1330 * ReflectionSerializationHolder.cs: Support class for serialization
1332 2003-01-17 Zoltan Varga <vargaz@freemail.hu>
1334 * ParameterInfo.cs: modified constructor so it allows the
1335 ParameterBuilder to be null and add a 'position' argument which will
1336 be used when pb is null.
1338 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
1340 * Assembly.cs: added serialization support.
1342 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
1344 * MonoMethod.cs: propagate exceptions from the internal invoke
1345 code that need to be propagated.
1347 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
1349 * Binder.cs: throw an exception if the number of arguments
1350 when invoking a method is incorrect.
1352 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
1354 * Binder.cs: In SelectMethod() look for an exact match first.
1356 2003-01-01 Rachel Hestilow <hestilow@ximian.com>
1358 * MonoField.cs (SetValue): Fix logic typo. Check that obj is
1359 non-null only for the non-static case.
1361 2002-12-30 Sebastien Pouliot <spouliot@videotron.ca>
1363 * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by
1366 2002-12-23 Sebastien Pouliot <spouliot@videotron.ca>
1368 * AssemblyName.cs: GetPublicKey now return an empty array (not null)
1369 when an assembly isn't signed with a StrongName (to match MS
1370 implementation) and null when no assembly is referenced. Also removed
1371 commented code (no bug reported so it was probably not used).
1373 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
1375 * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
1376 provider for the return type of a method.
1378 2002-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1380 * AssemblyName.cs: little fix in FullName.
1382 2002-12-07 Sebastien Pouliot <spouliot@videotron.ca>
1384 * AssemblyName.cs: Added missing methods/interfaces. Fixed some
1385 code to match the MS Framework.
1386 * StrongNameKeyPair.cs: Completed the "visible" implementation.
1387 There must be some internal methods to allow signing with the key.
1389 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1391 * EventInfo.cs: implemented (Add|Remove)EventHandler.
1393 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
1395 * Assembly.cs: implemented GetManifestResourceStream (Type type,
1398 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1400 * Assembly.cs: changed name of GetType (string, bool, bool) to
1403 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1405 * TargetInvocationException.cs: modified default message.
1407 2002-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1410 * PropertyInfo.cs: fixed bug #31535.
1412 2002-09-27 Martin Baulig <martin@gnome.org>
1414 * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
1416 2002-09-24 Martin Baulig <martin@gnome.org>
1418 * Assembly.cs (MonoDebugger_GetType): New method to get a Type
1419 from its metadata token. This should only be used by the debugger.
1421 2002-09-21 Martin Baulig <martin@gnome.org>
1423 * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
1424 get the type of a local variable from its signature. This should only
1425 be used by the debugger.
1427 2002-09-20 Martin Baulig <martin@gnome.org>
1429 * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
1430 from its metadata token. This should only be used by the debugger.
1432 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1434 * Binder.cs: more default binder implementation.
1436 * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
1437 * MonoMethod.cs: use the binder in the Invoke () implementation.
1438 Implemented custom attributes methods and ToString for constructors.
1440 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
1442 * Binder.cs: finished the Binder class and implemented the default
1445 2002-09-03 Martin Baulig <martin@gnome.org>
1447 * Assembly.cs (Assembly.Location): Implemented.
1449 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1452 (GetValue): allow obj to be null (used for static fields).
1454 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1456 * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
1459 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
1461 * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen
1462 <tomi.pakarinen@welho.com>.
1464 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1466 * Assembly.cs: FullName now returns a proper string instead of
1467 something like 'file://...'.
1469 * AssemblyName.cs: added missing ToString method.
1471 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1473 * FieldInfo.cs: implemented SetValue.
1475 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1477 * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
1479 2002-08-14 Dick Porter <dick@ximian.com>
1481 * Assembly.cs: Stub out GetSatelliteAssembly
1483 2002-08-12 Tim Coleman <tim@timcoleman.com>
1485 Allow multiple parameters for GetValue ()
1487 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
1489 * Assembly.cs: implemented GetFile() and GetFiles().
1491 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
1493 * Assembly.cs: implemented EntryPoint and a few
1494 resource related methods.
1496 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
1498 * MethodBase.cs: implemented GetCurrentMethod.
1499 * Assembly.cs: implemented GetExecutingAssembly and
1502 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
1504 * MonoProperty.cs: handle properties with only a set method.
1506 2002-05-24 Martin Baulig <martin@gnome.org>
1508 * ParameterInfo.cs: Added internal constructor.
1510 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
1512 * Assembly.cs: implemented CreateInstance ().
1514 2002-05-22 Martin Baulig <martin@gnome.org>
1516 * MethodBase.cs (get_next_table_index): Added `object obj' argument.
1518 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
1520 * EventInfo.cs: more implementation.
1522 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1524 * MonoEvent.cs: fill-in the implementation.
1526 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1528 * Assembly.cs, AssemblyName.cs: updates and fixes.
1530 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
1532 * MonoProperty.cs (GetValue) : basic implementation to support nunit
1533 * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
1535 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1537 * MonoMethod.c: cache the method name.
1539 2002-04-12 Duncan Mak <duncan@ximian.com>
1541 * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
1544 * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
1547 * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
1550 * BindingFlags.cs: Added missing value "PutRefDispProperty".
1552 * FieldAttributes.cs: Removed value "HasSecurity".
1554 * ManifestResourceInfo.cs: Added missing properties FileName,
1555 ReferencedAssembly and ResourceLocation.
1557 * TargetInvocationException.cs: Added the missing constructors.
1559 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1561 * MonoMethod.cs: make Name property an icall.
1563 2002-04-08 Nick Drochak <ndrochak@gol.com>
1565 * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
1566 struct and interface.
1568 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
1570 * MonoEvent.cs: remove unused code.
1571 * MonoProperty: implement ToString().
1573 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
1575 * Assembly.cs: implement GetTypes() and GetExportedTypes().
1577 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
1579 * MonoEvent.cs: added the needed fields.
1581 2002-03-20 Martin Baulig <martin@gnome.org>
1583 * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
1585 * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
1587 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
1589 * MonoMethod.cs (Invoke): call InternalInvoke
1591 * MethodBase.cs (Invoke): call virtual invoke function
1593 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
1595 * EventInfo.cs: add compiler needed methods.
1596 * MonoMethod.cs: make ToString() return the return type name, too.
1598 2002-03-07 Nick Drochak <ndrochak@gol.com>
1600 * BindingFlags.cs: Add missing enum values. Thanks CorCompare.
1602 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1604 * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
1606 2002-02-26 Duncan Mak <duncan@ximian.com>
1608 * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
1610 2002-02-24 Nick Drochak <ndrochak@gol.com>
1612 * AssemblyNameFlags.cs: Use proper member name. Thanks corcompare!
1614 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
1616 * MonoField.cs: implement GetValue as an internalcall.
1617 Implemented ToString().
1619 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
1621 * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
1622 MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
1625 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
1627 * TypeAttributes.cs: update to latest spec.
1629 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
1631 * Assembly.cs: handle throwOnError in GetType() call.
1633 2002-02-07 Duncan Mak <duncan@ximian.com>
1635 * AssemblyName.cs: Implemented ISerializable interface for the
1636 fields that we have.
1638 2002-02-05 Duncan Mak <duncan@ximian.com>
1641 * TargetException.cs: Added in CVS.
1643 2002-01-31 Duncan Mak <duncan@ximian.com>
1645 * ReflectionTypeLoadException.cs: Added missing bits.
1647 2002-01-23 Duncan Mak <duncan@ximian.com>
1649 * AssemblyAlgorithmIdAttribute.cs:
1650 * AssemblyCompanyAttribute.cs:
1651 * AssemblyConfigurationAttribute.cs:
1652 * AssemblyCopyrightAttribute.cs:
1653 * AssemblyCultureAttribute.cs:
1654 * AssemblyDefaultAliasAttribute.cs:
1655 * AssemblyDelaySignAttribute.cs:
1656 * AssemblyDescriptionAttribute.cs:
1657 * AssemblyFileVersionAttribute.cs:
1658 * AssemblyFlagsAttribute.cs:
1659 * AssemblyInformationalVersionAttribute.cs:
1660 * AssemblyKeyFileAttribute.cs:
1661 * AssemblyKeyNameAttribute.cs:
1662 * AssemblyNameProxy.cs:
1663 * AssemblyProductAttribute.cs:
1664 * AssemblyTitleAttribute.cs:
1665 * AssemblyTradeMarkAttribute.cs:
1666 * AssemblyVersionAttribute.cs:
1667 * CustomAttributeFormatException.cs:
1668 * InvalidFilterCriteriaException.cs:
1669 * TargetParameterCountException.cs: Added.
1671 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1673 * Assembly.cs (Assembly.CodeBase): Implement.
1674 (Assembly.FullName): simplistic and broken implementation. Gets
1675 us where we were yesterday.
1679 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
1681 * IReflect.cs: corrected GetMember() return type.
1682 * InterfaceMapping.cs, TypeDelegator.cs: implemented.
1684 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1686 * MonoMethod.cs: ToString () implementation.
1688 2002-01-04 Ravi Pratap <ravi@ximian.com>
1690 * Assembly.cs : Decorate missing bits with the MonoTODO
1693 * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
1694 ReflectionTypeLoadException.cs : Ditto.
1696 * FieldInfo.cs : Ditto.
1698 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
1700 * Assembly.cs: trow unimplemented exceptions.
1702 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
1704 * MonoMethod.cs: implemented GetParameters().
1705 * MonoProperty.cs: PropertyInfo implementation.
1706 * ParameterInfo.cs: implemented.
1707 * PropertyInfo.cs: fixes.
1709 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
1711 * FieldInfo.cs: implemented some Is* propeties.
1712 * MethodBase.cs: fixed attribute accessors.
1713 * MonoField.cs: runtime object to represent a field.
1714 * MonoMethod.cs: runtime object to represent a method.
1715 * AssemblyBuilder.cs: GetToken() methods to get tokens for
1716 strings, fields, methods...
1717 * ILGenerator.cs: handle tokens for methods.
1719 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
1721 * MethodBase.cs: add internal get_next_table_index() for use in
1724 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
1726 * Assembly.cs: implement some of the Load() methods.
1727 * ConstructorInfo.cs: some missing stubs and fields.
1728 * FieldInfo.cs: IsInitOnly property.
1729 * ParameterInfo.cs: stubs for missing properties.
1730 * ParameterModifier.cs: implemented class.
1732 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
1734 * Assembly.cs: Filled in some stub implementations
1736 * ConstructorInfo.cs: Added some stub functions for NUnit
1738 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
1740 * AmbiguousMatchException.cs,
1741 * Assembly.cs, Module.cs: updates.
1742 * FieldInfo.cs: better compliance to the spec.
1743 * MethodBase.cs: move call_conv out of the way.
1744 * AssemblyBuilder.cs: don't use internalcalls, more stuff supported.
1745 * FieldBuilder.cs: implemented.
1746 * ILGenerator.cs: implemented some opcode handling.
1747 * Label.cs: add constructor.
1748 * LocalBuilder.cs: implemented.
1749 * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
1750 * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
1751 * ParameterBuilder.cs: implemented.
1752 * PropertyBuilder.cs: implemented.
1753 * TypeBuilder.cs: don't use internalcalls, more stuff working.
1755 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
1757 * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
1759 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
1761 * MethodBase.cs, MethodInfo.cs: added.
1763 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
1765 * Assembly.cs: added stub code.
1767 2001-07-18 Michael Lambert <michaellambert@email.com>
1769 * BindingFlags.cs: Add.