-- 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.Object.Ref is access;
with type MSSyst.Object.Ref_addrof is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.Object;
package MSSyst.Threading.Interlocked 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 is new MSSyst.Object.Typ with record
      null;
   end record;
   function CompareExchange(
      location1 : MSIL_Types.Int32_addrof;
      value : Integer;
      comparand : Integer) return Integer;
   function CompareExchange(
      location1 : MSIL_Types.Float32_addrof;
      value : Float;
      comparand : Float) return Float;
   function CompareExchange(
      location1 : MSSyst.Object.Ref_addrof;
      value : MSSyst.Object.Ref;
      comparand : MSSyst.Object.Ref) return MSSyst.Object.Ref;
   function Decrement(
      location : MSIL_Types.Int64_addrof) return Long_Long_Integer;
   function Decrement(
      location : MSIL_Types.Int32_addrof) return Integer;
   function Exchange(
      location1 : MSIL_Types.Float32_addrof;
      value : Float) return Float;
   function Exchange(
      location1 : MSSyst.Object.Ref_addrof;
      value : MSSyst.Object.Ref) return MSSyst.Object.Ref;
   function Exchange(
      location1 : MSIL_Types.Int32_addrof;
      value : Integer) return Integer;
   function Increment(
      location : MSIL_Types.Int64_addrof) return Long_Long_Integer;
   function Increment(
      location : MSIL_Types.Int32_addrof) return Integer;
private
   pragma Convention(MSIL,Typ);
   pragma Import(MSIL,CompareExchange,"CompareExchange");
   pragma Import(MSIL,Decrement,"Decrement");
   pragma Import(MSIL,Exchange,"Exchange");
   pragma Import(MSIL,Increment,"Increment");
end MSSyst.Threading.Interlocked;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Threading.Interlocked,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.Threading.Interlocked");
