12 references to ToArray
System.Collections.Immutable (12)
System\Collections\Immutable\ImmutableArray.cs (1)
175
return new ImmutableArray<T>(items.
ToArray
(count));
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (4)
174
get { return this.Keys.
ToArray
(this.Count); }
197
get { return this.Values.
ToArray
(this.Count); }
231
get { return this.Keys.
ToArray
(this.Count); }
242
get { 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)
1207
public T[] Contents => _cachedContents ??= _list.
ToArray
(_list.Count);
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (4)
88
get { return this.Root.Keys.
ToArray
(this.Count); }
104
get { return this.Root.Values.
ToArray
(this.Count); }
242
get { return this.Keys.
ToArray
(this.Count); }
253
get { return this.Values.
ToArray
(this.Count); }
System\Collections\Immutable\ImmutableSortedSet_1.Builder.DebuggerProxy.cs (1)
36
return _set.
ToArray
(_set.Count);