79804811

Date: 2025-10-30 13:25:52
Score: 0.5
Natty:
Report link

In my case it was because one of my properties on my DTO was of type ReadOnlyCollection<T> which caught me out. Changing to the type of List<T> fixed it for me as this CAN be assigned to. ReadOnlyCollection cannot!

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Dib