Pick up changes from master to 2.065 branch

One diagnostic improvement:
Issue 12124 - Never be used static opCall should be reported