25 references to Line
System.Private.Xml (25)
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 (7)
47
public int StartLine { get { return this.start.
Line
; } }
68
if (lineInfo.Start.
Line
== 0 || lineInfo.Start.
Line
== NoSourceMagicNumber)
70
Debug.Assert(lineInfo.Start.
Line
== lineInfo.End.
Line
);
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)
178
info.AddValue("StartLine", _lineInfo.Start.
Line
, typeof(int));
180
info.AddValue("EndLine", _lineInfo.End.
Line
, typeof(int));
192
get { return _lineInfo != null ? _lineInfo.Start.
Line
: 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\QilGenerator.cs (1)
2804
if (0 < lineInfo.Start.
Line
&& lineInfo.Start.LessOrEqual(lineInfo.End))
System\Xml\Xsl\Xslt\XsltInput.cs (8)
194
rec.end = new Location(rec.start.
Line
, int.MaxValue);
308
rec.end = new Location(rec.start.
Line
, rec.start.Pos + nameLength + 1);
337
rec.end = new Location(rec.start.
Line
, int.MaxValue);
1075
int line = start.
Line
;
1165
if (lineInfo!.Start.
Line
== 0)
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); } }