diff options
author | Eugene Kliuchnikov <eustas@google.com> | 2017-04-10 21:16:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-10 21:16:08 +0200 |
commit | f2aa4d1e8cd8fed9c4d9b3123b7c709fe429c8da (patch) | |
tree | 8cc25fb04bac7b7cdfec19bfc8379edf9402d1ae /csharp/injected_code.txt | |
parent | 66e798d46ae95af5fcd569b5b2ec71001688ced4 (diff) | |
download | brotli-f2aa4d1e8cd8fed9c4d9b3123b7c709fe429c8da.zip brotli-f2aa4d1e8cd8fed9c4d9b3123b7c709fe429c8da.tar.gz brotli-f2aa4d1e8cd8fed9c4d9b3123b7c709fe429c8da.tar.bz2 |
Add C# transpilation script. (#538)
Diffstat (limited to 'csharp/injected_code.txt')
-rw-r--r-- | csharp/injected_code.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/csharp/injected_code.txt b/csharp/injected_code.txt new file mode 100644 index 0000000..64f129b --- /dev/null +++ b/csharp/injected_code.txt @@ -0,0 +1,32 @@ +// <{[INJECTED CODE]}> + public override bool CanRead { + get {return true;} + } + + public override bool CanSeek { + get {return false;} + } + public override long Length { + get {throw new System.NotSupportedException();} + } + public override long Position { + get {throw new System.NotSupportedException();} + set {throw new System.NotSupportedException();} + } + public override long Seek(long offset, System.IO.SeekOrigin origin) { + throw new System.NotSupportedException(); + } + public override void SetLength(long value){ + throw new System.NotSupportedException(); + } + + public override bool CanWrite{get{return false;}} + public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, + int count, System.AsyncCallback callback, object state) { + throw new System.NotSupportedException(); + } + public override void Write(byte[] buffer, int offset, int count) { + throw new System.NotSupportedException(); + } + + public override void Flush() {} |