title: GetCustomAttribute returns null
body: <p>Can somebody explain to me why <code>Value.GetType().GetCustomAttribute</code> returns <code>null</code>? I have looked at ten different tutorials on how to get the attributes for an enumerated type member. No matter which <code>GetCustomAttribute*</code> method I use, I get no custom attributes returned.</p>
  
  <pre><code>using System;
  using System.ComponentModel;
  using System.Reflection;
  
  public enum Foo
  {
      [Bar(Name = "Bar")]
      Baz,
  }
  
  [AttributeUsage(AttributeTargets.Field)]
  public class BarAttribute : Attribute
  {
      public string Name;
  }
  
  public static class FooExtensions
  {
      public static string Name(this Foo Value)
      {
          return Value.GetType().GetCustomAttribute&lt;BarAttribute&gt;(true).Name;
      }
  }
  </code></pre>