59 references to LineNo
System.Private.Xml (59)
System\Xml\Core\XmlTextReaderImpl.cs (34)
415_curNode.SetLineInfo(_ps.LineNo - 1, _ps.LinePos - 1); 2446return _ps.LineNo; 2516SendValidationEvent(XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, null, _ps.LineNo, _ps.LinePos); 2688Throw(new XmlException(res, arg, _ps.LineNo, _ps.LinePos, _ps.baseUriStr)); 2700Throw(new XmlException(res, args, _ps.LineNo, _ps.LinePos, _ps.baseUriStr)); 2712Throw(new XmlException(res, args, innerException, _ps.LineNo, _ps.LinePos, _ps.baseUriStr)); 3602_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos + 2); 3731attr.SetLineInfo(_ps.LineNo, _ps.LinePos); 3764attr.SetLineInfo2(_ps.LineNo, _ps.LinePos); 3820Throw(SR.Xml_InvalidXmlDecl, _ps.LineNo, _ps.LinePos - 1); 4298_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 4774int attrNameLineNo = _ps.LineNo; 4837attr.SetLineInfo(_ps.LineNo, attrNameLinePos); 4840Debug.Assert(attrNameLineNo == _ps.LineNo); 4872attr.SetLineInfo2(_ps.LineNo, _ps.LinePos); 5228valueChunkLineInfo.Set(_ps.LineNo, _ps.LinePos); 5340valueChunkLineInfo.Set(_ps.LineNo, _ps.LinePos); 5401_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 5915_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 5946_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 6000Throw(SR.Xml_ErrorParsingEntityName, _ps.LineNo, savedLinePos); 6043Throw(SR.Xml_UndeclaredEntity, name, _ps.LineNo, entityStartLinePos); 6057Throw(SR.Xml_UnparsedEntityRef, name, _ps.LineNo, entityStartLinePos); 6062Throw(SR.Xml_ExternalEntityInStandAloneDocument, entity.Name, _ps.LineNo, entityStartLinePos); 6069Throw(SR.Xml_ExternalEntityInAttValue, name, _ps.LineNo, entityStartLinePos); 6200_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 6476_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 6708_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 7752_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 8068_parsingStatesStack![_parsingStatesStackTop].LineNo, _parsingStatesStack[_parsingStatesStackTop].LinePos); 8131_incReadLineInfo.Set(_ps.LineNo, _ps.LinePos); 8274_incReadLineInfo.Set(_ps.LineNo, _ps.LinePos); 8570_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 9396_incReadLineInfo.Set(_ps.LineNo, _ps.LinePos);
System\Xml\Core\XmlTextReaderImplAsync.cs (25)
788SendValidationEvent(XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, null, _ps.LineNo, _ps.LinePos); 1187_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos + 2); 1313attr!.SetLineInfo(_ps.LineNo, _ps.LinePos); 1345attr.SetLineInfo2(_ps.LineNo, _ps.LinePos); 1400Throw(SR.Xml_InvalidXmlDecl, _ps.LineNo, _ps.LinePos - 1); 1862_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 2407int attrNameLineNo = _ps.LineNo; 2480attr.SetLineInfo(_ps.LineNo, attrNameLinePos); 2483Debug.Assert(attrNameLineNo == _ps.LineNo); 2515attr.SetLineInfo2(_ps.LineNo, _ps.LinePos); 2744valueChunkLineInfo.Set(_ps.LineNo, _ps.LinePos); 2856valueChunkLineInfo.Set(_ps.LineNo, _ps.LinePos); 2898_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 2966_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 3691_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 3721_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 3783Throw(SR.Xml_ErrorParsingEntityName, _ps.LineNo, savedLinePos); 3829Throw(SR.Xml_UndeclaredEntity, name, _ps.LineNo, entityStartLinePos); 3842Throw(SR.Xml_UnparsedEntityRef, name, _ps.LineNo, entityStartLinePos); 3847Throw(SR.Xml_ExternalEntityInStandAloneDocument, entity.Name, _ps.LineNo, entityStartLinePos); 3854Throw(SR.Xml_ExternalEntityInAttValue, name, _ps.LineNo, entityStartLinePos); 3905_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 4201_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 4449_curNode.SetLineInfo(_ps.LineNo, _ps.LinePos); 5403_incReadLineInfo.Set(_ps.LineNo, _ps.LinePos);