An object of type '{1}' was assigned to variable '{0}'. Only objects of type ForEachEnumerator can be assigned to variables. ...