Properly check the maxstacksize asked for the Thread
[mono.git] / mcs / class / corlib / System.Threading / RegisteredWaitHandle.cs
index 62e349e648b1060b33c4877794da5cff0cff6efd..0293f44fc6327962e92c3c54a87b48089dff4431 100644 (file)
@@ -36,7 +36,10 @@ using System.Runtime.InteropServices;
 namespace System.Threading
 {
        [ComVisible (true)]
-       public sealed class RegisteredWaitHandle : MarshalByRefObject
+       public sealed class RegisteredWaitHandle
+#if !MOONLIGHT
+               : MarshalByRefObject
+#endif
        {
                WaitHandle _waitObject;
                WaitOrTimerCallback _callback;