Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / UCOMIEnumConnectionPoints.cs
index 6a4d38fd05d1de3f8297e44ae09fc3cdec21b17d..bb669b78e0d47ed47cdcf9dcd2befe3b6f13b757 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 ("b196b285-bab4-101a-b69c-00aa00341d07")]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
@@ -45,3 +44,4 @@ namespace System.Runtime.InteropServices
                void Clone (out UCOMIEnumConnectionPoints ppenum);
        }
 }
+#endif