12 references to ZeroOrOne
System.Private.Xml (12)
System\Xml\Xsl\QIL\QilTypeChecker.cs (2)
440return XmlQueryTypeFactory.PrimeProduct(xmlType, xmlType.MaybeEmpty ? XmlQueryCardinality.ZeroOrOne : XmlQueryCardinality.One); 1094return XmlQueryTypeFactory.AtMost(variable.Binding!.XmlType!, XmlQueryCardinality.ZeroOrOne);
System\Xml\Xsl\XmlQueryCardinality.cs (7)
221/* One */ { None, Zero, One, ZeroOrOne, More, NotOne, OneOrMore, ZeroOrMore }, 222/* ZeroOrOne */ { Zero, Zero, ZeroOrOne, ZeroOrOne, NotOne, NotOne, ZeroOrMore, ZeroOrMore }, 234/* None */ { None, Zero, One, ZeroOrOne, More, NotOne, OneOrMore, ZeroOrMore}, 235/* Zero */ { Zero, Zero, One, ZeroOrOne, More, NotOne, OneOrMore, ZeroOrMore}, 237/* ZeroOrOne */ { ZeroOrOne, ZeroOrOne, OneOrMore, ZeroOrMore, More, ZeroOrMore, OneOrMore, ZeroOrMore},
System\Xml\Xsl\XmlQueryTypeFactory.cs (3)
195public static readonly XmlQueryType AttributeQ = TF.PrimeProduct(Attribute, XmlQueryCardinality.ZeroOrOne); 206public static readonly XmlQueryType DocumentOrElementQ = TF.PrimeProduct(DocumentOrElement, XmlQueryCardinality.ZeroOrOne); 238public static readonly XmlQueryType NodeNotRtfQ = TF.PrimeProduct(NodeNotRtf, XmlQueryCardinality.ZeroOrOne);