\r
namespace System.Net \r
{\r
+#if MOONLIGHT\r
+ internal abstract class WebResponse : MarshalByRefObject, ISerializable, IDisposable {\r
+#else\r
[Serializable]\r
- public abstract class WebResponse : MarshalByRefObject, ISerializable, IDisposable\r
- {\r
+ public abstract class WebResponse : MarshalByRefObject, ISerializable, IDisposable {\r
+#endif\r
// Constructors\r
\r
protected WebResponse () { }\r
public virtual WebHeaderCollection Headers { \r
get { throw new NotSupportedException (); }\r
}\r
+\r
+ static Exception GetMustImplement ()\r
+ {\r
+ return new NotImplementedException ();\r
+ }\r
+ \r
+ [MonoTODO]\r
+ public virtual bool IsFromCache\r
+ {\r
+ get {\r
+ throw GetMustImplement ();\r
+ }\r
+ }\r
+ \r
+ [MonoTODO]\r
+ public virtual bool IsMutuallyAuthenticated\r
+ {\r
+ get {\r
+ throw GetMustImplement ();\r
+ }\r
+ }\r
\r
public virtual Uri ResponseUri { \r
get { throw new NotSupportedException (); }\r
{\r
Close ();\r
}\r
-#if TARGET_JVM //enable overrides for extenders\r
- public virtual void GetObjectData\r
-#else\r
+\r
void ISerializable.GetObjectData\r
-#endif\r
(SerializationInfo serializationInfo,\r
StreamingContext streamingContext)\r
{\r
throw new NotSupportedException ();\r
- } \r
+ }\r
+\r
+ [MonoTODO]\r
+ protected virtual void GetObjectData (SerializationInfo serializationInfo, StreamingContext streamingContext)\r
+ {\r
+ throw GetMustImplement ();\r
+ }\r
}\r
}\r