35 references to Zero
System.Private.Xml (35)
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (4)
1152
if (((local1).XmlType)!.Cardinality == XmlQueryCardinality.
Zero
)
1180
if (((local1).XmlType)!.Cardinality == XmlQueryCardinality.
Zero
)
1208
if (((local1).XmlType)!.Cardinality == XmlQueryCardinality.
Zero
)
1236
if (((local1).XmlType)!.Cardinality == XmlQueryCardinality.
Zero
)
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
707
0 => XmlQueryCardinality.
Zero
,
System\Xml\Xsl\XmlQueryCardinality.cs (24)
219
/* None */ { None,
Zero
, None,
Zero
, None,
Zero
, None,
Zero
},
220
/* Zero */ {
Zero
,
Zero
,
Zero
,
Zero
,
Zero
,
Zero
,
Zero
,
Zero
},
221
/* One */ { None,
Zero
, One, ZeroOrOne, More, NotOne, OneOrMore, ZeroOrMore },
222
/* ZeroOrOne */ {
Zero
,
Zero
, ZeroOrOne, ZeroOrOne, NotOne, NotOne, ZeroOrMore, ZeroOrMore },
223
/* More */ { None,
Zero
, More, NotOne, More, NotOne, More, NotOne },
224
/* NotOne */ {
Zero
,
Zero
, NotOne, NotOne, NotOne, NotOne, NotOne, NotOne },
225
/* OneOrMore */ { None,
Zero
, OneOrMore, ZeroOrMore, More, NotOne, OneOrMore, ZeroOrMore },
226
/* ZeroOrMore */ {
Zero
,
Zero
, ZeroOrMore, ZeroOrMore, NotOne, NotOne, ZeroOrMore, ZeroOrMore }
234
/* None */ { None,
Zero
, One, ZeroOrOne, More, NotOne, OneOrMore, ZeroOrMore},
235
/* Zero */ {
Zero
,
Zero
, One, ZeroOrOne, More, NotOne, OneOrMore, ZeroOrMore},
System\Xml\Xsl\XmlQueryType.cs (3)
260
get { return Cardinality <= XmlQueryCardinality.
Zero
; }
276
get { return XmlQueryCardinality.
Zero
<= Cardinality; }
424
else if (Cardinality == XmlQueryCardinality.
Zero
)
System\Xml\Xsl\XmlQueryTypeFactory.cs (3)
962
public static readonly XmlQueryType Zero = new SequenceType(ChoiceType.None, XmlQueryCardinality.
Zero
);
978
return XmlQueryCardinality.
Zero
<= card ? Zero : None;
987
else if (card == XmlQueryCardinality.
Zero
)