Is it possible to get attribute on property in property get or set body without StackFrame?
for example
[SomeAttribute]
public int SomeProp
{
get
{
//Get of SomeAttribute is set on this property
}
set
{
//Get of SomeAttribute is set on this property
}
}
You can write a function like this and get the property name by an expression not by string lliterals
Usage: