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