Work around a Mono C# compiler crash.

The original code would trigger a crash in the Mono C# compiler, e.g.:

    ArrayExpressionAst.cs(23,43): error CS0584: Internal compiler error: Object reference not set to an instance of an object

Moving this expression to its own method does the trick.