Fix LCOM4 bugs with Linq, with static fields and with references to external fields