2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / corlib / System / LocalDataStoreSlot.cs
index 288bf3ec511c5cfc33245c754b528b3334606934..721d3ca880e0bc8324c7b270b26d8e89edff04b2 100755 (executable)
@@ -7,17 +7,12 @@
 // (C) Ximian, Inc.  http://www.ximian.com
 //
 
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
 namespace System 
 {
        public sealed class LocalDataStoreSlot
        {
-               // Need to remove the thread system's data slot,
-               // therefore this internalcall is in the threads code
-               [MethodImplAttribute(MethodImplOptions.InternalCall)]
-               private extern void DataSlot_unregister();
-               
-               ~LocalDataStoreSlot() {
-                       DataSlot_unregister();
-               }
        }
 }