1 write to ChildNodes
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelStateDictionary.cs (1)
904
ChildNodes
= new List<ModelStateNode>(1);
18 references to ChildNodes
Microsoft.AspNetCore.Mvc.Abstractions (18)
ModelBinding\ModelStateDictionary.cs (18)
644
if (node.
ChildNodes
!= null)
648
for (var i = 0; i < node.
ChildNodes
.Count; i++)
650
var entryState = GetValidity(node.
ChildNodes
[i], currentDepth);
697
_root.
ChildNodes
?.Clear();
839
public override IReadOnlyList<ModelStateEntry>? Children =>
ChildNodes
;
882
else if (
ChildNodes
!= null)
887
modelStateNode =
ChildNodes
[index];
902
else if (
ChildNodes
== null)
906
ChildNodes
.Add(modelStateNode);
913
modelStateNode =
ChildNodes
[index];
918
ChildNodes
.Insert(~index, modelStateNode);
930
Debug.Assert(
ChildNodes
!= null);
933
var high =
ChildNodes
.Count - 1;
937
var midKey =
ChildNodes
[mid].SubKey;
1051
if (_rootNode.
ChildNodes
?.Count > 0)
1071
if (_index == node.
ChildNodes
!.Count - 1)
1083
var currentChild = node.
ChildNodes
[_index];
1084
if (currentChild.
ChildNodes
?.Count > 0)