HasAttributeQNameRef() static private method

static private HasAttributeQNameRef ( XmlSchemaObjectCollection attributes ) : bool
attributes XmlSchemaObjectCollection
return bool
        internal override XmlSchemaObject Clone()
        {
            XmlSchemaAttributeGroup group = (XmlSchemaAttributeGroup)base.MemberwiseClone();

            if (XmlSchemaComplexType.HasAttributeQNameRef(this.attributes))
            {
                group.attributes    = XmlSchemaComplexType.CloneAttributes(this.attributes);
                group.attributeUses = null;
            }
            return(group);
        }
        internal override XmlSchemaObject Clone()
        {
            XmlSchemaAttributeGroup newGroup = (XmlSchemaAttributeGroup)MemberwiseClone();

            if (XmlSchemaComplexType.HasAttributeQNameRef(this.attributes))   //If a ref/type name is present
            {
                newGroup.attributes = XmlSchemaComplexType.CloneAttributes(this.attributes);

                //Clear compiled tables
                newGroup.attributeUses = null;
            }
            return(newGroup);
        }