Commit Graph
26 Commits
Author SHA1 Message Date
Marek Safar bb05074a9f Replace some hashtables with dictionaries 2013-02-27 22:58:32 +01:00
Carlos Alberto Cortez 56d739fc70 Set 4.0 members in SerializationInfo.SetType.
* SerializationInfo.cs: Set/reset the new 4.0 members in SetType
	based on the new type.
2010-08-26 11:41:28 +02:00
Carlos Alberto Cortez 95287e33ba Add all the new 4.0 properties of SerializationInfo.
* SerializationInfo.cs: Add 4.0 ObjectType,
	IsAssemblyNameSetExplicit and IsFullTypeNameSetExplicit.
2010-08-16 16:27:03 +02:00
Miguel de Icaza 0fb43d6e9f 2010-03-30 Sebastien Pouliot <[email protected]>
* moonlight_raw_corlib.dll.sources: Fix Moonlight since these 
	types now reside in mscorlib (not System.Coe) for NET_4_0 and
	also for SL4

2010-03-26  Sebastien Pouliot  <[email protected]>

	* moonlight_raw_corlib.dll.sources: Add MonoAssembly to ML build
	since it contains parts of the Assembly features (partial class)

svn path=/trunk/mcs/; revision=154531
2010-03-31 05:05:22 +00:00
Miguel de Icaza 3c39ac4586 Jumbo patch for NET_2_0, mscorlib is now clean
svn path=/trunk/mcs/; revision=145621
2009-11-06 22:23:59 +00:00
Marek Safar cc9c53a109 Warnings cleanup
svn path=/trunk/mcs/; revision=111713
2008-08-27 15:40:13 +00:00
Robert Jordan 9cadcf198f 2006-10-30 Robert Jordan <[email protected]>
* Apply ComVisibleAttribute.


svn path=/trunk/mcs/; revision=67118
2006-10-30 00:35:56 +00:00
Lluis Sanchez 9b2040cfff 2005-05-17 Lluis Sanchez Gual <[email protected]>
* SerializationInfo.cs: Use IsInstanceOfType instead of IsAssignableFrom
	since GetType() may not return the correct type if the object is
	a remoting proxy.


svn path=/trunk/mcs/; revision=44635
2005-05-17 17:44:30 +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
Duncan Mak 70b35ad1a5 * SerializationInfoEnumerator.cs: Instead of using
IDictionaryEnumerator from a Hashtable, use a normal IEnumerator
from the newly added ArrayList in SerializationInfo.

* SerializationInfo.cs: Added an extra ArrayList so that we can
keep the SerializationEntrys added in the order.
(SerializationInfo, AddValue): Throw ArgumentNullException
correctly.

svn path=/trunk/mcs/; revision=29118
2004-06-09 16:26:08 +00:00
Marek Safar 17b718a094 Removed useless [CLSCompliant(false)]
svn path=/trunk/mcs/; revision=27314
2004-05-13 22:28:44 +00:00
Lluis Sanchez 510f84be77 * SerializationInfo.cs: Fixed bug in GetValue. Use IsAssignableFrom instead
of IsSubclass, since the type can be an interface.

svn path=/trunk/mcs/; revision=19275
2003-10-21 16:21:18 +00:00
Lluis Sanchez 438c7d60cb * SerializationInfo.cs: Fixed bug #44955
svn path=/trunk/mcs/; revision=15643
2003-06-25 23:39:41 +00:00
Lluis Sanchez c3b1984cf2 * ObjectManager.cs: Implemented and added file
* SurrogateSelector.cs: completed implementation.
* SerializationInfo.cs: corrected a bug in GetValue method.
* ObjectIDGenerator.cs: corrected a bug. Now it does not give the same
id for two different instances that return true when calling Equal.

svn path=/trunk/mcs/; revision=10615
2003-01-17 14:18:43 +00:00
Dietmar Maurer 8e26f9cfaa 2002-08-16 Dietmar Maurer <[email protected]>
* SerializationInfo.cs: special case for null values.
	use the converter everywhere.

svn path=/trunk/mcs/; revision=6673
2002-08-16 12:54:45 +00:00
Dietmar Maurer c524434bdd *** empty log message ***
svn path=/trunk/mcs/; revision=6639
2002-08-14 16:11:16 +00:00
Dietmar Maurer 9499c0c0c8 2002-08-14 Dietmar Maurer <[email protected]>
* SerializationInfo.cs: added new function to support the runtime

svn path=/trunk/mcs/; revision=6638
2002-08-14 16:10:32 +00:00
Duncan Mak 7b1fcee0d0 2002-06-10 Duncan Mak <[email protected]>
* Formatter.cs: Addd to CVS.

	* FormatterConverter.cs: Added to CVS.

	* SerializationInfo.cs (AddValue): Removed extra CLSCompliant attribute.

svn path=/trunk/mcs/; revision=5213
2002-06-10 19:30:48 +00:00
Duncan Mak e0b9e2730a 2002-02-19 Duncan Mak <[email protected]>
* SerializationInfo.cs: Forgot to finish up GetEnumerator ().

svn path=/trunk/mcs/; revision=2492
2002-02-19 04:00:22 +00:00
Duncan Mak b2ec928a27 2002-02-18 Duncan Mak <[email protected]>
* SerializationInfo.cs: Converted Type.GetType calls to the faster
        typeof operator.

svn path=/trunk/mcs/; revision=2489
2002-02-19 00:32:09 +00:00
Duncan Mak 832e3630e9 2002-02-15 Duncan Mak <[email protected]>
* SerializationEntry.cs: Added internal constructor bits for
	      SerializationInfoEnumerator.
	    * SerializationInfo.cs: Completed.
	    * SerializationInfoEnumerator.cs: Implemented. Piggybacking on
	      Hashtable's GetEnumerator method.

svn path=/trunk/mcs/; revision=2436
2002-02-15 23:16:55 +00:00
Duncan Mak 54829e3eed 2002-02-12 Duncan Mak <[email protected]>
* SerializationBinder.cs: Implemented.
	    * SerializationEntry.cs: Implemented.
	    * SerializationInfo.cs: Fixed the get portion of the AssemblyName
	    property. Implemented the FullTypename property.

svn path=/trunk/mcs/; revision=2361
2002-02-12 22:47:31 +00:00
Ravi Pratap M e5c8c0b4dc 2002-05-01 Ravi Pratap <[email protected]>
* SerializationInfo.cs : Insert MonoTODO attribute.

svn path=/trunk/mcs/; revision=1846
2002-01-05 05:22:24 +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
Nick Drochak 21a11f619d 2001-08-24 Nick Drochak <[email protected]>
* SerializationInfo.cs: Added all the public methods so that the compile would not break

svn path=/trunk/mcs/; revision=598
2001-08-24 05:39:12 +00:00
Miguel de Icaza ed9ec7475a Commit new files, almost compiles with /nostdlib
svn path=/trunk/mcs/; revision=263
2001-07-20 04:54:58 +00:00