private short AddNameAndType(string name, string type)
{
short nameIndex = AddUtf8(name);
short typeIndex = AddUtf8(type);
Ensure(5);
itsPool[itsTop++] = CONSTANT_NameAndType;
itsTop = ClassFileWriter.PutInt16(nameIndex, itsPool, itsTop);
itsTop = ClassFileWriter.PutInt16(typeIndex, itsPool, itsTop);
itsPoolTypes.Put(itsTopIndex, CONSTANT_NameAndType);
return (short)(itsTopIndex++);
}