* Makefile: Build the make-map.exe in Mono.Unix.Native; add /nowarn:0618 to
[mono.git] / mcs / class / Mono.Posix / Mono.Unix / UnixGroupInfo.cs
index 9df96e9012ae2bd71a3449f68b939624c78b62fb..a057cbaf14c5a5dc5e67a30abb59c47a693ce2bf 100644 (file)
@@ -45,6 +45,7 @@ namespace Mono.Unix {
                                throw new ArgumentException (Locale.GetText ("invalid group name"), "group");
                }
 
+               [CLSCompliant (false)]
                public UnixGroupInfo (uint group)
                {
                        this.group = new Group ();
@@ -67,14 +68,21 @@ namespace Mono.Unix {
                        get {return group.gr_passwd;}
                }
 
+               [CLSCompliant (false)]
                public uint GroupId {
                        get {return group.gr_gid;}
                }
 
+               [Obsolete ("Use GetMembers()")]
                public string[] Members {
                        get {return group.gr_mem;}
                }
 
+               public string[] GetMembers ()
+               {
+                       return group.gr_mem;
+               }
+
                public override int GetHashCode ()
                {
                        return group.GetHashCode ();