yeah. the method used to be

```
var attributeInfo = methodInfo.GetCustomAttributes(typeof(T)).FirstOrDefault()

attributeInfo = attributeInfo ?? methodInfo.Class.GetCustomAttributes(typeof(T)).FirstOrDefault()

if(attributeInfo == null)
    return methodInfo.Class.Type.Assembly.GetCustomAttributes(typeof(T), false).FirstOrDefault() as T;

return attributeInfo.GetInstance<T>();
```

But I changed it when trying to understand why error we were getting in Release mode.

Feel free to change it how you see fit.