Merge pull request #1843 from info-lvsys/patch-1
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _Thread.cs
index bad2ae063c89013dd743ac8838470d5ca8a43d60..68e647ba6553fa2d7128818c4c541ea053dfedae 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_1_1
-
 using System.Threading;
 
 namespace System.Runtime.InteropServices {
-#if NET_2_0
        [ComVisible (true)]
-#endif
        [CLSCompliant (false)]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
        [Guid ("C281C7F1-4AA9-3517-961A-463CFED57E75")]
+#if !FULL_AOT_RUNTIME
        [TypeLibImportClass (typeof (Thread))]
+#endif
        public interface _Thread {
 
                void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
@@ -51,5 +49,3 @@ namespace System.Runtime.InteropServices {
                        IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
        }
 }
-
-#endif