System.Xml.Schema.SchemaCollectionCompiler.IsElementFromAny C# (CSharp) Method

IsElementFromAny() private method

private IsElementFromAny ( XmlSchemaElement derivedElement, XmlSchemaAny baseAny ) : bool
derivedElement XmlSchemaElement
baseAny XmlSchemaAny
return bool
        private bool IsElementFromAny(XmlSchemaElement derivedElement, XmlSchemaAny baseAny) {
            return baseAny.Allows(derivedElement.QualifiedName) &&
                IsValidOccurrenceRangeRestriction(derivedElement, baseAny);
        }