// constructors internal JsonReaderBookmark( BsonReaderState state, BsonType currentBsonType, string currentName, JsonReaderContext context, JsonToken currentToken, BsonValue currentValue, JsonToken pushedToken, int position) : base(state, currentBsonType, currentName) { _context = context.Clone(); _currentToken = currentToken; _currentValue = currentValue; _pushedToken = pushedToken; _position = position; }
// internal methods internal JsonReaderContext CloneContext() { return(_context.Clone()); }