Invalid warning in InvokeCode activity



I’m looping through list objects within an InvokeCode activity but I constantly get warnings that I might be altering the list within the loop and the code might not run.

The code runs perfectly as I’m not actually modifying the list within the loop and the warning pop up after every few keystrokes (when I use intellisense).

Would be great if this could be suppressed as it’s very hard to code this way.

An example here:


in this code