/// <summary> /// Visits a <see cref="CodeTypeDeclarationCollection"/>. /// </summary> /// <param name="codeTypeDeclarationCollection">The <see cref="CodeTypeDeclarationCollection"/> to visit.</param> protected virtual void VisitCodeTypeDeclarationCollection(CodeTypeDeclarationCollection codeTypeDeclarationCollection) { // Visit all of the CodeTypeDeclaration items in the collection. foreach (CodeTypeDeclaration item in codeTypeDeclarationCollection.Cast<CodeTypeDeclaration>()) { this.VisitCodeTypeDeclaration(item); } }