CrossAppDomainChannel.cs: Make _ContextID an object that fixes bug #422491.
[mono.git] / mcs / class / corlib / System.Runtime.Remoting.Channels / BaseChannelObjectWithProperties.cs
index 256b9a859735a9ba9e119e52189785647d46e2c1..0a8775e6f9d9a8f098c7486adcc072856e298ce7 100644 (file)
@@ -35,12 +35,20 @@ using System.Collections;
 namespace System.Runtime.Remoting.Channels
 {
 
+#if NET_2_0
+       [System.Runtime.InteropServices.ComVisible (true)]
+#endif
        public abstract class BaseChannelObjectWithProperties :
                IDictionary, ICollection, IEnumerable
        {
                Hashtable table;
                
-               public BaseChannelObjectWithProperties ()
+#if NET_2_0
+               protected
+#else
+               public
+#endif
+               BaseChannelObjectWithProperties ()
                {
                        table = new Hashtable ();
                }