6 references to ParseTokens
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
LexicalAndXml\LexicalTests.cs (1)
43return SyntaxFactory.ParseTokens(text, options: options);
Syntax\SyntaxFactoryTests.cs (2)
420var tokens = SyntaxFactory.ParseTokens("1l").ToList(); 434var tokens = SyntaxFactory.ParseTokens("1L").ToList();
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Classification\ClassificationHelpers.cs (1)
501var tokens = SyntaxFactory.ParseTokens(text2, initialTokenPosition: textSpan.Start);
Classification\Worker.cs (1)
285foreach (var token in SyntaxFactory.ParseTokens(text: trivia.ToFullString(), initialTokenPosition: trivia.SpanStart))
Microsoft.CodeAnalysis.Test.Utilities (1)
Syntax\TokenUtilities.cs (1)
76return CS.SyntaxFactory.ParseTokens(text).Select(t => (SyntaxToken)t).Where(t => !SkipCSharpToken(t)).ToList();