public override object Clone() { FaultyIndexInput i = new FaultyIndexInput((IndexInput)@delegate.Clone()); // seek the clone to our current position try { i.Seek(GetFilePointer()); } #pragma warning disable 168 catch (IOException e) #pragma warning restore 168 { throw new Exception(); } return(i); }
public override object Clone() { FaultyIndexInput i = new FaultyIndexInput((IndexInput)@delegate.Clone()); // seek the clone to our current position try { i.Seek(FilePointer); } catch (IOException e) { throw new Exception(); } return i; }