You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.100
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
parent
0a9828183b
commit
7d7f676260
@ -48,12 +48,11 @@ namespace System.Net
|
||||
int write_timeout;
|
||||
internal bool IgnoreIOErrors;
|
||||
|
||||
protected WebConnectionStream (WebConnection cnc, WebOperation operation, Stream stream)
|
||||
protected WebConnectionStream (WebConnection cnc, WebOperation operation)
|
||||
{
|
||||
Connection = cnc;
|
||||
Operation = operation;
|
||||
Request = operation.Request;
|
||||
InnerStream = stream;
|
||||
|
||||
read_timeout = Request.ReadWriteTimeout;
|
||||
write_timeout = read_timeout;
|
||||
@ -73,10 +72,6 @@ namespace System.Net
|
||||
|
||||
internal ServicePoint ServicePoint => Connection.ServicePoint;
|
||||
|
||||
internal Stream InnerStream {
|
||||
get;
|
||||
}
|
||||
|
||||
public override bool CanTimeout {
|
||||
get { return true; }
|
||||
}
|
||||
@ -248,23 +243,21 @@ namespace System.Net
|
||||
|
||||
public override long Seek (long a, SeekOrigin b)
|
||||
{
|
||||
throw new NotSupportedException ();
|
||||
throw new NotSupportedException (SR.net_noseek);
|
||||
}
|
||||
|
||||
public override void SetLength (long a)
|
||||
{
|
||||
throw new NotSupportedException ();
|
||||
throw new NotSupportedException (SR.net_noseek);
|
||||
}
|
||||
|
||||
public override bool CanSeek {
|
||||
get {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
public override bool CanSeek => false;
|
||||
|
||||
public override long Length => throw new NotSupportedException (SR.net_noseek);
|
||||
|
||||
public override long Position {
|
||||
get { throw new NotSupportedException (); }
|
||||
set { throw new NotSupportedException (); }
|
||||
get { throw new NotSupportedException (SR.net_noseek); }
|
||||
set { throw new NotSupportedException (SR.net_noseek); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user