System\Xml\Xsl\XPath\XPathBuilder.cs (26)
116XPathOperatorGroup opGroup = s_operatorGroup[(int)op];
118Debug.Assert((opGroup != XPathOperatorGroup.Negate && right != null) || (opGroup == XPathOperatorGroup.Negate && right == null));
122case XPathOperatorGroup.Logical: return LogicalOperator(op, left!, right!);
123case XPathOperatorGroup.Equality: return EqualityOperator(op, left!, right!);
124case XPathOperatorGroup.Relational: return RelationalOperator(op, left!, right!);
125case XPathOperatorGroup.Arithmetic: return ArithmeticOperator(op, left!, right!);
126case XPathOperatorGroup.Negate: return NegateOperator(op, left!);
127case XPathOperatorGroup.Union: return UnionOperator(op, left, right!);
689private static readonly XPathOperatorGroup[] s_operatorGroup = {
690/*Unknown */ XPathOperatorGroup.Unknown,
691/*Or */ XPathOperatorGroup.Logical,
692/*And */ XPathOperatorGroup.Logical,
693/*Eq */ XPathOperatorGroup.Equality,
694/*Ne */ XPathOperatorGroup.Equality,
695/*Lt */ XPathOperatorGroup.Relational,
696/*Le */ XPathOperatorGroup.Relational,
697/*Gt */ XPathOperatorGroup.Relational,
698/*Ge */ XPathOperatorGroup.Relational,
699/*Plus */ XPathOperatorGroup.Arithmetic,
700/*Minus */ XPathOperatorGroup.Arithmetic,
701/*Multiply */ XPathOperatorGroup.Arithmetic,
702/*Divide */ XPathOperatorGroup.Arithmetic,
703/*Modulo */ XPathOperatorGroup.Arithmetic,
704/*UnaryMinus*/ XPathOperatorGroup.Negate,
705/*Union */ XPathOperatorGroup.Union,