Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In List generics Stryker changes Count property into Sum property. Sum property doesn't exist and we get compile-errors. #3152

Open
vmakharashvili opened this issue Dec 26, 2024 · 1 comment
Labels
! Need more info ! More information is required to start or continue working on this issue

Comments

@vmakharashvili
Copy link

Describe the bug
When we have List object and check Count property in it, (not Count method), Stryker changes it into Sum. Sum property doesn't exist and we get compile-time error.

Expected behavior
Stryker should distinguish Count method from Count property. When it is Count method, it has parenthesis and property doesn't.

Desktop (please complete the following information):

  • OS: Windows
  • Type of project: core
  • Framework Version: .net 8.0
  • Stryker Version: 4.4.1
@vmakharashvili vmakharashvili added the 🐛 Bug Something isn't working label Dec 26, 2024
@dupdob dupdob removed the 🐛 Bug Something isn't working label Dec 26, 2024
@dupdob
Copy link
Member

dupdob commented Dec 26, 2024

thanks for opening this issue, but this does not appear to be a bug per se. What problems are you experiencing ?
Stryker is expected to encounter compilation error during mutation, those are fixed during the compilation phase.
I understand this could be slightly annoying, but something more.

@dupdob dupdob added the ! Need more info ! More information is required to start or continue working on this issue label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
! Need more info ! More information is required to start or continue working on this issue
Projects
None yet
Development

No branches or pull requests

2 participants