title: What is an equivalent method to `GetCustomAttributes` for .NETCore (Windows 8 Framework)?
body: <p>I'm putting together an app that interfaces with Stack API and have been following <a href="http://cgeers.com/2011/10/02/stack-exchange-api/">this tutorial</a> (although old API version it still works).  My problem is that when using this within the Windows 8 Store App I'm contrained by the .NETCore Framework which doesn't support the <code>GetCustomAttributes</code> method found below:</p>
  
  <pre><code>    private static IEnumerable&lt;T&gt; ParseJson&lt;T&gt;(string json) where T : class, new()
      {
          var type = typeof (T);
          var attribute = type.GetCustomAttributes(typeof (WrapperObjectAttribute), false).SingleOrDefault() as WrapperObjectAttribute;
          if (attribute == null)
          {
              throw new InvalidOperationException(
                  String.Format("{0} type must be decorated with a WrapperObjectAttribute.", type.Name));
          }
  
          var jobject = JObject.Parse(json);
          var collection = JsonConvert.DeserializeObject&lt;List&lt;T&gt;&gt;(jobject[attribute.WrapperObject].ToString());
          return collection;
      }
  </code></pre>
  
  <p>My question is two-fold.  What exactly does the <code>GetCustomAttributes</code> do and is there an equivalent to this method within the constrains of Windows 8 Store App realm?</p>