14 references to One
System.Private.Xml (14)
System\Xml\Xsl\QIL\QilTypeChecker.cs (2)
440return XmlQueryTypeFactory.PrimeProduct(xmlType, xmlType.MaybeEmpty ? XmlQueryCardinality.ZeroOrOne : XmlQueryCardinality.One); 599XmlQueryCardinality variableCard = node.Variable.NodeType == QilNodeType.Let ? XmlQueryCardinality.One : node.Variable.Binding!.XmlType!.Cardinality;
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
7081 => XmlQueryCardinality.One,
System\Xml\Xsl\XmlQueryCardinality.cs (5)
221/* One */ { None, Zero, One, ZeroOrOne, More, NotOne, OneOrMore, ZeroOrMore }, 234/* None */ { None, Zero, One, ZeroOrOne, More, NotOne, OneOrMore, ZeroOrMore}, 235/* Zero */ { Zero, Zero, One, ZeroOrOne, More, NotOne, OneOrMore, ZeroOrMore}, 236/* One */ { One, One, More, OneOrMore, More, OneOrMore, More, OneOrMore },
System\Xml\Xsl\XmlQueryType.cs (1)
268get { return Cardinality <= XmlQueryCardinality.One; }
System\Xml\Xsl\XmlQueryTypeFactory.cs (4)
645get { return XmlQueryCardinality.One; } 749Debug.Assert(t.Cardinality == XmlQueryCardinality.One, "ChoiceType member types must be prime types."); 923get { return TypeCode == XmlTypeCode.None ? XmlQueryCardinality.None : XmlQueryCardinality.One; } 991else if (card == XmlQueryCardinality.One)
System\Xml\Xsl\Xslt\QilGenerator.cs (1)
2825if (nsVar.XmlType.Cardinality == XmlQueryCardinality.One)