Hi,
MSCorLib types are still not mockable. However, that means that you cannot mock methods on these types. If you are trying to return bools and ints from methods of all other types - you can do that of course.
For example, if you have a type ClassToIsolate which has a InstanceMethod that returns 3 as int, and you want to return 5 you can us this type of code:
[Test]
[VerifyMocks]
public void TestWithNatural()
{
using (RecordExpectations recorder = RecorderManager.StartRecording())
{
ClassToIsolate mockedInstance = new ClassToIsolate();
int i = mockedInstance.InstanceMethod();
recorder.Return(5);
}
}
Please take a look at the examples at:
https://www.typemock.com/Docs/HowTo.html
If you need some more help, please post your code and what you would like to mock, and we'll continue from there.