[Mono-bugs] [Bug 79124][Wis] New - Mono.Unix.UnixGroupInfo cannot be serialized because it does not have a default public constructor

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Aug 20 17:53:58 EDT 2006


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 samjie at gmail.com.

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

--- shadow/79124	2006-08-20 17:53:58.000000000 -0400
+++ shadow/79124.tmp.8385	2006-08-20 17:53:58.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 79124
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Mono.POSIX
+AssignedTo: miguel at ximian.com                            
+ReportedBy: samjie at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono.Unix.UnixGroupInfo cannot be serialized because it does not have a default public constructor
+
+It is not possible to serialize eg Mono.Unix.UnixGroupInfo because there is
+no default public constructor for constructing copies. Thus code like this
+fails:
+
+    [WebMethod]
+    public UnixGroupInfo[] GetRealGroups()
+    {
+        return UnixGroupInfo.GetLocalGroups();
+    }
+
+This is likely by design, but I thought I'd raise the issue for
+consideration nonetheless.


More information about the mono-bugs mailing list