14 writes to linePos
System.Private.Xml (14)
System\Xml\Core\XmlTextReaderImpl.cs (6)
6185_curNode.lineInfo.linePos += _curNode.localName.Length; 8194_incReadLineInfo.linePos += count; // we have never more then 1 line cached 8201_incReadLineInfo.linePos += count; 8517_incReadLineInfo.linePos += count; // we have never more than 1 line cached 8635_curNode.lineInfo.linePos++; 9607lineInfo.linePos = chars.Length - lastNewLinePos;
System\Xml\LineInfo.cs (2)
14this.linePos = linePos; 20this.linePos = linePos;
System\Xml\Schema\DtdParser.cs (3)
1488_literalLineInfo.linePos++; 1506_literalLineInfo.linePos++; 1516_literalLineInfo.linePos++;
System\Xml\Schema\DtdParserAsync.cs (3)
1113_literalLineInfo.linePos++; 1131_literalLineInfo.linePos++; 1141_literalLineInfo.linePos++;
26 references to linePos
System.Private.Xml (26)
System\Xml\Core\XmlTextReaderImpl.cs (13)
4660args[2] = startTag.lineInfo.linePos.ToString(CultureInfo.InvariantCulture); 5052Throw(SR.Xml_BadNamespaceDecl, attr.lineInfo2.lineNo, attr.lineInfo2.linePos - 1); 5077Throw(SR.Xml_InvalidXmlSpace, attr.StringValue, attr.lineInfo.lineNo, attr.lineInfo.linePos); 7781Throw(SR.Xml_XmlnsPrefix, (int)attr.lineInfo2.lineNo, (int)attr.lineInfo2.linePos); 7785Throw(SR.Xml_NamespaceDeclXmlXmlns, prefix, (int)attr.lineInfo2.lineNo, (int)attr.lineInfo2.linePos); 7792Throw(SR.Xml_NamespaceDeclXmlXmlns, prefix, (int)attr.lineInfo2.lineNo, (int)attr.lineInfo2.linePos); 7797Throw(SR.Xml_BadNamespaceDecl, (int)attr.lineInfo.lineNo, (int)attr.lineInfo.linePos); 7808ReThrow(e, (int)attr.lineInfo.lineNo, (int)attr.lineInfo.linePos); 8188ReThrow(e, (int)_incReadLineInfo.lineNo, (int)_incReadLineInfo.linePos); 8507ReThrow(e, (int)_incReadLineInfo.lineNo, (int)_incReadLineInfo.linePos); 9372ReThrow(e, _incReadLineInfo.lineNo, _incReadLineInfo.linePos); 9406ReThrow(e, _incReadLineInfo.lineNo, _incReadLineInfo.linePos); 9419_curNode.SetLineInfo(_incReadLineInfo.lineNo, _incReadLineInfo.linePos);
System\Xml\Core\XmlTextReaderImplAsync.cs (4)
2293args[2] = startTag.lineInfo.linePos.ToString(CultureInfo.InvariantCulture); 5380ReThrow(e, _incReadLineInfo.lineNo, _incReadLineInfo.linePos); 5418ReThrow(e, _incReadLineInfo.lineNo, _incReadLineInfo.linePos); 5430_curNode.SetLineInfo(_incReadLineInfo.lineNo, _incReadLineInfo.linePos);
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
405return lineInfo.linePos;
System\Xml\Schema\DtdParser.cs (4)
919attrDef.ValueLinePosition = (int)_literalLineInfo.linePos + 1; 1286entity.Pos = (int)_literalLineInfo.linePos; 1513Throw(SR.Xml_ExpectingWhiteSpace, char.ToString(_literalQuoteChar), (int)_literalLineInfo.lineNo, (int)_literalLineInfo.linePos); 1530Throw(SR.Xml_ExpectingWhiteSpace, char.ToString(_literalQuoteChar), (int)_literalLineInfo.lineNo, (int)_literalLineInfo.linePos);
System\Xml\Schema\DtdParserAsync.cs (4)
563attrDef.ValueLinePosition = (int)_literalLineInfo.linePos + 1; 919entity.Pos = (int)_literalLineInfo.linePos; 1138Throw(SR.Xml_ExpectingWhiteSpace, char.ToString(_literalQuoteChar), (int)_literalLineInfo.lineNo, (int)_literalLineInfo.linePos); 1155Throw(SR.Xml_ExpectingWhiteSpace, char.ToString(_literalQuoteChar), (int)_literalLineInfo.lineNo, (int)_literalLineInfo.linePos);