12 references to ToArray
System.Collections.Immutable (12)
System\Collections\Immutable\ImmutableArray.cs (1)
175return new ImmutableArray<T>(items.ToArray(count));
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (4)
174get { return this.Keys.ToArray(this.Count); } 197get { return this.Values.ToArray(this.Count); } 231get { return this.Keys.ToArray(this.Count); } 242get { return this.Values.ToArray(this.Count); }
System\Collections\Immutable\ImmutableEnumerableDebuggerProxy.cs (1)
46??= _dictionary.Select(kv => new DebugViewDictionaryItem<TKey, TValue>(kv)).ToArray(_dictionary.Count);
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
1207public T[] Contents => _cachedContents ??= _list.ToArray(_list.Count);
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (4)
88get { return this.Root.Keys.ToArray(this.Count); } 104get { return this.Root.Values.ToArray(this.Count); } 242get { return this.Keys.ToArray(this.Count); } 253get { return this.Values.ToArray(this.Count); }
System\Collections\Immutable\ImmutableSortedSet_1.Builder.DebuggerProxy.cs (1)
36return _set.ToArray(_set.Count);