-- 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.Runtime.Remoting.Contexts.IContextAttribute.Ref is access;
with type MSSyst.Runtime.Remoting.Contexts.IContextProperty.Ref is access;
with type MSSyst.Runtime.Remoting.Contexts.IContributeServerContextSink.Ref is access;
with type MSSyst.Runtime.Remoting.Contexts.IContributeClientContextSink.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Runtime.Remoting.Contexts.Context.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.Runtime.Remoting.Messaging.IMessageSink.Ref is access;
with type MSSyst.Runtime.Remoting.Activation.IConstructionCallMessage.Ref is access;
with type MSSyst.Type_k.Ref is access;
with MSSyst.Runtime.Remoting.Contexts.ContextAttribute;
package MSSyst.Runtime.Remoting.Contexts.SynchronizationAttribute 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;
         I_IContextAttribute : MSSyst.Runtime.Remoting.Contexts.IContextAttribute.Ref;
         I_IContextProperty : MSSyst.Runtime.Remoting.Contexts.IContextProperty.Ref;
         I_IContributeServerContextSink : MSSyst.Runtime.Remoting.Contexts.IContributeServerContextSink.Ref;
         I_IContributeClientContextSink : MSSyst.Runtime.Remoting.Contexts.IContributeClientContextSink.Ref
      ) is new MSSyst.Runtime.Remoting.Contexts.ContextAttribute.Typ(
         I_uAttribute => I_uAttribute,
         I_IContextAttribute => I_IContextAttribute,
         I_IContextProperty => I_IContextProperty
      ) with record
      null;
   end record;
   NOT_SUPPORTED : Integer;
   pragma Import(MSIL,NOT_SUPPORTED,"NOT_SUPPORTED");
   SUPPORTED : Integer;
   pragma Import(MSIL,SUPPORTED,"SUPPORTED");
   REQUIRED : Integer;
   pragma Import(MSIL,REQUIRED,"REQUIRED");
   REQUIRES_NEW : Integer;
   pragma Import(MSIL,REQUIRES_NEW,"REQUIRES_NEW");
   function new_SynchronizationAttribute(
      This : Ref := null) return Ref;
   function new_SynchronizationAttribute(
      This : Ref := null;
      reEntrant : Standard.Boolean) return Ref;
   function new_SynchronizationAttribute(
      This : Ref := null;
      flag : Integer) return Ref;
   function new_SynchronizationAttribute(
      This : Ref := null;
      flag : Integer;
      reEntrant : Standard.Boolean) return Ref;
   function get_IsReEntrant(
      This : access Typ) return Standard.Boolean;
   function get_Locked(
      This : access Typ) return Standard.Boolean;
   function GetClientContextSink(
      This : access Typ;
      nextSink : MSSyst.Runtime.Remoting.Messaging.IMessageSink.Ref) return MSSyst.Runtime.Remoting.Messaging.IMessageSink.Ref;
   procedure GetPropertiesForNewContext(
      This : access Typ;
      ctorMsg : MSSyst.Runtime.Remoting.Activation.IConstructionCallMessage.Ref);
   function GetServerContextSink(
      This : access Typ;
      nextSink : MSSyst.Runtime.Remoting.Messaging.IMessageSink.Ref) return MSSyst.Runtime.Remoting.Messaging.IMessageSink.Ref;
   function IsContextOK(
      This : access Typ;
      ctx : MSSyst.Runtime.Remoting.Contexts.Context.Ref;
      msg : MSSyst.Runtime.Remoting.Activation.IConstructionCallMessage.Ref) return Standard.Boolean;
   procedure set_Locked(
      This : access Typ;
      value : Standard.Boolean);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_SynchronizationAttribute);
   pragma Import(MSIL,get_IsReEntrant,"get_IsReEntrant");
   pragma Import(MSIL,get_Locked,"get_Locked");
   pragma Import(MSIL,GetClientContextSink,"GetClientContextSink");
   pragma Import(MSIL,GetPropertiesForNewContext,"GetPropertiesForNewContext");
   pragma Import(MSIL,GetServerContextSink,"GetServerContextSink");
   pragma Import(MSIL,IsContextOK,"IsContextOK");
   pragma Import(MSIL,set_Locked,"set_Locked");
end MSSyst.Runtime.Remoting.Contexts.SynchronizationAttribute;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Runtime.Remoting.Contexts.SynchronizationAttribute,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.Runtime.Remoting.Contexts.SynchronizationAttribute");
