-- 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.Serialization.ISurrogateSelector.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.Runtime.Serialization.StreamingContext.Valuetype is tagged;
with type MSSyst.Runtime.Serialization.ISerializationSurrogate.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Runtime.Serialization.ISurrogateSelector.Ref_addrof is access;
with type MSSyst.String.Ref is access;
with MSSyst.Object;
package MSSyst.Runtime.Serialization.SurrogateSelector 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_ISurrogateSelector : MSSyst.Runtime.Serialization.ISurrogateSelector.Ref
      ) is new MSSyst.Object.Typ with record
      null;
   end record;
   function new_SurrogateSelector(
      This : Ref := null) return Ref;
   procedure AddSurrogate(
      This : access Typ;
      type_k : MSSyst.Type_k.Ref;
      context : MSSyst.Runtime.Serialization.StreamingContext.Valuetype;
      surrogate : MSSyst.Runtime.Serialization.ISerializationSurrogate.Ref);
   procedure ChainSelector(
      This : access Typ;
      selector : MSSyst.Runtime.Serialization.ISurrogateSelector.Ref);
   function GetNextSelector(
      This : access Typ) return MSSyst.Runtime.Serialization.ISurrogateSelector.Ref;
   function GetSurrogate(
      This : access Typ;
      type_k : MSSyst.Type_k.Ref;
      context : MSSyst.Runtime.Serialization.StreamingContext.Valuetype;
      selector : MSSyst.Runtime.Serialization.ISurrogateSelector.Ref_addrof) return MSSyst.Runtime.Serialization.ISerializationSurrogate.Ref;
   procedure RemoveSurrogate(
      This : access Typ;
      type_k : MSSyst.Type_k.Ref;
      context : MSSyst.Runtime.Serialization.StreamingContext.Valuetype);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_SurrogateSelector);
   pragma Import(MSIL,AddSurrogate,"AddSurrogate");
   pragma Import(MSIL,ChainSelector,"ChainSelector");
   pragma Import(MSIL,GetNextSelector,"GetNextSelector");
   pragma Import(MSIL,GetSurrogate,"GetSurrogate");
   pragma Import(MSIL,RemoveSurrogate,"RemoveSurrogate");
end MSSyst.Runtime.Serialization.SurrogateSelector;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Runtime.Serialization.SurrogateSelector,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.Runtime.Serialization.SurrogateSelector");
