Code Analysis ReferenceFixesCS1624On this pageCS1624PropertyValueTitleThe body of 'identifier' cannot be an iterator block because 'type' is not an iterator interface type.SeverityErrorCode FixesChange method return typeSee AlsoOfficial Documentation