26 references to List
System.Text.Json (26)
System\Text\Json\Nodes\JsonArray.cs (13)
108List<JsonNode?> currentList = List; 109List<JsonNode?> otherList = array.List; 133return List.IndexOf(node); 143foreach (JsonNode? item in List) 231return List[index]; 237DetachParent(List[index]); 238List[index] = value; 247int index = List.IndexOf(child); 281foreach (JsonNode? element in List) 364DebugViewItem[] properties = new DebugViewItem[_node.List.Count]; 366for (int i = 0; i < _node.List.Count; i++) 368properties[i].Value = _node.List[i]; 402return $"JsonArray[{jsonArray.List.Count}]";
System\Text\Json\Nodes\JsonArray.IList.cs (13)
14public int Count => List.Count; 26List.Add(item); 58public bool Contains(JsonNode? item) => List.Contains(item); 67public int IndexOf(JsonNode? item) => List.IndexOf(item); 80List.Insert(index, item); 94if (List.Remove(item)) 112JsonNode? item = List[index]; 113List.RemoveAt(index); 132return List.RemoveAll(node => 169List<JsonNode?> list = List; 211void ICollection<JsonNode?>.CopyTo(JsonNode?[] array, int index) => List.CopyTo(array, index); 217public IEnumerator<JsonNode?> GetEnumerator() => List.GetEnumerator(); 225IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)List).GetEnumerator();