11 references to Lexer
Microsoft.CodeAnalysis.CSharp (11)
Parser\LanguageParser_InterpolatedString.cs (3)
73
using var tempLexer = new
Lexer
(SourceText.From(originalText), this.Options, allowPreprocessorDirectives: false);
374
using var tempLexer = new
Lexer
(SourceText.From(expressionText), options, allowPreprocessorDirectives: false, interpolationFollowedByColon: interpolation.HasColon);
465
using var tempLexer = new
Lexer
(SourceText.From(fakeString), this.Options, allowPreprocessorDirectives: false);
Syntax\CSharpSyntaxTree.cs (2)
505
using var lexer = new InternalSyntax.
Lexer
(text, options);
571
using var lexer = new InternalSyntax.
Lexer
(newText, this.Options);
Syntax\SyntaxFactory.cs (6)
1592
using (var lexer = new InternalSyntax.
Lexer
(MakeSourceText(text, offset), options))
1603
using (var lexer = new InternalSyntax.
Lexer
(MakeSourceText(text, offset), CSharpParseOptions.Default))
1640
using (var lexer = new InternalSyntax.
Lexer
(MakeSourceText(text, offset), CSharpParseOptions.Default))
1658
using (var lexer = new InternalSyntax.
Lexer
(MakeSourceText(text, offset), options ?? CSharpParseOptions.Default))
1684
return new SyntaxTokenParser(new InternalSyntax.
Lexer
(sourceText, options ?? CSharpParseOptions.Default));
1918
return new InternalSyntax.
Lexer
(