Commit Graph
27 Commits
Author SHA1 Message Date
Atsushi Eno 5fe6a5b42d 2007-07-04 Atsushi Enomoto <[email protected]>
* Type.cs : 2.0 TypeHandle and ContainsGenericParameters are virtual
	  (required fix for 2.0 reflection API fixes).

	* CustomAttributeNamedArgument.cs CustomAttributeTypedArgument.cs
	  CustomAttributeData.cs : implemented Equals() and GetHashCode().
	* Missing.cs : ISerializable.
	* AssemblyName.cs : ReferenceMatchesDefinition() stub.
	* Module.cs : missing method stubs with generic type/method args.
	* ExceptionHandlingClause.cs : ToString() stub.
	* MethodBase.cs TypeDelegator.cs ModuleResolveEventHandler.cs
	  TypeFilter.cs MemberFilter.cs
	  FieldInfo.cs ParameterInfo.cs MethodInfo.cs DynamicMethod.cs :
	  miscellaneous cosmetic API fixes.


svn path=/trunk/mcs/; revision=81311
2007-07-04 02:19:18 +00:00
Paolo Molaro ce39fd6eb6 Thu Dec 14 12:52:27 CET 2006 Paolo Molaro <[email protected]>
* MonoProperty.cs, ParameterInfo.cs, PropertyInfo.cs:
	GetRequiredCustomModifiers()/GetOptionalCustomModifiers()
	implementations.


svn path=/trunk/mcs/; revision=69474
2006-12-14 11:53:12 +00:00
Miguel de Icaza e4000f01f4 Rationalize MonoTODO
svn path=/trunk/mcs/; revision=68713
2006-11-30 00:30:30 +00:00
Kornél Pál 63266e4a06 FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a NotSupportedException is the proper implementation.; ParameterInfo.cs: Use Attributes in Is... properties on profile 2.0 that is expected by subclasses.
svn path=/trunk/mcs/; revision=66749
2006-10-17 15:19:11 +00:00
Zoltan Varga a01e55c26d 2006-09-02 Zoltan Varga <[email protected]>
* ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from 
	Peter Dettman ([email protected]). Implement ReturnParameter
	property.

svn path=/trunk/mcs/; revision=64762
2006-09-02 10:22:28 +00:00
Zoltan Varga f4b31a94cc 2006-03-09 Zoltan Varga <[email protected]>
* MonoMethod.cs (ReturnTypeCustomAttributes): Compute the marshalAs attribute
	for the return type as well. Fixes #77668.

svn path=/trunk/mcs/; revision=57737
2006-03-09 18:31:06 +00:00
Sebastien Pouliot 571bd38886 2005-06-15 Sebastien Pouliot <[email protected]>
* Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
	FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
	ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
	attributes that were added in 1.1 SP1 or 2.0 beta2.


svn path=/trunk/mcs/; revision=46031
2005-06-15 10:45:00 +00:00
Zoltan Varga fae5147e4c 2005-06-09 Zoltan Varga <[email protected]>
* *.cs: Updates for net 2.0 beta 2.

svn path=/trunk/mcs/; revision=45685
2005-06-09 10:38:09 +00:00
Zoltan Varga 7432523f7b 2005-06-07 Zoltan Varga <[email protected]>
* *.cs: Updates for net 2.0 beta 2.

svn path=/trunk/mcs/; revision=45571
2005-06-07 12:36:45 +00:00
Zoltan Varga 601f4125e5 2005-06-06 Zoltan Varga <[email protected]>
* *.cs: Add net 2.0 ComVisibleAttribute.

svn path=/trunk/mcs/; revision=45510
2005-06-06 18:03:29 +00:00
Zoltan Varga 996d5ddd6e 2004-09-28 Zoltan Varga <[email protected]>
* 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.

svn path=/trunk/mcs/; revision=34475
2004-09-28 11:07:58 +00:00
Zoltan Varga c48bcb131d 2004-09-26 Zoltan Varga <[email protected]>
* ParameterInfo.cs: Add marshalAs field, add support for returning
	MarshalAsAttribute.

svn path=/trunk/mcs/; revision=34412
2004-09-26 16:36:40 +00:00
Zoltan Varga f017402d09 2004-09-25 Zoltan Varga <[email protected]>
* ParameterInfo.cs: Add GetPseudoCustomAttributes () method.

svn path=/trunk/mcs/; revision=34391
2004-09-25 16:35:35 +00:00
Zoltan Varga 782160d69f 2004-09-23 Zoltan Varga <[email protected]>
* 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.

svn path=/trunk/mcs/; revision=34304
2004-09-23 19:04:13 +00:00
Zoltan Varga f0279c8e11 2004-09-19 Zoltan Varga <[email protected]>
* MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.

	* Module.cs: Add ModuleHandle property and new icalls.

svn path=/trunk/mcs/; revision=34068
2004-09-19 14:36:11 +00:00
Duncan Mak 13d1764537 Add license and copyright to all source files in corlib
svn path=/trunk/mcs/; revision=29249
2004-06-11 02:09:36 +00:00
Lluis Sanchez 814743dee5 * 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.

svn path=/trunk/mcs/; revision=17192
2003-08-08 16:26:18 +00:00
Lluis Sanchez 0ae97da677 * ParameterInfo.cs: Position is zero-based in ParameterInfo.
Set the right position value when getting from ParameterBuilder.

svn path=/trunk/mcs/; revision=16483
2003-07-21 14:10:18 +00:00
Zoltan Varga cdc917879e 2003-01-17 Zoltan Varga <[email protected]>
* 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.

	* MethodBuilder.cs ConstructorBuilder.cs: modify GetParameters() so it
		returns information even when the app did not use DefineParameter() to
			define the parameters.

				* ConstructorBuilder.cs (ctor): allways define SpecialName attribute
					for constructors as done by MS.

svn path=/trunk/mcs/; revision=10631
2003-01-17 21:20:34 +00:00
Paolo Molaro fe58460445 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <[email protected]>
* MonoMethod.cs, ParameterInfo.cs: return a custom attribute
	provider for the return type of a method.

svn path=/trunk/mcs/; revision=9769
2002-12-19 15:46:00 +00:00
Martin Baulig 86de22cd79 2002-05-24 Martin Baulig <[email protected]>
* ParameterInfo.cs: Added internal constructor.

svn path=/trunk/mcs/; revision=4901
2002-05-24 13:15:48 +00:00
Piers Haken 610d7923ac added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00
Paolo Molaro d10f5cc8b5 Tue Feb 19 20:36:04 CET 2002 Paolo Molaro <[email protected]>
* Assembly.cs, Module.cs, MonoField.cs, MonoMethod.cs,
	MonoProperty.cs, ParameterInfo.cs: Implemented custom attributes
	related methods.

svn path=/trunk/mcs/; revision=2516
2002-02-19 15:46:58 +00:00
Ravi Pratap M e8d42158da 2002-01-04 Ravi Pratap <[email protected]>
* Assembly.cs : Decorate missing bits with the MonoTODO
	attribute.

	* ConstructorInfo.cs, MonoMethod.cs, MonoProperty.cs, ParameterInfo.cs,
	ReflectionTypeLoadException.cs : Ditto.

	* FieldInfo.cs : Ditto.

svn path=/trunk/mcs/; revision=1833
2002-01-04 16:06:55 +00:00
Paolo Molaro 371eeef7c0 Tue Dec 18 18:46:22 CET 2001 Paolo Molaro <[email protected]>
* MonoMethod.cs: implemented GetParameters().
	* MonoProperty.cs: PropertyInfo implementation.
	* ParameterInfo.cs: implemented.
	* PropertyInfo.cs: fixes.


Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <[email protected]>

	* Enum.cs: implemented GetValues(), GetNames(), GetName(),
	IsDefined(), GetUnderlyingType().
	* String.cs: fix one instance of Compare().
	* Type.cs: implemented GetProperties(), GetProperty().

svn path=/trunk/mcs/; revision=1625
2001-12-18 14:05:35 +00:00
Paolo Molaro c441fe5cc6 Wed Nov 14 16:30:27 CET 2001 Paolo Molaro <[email protected]>
* Linux.cs: a '/' is a valid char in a file path.


Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <[email protected]>

	* AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
	* Array.cs: fix Array.Copy.
	* AssemblyLoadEventArgs.cs: rename field.
	* CLSCompliantAttribute.cs: use correct name for the class.
	* Char.cs: fix IsLetter.
	* Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
	SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
	* Convert.cs: CLSCompliant updates, add ChangeType() methods.
	* Delegate.cs: renamed target field to m_target.
	* Enum.cs: added missing methods.
	* MonoType.cs: add a constructor and some needed properties.
	* Object.cs: implement GetType().
	* String.cs: CLSCompliant updates. Fixes everywhere to remove the
	ending 0 char.
	* Type.cs: add missing methods/properties.


Wed Nov 14 16:45:49 CET 2001 Paolo Molaro <[email protected]>

	* ArrayList.cs: implement ArrayListEnumerator.
	* Hashtable.cs: hardcode the prime number table.


Wed Nov 14 16:47:07 CET 2001 Paolo Molaro <[email protected]>

	* Calendar.cs: CLSCompliant updates.


Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <[email protected]>

	* CheckPermission.cs: disable ModeAccess() code: it's wrong.
	* FileStream.cs: only trow an exception if the read failed in ReadByte().
	* StreamReader.cs: implement Peek and Read.
	* TextWriter.cs: CLSCompliant updates.


Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <[email protected]>

	* 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.


Wed Nov 14 17:01:45 CET 2001 Paolo Molaro <[email protected]>

	* ConstructorBuilder.cs: added missing stubs and some implementation.
	* CustomAttributeBuilder.cs: added.
	* EventBuilder.cs: added.
	* FieldBuilder.cs: updates.
	* MethodBuilder.cs: stuff to implement P/Invoke methods.
	* ModuleBuilder.cs: added GetArrayMethod() stub.
	* ParameterBuilder.cs, PropertyBuilder.cs: updates.
	* TypeBuilder.cs: updates and stubs.


Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <[email protected]>

	* CallingConvention.cs: add missing Winapi.


Wed Nov 14 17:03:30 CET 2001 Paolo Molaro <[email protected]>

	* IFormatterConverter.cs, SerializationInfo.cs: CLSCompliant updates.


Wed Nov 14 17:04:30 CET 2001 Paolo Molaro <[email protected]>

	* MD5CryptoServiceProvider.cs, SHA1CryptoServiceProvider.cs,
	SHA256Managed.cs: CLSCompliant updates.


Wed Nov 14 17:05:22 CET 2001 Paolo Molaro <[email protected]>

	* Encoding.cs: renamed some fields.
	* StringBuilder.cs: CLSCompliant updates.


Wed Nov 14 17:06:18 CET 2001 Paolo Molaro <[email protected]>

	* Overlapped.cs, ThreadPool.cs, Timer.cs: CLSCompliant updates.

svn path=/trunk/mcs/; revision=1351
2001-11-14 15:18:05 +00:00
Sean MacIsaac fc1bf781fa Added stub classes/methods needed by compiler in an attempt to get it
to run in Linux.

svn path=/trunk/mcs/; revision=1171
2001-10-17 03:54:01 +00:00