5 references to AtMost
System.Private.Xml (5)
System\Xml\Xsl\QIL\QilReplaceVisitor.cs (1)
81
Debug.Assert(newType.IsSubtypeOf(XmlQueryTypeFactory.
AtMost
(oldType, oldType.Cardinality)), "Replace shouldn't relax original type");
System\Xml\Xsl\QIL\QilTypeChecker.cs (4)
433
return XmlQueryTypeFactory.
AtMost
(node.Left.XmlType!, node.Left.XmlType!.Cardinality);
616
return XmlQueryTypeFactory.
AtMost
(node.Variable.Binding!.XmlType!, node.Variable.Binding.XmlType!.Cardinality);
1077
return XmlQueryTypeFactory.
AtMost
(((QilTargetType)body).TargetType, variable.Binding!.XmlType!.Cardinality);
1094
return XmlQueryTypeFactory.
AtMost
(variable.Binding!.XmlType!, XmlQueryCardinality.ZeroOrOne);