As I know there are no way to allow access to private/protected fields (except reflection).
You should use internal or protected internal access modifiers.
More info in MSDN.
InternalsVisibleTo can be applied to whole assembly only and gives ability to share access to internal fields with other assemblies.
AlexKhomichMember Since 24 May 2010
Offline Last Active Mar 01 2011 02:42 PM
- Group Members
- Active Posts 19
- Profile Views 2,048
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown