-- 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.Security.ISecurityEncodable.Ref is access;
with type MSSyst.Collections.ICollection.Ref is access;
with type MSSyst.Collections.IEnumerable.Ref is access;
with type MSSyst.Security.IStackWalk.Ref is access;
with type MSSyst.Runtime.Serialization.IDeserializationCallback.Ref is access;
with type MSSyst.Security.IPermission.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.Array_k.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Security.SecurityElement.Ref is access;
with type MSSyst.Collections.IEnumerator.Ref is access;
with type MSSyst.Type_k.Ref is access;
with MSSyst.Security.Permissions.PermissionState;
with MSSyst.Object;
package MSSyst.Security.PermissionSet 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_ISecurityEncodable : MSSyst.Security.ISecurityEncodable.Ref;
         I_ICollection : MSSyst.Collections.ICollection.Ref;
         I_IEnumerable : MSSyst.Collections.IEnumerable.Ref;
         I_IStackWalk : MSSyst.Security.IStackWalk.Ref;
         I_IDeserializationCallback : MSSyst.Runtime.Serialization.IDeserializationCallback.Ref
      ) is new MSSyst.Object.Typ with record
      null;
   end record;
   function new_PermissionSet(
      This : Ref := null;
      state : MSSyst.Security.Permissions.PermissionState.Valuetype) return Ref;
   function new_PermissionSet(
      This : Ref := null;
      permSet : MSSyst.Security.PermissionSet.Ref) return Ref;
   function AddPermission(
      This : access Typ;
      perm : MSSyst.Security.IPermission.Ref) return MSSyst.Security.IPermission.Ref;
   procedure Assert(
      This : access Typ);
   function ContainsNonCodeAccessPermissions(
      This : access Typ) return Standard.Boolean;
   function ConvertPermissionSet(
      inFormat : MSSyst.String.Ref;
      inData : MSIL_Types.unsigned_int8_Arr;
      outFormat : MSSyst.String.Ref) return MSIL_Types.unsigned_int8_Array;
   function Copy(
      This : access Typ) return MSSyst.Security.PermissionSet.Ref;
   procedure CopyTo(
      This : access Typ;
      array_k : MSSyst.Array_k.Ref;
      index : Integer);
   procedure Demand(
      This : access Typ);
   procedure Deny(
      This : access Typ);
   procedure FromXml(
      This : access Typ;
      et : MSSyst.Security.SecurityElement.Ref);
   function get_Count(
      This : access Typ) return Integer;
   function get_IsReadOnly(
      This : access Typ) return Standard.Boolean;
   function get_IsSynchronized(
      This : access Typ) return Standard.Boolean;
   function get_SyncRoot(
      This : access Typ) return MSSyst.Object.Ref;
   function GetEnumerator(
      This : access Typ) return MSSyst.Collections.IEnumerator.Ref;
   function GetPermission(
      This : access Typ;
      permClass : MSSyst.Type_k.Ref) return MSSyst.Security.IPermission.Ref;
   function Intersect(
      This : access Typ;
      other : MSSyst.Security.PermissionSet.Ref) return MSSyst.Security.PermissionSet.Ref;
   function IsEmpty(
      This : access Typ) return Standard.Boolean;
   function IsSubsetOf(
      This : access Typ;
      target : MSSyst.Security.PermissionSet.Ref) return Standard.Boolean;
   function IsUnrestricted(
      This : access Typ) return Standard.Boolean;
   procedure PermitOnly(
      This : access Typ);
   function RemovePermission(
      This : access Typ;
      permClass : MSSyst.Type_k.Ref) return MSSyst.Security.IPermission.Ref;
   function SetPermission(
      This : access Typ;
      perm : MSSyst.Security.IPermission.Ref) return MSSyst.Security.IPermission.Ref;
   function ToString(
      This : access Typ) return MSSyst.String.Ref;
   function ToXml(
      This : access Typ) return MSSyst.Security.SecurityElement.Ref;
   function Union(
      This : access Typ;
      other : MSSyst.Security.PermissionSet.Ref) return MSSyst.Security.PermissionSet.Ref;
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_PermissionSet);
   pragma Import(MSIL,AddPermission,"AddPermission");
   pragma Import(MSIL,Assert,"Assert");
   pragma Import(MSIL,ContainsNonCodeAccessPermissions,"ContainsNonCodeAccessPermissions");
   pragma Import(MSIL,ConvertPermissionSet,"ConvertPermissionSet");
   pragma Import(MSIL,Copy,"Copy");
   pragma Import(MSIL,CopyTo,"CopyTo");
   pragma Import(MSIL,Demand,"Demand");
   pragma Import(MSIL,Deny,"Deny");
   pragma Import(MSIL,FromXml,"FromXml");
   pragma Import(MSIL,get_Count,"get_Count");
   pragma Import(MSIL,get_IsReadOnly,"get_IsReadOnly");
   pragma Import(MSIL,get_IsSynchronized,"get_IsSynchronized");
   pragma Import(MSIL,get_SyncRoot,"get_SyncRoot");
   pragma Import(MSIL,GetEnumerator,"GetEnumerator");
   pragma Import(MSIL,GetPermission,"GetPermission");
   pragma Import(MSIL,Intersect,"Intersect");
   pragma Import(MSIL,IsEmpty,"IsEmpty");
   pragma Import(MSIL,IsSubsetOf,"IsSubsetOf");
   pragma Import(MSIL,IsUnrestricted,"IsUnrestricted");
   pragma Import(MSIL,PermitOnly,"PermitOnly");
   pragma Import(MSIL,RemovePermission,"RemovePermission");
   pragma Import(MSIL,SetPermission,"SetPermission");
   pragma Import(MSIL,ToString,"ToString");
   pragma Import(MSIL,ToXml,"ToXml");
   pragma Import(MSIL,Union,"Union");
end MSSyst.Security.PermissionSet;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Security.PermissionSet,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.Security.PermissionSet");
