private void EnsureBytes(int count) { if (!TryEnsureBytes(count)) { XmlExceptionHelper.ThrowUnexpectedEndOfFile(_reader); } }
private void EnsureByte() { if (!this.TryEnsureByte()) { XmlExceptionHelper.ThrowUnexpectedEndOfFile(this.reader); } }
private void EnsureBytes(int count) { if (!TryEnsureBytes(count)) { XmlExceptionHelper.ThrowUnexpectedEndOfFile(_reader); } }
private void EnsureByte() { if (!this.TryEnsureByte()) { XmlExceptionHelper.ThrowUnexpectedEndOfFile(this.reader); } }