Moq/moq4 — pull request #36 by yonahw (2013-02-07 21:53:04+00:00)
Title: Fixed collection modified exception thrown as result of more methods bei...

...ng called on a mock while verifying method calls.

This issue is caused when you call verify on a mock and another thread calls any method on that mock while verify is still executing.

Conditional compilation is used in the test since System.Threading.Tasks is not available in Silverlight.