Eugene Kliuchnikov | f2aa4d1 | 2017-04-10 21:16:08 +0200 | [diff] [blame] | 1 | // <{[INJECTED CODE]}> |
| 2 | public override bool CanRead { |
| 3 | get {return true;} |
| 4 | } |
| 5 | |
| 6 | public override bool CanSeek { |
| 7 | get {return false;} |
| 8 | } |
| 9 | public override long Length { |
| 10 | get {throw new System.NotSupportedException();} |
| 11 | } |
| 12 | public override long Position { |
| 13 | get {throw new System.NotSupportedException();} |
| 14 | set {throw new System.NotSupportedException();} |
| 15 | } |
| 16 | public override long Seek(long offset, System.IO.SeekOrigin origin) { |
| 17 | throw new System.NotSupportedException(); |
| 18 | } |
| 19 | public override void SetLength(long value){ |
| 20 | throw new System.NotSupportedException(); |
| 21 | } |
| 22 | |
| 23 | public override bool CanWrite{get{return false;}} |
| 24 | public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, |
| 25 | int count, System.AsyncCallback callback, object state) { |
| 26 | throw new System.NotSupportedException(); |
| 27 | } |
| 28 | public override void Write(byte[] buffer, int offset, int count) { |
| 29 | throw new System.NotSupportedException(); |
| 30 | } |
| 31 | |
| 32 | public override void Flush() {} |