14 references to Advance
Microsoft.AspNetCore.Razor.Language.UnitTests (2)
Legacy\SourceLocationTrackerTest.cs (2)
23
var result = SourceLocationTracker.
Advance
(sourceLocation, "Hello world");
39
var currentLocation = SourceLocationTracker.
Advance
(location, "foo\nbar\rbaz\r\nbox");
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\SyntaxTreeVerifier.cs (1)
140
_currentLocation = SourceLocationTracker.
Advance
(_currentLocation, token.Content);
Microsoft.CodeAnalysis.Razor.Compiler (11)
Language\Legacy\HtmlMarkupParser.cs (5)
339
SourceLocationTracker.
Advance
(tracker.TagLocation, "<"),
559
new SourceSpan(SourceLocationTracker.
Advance
(endTagStartLocation, "</"), Math.Max(endTagName.Length, 1)), endTagName));
576
SourceLocationTracker.
Advance
(tracker.TagLocation, "<"),
696
tagName.Length == 0 ? tagStartLocation : SourceLocationTracker.
Advance
(tagStartLocation, "<"),
1553
new SourceSpan(SourceLocationTracker.
Advance
(tagStart, "</"), ScriptTagName.Length),
Language\Legacy\TagHelperParseTreeRewriter.cs (6)
142
var source = new SourceSpan(SourceLocationTracker.
Advance
(startTag.GetSourceLocation(_source), "<"), tagName.Length);
187
new SourceSpan(SourceLocationTracker.
Advance
(endTag.GetSourceLocation(_source), "</"), tagName.Length), tagName));
368
new SourceSpan(SourceLocationTracker.
Advance
(endTag.GetSourceLocation(_source), "</"), tagName.Length),
581
var errorStart = SourceLocationTracker.
Advance
(child.GetSourceLocation(_source), whitespace);
731
return SourceLocationTracker.
Advance
(tagBlock.GetSourceLocation(source), "<");
736
return SourceLocationTracker.
Advance
(tagBlock.GetSourceLocation(source), "</");