* Makefile: Build the make-map.exe in Mono.Unix.Native; add /nowarn:0618 to
[mono.git] / mcs / class / Mono.Posix / Mono.Unix / UnixProcess.cs
index d8b4318e501baebc358f7744e297951795138dec..54b0906900281467c2bece03ba1751cd6d99019b 100644 (file)
@@ -77,6 +77,8 @@ namespace Mono.Unix {
                        }
                }
 
+               [CLSCompliant (false)]
+               [Obsolete ("The type of this property will change in the next release.")]
                public Signum TerminationSignal {
                        get {
                                if (!HasSignaled)
@@ -94,6 +96,8 @@ namespace Mono.Unix {
                        }
                }
 
+               [CLSCompliant (false)]
+               [Obsolete ("The type of this property will change in the next release.")]
                public Signum StopSignal {
                        get {
                                if (!HasStopped)
@@ -135,12 +139,21 @@ namespace Mono.Unix {
                        Signal (Signum.SIGKILL);
                }
 
+               [CLSCompliant (false)]
+               [Obsolete ("Use Signal (Mono.Unix.Native.Signum)")]
                public void Signal (Signum signal)
                {
                        int r = Syscall.kill (pid, signal);
                        UnixMarshal.ThrowExceptionForLastErrorIf (r);
                }
 
+               [CLSCompliant (false)]
+               public void Signal (Native.Signum signal)
+               {
+                       int r = Native.Syscall.kill (pid, signal);
+                       UnixMarshal.ThrowExceptionForLastErrorIf (r);
+               }
+
                public void WaitForExit ()
                {
                        int status;