Revert use of foreach in ALC
I forgot to revert this in #814, thanks @daxian-dbw for the pointer.
This commit is contained in:
parent
9496106637
commit
40b3888dcb
1 changed files with 2 additions and 1 deletions
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue