ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (5)
227if (!IsExchangable(array.ElementType, foreachType, model.Compilation))
242if (!IsExchangable(charType, foreachType, model.Compilation))
259if (!IsExchangable(indexer.ReturnType, foreachType, model.Compilation))
283IsExchangable(indexer.ReturnType, foreachType, model.Compilation))
314if (!IsExchangable(indexerImpl.ReturnType, foreachType, model.Compilation))