It calls into the virtual member StreamCount which might not be initialized yet (the derived class's constructor hasn't run yet). FxCop complains if you try to access StreamCount outside of the lambda and indeed the SQL bus throws if you access it here 'cos it's not initialized yet.