-- 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.Collections.IDictionary.Ref is access;
with type MSSyst.Collections.ICollection.Ref is access;
with type MSSyst.Collections.IEnumerable.Ref is access;
with type MSSyst.ICloneable.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Array_k.Ref is access;
with type MSSyst.Collections.IDictionaryEnumerator.Ref is access;
with type MSSyst.Collections.IList.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.Collections.IComparer.Ref is access;
with MSSyst.Object;
package MSSyst.Collections.SortedList 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_IDictionary : MSSyst.Collections.IDictionary.Ref;
         I_ICollection : MSSyst.Collections.ICollection.Ref;
         I_IEnumerable : MSSyst.Collections.IEnumerable.Ref;
         I_ICloneable : MSSyst.ICloneable.Ref
      ) is new MSSyst.Object.Typ with record
      null;
   end record;
   function new_SortedList(
      This : Ref := null) return Ref;
   function new_SortedList(
      This : Ref := null;
      initialCapacity : Integer) return Ref;
   function new_SortedList(
      This : Ref := null;
      comparer : MSSyst.Collections.IComparer.Ref) return Ref;
   function new_SortedList(
      This : Ref := null;
      comparer : MSSyst.Collections.IComparer.Ref;
      capacity : Integer) return Ref;
   function new_SortedList(
      This : Ref := null;
      d : MSSyst.Collections.IDictionary.Ref) return Ref;
   function new_SortedList(
      This : Ref := null;
      d : MSSyst.Collections.IDictionary.Ref;
      comparer : MSSyst.Collections.IComparer.Ref) return Ref;
   procedure Add(
      This : access Typ;
      key : MSSyst.Object.Ref;
      value : MSSyst.Object.Ref);
   procedure Clear(
      This : access Typ);
   function Clone(
      This : access Typ) return MSSyst.Object.Ref;
   function Contains(
      This : access Typ;
      key : MSSyst.Object.Ref) return Standard.Boolean;
   function ContainsKey(
      This : access Typ;
      key : MSSyst.Object.Ref) return Standard.Boolean;
   function ContainsValue(
      This : access Typ;
      value : MSSyst.Object.Ref) return Standard.Boolean;
   procedure CopyTo(
      This : access Typ;
      array_k : MSSyst.Array_k.Ref;
      arrayIndex : Integer);
   function get_Capacity(
      This : access Typ) return Integer;
   function get_Count(
      This : access Typ) return Integer;
   function get_IsFixedSize(
      This : access Typ) return Standard.Boolean;
   function get_IsReadOnly(
      This : access Typ) return Standard.Boolean;
   function get_IsSynchronized(
      This : access Typ) return Standard.Boolean;
   function get_Item(
      This : access Typ;
      key : MSSyst.Object.Ref) return MSSyst.Object.Ref;
   function get_Keys(
      This : access Typ) return MSSyst.Collections.ICollection.Ref;
   function get_SyncRoot(
      This : access Typ) return MSSyst.Object.Ref;
   function get_Values(
      This : access Typ) return MSSyst.Collections.ICollection.Ref;
   function GetByIndex(
      This : access Typ;
      index : Integer) return MSSyst.Object.Ref;
   function GetEnumerator(
      This : access Typ) return MSSyst.Collections.IDictionaryEnumerator.Ref;
   function GetKey(
      This : access Typ;
      index : Integer) return MSSyst.Object.Ref;
   function GetKeyList(
      This : access Typ) return MSSyst.Collections.IList.Ref;
   function GetValueList(
      This : access Typ) return MSSyst.Collections.IList.Ref;
   function IndexOfKey(
      This : access Typ;
      key : MSSyst.Object.Ref) return Integer;
   function IndexOfValue(
      This : access Typ;
      value : MSSyst.Object.Ref) return Integer;
   procedure Remove(
      This : access Typ;
      key : MSSyst.Object.Ref);
   procedure RemoveAt(
      This : access Typ;
      index : Integer);
   procedure set_Capacity(
      This : access Typ;
      value : Integer);
   procedure set_Item(
      This : access Typ;
      key : MSSyst.Object.Ref;
      value : MSSyst.Object.Ref);
   procedure SetByIndex(
      This : access Typ;
      index : Integer;
      value : MSSyst.Object.Ref);
   function Synchronized(
      list : MSSyst.Collections.SortedList.Ref) return MSSyst.Collections.SortedList.Ref;
   procedure TrimToSize(
      This : access Typ);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_SortedList);
   pragma Import(MSIL,Add,"Add");
   pragma Import(MSIL,Clear,"Clear");
   pragma Import(MSIL,Clone,"Clone");
   pragma Import(MSIL,Contains,"Contains");
   pragma Import(MSIL,ContainsKey,"ContainsKey");
   pragma Import(MSIL,ContainsValue,"ContainsValue");
   pragma Import(MSIL,CopyTo,"CopyTo");
   pragma Import(MSIL,get_Capacity,"get_Capacity");
   pragma Import(MSIL,get_Count,"get_Count");
   pragma Import(MSIL,get_IsFixedSize,"get_IsFixedSize");
   pragma Import(MSIL,get_IsReadOnly,"get_IsReadOnly");
   pragma Import(MSIL,get_IsSynchronized,"get_IsSynchronized");
   pragma Import(MSIL,get_Item,"get_Item");
   pragma Import(MSIL,get_Keys,"get_Keys");
   pragma Import(MSIL,get_SyncRoot,"get_SyncRoot");
   pragma Import(MSIL,get_Values,"get_Values");
   pragma Import(MSIL,GetByIndex,"GetByIndex");
   pragma Import(MSIL,GetEnumerator,"GetEnumerator");
   pragma Import(MSIL,GetKey,"GetKey");
   pragma Import(MSIL,GetKeyList,"GetKeyList");
   pragma Import(MSIL,GetValueList,"GetValueList");
   pragma Import(MSIL,IndexOfKey,"IndexOfKey");
   pragma Import(MSIL,IndexOfValue,"IndexOfValue");
   pragma Import(MSIL,Remove,"Remove");
   pragma Import(MSIL,RemoveAt,"RemoveAt");
   pragma Import(MSIL,set_Capacity,"set_Capacity");
   pragma Import(MSIL,set_Item,"set_Item");
   pragma Import(MSIL,SetByIndex,"SetByIndex");
   pragma Import(MSIL,Synchronized,"Synchronized");
   pragma Import(MSIL,TrimToSize,"TrimToSize");
end MSSyst.Collections.SortedList;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Collections.SortedList,
   ".ver 1.0.5000.0 .publickeytoken=( 96 9d b8 05 3d 33 22 ac )",
   "[mscorlib]System.Collections.SortedList");
