title: How do I get Custom Attibutes from a assembly in Winrt
body: <p>I have:</p>
  
  <pre><code>[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
  public class FooAttribute : Attribute
  {
  }
  
  [Foo]
  public class Bar1
  {
  }
  
  [Foo]
  public class Bar2
  {
  }
  
  [Foo]
  public class Bar3
  {
  }
  </code></pre>
  
  <p>Then I do:</p>
  
  <pre><code>var attrs = CustomAttributeExtensions.GetCustomAttributes(typeof(Bar1).GetTypeInfo().Assembly);
  </code></pre>
  
  <p>I had expeced that attrs should contain the Foo attribute,, but that is not true. Instead attrs contains 12 other attributes.</p>
  
  <p>Whats wrong??</p>