Is the following an acceptable breach of the 'Nested types should not be visible' (Microsoft .NET code analysis CA1034) rule?
I have a have a class, let's call it 'TandAOLL', this is tree and an array of linked lists all in one, this is a QuadTree implementation which allows for grouping of points.
Inside this class I have another class, let's call this one 'TandAOLLGroup', this is the type that the iterator of 'TandAOLL' returns, this is therefore declared Public.
This class contains a reference to the tree from which it was created and also an integer representing the index of the group the object represents.
The iterator of 'TandAOLLGroup' returns Points by following a linked list trail using the leaf stored in the TandAOLL.Array(Index) as the head.
The reason I have nested the second class inside the first is because it needs priviliged access to the private members of the 'TLLOLL' class.