Commit Graph
25 Commits
Author SHA1 Message Date
Gert Driesen 9da08cb6dc * MethodInfoTest.cs: Numbered tests. Improved existing tests.
* ParameterInfoTest.cs: Added test for bug #342536.
* MonoMethod.cs (MakeGenericMethod): Modified argument name to match
MS. When one of the types is null, throw ArgumentNullException instead
of ArgumentException.      
* MethodInfo.cs (MakeGenericMethod): Modified argument name to match
MS.

svn path=/trunk/mcs/; revision=94641
2008-02-02 18:31:00 +00:00
Zoltan Varga cf37916ae0 2008-01-17 Zoltan Varga <[email protected]>
* Assembly.cs AssemblyFlagsAttribute.cs ICustomAttributeProvider.cs
	MemberInfo.cs FieldInfo.cs DefaultMemberAttribute.cs 
	CustomAttributeNamedArgument.cs TargetException.cs MethodInfo.cs
	IReflect.cs CustomAttributeTypedArgument.cs Module.cs: Change some parameter
	names to match MS.

svn path=/trunk/mcs/; revision=93188
2008-01-17 19:22:02 +00:00
Zoltan Varga 0dae33a017 2007-07-15 Zoltan Varga <[email protected]>
* MethodInfo.cs: Remove an unneccesary MonoTODO.

svn path=/trunk/mcs/; revision=82010
2007-07-15 14:22:29 +00:00
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 80db88f005 Tue Dec 12 20:35:10 CET 2006 Paolo Molaro <[email protected]>
* MethodBase.cs: added missing ComVisible attr.
	* MethodInfo.cs: added a few missing methods that we implement
	in derived classes.


svn path=/trunk/mcs/; revision=69429
2006-12-12 19:36:13 +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
Miguel de Icaza ccf9dac8ef Small API updates
svn path=/trunk/mcs/; revision=62933
2006-07-24 22:19:42 +00:00
Martin Baulig dea11e73b6 2006-02-15 Martin Baulig <[email protected]>
* MethodBase.cs (MethodBase.GetGenericMethodDefinition): Removed.
	(MethodBase.Mono_IsInflatedMethod): Removed.
	(MethodBase.HasGenericParameters): Removed.

	* MethodInfo.cs (MethodInfo.GetGenericMethodDefinition): Moved
	here from MethodBase.

	* MonoMethod.cs
	(MonoMethod.IsGenericMethodDefinition): This is now an icall.
	(MonoMethod.IsGenericMethod): Likewise.


svn path=/trunk/mcs/; revision=56897
2006-02-15 19:51:04 +00:00
Martin Baulig 0cc1ca3985 2005-09-09 Martin Baulig <[email protected]>
Reflect latest API changes in the August CTP.

	* MethodBase.cs (MethodBase.MakeGenericMethod): Removed.

	* MethodInfo.cs (MethodInfo.MakeGenericMethod): Added here.


svn path=/trunk/mcs/; revision=49776
2005-09-09 06:13:36 +00:00
Gert Driesen 25a877e9fd * AssemblyInfo.cs: Fixed AssemblyDescription to match MS.NET.
* Array.cs: Changed protected ctor to private. Fixes API compatibility
with MS.NET.
* RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
be exposed in 2.0 profile.
* RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
be exposed in 2.0 profile.
* RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
be exposed in 2.0 profile.
* Type.cs: Added GetType method and implemented _Type interface.
Fixes API compatibility with MS.NET.
* corlib.dll.sources: Added System.Runtime.InteropServices/
TypeLibImportClassAttribute.cs.
* AssemblyBuilder.cs: Implement _AssemblyBuilder, CA fixes to correspond 
with MS.NET
* ConstructorBuilder.cs: Implement _ConstructorBuilder, CA fixes to
correspond with MS.NET
* CustomAttributeBuilder.cs: Implement _CustomAttributeBuilder, CA
fixes to correspond with MS.NET
* EnumBuilder.cs: Implement _EnumBuilder, CA fixes to correspond with MS.NET
* EventBuilder.cs: Implement _EventBuilder, CA fixes to correspond with MS.NET
* FieldBuilder.cs: Implement _FieldBuilder, CA fixes to correspond with MS.NET
* LocalBuilder.cs: Implement _LocalBuilder, CA fixes to correspond with MS.NET
* MethodBuilder.cs: Implement _MethodBuilder, CA fixes to correspond 
with MS.NET
* MethodRental.cs: CA fixes to correspond with MS.NET, implemented 
_MethodRental.
* ModuleBuilder.cs: Implement _ModuleBuilder, CA fixes to correspond 
with MS.NET
* ILGenerator.cs: Implement _ILGenerator, CA fixes to correspond with MS.NET
* ParameterBuilder.cs Implement _ParameterBuilder, CA fixes to correspond 
with MS.NET
* PropertyBuilder.cs: Implement _PropertyBuilder, CA fixes to correspond 
with MS.NET
* SignatureHelper.cs: Implement _SignatureHelper, CA fixes to correspond 
with MS.NET
* TypeBuilder.cs: Implement _TypeBuilder, CA fixes to correspond with MS.NET
* DecimalConstantAttribute.cs: Only mark ctor not CLSCompliant on 2.0
profile to match MS.NET.
* Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
* ConstructorInfo.cs: Added GetType() method in 1.1 to match MS.NET, 
implemented _ConstructorInfo.
* EventInfo.cs: Added GetType() method in 1.1 to match MS.NET, implemented 
_EventInfo.
* FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET, implemented 
_FieldInfo.
* MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET, implemented 
_MemberInfo.
* MethodBase.cs: Added GetType() method in 1.1 to match MS.NET, implemented 
_MethodBase.
* MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET, implemented 
_MethodInfo.
* PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET, implemented 
_PropertyInfo.
* TypeAttributes.cs: CustomFormatMask and CustomFormatClass should only be 
exposed in 2.0 profile.

svn path=/trunk/mcs/; revision=48073
2005-08-07 08:48:11 +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 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
Marek Safar 49dcbb2f20 2005-02-10 Marek Safar <[email protected]>
* Assembly.cs,
	* ConstructorInfo.cs,
	* EventInfo.cs,
	* FieldInfo.cs,
	* MemberInfo.cs,
	* MethodBase.cs,
	* MethodInfo.cs,
	* PropertyInfo.cs: ClassInterfaceType is None.

svn path=/trunk/mcs/; revision=40373
2005-02-10 08:19:26 +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
Martin Baulig 0f0cba4028 2004-03-29 Martin Baulig <[email protected]>
* MethodBase.cs: Moved the generics stuff here, made it virtual
	where neccessary and use the correct API.

svn path=/trunk/mcs/; revision=24736
2004-03-30 00:12:32 +00:00
Miguel de Icaza 0b4938b5a6 Kill GENERICS as the define to use to build the GENERICS build, that is now
part of the NET_1_2 build.

svn path=/trunk/mcs/; revision=20152
2003-11-18 05:33:34 +00:00
Zoltan Varga 936de0894a 2003-11-14 Zoltan Varga <[email protected]>
* AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values
	from NET 1.1.

	* *.cs: Add missing attributes.

svn path=/trunk/mcs/; revision=19997
2003-11-14 16:20:02 +00:00
Martin Baulig e627e841c6 2003-10-18 Martin Baulig <[email protected]>
* MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
	abstract; use an interncall in MonoMethod and a custom
	implementation in MethodBuilder.

svn path=/trunk/mcs/; revision=19160
2003-10-18 07:13:03 +00:00
Martin Baulig 630a65bbd7 2003-10-17 Martin Baulig <[email protected]>
* MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
	(MethodInfo.BindGenericParameters): New method.

svn path=/trunk/mcs/; revision=19115
2003-10-17 03:26:20 +00:00
Martin Baulig 0e0ec0e4e6 2003-10-16 Martin Baulig <[email protected]>
* MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
	property.

svn path=/trunk/mcs/; revision=19108
2003-10-16 19:14:54 +00:00
Piers Haken 9d70fd98cd added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3602
2002-04-04 06:17:02 +00:00
Paolo Molaro 32fb0da568 Added copyright notices.
svn path=/trunk/mcs/; revision=1120
2001-10-08 12:02:19 +00:00
Paolo Molaro b7556d202f Some more stubs and fixes.
svn path=/trunk/mcs/; revision=1003
2001-09-27 13:51:14 +00:00
Paolo Molaro c9ee427524 Fri Sep 14 16:12:08 CEST 2001 Paolo Molaro <[email protected]>
* MethodBase.cs, MethodInfo.cs: added.

svn path=/trunk/mcs/; revision=818
2001-09-14 10:14:48 +00:00