private void CannotReturnValue(Method node) { if (node.ReturnType != null) { Error(CompilerErrorFactory.CannotReturnValue(node)); } }