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

VisitNegate() protected method

Generate code for QilNodeType.Negate.
protected VisitNegate ( QilUnary ndNeg ) : QilNode
ndNeg QilUnary
return QilNode
        protected override QilNode VisitNegate(QilUnary ndNeg) {
            NestedVisitEnsureStack(ndNeg.Child);
            this.helper.CallArithmeticOp(QilNodeType.Negate, ndNeg.XmlType.TypeCode);
            this.iterCurr.Storage = StorageDescriptor.Stack(GetItemStorageType(ndNeg), false);
            return ndNeg;
        }
XmlILVisitor