1 2006-10-19 Gert Driesen <drieseng@users.sourceforge.net>
3 * AssemblyName.cs: Revert change where filename was not converted to
4 absolute path before passing it to Assembly.InternalGetAssemblyName
5 as the CodeBase is not set in that case.
7 2006-10-17 Kornél Pál <kornelpal@gmail.com>
9 * FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a
10 NotSupportedException is the proper implementation.
11 * ParameterInfo.cs: Use Attributes in Is... properties on profile 2.0
12 that is expected by subclasses.
14 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
16 * AssemblyName.cs: No need to convert filename to absolute path before
17 passing it to Assembly.InternalGetAssemblyName. This allows our
18 exception messages to be better match those of MS.
20 2006-09-29 Jb Evain <jbevain@gmail.com>
22 * MonoFieldInfo.cs: throw a FieldAccessException when setting a literal field.
24 2006-09-02 Zoltan Varga <vargaz@gmail.com>
26 * ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from
27 Peter Dettman (peter.dettman@iinet.net.au). Implement ReturnParameter
30 * Binder.cs (ReorderParameters): Really fix this.
32 * Binder.cs (ReorderParameters): Fix this method. Fixes #79120.
34 2006-09-01 Raja R Harinath <rharinath@novell.com>
36 * MonoMethod.cs (ToString): Update to handle change in byref type names.
38 2006-08-08 Gert Driesen <drieseng@users.sourceforge.net>
40 * Assembly.cs: On 2.0 profile, throw FileNotFoundException for
41 linked resources in GetManifestResourceStream when assembly is
42 loaded from byte array.
44 2006-07-12 Zoltan Varga <vargaz@gmail.com>
46 * MonoMethod.cs (ContainsGenericParameters): Implement.
48 * MonoMethod.cs (Invoke): Prevent invoking of open generic methods.
50 2006-07-09 Gert Driesen <drieseng@users.sourceforge.net>
52 * Assembly.cs: When assembly is loaded from byte array, return null
53 for linked resources in GetManifestResourceStream. Fixes bug #78468.
55 2006-07-09 Zoltan Varga <vargaz@gmail.com>
57 * Binder.cs: Add back the support for BindingFlags.ExactBinding. Fixes #78592.
59 2006-06-30 Zoltan Varga <vargaz@gmail.com>
61 * Binder.cs: Comment out the ExactBinding stuff for the release as it breaks some
64 2006-06-07 Zoltan Varga <vargaz@gmail.com>
66 * Binder.cs: Add support for BindingFlags.ExactBinding. Fixes #78592.
68 2006-05-28 Gert Driesen <drieseng@users.sourceforge.net>
70 * MethodBase.cs: GetMethodBody should not throw ArgumentException for
71 a method with no IL body. Fixes bug #78522.
73 2006-05-10 Zoltan Varga <vargaz@gmail.com>
75 * Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
77 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
79 * Binder.cs : (Default.SelectMethod)
80 don't throw AmbiguousMatchException when one of conflicting method
81 matches weakly. Fixed bug #42547.
83 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
85 * Binder.cs : (Default.BindToMethod) reorder parameters based
86 on namedParameters. Fixed bug #41691.
88 2006-05-03 Jb Evain <jbevain@gmail.com>
90 * MonoField.cs (GetValue,SetValue): throw a TargetException
91 when the field is non static and the target is null.
93 2006-03-12 Zoltan Varga <vargaz@gmail.com>
95 * Binder.cs: Applied patch from Ben to fix #74947.
97 2006-03-01 Miguel de Icaza <miguel@novell.com>
99 * Assembly.cs: Cache the AssemblyName, patch from Tambet. This
100 reduces the memory usage during remoting.
102 2006-02-16 Martin Baulig <martin@ximian.com>
104 * FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.
106 2006-02-15 Martin Baulig <martin@ximian.com>
108 * MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
109 (MethodBase.Mono_IsInflatedMethod): Removed.
110 (MethodBase.HasGenericParameters): Removed.
112 * MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
113 here from MethodBase.
116 (MonoMethod.IsGenericMethodDefinition): This is now an icall.
117 (MonoMethod.IsGenericMethod): Likewise.
119 2006-02-14 Martin Baulig <martin@ximian.com>
122 (MonoCMethod.IsGenericMethod): Override this and return false; the
123 MS runtime doesn't throw an exception here.
125 2006-02-08 Martin Baulig <martin@ximian.com>
127 * MonoGenericClass.cs (MonoGenericClass.IsAssignableFrom):
128 Override and implement this; fixes #77395.
130 2006-02-07 Martin Baulig <martin@ximian.com>
133 (MonoMethod.IsGenericMethod): Only return true for "real" generic
134 methods and not for arbitrary instantiated methods.
135 (MonoMethod.IsGenericMethodDefinition): Only return true for
136 generic method definitions, but not for instantiated generic
137 methods. This is no longer an interncall. Fixes #77466.
139 2006-02-03 Zoltan Varga <vargaz@gmail.com>
141 * MethodBase.cs MonoMethod.cs: Implement IsGenericMethod property.
144 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
146 * Assembly.cs: Fixed #75950. The icall has been changed to accept a
147 boolean so it can return a non-escaped code base.
149 2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
151 * MonoMethod.cs : made MakeGenericMethod() indirect icall to
152 MakeGenericMethod_impl() and raise an error when it returns null.
154 2005-11-15 Zoltan Varga <vargaz@gmail.com>
156 * Module.cs: Add MDStreamVersion property.
158 * Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs
159 CustomAttributeData.cs PortableExecutableKinds.cs
160 ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
163 2005-11-11 Marek Safar <marek.safar@seznam.cz>
165 * MethodBase.cs, TypeDelegator.cs: Reflect Type changes.
167 2005-10-30 Zoltan Varga <vargaz@freemail.hu>
169 * FieldInfo.cs: Add an internal UMarshal property which can by
170 overriden in FieldBuilder.
172 2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
174 * MonoMethod.cs : (ToString) add suffix " ByRef" for byref parameters.
177 2005-10-04 Martin Baulig <martin@ximian.com>
179 * MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
180 return type from `MonoGenericClass to `Type'.
182 2005-09-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
184 * AssemblyName.cs: Add ParseName internal call, to parse
185 long format assembly names.
187 2005-09-25 Sebastien Pouliot <sebastien@ximian.com>
189 * MonoProperty.cs: Invoke throws a SecurityException but GetValue must
190 throw TargetInvocationException with the SecurityException as an inner
191 exception. See CAS unit tests for System.Web.dll.
193 2005-09-20 Martin Baulig <martin@ximian.com>
195 * Assembly.cs: Removed some unused debugger icalls.
197 2005-09-17 Zoltan Varga <vargaz@freemail.hu>
199 * Module.cs: Remove obsolete Mvid property.
201 2005-09-09 Martin Baulig <martin@ximian.com>
203 Reflect latest API changes in the August CTP.
205 * MethodBase.cs (MethodBase.MakeGenericMethod): Removed.
207 * MethodInfo.cs (MethodInfo.MakeGenericMethod): Added here.
209 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
211 * AssemblyName.cs: Apply second half of Chris Micacchi's patch
213 2005-09-07 Miguel de Icaza <miguel@novell.com>
215 * AssemblyName.cs: Apply patch from Chris Micacchi to serialize
216 the keyToken as "_PublicKeyToken".
218 2005-09-05 Martin Baulig <martin@ximian.com>
220 Reflect latest API changes in the August CTP.
222 * GenericParameterAttributes.cs: Here.
224 * MethodBase.cs (MethodBase.BindGenericParameters): Renamed to
227 2005-09-05 Martin Baulig <martin@ximian.com>
229 * Assembly.cs (MonoDebugger_GetMethodToken): Don't take an
232 2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
234 * Assembly.cs: made GetManifestResourceInternal internal. Fixes the
237 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
239 * Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
240 * ConstructorInfo.cs: Added GetType() method in 1.1 to match
241 MS.NET, implemented _ConstructorInfo.
242 * EventInfo.cs: Added GetType() method in 1.1 to match MS.NET,
243 implemented _EventInfo.
244 * FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET,
245 implemented _FieldInfo.
246 * MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET,
247 implemented _MemberInfo.
248 * MethodBase.cs: Added GetType() method in 1.1 to match MS.NET,
249 implemented _MethodBase.
250 * MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET,
251 implemented _MethodInfo.
252 * PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET,
253 implemented _PropertyInfo.
254 * TypeAttributes.cs: CustomFormatMask and CustomFormatClass should
255 only be exposed in 2.0 profile.
257 2005-07-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
259 * CustomAttributeTypedArgument: Return the name of the
260 enum if the type is an enum in ToString ().
262 2005-06-21 Sebastien Pouliot <sebastien@ximian.com>
264 * Assembly.cs: Create a copy of the evidences and add an instance of
265 PermissionRequestEvidence to it before resolution. This way the PRE
266 won't be present when asking for evidences later. Removed debugging
269 2005-06-13 Michal Moskal <malekith@nemerle.org>
271 * MonoGenericClass.cs: Don't use MethodHandle in GetMethod/GetConstructor,
272 since it now throws on MethodBuilders. Don't use FieldHandle in
273 GetField (throws on FieldBuilder) - just use the name.
275 2005-06-15 Sebastien Pouliot <sebastien@ximian.com>
277 * Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
278 FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
279 ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
280 attributes that were added in 1.1 SP1 or 2.0 beta2.
282 2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
284 * Binder.cs: null is ok for a value type. Fixes bug #75241.
286 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
288 * Assembly.cs: UnprotectedGetName is now virtual to allow for more
289 initialization in AssemblyBuilder. The [Granted|Refused]PermissionSet
290 now use the ResolvingPolicyLevel to support the policy
291 FullTrustAssemblies during resolution.
292 * AssemblyName.cs: Return null instead of "new byte [0]" if no public
295 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
296 * MonoGenericClass.cs: Add overrides of Get{Method,Constructor,Field}
297 for obtaining instanciated *Info objects from non-instanciated counterparts
300 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
302 * CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.
304 * *.cs: Updates for net 2.0 beta 2.
306 2005-06-07 Zoltan Varga <vargaz@freemail.hu>
308 * *.cs: Updates for net 2.0 beta 2.
310 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
312 * CustomAttributeData.cs: Implemented.
314 * CustomAttributeDataNamedArgument.cs: Implemented.
316 * CustomAttrbuteDataTypedArgument.cs: Implemented.
318 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
320 * Assembly.cs ExceptionHandlingClause.cs: Fix build.
322 * ProcessorArchitecture.cs: New file.
324 * ExceptionHandlingClause.cs: Update after ExceptionHandlingClauseFlags name change.
326 * *.cs: Updates for net 2.0 beta 2.
328 * *.cs: Add net 2.0 ComVisibleAttribute.
330 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
332 * Assembly.cs: if the assembly is loaded from a byte array, Location
333 returns "". Fixes bug #74958.
335 2005-06-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
337 * AssemblyName.cs: Changes to support the creation of version
338 instance from icalls. This change also helps to keep the
339 AssemblyName tests running fine.
341 2005-05-26 Ben Maurer <bmaurer@ximian.com>
343 * Binder.cs: Avoid double checked locking and lock on typeof by
344 doing init of the default binder in the cctor.
346 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
348 * Assembly.cs: Avoid security checks if Assembly.Location is "".
350 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
352 * TypeDelegator.cs: Implement some methods.
354 * TypeDelegator.cs: Revert this as it breaks the build.
356 * TypeDelegator.cs: Implement some methods.
358 2005-05-19 Satya Sudha K <ksathyasudha@novell.com>
359 Raja R Harinath <rharinath@novell.com>
361 * Missing.cs (Missing.Value): Initialize.
363 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
365 * Binder.cs: Use IsInstanceOfType instead of IsAssignableFrom
366 since GetType() may not return the correct type if the object is
367 a remoting proxy. This fixes bug #74933.
369 2005-05-13 Zoltan Varga <vargaz@freemail.hu>
371 * MonoField.cs: Applied patch from Opened by Michael Meeks (michael@ximian.com). Improve exception message on binding failures.
373 2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
375 * MonoField.cs: Added a Clone method. This is needed for serialization.
377 2005-05-07 Ben Maurer <bmaurer@ximian.com>
379 * MonoEvent.cs (Get*Method): Handle nonPublic. Fixes #64191.
381 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
383 * Module.cs: Update for beta 2.
385 * CustomAttributeData.cs MethodBody.cs: Remove CLSCompliant (false) attributes.
387 2004-05-03 Lluis Sanchez <lluis@ximian.com>
389 * Assembly.cs: Don't remove version and culture information from
390 the name, since it will be used by load_with_partial_name.
392 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
394 * Assembly.cs: Added some CAS security to avoid returning restricted
395 information to partially truster callers (e.g. code base). Added new
396 methods to get the Evidence and AssemblyName so that the security
397 runtime can bootstrap itself (without calling itself).
399 2005-04-14 Sebastien Pouliot <sebastien@ximian.com>
401 * Assembly.cs: Added missing null check in GetObjectData.
403 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
405 * AssemblyName.cs: Added a demand for SerializationFormatter on
406 GetObjectData method.
408 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
410 * AssemblyName.cs: Implemented EscapedCodeBase using the copy of
411 System.Uri (System.dll) located in Mono.Security.Uri. Added missing
412 null check in GetObjectData.
413 * Module.cs: Added a FileIOPermission for PathDiscovery on
414 FullyQualifiedName property (but not on Name property like MS).
415 Added missing null check in GetObjectData.
416 * StrongNameKeyPair.cs: Added demands for unmanaged code to all
417 constructors (as we do not want partially trusted code to create
418 strongnamed assemblies).
420 2005-03-30 Zoltan Varga <vargaz@freemail.hu>
422 * Binder.cs (check_type): Fix byref support. Fixes #73972.
424 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
426 * MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class.
427 * Module.cs: Add a LinkDemand for SerializationFormatter on
428 GetObjectData method.
430 2005-03-16 Sebastien Pouliot <sebastien@ximian.com>
432 * Assembly.cs: Implemented EscapedCodeBase using the copy of
433 System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.
435 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
437 * MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand
438 (i.e. stack walk) when reflection is being used to invoke a method.
440 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
442 * Assembly.cs: LoadFrom: Change signature to support reflection only
443 methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods
444 implemented; InvalidOperationException's re-thrown by CreateInstance.
445 Also ReflectionOnly 2.0 property added.
447 * MonoMethod.cs: InvalidOperationException's are re-thrown when calling
448 Invoke method on reflection only assemblies.
450 2005-02-22 Raja R Harinath <rharinath@novell.com>
452 * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
453 'abstract' so that this class can be derived outside of corlib.
455 2005-02-16 Miguel de Icaza <miguel@novell.com>
457 * MonoEvent.cs: Put new methods here.
459 * EventInfo.cs: Move the methods GetCustomAttributes, and
460 IsDefined from EventInfo to MonoEvent.
462 Remove the methods that were not supposed to be exposed: Name,
463 ReflectedType, DeclaringType.
465 2005-02-12 Chris Toshok <toshok@ximian.com>
467 * Assembly.cs: Correct the type of MonoDebugger_MakeArrayType.
469 2005-02-12 Ben Maurer <bmaurer@ximian.com>
471 * Binder.cs (SelectProperty): Use -1 as the dummy `I don't know
472 how many types' value.
474 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
476 * Assembly.cs: Fix warning.
478 2005-02-10 Martin Baulig <martin@ximian.com>
480 * Module.cs (MonoDebugger_ResolveType): New internal method.
482 * Assembly.cs (MonoDebugger_MakeArrayType): New internal method.
483 (MonoDebugger_GetTypeToken): New internal method.
485 2005-02-10 Martin Baulig <martin@ximian.com>
487 * Assembly.cs (MonoDebugger_GetMethodIndex): New internal method.
489 2005-02-10 Marek Safar <marek.safar@seznam.cz>
492 * ConstructorInfo.cs,
498 * PropertyInfo.cs: ClassInterfaceType is None.
500 Thu Feb 3 15:22:55 CET 2005 Paolo Molaro <lupus@ximian.com>
502 * Module.cs: removed the finalizer and the now unused Close() icall.
504 2005-01-21 Sebastien Pouliot <sebastien@ximian.com>
506 * Assembly.cs: Fixed add for ModuleResolve.
508 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
510 * LocalVariableInfo.cs: Add ToString method.
512 * ExceptionHandlingClause.cs: Implement this.
514 2005-01-18 Zoltan Varga <vargaz@freemail.hu>
516 * MethodBase.cs MonoMethod.cs: Hopefully fix the build.
518 * MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().
520 2005-01-03 Martin Baulig <martin@ximian.com>
522 * MonoGenericMethod.cs
523 (MonoGenericMethod.get_reflected_type): Removed.
524 (MonoGenericMethod.ReflectedType): Make this an icall.
525 (MonoGenericCMethod.ReflectedType): Likewise.
527 2004-12-29 Martin Baulig <martin@ximian.com>
529 * MonoGenericMethod.cs: New file.
531 2004-12-21 Sebastien Pouliot <sebastien@ximian.com>
533 * Assembly.cs: Added private LoadAssemblyPermissions to get the
534 declarative security permission sets (minimum, optional and refused)
537 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
539 * Assembly.cs: Removed old Demand support (moved in System.Security).
541 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
543 * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that
544 the gmcs bugs blocking them are fixed.
546 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
548 * Assembly.cs: Move corlib_internal field to AssemblyBuilder.
550 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
552 * Assembly.cs: Add corlib_internal field.
554 2004-11-30 Martin Baulig <martin@ximian.com>
556 * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also
557 renamed the class from `MonoGenericInst' to `MonoGenericClass'.
559 2004-11-05 Zoltan Varga <vargaz@freemail.hu>
561 * AssemblyName.cs (FullName): Omit default values from full name.
563 * Assembly.cs: Implement GetFiles (bool).
565 * Binder.cs: Add support for byref types. Fixes #69140.
567 2004-10-12 Martin Baulig <martin@ximian.com>
569 * MonoGenericInst.cs (MonoGenericInst): Call initialize() just
570 before calling the *_internal() methods.
572 2004-10-12 Zoltan Varga <vargaz@freemail.hu>
574 * MethodBody.cs: Implement this.
576 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
578 * Module.cs: Handle the case when the global type does not exists.
580 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
582 * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit
585 2004-09-28 Zoltan Varga <vargaz@freemail.hu>
587 * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].
589 * PropertyInfo.cs: Add stub for GetConstantValue ().
591 * ParameterInfo.cs (marshalAs): Make this private.
593 * Module.cs (ModuleHandle): Add [CLSCompliant(false)].
595 * LocalVariableInfo.cs MethodBody.cs: Disable default constructor.
597 * ExceptionHandlingClause.cs: Disable default constructor.
599 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
601 * CustomAttributeData.cs CustomAttributeTypedArgument.cs
602 CustomAttributeNamedArgument.cs: New files.
604 * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs
605 ExceptionHandlingClauseFlags.cs: New files.
607 2004-09-26 Zoltan Varga <vargaz@freemail.hu>
609 * FieldInfo.cs: Add support for returning MarshalAsAttribute.
611 * ParameterInfo.cs: Add marshalAs field, add support for returning
614 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
616 * Module.cs: Add new 2.0 GetMethods and GetFields methods.
618 * ParameterInfo.cs: Add GetPseudoCustomAttributes () method.
620 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
622 * MonoField.cs: Add GetFieldOffset.
624 * ObfuscationAttribute.cs: Add ApplyToMembers.
626 * Assembly.cs: Add stub for ReflectionOnlyLoadFrom.
628 * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute.
630 * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method.
632 * AssemblyNameFlags.cs: Add LongevityUnspecified.
634 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
636 * Module.cs: Remove [MonoTODO] from ResolveMember.
638 * MemberInfo.cs: Add 'Module' property.
640 * AssemblyFlagsAttribute.cs: Add 2.0 stuff.
642 * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete]
643 to LoadWithPartialName on 2.0.
645 * AssemblyNameFlags.cs: Add new 2.0 members.
647 * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers.
649 * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files.
651 * EventInfo.cs: Fix 2.0 build.
653 * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field.
655 * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method.
657 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
659 * Module.cs: Implement net 2.0 ResolveXXX methods.
661 * Module.cs (resolve_token_exception): Fix type of exception thrown.
663 2004-09-21 Martin Baulig <martin@ximian.com>
665 * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.
667 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
669 * Assembly.cs: Implement 2.0 reflection properties.
671 * Module.cs: Implement 2.0 reflection properties. Add 'token' field.
673 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
675 * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
678 * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.
680 * Module.cs: Add ModuleHandle property and new icalls.
682 2004-09-18 Zoltan Varga <vargaz@freemail.hu>
684 * Module.cs: Add net 2.0 Mvid property.
686 2004-08-30 Sebastien Pouliot <sebastien@ximian.com>
688 * Assembly.cs: Added internal Demand(PermissionSet) for CAS.
690 2004-08-30 Zoltan Varga <vargaz@freemail.hu>
692 * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to
695 2004-08-29 Zoltan Varga <vargaz@freemail.hu>
697 * MethodBase.cs (GetMethodFromHandle): Implement.
699 2004-08-13 Marek Safar <marek.safar@seznam.cz>
701 * Assembly.cs: Made _minimum, _optional, _refuse fields internal.
702 To be reusable by AssemblyBuilder.
704 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
706 * Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0
707 properties (required for compiling the new unit tests).
708 * PortableExecutableKind.cs: New. Flags for NET_2_0.
709 * ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0.
711 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
713 * Assembly.cs: Get default evidences when no evidences have been
714 supplied. Added internal methods for CAS.
715 * AssemblyName.cs: New constructor for NET_2_0.
717 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
719 * Assembly.cs: Added new fields for CAS to match the runtime (v23).
721 2004-07-29 Martin Baulig <martin@ximian.com>
723 * Module.cs (Mono_GetGuid): Make this static.
725 Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
727 * Module.cs: return just name in ToString (bug #61287).
729 2004-07-03 Zoltan Varga <vargaz@freemail.hu>
731 * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
733 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
735 * Pointer.cs: remove serializable attribute to match MS.NET
737 2004-06-17 Gert Driesen <drieseng@users.sourceforge.net>
739 * ParameterModifier.cs: marked serializable, renamed field to match
740 MS.NET, throw ArgumentException when parameter count is less than or
743 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
745 * AssemblyName.cs: added TODO for serialization
746 * Pointer.cs: fixed Box method to return object instead of
749 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
751 * MemberInfo.cs: Changed constructor from internal to protected.
753 2004-06-11 Martin Baulig <martin@ximian.com>
755 * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.
757 2004-06-11 Lluis Sanchez <lluis@ximian.com>
759 * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match
760 MS implementation. Generate the RSA in the constructors.
762 2004-06-10 Lluis Sanchez <lluis@ximian.com>
764 * AssemblyName.cs: Added missing fields to serialization methods.
765 * StrongNameKeyPair.cs: Made it compatible with MS serialization.
767 2004-06-08 Jacson Harper <jackson@ximian.com>
769 * AssemblyName.cs (GetAssemblyName): Send a fullpath to the
770 runtime. This way the codebase is set properly. The codebase is
771 using g_filename_to_uri which expects a full path.
773 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
775 * Binder.cs: don't crash when we have a 'null' argument Type array.
776 Allow it for non-value types. Fixed for both, methods and properties.
779 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
781 * Binder.cs: default score must be lower than fail_score or we'll get
782 an ambiguous match when no indexers given and one single match is found.
784 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
786 * Binder.cs: removed ^Ms. In case of several properties matching, try
787 to disambiguate based on the indexer types provider and the conversions
788 from those into the ones of the property.
790 2004-05-31 Gert Driesen <drieseng@users.sourceforge.net>
792 * Assembly.cs: added missing ComVisible attribute on
793 ImageRuntimeVersion property
794 * ConstructorInfo.cs: added missing attributes on Invoke
795 * EventInfo.cs: added missing attributes
796 * FieldInfo.cs: added missing attributes
797 * MethodBase.cs: added missing attributes
798 * PropertyInfo.cs: added missing attributes
800 2004-05-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
802 * FieldInfo.cs: changed default constructor from internal to protected, so classes
803 that inherit from it can get build.
805 2004-05-18 Gert Driesen (drieseng@users.sourceforge.net)
807 * MonoProperty.cs: return correct MethodInfo for
808 property with only a get or set method. Fixes
811 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
813 * Assembly.cs: Return an empty Evidence collection to avoid
814 NullReferenceException from calling code (as this is never
815 null with MS implementation). See bugzilla #53548.
817 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
819 * Assembly.cs: Add stub for LoadFrom.
821 * Assembly.cs: Fix build.
823 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
825 * Assembly.cs: Add ModuleResolve event.
827 * Module.cs (Mono_GetGuid): Make this internal.
829 * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.
831 2004-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
833 * Binder.cs: check for ambiguous matches in SelectMethod and
834 SelectProperty. Fixes bug #58381.
836 2004-05-06 Jackson Harper <jackson@ximian.com>
838 * Assembly.cs: remove TODO, this is done.
840 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
842 * Assembly.cs: ToString () returns the same as GetName ().ToString ().
845 2004-05-03 Jackson Harper <jackson@ximian.com>
847 * Assembly.cs: Implement LoadWithPartialName. The bulk of this
848 method is done in the runtime.
850 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
852 * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
853 is private (it did until now because of a bug). Make sure it works as it
854 worked before the fix.
856 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
858 * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs:
859 Removed completed TODOs.
860 * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
861 do not return private methods if nonPublic == false.
862 * ReflectionTypeLoadException.cs: Implemented serialization support.
864 2004-04-26 Jackson Harper <jackson@ximian.com>
866 * Assembly.cs: Add icall to determine if an assembly has been
869 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
871 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
872 The fix should be easier ;)
874 2004-04-23 Atsushi Enomoto <atsushi@ximian.com>
876 * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
877 NET_2_0 related build fix.
879 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
881 * Assembly.cs: Removed TODO for CreateQualifiedName.
882 * AssemblyName.cs: Fixed serialization code.
883 * AssemblyNameProxy.cs: Implemented.
884 * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.
886 2004-04-07 Martin Baulig <martin@ximian.com>
888 * MonoGenericInst.cs (MonoGenericParam): Removed.
890 2004-04-07 Martin Baulig <martin@ximian.com>
893 (MethodBase.GetGenericParameters): Renamed to GetGenericArguments().
895 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
896 (MonoGenericInst.GetNestedTypes): Just call
897 `generic_type.GetNestedTypes (bf)' here.
899 * MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
900 include the type arguments.
902 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
904 * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a
905 correct StrongName instance when the ECMA "key" is used.
907 2004-04-02 Martin Baulig <martin@ximian.com>
909 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
911 2004-04-01 Martin Baulig <martin@ximian.com>
913 * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
914 this and always return false.
916 2004-04-01 Martin Baulig <martin@ximian.com>
918 * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.
920 2004-03-30 Martin Baulig <martin@ximian.com>
923 (MonoGenericParam): Added `bool has_ctor_constraint' field.
924 (MonoGenericParam.SetConstraints): Added `bool
925 has_ctor_constraint' argument.
927 2004-03-29 Martin Baulig <martin@ximian.com>
929 * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
931 (MethodBase.HasGenericParameters): Use the "official" behavior
932 here, ie. return false if we're not a generic method.
934 2004-03-29 Martin Baulig <martin@ximian.com>
936 * MethodBase.cs: Moved the generics stuff here, made it virtual
937 where neccessary and use the correct API.
939 2004-03-24 Sebastien Pouliot <sebastien@ximian.com>
941 * StrongNameKeyPair.cs: Added an internal method to return a
942 StrongName object (for AssemblyBuilder). Simplified implementation
943 using Mono.Security.Cryptography.CryptoConvert class.
945 2004-03-24 Zoltan Varga <vargaz@freemail.hu>
947 * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.
949 2004-03-23 Martin Baulig <martin@ximian.com>
951 * MonoGenericInst.cs: Added support for events.
953 2004-03-23 Martin Baulig <martin@ximian.com>
955 * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
956 if it's the empty string.
958 2004-03-10 Martin Baulig <martin@ximian.com>
960 * MethodBase.cs (MethodBase): Implemented
961 GetGenericMethodDefinition() and HasGenericParameters.
963 2004-03-09 Martin Baulig <martin@ximian.com>
965 * MonoEvent.cs (MonoEventInfo): Replaced `parent' with
966 `declaring_type' and `reflected_type'.
967 (MonoEvent): Distinguish between declaring and reflected type.
969 2004-02-25 Martin Baulig <martin@ximian.com>
972 (MonoGenericInst.GetNestedTypes): Override this.
974 2004-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
977 (SelectProperty): check the return Type if provided.
979 2004-02-17 Martin Baulig <martin@ximian.com>
981 * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
982 support for properties.
984 2004-02-17 Martin Baulig <martin@ximian.com>
986 * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
987 class hierarchy and return members from the parent classes.
988 (GetConstructors, GetFields): Likewise.
990 2004-02-17 Martin Baulig <martin@ximian.com>
992 * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
993 all the members here; we only do this for members of the current
994 class and only when they're actually queried for.
996 2004-02-12 Martin Baulig <martin@ximian.com>
998 * MonoGenericInst.cs (MonoInflatedField): Removed.
1000 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.
1002 2004-02-08 Martin Baulig <martin@ximian.com>
1004 * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
1005 invocations the `reflected' type as `reflected', not `this'.
1006 (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
1008 2004-02-08 Martin Baulig <martin@ximian.com>
1010 * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
1011 (MonoGenericInst.GetInterfaces_internal): New interncall.
1012 (MonoGenericInst): Reflect latest API changes; use GetParentType()
1013 and GetInterfaces_internal() instead of the fields.
1015 2004-02-06 Martin Baulig <martin@ximian.com>
1017 * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
1019 2004-02-03 Martin Baulig <martin@ximian.com>
1021 * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.
1023 2004-01-25 Martin Baulig <martin@ximian.com>
1025 * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.
1027 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
1029 * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
1030 a reference on the Module object which contains the resource.
1032 * Module.cs: Decrease the image reference count when the Module is
1035 2004-01-16 Martin Baulig <martin@ximian.com>
1037 * Assembly.cs: Make the `MonoDebugger_' methods static.
1039 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1041 * MonoProperty.cs: changed get_property_info so that it only gets the
1042 values needed. Reduces the allocations needed.
1044 2004-01-15 Martin Baulig <martin@ximian.com>
1046 * Assembly.cs: Make the `MonoDebugger_' methods internal.
1048 2004-01-04 Nick Drochak <ndrochak@gol.com>
1050 * Assembly.cs: Removed unused variable in catch block.Eliminates a build
1053 2003-12-29 Ben Maurer <bmaurer@users.sourceforge.net>
1055 * MethodBase.cs: Internal method to get param count (this
1056 way we can get the info for the ilgen without creating
1057 an array, if we override the method).
1059 2003-12-18 Zoltan Varga <vargaz@freemail.hu>
1061 * Assembly.cs: Implement LoadFrom.
1063 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
1065 * Assembly.cs: Add stubs for LoadFile.
1067 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
1069 * Assembly.cs (GetManifestResourceStream): Only load non-embedded
1070 resources from files.
1072 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
1074 * MonoField.cs (SetValue): Throw an exception if the value cannot be
1075 converted to the field's type. Fixes #52177.
1077 2003-12-11 Lluis Sanchez Gual <lluis@ximian.com>
1079 * AmbiguousMatchException.cs: Added serialization constructor.
1081 2003-12-08 Martin Baulig <martin@ximian.com>
1083 * MonoGenericInst.cs (MonoGenericParam): New internal class;
1084 derives from MonoType.
1086 2003-12-08 Patrik Torstensson <p@rxc.se>
1088 * Binder.cs: Added internal helpers to get derived level and select the
1089 most derived methodbase (used in GetMethodImpl)
1091 2003-11-25 Zoltan Varga <vargaz@freemail.hu>
1093 * Assembly.cs (LoadWithPartialName): Return null instead of throwing
1094 an exception to match MS behavior.
1096 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
1098 * MonoMethod.cs: Add missing constructor.
1100 2003-11-21 Zoltan Varga <vargaz@freemail.hu>
1102 * MethodBase.cs (Invoke): Make this virtual under NET 1.2.
1104 2003-11-16 Martin Baulig <martin@ximian.com>
1106 * MonoGenericInst.cs (MonoGenericInst.inflate): Call
1107 `parent.inflate (parent,...)' instead of
1108 `parent.inflate (reflected,...)'.
1110 2003-11-16 Zoltan Varga <vargaz@freemail.hu>
1112 * Assembly.cs (InternalGetAssemblyName): New icall.
1114 * AssemblyName.cs (GetAssemblyName): Implement this without loading
1115 the assembly in question. Fixes #51035.
1117 2003-11-14 Martin Baulig <martin@ximian.com>
1119 * MonoGenericInst.cs (MonoGenericInst): Added
1120 `MonoGenericInst[] interfaces' field. This is only used for
1122 (MonoGenericInst.inflate): If we're an interface type, add the
1123 methods from all interfaces we inherit.
1125 2003-11-14 Zoltan Varga <vargaz@freemail.hu>
1127 * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values
1130 * *.cs: Add missing attributes.
1132 2003-11-11 Todd Berman <tberman@gentoo.org>
1134 * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.
1136 2003-11-11 Zoltan Varga <vargaz@freemail.hu>
1138 * MonoMethod.cs: Implement CallingConvention member.
1140 2003-11-10 Zoltan Varga <vargaz@freemail.hu>
1142 * Assembly.cs (InternalGetType): Add a 'module' argument so this
1143 method can be used from Module as well.
1145 * Module.cs (GetType): Implement.
1147 * Module.cs (GetTypes): Implement.
1149 * Module.cs: Remove some [MonoTODO] attributes from implemented methods.
1150 2003-11-08 Martin Baulig <martin@ximian.com>
1152 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
1153 a private `IntPtr ginst' field.
1154 (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.
1156 2003-11-02 Martin Baulig <martin@ximian.com>
1158 * MonoGenericInst.cs (MonoGenericInst.initialize): Include members
1159 from our parent classes in the `methods', `ctors' and `fields'
1160 arrays. When inflating them, reflection now sets their
1161 `declaring_type' and `reflected_type' fields.
1162 (MonoInflatedMethod, MonoInflatedCtor): Added
1163 `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
1164 fields and override the `DeclaringType' and `ReflectedType' properties.
1166 2003-11-02 Martin Baulig <martin@ximian.com>
1168 * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this.
1170 2003-10-31 Martin Baulig <martin@ximian.com>
1172 * MonoGenericInst.cs (MonoInflatedField): New internal class.
1173 (MonoGenericInst.GetFields): Override this method and inflate
1176 * MonoField.cs: Don't make this class sealed.
1178 2003-10-30 Martin Baulig <martin@ximian.com>
1180 * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
1183 2003-10-25 Martin Baulig <martin@ximian.com>
1185 * MonoGenericInst.cs: New internal class.
1187 2003-10-18 Martin Baulig <martin@ximian.com>
1189 * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
1190 abstract; use an interncall in MonoMethod and a custom
1191 implementation in MethodBuilder.
1193 2003-10-17 Pedro Martínez Juliá <yoros@wanadoo.es>
1195 * MonoEvent.cs: implement ToString method as in MS.NET.
1197 * MonoMethod.cs: fix some differences between mono and MS.NET
1198 implementation of ToString.
1200 2003-10-17 Zoltan Varga <vargaz@freemail.hu>
1202 * AssemblyName.cs: Fix Version property when some version fields are
1205 2003-10-17 Martin Baulig <martin@ximian.com>
1207 * MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
1208 (MethodInfo.BindGenericParameters): New method.
1210 2003-10-16 Martin Baulig <martin@ximian.com>
1212 * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
1215 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
1217 * ParameterInfo.cs: Modified constructor of ParameterInfo for
1218 the return type of a method. Since parameter positions are
1219 zero-based, the position of the return type must be is -1.
1221 2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1223 * TargetInvocationException.cs: Fixed signature
1225 2003-07-24 Miguel de Icaza <miguel@ximian.com>
1227 * TypeDelegator.cs: Added generics stubs.
1229 2003-07-21 Lluis Sanchez Gual <lluis@ximian.com>
1231 * ParameterInfo.cs: Position is zero-based in ParameterInfo.
1232 Set the right position value when getting from ParameterBuilder.
1234 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
1236 * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
1237 finer-grained icalls. Requires a matching runtime.
1239 2003-07-11 Zoltan Varga <vargaz@freemail.hu>
1241 * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
1243 * AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
1245 2003-07-10 Zoltan Varga <vargaz@freemail.hu>
1247 * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.
1249 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
1251 * Pointer.cs: implemented.
1253 2003-06-15 Zoltan Varga <vargaz@freemail.hu>
1255 * EventInfo.cs: Implement IsSpecialName.
1257 2003-06-10 Zoltan Varga <vargaz@freemail.hu>
1259 * Module.cs (Mono_GetGuid): New method to return the GUID of the
1262 2003-05-21 Zoltan Varga <vargaz@freemail.hu>
1264 * Module.cs: Implement GetField and its friends.
1266 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
1268 * Assembly.cs (GetManifestResourceStream): Moved handling of
1269 linked resources into managed code using the newly implemented
1270 GetManifestResourceInfo () method.
1272 2003-05-19 Zoltan Varga <vargaz@freemail.hu>
1274 * Module.cs: Implemented IsResource.
1276 * Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
1277 GetModule, GetLoadedModules methods.
1278 * Assembly.cs (GetManifestResourceStream): Added support for
1279 resources in extern assemblies.
1281 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1283 * Assembly.cs: fixed bug #42833.
1285 2003-05-11 Miguel de Icaza <miguel@ximian.com>
1287 * Binder.cs (ChangeType): Very simplistic change. Am not sure if
1288 it is correct, but it makes RemotingCorba move along a bit more
1289 (Remoting.Corba invokes Binder.ConvertArgs, which calls
1290 Binder.ChangeType with an Attribute [] to Object []).
1292 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1295 (check_type): fixed bug #41655.
1297 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1299 * Assembly.cs: implemented GetSatelliteAssembly.
1301 Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
1303 * Assembly.cs: added GetNamespaces() icall.
1305 2003-03-17 Zoltan Varga <vargaz@freemail.hu>
1307 * FieldInfo.cs (GetFieldFromHandle): Implemented.
1309 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1311 * Assembly.cs: added missing stuff. Only ModuleResolve event is left
1312 out to avoid changing MonoReflectionAssembly by now.
1313 * ModuleResolveEventHandler.cs: delegate.
1315 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1317 * TargetInvocationException.cs: added serialization ctor.
1319 2003-02-18 Martin Baulig <martin@ximian.com>
1321 * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
1322 method's metadata token.
1324 2003-02-04 Sebastien Pouliot <spouliot@videotron.ca>
1326 * Module.cs: Corrected indentation for class.
1328 2003-02-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1331 (check_type): return true when the target type is object and the source
1334 2003-02-03 Patrik Torstensson
1336 * Binder.cs: minimize locking time in DefaultBinder.
1338 2003-02-01 Sebastien Pouliot <spouliot@videotron.ca>
1340 * Module.cs: Oups - not implemented. Added MonoTODO to most methods
1341 so it's real status get reflected correctly on the web site.
1343 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1345 * MonoMethod.cs: implemented GetBaseDefinition ().
1347 2003-01-28 Patrik Torstensson
1348 * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
1349 * ReflectionSerializationHolder.cs: Support class for serialization
1351 2003-01-17 Zoltan Varga <vargaz@freemail.hu>
1353 * ParameterInfo.cs: modified constructor so it allows the
1354 ParameterBuilder to be null and add a 'position' argument which will
1355 be used when pb is null.
1357 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
1359 * Assembly.cs: added serialization support.
1361 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <lupus@ximian.com>
1363 * MonoMethod.cs: propagate exceptions from the internal invoke
1364 code that need to be propagated.
1366 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <lupus@ximian.com>
1368 * Binder.cs: throw an exception if the number of arguments
1369 when invoking a method is incorrect.
1371 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <lupus@ximian.com>
1373 * Binder.cs: In SelectMethod() look for an exact match first.
1375 2003-01-01 Rachel Hestilow <hestilow@ximian.com>
1377 * MonoField.cs (SetValue): Fix logic typo. Check that obj is
1378 non-null only for the non-static case.
1380 2002-12-30 Sebastien Pouliot <spouliot@videotron.ca>
1382 * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by
1385 2002-12-23 Sebastien Pouliot <spouliot@videotron.ca>
1387 * AssemblyName.cs: GetPublicKey now return an empty array (not null)
1388 when an assembly isn't signed with a StrongName (to match MS
1389 implementation) and null when no assembly is referenced. Also removed
1390 commented code (no bug reported so it was probably not used).
1392 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
1394 * MonoMethod.cs, ParameterInfo.cs: return a custom attribute
1395 provider for the return type of a method.
1397 2002-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1399 * AssemblyName.cs: little fix in FullName.
1401 2002-12-07 Sebastien Pouliot <spouliot@videotron.ca>
1403 * AssemblyName.cs: Added missing methods/interfaces. Fixed some
1404 code to match the MS Framework.
1405 * StrongNameKeyPair.cs: Completed the "visible" implementation.
1406 There must be some internal methods to allow signing with the key.
1408 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1410 * EventInfo.cs: implemented (Add|Remove)EventHandler.
1412 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <lupus@ximian.com>
1414 * Assembly.cs: implemented GetManifestResourceStream (Type type,
1417 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1419 * Assembly.cs: changed name of GetType (string, bool, bool) to
1422 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1424 * TargetInvocationException.cs: modified default message.
1426 2002-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1429 * PropertyInfo.cs: fixed bug #31535.
1431 2002-09-27 Martin Baulig <martin@gnome.org>
1433 * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.
1435 2002-09-24 Martin Baulig <martin@gnome.org>
1437 * Assembly.cs (MonoDebugger_GetType): New method to get a Type
1438 from its metadata token. This should only be used by the debugger.
1440 2002-09-21 Martin Baulig <martin@gnome.org>
1442 * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
1443 get the type of a local variable from its signature. This should only
1444 be used by the debugger.
1446 2002-09-20 Martin Baulig <martin@gnome.org>
1448 * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
1449 from its metadata token. This should only be used by the debugger.
1451 Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1453 * Binder.cs: more default binder implementation.
1455 * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
1456 * MonoMethod.cs: use the binder in the Invoke () implementation.
1457 Implemented custom attributes methods and ToString for constructors.
1459 Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <lupus@ximian.com>
1461 * Binder.cs: finished the Binder class and implemented the default
1464 2002-09-03 Martin Baulig <martin@gnome.org>
1466 * Assembly.cs (Assembly.Location): Implemented.
1468 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1471 (GetValue): allow obj to be null (used for static fields).
1473 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1475 * MonoField.cs: GetValue renamed to GetValueInternal. Added check for
1478 Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
1480 * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen
1481 <tomi.pakarinen@welho.com>.
1483 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1485 * Assembly.cs: FullName now returns a proper string instead of
1486 something like 'file://...'.
1488 * AssemblyName.cs: added missing ToString method.
1490 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1492 * FieldInfo.cs: implemented SetValue.
1494 Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
1496 * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType.
1498 2002-08-14 Dick Porter <dick@ximian.com>
1500 * Assembly.cs: Stub out GetSatelliteAssembly
1502 2002-08-12 Tim Coleman <tim@timcoleman.com>
1504 Allow multiple parameters for GetValue ()
1506 Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
1508 * Assembly.cs: implemented GetFile() and GetFiles().
1510 Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
1512 * Assembly.cs: implemented EntryPoint and a few
1513 resource related methods.
1515 Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
1517 * MethodBase.cs: implemented GetCurrentMethod.
1518 * Assembly.cs: implemented GetExecutingAssembly and
1521 Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
1523 * MonoProperty.cs: handle properties with only a set method.
1525 2002-05-24 Martin Baulig <martin@gnome.org>
1527 * ParameterInfo.cs: Added internal constructor.
1529 Thu May 23 17:18:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
1531 * Assembly.cs: implemented CreateInstance ().
1533 2002-05-22 Martin Baulig <martin@gnome.org>
1535 * MethodBase.cs (get_next_table_index): Added `object obj' argument.
1537 Tue May 21 12:07:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
1539 * EventInfo.cs: more implementation.
1541 Mon May 20 17:37:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1543 * MonoEvent.cs: fill-in the implementation.
1545 Sat May 4 15:00:39 CEST 2002 Paolo Molaro <lupus@ximian.com>
1547 * Assembly.cs, AssemblyName.cs: updates and fixes.
1549 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
1551 * MonoProperty.cs (GetValue) : basic implementation to support nunit
1552 * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null
1554 Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
1556 * MonoMethod.c: cache the method name.
1558 2002-04-12 Duncan Mak <duncan@ximian.com>
1560 * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId
1563 * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign
1566 * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to
1569 * BindingFlags.cs: Added missing value "PutRefDispProperty".
1571 * FieldAttributes.cs: Removed value "HasSecurity".
1573 * ManifestResourceInfo.cs: Added missing properties FileName,
1574 ReferencedAssembly and ResourceLocation.
1576 * TargetInvocationException.cs: Added the missing constructors.
1578 Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1580 * MonoMethod.cs: make Name property an icall.
1582 2002-04-08 Nick Drochak <ndrochak@gol.com>
1584 * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
1585 struct and interface.
1587 Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro <lupus@ximian.com>
1589 * MonoEvent.cs: remove unused code.
1590 * MonoProperty: implement ToString().
1592 Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro <lupus@ximian.com>
1594 * Assembly.cs: implement GetTypes() and GetExportedTypes().
1596 Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
1598 * MonoEvent.cs: added the needed fields.
1600 2002-03-20 Martin Baulig <martin@gnome.org>
1602 * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.
1604 * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.
1606 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
1608 * MonoMethod.cs (Invoke): call InternalInvoke
1610 * MethodBase.cs (Invoke): call virtual invoke function
1612 Thu Mar 7 17:14:20 CET 2002 Paolo Molaro <lupus@ximian.com>
1614 * EventInfo.cs: add compiler needed methods.
1615 * MonoMethod.cs: make ToString() return the return type name, too.
1617 2002-03-07 Nick Drochak <ndrochak@gol.com>
1619 * BindingFlags.cs: Add missing enum values. Thanks CorCompare.
1621 Tue Mar 5 20:33:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1623 * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec.
1625 2002-02-26 Duncan Mak <duncan@ximian.com>
1627 * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>.
1629 2002-02-24 Nick Drochak <ndrochak@gol.com>
1631 * AssemblyNameFlags.cs: Use proper member name. Thanks corcompare!
1633 Fri Feb 22 18:54:13 CET 2002 Paolo Molaro <lupus@ximian.com>
1635 * MonoField.cs: implement GetValue as an internalcall.
1636 Implemented ToString().
1638 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
1640 * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
1641 MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
1644 Thu Feb 14 18:55:23 CET 2002 Paolo Molaro <lupus@ximian.com>
1646 * TypeAttributes.cs: update to latest spec.
1648 Mon Feb 11 19:50:27 CET 2002 Paolo Molaro <lupus@ximian.com>
1650 * Assembly.cs: handle throwOnError in GetType() call.
1652 2002-02-07 Duncan Mak <duncan@ximian.com>
1654 * AssemblyName.cs: Implemented ISerializable interface for the
1655 fields that we have.
1657 2002-02-05 Duncan Mak <duncan@ximian.com>
1660 * TargetException.cs: Added in CVS.
1662 2002-01-31 Duncan Mak <duncan@ximian.com>
1664 * ReflectionTypeLoadException.cs: Added missing bits.
1666 2002-01-23 Duncan Mak <duncan@ximian.com>
1668 * AssemblyAlgorithmIdAttribute.cs:
1669 * AssemblyCompanyAttribute.cs:
1670 * AssemblyConfigurationAttribute.cs:
1671 * AssemblyCopyrightAttribute.cs:
1672 * AssemblyCultureAttribute.cs:
1673 * AssemblyDefaultAliasAttribute.cs:
1674 * AssemblyDelaySignAttribute.cs:
1675 * AssemblyDescriptionAttribute.cs:
1676 * AssemblyFileVersionAttribute.cs:
1677 * AssemblyFlagsAttribute.cs:
1678 * AssemblyInformationalVersionAttribute.cs:
1679 * AssemblyKeyFileAttribute.cs:
1680 * AssemblyKeyNameAttribute.cs:
1681 * AssemblyNameProxy.cs:
1682 * AssemblyProductAttribute.cs:
1683 * AssemblyTitleAttribute.cs:
1684 * AssemblyTradeMarkAttribute.cs:
1685 * AssemblyVersionAttribute.cs:
1686 * CustomAttributeFormatException.cs:
1687 * InvalidFilterCriteriaException.cs:
1688 * TargetParameterCountException.cs: Added.
1690 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1692 * Assembly.cs (Assembly.CodeBase): Implement.
1693 (Assembly.FullName): simplistic and broken implementation. Gets
1694 us where we were yesterday.
1698 Tue Jan 22 22:54:18 CET 2002 Paolo Molaro <lupus@ximian.com>
1700 * IReflect.cs: corrected GetMember() return type.
1701 * InterfaceMapping.cs, TypeDelegator.cs: implemented.
1703 Wed Jan 9 19:37:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1705 * MonoMethod.cs: ToString () implementation.
1707 2002-01-04 Ravi Pratap <ravi@ximian.com>
1709 * Assembly.cs : Decorate missing bits with the MonoTODO
1712 * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
1713 ReflectionTypeLoadException.cs : Ditto.
1715 * FieldInfo.cs : Ditto.
1717 Thu Jan 3 23:25:34 CET 2002 Paolo Molaro <lupus@ximian.com>
1719 * Assembly.cs: trow unimplemented exceptions.
1721 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <lupus@ximian.com>
1723 * MonoMethod.cs: implemented GetParameters().
1724 * MonoProperty.cs: PropertyInfo implementation.
1725 * ParameterInfo.cs: implemented.
1726 * PropertyInfo.cs: fixes.
1728 Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <lupus@ximian.com>
1730 * FieldInfo.cs: implemented some Is* propeties.
1731 * MethodBase.cs: fixed attribute accessors.
1732 * MonoField.cs: runtime object to represent a field.
1733 * MonoMethod.cs: runtime object to represent a method.
1734 * AssemblyBuilder.cs: GetToken() methods to get tokens for
1735 strings, fields, methods...
1736 * ILGenerator.cs: handle tokens for methods.
1738 Mon Nov 19 13:56:55 CET 2001 Paolo Molaro <lupus@ximian.com>
1740 * MethodBase.cs: add internal get_next_table_index() for use in
1743 Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>
1745 * Assembly.cs: implement some of the Load() methods.
1746 * ConstructorInfo.cs: some missing stubs and fields.
1747 * FieldInfo.cs: IsInitOnly property.
1748 * ParameterInfo.cs: stubs for missing properties.
1749 * ParameterModifier.cs: implemented class.
1751 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
1753 * Assembly.cs: Filled in some stub implementations
1755 * ConstructorInfo.cs: Added some stub functions for NUnit
1757 Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <lupus@ximian.com>
1759 * AmbiguousMatchException.cs,
1760 * Assembly.cs, Module.cs: updates.
1761 * FieldInfo.cs: better compliance to the spec.
1762 * MethodBase.cs: move call_conv out of the way.
1763 * AssemblyBuilder.cs: don't use internalcalls, more stuff supported.
1764 * FieldBuilder.cs: implemented.
1765 * ILGenerator.cs: implemented some opcode handling.
1766 * Label.cs: add constructor.
1767 * LocalBuilder.cs: implemented.
1768 * MethodBuilder.cs: don't use internalcalls, more implemented stuff.
1769 * ModuleBuilder.cs: don't use internalcalls, more meat here, too.
1770 * ParameterBuilder.cs: implemented.
1771 * PropertyBuilder.cs: implemented.
1772 * TypeBuilder.cs: don't use internalcalls, more stuff working.
1774 Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
1776 * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added.
1778 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <lupus@ximian.com>
1780 * MethodBase.cs, MethodInfo.cs: added.
1782 Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
1784 * Assembly.cs: added stub code.
1786 2001-07-18 Michael Lambert <michaellambert@email.com>
1788 * BindingFlags.cs: Add.