internal override void VerifySchemaValid(XmlSchemaObjectTable notations, XmlSchemaObject caller) { for (Datatype_NOTATION e_notation = this; e_notation != null; e_notation = (Datatype_NOTATION)e_notation.Base) { if ((e_notation.Restriction != null) && ((e_notation.Restriction.Flags & RestrictionFlags.Enumeration) != 0)) { for (int i = 0; i < e_notation.Restriction.Enumeration.Count; i++) { XmlQualifiedName name = (XmlQualifiedName)e_notation.Restriction.Enumeration[i]; if (!notations.Contains(name)) { throw new XmlSchemaException("Sch_NotationRequired", caller); } } return; } } throw new XmlSchemaException("Sch_NotationRequired", caller); }