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
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
Hello, I am currently having an issue covering tests using Resharper and dotCover. I am able to run tests that pass just fine from the unit test session using the \"Run Current Session\" option, but when trying to use the \"Cover All tests from solution\" option a significant number of tests now fail with the error:


*** WhenCalled does not support using a method call as an argument.

-   To fix this pass void instead of DataOnStack.JetBrains_Profiler_Core_Instrumentation_Measure()

I was wondering there was something I could do to address the issue.


Charles Widdicombe
asked by (600 points)

1 Answer

0 votes

Hi Charles,

Please try the latest Isolator ( it should integrate with the latest DotCover and Resharper profile.

You are welcome to open a ticket for our support team if it won\'t fix this issue

answered by (1.8k points)