-- 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.PrincipalPermissionAttribute 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_PrincipalPermissionAttribute(
      This : Ref := null;
      action : MSSyst.Security.Permissions.SecurityAction.Valuetype) return Ref;
   function CreatePermission(
      This : access Typ) return MSSyst.Security.IPermission.Ref;
   function get_Authenticated(
      This : access Typ) return Standard.Boolean;
   function get_Name(
      This : access Typ) return MSSyst.String.Ref;
   function get_Role(
      This : access Typ) return MSSyst.String.Ref;
   procedure set_Authenticated(
      This : access Typ;
      value : Standard.Boolean);
   procedure set_Name(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_Role(
      This : access Typ;
      value : MSSyst.String.Ref);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_PrincipalPermissionAttribute);
   pragma Import(MSIL,CreatePermission,"CreatePermission");
   pragma Import(MSIL,get_Authenticated,"get_Authenticated");
   pragma Import(MSIL,get_Name,"get_Name");
   pragma Import(MSIL,get_Role,"get_Role");
   pragma Import(MSIL,set_Authenticated,"set_Authenticated");
   pragma Import(MSIL,set_Name,"set_Name");
   pragma Import(MSIL,set_Role,"set_Role");
end MSSyst.Security.Permissions.PrincipalPermissionAttribute;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Security.Permissions.PrincipalPermissionAttribute,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.Security.Permissions.PrincipalPermissionAttribute");
