public void mark(int markLimit) throws IOException {if (markLimit < 0) {throw new IllegalArgumentException();}synchronized (lock) {checkNotClosed();this.markLimit = markLimit;mark = pos;}}

public override void mark(int markLimit){if (markLimit < 0){throw new System.ArgumentException();}lock (@lock){checkNotClosed();this.markLimit = markLimit;_mark = pos;}}
