10 references to GetSubPatternToCurrentPos
Microsoft.CodeAnalysis.Features (10)
EmbeddedLanguages\RegularExpressions\RegexLexer.cs (10)
150return CreateTrivia(RegexKind.CommentTrivia, GetSubPatternToCurrentPos(start));
168return CreateTrivia(RegexKind.CommentTrivia, GetSubPatternToCurrentPos(start), diagnostics);
172return CreateTrivia(RegexKind.CommentTrivia, GetSubPatternToCurrentPos(start));
210return CreateTrivia(RegexKind.WhitespaceTrivia, GetSubPatternToCurrentPos(start));
247var token = CreateToken(RegexKind.EscapeCategoryToken, [], GetSubPatternToCurrentPos(start));
300var token = CreateToken(RegexKind.NumberToken, [], GetSubPatternToCurrentPos(start));
331var token = CreateToken(RegexKind.CaptureNameToken, [], GetSubPatternToCurrentPos(start));
349: CreateToken(RegexKind.OptionsToken, ImmutableArray<RegexTrivia>.Empty, GetSubPatternToCurrentPos(start));
392RegexKind.TextToken, [], GetSubPatternToCurrentPos(start));
453RegexKind.TextToken, [], GetSubPatternToCurrentPos(start));