private void DoPars(PEReader buff, bool resolvePars)
{
if (sig == null) sig = buff.ReadMethSig(this,sigIx);
sig.name = name;
parList = new Param[sig.numPars];
for (uint i=0; i < sig.numPars; i++) {
parList[i] = (Param)buff.GetElement(MDTable.Param,i+parIx);
if (resolvePars) parList[i].Resolve(buff,i+parIx,sig.parTypes[i]);
else parList[i].SetParType(sig.parTypes[i]);
}
//parsDone = true;
}