/// <summary> /// Visits a <see cref="CodeAttributeDeclarationCollection"/>. /// </summary> /// <param name="codeAttributeDeclarationCollection">The <see cref="CodeAttributeDeclarationCollection"/> to visit.</param> protected virtual void VisitCodeAttributeDeclarationCollection(CodeAttributeDeclarationCollection codeAttributeDeclarationCollection) { // Visit all of the CodeAttributeDeclaration items in the collection. foreach (CodeAttributeDeclaration item in codeAttributeDeclarationCollection.Cast<CodeAttributeDeclaration>()) { this.VisitCodeAttributeDeclaration(item); } }