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