-- 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.Net.EndPoint.Ref is access;
with type MSSyst.Net.SocketAddress.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Net.IPAddress.Ref is access;
with MSSyst.Net.Sockets.AddressFamily;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.Net.EndPoint;
package MSSyst.Net.IPEndPoint 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.Net.EndPoint.Typ with record
      null;
   end record;
   MinPort : Integer;
   pragma Import(MSIL,MinPort,"MinPort");
   MaxPort : Integer;
   pragma Import(MSIL,MaxPort,"MaxPort");
   function new_IPEndPoint(
      This : Ref := null;
      address : Long_Long_Integer;
      port : Integer) return Ref;
   function new_IPEndPoint(
      This : Ref := null;
      address : MSSyst.Net.IPAddress.Ref;
      port : Integer) return Ref;
   function Create(
      This : access Typ;
      socketAddress : MSSyst.Net.SocketAddress.Ref) return MSSyst.Net.EndPoint.Ref;
   function Equals(
      This : access Typ;
      comparand : MSSyst.Object.Ref) return Standard.Boolean;
   function get_Address(
      This : access Typ) return MSSyst.Net.IPAddress.Ref;
   function get_AddressFamily(
      This : access Typ) return MSSyst.Net.Sockets.AddressFamily.Valuetype;
   function get_Port(
      This : access Typ) return Integer;
   function GetHashCode(
      This : access Typ) return Integer;
   function Serialize(
      This : access Typ) return MSSyst.Net.SocketAddress.Ref;
   procedure set_Address(
      This : access Typ;
      value : MSSyst.Net.IPAddress.Ref);
   procedure set_Port(
      This : access Typ;
      value : Integer);
   function ToString(
      This : access Typ) return MSSyst.String.Ref;
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_IPEndPoint);
   pragma Import(MSIL,Create,"Create");
   pragma Import(MSIL,Equals,"Equals");
   pragma Import(MSIL,get_Address,"get_Address");
   pragma Import(MSIL,get_AddressFamily,"get_AddressFamily");
   pragma Import(MSIL,get_Port,"get_Port");
   pragma Import(MSIL,GetHashCode,"GetHashCode");
   pragma Import(MSIL,Serialize,"Serialize");
   pragma Import(MSIL,set_Address,"set_Address");
   pragma Import(MSIL,set_Port,"set_Port");
   pragma Import(MSIL,ToString,"ToString");
end MSSyst.Net.IPEndPoint;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Net.IPEndPoint,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System]System.Net.IPEndPoint");
