PERWAPI.CILInstructions.EndFilterBlock C# (CSharp) Method

EndFilterBlock() public method

Mark this position as the end of the last started block and make it a filter block. This filter block is associated with the specified try block. The format is: filterLab: ... ... filterHandler : ... ...
public EndFilterBlock ( CILLabel filterLab, TryBlock tryBlock ) : void
filterLab CILLabel the label where the filter code is
tryBlock TryBlock the try block associated with this filter block
return void
        public void EndFilterBlock(CILLabel filterLab, TryBlock tryBlock)
        {
            Filter filBlock = new Filter(filterLab,(CILLabel)blockStack.Pop(),NewCodedLabel());
            tryBlock.AddHandler(filBlock);
        }