System.Xml.Serialization.XmlSchemaImporter.FindAttributeGroup C# (CSharp) Method

FindAttributeGroup() private method

private FindAttributeGroup ( XmlQualifiedName name ) : XmlSchemaAttributeGroup
name System.Xml.XmlQualifiedName
return System.Xml.Schema.XmlSchemaAttributeGroup
        private XmlSchemaAttributeGroup FindAttributeGroup(XmlQualifiedName name)
        {
            XmlSchemaAttributeGroup group = (XmlSchemaAttributeGroup)Schemas.Find(name, typeof(XmlSchemaAttributeGroup));
            if (group == null)
                throw new InvalidOperationException(SR.Format(SR.XmlMissingAttributeGroup, name.Name));

            return group;
        }