18 references to Pos
System.Private.Xml (18)
System\Xml\Xsl\IlGen\GenerateHelper.cs (2)
1523
_writerDump!.WriteLine("//[{0},{1} -- {2},{3}]", sourceInfo.Start.Line, sourceInfo.Start.
Pos
, sourceInfo.End.Line, sourceInfo.End.
Pos
);
System\Xml\Xsl\QIL\QilXmlWriter.cs (2)
127
node.SourceLine!.Start.Line, node.SourceLine.Start.
Pos
,
128
node.SourceLine.End.Line, node.SourceLine.End.
Pos
System\Xml\Xsl\SourceLineInfo.cs (4)
71
Debug.Assert(lineInfo.Start.
Pos
== 0 && lineInfo.End.
Pos
== 0);
75
Debug.Assert(0 < lineInfo.Start.Line && 0 < lineInfo.Start.
Pos
, "0 < start");
76
Debug.Assert(0 < lineInfo.End.Line && 0 < lineInfo.End.
Pos
, "0 < end");
System\Xml\Xsl\XslException.cs (4)
179
info.AddValue("StartPos", _lineInfo.Start.
Pos
, typeof(int));
181
info.AddValue("EndPos", _lineInfo.End.
Pos
, typeof(int));
197
get { return _lineInfo != null ? _lineInfo.Start.
Pos
: 0; }
205
string lineInfoMessage = CreateMessage(SR.Xml_ErrorFilePosition, fileName, lineInfo.Start.Line.ToString(CultureInfo.InvariantCulture), lineInfo.Start.
Pos
.ToString(CultureInfo.InvariantCulture));
System\Xml\Xsl\Xslt\Compiler.cs (1)
313
lineInfo.Uri!, lineInfo.Start.Line, lineInfo.Start.
Pos
, /*errorNumber:*/string.Empty,
System\Xml\Xsl\Xslt\XsltInput.cs (5)
308
rec.end = new Location(rec.start.Line, rec.start.
Pos
+ nameLength + 1);
1076
int pos = start.
Pos
+ PositionAdjustment(NodeType);
1173
lineInfo.Start.Line, lineInfo.Start.
Pos
+ 1, // "<"
1174
lineInfo.Start.Line, lineInfo.Start.
Pos
+ 1 + _elemNameLength
1201
public Location Start { get { return new Location(_elementTagLi.End.Line, _elementTagLi.End.
Pos
- 2); } }