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;
}