title: C# CodeFunction2 - How do you prevent creation of 'return'?
body: <p>I am creating a C# class as per:</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/x6h10s6x.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/x6h10s6x.aspx</a></p>
  
  <p>however I want my own 'return' rather than the  <code>return default(int);</code> it automatically generates. I know I can insert my own text using an EditPoint i.e</p>
  
  <pre><code> editPoint.Insert("return records.AsEnumerable&lt;" + tableNameAsSingular + "&gt;();");
  </code></pre>
  
  <p>but it still tries to stick in its own 'return' too</p>