public bool CheckBogus(CType pType)
{
if (pType == null)
{
return(false);
}
if (!pType.hasBogus())
{
bool fBogus = pType.computeCurrentBogusState();
if (fBogus)
{
// Only set this if everything is declared or
// at least 1 declared thing is bogus
pType.setBogus(fBogus);
}
}
return(pType.hasBogus() && pType.checkBogus());
}