protected override bool TryCompileGet(string name)
{
if (base.TryCompileGet(name))
return true;
if (this.mthclass == null)
return false;
IClassDescription cls = this.mthclass as IClassDescription;
if (cls == null)
return false;
int p = cls.GetInstanceVariableOffset(name);
if (p >= 0)
{
CompileByteCode(ByteCode.GetInstanceVariable, (byte)p);
return true;
}
p = cls.GetClassVariableOffset(name);
if (p >= 0)
{
CompileByteCode(ByteCode.GetClassVariable, (byte)p);
return true;
}
return false;
}