I can confirm that this happens in VS10 only when the class is defined in the function and the lambda takes a parameter. Such problems do not appear in g ++.
I believe that this is really a mistake, if you open a defect, please refer to it here so that we can follow it (otherwise let me know and I will open the defect).
Motti source share