View | Details | Raw Unified | Return to bug 194660 | Differences between
and this patch

Collapse All | Expand All

(-)mcs/class/System/System.Net.NetworkInformation/GatewayIPAddressInformationCollection.cs (-4 / +4 lines)
Lines 128-145 namespace System.Net.NetworkInformation Link Here
128
		}
128
		}
129
	}
129
	}
130
130
131
	class LinuxGatewayIPAddressInformationCollection : GatewayIPAddressInformationCollection
131
	class UnixGatewayIPAddressInformationCollection : GatewayIPAddressInformationCollection
132
	{
132
	{
133
		public static readonly LinuxGatewayIPAddressInformationCollection Empty = new LinuxGatewayIPAddressInformationCollection (true);
133
		public static readonly UnixGatewayIPAddressInformationCollection Empty = new UnixGatewayIPAddressInformationCollection (true);
134
134
135
		bool is_readonly;
135
		bool is_readonly;
136
136
137
		private LinuxGatewayIPAddressInformationCollection (bool isReadOnly)
137
		private UnixGatewayIPAddressInformationCollection (bool isReadOnly)
138
		{
138
		{
139
			this.is_readonly = isReadOnly;
139
			this.is_readonly = isReadOnly;
140
		}
140
		}
141
141
142
		public LinuxGatewayIPAddressInformationCollection (IPAddressCollection col)
142
		public UnixGatewayIPAddressInformationCollection (IPAddressCollection col)
143
		{
143
		{
144
			foreach (IPAddress a in col)
144
			foreach (IPAddress a in col)
145
				Add (new GatewayIPAddressInformationImpl (a));
145
				Add (new GatewayIPAddressInformationImpl (a));

Return to bug 194660