18 instantiations of Location
System.Data.SqlXml (18)
System\Xml\Xsl\SourceLineInfo.cs (2)
39: this(uriString, new Location(startLine, startPos), new Location(endLine, endPos))
System\Xml\Xsl\Xslt\XsltInput.cs (16)
167rec.start = new Location(readerLineInfo.LineNumber, readerLineInfo.LinePosition - PositionAdjustment(reader.NodeType)); 173rec.end = new Location(readerLineInfo.LineNumber, readerLineInfo.LinePosition - PositionAdjustment(reader.NodeType)); 175rec.end = new Location(rec.start.Line, int.MaxValue); 195rec.start = new Location(line, pos - (isCDATA ? 9 : 0)); 214rec.end = new Location(line, pos + (isCDATA ? 3 : 0)); 228rec.start = new Location(readerLineInfo.LineNumber, readerLineInfo.LinePosition - 1); 239rec.end = new Location(readerLineInfo.LineNumber, readerLineInfo.LinePosition + 1); 271rec.valueStart = new Location(readerLineInfo.LineNumber, readerLineInfo.LinePosition + correction); 274rec.end = new Location(rec.start.Line, rec.start.Pos + nameLength + 1); 297rec.end = new Location(readerLineInfo.LineNumber, readerLineInfo.LinePosition + correction); 299rec.end = new Location(rec.start.Line, int.MaxValue); 915return new SourceLineInfo(Uri, new Location(line, pos), new Location(line, pos + QualifiedName.Length)); 922loc = new Location(readerLineInfo.LineNumber, readerLineInfo.LinePosition); 924loc = new Location(0, 0); 1019public Location Start { get { return new Location(elementTagLi.End.Line, elementTagLi.End.Pos - 2); } }
21 references to Location
System.Data.SqlXml (21)
System\Xml\Xsl\ISourceLineInfo.cs (2)
12Location Start { get; } 13Location End { get; }
System\Xml\Xsl\SourceLineInfo.cs (8)
23public Location(Location that) { 27public bool LessOrEqual(Location that) { 35protected Location start; 36protected Location end; 42public SourceLineInfo(string uriString, Location start, Location end) { 54public Location End { get { return this.end ; } } 55public Location Start { get { return this.start ; } }
System\Xml\Xsl\Xslt\Scripts.cs (2)
42public Location endLoc; 64public void AddScriptBlock(string source, string uriString, int lineNumber, Location end) {
System\Xml\Xsl\Xslt\XsltInput.cs (9)
73public Location Start { get { return records[currentRecord].start ; } } 74public Location End { get { return records[currentRecord].end ; } } 912Location start = Start; 919Location loc; 1019public Location Start { get { return new Location(elementTagLi.End.Line, elementTagLi.End.Pos - 2); } } 1020public Location End { get { return elementTagLi.End ; } } 1029public Location start ; 1030public Location valueStart; 1031public Location end ;