[Mono-bugs] [Bug 81309][Wis] New - Using Dictionary<string, object> for the IDictionary properties in TcpChannel fails

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Apr 4 04:59:30 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by michael.geramb at aon.at.

http://bugzilla.ximian.com/show_bug.cgi?id=81309

--- shadow/81309	2007-04-04 04:59:30.000000000 -0400
+++ shadow/81309.tmp.1318	2007-04-04 04:59:30.000000000 -0400
@@ -0,0 +1,35 @@
+Bug#: 81309
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: michael.geramb at aon.at               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Using Dictionary<string, object> for the IDictionary properties in TcpChannel fails
+
+Using a Dictionary<string, object> for the IDictionary properties 
+parameter in the TcpChannel failes. 
+
+e.g.
+
+BinaryServerFormatterSinkProvider formatter = new 
+BinaryServerFormatterSinkProvider();
+            formatter.TypeFilterLevel = 
+System.Runtime.Serialization.Formatters.TypeFilterLevel.Full;
+            Dictionary<string, object> properties = new 
+Dictionary<string, object>();
+            properties.Add("port", port);
+            TcpChannel channel = new TcpChannel(properties, null, 
+formatter);
+
+This code works with MS.NET but not with mono. Using a Hashtable instead 
+of the Dictionary<> works fine.


More information about the mono-bugs mailing list