title: VB.net Attributes on properties get and set
body: <p>The scenario is that we have written a debugger interceptor using Unity to easily wrap an object to write the timelapse it takes for a method to complete. Sadly, it is also writing all public property get and set invokations. So we simply put an attribute on the property to exclude it from tracing. Something like:</p>
  
  <pre><code>Property Example { [ExcludeFromTracing]get; [ExcludeFromTracing]set; }
  </code></pre>
  
  <p>Since:</p>
  
  <pre><code>ExcludeFromTracing
  Property Example { get; set; }
  </code></pre>
  
  <p>Does not work, as the get and set get compiled to their own methods which will get intercepted at runtime.</p>
  
  <p>So this works for us in C#... now the challenge comes, we also have legacy vb.net applications were we have performance issues and simply want to add this interceptor to pinpoint the bottlenecks in our application.</p>
  
  <p>Sadly I can't find the vb.net equivalent of adding an attribute to a property get and set methods in an interface? Or any other way of excluding the interception of property invocations using unity.interception</p>