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, trying to fake a static field initialized by a static method gives this exception:

[ img ]
Code for the above:

I think it should say use properties not fields.
asked by Neil (27.7k points)

4 Answers

0 votes

I tested this locally and I can confirm it's a bug :( - the error message is obviously wrong, and that it only happens when the field is initialized by a static method and not through a cctor. I'll log this bug and we'll fix it in a future version.

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)