private void CompileDynamicCollection()
{
int nelements = 0;
while (!this.TryCompileToken(TokenType.Punctuation, "}"))
{
if (nelements > 0)
this.CompileToken(TokenType.Punctuation, ".");
this.CompileExpression();
nelements++;
}
this.block.CompileByteCode(ByteCode.MakeCollection, (byte)nelements);
}