Nested types should not be visible
.NET Framework 2.0
| TypeName | NestedTypesShouldNotBeVisible |
| CheckId | CA1034 |
| Category | Microsoft.Design |
| Breaking Change | Breaking |
A nested type is a type declared within the scope of another type. Nested types are useful for encapsulating private implementation details of the containing type. Used for this purpose, nested types should not be externally visible.
Do not use externally visible nested types for logical grouping or to avoid name collisions; instead, use namespaces.
Nested types include the notion of member accessibility, which is not clearly understood by all audiences.