Edit

kc3-lang/brotli/csharp/injected_code.txt

Branch :

  • Show log

    Commit

  • Author : Eugene Kliuchnikov
    Date : 2017-04-10 21:16:08
    Hash : f2aa4d1e
    Message : Add C# transpilation script. (#538)

  • csharp/injected_code.txt
  • // <{[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() {}