The above code does produce these errors tho.
Aggregation.cs(32,25): error CS1950: The best overloaded Add method 'BsonDocument.Add(Dictionary<string, object>, IEnumerable<string>)' for the collection initializer has some invalid arguments [/Users/lrlna/code/csharp-playground/csharp-playground.csproj]
Aggregation.cs(32,27): error CS1503: Argument 1: cannot convert from 'string' to 'System.Collections.Generic.Dictionary<string, object>' [/Users/lrlna/code/csharp-playground/csharp-playground.csproj]
Aggregation.cs(32,34): error CS1503: Argument 2: cannot convert from 'MongoDB.Driver.MongoDBRef' to 'System.Collections.Generic.IEnumerable<string>' [/Users/lrlna/code/csharp-playground/csharp-playground.csproj]
The build failed. Please fix the build errors and run again.