5 references to AtMost
System.Data.SqlXml (5)
System\Xml\Xsl\QIL\QilReplaceVisitor.cs (1)
79
Debug.Assert(newType.IsSubtypeOf(XmlQueryTypeFactory.
AtMost
(oldType, oldType.Cardinality)), "Replace shouldn't relax original type");
System\Xml\Xsl\QIL\QilTypeChecker.cs (4)
398
return XmlQueryTypeFactory.
AtMost
(node.Left.XmlType, node.Left.XmlType.Cardinality);
557
return XmlQueryTypeFactory.
AtMost
(node.Variable.Binding.XmlType, node.Variable.Binding.XmlType.Cardinality);
968
return XmlQueryTypeFactory.
AtMost
(((QilTargetType)body).TargetType, variable.Binding.XmlType.Cardinality);
984
return XmlQueryTypeFactory.
AtMost
(variable.Binding.XmlType, XmlQueryCardinality.ZeroOrOne);