PERWAPI.PDBWriter.OpenMethod C# (CSharp) Method

OpenMethod() public method

Open a method. Scopes and sequence points will be added to this method.
public OpenMethod ( int token ) : void
token int The token for this method.
return void
        public void OpenMethod(int token)
        {
            // Add this new method to the list of methods
            Method meth = new Method();
            meth.Token = new SymbolToken(token);
            methods.Add(meth);

            // Set the current method
            currentMethod = meth;
        }