Problem:
This error has been encountered when trying to compile a .LST program as a Class Library.
The message is output when unexpected errors occur during the generation of .NET IL code. Unfortunately, any occurrence of such a message indicates a compiler bug, even though sometimes the immediate reason for the error is a problem in the user program. Even if the user program is in error, the error should be detected at an earlier stage of the compilation process and should then produce a cleaner and more understandable message.
Resolution:
A subscripted item used as a subscript can generate bad code and may cause the compiler to loop.
The fix should be available in the next FixPack for Net Express .NET 5.0
However, attached to this knowledge base article is a hotfix for Net Express .NET 4.0