Open alexeyzimarev opened 4 months ago
Related: https://github.com/Aaronontheweb/EvilRoslynAnalyzers/issues/19 - looks like we should ban IEnumerator
while we're at it. for
loops with mutable counter variables are the only corporate-approved way to iterate.
Using
IEnumerable
can cause repeated enumerations, so ban functions returningIEnumerable
.