Revert change to EndLocation as it was incorrectly changed.
This commit is contained in:
parent
904fd19605
commit
9cf611b9e2
|
|
@ -35,7 +35,7 @@ namespace Microsoft.AspNetCore.Razor.Language.Legacy
|
|||
|
||||
public SourceLocation EndLocation
|
||||
{
|
||||
get { return new SourceLocation(_filePath, Length, _lines.Count - 1, Length); }
|
||||
get { return new SourceLocation(_filePath, Length, _lines.Count - 1, _lines[_lines.Count - 1].Length); }
|
||||
}
|
||||
|
||||
public CharacterReference CharAt(int absoluteIndex)
|
||||
|
|
|
|||
Loading…
Reference in New Issue