-- 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.IO.Stream.Ref is access;
with type MSSyst.Text.Encoding.Ref is access;
with type MSSyst.IFormatProvider.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.Decimal.Valuetype is tagged;
with type MSSyst.Object.Ref_array is access;
with MSSyst.IO.TextWriter;
package MSSyst.IO.StreamWriter 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.TextWriter.Typ(
         I_IDisposable => I_IDisposable
      ) with record
      null;
   end record;
   Null_k : MSSyst.IO.StreamWriter.Ref;
   pragma Import(MSIL,Null_k,"Null");
   function new_StreamWriter(
      This : Ref := null;
      stream : MSSyst.IO.Stream.Ref) return Ref;
   function new_StreamWriter(
      This : Ref := null;
      stream : MSSyst.IO.Stream.Ref;
      encoding : MSSyst.Text.Encoding.Ref) return Ref;
   function new_StreamWriter(
      This : Ref := null;
      stream : MSSyst.IO.Stream.Ref;
      encoding : MSSyst.Text.Encoding.Ref;
      bufferSize : Integer) return Ref;
   function new_StreamWriter(
      This : Ref := null;
      path : MSSyst.String.Ref) return Ref;
   function new_StreamWriter(
      This : Ref := null;
      path : MSSyst.String.Ref;
      append : Standard.Boolean) return Ref;
   function new_StreamWriter(
      This : Ref := null;
      path : MSSyst.String.Ref;
      append : Standard.Boolean;
      encoding : MSSyst.Text.Encoding.Ref) return Ref;
   function new_StreamWriter(
      This : Ref := null;
      path : MSSyst.String.Ref;
      append : Standard.Boolean;
      encoding : MSSyst.Text.Encoding.Ref;
      bufferSize : Integer) return Ref;
   procedure Close(
      This : access Typ);
   procedure Flush(
      This : access Typ);
   function get_AutoFlush(
      This : access Typ) return Standard.Boolean;
   function get_BaseStream(
      This : access Typ) return MSSyst.IO.Stream.Ref;
   function get_Encoding(
      This : access Typ) return MSSyst.Text.Encoding.Ref;
   procedure set_AutoFlush(
      This : access Typ;
      value : Standard.Boolean);
   procedure Write(
      This : access Typ;
      buffer : MSIL_Types.Char_Arr);
   procedure Write(
      This : access Typ;
      value : Wide_Character);
   procedure Write(
      This : access Typ;
      buffer : MSIL_Types.Char_Arr;
      index : Integer;
      count : Integer);
   procedure Write(
      This : access Typ;
      value : MSSyst.String.Ref);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_StreamWriter);
   pragma Import(MSIL,Close,"Close");
   pragma Import(MSIL,Flush,"Flush");
   pragma Import(MSIL,get_AutoFlush,"get_AutoFlush");
   pragma Import(MSIL,get_BaseStream,"get_BaseStream");
   pragma Import(MSIL,get_Encoding,"get_Encoding");
   pragma Import(MSIL,set_AutoFlush,"set_AutoFlush");
   pragma Import(MSIL,Write,"Write");
end MSSyst.IO.StreamWriter;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.IO.StreamWriter,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.IO.StreamWriter");
