-- 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.uAttribute.Ref is access;
with type MSSyst.Security.IPermission.Ref is access;
with type MSSyst.Object.Ref is access;
with MSSyst.Security.Permissions.SecurityAction;
with type MSSyst.String.Ref is access;
with type MSSyst.Type_k.Ref is access;
with MSSyst.Security.Permissions.CodeAccessSecurityAttribute;
package MSSyst.Security.Permissions.RegistryPermissionAttribute 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.Security.Permissions.CodeAccessSecurityAttribute.Typ(
         I_uAttribute => I_uAttribute
      ) with record
      null;
   end record;
   function new_RegistryPermissionAttribute(
      This : Ref := null;
      action : MSSyst.Security.Permissions.SecurityAction.Valuetype) return Ref;
   function CreatePermission(
      This : access Typ) return MSSyst.Security.IPermission.Ref;
   function get_All(
      This : access Typ) return MSSyst.String.Ref;
   function get_Create(
      This : access Typ) return MSSyst.String.Ref;
   function get_Read(
      This : access Typ) return MSSyst.String.Ref;
   function get_Write(
      This : access Typ) return MSSyst.String.Ref;
   procedure set_All(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_Create(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_Read(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_Write(
      This : access Typ;
      value : MSSyst.String.Ref);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_RegistryPermissionAttribute);
   pragma Import(MSIL,CreatePermission,"CreatePermission");
   pragma Import(MSIL,get_All,"get_All");
   pragma Import(MSIL,get_Create,"get_Create");
   pragma Import(MSIL,get_Read,"get_Read");
   pragma Import(MSIL,get_Write,"get_Write");
   pragma Import(MSIL,set_All,"set_All");
   pragma Import(MSIL,set_Create,"set_Create");
   pragma Import(MSIL,set_Read,"set_Read");
   pragma Import(MSIL,set_Write,"set_Write");
end MSSyst.Security.Permissions.RegistryPermissionAttribute;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Security.Permissions.RegistryPermissionAttribute,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.Security.Permissions.RegistryPermissionAttribute");
