Remove implicit StatusCode bool/long conversions
Replace code that relies on implicit StatusCode
bool
/long
conversions. This set of changes will allow it to declare the StatusCode(long)
constructor in
!514 (merged) as explicit
and thus enforce the strong type guarantee of the new StatusCode categories/enums. No functional change of the code.