-- 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 MSSyst.Runtime.InteropServices.VarEnum;
with type MSSyst.Type_k.Ref is access;
with MSSyst.Runtime.InteropServices.UnmanagedType;
with type MSSyst.String.Ref is access;
with type MSSyst.Runtime.InteropServices.uAttribute.Ref is access;
with type MSSyst.Object.Ref is access;
with MSSyst.Attribute;
package MSSyst.Runtime.InteropServices.MarshalAsAttribute 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_uAttribute : MSSyst.Runtime.InteropServices.uAttribute.Ref
      ) is new MSSyst.Attribute.Typ(
         I_uAttribute => I_uAttribute
      ) with record
      SafeArraySubType : MSSyst.Runtime.InteropServices.VarEnum.Valuetype;
      pragma Import(MSIL,SafeArraySubType,"SafeArraySubType");
      SafeArrayUserDefinedSubType : MSSyst.Type_k.Ref;
      pragma Import(MSIL,SafeArrayUserDefinedSubType,"SafeArrayUserDefinedSubType");
      ArraySubType : MSSyst.Runtime.InteropServices.UnmanagedType.Valuetype;
      pragma Import(MSIL,ArraySubType,"ArraySubType");
      SizeParamIndex : MSIL_Types.int16;
      pragma Import(MSIL,SizeParamIndex,"SizeParamIndex");
      SizeConst : Integer;
      pragma Import(MSIL,SizeConst,"SizeConst");
      MarshalType : MSSyst.String.Ref;
      pragma Import(MSIL,MarshalType,"MarshalType");
      MarshalTypeRef : MSSyst.Type_k.Ref;
      pragma Import(MSIL,MarshalTypeRef,"MarshalTypeRef");
      MarshalCookie : MSSyst.String.Ref;
      pragma Import(MSIL,MarshalCookie,"MarshalCookie");
   end record;
   function new_MarshalAsAttribute(
      This : Ref := null;
      unmanagedType : MSSyst.Runtime.InteropServices.UnmanagedType.Valuetype) return Ref;
   function new_MarshalAsAttribute(
      This : Ref := null;
      unmanagedType : MSIL_Types.int16) return Ref;
   function get_Value(
      This : access Typ) return MSSyst.Runtime.InteropServices.UnmanagedType.Valuetype;
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_MarshalAsAttribute);
   pragma Import(MSIL,get_Value,"get_Value");
end MSSyst.Runtime.InteropServices.MarshalAsAttribute;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Runtime.InteropServices.MarshalAsAttribute,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.Runtime.InteropServices.MarshalAsAttribute");
