2005-04-04 Sebastien Pouliot * AssemblyName.cs: Added a demand for SerializationFormatter on GetObjectData method. 2005-04-04 Sebastien Pouliot * AssemblyName.cs: Implemented EscapedCodeBase using the copy of System.Uri (System.dll) located in Mono.Security.Uri. Added missing null check in GetObjectData. * Module.cs: Added a FileIOPermission for PathDiscovery on FullyQualifiedName property (but not on Name property like MS). Added missing null check in GetObjectData. * StrongNameKeyPair.cs: Added demands for unmanaged code to all constructors (as we do not want partially trusted code to create strongnamed assemblies). 2005-03-30 Zoltan Varga * Binder.cs (check_type): Fix byref support. Fixes #73972. 2005-03-24 Sebastien Pouliot * MemberInfo.cs: Add an InheritanceDemand for Unrestricted on class. * Module.cs: Add a LinkDemand for SerializationFormatter on GetObjectData method. 2005-03-16 Sebastien Pouliot * Assembly.cs: Implemented EscapedCodeBase using the copy of System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663. 2005-03-11 Sebastien Pouliot * MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand (i.e. stack walk) when reflection is being used to invoke a method. 2005-02-24 Carlos Alberto Cortez * Assembly.cs: LoadFrom: Change signature to support reflection only methods; ReflectionOnlyLoad, ReflectionOnlyLoadFrom 2.0 methods implemented; InvalidOperationException's re-thrown by CreateInstance. Also ReflectionOnly 2.0 property added. * MonoMethod.cs: InvalidOperationException's are re-thrown when calling Invoke method on reflection only assemblies. 2005-02-22 Raja R Harinath * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than 'abstract' so that this class can be derived outside of corlib. 2005-02-16 Miguel de Icaza * MonoEvent.cs: Put new methods here. * EventInfo.cs: Move the methods GetCustomAttributes, and IsDefined from EventInfo to MonoEvent. Remove the methods that were not supposed to be exposed: Name, ReflectedType, DeclaringType. 2005-02-12 Chris Toshok * Assembly.cs: Correct the type of MonoDebugger_MakeArrayType. 2005-02-12 Ben Maurer * Binder.cs (SelectProperty): Use -1 as the dummy `I don't know how many types' value. 2005-02-11 Zoltan Varga * Assembly.cs: Fix warning. 2005-02-10 Martin Baulig * Module.cs (MonoDebugger_ResolveType): New internal method. * Assembly.cs (MonoDebugger_MakeArrayType): New internal method. (MonoDebugger_GetTypeToken): New internal method. 2005-02-10 Martin Baulig * Assembly.cs (MonoDebugger_GetMethodIndex): New internal method. 2005-02-10 Marek Safar * Assembly.cs, * ConstructorInfo.cs, * EventInfo.cs, * FieldInfo.cs, * MemberInfo.cs, * MethodBase.cs, * MethodInfo.cs, * PropertyInfo.cs: ClassInterfaceType is None. Thu Feb 3 15:22:55 CET 2005 Paolo Molaro * Module.cs: removed the finalizer and the now unused Close() icall. 2005-01-21 Sebastien Pouliot * Assembly.cs: Fixed add for ModuleResolve. 2005-01-19 Zoltan Varga * LocalVariableInfo.cs: Add ToString method. * ExceptionHandlingClause.cs: Implement this. 2005-01-18 Zoltan Varga * MethodBase.cs MonoMethod.cs: Hopefully fix the build. * MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody (). 2005-01-03 Martin Baulig * MonoGenericMethod.cs (MonoGenericMethod.get_reflected_type): Removed. (MonoGenericMethod.ReflectedType): Make this an icall. (MonoGenericCMethod.ReflectedType): Likewise. 2004-12-29 Martin Baulig * MonoGenericMethod.cs: New file. 2004-12-21 Sebastien Pouliot * Assembly.cs: Added private LoadAssemblyPermissions to get the declarative security permission sets (minimum, optional and refused) for the assembly. 2004-12-20 Sebastien Pouliot * Assembly.cs: Removed old Demand support (moved in System.Security). 2004-12-16 Zoltan Varga * CustomAttributeData.cs MethodBody.cs: Reenable some 2.0 code now that the gmcs bugs blocking them are fixed. 2004-12-08 Zoltan Varga * Assembly.cs: Move corlib_internal field to AssemblyBuilder. 2004-12-06 Zoltan Varga * Assembly.cs: Add corlib_internal field. 2004-11-30 Martin Baulig * MonoGenericInst.cs: Renamed to MonoGenericClass.cs and also renamed the class from `MonoGenericInst' to `MonoGenericClass'. 2004-11-05 Zoltan Varga * AssemblyName.cs (FullName): Omit default values from full name. * Assembly.cs: Implement GetFiles (bool). * Binder.cs: Add support for byref types. Fixes #69140. 2004-10-12 Martin Baulig * MonoGenericInst.cs (MonoGenericInst): Call initialize() just before calling the *_internal() methods. 2004-10-12 Zoltan Varga * MethodBody.cs: Implement this. 2004-10-08 Zoltan Varga * Module.cs: Handle the case when the global type does not exists. 2004-10-03 Zoltan Varga * LocalVariableInfo.cs: Reorganize fields so LocalBuilder can inherit from this class. 2004-09-28 Zoltan Varga * PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO]. * PropertyInfo.cs: Add stub for GetConstantValue (). * ParameterInfo.cs (marshalAs): Make this private. * Module.cs (ModuleHandle): Add [CLSCompliant(false)]. * LocalVariableInfo.cs MethodBody.cs: Disable default constructor. * ExceptionHandlingClause.cs: Disable default constructor. 2004-09-27 Zoltan Varga * CustomAttributeData.cs CustomAttributeTypedArgument.cs CustomAttributeNamedArgument.cs: New files. * MethodBody.cs LocalVariableInfo.cs ExceptionHandlingClause.cs ExceptionHandlingClauseFlags.cs: New files. 2004-09-26 Zoltan Varga * FieldInfo.cs: Add support for returning MarshalAsAttribute. * ParameterInfo.cs: Add marshalAs field, add support for returning MarshalAsAttribute. 2004-09-25 Zoltan Varga * Module.cs: Add new 2.0 GetMethods and GetFields methods. * ParameterInfo.cs: Add GetPseudoCustomAttributes () method. 2004-09-24 Zoltan Varga * MonoField.cs: Add GetFieldOffset. * ObfuscationAttribute.cs: Add ApplyToMembers. * Assembly.cs: Add stub for ReflectionOnlyLoadFrom. * Assembly.cs (LoadWithPartialName): Add [ComVisible] attribute. * MonoMethod.cs FieldInfo.cs: Add GetPseudoCustomAttributes () method. * AssemblyNameFlags.cs: Add LongevityUnspecified. 2004-09-23 Zoltan Varga * Module.cs: Remove [MonoTODO] from ResolveMember. * MemberInfo.cs: Add 'Module' property. * AssemblyFlagsAttribute.cs: Add 2.0 stuff. * Assembly.cs: Add stubs for ReflectionOnlyLoad methods. Add [Obsolete] to LoadWithPartialName on 2.0. * AssemblyNameFlags.cs: Add new 2.0 members. * FieldInfo.cs MonoField.cs PropertyInfo.cs ParameterInfo.cs MonoProperty.cs: Add stubs for Optinal/RequiredCustomModifiers. * ObfuscationAttribute.cs ObfuscateAssemblyAttribute.cs: New files. * EventInfo.cs: Fix 2.0 build. * MonoEvent.cs (MonoEventInfo): Add 'other_methods' field. * EventInfo.cs MonoEvent.cs: Add NET 2.0 GetOtherMethods method. 2004-09-22 Zoltan Varga * Module.cs: Implement net 2.0 ResolveXXX methods. * Module.cs (resolve_token_exception): Fix type of exception thrown. 2004-09-21 Martin Baulig * Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method. 2004-09-20 Zoltan Varga * Assembly.cs: Implement 2.0 reflection properties. * Module.cs: Implement 2.0 reflection properties. Add 'token' field. 2004-09-19 Zoltan Varga * PortableExecutableKind.cs ImageFileMachine.cs: Make this internal under 1.0. * MemberInfo.cs ParameterInfo.cs: Add MetadataToken property. * Module.cs: Add ModuleHandle property and new icalls. 2004-09-18 Zoltan Varga * Module.cs: Add net 2.0 Mvid property. 2004-08-30 Sebastien Pouliot * Assembly.cs: Added internal Demand(PermissionSet) for CAS. 2004-08-30 Zoltan Varga * MethodBase.cs (GetMethodFromHandle): Avoid passing a valuetype to icalls. 2004-08-29 Zoltan Varga * MethodBase.cs (GetMethodFromHandle): Implement. 2004-08-13 Marek Safar * Assembly.cs: Made _minimum, _optional, _refuse fields internal. To be reusable by AssemblyBuilder. 2004-08-09 Sebastien Pouliot * Assembly.cs: Fixed some exceptions in NET_1_1 and added some 2.0 properties (required for compiling the new unit tests). * PortableExecutableKind.cs: New. Flags for NET_2_0. * ImageFileMachine.cs: New. (Rather limited) enum for NET_2_0. 2004-08-08 Sebastien Pouliot * Assembly.cs: Get default evidences when no evidences have been supplied. Added internal methods for CAS. * AssemblyName.cs: New constructor for NET_2_0. 2004-08-05 Sebastien Pouliot * Assembly.cs: Added new fields for CAS to match the runtime (v23). 2004-07-29 Martin Baulig * Module.cs (Mono_GetGuid): Make this static. Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro * Module.cs: return just name in ToString (bug #61287). 2004-07-03 Zoltan Varga * Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048. 2004-06-17 Gert Driesen * Pointer.cs: remove serializable attribute to match MS.NET 2004-06-17 Gert Driesen * ParameterModifier.cs: marked serializable, renamed field to match MS.NET, throw ArgumentException when parameter count is less than or equal to zero 2004-06-15 Gert Driesen * AssemblyName.cs: added TODO for serialization * Pointer.cs: fixed Box method to return object instead of Pointer 2004-06-15 Sebastien Pouliot * MemberInfo.cs: Changed constructor from internal to protected. 2004-06-11 Martin Baulig * FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0. 2004-06-11 Lluis Sanchez * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match MS implementation. Generate the RSA in the constructors. 2004-06-10 Lluis Sanchez * AssemblyName.cs: Added missing fields to serialization methods. * StrongNameKeyPair.cs: Made it compatible with MS serialization. 2004-06-08 Jacson Harper * AssemblyName.cs (GetAssemblyName): Send a fullpath to the runtime. This way the codebase is set properly. The codebase is using g_filename_to_uri which expects a full path. 2004-06-05 Gonzalo Paniagua Javier * Binder.cs: don't crash when we have a 'null' argument Type array. Allow it for non-value types. Fixed for both, methods and properties. Closes bug #58846. 2004-06-02 Gonzalo Paniagua Javier * Binder.cs: default score must be lower than fail_score or we'll get an ambiguous match when no indexers given and one single match is found. 2004-06-02 Gonzalo Paniagua Javier * Binder.cs: removed ^Ms. In case of several properties matching, try to disambiguate based on the indexer types provider and the conversions from those into the ones of the property. 2004-05-31 Gert Driesen * Assembly.cs: added missing ComVisible attribute on ImageRuntimeVersion property * ConstructorInfo.cs: added missing attributes on Invoke * EventInfo.cs: added missing attributes * FieldInfo.cs: added missing attributes * MethodBase.cs: added missing attributes * PropertyInfo.cs: added missing attributes 2004-05-22 Cesar Lopez Nataren * FieldInfo.cs: changed default constructor from internal to protected, so classes that inherit from it can get build. 2004-05-18 Gert Driesen (drieseng@users.sourceforge.net) * MonoProperty.cs: return correct MethodInfo for property with only a get or set method. Fixes bug #58661. 2004-05-18 Sebastien Pouliot * Assembly.cs: Return an empty Evidence collection to avoid NullReferenceException from calling code (as this is never null with MS implementation). See bugzilla #53548. 2004-05-14 Zoltan Varga * Assembly.cs: Add stub for LoadFrom. * Assembly.cs: Fix build. 2004-05-13 Zoltan Varga * Assembly.cs: Add ModuleResolve event. * Module.cs (Mono_GetGuid): Make this internal. * FieldInfo.cs: Add stubs for {Get,Set}ValueDirect. 2004-05-13 Gonzalo Paniagua Javier * Binder.cs: check for ambiguous matches in SelectMethod and SelectProperty. Fixes bug #58381. 2004-05-06 Jackson Harper * Assembly.cs: remove TODO, this is done. 2004-05-06 Gonzalo Paniagua Javier * Assembly.cs: ToString () returns the same as GetName ().ToString (). Fixes bug #58104. 2004-05-03 Jackson Harper * Assembly.cs: Implement LoadWithPartialName. The bulk of this method is done in the runtime. 2004-04-29 Lluis Sanchez Gual * MonoProperty.cs: Property.GetGetMethod() does not return the method if it is private (it did until now because of a bug). Make sure it works as it worked before the fix. 2004-04-27 Lluis Sanchez Gual * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs: Removed completed TODOs. * MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(), do not return private methods if nonPublic == false. * ReflectionTypeLoadException.cs: Implemented serialization support. 2004-04-26 Jackson Harper * Assembly.cs: Add icall to determine if an assembly has been loaded from the GAC. 2004-04-23 Atsushi Enomoto * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs : The fix should be easier ;) 2004-04-23 Atsushi Enomoto * MethodBase.cs, MonoMethod.cs, TypeDelegator.cs : NET_2_0 related build fix. 2004-04-19 Lluis Sanchez Gual * Assembly.cs: Removed TODO for CreateQualifiedName. * AssemblyName.cs: Fixed serialization code. * AssemblyNameProxy.cs: Implemented. * Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData. 2004-04-07 Martin Baulig * MonoGenericInst.cs (MonoGenericParam): Removed. 2004-04-07 Martin Baulig * MethodBase.cs (MethodBase.GetGenericParameters): Renamed to GetGenericArguments(). * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed. (MonoGenericInst.GetNestedTypes): Just call `generic_type.GetNestedTypes (bf)' here. * MonoMethod.cs (MonoMethod.ToString): If we're a generic method, include the type arguments. 2004-04-06 Sebastien Pouliot * StrongNameKeyPair.cs: Added support for ECMA "key". Now returns a correct StrongName instance when the ECMA "key" is used. 2004-04-02 Martin Baulig * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override. 2004-04-01 Martin Baulig * MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override this and always return false. 2004-04-01 Martin Baulig * MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this. 2004-03-30 Martin Baulig * MonoGenericInst.cs (MonoGenericParam): Added `bool has_ctor_constraint' field. (MonoGenericParam.SetConstraints): Added `bool has_ctor_constraint' argument. 2004-03-29 Martin Baulig * MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public virtual property. (MethodBase.HasGenericParameters): Use the "official" behavior here, ie. return false if we're not a generic method. 2004-03-29 Martin Baulig * MethodBase.cs: Moved the generics stuff here, made it virtual where neccessary and use the correct API. 2004-03-24 Sebastien Pouliot * StrongNameKeyPair.cs: Added an internal method to return a StrongName object (for AssemblyBuilder). Simplified implementation using Mono.Security.Cryptography.CryptoConvert class. 2004-03-24 Zoltan Varga * AssemblyFileVersionAttribute.cs (.ctor): Add argument checking. 2004-03-23 Martin Baulig * MonoGenericInst.cs: Added support for events. 2004-03-23 Martin Baulig * MonoMethod.cs (MonoMethod.ToString): Don't include the namespace if it's the empty string. 2004-03-10 Martin Baulig * MethodBase.cs (MethodBase): Implemented GetGenericMethodDefinition() and HasGenericParameters. 2004-03-09 Martin Baulig * MonoEvent.cs (MonoEventInfo): Replaced `parent' with `declaring_type' and `reflected_type'. (MonoEvent): Distinguish between declaring and reflected type. 2004-02-25 Martin Baulig * MonoGenericInst.cs (MonoGenericInst.GetNestedTypes): Override this. 2004-02-24 Gonzalo Paniagua Javier * Binder.cs: (SelectProperty): check the return Type if provided. 2004-02-17 Martin Baulig * MonoGenericInst.cs (MonoGenericInst.GetProperties): Added support for properties. 2004-02-17 Martin Baulig * MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the class hierarchy and return members from the parent classes. (GetConstructors, GetFields): Likewise. 2004-02-17 Martin Baulig * MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate all the members here; we only do this for members of the current class and only when they're actually queried for. 2004-02-12 Martin Baulig * MonoGenericInst.cs (MonoInflatedField): Removed. * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed. 2004-02-08 Martin Baulig * MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive invocations the `reflected' type as `reflected', not `this'. (MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes. 2004-02-08 Martin Baulig * MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall. (MonoGenericInst.GetInterfaces_internal): New interncall. (MonoGenericInst): Reflect latest API changes; use GetParentType() and GetInterfaces_internal() instead of the fields. 2004-02-06 Martin Baulig * MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this. 2004-02-03 Martin Baulig * MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this. 2004-01-25 Martin Baulig * MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly. 2004-01-19 Zoltan Varga * Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep a reference on the Module object which contains the resource. * Module.cs: Decrease the image reference count when the Module is garbage collected. 2004-01-16 Martin Baulig * Assembly.cs: Make the `MonoDebugger_' methods static. 2004-01-16 Gonzalo Paniagua Javier * MonoProperty.cs: changed get_property_info so that it only gets the values needed. Reduces the allocations needed. 2004-01-15 Martin Baulig * Assembly.cs: Make the `MonoDebugger_' methods internal. 2004-01-04 Nick Drochak * Assembly.cs: Removed unused variable in catch block.Eliminates a build warning. 2003-12-29 Ben Maurer * MethodBase.cs: Internal method to get param count (this way we can get the info for the ilgen without creating an array, if we override the method). 2003-12-18 Zoltan Varga * Assembly.cs: Implement LoadFrom. 2003-12-17 Zoltan Varga * Assembly.cs: Add stubs for LoadFile. 2003-12-16 Zoltan Varga * Assembly.cs (GetManifestResourceStream): Only load non-embedded resources from files. 2003-12-15 Zoltan Varga * MonoField.cs (SetValue): Throw an exception if the value cannot be converted to the field's type. Fixes #52177. 2003-12-11 Lluis Sanchez Gual * AmbiguousMatchException.cs: Added serialization constructor. 2003-12-08 Martin Baulig * MonoGenericInst.cs (MonoGenericParam): New internal class; derives from MonoType. 2003-12-08 Patrik Torstensson * Binder.cs: Added internal helpers to get derived level and select the most derived methodbase (used in GetMethodImpl) 2003-11-25 Zoltan Varga * Assembly.cs (LoadWithPartialName): Return null instead of throwing an exception to match MS behavior. 2003-11-24 Zoltan Varga * MonoMethod.cs: Add missing constructor. 2003-11-21 Zoltan Varga * MethodBase.cs (Invoke): Make this virtual under NET 1.2. 2003-11-16 Martin Baulig * MonoGenericInst.cs (MonoGenericInst.inflate): Call `parent.inflate (parent,...)' instead of `parent.inflate (reflected,...)'. 2003-11-16 Zoltan Varga * Assembly.cs (InternalGetAssemblyName): New icall. * AssemblyName.cs (GetAssemblyName): Implement this without loading the assembly in question. Fixes #51035. 2003-11-14 Martin Baulig * MonoGenericInst.cs (MonoGenericInst): Added `MonoGenericInst[] interfaces' field. This is only used for interface types. (MonoGenericInst.inflate): If we're an interface type, add the methods from all interfaces we inherit. 2003-11-14 Zoltan Varga * AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values from NET 1.1. * *.cs: Add missing attributes. 2003-11-11 Todd Berman * AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken. 2003-11-11 Zoltan Varga * MonoMethod.cs: Implement CallingConvention member. 2003-11-10 Zoltan Varga * Assembly.cs (InternalGetType): Add a 'module' argument so this method can be used from Module as well. * Module.cs (GetType): Implement. * Module.cs (GetTypes): Implement. * Module.cs: Remove some [MonoTODO] attributes from implemented methods. 2003-11-08 Martin Baulig * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added a private `IntPtr ginst' field. (MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces. 2003-11-02 Martin Baulig * MonoGenericInst.cs (MonoGenericInst.initialize): Include members from our parent classes in the `methods', `ctors' and `fields' arrays. When inflating them, reflection now sets their `declaring_type' and `reflected_type' fields. (MonoInflatedMethod, MonoInflatedCtor): Added `MonoGenericInst declaring_type' and `MonoGenericInst reflected_type' fields and override the `DeclaringType' and `ReflectedType' properties. 2003-11-02 Martin Baulig * MonoGenericInst.cs (MonoGenericInst.IsValueTypeImpl): Override this. 2003-10-31 Martin Baulig * MonoGenericInst.cs (MonoInflatedField): New internal class. (MonoGenericInst.GetFields): Override this method and inflate the fields. * MonoField.cs: Don't make this class sealed. 2003-10-30 Martin Baulig * MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New internal classes. 2003-10-25 Martin Baulig * MonoGenericInst.cs: New internal class. 2003-10-18 Martin Baulig * MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method abstract; use an interncall in MonoMethod and a custom implementation in MethodBuilder. 2003-10-17 Pedro Martínez Juliá * MonoEvent.cs: implement ToString method as in MS.NET. * MonoMethod.cs: fix some differences between mono and MS.NET implementation of ToString. 2003-10-17 Zoltan Varga * AssemblyName.cs: Fix Version property when some version fields are undefined. 2003-10-17 Martin Baulig * MethodInfo.cs (MethodInfo.GetGenericArguments): New method. (MethodInfo.BindGenericParameters): New method. 2003-10-16 Martin Baulig * MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New property. 2003-08-08 Lluis Sanchez Gual * ParameterInfo.cs: Modified constructor of ParameterInfo for the return type of a method. Since parameter positions are zero-based, the position of the return type must be is -1. 2003-08-06 Andreas Nahr * TargetInvocationException.cs: Fixed signature 2003-07-24 Miguel de Icaza * TypeDelegator.cs: Added generics stubs. 2003-07-21 Lluis Sanchez Gual * ParameterInfo.cs: Position is zero-based in ParameterInfo. Set the right position value when getting from ParameterBuilder. Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro * FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use finer-grained icalls. Requires a matching runtime. 2003-07-11 Zoltan Varga * AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1. * AssemblyFlagsAttribute.cs: Added new property from NET 1.1. 2003-07-10 Zoltan Varga * Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1. Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro * Pointer.cs: implemented. 2003-06-15 Zoltan Varga * EventInfo.cs: Implement IsSpecialName. 2003-06-10 Zoltan Varga * Module.cs (Mono_GetGuid): New method to return the GUID of the module. 2003-05-21 Zoltan Varga * Module.cs: Implement GetField and its friends. 2003-05-20 Zoltan Varga * Assembly.cs (GetManifestResourceStream): Moved handling of linked resources into managed code using the newly implemented GetManifestResourceInfo () method. 2003-05-19 Zoltan Varga * Module.cs: Implemented IsResource. * Assembly.cs: Implemented GetManifestResourceInfo, GetModules, GetModule, GetLoadedModules methods. * Assembly.cs (GetManifestResourceStream): Added support for resources in extern assemblies. 2003-05-13 Gonzalo Paniagua Javier * Assembly.cs: fixed bug #42833. 2003-05-11 Miguel de Icaza * Binder.cs (ChangeType): Very simplistic change. Am not sure if it is correct, but it makes RemotingCorba move along a bit more (Remoting.Corba invokes Binder.ConvertArgs, which calls Binder.ChangeType with an Attribute [] to Object []). 2003-05-10 Gonzalo Paniagua Javier * Binder.cs: (check_type): fixed bug #41655. 2003-05-04 Gonzalo Paniagua Javier * Assembly.cs: implemented GetSatelliteAssembly. Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro * Assembly.cs: added GetNamespaces() icall. 2003-03-17 Zoltan Varga * FieldInfo.cs (GetFieldFromHandle): Implemented. 2003-03-01 Gonzalo Paniagua Javier * Assembly.cs: added missing stuff. Only ModuleResolve event is left out to avoid changing MonoReflectionAssembly by now. * ModuleResolveEventHandler.cs: delegate. 2003-02-19 Gonzalo Paniagua Javier * TargetInvocationException.cs: added serialization ctor. 2003-02-18 Martin Baulig * Assembly.cs (MonoDebugger_GetMethodToken): New method to get a method's metadata token. 2003-02-04 Sebastien Pouliot * Module.cs: Corrected indentation for class. 2003-02-04 Gonzalo Paniagua Javier * Binder.cs: (check_type): return true when the target type is object and the source is a value type. 2003-02-03 Patrik Torstensson * Binder.cs: minimize locking time in DefaultBinder. 2003-02-01 Sebastien Pouliot * Module.cs: Oups - not implemented. Added MonoTODO to most methods so it's real status get reflected correctly on the web site. 2003-01-30 Gonzalo Paniagua Javier * MonoMethod.cs: implemented GetBaseDefinition (). 2003-01-28 Patrik Torstensson * MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod * ReflectionSerializationHolder.cs: Support class for serialization 2003-01-17 Zoltan Varga * ParameterInfo.cs: modified constructor so it allows the ParameterBuilder to be null and add a 'position' argument which will be used when pb is null. 2003-01-16 Lluis Sanchez Gual * Assembly.cs: added serialization support. Sat Jan 4 18:26:41 CET 2003 Paolo Molaro * MonoMethod.cs: propagate exceptions from the internal invoke code that need to be propagated. Sat Jan 4 18:04:07 CET 2003 Paolo Molaro * Binder.cs: throw an exception if the number of arguments when invoking a method is incorrect. Thu Jan 2 19:04:58 CET 2003 Paolo Molaro * Binder.cs: In SelectMethod() look for an exact match first. 2003-01-01 Rachel Hestilow * MonoField.cs (SetValue): Fix logic typo. Check that obj is non-null only for the non-static case. 2002-12-30 Sebastien Pouliot * AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by Zoltan). 2002-12-23 Sebastien Pouliot * AssemblyName.cs: GetPublicKey now return an empty array (not null) when an assembly isn't signed with a StrongName (to match MS implementation) and null when no assembly is referenced. Also removed commented code (no bug reported so it was probably not used). Thu Dec 19 16:43:19 CET 2002 Paolo Molaro * MonoMethod.cs, ParameterInfo.cs: return a custom attribute provider for the return type of a method. 2002-12-08 Gonzalo Paniagua Javier * AssemblyName.cs: little fix in FullName. 2002-12-07 Sebastien Pouliot * AssemblyName.cs: Added missing methods/interfaces. Fixed some code to match the MS Framework. * StrongNameKeyPair.cs: Completed the "visible" implementation. There must be some internal methods to allow signing with the key. 2002-12-02 Gonzalo Paniagua Javier * EventInfo.cs: implemented (Add|Remove)EventHandler. Mon Nov 18 17:52:56 CET 2002 Paolo Molaro * Assembly.cs: implemented GetManifestResourceStream (Type type, * String name). 2002-11-03 Gonzalo Paniagua Javier * Assembly.cs: changed name of GetType (string, bool, bool) to InternalGetType. 2002-10-29 Gonzalo Paniagua Javier * TargetInvocationException.cs: modified default message. 2002-10-01 Gonzalo Paniagua Javier * MonoProperty.cs: * PropertyInfo.cs: fixed bug #31535. 2002-09-27 Martin Baulig * Assembly.cs (Assembly.GetReferencedAssemblies): Implemented. 2002-09-24 Martin Baulig * Assembly.cs (MonoDebugger_GetType): New method to get a Type from its metadata token. This should only be used by the debugger. 2002-09-21 Martin Baulig * Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to get the type of a local variable from its signature. This should only be used by the debugger. 2002-09-20 Martin Baulig * Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase from its metadata token. This should only be used by the debugger. Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro * Binder.cs: more default binder implementation. * FieldInfo.cs, MonoField.cs: fixed SetValue () implementation. * MonoMethod.cs: use the binder in the Invoke () implementation. Implemented custom attributes methods and ToString for constructors. Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro * Binder.cs: finished the Binder class and implemented the default binder. 2002-09-03 Martin Baulig * Assembly.cs (Assembly.Location): Implemented. 2002-08-29 Gonzalo Paniagua Javier * MonoField.cs: (GetValue): allow obj to be null (used for static fields). 2002-08-22 Gonzalo Paniagua Javier * MonoField.cs: GetValue renamed to GetValueInternal. Added check for null. Wed Aug 21 13:03:25 CEST 2002 Paolo Molaro * Assembly.cs: GetEntryAssembly patch by Tomi Pakarinen . 2002-08-20 Gonzalo Paniagua Javier * Assembly.cs: FullName now returns a proper string instead of something like 'file://...'. * AssemblyName.cs: added missing ToString method. 2002-08-19 Gonzalo Paniagua Javier * FieldInfo.cs: implemented SetValue. Wed Aug 14 17:37:30 CEST 2002 Paolo Molaro * MonoEvent.cs, MonoMethod.cs: implemented ReflectedType. 2002-08-14 Dick Porter * Assembly.cs: Stub out GetSatelliteAssembly 2002-08-12 Tim Coleman * MonoProperty.cs: Allow multiple parameters for GetValue () Thu Aug 8 13:05:44 CEST 2002 Paolo Molaro * Assembly.cs: implemented GetFile() and GetFiles(). Mon Aug 5 21:19:41 CEST 2002 Paolo Molaro * Assembly.cs: implemented EntryPoint and a few resource related methods. Wed Jul 24 13:08:56 CEST 2002 Paolo Molaro * MethodBase.cs: implemented GetCurrentMethod. * Assembly.cs: implemented GetExecutingAssembly and GetCallingassembly. Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro * MonoProperty.cs: handle properties with only a set method. 2002-05-24 Martin Baulig * ParameterInfo.cs: Added internal constructor. Thu May 23 17:18:46 CEST 2002 Paolo Molaro * Assembly.cs: implemented CreateInstance (). 2002-05-22 Martin Baulig * MethodBase.cs (get_next_table_index): Added `object obj' argument. Tue May 21 12:07:40 CEST 2002 Paolo Molaro * EventInfo.cs: more implementation. Mon May 20 17:37:39 CEST 2002 Paolo Molaro * MonoEvent.cs: fill-in the implementation. Sat May 4 15:00:39 CEST 2002 Paolo Molaro * Assembly.cs, AssemblyName.cs: updates and fixes. 2002-04-24 Patrik Torstensson * MonoProperty.cs (GetValue) : basic implementation to support nunit * PropertyInfo.cs (GetValue) : call MonoProperty::GetValue instead of returning null Thu Apr 18 16:40:54 CEST 2002 Paolo Molaro * MonoMethod.c: cache the method name. 2002-04-12 Duncan Mak * AssemblyAlgorithmIdAttribute.cs: Fixed typo in AlgorithmId property. * AssemblyDelaySignAttribute.cs: Fixed type in DelaySign attribute. * AssemblyFileVersionAttribute.cs: Renamed FileVersion property to Version. * BindingFlags.cs: Added missing value "PutRefDispProperty". * FieldAttributes.cs: Removed value "HasSecurity". * ManifestResourceInfo.cs: Added missing properties FileName, ReferencedAssembly and ResourceLocation. * TargetInvocationException.cs: Added the missing constructors. Fri Apr 12 18:32:34 CEST 2002 Paolo Molaro * MonoMethod.cs: make Name property an icall. 2002-04-08 Nick Drochak * DefaultMemberAttribute.cs: Add AttributeUsage attribute for class, struct and interface. Fri Apr 5 15:40:24 CEST 2002 Paolo Molaro * MonoEvent.cs: remove unused code. * MonoProperty: implement ToString(). Wed Apr 3 17:59:26 CEST 2002 Paolo Molaro * Assembly.cs: implement GetTypes() and GetExportedTypes(). Mon Mar 25 18:54:58 CET 2002 Paolo Molaro * MonoEvent.cs: added the needed fields. 2002-03-20 Martin Baulig * ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke. * MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke. 2002-03-14 Dietmar Maurer * MonoMethod.cs (Invoke): call InternalInvoke * MethodBase.cs (Invoke): call virtual invoke function Thu Mar 7 17:14:20 CET 2002 Paolo Molaro * EventInfo.cs: add compiler needed methods. * MonoMethod.cs: make ToString() return the return type name, too. 2002-03-07 Nick Drochak * BindingFlags.cs: Add missing enum values. Thanks CorCompare. Tue Mar 5 20:33:14 CET 2002 Paolo Molaro * TypeAttributes.cs, MethodImplAttributes.cs: updates to latest spec. 2002-02-26 Duncan Mak * StrongNameKeyPair.cs: Committed for Kevin Winchester (kwin@ns.sympatico.ca>. 2002-02-24 Nick Drochak * AssemblyNameFlags.cs: Use proper member name. Thanks corcompare! Fri Feb 22 18:54:13 CET 2002 Paolo Molaro * MonoField.cs: implement GetValue as an internalcall. Implemented ToString(). Tue Feb 19 20:36:04 CET 2002 Paolo Molaro * Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes related methods. Thu Feb 14 18:55:23 CET 2002 Paolo Molaro * TypeAttributes.cs: update to latest spec. Mon Feb 11 19:50:27 CET 2002 Paolo Molaro * Assembly.cs: handle throwOnError in GetType() call. 2002-02-07 Duncan Mak * AssemblyName.cs: Implemented ISerializable interface for the fields that we have. 2002-02-05 Duncan Mak * Missing.cs: * TargetException.cs: Added in CVS. 2002-01-31 Duncan Mak * ReflectionTypeLoadException.cs: Added missing bits. 2002-01-23 Duncan Mak * AssemblyAlgorithmIdAttribute.cs: * AssemblyCompanyAttribute.cs: * AssemblyConfigurationAttribute.cs: * AssemblyCopyrightAttribute.cs: * AssemblyCultureAttribute.cs: * AssemblyDefaultAliasAttribute.cs: * AssemblyDelaySignAttribute.cs: * AssemblyDescriptionAttribute.cs: * AssemblyFileVersionAttribute.cs: * AssemblyFlagsAttribute.cs: * AssemblyInformationalVersionAttribute.cs: * AssemblyKeyFileAttribute.cs: * AssemblyKeyNameAttribute.cs: * AssemblyNameProxy.cs: * AssemblyProductAttribute.cs: * AssemblyTitleAttribute.cs: * AssemblyTradeMarkAttribute.cs: * AssemblyVersionAttribute.cs: * CustomAttributeFormatException.cs: * InvalidFilterCriteriaException.cs: * TargetParameterCountException.cs: Added. 2002-01-23 Miguel de Icaza * Assembly.cs (Assembly.CodeBase): Implement. (Assembly.FullName): simplistic and broken implementation. Gets us where we were yesterday. Code style fix. Tue Jan 22 22:54:18 CET 2002 Paolo Molaro * IReflect.cs: corrected GetMember() return type. * InterfaceMapping.cs, TypeDelegator.cs: implemented. Wed Jan 9 19:37:14 CET 2002 Paolo Molaro * MonoMethod.cs: ToString () implementation. 2002-01-04 Ravi Pratap * Assembly.cs : Decorate missing bits with the MonoTODO attribute. * ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs, ReflectionTypeLoadException.cs : Ditto. * FieldInfo.cs : Ditto. Thu Jan 3 23:25:34 CET 2002 Paolo Molaro * Assembly.cs: trow unimplemented exceptions. Tue Dec 18 18:46:22 CET 2001 Paolo Molaro * MonoMethod.cs: implemented GetParameters(). * MonoProperty.cs: PropertyInfo implementation. * ParameterInfo.cs: implemented. * PropertyInfo.cs: fixes. Thu Dec 13 20:18:05 CET 2001 Paolo Molaro * FieldInfo.cs: implemented some Is* propeties. * MethodBase.cs: fixed attribute accessors. * MonoField.cs: runtime object to represent a field. * MonoMethod.cs: runtime object to represent a method. * AssemblyBuilder.cs: GetToken() methods to get tokens for strings, fields, methods... * ILGenerator.cs: handle tokens for methods. Mon Nov 19 13:56:55 CET 2001 Paolo Molaro * MethodBase.cs: add internal get_next_table_index() for use in Reflection.Emit. Wed Nov 14 16:53:28 CET 2001 Paolo Molaro * Assembly.cs: implement some of the Load() methods. * ConstructorInfo.cs: some missing stubs and fields. * FieldInfo.cs: IsInitOnly property. * ParameterInfo.cs: stubs for missing properties. * ParameterModifier.cs: implemented class. 2001-11-10 Sean MacIsaac * Assembly.cs: Filled in some stub implementations * ConstructorInfo.cs: Added some stub functions for NUnit Fri Nov 2 18:29:36 CET 2001 Paolo Molaro * AmbiguousMatchException.cs, * Assembly.cs, Module.cs: updates. * FieldInfo.cs: better compliance to the spec. * MethodBase.cs: move call_conv out of the way. * AssemblyBuilder.cs: don't use internalcalls, more stuff supported. * FieldBuilder.cs: implemented. * ILGenerator.cs: implemented some opcode handling. * Label.cs: add constructor. * LocalBuilder.cs: implemented. * MethodBuilder.cs: don't use internalcalls, more implemented stuff. * ModuleBuilder.cs: don't use internalcalls, more meat here, too. * ParameterBuilder.cs: implemented. * PropertyBuilder.cs: implemented. * TypeBuilder.cs: don't use internalcalls, more stuff working. Tue Sep 25 16:48:50 CEST 2001 Paolo Molaro * ConstructorInfo.cs, MemberFilter.cs, Module.cs: added. Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro * MethodBase.cs, MethodInfo.cs: added. Thu Sep 13 18:05:16 CEST 2001 Paolo Molaro * Assembly.cs: added stub code. 2001-07-18 Michael Lambert * BindingFlags.cs: Add.