PERWAPI.PDBReader.GetMethod C# (CSharp) Method

GetMethod() public method

Read the given PDB file by filename. Return a particular method.
public GetMethod ( int token ) : PDBMethod
token int The token to identify the method.
return PDBMethod
        public PDBMethod GetMethod(int token)
        {
            try {
                ISymbolMethod method = _reader.GetMethod(new SymbolToken(token));

                if (method != null)
                    return new PDBMethod(method);
                else
                    return null;
            }
            catch {
                return null; // call fails on tokens which are not referenced
            }
        }
PDBReader