1
Vote

Define ProxyTypeBuilder semantics for non-public types

description

The ProxyTypeBuilder currently accepts a real subject type having any access modifier. Private types should not be allowed (generated assembly can not access them) and internal types should be allowed if the generated assembly can access them (a friend assembly).
 
Also, investigation is required for nested types of varying accessibility in their entire tree (e.g. private outer class but public inner/nested class).

comments