chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Why does this Isolate.Invoke.Event() call fail?

[ img ]

I don't appear to be faking a field instead of a property or trying to fake an mscorlib type.
asked by Neil (27.7k points)

2 Answers

0 votes
Hi Neil,

The actual reason for invoke to fail is that the class missing Isolated attribute. The test will pass if the the class of test will be decorated with [Isolated].

The error message is wrong and we'll fix it.

Best Regards,
Typemock Support
answered by Elisha (12k points)
0 votes
Thanks Elisha, [Isolated] fixed it.
answered by Neil (27.7k points)