19 [
Obsolete(
"JsonNet35BinaryCompatibility will be removed in a future version of Json.NET.")]
97 public override bool Read()
139 return "$code" !=
null;
181 if (currentContext !=
null)
199 if (currentContext3 !=
null)
205 return "Read past end of current container context." !=
null;
211 int size = this.
_stack._size;
213 if (
stack._size != 0)
class f__AnonymousType0<< Count > j__TPar
ContainerContext(BsonType type)
static readonly byte[] SeqRange4
readonly List< BsonReader.ContainerContext > _stack
int GetLastFullCharStop(int start)
byte[] ReadBinary([Out] BsonBinaryType binaryType)
string ReadLengthString()
BsonReader.ContainerContext _currentContext
int BytesInSequence(byte b)
readonly BinaryReader _reader
BsonType _currentElementType
DateTimeKind DateTimeKindHandling
static readonly byte[] SeqRange2
static readonly byte[] SeqRange3
BsonReader(BinaryReader reader)
bool _jsonNet35BinaryCompatibility
string GetString(int length)
byte[] ReadBytes(int count)
static readonly byte[] SeqRange1
bool ReadRootValueAsArray
BsonReader(BinaryReader reader, bool readRootValueAsArray, DateTimeKind dateTimeKindHandling)
void MovePosition(int count)
const int MaxCharBytesSize
bool _readRootValueAsArray
DateTimeKind _dateTimeKindHandling
bool JsonNet35BinaryCompatibility
void ReadType(BsonType type)
void PushContext(BsonReader.ContainerContext newContext)
BsonReader(Stream stream)
BsonReader.BsonReaderState _bsonReaderState
BsonReader(Stream stream, bool readRootValueAsArray, DateTimeKind dateTimeKindHandling)
JsonReader.State _currentState
bool< CloseInput > k__BackingField
static void ArgumentNotNull(object value, string parameterName)