// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+#if !FULL_AOT_RUNTIME
using System;
using System.Globalization;
using System.Reflection;
using System.Text;
+using System.Runtime.InteropServices;
+
namespace System.Reflection.Emit
{
/*
* This class represents a method of an instantiation of a generic type builder.
*/
+ [StructLayout (LayoutKind.Sequential)]
internal class MethodOnTypeBuilderInst : MethodInfo
{
#region Keep in sync with object-internals.h
}
}
+ public override Module Module {
+ get {
+ return base_method.Module;
+ }
+ }
+
public override bool IsDefined (Type attributeType, bool inherit)
{
throw new NotSupportedException ();
}
public override ParameterInfo [] GetParameters ()
+ {
+ return GetParametersInternal ();
+ }
+
+ internal override ParameterInfo [] GetParametersInternal ()
{
throw new NotSupportedException ();
}
}
}
- internal override int GetParameterCount ()
+ internal override int GetParametersCount ()
{
- return base_method.GetParameterCount ();
+ return base_method.GetParametersCount ();
}
public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
}
}
+#endif