System.Xml.Xsl.IlGen.XmlILStateAnalyzer.MaybeContent C# (CSharp) Method

MaybeContent() private method

Return true if an instance of the specified type might be a non-empty content type (attr/nsmp don't count).
private MaybeContent ( XmlQueryType typ ) : bool
typ XmlQueryType
return bool
        private bool MaybeContent(XmlQueryType typ) {
            return !typ.IsNode || (typ.NodeKinds & ~(XmlNodeKindFlags.Attribute | XmlNodeKindFlags.Namespace)) != XmlNodeKindFlags.None;
        }
    }