I need to find the type of the property that a custom attribute is applied to from within the custom attribute.
For example:
[MyAttribute] string MyProp
The custom attribute knows nothing about the attributed element so I don't think what you want is possible to do unless you enumerate all types in your system and check if they contain such attribute.