title: "Method must have a return type" and "return must not be followed by an object expression"
body: <p>Im adding this method to a public static class   </p>
  
  <pre><code>    public static LogMessage(Exception ex)
      {
          Trace.WriteLine(ex.ToString());
          return ex; 
      }
  </code></pre>
  
  <p>When I do this, I get a message that says "method must have a return type"</p>
  
  <p>and in the return I also get a message that says "Since 'Util.logMessage(System.Exception)' returns void, a return keyword must not be followed by an object expression" </p>
  
  <p>How do I correct this?</p>