7 references to AsReadOnlyList
System.Collections.Immutable (7)
System\Collections\Immutable\ImmutableList_1.cs (1)
1182
IReadOnlyList<T> list = items.
AsReadOnlyList
();
System\Collections\Immutable\ImmutableList_1.Node.cs (3)
580
return NodeTreeFromList(array.
AsReadOnlyList
(), 0, this.Count);
619
return NodeTreeFromList(array.
AsReadOnlyList
(), 0, this.Count);
1561
IReadOnlyList<T> list = keys.
AsReadOnlyList
();
System\Collections\Immutable\ImmutableSortedDictionary_2.Node.cs (1)
235
IReadOnlyList<KeyValuePair<TKey, TValue>> list = dictionary.
AsReadOnlyList
();
System\Collections\Immutable\ImmutableSortedSet_1.cs (2)
1160
Node root = Node.NodeTreeFromList(list.
AsReadOnlyList
(), 0, list.Count);
1218
Node root = Node.NodeTreeFromList(list.
AsReadOnlyList
(), 0, list.Count);