-- 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.IDisposable.Ref is access;
with type MSSyst.Runtime.Remoting.ObjRef.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.IO.TextReader;
package MSSyst.IO.StringReader 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_IDisposable : MSSyst.IDisposable.Ref
      ) is new MSSyst.IO.TextReader.Typ(
         I_IDisposable => I_IDisposable
      ) with record
      null;
   end record;
   function new_StringReader(
      This : Ref := null;
      s : MSSyst.String.Ref) return Ref;
   procedure Close(
      This : access Typ);
   function Peek(
      This : access Typ) return Integer;
   function Read(
      This : access Typ;
      buffer : MSIL_Types.Char_Arr;
      index : Integer;
      count : Integer) return Integer;
   function Read(
      This : access Typ) return Integer;
   function ReadLine(
      This : access Typ) return MSSyst.String.Ref;
   function ReadToEnd(
      This : access Typ) return MSSyst.String.Ref;
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_StringReader);
   pragma Import(MSIL,Close,"Close");
   pragma Import(MSIL,Peek,"Peek");
   pragma Import(MSIL,Read,"Read");
   pragma Import(MSIL,ReadLine,"ReadLine");
   pragma Import(MSIL,ReadToEnd,"ReadToEnd");
end MSSyst.IO.StringReader;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.IO.StringReader,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.IO.StringReader");
