Support IL Pattern Enhancement

* All: [BUG FIX] Corrected some wrong logs, fix unsuccessful tests.
* ALL: Added the virtual external library to test the IL pattern that can't be covered by mscorlib.