moved to compiler checks

CS0214 CS0227