14 references to One
System.Private.Xml (14)
System\Xml\Xsl\QIL\QilTypeChecker.cs (2)
440
return XmlQueryTypeFactory.PrimeProduct(xmlType, xmlType.MaybeEmpty ? XmlQueryCardinality.ZeroOrOne : XmlQueryCardinality.
One
);
599
XmlQueryCardinality variableCard = node.Variable.NodeType == QilNodeType.Let ? XmlQueryCardinality.
One
: node.Variable.Binding!.XmlType!.Cardinality;
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
708
1 => 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)
268
get { return Cardinality <= XmlQueryCardinality.
One
; }
System\Xml\Xsl\XmlQueryTypeFactory.cs (4)
645
get { return XmlQueryCardinality.
One
; }
749
Debug.Assert(t.Cardinality == XmlQueryCardinality.
One
, "ChoiceType member types must be prime types.");
923
get { return TypeCode == XmlTypeCode.None ? XmlQueryCardinality.None : XmlQueryCardinality.
One
; }
991
else if (card == XmlQueryCardinality.
One
)
System\Xml\Xsl\Xslt\QilGenerator.cs (1)
2825
if (nsVar.XmlType.Cardinality == XmlQueryCardinality.
One
)