Author: spouliot
Date: 2008-02-03 13:29:17 -0500 (Sun, 03 Feb 2008)
New Revision: 94708

Modified:
   trunk/mcs/class/corlib/System.Threading/ChangeLog
   trunk/mcs/class/corlib/System.Threading/WaitHandle.cs
Log:
2008-02-03  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * WaitHandle.cs: Ifdef out some unused code (found by Gendarme).



Modified: trunk/mcs/class/corlib/System.Threading/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Threading/ChangeLog   2008-02-03 18:21:51 UTC 
(rev 94707)
+++ trunk/mcs/class/corlib/System.Threading/ChangeLog   2008-02-03 18:29:17 UTC 
(rev 94708)
@@ -1,3 +1,7 @@
+2008-02-03  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * WaitHandle.cs: Ifdef out some unused code (found by Gendarme).
+
 2008-01-06  Zoltan Varga  <[EMAIL PROTECTED]>
 
        * Thread.cs (set_CurrentCulture): If the culture is read-only, cache 
the result

Modified: trunk/mcs/class/corlib/System.Threading/WaitHandle.cs
===================================================================
--- trunk/mcs/class/corlib/System.Threading/WaitHandle.cs       2008-02-03 
18:21:51 UTC (rev 94707)
+++ trunk/mcs/class/corlib/System.Threading/WaitHandle.cs       2008-02-03 
18:29:17 UTC (rev 94708)
@@ -83,7 +83,8 @@
 #endif
                        }
                }
-
+#if false
+               // usage of property is commented - see above
                static bool IsSTAThread {
                        get {
                                bool isSTA = 
Thread.CurrentThread.ApartmentState ==
@@ -100,7 +101,7 @@
                                return isSTA;
                        }
                }
-               
+#endif
                public static bool WaitAll(WaitHandle[] waitHandles)
                {
                        CheckArray (waitHandles, true);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to