18 references to Location
System.Private.Xml (18)
System\Xml\Xsl\SourceLineInfo.cs (2)
35
: this(uriString, new
Location
(startLine, startPos), new
Location
(endLine, endPos))
System\Xml\Xsl\Xslt\XsltInput.cs (16)
183
rec.start = new
Location
(_readerLineInfo.LineNumber, _readerLineInfo.LinePosition - PositionAdjustment(_reader.NodeType));
191
rec.end = new
Location
(_readerLineInfo.LineNumber, _readerLineInfo.LinePosition - PositionAdjustment(_reader.NodeType));
194
rec.end = new
Location
(rec.start.Line, int.MaxValue);
216
rec.start = new
Location
(line, pos - (isCDATA ? 9 : 0));
238
rec.end = new
Location
(line, pos + (isCDATA ? 3 : 0));
254
rec.start = new
Location
(_readerLineInfo.LineNumber, _readerLineInfo.LinePosition - 1);
264
rec.end = new
Location
(_readerLineInfo.LineNumber, _readerLineInfo.LinePosition + 1);
304
rec.valueStart = new
Location
(_readerLineInfo.LineNumber, _readerLineInfo.LinePosition + correction);
308
rec.end = new
Location
(rec.start.Line, rec.start.Pos + nameLength + 1);
334
rec.end = new
Location
(_readerLineInfo.LineNumber, _readerLineInfo.LinePosition + correction);
337
rec.end = new
Location
(rec.start.Line, int.MaxValue);
1077
return new SourceLineInfo(Uri, new
Location
(line, pos), new
Location
(line, pos + QualifiedName.Length));
1085
loc = new
Location
(_readerLineInfo.LineNumber, _readerLineInfo.LinePosition);
1087
loc = new
Location
(0, 0);
1201
public Location Start { get { return new
Location
(_elementTagLi.End.Line, _elementTagLi.End.Pos - 2); } }