System.Xml.Xsl.XmlQueryCardinality.NeverSubset C# (CSharp) Method

NeverSubset() public method

Returns true if every non-None subset of this cardinality is disjoint with "other" cardinality. Here is the behavior for None, which is the inverse of the None behavior for IsSubset: None op None = false None op ~None = false ~None op None = true
public NeverSubset ( XmlQueryCardinality other ) : bool
other XmlQueryCardinality
return bool
        public bool NeverSubset(XmlQueryCardinality other) {
            return this.value != 0 && (this.value & other.value) == 0;
        }