Is there a way to override the setter and getter of an auto property with an attribute?
like this:
[CustomAttribute] public int Value { get; set; } <
No. An attribute is never "executed". You would need to build a construct looking for the attribute and doing something if it's found.
AoP (aspect oriented programming) in .NET is only possible by using third party software like PostSharp.
I believe it will achieve this with AOP