14 writes to linePos
System.Xml (14)
System\Xml\Core\XmlTextReaderImpl.cs (6)
5632
curNode.lineInfo.
linePos
+= curNode.localName.Length;
7360
incReadLineInfo.
linePos
+= count; // we have never more then 1 line cached
7366
incReadLineInfo.
linePos
+= count;
7644
incReadLineInfo.
linePos
+= count; // we have never more than 1 line cached
7749
curNode.lineInfo.
linePos
++;
8572
lineInfo.
linePos
= length - lastNewLinePos;
System\Xml\LineInfo.cs (2)
16
this.
linePos
= linePos;
21
this.
linePos
= linePos;
System\Xml\Schema\DtdParser.cs (3)
1528
literalLineInfo.
linePos
++;
1543
literalLineInfo.
linePos
++;
1551
literalLineInfo.
linePos
++;
System\Xml\Schema\DtdParserAsync.cs (3)
1142
literalLineInfo.
linePos
++;
1157
literalLineInfo.
linePos
++;
1165
literalLineInfo.
linePos
++;
26 references to linePos
System.Xml (26)
System\Xml\Core\XmlTextReaderImpl.cs (13)
4245
args[2] = startTag.lineInfo.
linePos
.ToString(CultureInfo.InvariantCulture);
4617
Throw( Res.Xml_BadNamespaceDecl, attr.lineInfo2.lineNo, attr.lineInfo2.
linePos
- 1 );
4637
Throw( Res.Xml_InvalidXmlSpace, attr.StringValue, attr.lineInfo.lineNo, attr.lineInfo.
linePos
);
7015
Throw( Res.Xml_XmlnsPrefix, (int)attr.lineInfo2.lineNo, (int)attr.lineInfo2.
linePos
);
7018
Throw( Res.Xml_NamespaceDeclXmlXmlns, prefix, (int)attr.lineInfo2.lineNo, (int)attr.lineInfo2.
linePos
);
7023
Throw( Res.Xml_NamespaceDeclXmlXmlns, prefix, (int)attr.lineInfo2.lineNo, (int)attr.lineInfo2.
linePos
);
7027
Throw( Res.Xml_BadNamespaceDecl, (int)attr.lineInfo.lineNo, (int)attr.lineInfo.
linePos
);
7034
ReThrow( e, (int)attr.lineInfo.lineNo, (int)attr.lineInfo.
linePos
);
7355
ReThrow( e, (int)incReadLineInfo.lineNo, (int)incReadLineInfo.
linePos
);
7636
ReThrow( e, (int)incReadLineInfo.lineNo, (int)incReadLineInfo.
linePos
);
8361
ReThrow( e, incReadLineInfo.lineNo, incReadLineInfo.
linePos
);
8389
ReThrow( e, incReadLineInfo.lineNo, incReadLineInfo.
linePos
);
8400
curNode.SetLineInfo( incReadLineInfo.lineNo, incReadLineInfo.
linePos
);
System\Xml\Core\XmlTextReaderImplAsync.cs (4)
2119
args[2] = startTag.lineInfo.
linePos
.ToString(CultureInfo.InvariantCulture);
4996
ReThrow( e, incReadLineInfo.lineNo, incReadLineInfo.
linePos
);
5030
ReThrow( e, incReadLineInfo.lineNo, incReadLineInfo.
linePos
);
5041
curNode.SetLineInfo( incReadLineInfo.lineNo, incReadLineInfo.
linePos
);
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
393
return lineInfo.
linePos
;
System\Xml\Schema\DtdParser.cs (4)
868
attrDef.ValueLinePosition = (int)literalLineInfo.
linePos
+ 1;
1342
entity.Pos = (int)literalLineInfo.
linePos
;
1548
Throw( Res.Xml_ExpectingWhiteSpace, new string( literalQuoteChar, 1 ), (int)literalLineInfo.lineNo, (int)literalLineInfo.
linePos
);
1561
Throw( Res.Xml_ExpectingWhiteSpace, new string( literalQuoteChar, 1 ), (int)literalLineInfo.lineNo, (int)literalLineInfo.
linePos
);
System\Xml\Schema\DtdParserAsync.cs (4)
513
attrDef.ValueLinePosition = (int)literalLineInfo.
linePos
+ 1;
968
entity.Pos = (int)literalLineInfo.
linePos
;
1162
Throw( Res.Xml_ExpectingWhiteSpace, new string( literalQuoteChar, 1 ), (int)literalLineInfo.lineNo, (int)literalLineInfo.
linePos
);
1175
Throw( Res.Xml_ExpectingWhiteSpace, new string( literalQuoteChar, 1 ), (int)literalLineInfo.lineNo, (int)literalLineInfo.
linePos
);