//
// (C) 2001 Ximian, Inc. http://www.ximian.com
// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
+// Copyright 2011 Xamarin Inc (http://www.xamarin.com).
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
using System.Diagnostics;
using System.Globalization;
+#if !FULL_AOT_RUNTIME
using System.Reflection.Emit;
+#endif
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
throw new NotImplementedException ("must be implemented");
}
+ internal virtual Type GetParameterType (int pos) {
+ throw new NotImplementedException ();
+ }
+
[DebuggerHidden]
[DebuggerStepThrough]
public Object Invoke(Object obj, Object[] parameters) {
}
internal virtual int get_next_table_index (object obj, int table, bool inc) {
+#if !FULL_AOT_RUNTIME
if (this is MethodBuilder) {
MethodBuilder mb = (MethodBuilder)this;
return mb.get_next_table_index (obj, table, inc);
ConstructorBuilder mb = (ConstructorBuilder)this;
return mb.get_next_table_index (obj, table, inc);
}
+#endif
throw new Exception ("Method is not a builder method");
}
throw new NotSupportedException ();
}
-
#if NET_4_0
public override bool Equals (object obj)
{
return true;
return !left.Equals (right);
}
+
+ public virtual bool IsSecurityCritical {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public virtual bool IsSecuritySafeCritical {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public virtual bool IsSecurityTransparent {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
#endif
void _MethodBase.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)