2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / corlib / System.Reflection.Emit / MethodRental.cs
index 2d5e52a1d4e11bb6d474e419d6278043f7e746dd..d82ced5c3261ed522bf436ec120adf25d4c7c37b 100644 (file)
 //
 
 using System.Security.Permissions;
+using System.Runtime.InteropServices;
 
 namespace System.Reflection.Emit
 {
-       public sealed class MethodRental {
+#if NET_2_0
+       [ComVisible (true)]
+       [ComDefaultInterface (typeof (_MethodRental))]
+#endif
+       [ClassInterface (ClassInterfaceType.None)]
+       public sealed class MethodRental : _MethodRental {
 
                public const int JitImmediate = 1;
                public const int JitOnDemand = 0;
@@ -53,6 +59,27 @@ namespace System.Reflection.Emit
 
                        throw new NotImplementedException ();
                }
+
+               void _MethodRental.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               void _MethodRental.GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               void _MethodRental.GetTypeInfoCount (out uint pcTInfo)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               void _MethodRental.Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr)
+               {
+                       throw new NotImplementedException ();
+               }
+
        }
 }