Merged pull request #58 from XTZGZoReX/master.
[mono.git] / mcs / class / corlib / System.Threading / LockCookie.cs
index 0d0fa9598ad27912cbfd102ed462bad81846d172..6fd05e807ac2b95bae1b055a49a628575e986826 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
 using System.Runtime.InteropServices;
-#endif
 
 namespace System.Threading
 {
-#if NET_2_0
        [ComVisible (true)]
-#else
-       [Serializable]
-#endif
        public struct LockCookie
        {
                internal int ThreadId;
@@ -61,7 +55,6 @@ namespace System.Threading
                        WriterLocks = writer_locks;
                }
 
-#if NET_2_0
                public override int GetHashCode ()
                {
                        return(base.GetHashCode ());
@@ -96,8 +89,6 @@ namespace System.Threading
                {
                        return !a.Equals (b);
                }
-#endif
-
        }
 }