mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Merge pull request #853 from PowerShell/andschwa/undo-foreach
Revert use of foreach in ALC
This commit is contained in:
commit
e879e92c48
1 file changed
+2
-1
+2
-1
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user