I\'m going to do this without passing any parameter to attribute! Is it possible?
class MyAtt : Attribute { string NameOfSettedProperty() { //How
Using CallerMemberNameAttribute from .NET 4.5:
public CustomAttribute([CallerMemberName] string propertyName = null) { // ... }