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
In Isolator 5.4.5, an expected exception saying "use properties not fields" is not thrown in this scenario:

[ img ]
Code for the above: http://pastebay.com/pastebay.php?dl=79976
asked by Neil (27.7k points)

4 Answers

0 votes
Hi Neil,

Like the other couple of related posts you had, this seems like a bug in Isolator analyzing the call in WhenCalled() to understand it's a field access and not something else. I'm working to figure out the root cause, and we'll fix this in a future version.

Thanks for reporting this!
Doron
Typemock Support
answered by doron (17.2k points)
0 votes
Thanks Doron!
answered by Neil (27.7k points)
0 votes
Is this bug fixed yet? I am using Isolator 7.0.9.
answered by dblack (8.4k points)
0 votes
Hi Dave,

This issue is fixed in one of the recent versions (7):

[ img ]
answered by alex (17k points)
...