I find a bug if you mix IQueryable and yield syntax. After Diego has changed a little bit my sample to reproduce it, this is the code he sent to the C# team: class Program { static void Main( string [] args) { try { GetCategoryProductsUsingQueryable(...