Merge pull request #487 from mayerwin/patch-1
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / UCOMIStream.cs
index af69e805f2f4087398508b06e8844d0ff55efdbf..f3bf95b915e4b4255d28a86edf36485856d6cb0a 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-using System;
-using System.Runtime.InteropServices;
-
+#if !FULL_AOT_RUNTIME
 namespace System.Runtime.InteropServices
 {
-#if NET_2_0
        [Obsolete]
-#endif
        [ComImport]
        [Guid ("0000000c-0000-0000-c000-000000000046")]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
@@ -54,3 +50,4 @@ namespace System.Runtime.InteropServices
                void Clone (out UCOMIStream ppstm);
        }
 }
+#endif