Scope
CodeRush features that can declare new members (for example, Code Templates and Code Providers) use the Scope Options to determine the new declarations’ visibility modifier. The Scope Options are configured using the Editor | <Language> | Scope Options options page.
You can choose one of the following modifiers for every declaration:
- Use default visibility (private for C# methods, public for C# types)
- Private
- Protected
- Friend
- Protected Friend
- Public
- Match parent scope (uses the parent type’s visibility modifier)