Because of the way UpdateDefinitions are declared it is not a compile time error to attempt to combine a PipelineUpdateDefinition with toher UpdateDefinitions.
However, this is not legal, so since it is not a compile time error we should throw a runtime exception.
- related to
-
CSHARP-4745 Unable to cast object of type 'MongoDB.Bson.BsonArray' to type 'MongoDB.Bson.BsonDocument'
- Closed