24 references to List
System.Text.Json (24)
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 (11)
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); 139void ICollection<JsonNode?>.CopyTo(JsonNode?[] array, int index) => List.CopyTo(array, index); 145public IEnumerator<JsonNode?> GetEnumerator() => List.GetEnumerator(); 153IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)List).GetEnumerator();