Code Analysis ReferenceFixesCS1622On this pageCS1622PropertyValueTitleCannot return a value from an iterator. Use the yield return statement to return a value, or yield break to end the iteration.SeverityErrorCode FixesUse yield return instead of returnSee AlsoOfficial Documentation