Doesn't matter at all.
Look for some C# how-to to multi-threaded programming.
A quick sample app where:
Thread 1 loops through an ArrayList (or any list implementing IEnumerable).
Thread 2 modifies any items of the list while Thread 1 is still running.
Will show you the issue.
Most likely you aren't aware why you trigger this because MP's gentle DB statements are executed from the same thread which communicates with the "businesslayer". You however most likely use an own thread to query it's methods.
Quote:
Originally Posted by binary64 even though the crash was on the server-side of the remoting? plus tcp/ip is by its nature serialized |
Of course since TVE is Thread 1 of this example (which throws InvalidOperationException then).