Change some Exts.MakeArray calls into Enumerable.Range.

Avoid creating some arrays where sequences will suffice.
Merge pull request #7032 from RoosterDragon/less-makearray

Change some Exts.MakeArray calls into Enumerable.Range.