stryker-net icon indicating copy to clipboard operation
stryker-net copied to clipboard

Math mutations are not placed when static using is used

Open richardwerkman opened this issue 9 months ago • 1 comments

Describe the bug

Math.Floor(5.5); // mutated

using static System.Math;
Floor(5.5); // not mutated

Expected behavior I'd expect the second Floor method to be mutated as well.

Additional context We currently check the syntax tree for the class name. We should use the semantic model for this.

richardwerkman avatar May 10 '24 09:05 richardwerkman