* TransportHeaders.cs: Added Serializable attribute.
authorDuncan Mak <duncan@mono-cvs.ximian.com>
Mon, 28 Jul 2003 19:48:38 +0000 (19:48 -0000)
committerDuncan Mak <duncan@mono-cvs.ximian.com>
Mon, 28 Jul 2003 19:48:38 +0000 (19:48 -0000)
* 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

mcs/class/corlib/System.Runtime.Remoting.Channels/ChangeLog
mcs/class/corlib/System.Runtime.Remoting.Channels/ClientChannelSinkStack.cs
mcs/class/corlib/System.Runtime.Remoting.Channels/TransportHeaders.cs
mcs/class/corlib/System.Runtime.Remoting.Contexts/ChangeLog
mcs/class/corlib/System.Runtime.Remoting.Contexts/ContextAttribute.cs
mcs/class/corlib/System.Runtime.Remoting.Proxies/ChangeLog
mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs
mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs
mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ChangeLog
mcs/class/corlib/System.Runtime.Serialization/ChangeLog
mcs/class/corlib/System.Runtime.Serialization/Formatter.cs

index 84a33a50f1d793441cfc34ea3d5c6cc7e0770bcf..d2b105ef3186a7d0b6fe06f375b8560dcaf2ac51 100644 (file)
@@ -1,3 +1,9 @@
+2003-07-28  Duncan Mak  <duncan@ximian.com>
+
+       * TransportHeaders.cs: Added Serializable attribute.
+
+       * ClientChannelSinkStack.cs: Added no-param constructor.
+
 2003-07-21  Lluis Sanchez Gual <lluis@ximian.com>
 
        * ChannelServices.cs: Implemented GetChannel() and GetUrlsForObject()
index 03195b543169601126b0fb0b47a01929eb5627c8..5f431bf340c410ae2e2bc876a206ceb77a5ae9d1 100644 (file)
@@ -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)
                {
index 09f1c24c8d5a34b390baa707834ecc90f1410e11..bfc8f08012bedef29b1c9ea173d1c5940d7c5534 100644 (file)
@@ -11,6 +11,7 @@ using System.Collections;
 
 namespace System.Runtime.Remoting.Channels
 {
+        [Serializable]
        public class TransportHeaders : ITransportHeaders
        {
                Hashtable hash_table;
index 8839f9c93db317b9ae7d126c36ee2cf29b053d6d..3b367402df98967cd5525190e6261060f597e48b 100644 (file)
@@ -1,3 +1,7 @@
+2003-07-28  Duncan Mak  <duncan@ximian.com>
+
+       * ContextAttribute.cs: Removed constructor.
+
 2003-04-03 Lluis Sanchez Gual <lluis@ideary.com>
 
        * CrossContextChannel.cs: Improved support for OneWay and Async messages.
index 761bcbc7a5a6cda125922437a1409f212af10b5c..932db1a5482196c2064aff21c0755dcde5fd3c25 100644 (file)
@@ -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;
index f2545cbe3732f9d441e5fa43ca5a9991799132a4..31404bbf86720d122563b5ad0d70d0a7c046be6e 100644 (file)
@@ -1,3 +1,7 @@
+2003-07-28  Duncan Mak  <duncan@ximian.com>
+
+       * RealProxy.cs (GetProxiedType): Removed 'virtual' keyword.
+
 2003-07-25  Lluis Sanchez Gual <lluis@ximian.com>
 
        * RemotingProxy.cs: Check the return arguments types. (a wrong type
index e5e218cc869272e0076e1ec39ad43d1fa0c48243..756a816339ec8f59d25dc611891aa176f9b942b5 100644 (file)
@@ -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;
index bf520e8b604fecbc635ed6ff6fce8b1e60c7745d..7309eb923bbce4c6205d4d0e7d8b8a803708a7d2 100755 (executable)
@@ -172,7 +172,7 @@ namespace System.Runtime.Serialization.Formatters.Binary {
                        writer.Flush();
                }
 \r
-               public void WriteBinaryHeader (BinaryWriter writer, bool hasHeaders)\r
+               private void WriteBinaryHeader (BinaryWriter writer, bool hasHeaders)\r
                {\r
                        writer.Write ((byte)BinaryElement.Header);\r
                        writer.Write ((int)1);\r
index bd9c7d1874a5dededa8755f037d43344aeb0affe..b8fb4fb89a05087d5525f3689b8a23e9685620ef 100755 (executable)
@@ -1,3 +1,8 @@
+2003-07-28  Duncan Mak  <duncan@ximian.com>
+
+       * BinaryFormatter.cs (WriteBinaryHeader): changed from public to
+       private.
+
 2003-07-25  Lluis Sanchez Gual <lluis@ximian.com>
 
     * MessageFormatter.cs: WriteMethodCall(): It must write all parameters,
index cfe16471f9696e3dfe20a29cb5e5d5a9f791747f..eaa49d9b5c71e932b936704632891b421fefdb2c 100644 (file)
@@ -1,3 +1,7 @@
+2003-07-28  Duncan Mak  <duncan@ximian.com>
+
+       * Formatter.cs (WriteSByte): Added CLSCompliant attribute.
+
 2003-07-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * FormatterServices.cs:
index 4164d5ed3b4d6d8e9c8b6788f4a7da3efb833869..4c4d79626cf9c3d5d1843a9f679c239b8707e166 100755 (executable)
@@ -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);