2 instantiations of ChoiceType
System.Data.SqlXml (2)
System\Xml\Xsl\XmlQueryTypeFactory.cs (2)
669
public static readonly XmlQueryType None = new
ChoiceType
(new List<XmlQueryType>());
706
return new
ChoiceType
(members);
10 references to ChoiceType
System.Data.SqlXml (10)
System\Xml\Xsl\XmlQueryTypeFactory.cs (10)
80
return SequenceType.Create(
ChoiceType
.Create(PrimeChoice(new List<XmlQueryType>(left), right)), left.Cardinality | right.Cardinality);
103
return SequenceType.Create(
ChoiceType
.Create(list), card);
112
return
ChoiceType
.Create(kinds);
122
return SequenceType.Create(
ChoiceType
.Create(PrimeChoice(new List<XmlQueryType>(left), right)), left.Cardinality + right.Cardinality);
186
public static readonly XmlQueryType None =
ChoiceType
.None;
356
BuiltInItemTypes[i] =
ChoiceType
.None;
357
BuiltInItemTypesStrict[i] =
ChoiceType
.None;
915
public static readonly XmlQueryType Zero = new SequenceType(
ChoiceType
.None, XmlQueryCardinality.Zero);
1118
else if (type.GetType() == typeof(
ChoiceType
))
1137
case 1: return
ChoiceType
.Create(reader);