System.Xml.Xsl.IlGen.XmlILVisitor.ArithmeticOp C# (CSharp) Method

ArithmeticOp() private method

Generate code for two-argument arithmetic operations.
private ArithmeticOp ( QilBinary ndOp ) : QilNode
ndOp System.Xml.Xsl.Qil.QilBinary
return QilNode
        private QilNode ArithmeticOp(QilBinary ndOp) {
            NestedVisitEnsureStack(ndOp.Left, ndOp.Right);
            this.helper.CallArithmeticOp(ndOp.NodeType, ndOp.XmlType.TypeCode);
            this.iterCurr.Storage = StorageDescriptor.Stack(GetItemStorageType(ndOp), false);
            return ndOp;
        }
XmlILVisitor