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