AttributesToAvoidReplicating currently sits in the sub-namespace Castle.DynamicProxy.Generators. It's one of only two public types left in that namespace—the namespace contains mostly internals that became truly internal in #505.
My aim here is to concentrate DynamicProxy's public API in just one single namespace: Castle.DynamicProxy.
I therefore suggest that we do either of two things:
- move
AttributesToAvoidReplicating into the main namespace Castle.DynamicProxy; or
- turn it into a collection property in
ProxyGenerationOptions
I haven't thought about (2) too deeply, but (1) would be simple enough to do. Also, it's likely not a part of the public API that one uses a lot, so perhaps it's not worth investing too much time.
Any thoughts or opinions?