Commit Graph
40 Commits
Author SHA1 Message Date
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 cb62cc77f9 2007-07-15 Zoltan Varga <[email protected]>
* FieldInfo.cs: Implement GetOptional/RequiredCustomModifiers ().

svn path=/trunk/mcs/; revision=82012
2007-07-15 14:53:38 +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 758612aea9 Tue May 8 13:04:35 CEST 2007 Paolo Molaro <[email protected]>
* FieldInfo.cs, MethodBase.cs: implemented new GetFieldFromHandle and
	GetMethodFromHandle overloads (bug #78637).


svn path=/trunk/mcs/; revision=76915
2007-05-08 10:58:12 +00:00
Alp Toker 60234bbb23 2007-03-01 Alp Toker <[email protected]>
* FieldInfo.cs:
	Add GetFieldFromHandle() 2.0 overload stub (NotImplemented).

svn path=/trunk/mcs/; revision=73589
2007-03-01 14:23:46 +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
Martin Baulig a3d1b38aad 2006-02-16 Martin Baulig <[email protected]>
* FieldInfo.cs (FieldInfo.Mono_GetGenericFieldDefinition): Removed.


svn path=/trunk/mcs/; revision=56907
2006-02-16 00:31:16 +00:00
Zoltan Varga c3476cd513 2005-11-15 Zoltan Varga <[email protected]>
* Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs 
	CustomAttributeData.cs PortableExecutableKinds.cs 
	ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
	updates.

svn path=/trunk/mcs/; revision=53055
2005-11-15 14:06:42 +00:00
Zoltan Varga 417c795bf3 2005-10-30 Zoltan Varga <[email protected]>
* FieldInfo.cs: Add an internal UMarshal property which can by
	overriden in FieldBuilder.

svn path=/trunk/mcs/; revision=52393
2005-10-30 16:55:13 +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 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
Raja R Harinath 91b353867e * FieldInfo.cs (GetFieldOffset): Make 'virtual' rather than
'abstract' so that this class can be derived outside of corlib.

svn path=/trunk/mcs/; revision=41038
2005-02-22 13:58:53 +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
Zoltan Varga 915e78f676 2004-09-26 Zoltan Varga <[email protected]>
* FieldInfo.cs: Add support for returning MarshalAsAttribute.

	* ParameterInfo.cs: Add marshalAs field, add support for returning
	MarshalAsAttribute.

svn path=/trunk/mcs/; revision=34416
2004-09-26 17:10:34 +00:00
Zoltan Varga 7de18ce3d8 2004-09-24 Zoltan Varga <[email protected]>
* MonoMethod.cs FieldInfo.cs: Add GetPseudoAttributes () method.

svn path=/trunk/mcs/; revision=34374
2004-09-24 19:05:46 +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
Martin Baulig 2fb4189935 2004-06-11 Martin Baulig <[email protected]>
* FieldInfo.cs (Mono_GetGenericFieldDefinition): New method for NET_2_0.

svn path=/trunk/mcs/; revision=29371
2004-06-11 18:47:56 +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
Gert Driesen 6f4501e510 * 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

svn path=/trunk/mcs/; revision=28642
2004-06-01 17:48:31 +00:00
César Natarén 6c51b362ca 2004-05-22 Cesar Lopez Nataren <[email protected]>
* FieldInfo.cs: changed default constructor from internal to protected, so classes
	that inherit from it can get build.

svn path=/trunk/mcs/; revision=27892
2004-05-22 17:43:52 +00:00
Zoltan Varga b52b2342e9 2004-05-13 Zoltan Varga <[email protected]>
* FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.

svn path=/trunk/mcs/; revision=27261
2004-05-13 13:25:50 +00:00
Miguel de Icaza 02a6a72410 Signature fixes for .NET 1.1
svn path=/trunk/mcs/; revision=20138
2003-11-17 21:31:56 +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
Paolo Molaro dc940fa5a4 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <[email protected]>
* FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
	finer-grained icalls. Requires a matching runtime.

svn path=/trunk/mcs/; revision=16350
2003-07-17 15:39:01 +00:00
Zoltan Varga 13c976d677 2003-03-17 Zoltan Varga <[email protected]>
* FieldInfo.cs (GetFieldFromHandle): Implemented.

svn path=/trunk/mcs/; revision=12634
2003-03-17 22:22:59 +00:00
Paolo Molaro cf3b279815 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <[email protected]>
* MonoType.cs, Type.cs: implemented InvokeMember.


Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <[email protected]>

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

svn path=/trunk/mcs/; revision=7355
2002-09-11 10:57:34 +00:00
Gonzalo Paniagua Javier 465c49f4b8 2002-08-19 Gonzalo Paniagua Javier <[email protected]>
* FieldInfo.cs: implemented SetValue.

svn path=/trunk/mcs/; revision=6745
2002-08-19 10:50:31 +00:00
Piers Haken 1b357c7803 Assembly.cs: LoadWithPartialName
FieldInfo.cs: finished properties

svn path=/trunk/mcs/; revision=3601
2002-04-04 06:15:48 +00:00
Piers Haken cc63806f23 minor CLS conformance tweaks (visibility, virtual, abstract, sealed, etc...)
svn path=/trunk/mcs/; revision=3568
2002-04-03 06:28:53 +00:00
Piers Haken 610d7923ac added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +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 6236225a86 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <[email protected]>
* Array.cs: implement CopyTo ().
	* Char.cs: implement ToString ().
	* Exception.cs: bugfix.
	* Int32.cs: bare-bones Parse ().
	* MonoType.cs: query the needed info with an internalcall.
	* String.cs: speedups, bugfixes, reduced copies.
	* Type.cs: added missing fields. Implemented many of the Is*
	properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
	GetFields(), FindMembers(), ToString().

Thu Dec 13 20:17:08 CET 2001 Paolo Molaro <[email protected]>

	* ArrayList.cs: implemented AddRange(), CopyTo().


Thu Dec 13 20:18:05 CET 2001 Paolo Molaro <[email protected]>

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

Thu Dec 13 20:22:18 CET 2001 Paolo Molaro <[email protected]>

	* DllImportAttribute.cs: added.
	* MethodImplOptions.cs: removed: this is already in CompilerServices.

svn path=/trunk/mcs/; revision=1566
2001-12-13 15:57:22 +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
Paolo Molaro 49c9e13de5 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <[email protected]>
* String.cs: fix a couple of bugs.
	* AppDomain.cs: use new AppBuilder constructor.
	* Buffer.cs, GC.cs, NonSerializedAttribute.cs,
	NotImplementedException.cs, ObjectDisposedException.cs,
	UnauthorizedAccessException.cs: add implementation.
	* OverflowException.cs: fix class name.


Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <[email protected]>

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


Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <[email protected]>

	* DirectoryNotFoundException.cs: implemented.

svn path=/trunk/mcs/; revision=1260
2001-11-05 06:18:33 +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
Miguel de Icaza e6dccbce05 Added piles of new enumerations from Sergey.
Updates the enumerations to contain [Flags] (Sergey)
Updated enumerations to have the same values as ECMA (Sergey).
Added various new methods to Type.cs
Added all the classes that were not being compiled in the past to the build.
Fix various small typos to get things compiling

Miguel

svn path=/trunk/mcs/; revision=702
2001-09-02 17:50:38 +00:00