[Mono-bugs] [Bug 80695][Nor] New - TcpListener.Server should be public

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Feb 1 06:10:36 EST 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 pawel.sakowski at mindbreeze.com.


--- shadow/80695	2007-02-01 06:10:36.000000000 -0500
+++ shadow/80695.tmp.31233	2007-02-01 06:10:36.000000000 -0500
@@ -0,0 +1,43 @@
+Bug#: 80695
+Product: Mono: Class Libraries
+Version: 1.2
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: pawel.sakowski at mindbreeze.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: TcpListener.Server should be public
+Description of Problem:
+System.Net.Sockets.TcpListener.Server is protected and should be public.
+Steps to reproduce the problem:
+1. Compile the following as library:
+using System.Net;
+using System.Net.Sockets;
+class X {
+object x = new TcpListener(IPAddress.Any,5555).Server;
+Actual Results:
+TcpListener-Server.cs(4,48): error CS0122:
+`System.Net.Sockets.TcpListener.Server' is inaccessible due to its
+protection level
+Expected Results:
+How often does this happen? 
+Additional Information:
+In MS Framework 2.0 the property is public.

More information about the mono-bugs mailing list