operator [] method

NameResolution operator [](
  1. int index
)
Gets the name resolution at the specified index. The index of the name resolution to get.

Implementation

NameResolution operator [](int index) {
  if (index < 0 || index >= this.Count) {
    throw new RangeError.value(index, "index", "Strings.IndexIsOutOfRange");
  }

  return this._items[index];
}