15 instantiations of NodeData
System.Private.Xml (15)
System\Xml\Core\XmlTextReaderImpl.cs (9)
306
_nodes[0] = new
NodeData
();
332
_nodes[0] = new
NodeData
();
396
_nodes[0] = new
NodeData
();
5220
NodeData textChunk = new
NodeData
();
5232
NodeData entityChunk = new
NodeData
();
5264
NodeData textChunk = new
NodeData
();
5272
NodeData entityChunk = new
NodeData
();
5372
NodeData textChunk = new
NodeData
();
7663
NodeData node = _nodes[nodeIndex] ??= new
NodeData
();
System\Xml\Core\XmlTextReaderImplAsync.cs (5)
2719
NodeData textChunk = new
NodeData
();
2731
NodeData entityChunk = new
NodeData
();
2763
NodeData textChunk = new
NodeData
();
2771
NodeData entityChunk = new
NodeData
();
2872
NodeData textChunk = new
NodeData
();
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
341
s_None ??= new
NodeData
();
84 references to NodeData
System.Private.Xml (84)
System\Xml\Core\XmlTextReaderImpl.cs (57)
155
private
NodeData
[] _nodes;
158
private
NodeData
_curNode;
170
private
NodeData
[]? _attrDuplSortingArray;
305
_nodes = new
NodeData
[NodesInitialSize];
331
_nodes = new
NodeData
[NodesInitialSize];
395
_nodes = new
NodeData
[NodesInitialSize];
1443
NodeData
simpleValueNode = AddNode(_index + _attrCount + 1, _curNode.depth + 1);
2503
NodeData
originalCurNode = _curNode;
2635
NodeData
attr = AddAttributeNoChecks("SYSTEM", _index + 1);
2643
NodeData
attr = AddAttributeNoChecks("PUBLIC", _index + 1);
3583
_curNode =
NodeData
.None;
3708
NodeData
? attr = null;
4287
NodeData
el = _nodes[i];
4484
NodeData
attr = _nodes[i];
4514
NodeData
[]? nameSortedAttributes = null;
4518
nameSortedAttributes = new
NodeData
[_attrCount];
4548
NodeData
startTagNode = _nodes[_index - 1];
4666
private void ThrowTagMismatch(
NodeData
startTag)
4694
NodeData
? attr = null;
4994
NodeData
at = _nodes[i];
5008
NodeData
attr1 = _nodes[i];
5022
_attrDuplSortingArray = new
NodeData
[_attrCount];
5027
NodeData
attr1 = _attrDuplSortingArray[0];
5030
NodeData
attr2 = _attrDuplSortingArray[i];
5040
private void OnDefaultNamespaceDecl(
NodeData
attr)
5060
private void OnNamespaceDecl(
NodeData
attr)
5074
private void OnXmlReservedAttribute(
NodeData
attr)
5110
private void ParseAttributeValueSlow(int curPos, char quoteChar,
NodeData
attr)
5118
NodeData
? lastChunk = null;
5220
NodeData
textChunk = new NodeData();
5232
NodeData
entityChunk = new NodeData();
5264
NodeData
textChunk = new NodeData();
5272
NodeData
entityChunk = new NodeData();
5372
NodeData
textChunk = new NodeData();
5386
private static void AddAttributeChunkToList(
NodeData
attr,
NodeData
chunk, ref
NodeData
? lastChunk)
7638
private
NodeData
AddNode(int nodeIndex, int nodeDepth)
7643
NodeData
n = _nodes[nodeIndex];
7652
private
NodeData
AllocNode(int nodeIndex, int nodeDepth)
7657
NodeData
[] newNodes = new
NodeData
[_nodes.Length * 2];
7663
NodeData
node = _nodes[nodeIndex] ??= new NodeData();
7668
private
NodeData
AddAttributeNoChecks(string name, int attrDepth)
7670
NodeData
newAttr = AddNode(_index + _attrCount + 1, attrDepth);
7676
private
NodeData
AddAttribute(int endNamePos, int colonPos)
7708
private
NodeData
AddAttribute(string localName, string prefix, string? nameWPrefix)
7710
NodeData
newAttr = AddNode(_index + _attrCount + 1, _index + 1);
7730
NodeData
attr = _nodes[i];
7777
private string LookupNamespace(
NodeData
node)
7792
private void AddNamespace(string prefix, string uri,
NodeData
attr)
7852
NodeData
attr = _nodes[i];
9207
private bool AddDefaultAttributeDtd(IDtdDefaultAttributeInfo defAttrInfo,
NodeData
[]? nameSortedNodeData)
9237
NodeData
attr = AddDefaultAttributeInternal(defAttrInfo.LocalName, null, defAttrInfo.Prefix, defAttrInfo.DefaultValueExpanded,
9280
NodeData
attr = AddDefaultAttributeInternal(localName, ns, prefix, attrDef.DefaultValueExpanded,
9290
private
NodeData
AddDefaultAttributeInternal(string localName, string? ns, string prefix, string value,
9294
NodeData
attr = AddAttribute(localName, prefix, prefix.Length > 0 ? null : localName);
System\Xml\Core\XmlTextReaderImplAsync.cs (17)
775
NodeData
originalCurNode = _curNode;
1275
NodeData
? attr = null;
2062
NodeData
startTagNode = _nodes[_index - 1];
2084
NodeData
startTagNode = _nodes[_index - 1];
2100
NodeData
startTagNode = _nodes[_index - 1];
2138
private Task ParseEndElementAsync_Finish(int nameLen,
NodeData
startTagNode, LineInfo endTagLineInfo)
2162
private async Task ParseEndElementAsync_Finish(Task task, int nameLen,
NodeData
startTagNode, LineInfo endTagLineInfo)
2181
private Task ParseEndElementAsync_CheckEndTag(int nameLen,
NodeData
startTagNode, LineInfo endTagLineInfo)
2280
private async Task ThrowTagMismatchAsync(
NodeData
startTag)
2309
NodeData
? attr = null;
2603
private async Task ParseAttributeValueSlowAsync(int curPos, char quoteChar,
NodeData
attr)
2611
NodeData
? lastChunk = null;
2719
NodeData
textChunk = new NodeData();
2731
NodeData
entityChunk = new NodeData();
2763
NodeData
textChunk = new NodeData();
2771
NodeData
entityChunk = new NodeData();
2872
NodeData
textChunk = new NodeData();
System\Xml\Core\XmlTextReaderImplHelpers.cs (10)
336
private static
NodeData
? s_None;
339
internal static
NodeData
None =>
381
internal
NodeData
? nextAttrValueChunk;
682
NodeData
? other = obj as
NodeData
;
725
Debug.Assert(x == null || x is
NodeData
|| x is IDtdDefaultAttributeInfo);
726
Debug.Assert(y == null || y is
NodeData
|| y is IDtdDefaultAttributeInfo);
740
NodeData
? nodeData = x as
NodeData
;
759
nodeData = y as
NodeData
;