[cs] only wrap method body in "unchecked" if it contains non-zero integer constants (see #2450)