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(); 5203NodeData textChunk = new NodeData(); 5215NodeData entityChunk = new NodeData(); 5247NodeData textChunk = new NodeData(); 5255NodeData entityChunk = new NodeData(); 5355NodeData textChunk = new NodeData(); 7646NodeData node = _nodes[nodeIndex] ??= new NodeData();
System\Xml\Core\XmlTextReaderImplAsync.cs (5)
2719NodeData textChunk = new NodeData(); 2731NodeData entityChunk = new NodeData(); 2763NodeData textChunk = new NodeData(); 2771NodeData entityChunk = new NodeData(); 2872NodeData textChunk = new NodeData();
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
341s_None ??= new NodeData();
84 references to NodeData
System.Private.Xml (84)
System\Xml\Core\XmlTextReaderImpl.cs (57)
155private NodeData[] _nodes; 158private NodeData _curNode; 170private NodeData[]? _attrDuplSortingArray; 305_nodes = new NodeData[NodesInitialSize]; 331_nodes = new NodeData[NodesInitialSize]; 395_nodes = new NodeData[NodesInitialSize]; 1443NodeData simpleValueNode = AddNode(_index + _attrCount + 1, _curNode.depth + 1); 2503NodeData originalCurNode = _curNode; 2635NodeData attr = AddAttributeNoChecks("SYSTEM", _index + 1); 2643NodeData attr = AddAttributeNoChecks("PUBLIC", _index + 1); 3566_curNode = NodeData.None; 3691NodeData? attr = null; 4270NodeData el = _nodes[i]; 4467NodeData attr = _nodes[i]; 4497NodeData[]? nameSortedAttributes = null; 4501nameSortedAttributes = new NodeData[_attrCount]; 4531NodeData startTagNode = _nodes[_index - 1]; 4649private void ThrowTagMismatch(NodeData startTag) 4677NodeData? attr = null; 4977NodeData at = _nodes[i]; 4991NodeData attr1 = _nodes[i]; 5005_attrDuplSortingArray = new NodeData[_attrCount]; 5010NodeData attr1 = _attrDuplSortingArray[0]; 5013NodeData attr2 = _attrDuplSortingArray[i]; 5023private void OnDefaultNamespaceDecl(NodeData attr) 5043private void OnNamespaceDecl(NodeData attr) 5057private void OnXmlReservedAttribute(NodeData attr) 5093private void ParseAttributeValueSlow(int curPos, char quoteChar, NodeData attr) 5101NodeData? lastChunk = null; 5203NodeData textChunk = new NodeData(); 5215NodeData entityChunk = new NodeData(); 5247NodeData textChunk = new NodeData(); 5255NodeData entityChunk = new NodeData(); 5355NodeData textChunk = new NodeData(); 5369private static void AddAttributeChunkToList(NodeData attr, NodeData chunk, ref NodeData? lastChunk) 7621private NodeData AddNode(int nodeIndex, int nodeDepth) 7626NodeData n = _nodes[nodeIndex]; 7635private NodeData AllocNode(int nodeIndex, int nodeDepth) 7640NodeData[] newNodes = new NodeData[_nodes.Length * 2]; 7646NodeData node = _nodes[nodeIndex] ??= new NodeData(); 7651private NodeData AddAttributeNoChecks(string name, int attrDepth) 7653NodeData newAttr = AddNode(_index + _attrCount + 1, attrDepth); 7659private NodeData AddAttribute(int endNamePos, int colonPos) 7691private NodeData AddAttribute(string localName, string prefix, string? nameWPrefix) 7693NodeData newAttr = AddNode(_index + _attrCount + 1, _index + 1); 7713NodeData attr = _nodes[i]; 7760private string LookupNamespace(NodeData node) 7775private void AddNamespace(string prefix, string uri, NodeData attr) 7835NodeData attr = _nodes[i]; 9190private bool AddDefaultAttributeDtd(IDtdDefaultAttributeInfo defAttrInfo, NodeData[]? nameSortedNodeData) 9220NodeData attr = AddDefaultAttributeInternal(defAttrInfo.LocalName, null, defAttrInfo.Prefix, defAttrInfo.DefaultValueExpanded, 9263NodeData attr = AddDefaultAttributeInternal(localName, ns, prefix, attrDef.DefaultValueExpanded, 9273private NodeData AddDefaultAttributeInternal(string localName, string? ns, string prefix, string value, 9277NodeData attr = AddAttribute(localName, prefix, prefix.Length > 0 ? null : localName);
System\Xml\Core\XmlTextReaderImplAsync.cs (17)
775NodeData originalCurNode = _curNode; 1275NodeData? attr = null; 2062NodeData startTagNode = _nodes[_index - 1]; 2084NodeData startTagNode = _nodes[_index - 1]; 2100NodeData startTagNode = _nodes[_index - 1]; 2138private Task ParseEndElementAsync_Finish(int nameLen, NodeData startTagNode, LineInfo endTagLineInfo) 2162private async Task ParseEndElementAsync_Finish(Task task, int nameLen, NodeData startTagNode, LineInfo endTagLineInfo) 2181private Task ParseEndElementAsync_CheckEndTag(int nameLen, NodeData startTagNode, LineInfo endTagLineInfo) 2280private async Task ThrowTagMismatchAsync(NodeData startTag) 2309NodeData? attr = null; 2603private async Task ParseAttributeValueSlowAsync(int curPos, char quoteChar, NodeData attr) 2611NodeData? lastChunk = null; 2719NodeData textChunk = new NodeData(); 2731NodeData entityChunk = new NodeData(); 2763NodeData textChunk = new NodeData(); 2771NodeData entityChunk = new NodeData(); 2872NodeData textChunk = new NodeData();
System\Xml\Core\XmlTextReaderImplHelpers.cs (10)
336private static volatile NodeData? s_None; 339internal static NodeData None => 381internal NodeData? nextAttrValueChunk; 682NodeData? other = obj as NodeData; 725Debug.Assert(x == null || x is NodeData || x is IDtdDefaultAttributeInfo); 726Debug.Assert(y == null || y is NodeData || y is IDtdDefaultAttributeInfo); 740NodeData? nodeData = x as NodeData; 759nodeData = y as NodeData;