2 instantiations of ChoiceType
System.Private.Xml (2)
System\Xml\Xsl\XmlQueryTypeFactory.cs (2)
690
public static readonly XmlQueryType None = new
ChoiceType
(new List<XmlQueryType>());
733
return new
ChoiceType
(members);
10 references to ChoiceType
System.Private.Xml (10)
System\Xml\Xsl\XmlQueryTypeFactory.cs (10)
81
return SequenceType.Create(
ChoiceType
.Create(PrimeChoice(new List<XmlQueryType>(left), right)), left.Cardinality | right.Cardinality);
106
return SequenceType.Create(
ChoiceType
.Create(list), card);
116
return
ChoiceType
.Create(kinds);
127
return SequenceType.Create(
ChoiceType
.Create(PrimeChoice(new List<XmlQueryType>(left), right)), left.Cardinality + right.Cardinality);
183
public static readonly XmlQueryType None =
ChoiceType
.None;
367
s_builtInItemTypes[i] =
ChoiceType
.None;
368
s_builtInItemTypesStrict[i] =
ChoiceType
.None;
962
public static readonly XmlQueryType Zero = new SequenceType(
ChoiceType
.None, XmlQueryCardinality.Zero);
1176
else if (type.GetType() == typeof(
ChoiceType
))
1198
case 1: return
ChoiceType
.Create(reader);