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
++;
9607
lineInfo.
linePos
= chars.Length - lastNewLinePos;
System\Xml\LineInfo.cs (2)
14
this.
linePos
= linePos;
20
this.
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)
4660
args[2] = startTag.lineInfo.
linePos
.ToString(CultureInfo.InvariantCulture);
5052
Throw(SR.Xml_BadNamespaceDecl, attr.lineInfo2.lineNo, attr.lineInfo2.
linePos
- 1);
5077
Throw(SR.Xml_InvalidXmlSpace, attr.StringValue, attr.lineInfo.lineNo, attr.lineInfo.
linePos
);
7781
Throw(SR.Xml_XmlnsPrefix, (int)attr.lineInfo2.lineNo, (int)attr.lineInfo2.
linePos
);
7785
Throw(SR.Xml_NamespaceDeclXmlXmlns, prefix, (int)attr.lineInfo2.lineNo, (int)attr.lineInfo2.
linePos
);
7792
Throw(SR.Xml_NamespaceDeclXmlXmlns, prefix, (int)attr.lineInfo2.lineNo, (int)attr.lineInfo2.
linePos
);
7797
Throw(SR.Xml_BadNamespaceDecl, (int)attr.lineInfo.lineNo, (int)attr.lineInfo.
linePos
);
7808
ReThrow(e, (int)attr.lineInfo.lineNo, (int)attr.lineInfo.
linePos
);
8188
ReThrow(e, (int)_incReadLineInfo.lineNo, (int)_incReadLineInfo.
linePos
);
8507
ReThrow(e, (int)_incReadLineInfo.lineNo, (int)_incReadLineInfo.
linePos
);
9372
ReThrow(e, _incReadLineInfo.lineNo, _incReadLineInfo.
linePos
);
9406
ReThrow(e, _incReadLineInfo.lineNo, _incReadLineInfo.
linePos
);
9419
_curNode.SetLineInfo(_incReadLineInfo.lineNo, _incReadLineInfo.
linePos
);
System\Xml\Core\XmlTextReaderImplAsync.cs (4)
2293
args[2] = startTag.lineInfo.
linePos
.ToString(CultureInfo.InvariantCulture);
5380
ReThrow(e, _incReadLineInfo.lineNo, _incReadLineInfo.
linePos
);
5418
ReThrow(e, _incReadLineInfo.lineNo, _incReadLineInfo.
linePos
);
5430
_curNode.SetLineInfo(_incReadLineInfo.lineNo, _incReadLineInfo.
linePos
);
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
405
return lineInfo.
linePos
;
System\Xml\Schema\DtdParser.cs (4)
919
attrDef.ValueLinePosition = (int)_literalLineInfo.
linePos
+ 1;
1286
entity.Pos = (int)_literalLineInfo.
linePos
;
1513
Throw(SR.Xml_ExpectingWhiteSpace, char.ToString(_literalQuoteChar), (int)_literalLineInfo.lineNo, (int)_literalLineInfo.
linePos
);
1530
Throw(SR.Xml_ExpectingWhiteSpace, char.ToString(_literalQuoteChar), (int)_literalLineInfo.lineNo, (int)_literalLineInfo.
linePos
);
System\Xml\Schema\DtdParserAsync.cs (4)
563
attrDef.ValueLinePosition = (int)_literalLineInfo.
linePos
+ 1;
919
entity.Pos = (int)_literalLineInfo.
linePos
;
1138
Throw(SR.Xml_ExpectingWhiteSpace, char.ToString(_literalQuoteChar), (int)_literalLineInfo.lineNo, (int)_literalLineInfo.
linePos
);
1155
Throw(SR.Xml_ExpectingWhiteSpace, char.ToString(_literalQuoteChar), (int)_literalLineInfo.lineNo, (int)_literalLineInfo.
linePos
);