-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.Runtime.InteropServices.uMemberInfo.Ref is access;
with type MSSyst.Reflection.ICustomAttributeProvider.Ref is access;
with type MSSyst.Runtime.InteropServices.uMethodBase.Ref is access;
with type MSSyst.Runtime.InteropServices.uMethodInfo.Ref is access;
with type MSSyst.Runtime.InteropServices.uMethodBuilder.Ref is access;
with MSSyst.Security.Permissions.SecurityAction;
with type MSSyst.Security.PermissionSet.Ref is access;
with type MSSyst.Reflection.Emit.ParameterBuilder.Ref is access;
with MSSyst.Reflection.ParameterAttributes;
with type MSSyst.String.Ref is access;
with type MSSyst.Object.Ref is access;
with MSSyst.Reflection.MethodAttributes;
with MSSyst.Reflection.CallingConventions;
with type MSSyst.Type_k.Ref is access;
with MSSyst.Reflection.MemberTypes;
with type MSSyst.RuntimeMethodHandle.Valuetype is tagged;
with type MSSyst.Reflection.MethodInfo.Ref is access;
with type MSSyst.Object.Ref_array is access;
with type MSSyst.Reflection.Emit.ILGenerator.Ref is access;
with MSSyst.Reflection.MethodImplAttributes;
with type MSSyst.Reflection.Module.Ref is access;
with type MSSyst.Reflection.ParameterInfo.Ref_array is access;
with type MSSyst.Reflection.Emit.MethodToken.Valuetype is tagged;
with MSSyst.Reflection.BindingFlags;
with type MSSyst.Reflection.Binder.Ref is access;
with type MSSyst.Globalization.CultureInfo.Ref is access;
with type MSSyst.Reflection.ConstructorInfo.Ref is access;
with type MSSyst.Reflection.Emit.CustomAttributeBuilder.Ref is access;
with type MSSyst.Reflection.Emit.UnmanagedMarshal.Ref is access;
with MSSyst.Reflection.MethodInfo;
package MSSyst.Reflection.Emit.MethodBuilder is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ(
         I_uMemberInfo : MSSyst.Runtime.InteropServices.uMemberInfo.Ref;
         I_ICustomAttributeProvider : MSSyst.Reflection.ICustomAttributeProvider.Ref;
         I_uMethodBase : MSSyst.Runtime.InteropServices.uMethodBase.Ref;
         I_uMethodInfo : MSSyst.Runtime.InteropServices.uMethodInfo.Ref;
         I_uMethodBuilder : MSSyst.Runtime.InteropServices.uMethodBuilder.Ref
      ) is new MSSyst.Reflection.MethodInfo.Typ(
         I_uMemberInfo => I_uMemberInfo,
         I_ICustomAttributeProvider => I_ICustomAttributeProvider,
         I_uMethodBase => I_uMethodBase,
         I_uMethodInfo => I_uMethodInfo
      ) with record
      null;
   end record;
   procedure AddDeclarativeSecurity(
      This : access Typ;
      action : MSSyst.Security.Permissions.SecurityAction.Valuetype;
      pset : MSSyst.Security.PermissionSet.Ref);
   procedure CreateMethodBody(
      This : access Typ;
      il : MSIL_Types.unsigned_int8_Arr;
      count : Integer);
   function DefineParameter(
      This : access Typ;
      position : Integer;
      attributes : MSSyst.Reflection.ParameterAttributes.Valuetype;
      strParamName : MSSyst.String.Ref) return MSSyst.Reflection.Emit.ParameterBuilder.Ref;
   function Equals(
      This : access Typ;
      obj : MSSyst.Object.Ref) return Standard.Boolean;
   function get_Attributes(
      This : access Typ) return MSSyst.Reflection.MethodAttributes.Valuetype;
   function get_CallingConvention(
      This : access Typ) return MSSyst.Reflection.CallingConventions.Valuetype;
   function get_DeclaringType(
      This : access Typ) return MSSyst.Type_k.Ref;
   function get_InitLocals(
      This : access Typ) return Standard.Boolean;
   function get_MethodHandle(
      This : access Typ) return MSSyst.RuntimeMethodHandle.Valuetype;
   function get_Name(
      This : access Typ) return MSSyst.String.Ref;
   function get_ReflectedType(
      This : access Typ) return MSSyst.Type_k.Ref;
   function get_ReturnType(
      This : access Typ) return MSSyst.Type_k.Ref;
   function get_ReturnTypeCustomAttributes(
      This : access Typ) return MSSyst.Reflection.ICustomAttributeProvider.Ref;
   function get_Signature(
      This : access Typ) return MSSyst.String.Ref;
   function GetBaseDefinition(
      This : access Typ) return MSSyst.Reflection.MethodInfo.Ref;
   function GetCustomAttributes(
      This : access Typ;
      inherit : Standard.Boolean) return MSSyst.Object.Ref_array;
   function GetCustomAttributes(
      This : access Typ;
      attributeType : MSSyst.Type_k.Ref;
      inherit : Standard.Boolean) return MSSyst.Object.Ref_array;
   function GetHashCode(
      This : access Typ) return Integer;
   function GetILGenerator(
      This : access Typ) return MSSyst.Reflection.Emit.ILGenerator.Ref;
   function GetILGenerator(
      This : access Typ;
      size : Integer) return MSSyst.Reflection.Emit.ILGenerator.Ref;
   function GetMethodImplementationFlags(
      This : access Typ) return MSSyst.Reflection.MethodImplAttributes.Valuetype;
   function GetModule(
      This : access Typ) return MSSyst.Reflection.Module.Ref;
   function GetParameters(
      This : access Typ) return MSSyst.Reflection.ParameterInfo.Ref_array;
   function GetToken(
      This : access Typ) return MSSyst.Reflection.Emit.MethodToken.Valuetype;
   function Invoke(
      This : access Typ;
      obj : MSSyst.Object.Ref;
      invokeAttr : MSSyst.Reflection.BindingFlags.Valuetype;
      binder : MSSyst.Reflection.Binder.Ref;
      parameters : MSSyst.Object.Ref_array;
      culture : MSSyst.Globalization.CultureInfo.Ref) return MSSyst.Object.Ref;
   function IsDefined(
      This : access Typ;
      attributeType : MSSyst.Type_k.Ref;
      inherit : Standard.Boolean) return Standard.Boolean;
   procedure set_InitLocals(
      This : access Typ;
      value : Standard.Boolean);
   procedure SetCustomAttribute(
      This : access Typ;
      con : MSSyst.Reflection.ConstructorInfo.Ref;
      binaryAttribute : MSIL_Types.unsigned_int8_Arr);
   procedure SetCustomAttribute(
      This : access Typ;
      customBuilder : MSSyst.Reflection.Emit.CustomAttributeBuilder.Ref);
   procedure SetImplementationFlags(
      This : access Typ;
      attributes : MSSyst.Reflection.MethodImplAttributes.Valuetype);
   procedure SetMarshal(
      This : access Typ;
      unmanagedMarshal : MSSyst.Reflection.Emit.UnmanagedMarshal.Ref);
   procedure SetSymCustomAttribute(
      This : access Typ;
      name : MSSyst.String.Ref;
      data : MSIL_Types.unsigned_int8_Arr);
   function ToString(
      This : access Typ) return MSSyst.String.Ref;
private
   pragma Convention(MSIL,Typ);
   pragma Import(MSIL,AddDeclarativeSecurity,"AddDeclarativeSecurity");
   pragma Import(MSIL,CreateMethodBody,"CreateMethodBody");
   pragma Import(MSIL,DefineParameter,"DefineParameter");
   pragma Import(MSIL,Equals,"Equals");
   pragma Import(MSIL,get_Attributes,"get_Attributes");
   pragma Import(MSIL,get_CallingConvention,"get_CallingConvention");
   pragma Import(MSIL,get_DeclaringType,"get_DeclaringType");
   pragma Import(MSIL,get_InitLocals,"get_InitLocals");
   pragma Import(MSIL,get_MethodHandle,"get_MethodHandle");
   pragma Import(MSIL,get_Name,"get_Name");
   pragma Import(MSIL,get_ReflectedType,"get_ReflectedType");
   pragma Import(MSIL,get_ReturnType,"get_ReturnType");
   pragma Import(MSIL,get_ReturnTypeCustomAttributes,"get_ReturnTypeCustomAttributes");
   pragma Import(MSIL,get_Signature,"get_Signature");
   pragma Import(MSIL,GetBaseDefinition,"GetBaseDefinition");
   pragma Import(MSIL,GetCustomAttributes,"GetCustomAttributes");
   pragma Import(MSIL,GetHashCode,"GetHashCode");
   pragma Import(MSIL,GetILGenerator,"GetILGenerator");
   pragma Import(MSIL,GetMethodImplementationFlags,"GetMethodImplementationFlags");
   pragma Import(MSIL,GetModule,"GetModule");
   pragma Import(MSIL,GetParameters,"GetParameters");
   pragma Import(MSIL,GetToken,"GetToken");
   pragma Import(MSIL,Invoke,"Invoke");
   pragma Import(MSIL,IsDefined,"IsDefined");
   pragma Import(MSIL,set_InitLocals,"set_InitLocals");
   pragma Import(MSIL,SetCustomAttribute,"SetCustomAttribute");
   pragma Import(MSIL,SetImplementationFlags,"SetImplementationFlags");
   pragma Import(MSIL,SetMarshal,"SetMarshal");
   pragma Import(MSIL,SetSymCustomAttribute,"SetSymCustomAttribute");
   pragma Import(MSIL,ToString,"ToString");
end MSSyst.Reflection.Emit.MethodBuilder;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Reflection.Emit.MethodBuilder,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.Reflection.Emit.MethodBuilder");
