Synchronise dictionary access
Synchronise dictionary access

Synchronise access to the dictionary of cached values, otherwise occasionally two tests can race each other and cause an InvalidOperationException.

martincostello/project-euler