I am using PostSharp to add some compile time logic to my attributes – in once case [IndexedCategory ("CatName", CatIndex)]. The trouble comes comes in because IndexedCategory derives from CompoundAspect – which has a reasonable number of named params.
Is there any way which I can prevent these from being accessed / shown by intellisence?
Cheers
I tried a few things… one sure fire way of getting it not to compile would be to re-declare the properties as obsolete or take away the setter – not nice, though.
I tried a few other settings (non-browsable, marked immutable*), but it didn’t help much:
Anyway, in the above
Namecan’t be set for an attribute, even though it can on the base. Hacky and ugly.