mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Merge pull request #853 from PowerShell/andschwa/undo-foreach
Revert use of foreach in ALC
This commit is contained in:
+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