Do not dereference before checking for null
Do not dereference before checking for null
Do not mix enum types
Do not mix enum types