using PowerfulExtensions.Attributes; ... var obj = new MyClass(); var propAttr = AttributeHelper.GetAttribute<PropertyAttrAttribute>(() => obj.StrProp); var fieldAttr = AttributeHelper.GetAttribute<FieldAttrAttribute>(() => obj.IntField); var propAttrFromType = AttributeHelper.GetAttribute<MyClass, PropertyAttrAttribute>(c => c.StrProp); var fieldAttrFromType = AttributeHelper.GetAttribute<MyClass, FieldAttrAttribute>(c => c.IntField);