Merge pull request #1534 from haf/bugs/hmac-wrong-keysizes
[mono.git] / mcs / class / corlib / System.Reflection.Emit / MethodRental.cs
index d82ced5c3261ed522bf436ec120adf25d4c7c37b..b4bc04785229c75e78c391c082407cfae1c3b2ad 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !FULL_AOT_RUNTIME
 using System.Security.Permissions;
 using System.Runtime.InteropServices;
 
 namespace System.Reflection.Emit
 {
-#if NET_2_0
        [ComVisible (true)]
        [ComDefaultInterface (typeof (_MethodRental))]
-#endif
        [ClassInterface (ClassInterfaceType.None)]
        public sealed class MethodRental : _MethodRental {
 
@@ -83,3 +82,4 @@ namespace System.Reflection.Emit
        }
 }
 
+#endif