protected override bool TryCompileSet(string name)
{
if (base.TryCompileSet(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)
{
this.CompileByteCode(ByteCode.SetInstanceVariable, (byte)p);
return true;
}
p = cls.GetClassVariableOffset(name);
if (p >= 0)
{
this.CompileByteCode(ByteCode.SetClassVariable, (byte)p);
return true;
}
return false;
}