Skip to content

Commit

Permalink
Use foreach instead of ForEach
Browse files Browse the repository at this point in the history
  • Loading branch information
atomb committed Mar 19, 2024
1 parent 29979dc commit fbafb12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/ExecutionEngine/ExecutionEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,8 @@ public async Task<PipelineOutcome> InferAndVerify(

var processedProgram = PreProcessProgramVerification(program);

if (Options.UseResolvedProgram.Any()) {
Options.UseResolvedProgram.ForEach(action => action(Options, processedProgram));
foreach (var action in Options.UseResolvedProgram) {
action(Options, processedProgram);
}

if (!Options.Verify)
Expand Down

0 comments on commit fbafb12

Please sign in to comment.