Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / UCOMIEnumMoniker.cs
index 07acfc2388e0e7e4e2725a30d524674a53c361f1..bb0d59519eab22c455acec615ef90b6033615230 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !FULL_AOT_RUNTIME
 namespace System.Runtime.InteropServices
 {
-#if NET_2_0
        [Obsolete]
-#endif
        [ComImport]
        [Guid ("00000102-0000-0000-c000-000000000046")]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
@@ -45,3 +44,4 @@ namespace System.Runtime.InteropServices
                void Clone (out UCOMIEnumMoniker ppenum);
        }
 }
+#endif