ImmutableArray Builder unexpected IndexOutOfRangeException

The following code throws an IndexOutOfRangeexception: var builder = ImmutableArray.CreateBuilder<Color>(5); builder[3] = Colors.Red; I expected this would work, as the documentation says the following: ImmutableArray<T>.CreateBuilder<T>(Int32) Creates a mutable array that can be converted to an ImmutableArray without allocating new memory; Int32 = The initial capacity of the builder. returns a Builder Builder class: A writable… Read More ImmutableArray Builder unexpected IndexOutOfRangeException