#endif
// Methods
+#if NET_2_0
+ [Obsolete ("This method has been deprecated", false)]
+#endif
[MonoTODO("Can we get this info under windows from the system?")]
public static WebProxy GetDefaultProxy ()
{
}
}
- void ISerializable.GetObjectData (SerializationInfo serializationInfo,
- StreamingContext streamingContext)
+#if NET_2_0
+ protected virtual
+#endif
+ void GetObjectData (SerializationInfo serializationInfo, StreamingContext streamingContext)
{
serializationInfo.AddValue ("_BypassOnLocal", bypassOnLocal);
serializationInfo.AddValue ("_ProxyAddress", address);
#endif
}
+ void ISerializable.GetObjectData (SerializationInfo serializationInfo,
+ StreamingContext streamingContext)
+ {
+ GetObjectData (serializationInfo, streamingContext);
+ }
+
// Private Methods
// this compiles the regular expressions, and will throw
// an exception when an invalid one is found.