All it was was the Monitor.TryEnter(..), I wanted to mock it so I can test what happens when the lock failed.
I just created a little wrapper class so it wasn't a hard workaround.
I suppose any classes that go outside the test envelope will need to be mocked, like IO and Networking etc. I suspect these are not part of the core lib, but any that do that sort of thing will need to be mocked.
Gut feeling is something we have setup/configured that is doing it.
Config is...
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727
Installed Edition: Professional
Microsoft Visual Basic 2005 77626-009-0000007-41034
Microsoft Visual Basic 2005
Microsoft Visual C# 2005 77626-009-0000007-41034
Microsoft Visual C# 2005
Microsoft Visual C++ 2005 77626-009-0000007-41034
Microsoft Visual C++ 2005
Microsoft Visual J# 2005 77626-009-0000007-41034
Microsoft Visual J# 2005
Microsoft Visual Web Developer 2005 77626-009-0000007-41034
Microsoft Visual Web Developer 2005
Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005
TestDriven.NET 2.0.1761 Personal
For more information, see the TestDriven.NET website at
http://www.testdriven.net/. Development by Jamie Cansdale <jamie@mutantdesign.co.uk>. Copyright (c) 2002-2006 Mutant Design.