Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / UCOMIEnumVARIANT.cs
index 649e2b9d6293a29a718d8dabd853b11e85b10508..dbe383e0c8054799af62ad8f27b1e7a145e10ef6 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-using System;
-
+#if !FULL_AOT_RUNTIME
 namespace System.Runtime.InteropServices
 {
+       [Obsolete]
+       [ComImport]
        [Guid ("00020404-0000-0000-c000-000000000046")]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
        public interface UCOMIEnumVARIANT
        {
-               void Clone (int ppenum);
+               [PreserveSig]
                int Next (int celt, int rgvar, int pceltFetched);
-               int Reset ();
+               [PreserveSig]
                int Skip (int celt);
+               [PreserveSig]
+               int Reset ();
+               void Clone (int ppenum);
        }
 }
+#endif