Преглед на файлове

* TransportHeaders.cs: Added Serializable attribute.

* ClientChannelSinkStack.cs: Added no-param constructor.

* ContextAttribute.cs: Removed constructor.

* RealProxy.cs (GetProxiedType): Removed 'virtual' keyword.

* BinaryFormatter.cs (WriteBinaryHeader): changed from public to
private.

* Formatter.cs (WriteSByte): Added CLSCompliant attribute.

svn path=/trunk/mcs/; revision=16785
Duncan Mak преди 22 години
родител
ревизия
4bcbe166d0

+ 6 - 0
mcs/class/corlib/System.Runtime.Remoting.Channels/ChangeLog

@@ -1,3 +1,9 @@
+2003-07-28  Duncan Mak  <[email protected]>
+
+	* TransportHeaders.cs: Added Serializable attribute.
+
+	* ClientChannelSinkStack.cs: Added no-param constructor.
+
 2003-07-21  Lluis Sanchez Gual <[email protected]>
 
 	* ChannelServices.cs: Implemented GetChannel() and GetUrlsForObject()

+ 5 - 0
mcs/class/corlib/System.Runtime.Remoting.Channels/ClientChannelSinkStack.cs

@@ -19,6 +19,11 @@ namespace System.Runtime.Remoting.Channels
 
 		// The stack. It is a chain of ChanelSinkStackEntry.
 		ChanelSinkStackEntry _sinkStack = null;
+
+                [MonoTODO ("Initialize new instance with default values")]
+                public ClientChannelSinkStack ()
+                {
+                }
 		
 		public ClientChannelSinkStack (IMessageSink sink)
 		{

+ 1 - 0
mcs/class/corlib/System.Runtime.Remoting.Channels/TransportHeaders.cs

@@ -11,6 +11,7 @@ using System.Collections;
 
 namespace System.Runtime.Remoting.Channels
 {
+        [Serializable]
 	public class TransportHeaders : ITransportHeaders
 	{
 		Hashtable hash_table;

+ 4 - 0
mcs/class/corlib/System.Runtime.Remoting.Contexts/ChangeLog

@@ -1,3 +1,7 @@
+2003-07-28  Duncan Mak  <[email protected]>
+
+	* ContextAttribute.cs: Removed constructor.
+
 2003-04-03 Lluis Sanchez Gual <[email protected]>
 
 	* CrossContextChannel.cs: Improved support for OneWay and Async messages.

+ 0 - 4
mcs/class/corlib/System.Runtime.Remoting.Contexts/ContextAttribute.cs

@@ -17,10 +17,6 @@ namespace System.Runtime.Remoting.Contexts {
 	public class ContextAttribute : Attribute, IContextAttribute, IContextProperty {
 		protected string AttributeName;
 
-		public ContextAttribute ()
-		{
-		}
-
 		public ContextAttribute (string name)
 		{
 			AttributeName = name;

+ 4 - 0
mcs/class/corlib/System.Runtime.Remoting.Proxies/ChangeLog

@@ -1,3 +1,7 @@
+2003-07-28  Duncan Mak  <[email protected]>
+
+	* RealProxy.cs (GetProxiedType): Removed 'virtual' keyword.
+
 2003-07-25  Lluis Sanchez Gual <[email protected]>
 
 	* RemotingProxy.cs: Check the return arguments types. (a wrong type

+ 1 - 1
mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs

@@ -58,7 +58,7 @@ namespace System.Runtime.Remoting.Proxies
 			_objTP = InternalGetTransparentProxy();
 		}
 
-		public virtual Type GetProxiedType() 
+		public Type GetProxiedType() 
 		{
 			if (class_to_proxy.IsInterface) return typeof (MarshalByRefObject);
 			else return class_to_proxy;

+ 1 - 1
mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs

@@ -172,7 +172,7 @@ namespace System.Runtime.Serialization.Formatters.Binary {
 			writer.Flush();
 		}
 
-		public void WriteBinaryHeader (BinaryWriter writer, bool hasHeaders)
+		private void WriteBinaryHeader (BinaryWriter writer, bool hasHeaders)
 		{
 			writer.Write ((byte)BinaryElement.Header);
 			writer.Write ((int)1);

+ 5 - 0
mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ChangeLog

@@ -1,3 +1,8 @@
+2003-07-28  Duncan Mak  <[email protected]>
+
+	* BinaryFormatter.cs (WriteBinaryHeader): changed from public to
+	private.
+
 2003-07-25  Lluis Sanchez Gual <[email protected]>
 
     * MessageFormatter.cs: WriteMethodCall(): It must write all parameters,

+ 4 - 0
mcs/class/corlib/System.Runtime.Serialization/ChangeLog

@@ -1,3 +1,7 @@
+2003-07-28  Duncan Mak  <[email protected]>
+
+	* Formatter.cs (WriteSByte): Added CLSCompliant attribute.
+
 2003-07-26  Gonzalo Paniagua Javier <[email protected]>
 
 	* FormatterServices.cs:

+ 1 - 0
mcs/class/corlib/System.Runtime.Serialization/Formatter.cs

@@ -83,6 +83,7 @@ public abstract class Formatter : IFormatter
 	protected abstract void WriteObjectRef (object obj, string name, Type memberType);
 
 
+        [CLSCompliant (false)]
 	protected abstract void WriteSByte (sbyte val, string name);