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
();
5203
NodeData textChunk = new
NodeData
();
5215
NodeData entityChunk = new
NodeData
();
5247
NodeData textChunk = new
NodeData
();
5255
NodeData entityChunk = new
NodeData
();
5355
NodeData textChunk = new
NodeData
();
7646
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);
3566
_curNode =
NodeData
.None;
3691
NodeData
? attr = null;
4270
NodeData
el = _nodes[i];
4467
NodeData
attr = _nodes[i];
4497
NodeData
[]? nameSortedAttributes = null;
4501
nameSortedAttributes = new
NodeData
[_attrCount];
4531
NodeData
startTagNode = _nodes[_index - 1];
4649
private void ThrowTagMismatch(
NodeData
startTag)
4677
NodeData
? attr = null;
4977
NodeData
at = _nodes[i];
4991
NodeData
attr1 = _nodes[i];
5005
_attrDuplSortingArray = new
NodeData
[_attrCount];
5010
NodeData
attr1 = _attrDuplSortingArray[0];
5013
NodeData
attr2 = _attrDuplSortingArray[i];
5023
private void OnDefaultNamespaceDecl(
NodeData
attr)
5043
private void OnNamespaceDecl(
NodeData
attr)
5057
private void OnXmlReservedAttribute(
NodeData
attr)
5093
private void ParseAttributeValueSlow(int curPos, char quoteChar,
NodeData
attr)
5101
NodeData
? lastChunk = null;
5203
NodeData
textChunk = new NodeData();
5215
NodeData
entityChunk = new NodeData();
5247
NodeData
textChunk = new NodeData();
5255
NodeData
entityChunk = new NodeData();
5355
NodeData
textChunk = new NodeData();
5369
private static void AddAttributeChunkToList(
NodeData
attr,
NodeData
chunk, ref
NodeData
? lastChunk)
7621
private
NodeData
AddNode(int nodeIndex, int nodeDepth)
7626
NodeData
n = _nodes[nodeIndex];
7635
private
NodeData
AllocNode(int nodeIndex, int nodeDepth)
7640
NodeData
[] newNodes = new
NodeData
[_nodes.Length * 2];
7646
NodeData
node = _nodes[nodeIndex] ??= new NodeData();
7651
private
NodeData
AddAttributeNoChecks(string name, int attrDepth)
7653
NodeData
newAttr = AddNode(_index + _attrCount + 1, attrDepth);
7659
private
NodeData
AddAttribute(int endNamePos, int colonPos)
7691
private
NodeData
AddAttribute(string localName, string prefix, string? nameWPrefix)
7693
NodeData
newAttr = AddNode(_index + _attrCount + 1, _index + 1);
7713
NodeData
attr = _nodes[i];
7760
private string LookupNamespace(
NodeData
node)
7775
private void AddNamespace(string prefix, string uri,
NodeData
attr)
7835
NodeData
attr = _nodes[i];
9190
private bool AddDefaultAttributeDtd(IDtdDefaultAttributeInfo defAttrInfo,
NodeData
[]? nameSortedNodeData)
9220
NodeData
attr = AddDefaultAttributeInternal(defAttrInfo.LocalName, null, defAttrInfo.Prefix, defAttrInfo.DefaultValueExpanded,
9263
NodeData
attr = AddDefaultAttributeInternal(localName, ns, prefix, attrDef.DefaultValueExpanded,
9273
private
NodeData
AddDefaultAttributeInternal(string localName, string? ns, string prefix, string value,
9277
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 volatile
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
;