Revert use of foreach in ALC

I forgot to revert this in #814, thanks @daxian-dbw for the pointer.
This commit is contained in:
Andrew Schwartzmeyer 2016-04-14 17:34:00 -07:00
parent 9496106637
commit 40b3888dcb

View file

@ -141,8 +141,9 @@ namespace System.Management.Automation
string asmCultureName = assemblyName.CultureName ?? string.Empty;
string asmFilePath = null;
foreach (var probingPath in probingPaths)
for (int i = 0; i < probingPaths.Count; i++)
{
string probingPath = probingPaths[i];
string asmCulturePath = Path.Combine(probingPath, asmCultureName);
for (int k = 0; k < extensions.Length; k++)
{