title: Using PostSharp to intercept calls to Silverlight objects?
body: <p>I'm working with PostSharp to intercept method calls to objects I don't own, but my aspect code doesn't appear to be getting called. The documentation seems pretty lax in the Silverlight area, so I'd appreciate any help you guys can offer :)</p>
  
  <p>I have an attribute that looks like:</p>
  
  <pre><code>public class LogAttribute : OnMethodInvocationAspect
  {
      public override void OnInvocation(MethodInvocationEventArgs eventArgs)
      {
          // Logging code goes here...
      }
  }
  </code></pre>
  
  <p>And an entry in my AssemblyInfo that looks like:</p>
  
  <pre><code>[assembly: Log(AttributeTargetAssemblies = "System.Windows", AttributeTargetTypes = "System.Windows.Controls.*")]
  </code></pre>
  
  <p>So, my question to you is... what am I missing? Method calls under matching attribute targets don't appear to function.</p>