Commit Graph
16 Commits
Author SHA1 Message Date
Rodrigo Kumpera 2c8c93b378 Remove SRE from Full AOT builds. 2012-11-06 18:18:14 -05:00
Rodrigo Kumpera 83dccf8fe7 Add all missing sequential layout directives to corlib and system. 2011-12-13 11:57:23 -02:00
Miguel de Icaza 609edb4d5c System.Reflection.Emit's turn to be de-ifdefified
svn path=/trunk/mcs/; revision=145242
2009-11-03 01:30:22 +00:00
Rodrigo Kumpera 2909089503 2009-08-03 Rodrigo Kumpera <[email protected]>
* MonoGenericClass.cs (initialize): Remember the number
	of events available at initialization time. This is required as
	mcs expect this behavior under compiler context that new events
	are not returned for an instance that was inflated before.

	* MonoGenericClass.cs: Kill GetEvents_internal and implement it
	in terms of managed code.

2009-08-03 Rodrigo Kumpera  <[email protected]>

	* EventBuilder.cs: Make some fields internal.

	* TypeBuilder.cs: Make events field internal.
	Remove some MonoTODOs that are already done.

	* EventOnTypeBuilderInst.cs: New file which implements
	the required functionality by compiler context.

svn path=/trunk/mcs/; revision=139307
2009-08-04 00:10:17 +00:00
Miguel de Icaza 5949b71fb0 Revert patch until Rodrigo comes back on Monday
svn path=/trunk/mcs/; revision=138681
2009-07-26 01:33:08 +00:00
Rodrigo Kumpera 5ab33cc376 2009-07-24 Rodrigo Kumpera <[email protected]>
* EventBuilder.cs: Make some fields internal.

	* TypeBuilder.cs: Make events field internal.
	Remove some MonoTODOs that are already done.

2009-07-24 Rodrigo Kumpera  <[email protected]>

	* MonoGenericClass.cs (initialize): Remember the number
	of events available at initialization time. This is required as
	mcs expect this behavior under compiler context that new events
	are not returned for an instance that was inflated before.

	* MonoGenericClass.cs: Kill GetEvents_internal and implement it
	in terms of managed code.

svn path=/trunk/mcs/; revision=138669
2009-07-25 00:24:41 +00:00
Marek Safar cc9c53a109 Warnings cleanup
svn path=/trunk/mcs/; revision=111713
2008-08-27 15:40:13 +00:00
Paolo Molaro 3ed77b4798 Mon Sep 5 18:08:09 CEST 2005 Paolo Molaro <[email protected]>
* EventBuilder.cs, FieldBuilder.cs, MethodBuilder.cs, TypeBuilder.cs,
	PropertyBuilder.cs: take care of the SpecialName attribute (bug #75768).


svn path=/trunk/mcs/; revision=49481
2005-09-05 16:11:12 +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
Zoltan Varga cd7b342ad7 2005-06-07 Zoltan Varga <[email protected]>
* *.cs: Updates for net 2.0 beta 2.

svn path=/trunk/mcs/; revision=45573
2005-06-07 13:14:31 +00:00
Raja R Harinath e0cfa4925e Set svn:eol-style=native, delete svn:executable.
Fix line endings of System/Decimal.cs (only actual "change" in text, to force recompile of mscorlib to reflect changes in decimal constant handling in the compiler)


svn path=/trunk/mcs/; revision=44558
2005-05-16 12:23: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
Zoltan Varga a3b158593e 2003-06-15 Zoltan Varga <[email protected]>
* EventBuilder.cs: Add argument checking to methods.

svn path=/trunk/mcs/; revision=15422
2003-06-15 15:40:02 +00:00
Martin Baulig 3639a53bf3 2002-05-22 Martin Baulig <[email protected]>
* AssemblyBuilder.cs (methods): New field.
	(get_next_table_index): Record all methods and constructors
	(table 0x06) in the `methods' array.  This is read by the
	Mono.CSharp.Debugger.MonoSymbolWriter::get_method interncall to
	get the MethodBuilder / ConstructorBuilder back from the token.

	* *Builder.cs (get_next_table_index): Added `object obj' argument.
	(<constructors>): pass the this pointer to get_next_table_index ().

svn path=/trunk/mcs/; revision=4856
2002-05-22 16:10:10 +00:00
Paolo Molaro ce2ebac87c Tue Mar 5 18:09:34 CET 2002 Paolo Molaro <[email protected]>
* EventBuilder.cs: implemented.
	* TypeBuilder.cs: implemented DefineEvent() method and UnderlyingSystemType
	property.

svn path=/trunk/mcs/; revision=2909
2002-03-05 13:27:51 +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