18 references to CreateTokenParser
Microsoft.CodeAnalysis.CSharp.Features (1)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (1)
32
return SyntaxFactory.
CreateTokenParser
(text,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (16)
LexicalAndXml\SyntaxTokenParserTests.cs (16)
19
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
36
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
74
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
118
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
157
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
183
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
193
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
202
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
220
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
261
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
272
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
291
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
324
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
354
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
368
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
391
var parser = SyntaxFactory.
CreateTokenParser
(sourceText, TestOptions.Regular);
Microsoft.CodeAnalysis.LanguageServer (1)
FileBasedPrograms\VirtualProjectXmlProvider.cs (1)
111
var tokenizer = SyntaxFactory.
CreateTokenParser
(text, CSharpParseOptions.Default.WithFeatures([new("FileBasedProgram", "true")]));