System.Xml.Xsl.IlGen.IteratorDescriptor.DiscardStack C# (CSharp) Method

DiscardStack() public method

Discard the current item if it is pushed onto the stack.
public DiscardStack ( ) : void
return void
        public void DiscardStack() {
            if (this.storage.Location == ItemLocation.Stack) {
                this.helper.Emit(OpCodes.Pop);
                this.storage = StorageDescriptor.None();
            }
        }