title: How to write attribute that catches exceptions and removes stacktrace?
body: <p>I wish to write an attribute for a function (or class) that will catch any exception thrown and set its <code>StackTrace</code> property to <code>string.Empty</code>. How can I do this?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>If I cannot accomplish this in plain C#, how can I do this in C# with PostSharp?</p>