Method VerifyBsonType NamespaceMongoDB.Bson.IO AssemblyMongoDB.Bson.dll VerifyBsonType(string, BsonType) Verifies the current state and BsonType of the reader. protected void VerifyBsonType(string methodName, BsonType requiredBsonType) Parameters methodName string The name of the method calling this one. requiredBsonType BsonType The required BSON type.