public void Dispose() { if (A != null) { A.Dispose(); A = null; } }
private LazyBsonArray DeserializeLazyBsonArray(BsonBinaryReader bsonReader) { var slice = bsonReader.ReadRawBsonArray(); var nestedArray = new LazyBsonArray(slice); _disposableItems.Add(nestedArray); return(nestedArray); }
private LazyBsonArray DeserializeLazyBsonArray(BsonBinaryReader bsonReader) { var slice = bsonReader.ReadRawBsonArray(); var nestedArray = new LazyBsonArray(slice); _disposableItems.Add(nestedArray); return nestedArray; }